:root {
  color-scheme: light;
  --paper: #f2f0e9;
  --ink: #0a0a0a;
  --muted: #5e5e5a;
  --line: rgba(10, 10, 10, .22);
  --acid: #c8ff00;
  --acid-deep: #94bd00;
  --white: #fff;
  --header: 92px;
  --pad: clamp(20px, 2.3vw, 42px);
  --z-progress: 40;
  --z-header: 30;
  --z-menu: 20;
  --z-skip: 50;
}

[data-mode="machine"] { --paper: #c8ff00; --acid: #fff; --acid-deep: #0a0a0a; --muted: #313d00; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: "Archivo", Arial, sans-serif; font-size: 16px; line-height: 1.35; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, a { touch-action: manipulation; }
button { font: inherit; }
::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: 3px solid var(--acid-deep); outline-offset: 4px; }
.dark-section :focus-visible { outline-color: var(--acid); }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: var(--z-skip); transform: translateY(-160%); padding: 12px 18px; background: var(--acid); color: #000; font-weight: 700; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: var(--z-progress); height: 4px; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: var(--acid); transform: scaleX(0); transform-origin: left; }

.header { height: var(--header); padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; position: absolute; inset: 0 0 auto; z-index: var(--z-header); color: var(--ink); }
.brand { display: flex; flex-direction: column; font-size: clamp(1.15rem, 1.5vw, 1.5rem); font-weight: 900; line-height: .83; text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.mode-button, .menu-button { width: 56px; height: 56px; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: background-color 180ms ease-out, color 180ms ease-out; }
.mode-button { font-weight: 800; }
.mode-button sup { font-size: .55em; }
.mode-button:hover, .menu-button:hover { background: #fff; color: #000; }
.menu-button { display: grid; place-content: center; gap: 7px; }
.menu-button span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform 180ms ease-out; }
.menu-open .menu-button span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-button span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: var(--z-menu); padding: calc(var(--header) + 35px) var(--pad) 34px; background: var(--acid); color: #000; }
.menu[hidden] { display: none; }
.menu-top, .menu-bottom { display: flex; justify-content: space-between; gap: 30px; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.menu-links { margin: 6vh 0; }
.menu-links a { display: flex; align-items: baseline; gap: 28px; border-bottom: 1px solid rgba(0,0,0,.35); font-size: clamp(2.4rem, 7vw, 7.8rem); font-weight: 800; line-height: 1.04; text-decoration: none; transition: padding-left 180ms ease-out; }
.menu-links a:first-child { border-top: 1px solid rgba(0,0,0,.35); }
.menu-links a:hover { padding-left: 24px; }
.menu-links span { width: 42px; font-size: .65rem; font-weight: 600; }
.menu-bottom a { text-underline-offset: 5px; }

.hero { min-height: 100dvh; padding: calc(var(--header) + 55px) var(--pad) 30px; display: flex; flex-direction: column; position: relative; overflow: hidden; background: var(--paper); transition: background-color 180ms ease-out; }
.hero-meta { display: flex; justify-content: space-between; max-width: 52%; font-size: .67rem; font-weight: 700; text-transform: uppercase; }
.hero h1 { margin: auto 0; font-size: clamp(4.2rem, 12.8vw, 13rem); font-weight: 900; line-height: .75; letter-spacing: -.075em; text-transform: uppercase; }
.hero h1 .line { display: block; width: fit-content; white-space: nowrap; }
.hero h1 .line-shift { margin-left: 18vw; }
.hero h1 .line-accent { margin-left: 5vw; color: var(--acid-deep); }
.hero-footer { display: flex; align-items: end; justify-content: space-between; position: relative; z-index: 2; }
.hero-footer p { margin: 0; font-size: clamp(.9rem, 1.25vw, 1.2rem); font-weight: 600; text-transform: uppercase; }
.circle-link { display: grid; place-items: center; width: 72px; height: 72px; border: 2px solid var(--ink); border-radius: 50%; font-size: 1.7rem; text-decoration: none; transition: background-color 180ms ease-out, color 180ms ease-out; }
.circle-link:hover { background: var(--ink); color: var(--paper); }
.hero-code { position: absolute; right: 8%; top: 30%; font-size: .68rem; font-weight: 700; line-height: 1.1; text-align: center; transform: rotate(90deg); }

.ticker { overflow: hidden; background: var(--acid); color: #000; border-block: 2px solid #000; }
.ticker-track { width: max-content; padding: 15px 0; display: flex; align-items: center; gap: 30px; font-size: clamp(1.2rem, 2.5vw, 2.4rem); font-weight: 800; text-transform: uppercase; animation: ticker 22s linear infinite; }
.ticker i { font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.dark-section { padding: clamp(90px, 12vw, 180px) var(--pad); background: #090909; color: var(--white); }
.eyebrow { display: flex; gap: 28px; margin-bottom: clamp(60px, 8vw, 120px); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.eyebrow span:first-child { color: var(--acid); }
.statement { max-width: 1500px; margin: 0; font-size: clamp(3rem, 7.5vw, 8rem); font-weight: 600; line-height: .98; letter-spacing: -.055em; }
.statement em { color: var(--acid); font-style: normal; }
.purpose-bottom { max-width: 1050px; margin: clamp(80px, 12vw, 180px) 0 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.purpose-bottom p { margin: 0; font-size: clamp(1rem, 1.5vw, 1.35rem); }

.project { background: var(--paper); }
.project-intro { padding: clamp(90px, 11vw, 170px) var(--pad) clamp(60px, 8vw, 120px); }
.project-intro .eyebrow { margin-bottom: clamp(45px, 6vw, 85px); }
.project-intro h2 { margin: 0; font-size: clamp(5rem, 18vw, 18rem); font-weight: 900; line-height: .69; letter-spacing: -.09em; }
.project-intro .dot { color: var(--acid-deep); }
.project-summary { width: min(600px, 48%); margin: 55px 0 0 auto; }
.project-summary p { font-size: clamp(1.15rem, 2vw, 1.7rem); font-weight: 500; }
.arrow-link { display: flex; justify-content: space-between; padding: 18px 0; border-block: 1px solid var(--ink); font-size: .78rem; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.project-hero { margin: 0; background: #000; }
.project-hero img { display: block; width: 100%; height: auto; }
.project-principles { padding: clamp(70px, 9vw, 130px) var(--pad); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-principles article { min-height: 330px; padding: 22px; display: flex; flex-direction: column; border: 2px solid var(--ink); }
.project-principles span { font-size: .65rem; font-weight: 700; }
.project-principles h3 { margin: auto 0 14px; font-size: clamp(2rem, 4vw, 4rem); font-weight: 800; letter-spacing: -.05em; }
.project-principles p { margin: 0; max-width: 380px; }
.gallery { padding-bottom: clamp(90px, 12vw, 180px); overflow: hidden; }
.shot { margin: 0 0 clamp(70px, 12vw, 170px); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { display: flex; gap: 24px; padding-top: 13px; font-size: .7rem; font-weight: 600; text-transform: uppercase; }
.shot-wide { width: calc(100% - 2 * var(--pad)); margin-inline: var(--pad); }
.shot-right, .shot-left { width: 68%; }
.shot-right { margin-left: auto; }
.shot-left { margin-right: auto; }
.shot-right figcaption { padding-right: var(--pad); }
.shot-left figcaption { padding-left: var(--pad); }

.section-title { margin: 0 0 clamp(70px, 10vw, 150px); font-size: clamp(4rem, 12vw, 12rem); font-weight: 800; line-height: .78; letter-spacing: -.075em; text-transform: uppercase; }
.practice-list { border-top: 1px solid #555; }
.practice-item { display: grid; grid-template-columns: 60px 1fr 1fr 50px; gap: 28px; align-items: center; min-height: 150px; border-bottom: 1px solid #555; transition: color 180ms ease-out; }
.practice-item:hover { color: var(--acid); }
.practice-item > span { font-size: .65rem; }
.practice-item h3 { margin: 0; font-size: clamp(2.5rem, 6vw, 6.5rem); font-weight: 700; letter-spacing: -.055em; }
.practice-item p { margin: 0; max-width: 380px; }
.practice-item b { font-size: 2rem; text-align: right; }

.journey { padding: clamp(90px, 12vw, 180px) var(--pad); background: var(--paper); }
.journey-word { display: flex; flex-direction: column; width: fit-content; }
.journey-word.align-right { margin-left: auto; text-align: right; align-items: end; }
.journey-word span { font-size: clamp(4rem, 15vw, 15rem); font-weight: 900; line-height: .8; letter-spacing: -.085em; }
.journey-word small { margin-top: 16px; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.journey-arrow { margin: 35px 0; font-size: clamp(3rem, 7vw, 7rem); text-align: center; }
.accent-word { color: var(--acid-deep); }

.contact h2 { margin: 0; font-size: clamp(4.5rem, 14vw, 14rem); font-weight: 900; line-height: .72; letter-spacing: -.08em; }
.contact h2 em { color: var(--acid); font-style: normal; }
.contact-cta { margin: clamp(70px, 10vw, 150px) 0; padding: 25px 0; display: flex; justify-content: space-between; align-items: center; border-block: 2px solid #fff; font-size: clamp(2rem, 5vw, 5rem); font-weight: 700; text-decoration: none; }
.contact-cta b { color: var(--acid); }
.contact-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.contact-footer > div { display: flex; flex-direction: column; }
.contact-footer span { margin-bottom: 20px; color: #888; font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.contact-footer a { width: fit-content; text-underline-offset: 4px; }
.contact-footer p { margin: 0; }
.footer { padding: 24px var(--pad) calc(24px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 30px; background: var(--acid); color: #000; font-size: .68rem; font-weight: 800; }
.footer a { text-underline-offset: 4px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(35px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity 700ms ease-out, transform 700ms ease-out; }
.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; }

@media (max-width: 760px) {
  :root { --header: 76px; }
  .mode-button, .menu-button { width: 46px; height: 46px; }
  .hero { padding-top: calc(var(--header) + 40px); }
  .hero-meta { max-width: 100%; }
  .hero h1 { font-size: clamp(3.2rem, 14.5vw, 5rem); line-height: .82; }
  .hero h1 .line-shift { margin-left: 5vw; }
  .hero h1 .line-accent { margin-left: 0; }
  .hero-code { display: none; }
  .circle-link { width: 58px; height: 58px; }
  .purpose-bottom { grid-template-columns: 1fr; gap: 30px; }
  .project-intro h2 { font-size: clamp(4.7rem, 24vw, 8rem); }
  .project-summary { width: 100%; margin-top: 45px; }
  .project-principles { grid-template-columns: 1fr; }
  .project-principles article { min-height: 240px; }
  .shot-right, .shot-left { width: 88%; }
  .practice-item { grid-template-columns: 38px 1fr 34px; gap: 14px; padding: 28px 0; }
  .practice-item p { grid-column: 2; }
  .practice-item b { grid-column: 3; grid-row: 1; }
  .journey-word span { font-size: clamp(3.65rem, 18vw, 7rem); }
  .contact h2 { font-size: clamp(4.2rem, 19vw, 7.5rem); }
  .contact-footer { grid-template-columns: 1fr; }
  .menu-links { margin-top: 9vh; }
  .menu-links a { min-height: 64px; font-size: clamp(2rem, 11vw, 4rem); }
}

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