:root {
  color-scheme: dark;
  --ink: #0a0a09;
  --paper: #f2efe8;
  --muted: #aaa79f;
  --line: rgba(242, 239, 232, 0.16);
  --orange: #ff5c35;
  --amber: #f0ad54;
  --violet: #7b61ff;
  --green: #a8c37d;
  --max: 1560px;
  --gutter: clamp(1.25rem, 4vw, 5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 8% 3%, rgba(116, 42, 22, .42), transparent 29rem),
    radial-gradient(circle at 92% 12%, rgba(48, 34, 111, .24), transparent 34rem),
    var(--ink);
  color: var(--paper);
  font-family: "Helvetica Neue", "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--orange); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: 1rem;
  padding: .75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

#atmosphere {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .86;
  pointer-events: none;
}
.grain {
  position: fixed;
  z-index: 90;
  inset: -100%;
  width: 300%;
  height: 300%;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  animation: grain-shift .22s steps(2) infinite;
}
@keyframes grain-shift {
  0% { transform: translate3d(0,0,0); }
  25% { transform: translate3d(3%,-2%,0); }
  50% { transform: translate3d(-2%,3%,0); }
  75% { transform: translate3d(2%,2%,0); }
  100% { transform: translate3d(-3%,-3%,0); }
}

.cursor {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3rem;
  margin: -1.5rem 0 0 -1.5rem;
  border: 1px solid rgba(242,239,232,.5);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .2s;
  mix-blend-mode: difference;
}
.cursor span { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: white; inset: 50%; transform: translate(-50%,-50%); }
.cursor.is-visible { opacity: 1; }
.cursor.is-hovering { width: 5rem; height: 5rem; margin: -2.5rem 0 0 -2.5rem; background: rgba(255,255,255,.15); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 5.5rem;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: height .4s var(--ease), background .4s, border-color .4s;
}
.site-header.is-scrolled {
  height: 4.5rem;
  background: rgba(10,10,9,.72);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.monogram { display: inline-flex; align-items: flex-start; width: max-content; font-weight: 800; letter-spacing: -.08em; font-size: 1.2rem; line-height: 1; }
.monogram sup { color: var(--orange); font-size: .45rem; letter-spacing: 0; margin: -.15rem 0 0 .18rem; }
.header-status { display: flex; gap: .65rem; align-items: center; font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.status-dot { width: .45rem; height: .45rem; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 .25rem rgba(255,92,53,.12); }
nav { justify-self: end; display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.75rem); font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; }
nav a { position: relative; }
nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.4rem; height: 1px; background: var(--paper); transition: right .35s var(--ease); }
nav a:hover::after { right: 0; }
.nav-cta { padding: .72rem 1rem; border: 1px solid var(--line); border-radius: 2rem; }
.nav-cta span { color: var(--orange); margin-left: .45rem; }

