/* =====================================================================
   FIELD — home page
   ===================================================================== */

section { position: relative; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head__aside { max-width: 26ch; font-size: 13px; text-align: right; }
.h-lg em, .h-xl em, .h-md em { font-style: italic; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } .section-head__aside { text-align: left; } }

/* ================= 1 · HERO ================= */
.hero {
  height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate;
  background: var(--hero-2); color: var(--cream);
  touch-action: pan-y;
}
.hero__field {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(50% 38% at 50% 40%, rgba(214, 128, 96, .55), transparent 75%),
    radial-gradient(55% 50% at 12% 8%, rgba(251, 211, 190, .9), transparent 70%),
    radial-gradient(55% 60% at 90% 88%, rgba(196, 112, 80, .95), transparent 70%),
    radial-gradient(70% 45% at 50% 110%, rgba(170, 92, 62, .9), transparent 70%),
    linear-gradient(165deg, #f8cdb3 0%, #f0b494 34%, #e39c7a 66%, #d4835f 100%);
}
.hero__field::after { /* film grain */
  content: ''; position: absolute; inset: 0; opacity: .22; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__name { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__desk {
  position: absolute; z-index: 1; left: 50%; top: 86%; width: min(56vw, 640px); height: 70px; translate: -50% -50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(120, 58, 34, .32), transparent 72%);
  filter: blur(6px); pointer-events: none;
}
.hero__stage {
  position: absolute; z-index: 2; left: 50%; top: 34%; width: min(64vw, 820px); height: 62%;
  translate: -50% 0; cursor: grab; outline-offset: -8px; border-radius: 40px;
  touch-action: pan-y;
}
.hero__stage.is-grabbing { cursor: grabbing; }
.hero__splat { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.hero.is-splat .hero__splat { opacity: 1; }
.hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero__hud {
  position: absolute; z-index: 2; left: 50%; top: 65%; width: min(40vw, 440px); height: min(40vh, 340px);
  translate: -50% -50%; pointer-events: none; opacity: .85;
}
.hud-corner { position: absolute; width: 22px; height: 22px; border: 1.5px solid var(--cream); }
.hud-corner--tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.hud-corner--tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.hud-corner--bl { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.hud-corner--br { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.hero__scanlabel {
  position: absolute; z-index: 3; left: calc(50% + min(20vw, 220px) - 10px); top: calc(65% - min(20vh, 170px));
  translate: 0 -50%;
  display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .8rem .35rem .4rem;
  background: rgba(254, 249, 237, .92); color: var(--ink-2); border-radius: var(--r-full);
  font-size: 11px; letter-spacing: .02em; white-space: nowrap; box-shadow: var(--shadow-sm);
}
.hero__scanlabel b { font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-right: .2rem; color: var(--hero-5); }
.scan-ring svg { width: 22px; height: 22px; transform: rotate(-90deg); }
.scan-ring circle { fill: none; stroke: var(--paper-2); stroke-width: 4; }
.scan-ring .scan-ring__fill { stroke: var(--hero-4); stroke-dasharray: 94.25; stroke-dashoffset: calc(94.25 * (1 - var(--p, 0))); stroke-linecap: round; transition: stroke-dashoffset .3s; }

.hero__copy { position: absolute; z-index: 3; left: var(--edge); bottom: clamp(1.5rem, 6vh, 4rem); max-width: 25rem; pointer-events: none; }
.hero__eyebrow {
  display: inline-flex; gap: .5em; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); background: rgba(254, 249, 237, .85); padding: .3rem .75rem; border-radius: var(--r-full); margin-bottom: 1rem;
}
.hero__title {
  position: absolute; z-index: 1; left: 0; right: 0; top: 41%; translate: 0 -50%; margin: 0; pointer-events: none;
  font-family: var(--font-serif); font-style: italic; font-weight: 450; color: var(--cream);
  font-size: clamp(5rem, 24vw, 22rem); line-height: 1; text-align: center; letter-spacing: -.02em;
  transition: color .8s;
}
.hero.has-particles .hero__title { color: transparent; }
@media (max-width: 900px) { .hero__title { top: 31%; font-size: 27vw; } }
.hero__lede { font-family: var(--font-serif); font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.3; color: var(--cream); text-shadow: 0 1px 18px rgba(150, 70, 40, .35); }
.hero__lede em { font-style: italic; }
.hero__actions { position: absolute; z-index: 3; right: var(--edge); bottom: clamp(1.5rem, 6vh, 4rem); display: flex; gap: .6rem; }
.hero__orbit { position: absolute; z-index: 3; left: calc(50% - min(34vw, 420px)); top: 52%; --s-bg: var(--cream); --s-size: 104px; padding: 0; color: var(--ink-2); pointer-events: none; }
.orbit-text { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 14s linear infinite; }
.orbit-text text { font-family: var(--font-mono); font-size: 7.6px; letter-spacing: .14em; text-transform: uppercase; fill: var(--ink-2); }
.orbit-arrow { width: 26px; height: 26px; position: relative; color: var(--hero-5); }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 14px; translate: -50% 0; width: 22px; color: var(--cream); }
.hero__scroll svg { width: 22px; height: 56px; }
.hero__scroll path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 90; animation: scrollcue 2.6s var(--ease-quart) infinite; }
@keyframes scrollcue { 0% { stroke-dashoffset: 90; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -90; } }

@media (max-width: 900px) {
  .hero__stage { width: 100%; top: 39%; height: 36%; }
  .hero__hud { top: 57%; width: min(76vw, 320px); height: 30%; }
  .hero__desk { top: 72%; width: 80vw; }
  .hero__scanlabel { left: 50%; top: calc(57% + 15% + 10px); translate: -50% 0; }
  .hero__orbit { display: none; }
  .hero__copy { right: var(--edge); max-width: none; bottom: calc(1.25rem + 44px + 1rem); }
  .hero__eyebrow { display: none; }
  .hero__lede { font-size: 1.15rem; max-width: 22rem; }
  .hero__actions { left: var(--edge); right: var(--edge); bottom: 1.25rem; }
  .hero__actions .pill { flex: 1; }
  .hero__scroll { display: none; }
}
@media (max-width: 900px) and (max-height: 760px) { .hero__scanlabel { display: none; } }

/* ================= 2 · ABOUT ================= */
.about { padding: clamp(7rem, 16vh, 12rem) 0 clamp(6rem, 14vh, 10rem); overflow: hidden; background: var(--cream); }
.about__inner { position: relative; z-index: 2; max-width: 1180px; }
.about__statement {
  font-family: var(--font-serif); font-weight: 450; font-size: clamp(2.1rem, 4.9vw, 4.6rem); line-height: 1.08; letter-spacing: -.018em;
  margin-top: 1.2rem; color: var(--ink);
}
.about__statement .w { display: inline-block; opacity: .14; transition: opacity .2s; }
.about__statement.is-static .w { opacity: 1; }
.chip-img {
  display: inline-block; width: 1.7em; height: .92em; border-radius: var(--r-full); vertical-align: -.06em;
  background: center / cover no-repeat var(--paper); transform: rotate(-5deg); box-shadow: var(--shadow-sm);
}
.chip-tag {
  display: inline-flex; align-items: center; height: 1em; padding: 0 .45em; vertical-align: .08em;
  font-family: var(--font-mono); font-size: .3em; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  background: var(--butter); color: var(--ink-2); border-radius: var(--r-full); transform: rotate(4deg);
}
.about__cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); margin-top: clamp(2.5rem, 6vw, 5rem); max-width: 1040px; }
.about__p { font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.pillars-mini { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; padding: 0; list-style: none; }
.pillars-mini li { display: inline-flex; gap: .6rem; align-items: center; padding: .55rem 1rem; border-radius: var(--r-full); background: var(--paper); font-size: 12px; font-weight: 500; }
.pillars-mini b { color: var(--hero-5); font-weight: 500; }
.sticker-field { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.drag-sticker {
  transition: none;
  position: absolute; left: var(--x); top: var(--y); rotate: var(--r); pointer-events: auto; cursor: grab; touch-action: none; user-select: none;
}
.drag-sticker:active { cursor: grabbing; }
.drag-sticker.is-dragging { z-index: 5; }
.about__squiggle { left: 0; right: 0; bottom: 6%; width: 100%; height: 40%; z-index: 1; --squiggle: var(--hero-3); }
@media (max-width: 1100px) {
  .sticker-field { position: relative; inset: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .5rem; padding: 3rem var(--edge) 0; }
  .drag-sticker { position: relative; left: auto; top: auto; --s-size: 104px !important; font-size: 10px; }
}
@media (max-width: 760px) {
  .about__cols { grid-template-columns: 1fr; }
  .drag-sticker { --s-size: 92px !important; font-size: 9px; }
  .drag-sticker .serif { font-size: 1.45em; }
}

/* ================= 3 · BENTO ================= */
.glance { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--cream); }
.bento {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(236px, auto);
  grid-template-areas:
    "sky sky strat strat"
    "sky sky time build"
    "cai cai wave plana"
    "stack stack clue stats";
}
.tile {
  --tile-bg: var(--paper); --tile-fg: var(--ink);
  position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: 22px;
  background: var(--tile-bg); color: var(--tile-fg);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .5s var(--ease-out);
}
.tile:hover { box-shadow: 0 24px 60px -24px rgba(93, 82, 75, .45); }
.tile__body { position: relative; z-index: 2; display: grid; gap: .45rem; align-content: start; }
.tile__body--bottom { align-content: end; margin-top: auto; }
.tile__kicker { display: inline-flex; align-items: center; gap: .45rem; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.tile__title { font-family: var(--font-serif); font-weight: 450; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1; letter-spacing: -.01em; }
.tile__title--sm { font-size: clamp(1.5rem, 2vw, 1.9rem); }
.tile__text { font-size: 13px; line-height: 1.5; max-width: 34ch; }
.tile__big { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 500; letter-spacing: .02em; line-height: 1; }
.tile__stat {
  position: relative; z-index: 2; align-self: flex-start; display: inline-flex; align-items: baseline; gap: .5rem;
  padding: .45rem .85rem; border-radius: var(--r-full); background: rgba(254, 249, 237, .9); color: var(--ink-2); font-size: 11.5px;
}
.tile__stat b { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 450; }
.tile__link { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
.tile__link:focus-visible { outline-offset: -4px; }
.tile__arrow, .tile__corner {
  position: absolute; z-index: 5; right: 16px; top: 16px; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 15px;
  transition: transform .6s var(--ease-spring);
}
.tile__arrow { pointer-events: none; }
.tile:hover .tile__arrow, .tile__corner:hover { transform: rotate(45deg) scale(1.1); }
.tile__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0; transition: opacity .6s; }
.tile.is-playing .tile__video { opacity: 1; }

.tile--sky { grid-area: sky; --tile-bg: var(--night); --tile-fg: var(--cream); min-height: 486px; }
.tile--sky .tile__video { filter: saturate(.8); }
.tile--sky.is-playing .tile__video { opacity: .55; }
.tile__radar { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.tile--sky .tile__text { color: rgba(254, 249, 237, .85); }
.tile--sky .tile__title { font-size: clamp(2.4rem, 4.4vw, 4rem); }

.tile--strat { grid-area: strat; --tile-bg: var(--sage-2); }
.tile__candles { position: absolute; right: 0; bottom: 0; width: 62%; height: 100%; z-index: 0; }
.tile--strat .tile__body { max-width: 50%; }

.tile--time { grid-area: time; --tile-bg: var(--butter); align-items: stretch; }
.clockface { position: absolute; right: -26px; top: -26px; width: 150px; height: 150px; z-index: 0; }
.clockface__rim { fill: var(--butter-2); }
.clockface__ticks line { stroke: var(--ink); stroke-width: 1; opacity: .5; }
.clockface__h, .clockface__m { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.clockface__m { stroke-width: 2; }
.clockface__s { stroke: var(--tomato); stroke-width: 1; }
.clockface circle { fill: var(--ink); }
.clockface line { transform-origin: 50px 50px; }

.tile--build { grid-area: build; --tile-bg: var(--dusk-2); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tomato); box-shadow: 0 0 0 0 rgba(227, 98, 74, .5); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(227, 98, 74, 0); } }
.route { position: relative; z-index: 1; width: 100%; height: auto; margin-top: auto; overflow: visible; }
.route path { fill: none; stroke-linecap: round; }
.route__base { stroke: rgba(93, 82, 75, .2); stroke-width: 2; stroke-dasharray: 2 6; }
.route__line { stroke: var(--ink); stroke-width: 2; }
.route__stop { fill: var(--cream); stroke: var(--ink); stroke-width: 2; }
.route__box { fill: var(--tomato); }
.route text { font-family: var(--font-mono); font-size: 10px; fill: var(--ink-2); letter-spacing: .05em; }

.tile--cai { grid-area: cai; --tile-bg: var(--butter-2); }
.tile__video--side { left: auto; width: 40%; opacity: 1; border-radius: 0; filter: saturate(.9) sepia(.15); }
.tile--cai .tile__video--side { clip-path: url(#none); -webkit-mask: url('../assets/shapes/wavy-band.svg') 0 0 / 100% 100% no-repeat; }
.tile--cai .tile__body { max-width: 58%; }
.chat { display: grid; gap: .5rem; margin-top: .4rem; font-size: 12.5px; line-height: 1.45; }
.chat__q { justify-self: start; background: var(--ink); color: var(--cream); padding: .5rem .8rem; border-radius: 14px 14px 14px 4px; }
.chat__a { background: var(--cream); color: var(--ink-2); padding: .55rem .8rem; border-radius: 14px 14px 4px 14px; min-height: 3.6em; }
.cite { display: inline-block; margin-left: .35rem; padding: 0 .4rem; border-radius: 6px; background: var(--butter); font-size: 10px; letter-spacing: .04em; }

.tile--wave { grid-area: wave; --tile-bg: var(--tomato); --tile-fg: var(--cream); }
.tile__wave { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 44%; translate: 0 -40%; z-index: 0; }
.langs { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: .3rem; }
.langs span { font-size: 10.5px; padding: .2rem .55rem; border-radius: var(--r-full); background: rgba(254, 249, 237, .2); }
.flag-pop {
  position: absolute; z-index: 3; right: 14px; bottom: 54px; font-size: 10.5px; font-weight: 500; letter-spacing: .04em;
  background: var(--butter); color: var(--ink-2); padding: .3rem .6rem; border-radius: var(--r-full); transform: scale(0) rotate(-8deg);
}
.flag-pop.is-on { animation: flagpop 3.2s var(--ease-spring) forwards; }
@keyframes flagpop { 0% { transform: scale(0) rotate(-20deg); } 12% { transform: scale(1) rotate(-6deg); } 80% { transform: scale(1) rotate(-6deg); } 100% { transform: scale(0) rotate(8deg); } }

.tile--plana { grid-area: plana; --tile-bg: var(--rose-2); }
.split { display: grid; gap: .5rem; margin-top: .5rem; font-size: 12.5px; }
.split__ctl { display: inline-flex; align-items: center; gap: .6rem; }
.split__btn {
  width: 38px; height: 38px; border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 18px; line-height: 1;
  display: grid; place-items: center; transition: transform .4s var(--ease-spring), background .2s; position: relative; z-index: 5;
}
.split__btn:hover { background: var(--tomato); color: var(--cream); transform: scale(1.1) rotate(-8deg); }
.split__btn:active { transform: scale(.9); }
.split__n { font-family: var(--font-serif); font-weight: 450; font-size: 2.2rem; min-width: 1.4ch; text-align: center; display: inline-block; }
.split__res b { font-family: var(--font-serif); font-weight: 450; font-size: 1.5rem; }
.split__faces { display: flex; margin-top: .3rem; min-height: 30px; }
.split__faces i {
  width: 30px; height: 30px; margin-right: -8px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 500; color: var(--ink-2);
  background: var(--c, var(--butter)); -webkit-mask: url('../assets/shapes/scallop-12.svg') center / contain no-repeat; mask: url('../assets/shapes/scallop-12.svg') center / contain no-repeat;
}
.tile__corner { z-index: 6; }

.tile--stack { grid-area: stack; --tile-bg: var(--ink); --tile-fg: var(--cream); padding-inline: 0; }
.tile--stack .tile__body { padding-inline: 22px; }
.marquee { display: grid; gap: .6rem; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { display: flex; gap: .5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 44s; }
.marquee__row span {
  flex: none; padding: .55rem 1rem; border-radius: var(--r-full); font-size: 12.5px;
  background: rgba(254, 249, 237, .1); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(254, 249, 237, .14);
}
.marquee__row span:nth-child(4n+1) { background: var(--hero-4); box-shadow: none; }
.marquee__row span:nth-child(5n+3) { background: var(--butter); color: var(--ink-2); box-shadow: none; }
.tile--stack:hover .marquee__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.tile--clue { grid-area: clue; --tile-bg: #ead3dc; }
.coin { position: relative; width: 84px; height: 84px; margin: 4px auto 0; transform-style: preserve-3d; animation: coinflip 4.5s var(--ease-quart) infinite; }
.coin__face {
  position: absolute; inset: 0; display: grid; place-items: center; backface-visibility: hidden; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f9e9a8, #e6b94f 70%); color: var(--ink-2);
  font-family: var(--font-serif); font-size: 2rem; box-shadow: inset 0 0 0 5px rgba(166, 124, 82, .35), 0 10px 20px -8px rgba(93, 82, 75, .5);
}
.coin__face--back { transform: rotateY(180deg); font-size: 1.4rem; }
@keyframes coinflip { 0%, 35% { transform: rotateY(0); } 50%, 85% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }

.tile--stats { grid-area: stats; --tile-bg: var(--paper-2); }
.mini-stats { display: grid; gap: .8rem; margin: 0; }
.mini-stats div { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.mini-stats dt { font-size: 12px; line-height: 1.35; max-width: 18ch; }
.mini-stats dd { margin: 0; font-family: var(--font-serif); font-size: 3rem; line-height: .9; color: var(--hero-5); }

@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "sky sky" "strat strat" "time build" "cai cai" "wave plana" "stack stack" "clue stats";
  }
  .tile--sky { min-height: 420px; }
}
@media (max-width: 560px) {
  .bento { gap: 10px; grid-auto-rows: minmax(200px, auto); }
  .tile { padding: 16px; border-radius: 22px; }
  .tile__arrow, .tile__corner { right: 10px; top: 10px; width: 30px; height: 30px; }
  .tile--strat .tile__body { max-width: 60%; }
  .tile__candles { width: 55%; opacity: .9; }
  .tile--cai .tile__body { max-width: 100%; }
  .tile--cai .tile__video--side { display: none; }
  .clockface { width: 110px; height: 110px; right: -24px; top: -24px; }
  .tile__title--sm { font-size: 1.3rem; }
  .tile--wave .tile__title--sm { font-size: 1.2rem; }
  .split__n { font-size: 1.8rem; }
  .split__btn { width: 34px; height: 34px; }
  .split__label { font-size: 11px; }
  .mini-stats dd { font-size: 2.2rem; }
  .mini-stats dt { font-size: 11px; }
  .tile__text { font-size: 12px; }
  .tile--sky { min-height: 380px; }
}

/* ================= 4 · CRAFT / DEPTH PHOTOS ================= */
.craft { padding: clamp(5rem, 10vw, 9rem) 0; background: linear-gradient(var(--cream), var(--paper) 30%, var(--paper) 70%, var(--cream)); }
.craft__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.craft__head { position: sticky; top: 130px; }
.craft__head .h-lg { margin-top: 1rem; }
.craft__hint { margin-top: 1.25rem; font-size: 13px; max-width: 30ch; }
kbd { font-family: var(--font-mono); font-size: 11px; padding: .05rem .4rem; border-radius: 5px; background: var(--cream); box-shadow: inset 0 -2px 0 var(--line); }
.craft__squiggle { position: relative; width: 120px; height: 240px; margin-top: 2rem; --squiggle: var(--hero-4); }
.craft__cards { display: grid; gap: clamp(3rem, 8vw, 7rem); }
.depth-card { perspective: 1100px; }
.depth-card__media {
  position: relative; aspect-ratio: 4 / 3; border-radius: 30px; overflow: hidden; background: var(--paper-2);
  transform-style: preserve-3d; transition: transform .9s var(--ease-out), box-shadow .6s;
  box-shadow: 0 30px 60px -30px rgba(93, 82, 75, .5);
}
.depth-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.depth-card__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.depth-card.is-gl img { opacity: 0; }
.depth-toggle {
  position: absolute; z-index: 3; right: 14px; top: 14px; height: 32px; padding: 0 .9rem; border-radius: var(--r-full);
  background: rgba(254, 249, 237, .92); color: var(--ink-2); font-size: 11px; font-weight: 500; letter-spacing: .03em;
  transition: background .2s, color .2s, transform .4s var(--ease-spring);
}
.depth-toggle[aria-pressed='true'] { background: var(--ink); color: var(--cream); }
.depth-toggle:hover { transform: scale(1.05); }
.depth-card:not(.is-gl) .depth-toggle { display: none; }
.depth-card__body { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 1.5rem; padding-inline: .5rem; }
.depth-card__body .sticker { flex: none; padding: 0; }
.depth-card__body .sticker .serif { font-size: 1.35rem; }
.depth-card__body p { margin-top: .6rem; font-size: 14px; line-height: 1.7; color: var(--ink-2); max-width: 52ch; }
@media (max-width: 900px) {
  .craft__grid { grid-template-columns: 1fr; }
  .craft__head { position: relative; top: 0; }
  .craft__squiggle { display: none; }
  .depth-card__media { border-radius: 22px; }
}

/* ================= 5 · WORK MORPH ================= */
.work { background: var(--cream); }
.work__intro { padding-top: clamp(5rem, 12vh, 9rem); padding-bottom: clamp(1rem, 4vh, 3rem); }
.work__intro .h-xl { margin-top: 1rem; }
.work__intro .muted { margin-top: 1rem; font-size: 13px; }
.work__pin {
  --acc: var(--paper);
  position: relative; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); overflow: hidden;
  background: color-mix(in srgb, var(--acc) 12%, var(--cream));
  transition: background-color .8s var(--ease-quart);
}
.work__stage::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: min(78%, 74vh); aspect-ratio: 1; translate: -50% -50%;
  background: color-mix(in srgb, var(--acc) 55%, var(--cream));
  -webkit-mask: url('../assets/shapes/scallop-16.svg') center / contain no-repeat; mask: url('../assets/shapes/scallop-16.svg') center / contain no-repeat;
  transition: background-color .8s var(--ease-quart); animation: spin 70s linear infinite;
}
.work__stage { position: relative; grid-column: 2; grid-row: 1; height: 100%; }
.work__cloud { position: absolute; inset: 0; width: 100%; height: 100%; }
.work__shape-label {
  position: absolute; left: 50%; bottom: 9%; translate: -50% 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: var(--r-full); background: var(--cream); color: var(--ink-2); white-space: nowrap;
}
.work__list { grid-column: 1; grid-row: 1; position: relative; margin: 0; padding: 0; list-style: none; }
.work-panel {
  position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%;
  padding: 0 var(--edge) 0 max(var(--edge), calc((100vw - var(--max)) / 2 + var(--edge)));
  visibility: hidden;
}
.work-panel.is-active { visibility: visible; }
.work-panel__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.work-panel__meta span:first-child { color: var(--ink); font-weight: 500; }
.work-panel__title { font-family: var(--font-serif); font-weight: 450; font-size: clamp(3rem, 6vw, 6.4rem); line-height: .95; letter-spacing: -.025em; margin: 1rem 0 1.25rem; }
.work-panel__title .word { display: inline-block; white-space: nowrap; }
.work-panel__title .char { display: inline-block; }
.work-panel__tag { font-family: var(--font-serif); font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.4; max-width: 34ch; }
.work-panel__facts { list-style: none; padding: 0; margin: 1.5rem 0 1.75rem; display: grid; gap: .5rem; font-size: 13px; color: var(--ink-2); }
.work-panel__facts li { display: flex; gap: .6rem; align-items: baseline; }
.work-panel__facts li::before { content: ''; flex: none; width: 10px; height: 10px; translate: 0 1px; background: var(--acc); -webkit-mask: url('../assets/shapes/scallop-12.svg') center / contain no-repeat; mask: url('../assets/shapes/scallop-12.svg') center / contain no-repeat; filter: brightness(.8) saturate(1.3); }
.work__dots { position: absolute; right: var(--edge); top: 50%; translate: 0 -50%; z-index: 3; display: grid; gap: 10px; }
.work__dots button { position: relative; width: 12px; height: 12px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 0; transition: transform .4s var(--ease-spring), background .3s; }
.work__dots button.is-on { background: var(--ink); transform: scale(1.25); }
.work__dots button::after {
  content: attr(data-label); position: absolute; right: 22px; top: 50%; translate: 0 -50%; white-space: nowrap; font-size: 11px; letter-spacing: .03em;
  background: var(--ink); color: var(--cream); padding: .2rem .55rem; border-radius: var(--r-full); opacity: 0; pointer-events: none; transition: opacity .2s;
}
.work__dots button:hover::after, .work__dots button:focus-visible::after { opacity: 1; }

/* static fallback (reduced motion / no WebGL) */
.work--static .work__pin { height: auto; display: block; background: var(--cream); }
.work--static .work__stage, .work--static .work__dots { display: none; }
.work--static .work-panel { position: relative; top: auto; translate: none; visibility: visible; padding-block: 3rem; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .work__pin { grid-template-columns: 1fr; grid-template-rows: 42% 58%; }
  .work__stage { grid-column: 1; grid-row: 1; }
  .work__list { grid-column: 1; grid-row: 2; }
  .work-panel { top: 0; translate: none; padding: .5rem var(--edge) 0; }
  .work-panel__title { font-size: clamp(2.6rem, 12vw, 3.6rem); margin: .5rem 0 .75rem; }
  .work-panel__tag { font-size: 1.05rem; }
  .work-panel__facts { margin: 1rem 0 1.1rem; font-size: 12px; gap: .35rem; }
  .work__shape-label { bottom: 4%; }
  .work__dots { top: 21%; right: 12px; gap: 8px; }
  .work__dots button { width: 9px; height: 9px; }
  .work__dots button::after { display: none; }
}
@media (max-width: 900px) and (max-height: 720px) { .work-panel__facts li:nth-child(3) { display: none; } }

/* ================= 6 · TIMELINE ================= */
.timeline { padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem); background: var(--cream); overflow: hidden; }
.timeline__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.timeline__head .h-lg { margin-top: .8rem; }
.timeline__controls { display: grid; gap: .6rem; justify-items: end; }
.zoom { display: inline-flex; padding: 4px; border-radius: var(--r-full); background: var(--paper); }
.zoom__btn { height: 34px; padding: 0 1rem; border-radius: var(--r-full); font-size: 12px; font-weight: 500; color: var(--ink-soft); transition: background .3s, color .3s; }
.zoom__btn.is-on { background: var(--ink); color: var(--cream); }
.timeline__hint { font-size: 11px; }
.ribbon {
  position: relative; height: 480px; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none;
  background: var(--paper);
  -webkit-mask: url('../assets/shapes/ribbon-band.svg') 0 0 / 100% 100% no-repeat; mask: url('../assets/shapes/ribbon-band.svg') 0 0 / 100% 100% no-repeat;
}
.ribbon:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--tomato); }
.ribbon.is-dragging { cursor: grabbing; }
.ribbon__track { position: absolute; left: 0; top: 0; height: 100%; will-change: transform; }
.ribbon__years span {
  position: absolute; top: 34px; font-family: var(--font-serif); font-style: italic; font-size: clamp(6rem, 13vw, 11rem); line-height: 1;
  color: rgba(93, 82, 75, .07); white-space: nowrap; pointer-events: none; translate: 10px 0;
}
.ribbon__ticks { position: absolute; left: 0; right: 0; top: 232px; height: 1.5px; background: var(--ink); }
.ribbon__ticks i { position: absolute; top: -4px; width: 1px; height: 9px; background: var(--ink); opacity: .45; }
.ribbon__ticks i.is-year { top: -10px; height: 21px; width: 1.5px; opacity: 1; }
.ribbon__ticks b { position: absolute; top: 14px; font-size: 11px; font-weight: 500; translate: -50% 0; }
.ribbon__ticks em { position: absolute; top: 12px; font-size: 9.5px; font-style: normal; translate: -50% 0; color: var(--ink-soft); }
.ribbon__items { list-style: none; margin: 0; padding: 0; }
.tl-span {
  position: absolute; height: 38px; display: flex; align-items: center; gap: .5rem; white-space: nowrap;
  transition: top .5s var(--ease-out);
}
.tl-span__bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); min-width: 10px; border-radius: var(--r-full); background: var(--c);
  box-shadow: inset 0 -3px 0 rgba(93, 82, 75, .12);
}
.tl-span.is-open .tl-span__bar { border-top-right-radius: 4px; border-bottom-right-radius: 4px; background: linear-gradient(90deg, var(--c) 80%, color-mix(in srgb, var(--c) 30%, transparent)); }
.tl-span__label { position: relative; padding-left: 14px; will-change: transform; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.tl-span__label small { font-weight: 400; color: var(--ink-soft); margin-left: .4rem; }
.tl-point { position: absolute; top: 0; height: 232px; transition: top .5s var(--ease-out); }
.tl-point__stem { position: absolute; left: 0; bottom: 0; width: 1px; height: var(--stem); background: var(--ink); opacity: .5; }
.tl-point__dot {
  position: absolute; left: -9px; bottom: -9px; width: 18px; height: 18px; background: var(--c, var(--tomato));
  -webkit-mask: url('../assets/shapes/scallop-12.svg') center / contain no-repeat; mask: url('../assets/shapes/scallop-12.svg') center / contain no-repeat;
  animation: spin 12s linear infinite;
}
.tl-point__card {
  position: absolute; left: -4px; bottom: var(--stem); translate: 0 0; white-space: nowrap;
  padding: .35rem .7rem; border-radius: 12px 12px 12px 3px; background: var(--cream); color: var(--ink-2); font-size: 11.5px; line-height: 1.3;
  box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-spring);
}
.tl-point__card b { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-5); font-weight: 500; }
.tl-point:hover .tl-point__card { transform: translateY(-4px) rotate(-2deg); }
.ribbon__now { position: absolute; top: 40px; bottom: 30px; width: 0; border-left: 1.5px dashed var(--tomato); }
.ribbon__now span { position: absolute; bottom: -2px; left: 6px; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--tomato); }
.scrub { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.scrub input { flex: 1; appearance: none; -webkit-appearance: none; height: 28px; background: transparent; cursor: pointer; }
.scrub input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 6'%3E%3Cpath d='M0 3 Q5 0 10 3 T20 3 T30 3 T40 3' fill='none' stroke='%235d524b' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x 0 0 / 20px 6px; }
.scrub input::-moz-range-track { height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 6'%3E%3Cpath d='M0 3 Q5 0 10 3 T20 3 T30 3 T40 3' fill='none' stroke='%235d524b' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x 0 0 / 20px 6px; }
.scrub input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border: 0; background: var(--tomato); -webkit-mask: url('../assets/shapes/scallop-12.svg') center / contain no-repeat; mask: url('../assets/shapes/scallop-12.svg') center / contain no-repeat; }
.scrub input::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--tomato); }
.scrub__date { min-width: 8ch; font-size: 12px; font-weight: 500; text-align: right; }
@media (max-width: 760px) {
  .timeline__controls { justify-items: start; }
  .ribbon { height: 440px; }
}

