:root {
  --black: #050706;
  --black-soft: #0a0e0c;
  --ink: #f1f3ef;
  --muted: #8e9791;
  --acid: #b9d6c1;
  --green: #345849;
  --line: rgba(255,255,255,.13);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--black);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; background: var(--black); color: var(--ink); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; min-height: 76px; padding: 0 3vw; border-bottom: 1px solid var(--line); background: rgba(5,7,6,.72); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: .7rem; font-size: .74rem; font-weight: 700; text-decoration: none; letter-spacing: .13em; }
.brand__mark { display: grid; place-items: center; width: 32px; aspect-ratio: 1; border: 1px solid var(--ink); font-family: Georgia, serif; font-size: 1rem; }
.site-header nav { display: flex; gap: clamp(1rem,3vw,3rem); }
.site-header nav a { color: var(--muted); font-size: .8rem; text-decoration: none; transition: color .2s ease; }
.site-header nav a:hover { color: var(--ink); }
.header-cta { justify-self: end; padding: .75rem 1rem; background: var(--ink); color: var(--black); font-size: .8rem; text-decoration: none; }
.hero { --glow-x: 66%; --glow-y: 38%; position: relative; min-height: 100svh; padding: 9rem 3vw 3rem; isolation: isolate; overflow: hidden; background: #020403; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(circle 26rem at var(--glow-x) var(--glow-y), rgba(205,232,214,.04) 0, rgba(4,10,7,.06) 34%, rgba(2,5,3,.54) 72%), linear-gradient(90deg, rgba(1,3,2,.76) 0%, rgba(2,5,3,.42) 46%, rgba(2,5,3,.25) 100%); transition: background-position .2s ease; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; opacity: .19; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.18) .65px, transparent .65px); background-size: 5px 5px; mix-blend-mode: soft-light; }
.hero__forest { position: absolute; inset: -3%; z-index: -1; overflow: hidden; pointer-events: none; }
.hero__forest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(1,3,2,.1), rgba(1,3,2,.12) 62%, #050706 100%); }
.hero__forest-image { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.82) contrast(1.16) brightness(.72); transform: scale(1.07); will-change: transform; transition: transform .55s cubic-bezier(.2,.8,.2,1),filter .4s ease; }
.hero__grid { position: absolute; inset: 76px 0 0; z-index: 2; opacity: .48; pointer-events: none; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: 12.5% 100%, 100% 25%; mask-image: linear-gradient(to bottom, black, transparent 88%); }
.hero__copy { position: relative; z-index: 3; display: flex; min-height: calc(100svh - 12rem); flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 1.4rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.hero h1 { max-width: 1120px; margin: 0; text-transform: uppercase; font-size: clamp(3.5rem,7.6vw,8rem); line-height: .82; letter-spacing: -.065em; text-shadow: 0 .06em .55em rgba(0,0,0,.55); }
.hero h1 span { display: block; max-width: 16ch; font-size: .72em; font-weight: 200; line-height: .9; letter-spacing: -.045em; }
.hero h1 strong { display: block; margin-top: .2em; font-size: .62em; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }
.hero__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; width: min(58rem,75%); margin-top: 3.5rem; }
.hero__meta p { max-width: 31rem; margin: 0; color: #bbc2bd; font-size: clamp(1rem,1.5vw,1.25rem); }
.round-link { display: grid; place-items: center; width: 84px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; text-align: center; text-decoration: none; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; transition: background .25s ease,color .25s ease; }
.round-link:hover { background: var(--ink); color: var(--black); }
.hero__index { position: absolute; right: 3vw; top: 98px; color: var(--muted); font-size: .68rem; letter-spacing: .15em; }
.hero__index span { padding: 0 .4rem; }
.section { padding: clamp(5rem,10vw,10rem) 3vw; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr 3fr 1fr; gap: 2rem; align-items: end; margin-bottom: 4rem; }
.section-heading .eyebrow { align-self: start; }
.section-heading h2,.services h2,.contact h2 { margin: 0; text-transform: uppercase; font-size: clamp(3rem,7vw,7.5rem); line-height: .86; letter-spacing: -.055em; }
.section-heading h2 strong,.contact h2 strong { font-weight: 800; }
.section-heading h2 { font-weight: 200; }
.section-heading > p:last-child { color: var(--muted); font-size: .9rem; }
.portfolio { background: #070a08; }
.portfolio-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.55rem,1vw,1rem); }
.work-card { position: relative; min-width: 0; aspect-ratio: 4/5; padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--black-soft); color: var(--ink); text-align: left; cursor: pointer; isolation: isolate; transform: scale(1); transition: transform .45s cubic-bezier(.2,.8,.2,1),border-color .25s ease,box-shadow .45s ease; }
.work-card:hover,.work-card:focus-visible { z-index: 4; border-color: rgba(255,255,255,.5); box-shadow: 0 1.25rem 3rem rgba(0,0,0,.55); transform: scale(1.08); }
.work-card::before { content: attr(data-index); position: absolute; top: 1rem; left: 1rem; z-index: 2; color: white; font-size: .68rem; }
.work-card img { display: block; width: 100%; height: 100%; object-fit: cover; filter: none; transform: scale(1); transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.work-card:hover img,.work-card:focus-visible img { transform: scale(1.045); }
.work-card__caption { position: absolute; inset: auto 0 0; z-index: 2; padding: 4rem 1rem 1rem; background: linear-gradient(transparent,rgba(0,0,0,.88)); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.image-fallback { display: grid; height: 100%; min-height: 0; place-items: center; padding: 1rem; color: var(--muted); text-align: center; }
.manifesto { background: var(--ink); color: var(--black); }
.manifesto .eyebrow { color: #53605a; }
.manifesto h2 { max-width: 1200px; margin: 0; text-transform: uppercase; font-size: clamp(3rem,7vw,7.5rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; }
.manifesto h2 span { color: #9da6a0; font-weight: 200; }
.manifesto > p:last-child { max-width: 33rem; margin: 3rem 0 0 auto; font-size: 1.1rem; }
.services { background: var(--black); }
.services h2 { margin-bottom: 5rem; font-weight: 200; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services article { min-height: 25rem; padding: 1.2rem 2rem 2rem 0; border-right: 1px solid var(--line); }
.services article + article { padding-left: 2rem; }
.services article:last-child { border-right: 0; }
.services article > span { color: var(--muted); font-size: .7rem; letter-spacing: .12em; }
.services h3 { max-width: 18rem; margin: 7rem 0 1.5rem; text-transform: uppercase; font-size: clamp(1.5rem,2.4vw,2.8rem); line-height: .95; }
.services article p { max-width: 24rem; color: var(--muted); }
.contact { position: relative; padding: clamp(6rem,12vw,12rem) 3vw 5rem; overflow: hidden; border-top: 1px solid var(--line); background: #0a130f; }
.contact::after { content: "N"; position: absolute; right: -2vw; bottom: -18vw; color: rgba(255,255,255,.025); font-family: Georgia,serif; font-size: 68vw; line-height: 1; pointer-events: none; }
.contact h2 { position: relative; z-index: 1; max-width: 1050px; font-weight: 200; }
.contact-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 2rem; margin: 4rem 0 8rem; }
.button { display: inline-block; padding: 1rem 1.3rem; background: var(--ink); color: var(--black); text-decoration: none; font-size: .8rem; }
.text-link { text-underline-offset: .35em; }
.contact > p:last-child { color: var(--muted); }
footer { padding: 1.5rem 3vw; border-top: 1px solid var(--line); background: var(--black); color: var(--muted); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.gallery { max-width: min(94vw,82rem); padding: 0; border: 1px solid var(--line); background: #090c0a; color: var(--ink); }
.gallery::backdrop { background: rgba(0,0,0,.92); backdrop-filter: blur(10px); }
.gallery__inner { position: relative; padding: 1rem; }
.gallery img { display: block; max-width: 100%; max-height: 76vh; margin: auto; object-fit: contain; }
.gallery p { margin: .85rem 0; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.gallery button { padding: .75rem 1rem; border: 1px solid var(--line); background: var(--black); color: var(--ink); font: inherit; cursor: pointer; }
.gallery__close { position: absolute; top: 1.5rem; right: 1.5rem; z-index: 2; width: 44px; height: 44px; padding: 0!important; border-radius: 50%; font-size: 1.4rem!important; }
.gallery__controls { display: flex; justify-content: space-between; gap: 1rem; }
.work-card:focus-visible,.gallery button:focus-visible,.button:focus-visible,a:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
@media (max-width: 840px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 68px; }
  .site-header nav { display: none; }
  .header-cta { padding: .65rem .8rem; }
  .hero { padding-top: 7rem; }
  .hero__copy { min-height: calc(100svh - 10rem); justify-content: flex-end; padding-bottom: 5rem; }
  .hero h1 { font-size: clamp(3.2rem,14vw,6.3rem); }
  .hero h1 span { max-width: 13ch; font-size: .62em; }
  .hero h1 strong { font-size: .55em; }
  .hero__meta { width: 100%; align-items: flex-start; }
  .hero__forest { inset: 0 -18% 0 -8%; }
  .hero__forest-image { object-position: 58% center; filter: saturate(.75) contrast(1.12) brightness(.58); }
  .hero__index { display: none; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p:last-child { max-width: 25rem; }
  .portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .services-grid { grid-template-columns: 1fr; }
  .services article,.services article + article { min-height: auto; padding: 1.5rem 0 2.5rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .services article:last-child { border-bottom: 0; }
  .services h3 { margin: 3rem 0 1rem; }
  .contact-actions { align-items: flex-start; flex-direction: column; margin-bottom: 6rem; }
}
@media (max-width: 520px) {
  .brand > span:last-child { display: none; }
  .hero h1 { font-size: clamp(3rem,14.7vw,5rem); }
  .hero h1 strong { white-space: normal; }
  .hero__meta p { max-width: 70%; }
  .round-link { width: 70px; }
  .section,.contact { padding-left: 5vw; padding-right: 5vw; }
  .gallery__controls { flex-direction: column; }
}
@media (min-width: 841px) and (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__forest-image,.work-card img { transition: none; }
}