main, footer { position: relative; z-index: 2; }
/* body's overflow propagates to the viewport, so clip here too; otherwise phones widen the layout viewport. */
main { overflow-x: clip; }
.page-section { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow { margin: 0; font-size: .68rem; text-transform: uppercase; letter-spacing: .19em; color: var(--muted); }
.section-index { padding-top: 2rem; border-top: 1px solid var(--line); display: flex; gap: 1rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.section-index span:first-child { color: var(--orange); }

.hero {
  position: relative;
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(8rem, 14vh, 10rem) var(--gutter) 3rem;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line); }
.hero-copy { position: relative; z-index: 2; width: 100%; }
.hero .eyebrow { margin: 0 0 clamp(2rem, 5vh, 4rem); }
.hero h1 { margin: 0; font-size: clamp(4.2rem, 11vw, 11.5rem); font-weight: 500; letter-spacing: -.075em; line-height: .77; }
.title-line { display: block; overflow: hidden; padding: .07em .08em .12em 0; }
.title-line > span { display: block; transform: translateY(115%); opacity: 0; }
.is-ready .title-line > span { transform: translateY(0); opacity: 1; transition: transform 1.2s var(--ease), opacity .4s; }
.is-ready .title-line:nth-child(2) > span { transition-delay: .09s; }
.is-ready .title-line:nth-child(3) > span { transition-delay: .18s; }
.title-indent { padding-left: clamp(1rem, 10vw, 10rem); }
.title-accent { padding-left: clamp(4rem, 25vw, 25rem); font-family: Iowan Old Style, Baskerville, Georgia, serif; font-style: italic; color: var(--orange); }
.hero-reveal { opacity: 0; transform: translateY(1.5rem); }
.is-ready .hero-reveal { opacity: 1; transform: translateY(0); transition: opacity .9s .6s, transform .9s .6s var(--ease); }
.hero-bottom { max-width: 58rem; margin: clamp(2.5rem, 7vh, 5rem) 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 3rem; }
.hero-bottom p { max-width: 37rem; margin: 0; font-size: clamp(1.05rem, 1.7vw, 1.45rem); line-height: 1.45; color: #cbc7be; }
.hero-bottom em { color: var(--paper); font-family: Iowan Old Style, Baskerville, Georgia, serif; }
.round-link { flex: 0 0 auto; width: 6rem; height: 6rem; border: 1px solid rgba(242,239,232,.32); border-radius: 50%; display: grid; place-content: center; text-align: center; font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; transition: background .35s, color .35s, transform .35s var(--ease); }
.round-link:hover { background: var(--paper); color: var(--ink); transform: rotate(8deg); }
.round-arrow { display: block; color: var(--orange); font-size: 1rem; margin-top: .4rem; }

.hero-orbit { position: absolute; z-index: 1; width: clamp(16rem, 32vw, 35rem); aspect-ratio: 1; right: clamp(-9rem, -4vw, -2rem); top: 14%; opacity: .46; }
.orbit-ring { position: absolute; inset: 0; border: 1px solid rgba(242,239,232,.23); border-radius: 50%; animation: orbit 22s linear infinite; }
.ring-one::after, .ring-two::after { content: ""; position: absolute; width: .7rem; height: .7rem; border-radius: 50%; top: 8%; left: 24%; background: var(--orange); box-shadow: 0 0 2rem var(--orange); }
.ring-two { inset: 15%; border-style: dashed; animation-direction: reverse; animation-duration: 15s; }
.ring-two::after { background: var(--violet); top: 74%; left: 88%; box-shadow: 0 0 2rem var(--violet); }
.orbit-core { position: absolute; inset: 37%; display: flex; flex-direction: column; place-content: center; text-align: center; border-radius: 50%; background: rgba(242,239,232,.08); backdrop-filter: blur(10px); font-size: .58rem; text-transform: uppercase; letter-spacing: .14em; }
@keyframes orbit { to { transform: rotate(1turn); } }
.hero-coordinate { position: absolute; color: rgba(242,239,232,.28); font-size: .58rem; letter-spacing: .15em; writing-mode: vertical-rl; }
.coordinate-a { left: 1.15rem; top: 40%; }
.coordinate-b { right: 1.15rem; bottom: 25%; }
.scroll-cue { position: absolute; bottom: 2.5rem; left: var(--gutter); display: flex; align-items: center; gap: .8rem; font-size: .58rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.scroll-cue i { display: block; width: 4rem; height: 1px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; display: block; width: 45%; height: 100%; background: var(--paper); animation: scroll-line 2s var(--ease) infinite; }
@keyframes scroll-line { 0% { transform: translateX(-110%); } 100% { transform: translateX(240%); } }

.manifesto { padding-top: clamp(8rem, 17vw, 17rem); padding-bottom: clamp(8rem, 15vw, 15rem); }
.manifesto-grid { display: grid; grid-template-columns: minmax(9rem, .65fr) 2.2fr; gap: 2rem; padding-top: clamp(4rem, 8vw, 8rem); }
.manifesto-kicker { margin: .65rem 0 0; color: var(--orange); font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; }
.statement { max-width: 71rem; margin: 0; font-weight: 400; font-size: clamp(2.5rem, 5vw, 5.9rem); line-height: 1.03; letter-spacing: -.052em; }
.statement .word { display: inline-block; opacity: .4; transform: translateY(.18em); transition: opacity .7s, transform .7s var(--ease); }
.statement .word.is-lit { opacity: 1; transform: translateY(0); }
.manifesto-note { max-width: 36rem; margin: 3.5rem 0 0 auto; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.25rem); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(5rem, 10vw, 10rem); }
.proof { padding: 2.25rem 2rem 2.4rem 0; display: flex; flex-direction: column; gap: .55rem; }
.proof + .proof { padding-left: 2rem; border-left: 1px solid var(--line); }
.proof strong { font-size: clamp(1.1rem, 2vw, 1.65rem); font-weight: 500; letter-spacing: -.03em; }
.proof span { color: var(--muted); font-size: .76rem; }

.work-intro { padding-bottom: clamp(4rem, 8vw, 8rem); }
.work-heading { padding-top: clamp(3.5rem, 7vw, 7rem); display: flex; justify-content: space-between; align-items: flex-end; gap: 4rem; }
.work-heading h2 { margin: 0; font-size: clamp(3.2rem, 8vw, 8rem); line-height: .89; letter-spacing: -.06em; font-weight: 500; }
.work-heading p { max-width: 24rem; margin: 0 0 .8rem; color: var(--muted); font-size: 1rem; }

.case-scroll { position: relative; height: 480vh; }
.case-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.case-progress { position: absolute; z-index: 10; left: var(--gutter); right: var(--gutter); bottom: 1.5rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; font-size: .6rem; color: var(--muted); }
.case-progress i { height: 1px; background: var(--line); overflow: hidden; }
.case-progress b { display: block; width: 100%; height: 100%; background: var(--paper); transform: scaleX(0); transform-origin: left; }
.case-track { display: flex; width: max-content; will-change: transform; }
/* The browser drives the slide from the scroll position, so it never lags behind the finger (script.js
   moves it instead where this is unsupported). The range is the pinned distance: 480vh minus the 100svh panel. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .case-scroll { view-timeline: --case-scroll block; }
    .case-track { animation: case-slide linear both; animation-timeline: --case-scroll; animation-range: contain 0% contain calc(480vh - 100svh); }
    .case-progress b { animation: case-fill linear both; animation-timeline: --case-scroll; animation-range: contain 0% contain calc(480vh - 100svh); }
  }
}
@keyframes case-slide { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(100vw - 100%), 0, 0); } }
@keyframes case-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.case-card { position: relative; width: 100vw; height: 100svh; flex: 0 0 100vw; padding: max(7rem, 11vh) var(--gutter) 4.5rem; display: grid; grid-template-columns: minmax(20rem, .8fr) minmax(36rem, 1.2fr); align-items: center; gap: clamp(3rem, 7vw, 9rem); overflow: hidden; }
.case-card::before { content: ""; position: absolute; inset: 0; opacity: .92; }
.case-card > * { position: relative; z-index: 2; }
.case-gramma::before { background: linear-gradient(125deg, #181511 0%, #0c0b0a 58%, #3f2a16 130%); }
.case-apollo::before { background: radial-gradient(circle at 65% 45%, #25321c 0%, #10150d 34%, #080907 69%); }
.case-commerce::before { background: linear-gradient(125deg, #24140e, #0e0b09 58%, #2b1713); }
.case-meta { margin: 0 0 2rem; color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .16em; }
.case-meta span { display: inline-grid; place-content: center; width: 2rem; height: 2rem; margin-right: .8rem; border: 1px solid var(--line); border-radius: 50%; color: var(--orange); }
.case-copy h3 { margin: 0; font-size: clamp(4rem, 8vw, 8.6rem); line-height: .82; letter-spacing: -.07em; font-weight: 500; }
.case-deck { margin: 2rem 0 0; max-width: 28rem; font-family: Iowan Old Style, Baskerville, Georgia, serif; font-style: italic; color: var(--amber); font-size: clamp(1.6rem, 2.5vw, 2.65rem); line-height: 1.08; }
.case-body { margin: 2rem 0 0; max-width: 31rem; color: #aaa79f; font-size: clamp(.95rem, 1.3vw, 1.15rem); }
.tag-list { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 2.5rem 0 0; list-style: none; }
.tag-list li { border: 1px solid var(--line); border-radius: 2rem; padding: .55rem .8rem; color: #bebbb3; font-size: .61rem; text-transform: uppercase; letter-spacing: .1em; }
.case-visual { position: relative; height: min(70vh, 49rem); perspective: 1200px; transform-style: preserve-3d; }

.gramma-visual { display: grid; place-content: center; }
.visual-glow { position: absolute; width: 66%; aspect-ratio: 1; top: 15%; left: 20%; border-radius: 50%; background: #d79a51; filter: blur(85px); opacity: .19; }
.phone { position: absolute; width: min(18.5rem, 28vw); aspect-ratio: .51; border-radius: 2.6rem; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 2rem 6rem rgba(0,0,0,.55); overflow: hidden; }
.phone-front { z-index: 3; left: 44%; top: 48%; transform: translate(-50%,-50%) rotate(-5deg) translateZ(3rem); padding: 1.2rem 1.1rem; background: #f3efe8; color: #3f3328; }
.phone-back { z-index: 2; left: 63%; top: 51%; transform: translate(-50%,-50%) rotate(10deg) translateZ(-1rem); background: #46392d; }
.phone-top { display: flex; justify-content: space-between; font-size: .48rem; font-weight: 700; }
.phone-top i { display: block; width: 3.4rem; height: 1rem; margin: -.45rem auto 0; background: #17130f; border-radius: 0 0 1rem 1rem; }
.phone-front > img { width: 3.5rem; height: auto; border-radius: 1rem; margin: 2rem 0 3.5rem; box-shadow: 0 .7rem 1.6rem rgba(50,35,22,.15); }
.phone-label { color: #a0764d; font-size: .54rem; text-transform: uppercase; letter-spacing: .14em; }
.phone-front h4 { margin: .2rem 0 1rem; font-family: Georgia, serif; font-size: 1.55rem; }
.ingredient-row { display: flex; justify-content: space-between; padding: .6rem 0; border-top: 1px solid rgba(70,57,45,.16); font-size: .56rem; }
.ingredient-row b { font-weight: 500; }
.phone-front button { position: absolute; bottom: 1.2rem; left: 1rem; right: 1rem; border: 0; border-radius: 2rem; background: #46392d; color: white; padding: .85rem 1rem; text-align: left; font: inherit; font-size: .58rem; }
.phone-front button span { float: right; }
.recipe-cover-back { position: absolute; inset: 45% 1.2rem auto; display: flex; flex-direction: column; transform: translateY(-50%); }
.recipe-cover-back span, .recipe-cover-back small { color: #d2b99d; font-size: .54rem; text-transform: uppercase; letter-spacing: .11em; }
.recipe-cover-back b { margin: .35rem 0; color: #fff9ee; font-family: Georgia, serif; font-size: 1.9rem; font-weight: 400; }
.floating-chip { position: absolute; z-index: 5; padding: .78rem 1rem; border: 1px solid rgba(255,255,255,.17); border-radius: 2rem; background: rgba(20,17,13,.72); backdrop-filter: blur(15px); box-shadow: 0 1rem 3rem rgba(0,0,0,.25); color: #d8d2c9; font-size: .62rem; }
.floating-chip span { margin-left: .8rem; color: var(--orange); }
.chip-one { left: 5%; top: 23%; transform: translateZ(5rem); }
.chip-two { right: 2%; bottom: 25%; transform: translateZ(6rem); }

.apollo-visual { display: grid; place-content: center; }
.rex { position: relative; z-index: 4; width: min(26rem, 38vw); height: auto; filter: drop-shadow(0 2.2rem 2rem rgba(0,0,0,.42)); transform: translateZ(4rem); animation: float 5.5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(-.7rem) translateZ(4rem) rotate(-1deg); } 50% { transform: translateY(.7rem) translateZ(4rem) rotate(1deg); } }
.apollo-halo { position: absolute; z-index: 1; inset: 8% 15%; border: 1px solid rgba(190,220,141,.22); border-radius: 50%; animation: orbit 28s linear infinite; }
.halo-one::after, .halo-two::after { content: ""; position: absolute; top: 50%; left: -.35rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 1.5rem var(--green); }
.halo-two { inset: 20% 27%; border-style: dashed; animation-duration: 16s; animation-direction: reverse; }
.memory-node { position: absolute; z-index: 5; display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; border: 1px solid rgba(190,220,141,.2); border-radius: 2rem; background: rgba(12,18,9,.63); backdrop-filter: blur(8px); color: #c8d9ac; font-size: .56rem; text-transform: uppercase; letter-spacing: .11em; }
.memory-node i { width: .4rem; height: .4rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 .8rem var(--green); }
.node-a { top: 16%; left: 2%; }.node-b { top: 36%; right: 0; }.node-c { bottom: 22%; left: 7%; }
.speech-card { position: absolute; z-index: 7; bottom: 5%; right: 5%; width: min(20rem, 45%); padding: 1.2rem 1.4rem; background: rgba(232,239,217,.91); color: #25311e; border-radius: 1.5rem 1.5rem .2rem 1.5rem; transform: translateZ(6rem); box-shadow: 0 1.5rem 4rem rgba(0,0,0,.3); }
.speech-card p { margin: .7rem 0 0; font-family: Georgia, serif; font-size: clamp(.8rem, 1.4vw, 1.1rem); }
.waveform { height: 1rem; display: flex; gap: .16rem; align-items: center; }
.waveform i { display: block; width: 2px; height: 40%; background: #4b6240; animation: wave .8s ease-in-out infinite alternate; }
.waveform i:nth-child(2n) { animation-delay: -.3s; }.waveform i:nth-child(3n) { animation-delay: -.55s; }
@keyframes wave { to { height: 100%; } }

.commerce-visual { min-height: 38rem; }
.photo { position: absolute; margin: 0; overflow: hidden; background: #291d17; box-shadow: 0 2rem 5rem rgba(0,0,0,.5); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.commerce-visual:hover .photo img { transform: scale(1.035); }
.photo-main { inset: 2% 20% 8% 0; transform: rotate(-3deg) translateZ(2rem); }
.photo-detail { width: 45%; height: 38%; right: 0; bottom: 3%; transform: rotate(4deg) translateZ(6rem); border: .5rem solid #efe8dc; }
.commerce-stamp { position: absolute; z-index: 4; top: 4%; right: 0; width: 8rem; height: 8rem; border-radius: 50%; border: 1px solid rgba(255,139,96,.55); color: #ff9c76; display: grid; place-content: center; text-align: center; font-size: .52rem; text-transform: uppercase; letter-spacing: .15em; transform: rotate(12deg) translateZ(8rem); }
.commerce-stamp span { display: block; }

.systems { padding-top: clamp(10rem, 20vw, 20rem); padding-bottom: clamp(9rem, 15vw, 15rem); }
.systems-heading { display: grid; grid-template-columns: .65fr 2.2fr; gap: 2rem; padding: clamp(4rem, 8vw, 8rem) 0 clamp(5rem, 10vw, 10rem); }
.systems-heading h2 { margin: 0; font-size: clamp(3.1rem, 7.7vw, 8rem); font-weight: 500; line-height: .9; letter-spacing: -.06em; }
.systems-heading .eyebrow { margin-top: .8rem; color: var(--orange); }
.system-list { border-top: 1px solid var(--line); }
.system-row { position: relative; display: grid; grid-template-columns: 3.5rem 1.3fr 1fr auto; gap: 1.5rem; align-items: center; min-height: 7.7rem; border-bottom: 1px solid var(--line); overflow: hidden; }
.system-row::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: translateY(102%); transition: transform .55s var(--ease); }
.system-row:hover::before { transform: translateY(0); }
.system-row > * { position: relative; z-index: 1; transition: color .35s; }
.system-row:hover > * { color: var(--ink); }
.system-number { color: var(--orange); font-size: .65rem; }
.system-row h3 { margin: 0; font-size: clamp(1.45rem, 2.7vw, 2.7rem); font-weight: 400; letter-spacing: -.035em; }
.system-row p { margin: 0; max-width: 26rem; color: var(--muted); font-size: .85rem; }
.system-arrow { font-size: 1.4rem; }

.moving-type { padding: 7rem 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(-2deg) scale(1.04); background: var(--orange); color: var(--ink); }
.ticker { display: flex; width: max-content; font-weight: 600; white-space: nowrap; letter-spacing: -.055em; line-height: .9; }
.ticker span { animation: ticker 28s linear infinite; }
.ticker-a { font-size: clamp(4rem, 10vw, 11rem); }
.ticker-b { margin-top: 1.5rem; color: #552016; font-family: Georgia, serif; font-style: italic; font-size: clamp(2rem, 5vw, 5rem); }
.ticker-b span { animation-direction: reverse; animation-duration: 35s; }
@keyframes ticker { to { transform: translateX(-100%); } }

.contact { position: relative; min-height: 100svh; padding-top: clamp(10rem, 18vw, 18rem); padding-bottom: 4rem; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.contact-copy { position: relative; z-index: 2; padding-top: clamp(5rem, 8vw, 8rem); }
.contact h2 { margin: 1.5rem 0 clamp(4rem, 8vw, 8rem); font-size: clamp(4rem, 11vw, 12rem); line-height: .78; letter-spacing: -.078em; font-weight: 500; }
.contact h2 em { margin-left: clamp(1rem, 13vw, 12rem); color: var(--orange); font-family: Iowan Old Style, Baskerville, Georgia, serif; font-weight: 400; }
.contact-row { display: flex; justify-content: flex-end; align-items: center; gap: clamp(3rem, 10vw, 11rem); }
.contact-row p { margin: 0; color: var(--muted); font-size: .85rem; }
.contact-link { min-width: min(25rem, 42vw); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--paper); padding: 1.25rem 0; font-size: clamp(1.1rem, 2vw, 1.65rem); }
.contact-link span { color: var(--orange); transition: transform .35s var(--ease); }
.contact-link:hover span { transform: translate(.35rem,-.35rem); }
.contact-orb { position: absolute; width: min(45rem, 60vw); aspect-ratio: 1; right: -15%; top: 22%; opacity: .35; }
.contact-orb i { position: absolute; inset: 0; border: 1px solid rgba(255,92,53,.35); border-radius: 43% 57% 61% 39% / 54% 36% 64% 46%; animation: blob 16s linear infinite; }
.contact-orb i:nth-child(2) { inset: 10%; border-color: rgba(123,97,255,.4); animation-direction: reverse; animation-duration: 21s; }
.contact-orb i:nth-child(3) { inset: 25%; border-color: rgba(242,239,232,.3); animation-duration: 11s; }
@keyframes blob { to { transform: rotate(1turn); } }

footer { max-width: var(--max); margin: 0 auto; padding: 2rem var(--gutter); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; }
footer .monogram { color: var(--paper); }

.reveal { opacity: 0; transform: translateY(2rem); transition: opacity .9s, transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr 1fr; }
  .header-status { display: none; }
  .hero-orbit { top: 25%; opacity: .3; }
  .manifesto-grid, .systems-heading { grid-template-columns: 1fr; }
  .manifesto-kicker, .systems-heading .eyebrow { margin-bottom: 1.5rem; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof + .proof { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .work-heading { align-items: flex-start; flex-direction: column; gap: 2rem; }
  .case-card { grid-template-columns: .8fr 1.2fr; gap: 2rem; }
  .phone { width: 22vw; border-radius: 2rem; }
  .case-copy h3 { font-size: clamp(3.4rem, 9vw, 6.5rem); }
  .system-row { grid-template-columns: 2rem 1fr auto; padding: 1.5rem 0; }
  .system-row p { grid-column: 2 / 3; }
  .system-arrow { grid-column: 3; grid-row: 1; }
}

@media (max-width: 700px) {
  :root { --gutter: 1.2rem; }
  .cursor, .hero-coordinate { display: none; }
  .site-header { height: 4.5rem; }
  nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 7rem; padding-bottom: 5rem; align-items: flex-start; }
  .hero .eyebrow { margin-bottom: 18vh; max-width: 12rem; }
  .hero h1 { font-size: clamp(4rem, 21vw, 6.4rem); }
  .title-indent { padding-left: .4rem; }
  .title-accent { padding-left: 2.8rem; }
  .hero-bottom { margin-top: 2.4rem; gap: 1.5rem; align-items: flex-end; }
  .hero-bottom p { font-size: .95rem; }
  .round-link { width: 4.6rem; height: 4.6rem; font-size: .52rem; }
  .hero-orbit { width: 18rem; right: -8rem; top: 17%; }
  .manifesto, .systems { padding-top: 8rem; padding-bottom: 8rem; }
  .statement { font-size: clamp(2.25rem, 11vw, 3.8rem); }
  .manifesto-note { margin-top: 2rem; }
  .work-intro { padding-bottom: 4rem; }
  .work-heading h2 { font-size: 3.4rem; }
  .case-card { container: case-card / size; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: stretch; gap: 1.5rem; padding: 5.75rem var(--gutter) 3.75rem; }
  /* The visual takes the height left over after the copy; its children size against it. */
  .case-visual { height: auto; min-height: 0; perspective: none; transform-style: flat; container: case-visual / size; }
  .case-meta { margin-bottom: 1rem; }
  .case-copy h3 { font-size: clamp(2.8rem, 13vw, 3.6rem); }
  .case-deck { font-size: 1.3rem; margin-top: .9rem; }
  .case-body { font-size: .9rem; margin-top: .9rem; }
  .tag-list { margin-top: 1.2rem; }
  .phone { width: 9.75rem; border-radius: 1.8rem; }
  .phone-front { left: 40%; padding: 1rem .9rem; transform: translate(-50%,-50%) rotate(-5deg) scale(var(--phone-scale, 1)); }
  .phone-back { left: 60%; transform: translate(-50%,-50%) rotate(10deg) scale(var(--phone-scale, 1)); }
  .phone-front > img { width: 2.25rem; margin: .5rem 0 .75rem; }
  .phone-label { margin: 0 0 .2rem; }
  .phone-front h4 { font-size: 1rem; margin: .1rem 0 .6rem; }
  .ingredient-row { padding: .45rem 0; }
  .chip-one { left: 0; top: 12%; }.chip-two { right: 0; bottom: 14%; }
  .rex { width: min(62cqw, 62cqh); }
  .memory-node { font-size: .47rem; }
  .speech-card { right: 0; bottom: 2%; width: 60%; padding: .9rem 1rem; }
  .speech-card p { font-size: .8rem; }
  .commerce-visual { min-height: 0; }
  .photo-main { inset: 0 15% 4% 0; }
  .photo-detail { width: 48%; height: 34%; }
  .commerce-stamp { width: min(8rem, 30cqmin); height: min(8rem, 30cqmin); font-size: .46rem; }
  .system-row { grid-template-columns: 1.5rem 1fr auto; gap: .75rem; }
  .system-row h3 { font-size: 1.5rem; }
  .system-row p { font-size: .75rem; }
  .moving-type { padding: 4.5rem 0; }
  .contact { min-height: 80svh; padding-top: 9rem; }
  .contact h2 { font-size: clamp(4rem, 21vw, 6.5rem); margin-top: 1.5rem; }
  .contact h2 em { margin-left: 1.2rem; }
  .contact-row { display: block; }
  .contact-row p { margin-bottom: 2.5rem; }
  .contact-link { min-width: 100%; }
  footer p { display: none; }
}

/* Phone-only containers. Each case card fills one pinned 100svh screen, so short phones drop
   secondary copy to keep the visual readable; svh stays stable while mobile toolbars move.
   Heights are the card's content box: 38rem ≈ a 760px screen, 29rem ≈ a 616px screen. */
@container case-card (max-height: 38rem) {
  .case-copy h3 { font-size: clamp(2.4rem, 11vw, 3rem); }
  .case-copy .tag-list { display: none; }
}
@container case-card (max-height: 29rem) { .case-body { display: none; } }
/* The phone mockup keeps its design size and scales down when its visual area is short. */
@container case-visual (max-height: 340px) { .phone { --phone-scale: .82; } }
@container case-visual (max-height: 270px) { .phone { --phone-scale: .68; } }

@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #atmosphere { display: none; }
  .grain { animation: none; }
  .title-line > span, .hero-reveal, .reveal { opacity: 1 !important; transform: none !important; }
  .statement .word { opacity: 1; transform: none; }
  .case-scroll { height: auto; }
  .case-sticky { position: relative; height: auto; display: block; overflow: visible; }
  .case-track { display: block; width: 100%; transform: none !important; }
  .case-card { width: 100%; }
  .case-progress { display: none; }
}
