:root {
  --bg: #0a0b0b;
  --bg-raised: #111313;
  --fg: #f0eee7;
  --muted: #999b96;
  --accent: #c8ff3d;
  --line: rgba(240, 238, 231, 0.16);
  --max-width: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section-space: clamp(6rem, 12vw, 11rem);
  --radius: 2px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; overflow-x: hidden; color: var(--fg); background: var(--bg); font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .7rem 1rem; color: var(--bg); background: var(--accent); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.7rem var(--gutter); border-bottom: 1px solid rgba(255,255,255,.12); }
.wordmark { font-size: .77rem; font-weight: 700; letter-spacing: .18em; text-decoration: none; }
.wordmark span { color: var(--accent); }
.site-nav { display: flex; gap: clamp(1.4rem, 3vw, 3rem); }
.site-nav a, .site-footer a { color: #deddd7; font-size: .75rem; letter-spacing: .09em; text-decoration: none; transition: color .25s; }
.site-nav a:hover, .site-footer a:hover { color: var(--accent); }
.menu-button { display: none; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; isolation: isolate; padding: clamp(8rem, 16vh, 11rem) var(--gutter) clamp(4.5rem, 9vh, 7rem); overflow: hidden; }
.hero-fallback, .hero-video, .hero-shade, .hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback { z-index: -4; background: radial-gradient(circle at 72% 30%, rgba(120,125,104,.34), transparent 28%), linear-gradient(150deg, #202524 0%, #101313 48%, #080909 100%); }
.hero-fallback::before { content: ""; position: absolute; inset: -15%; opacity: .5; background: repeating-radial-gradient(ellipse at 80% 25%, transparent 0 24px, rgba(215,220,199,.07) 25px 26px); transform: rotate(-12deg) scale(1.2); }
.hero-video { z-index: -3; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-ready { opacity: 1; }
.hero-shade { z-index: -2; background: linear-gradient(90deg, rgba(4,5,5,.75), rgba(4,5,5,.12) 70%), linear-gradient(0deg, rgba(4,5,5,.78), transparent 55%); }
.hero-lines { z-index: -1; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 12.5vw 100%, 100% 100%; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.hero-content { width: min(900px, 100%); animation: hero-in 1.1s .15s var(--ease) both; }
.eyebrow { margin: 0 0 1.4rem; color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hero-kicker { display: flex; align-items: center; gap: .7rem; color: #c6c8c1; }
.hero-kicker i { display: inline-block; width: 3px; height: 3px; background: var(--accent); border-radius: 50%; }
h1 { margin: 0; font-size: clamp(4rem, 11.5vw, 10.5rem); font-weight: 650; line-height: .76; letter-spacing: -.07em; }
h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(240,238,231,.62); }
.hero-intro { max-width: 32rem; margin: 2.4rem 0 2rem; color: #c7c8c3; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.65; }
.text-link { display: inline-flex; gap: .8rem; align-items: center; padding-block: .5rem; border-bottom: 1px solid var(--accent); font-size: .75rem; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.text-link span { color: var(--accent); transition: transform .3s; }
.text-link:hover span { transform: translateY(3px); }
.location-mark { position: absolute; right: var(--gutter); bottom: clamp(4.5rem, 9vh, 7rem); display: flex; gap: .55rem; align-items: center; margin: 0; color: #aaaca6; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; writing-mode: vertical-rl; }
.location-mark span { width: 1px; height: 2.8rem; background: var(--accent); }

.section { width: min(var(--max-width), 100%); margin-inline: auto; padding: var(--section-space) var(--gutter); }
.section-heading { display: grid; grid-template-columns: minmax(9rem, 1fr) 3fr; align-items: start; margin-bottom: clamp(3rem, 7vw, 6.5rem); }
.section-heading .eyebrow { padding-top: 1rem; }
h2 { margin: 0; font-size: clamp(2.7rem, 6vw, 6.3rem); font-weight: 450; line-height: .98; letter-spacing: -.05em; }
.project-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(2rem, 5vw, 5rem) clamp(1.25rem, 3vw, 3rem); align-items: start; }
.project { min-width: 0; }
.project a { display: block; text-decoration: none; }
.project:nth-child(3) { margin-top: -14%; }
.project-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background-color: #181b1a; transition: filter .45s var(--ease), transform .45s var(--ease); }
.project-media > img, .project-media > video { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.project-featured .project-media { aspect-ratio: 16 / 12.2; }
.project-media::before, .project-media::after { content: ""; position: absolute; inset: 0; transition: transform .7s var(--ease); }
.project-media::after { background: linear-gradient(155deg, transparent 40%, rgba(0,0,0,.6)); }
.project-windmill::before { inset: -10%; background: radial-gradient(circle at 58% 40%, rgba(207,215,181,.4) 0 1%, transparent 2%), linear-gradient(162deg, transparent 48%, #343a34 48.2% 52%, transparent 52.2%), linear-gradient(18deg, #343a34 0 29%, transparent 29.2%), linear-gradient(145deg, #777d6c, #202524 55%); }
.project-landscape::before { inset: -8%; background: radial-gradient(ellipse at 50% 120%, #5c6258 0 30%, transparent 30.4%), radial-gradient(ellipse at 20% 115%, #333934 0 38%, transparent 38.4%), linear-gradient(#606863, #222725 66%); }
.project-exploration::before { background: linear-gradient(105deg, transparent 47%, rgba(200,255,61,.3) 47.2% 47.5%, transparent 47.8%), repeating-linear-gradient(110deg, transparent 0 38px, rgba(255,255,255,.035) 39px 40px), linear-gradient(145deg, #2b302e, #111313); }
.project a:hover .project-media { filter: brightness(1.12); }
.project a:hover .project-media::before { transform: scale(1.035); }
.project-number { position: absolute; z-index: 2; top: 1.25rem; left: 1.25rem; color: rgba(255,255,255,.7); font-size: .65rem; letter-spacing: .15em; }
.view-mark { position: absolute; z-index: 2; right: 1.25rem; bottom: 1.25rem; display: grid; width: 3.5rem; aspect-ratio: 1; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.project-details { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding-top: 1.15rem; border-top: 1px solid var(--line); margin-top: .25rem; }
.project-details h3 { margin: 0; font-size: clamp(1rem, 1.7vw, 1.35rem); font-weight: 450; }
.project-details p { margin: 0; color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; text-align: right; }

.about { display: grid; grid-template-columns: 1fr 3fr; min-height: 75vh; align-items: center; border-top: 1px solid var(--line); }
.about-index { align-self: start; color: var(--accent); font-size: .68rem; letter-spacing: .2em; }
.about-copy { max-width: 830px; }
.about-copy > p:not(.eyebrow) { max-width: 670px; margin: 2.5rem 0 0; color: #b3b5af; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.about-copy > p:last-child { margin-top: 1rem; color: var(--muted); font-size: .85rem; }
.contact { padding: var(--section-space) var(--gutter); background: var(--fg); color: var(--bg); }
.contact-inner { width: min(1100px, 100%); margin-inline: auto; text-align: center; }
.contact .eyebrow { color: #666963; }
.contact-inner > p:not(.eyebrow) { margin: 2rem auto 0; color: #545751; }
.contact-links { display: flex; justify-content: center; gap: 1rem; margin-top: 3.2rem; }
.button-link { display: flex; min-width: 10rem; justify-content: space-between; align-items: center; padding: .9rem 1rem; border: 1px solid #aeb0aa; font-size: .72rem; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; transition: color .25s, background .25s, border-color .25s; }
.button-link:hover { color: var(--fg); background: var(--bg); border-color: var(--bg); }
.button-link span { font-size: 1rem; }
.site-footer { display: flex; justify-content: space-between; align-items: center; padding: 1.6rem var(--gutter); border-top: 1px solid var(--line); color: var(--muted); }
.site-footer p { margin: 0; font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer p span { margin-inline: .5rem; color: var(--accent); }
.site-footer nav { display: flex; gap: 1.5rem; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(2rem); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-in { from { opacity: 0; transform: translateY(2rem); } }

@media (max-width: 700px) {
  .site-header { padding-block: 1.25rem; }
  .menu-button { position: relative; z-index: 2; display: grid; width: 44px; height: 44px; padding: 12px 8px; border: 0; place-content: center; gap: 7px; color: var(--fg); background: transparent; }
  .menu-button > span:not(.sr-only) { display: block; width: 25px; height: 1px; background: currentColor; transition: transform .3s, opacity .3s; }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: flex; visibility: hidden; flex-direction: column; justify-content: center; gap: 0; padding: var(--gutter); opacity: 0; background: rgba(10,11,11,.98); transition: opacity .25s, visibility .25s; }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .site-nav a { padding: .65rem 0; font-size: clamp(2.2rem, 11vw, 4rem); font-weight: 400; letter-spacing: -.04em; }
  body.menu-open { overflow: hidden; }
  .hero { align-items: end; padding-bottom: 4rem; }
  .hero-content { padding-right: 1rem; }
  .hero-kicker { gap: .4rem; letter-spacing: .12em; }
  h1 { font-size: clamp(4rem, 21vw, 7rem); }
  .hero-intro { max-width: 19rem; margin-top: 1.8rem; }
  .location-mark { display: none; }
  .section-heading, .about { grid-template-columns: 1fr; }
  .section-heading { gap: .5rem; }
  .section-heading .eyebrow { padding-top: 0; }
  .project-grid { grid-template-columns: 1fr; }
  .project:nth-child(3) { margin-top: 0; }
  .project:nth-child(even) { width: 86%; margin-left: auto; }
  .project-details { align-items: flex-start; }
  .about { min-height: auto; }
  .about-index { display: none; }
  .contact-links { flex-direction: column; width: min(18rem, 100%); margin-inline: auto; }
  .site-footer { align-items: flex-start; gap: 1rem; flex-direction: column; }
  .no-js .site-header { align-items: flex-start; }
  .no-js .menu-button { display: none; }
  .no-js .site-nav { position: static; visibility: visible; width: auto; padding: 0; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 1rem; opacity: 1; background: transparent; }
  .no-js .site-nav a { padding: .25rem 0; font-size: .7rem; font-weight: 500; letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-video { display: none; }
  .reveal { opacity: 1; transform: none; }
}
