body {
  margin: 0;
  font-family: 'Space Mono', monospace;
  background: white;
  color: #111;
  line-height: 1.7;
  font-size: 1rem;
}

.container {
  max-width: 700px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.brand-strip {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #999;
  margin: 0 0 2.5rem;
}

.brand-strip .dot {
  display: inline-block;
  margin: 0 0.6em;
  opacity: 0.5;
}

.back {
  display: inline-block;
  margin-bottom: 2rem;
  text-decoration: none;
  background-color: var(--theme, #000);
  color: #fff;
  font-weight: bold;
  padding: 0.3rem 0.8rem;
  transition: opacity 0.3s ease;
}

.back:hover {
  background-color: var(--theme, #000);
  opacity: 0.85;
  text-decoration: none;
}

h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #000;
  display: inline-block;
  padding: 0.2rem 0.4rem;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--theme, #000);
  text-underline-offset: 4px;
}

.image-container {
  margin: 3rem 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-container img {
  width: 100%;
  display: block;
  max-width: 100%;
  height: auto;
}

.section {
  margin-bottom: 2.5rem;
}

.section h2 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #fff;
  font-weight: 500;
  font-style: italic;
  background-color: var(--theme, #000);
  display: inline-block;
  padding: 0.1rem 0.5rem;
}

.section p {
  margin: 0 0 1.5rem;
}

.meta {
  color: #333;
  font-size: 0.95rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

a {
  color: #000;
  text-decoration: underline;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

a:hover {
  background-color: #FEFF99;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.techno-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.techno-item {
  background: var(--theme, #000);
  color: #fff;
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
}

.project-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 3rem 0 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  font-size: 0.95rem;
}

.project-nav a {
  text-decoration: none;
  font-weight: 500;
  max-width: 45%;
}

.project-nav a:hover {
  background-color: transparent;
  text-decoration: underline;
}

.project-nav .label {
  display: block;
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
  font-weight: 400;
}

.project-nav .next {
  text-align: right;
  margin-left: auto;
}

footer {
  background: black;
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: white;
  transition: opacity 0.3s ease;
}

.contact-item:hover {
  background: transparent;
  opacity: 0.8;
  text-decoration: none;
}

.contact-label {
  font-size: 0.8rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 1rem;
  font-weight: 500;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.6;
}

@media (max-width: 600px) {
  .container {
    margin: 2rem auto;
  }

  h1 {
    font-size: 1.8rem;
  }

  .image-container {
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .brand-strip {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
  }

  .project-nav {
    flex-direction: column;
    gap: 1.5rem;
  }

  .project-nav a {
    max-width: 100%;
  }

  .project-nav .next {
    text-align: left;
    margin-left: 0;
  }

  .contact-links {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