/* ================= 7 · CONTACT ================= */
.contact { padding: clamp(6rem, 14vw, 11rem) 0 clamp(5rem, 10vw, 8rem); background: var(--cream); overflow: hidden; text-align: center; }
.contact__blobs span {
  position: absolute; width: 46vmax; aspect-ratio: 1; opacity: .55; z-index: 0;
  -webkit-mask: url('../assets/shapes/flower-8.svg') center / contain no-repeat; mask: url('../assets/shapes/flower-8.svg') center / contain no-repeat;
  animation: spin 80s linear infinite;
}
.contact__blobs span:nth-child(1) { background: var(--hero-2); left: -18vmax; top: -12vmax; }
.contact__blobs span:nth-child(2) { background: var(--butter-2); right: -20vmax; top: 22%; animation-direction: reverse; -webkit-mask-image: url('../assets/shapes/scallop-16.svg'); mask-image: url('../assets/shapes/scallop-16.svg'); }
.contact__blobs span:nth-child(3) { background: var(--sage-2); left: 20%; bottom: -34vmax; width: 40vmax; -webkit-mask-image: url('../assets/shapes/wobble.svg'); mask-image: url('../assets/shapes/wobble.svg'); }
.contact__inner { position: relative; z-index: 1; display: grid; justify-items: center; }
.contact__title { margin-top: 1rem; max-width: 14ch; }
.contact__lede { margin-top: 1.5rem; max-width: 34ch; }
.hold { margin-top: clamp(2.5rem, 6vw, 4rem); display: grid; justify-items: center; gap: 1.25rem; position: relative; }
.hold__btn {
  position: relative; width: 210px; height: 210px; display: grid; place-items: center; color: var(--ink-2); touch-action: none; user-select: none; -webkit-user-select: none;
  transition: transform .5s var(--ease-spring);
}
.hold__btn::before {
  content: ''; position: absolute; inset: 14px; background: var(--butter);
  -webkit-mask: url('../assets/shapes/scallop-16.svg') center / contain no-repeat; mask: url('../assets/shapes/scallop-16.svg') center / contain no-repeat;
  transition: transform .6s var(--ease-spring), background .3s;
  animation: spin 30s linear infinite;
}
.hold__btn:hover::before { transform: scale(1.04); }
.hold.is-holding .hold__btn { transform: scale(1.08); }
.hold.is-holding .hold__btn::before { background: var(--hero-3); animation-duration: 3s; }
.hold__btn:focus-visible { outline-offset: -6px; border-radius: 50%; }
.hold__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hold__ring circle { fill: none; stroke: var(--line); stroke-width: 2; }
.hold__ring .hold__fill { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: calc(339.3 * (1 - var(--hp, 0))); }
.hold__label { position: relative; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1.5; }
.hold__reveal { display: grid; justify-items: center; gap: 1.25rem; }
.hold__reveal[hidden] { display: none; }
.hold__email { font-family: var(--font-serif); font-size: clamp(1.8rem, 5.4vw, 4.2rem); letter-spacing: -.02em; color: var(--ink); border-bottom: 2px solid var(--hero-3); line-height: 1.2; word-break: break-all; }
.hold__actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.hold__skip a { text-decoration: underline; text-underline-offset: 3px; }
.hold.is-done .hold__btn, .hold.is-done .hold__skip { display: none; }
.confetti { position: absolute; left: 50%; top: 105px; width: 0; height: 0; pointer-events: none; z-index: 5; }
.confetti i { position: absolute; width: 18px; height: 18px; background: var(--c); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.contact__links { list-style: none; padding: 0; margin: clamp(3.5rem, 8vw, 6rem) auto 0; width: min(100%, 760px); text-align: left; }
.contact__links li { border-top: 1px solid var(--line); }
.contact__links li:last-child { border-bottom: 1px solid var(--line); }
.contact__links a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.1rem .25rem;
  font-family: var(--font-serif); font-size: clamp(1.3rem, 2.4vw, 1.9rem); transition: padding .5s var(--ease-out), color .2s;
}
.contact__links a span { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
.contact__links a:hover { padding-left: 1rem; color: var(--hero-5); }
@media (max-width: 560px) { .contact__links a { flex-direction: column; gap: .2rem; } .hold__btn { width: 180px; height: 180px; } .confetti { top: 90px; } }

/* ================= reduced motion ================= */
@media (prefers-reduced-motion: reduce) {
  .marquee__row { animation: none; flex-wrap: wrap; width: auto; }
  .about__statement .w { opacity: 1; }
}
