
:root {
  --bg: #111110;
  --panel: #191918;
  --text: #eeeae2;
  --muted: #999990;
  --accent: #c7ff5e;
  --line: #343430;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  min-height: 76px;
  padding: 20px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  background: #111110ed;
  backdrop-filter: blur(12px);
}

.logo {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -1.5px;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 2px;
  margin-left: 9px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
}

nav a:hover {
  color: var(--accent);
}

.nav-contact {
  border: 1px solid #66665b;
  padding: 12px 16px;
}

#menu-button {
  display: none;
  color: var(--text);
  background: transparent;
  border: 0;
  font-size: 24px;
}

.hero {
  min-height: 690px;
  height: 85vh;
  max-height: 900px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 7%;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #111110 5%, #111110d9 38%, #11111035 100%),
    linear-gradient(0deg, #111110 0%, transparent 40%),
    url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=1800&q=85")
    center / cover;
  filter: saturate(.65);
  animation: reveal 1.2s ease-out;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 2px;
  line-height: 1.8;
}

h1 {
  font-size: clamp(48px, 7.5vw, 100px);
  line-height: .98;
  letter-spacing: -5px;
  margin: 30px 0;
}

h1 em,
h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--accent);
}

.intro {
  color: #c0bfb8;
  line-height: 1.9;
  max-width: 410px;
  font-size: 14px;
}

.button {
  display: inline-block;
  margin-top: 22px;
  padding: 16px 20px;
  background: var(--text);
  color: #111;
  font-size: 12px;
  font-weight: bold;
  transition: .2s;
}

.button:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.hero-note {
  margin-top: 60px;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}

.section {
  padding: 100px 7%;
}

h2 {
  font-size: clamp(35px, 5vw, 65px);
  line-height: 1.05;
  letter-spacing: -3px;
  margin: 15px 0 40px;
}

h2 span {
  color: var(--accent);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project {
  margin: 0;
  min-width: 0;
  aspect-ratio: 1.25;
  position: relative;
  overflow: hidden;
  background: var(--panel);
  cursor: zoom-in;
}

.project img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.7) brightness(.8);
  transition: transform .5s, filter .5s;
}

.project:hover img {
  transform: scale(1.04);
  filter: brightness(.65);
}

.project figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  font-size: 10px;
  line-height: 2;
  letter-spacing: 1px;
  background: linear-gradient(transparent, #000c);
}

.project strong {
  font-size: 25px;
  letter-spacing: -1px;
}

.note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  margin-top: 20px;
}

.services {
  padding-top: 20px;
}

.service {
  display: grid;
  grid-template-columns: 50px 1fr 25px;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 25px 0;
  transition: padding .2s;
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service:hover {
  padding-left: 10px;
}

.service > span,
.service > b {
  color: var(--accent);
}

.service h3 {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -1px;
}

.service p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.about {
  background: #dce8c8;
  color: #171914;
  padding: 90px 7%;
}

.about .eyebrow {
  color: #59634d;
}

.about h2 em {
  color: #526443;
}

.about > p:last-child {
  max-width: 540px;
  font-size: 14px;
  line-height: 1.9;
  color: #52584a;
}

.contact {
  padding-top: 110px;
  padding-bottom: 110px;
}

.contact h2 {
  font-size: clamp(48px, 8vw, 105px);
}

.contact > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
}

.email {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--accent);
  font-size: clamp(18px, 3vw, 28px);
  overflow-wrap: anywhere;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

footer p {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
}

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5%;
  background: #080807f5;
}

#lightbox.open {
  display: flex;
}

#lightbox img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

#close-lightbox {
  position: absolute;
  top: 15px;
  right: 25px;
  background: none;
  border: 0;
  color: white;
  font-size: 42px;
  cursor: pointer;
}

@keyframes reveal {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 700px) {
  .header {
    padding: 18px 6%;
  }

  #menu-button {
    display: block;
    cursor: pointer;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 25px 6%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 16px 0;
  }

  nav .nav-contact {
    padding: 14px;
    text-align: center;
    margin-top: 10px;
  }

  .hero {
    height: 80vh;
    min-height: 620px;
    padding: 7% 6%;
  }

  .hero-image {
    background:
      linear-gradient(90deg, #111110eF, #11111075),
      linear-gradient(0deg, #111110, transparent),
      url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=1000&q=80")
      center / cover;
  }

  h1 {
    font-size: clamp(48px, 11vw, 72px);
    letter-spacing: -3px;
  }

  .section {
    padding: 75px 6%;
  }

  .gallery {
    gap: 10px;
  }

  .project {
    aspect-ratio: .9;
  }

  .project figcaption {
    padding: 12px;
    font-size: 8px;
  }

  .project strong {
    font-size: 18px;
  }

  .service {
    grid-template-columns: 25px 1fr 15px;
    gap: 12px;
  }

  .service h3 {
    font-size: 20px;
  }

  .service p {
    font-size: 11px;
  }

  .about {
    padding: 70px 6%;
  }

  footer {
    padding: 25px 6%;
  }
}

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