/* cutaways.xyz home: cinematic hero, editorial collection, blueprint teaser, how-it-works, footer.
   Tokens come from site.css (shared with the explorer); home-only tokens live here. */
:root {
  --night: #0d0c10;
  --night-2: #17151b;
  --bone: #f1eadc;
  --bone-2: #c8bfae;
  --bone-3: #8f8778;
  --gold: #ecc47e;
  --blueprint: #15375a;
  --blueprint-2: #1b4470;
  --blueprint-ink: #dbe8f6;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --gutter: clamp(16px, 4.2vw, 64px);
}

body.home { background: var(--paper); }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 8px;
  background: #fff; color: var(--ink); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- shared type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow .rule { width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow-light { color: var(--bone-2); }
.eyebrow-blue { color: #9fc0e3; }
h1, h2, .feature-name, .next h3, .step h3 { font-family: var(--display); font-optical-sizing: auto; }
h2 {
  margin: 18px 0 0; font-weight: 360; font-size: clamp(38px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.018em;
  font-variation-settings: "opsz" 144; text-wrap: balance;
}
h2 em { font-style: italic; font-weight: 300; color: var(--accent-ink); }

/* ---------------------------------------------------------------- header */
.site-head { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--bone); }
.site-head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: max(22px, env(safe-area-inset-top)); padding-bottom: 22px; }
.site-head .wordmark { color: var(--bone); font-family: var(--display); font-size: 23px; font-weight: 420; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: clamp(16px, 2.6vw, 36px); }
.site-nav a {
  position: relative; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; text-decoration: none; color: var(--bone);
  opacity: 0.86; padding: 6px 0; transition: opacity 0.3s;
}
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out); }
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { transform: scaleX(1); }
@media (max-width: 560px) { .site-nav a:not(:first-child) { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1180px;
  background: var(--night); color: var(--bone); overflow: hidden; isolation: isolate;
}
.hero-stage { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; visibility: hidden; overflow: hidden; }
.hero-slide.is-current { visibility: visible; z-index: 1; }
.hero-slide.is-incoming { visibility: visible; z-index: 3; }
.hero-seam { position: absolute; inset: 0; z-index: 2; background: #fff; opacity: 0; pointer-events: none; }
.hero-media { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 0.9s ease; }
.hero-media video.is-playing { opacity: 1; }
.hero-slide.is-current .hero-media, .hero-slide.is-incoming .hero-media { animation: drift-a 13s cubic-bezier(0.33, 0, 0.3, 1) both; }
.hero-slide[data-drift="b"].is-current .hero-media, .hero-slide[data-drift="b"].is-incoming .hero-media { animation-name: drift-b; }
.hero.is-paused .hero-media { animation-play-state: paused !important; }
@keyframes drift-a { from { transform: scale(1.03) translate3d(1.4%, 0.8%, 0); } to { transform: scale(1.12) translate3d(-1.2%, -0.8%, 0); } }
@keyframes drift-b { from { transform: scale(1.12) translate3d(-1.2%, 0.6%, 0); } to { transform: scale(1.04) translate3d(1.3%, -0.6%, 0); } }

.hero-scrim {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 8, 11, 0.84) 0%, rgba(9, 8, 11, 0.6) 34%, rgba(9, 8, 11, 0.16) 60%, rgba(9, 8, 11, 0) 82%),
    linear-gradient(0deg, rgba(9, 8, 11, 0.78) 0%, rgba(9, 8, 11, 0.28) 30%, rgba(9, 8, 11, 0) 52%),
    linear-gradient(180deg, rgba(9, 8, 11, 0.55) 0%, rgba(9, 8, 11, 0) 20%),
    radial-gradient(42% 46% at 100% 100%, rgba(9, 8, 11, 0.6), rgba(9, 8, 11, 0) 100%);
}
.hero-inner {
  position: absolute; inset: 0; z-index: 5; display: grid; grid-template-rows: 1fr auto; gap: clamp(28px, 6vh, 64px);
  padding-top: 110px; padding-bottom: max(clamp(22px, 4.5vh, 44px), env(safe-area-inset-bottom));
}
.hero-copy { align-self: end; max-width: 820px; }
.hero h1 {
  margin: 20px 0 0; font-weight: 340; font-size: clamp(44px, 6.3vw, 98px); line-height: 0.96; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero h1 em { font-style: italic; font-weight: 300; color: var(--gold); }
.hero-lede { margin: 26px 0 0; max-width: 46ch; font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.55; color: var(--bone-2); text-wrap: pretty; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; padding: 15px 20px 15px 26px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; transition: background 0.3s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.btn svg { width: 19px; height: 19px; transition: transform 0.45s var(--ease-out); }
.btn-primary { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6); }
.btn-primary:hover { background: #f2f2f4; transform: translateY(-1px); }
.btn-primary:hover svg { transform: translateY(3px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.hero-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero-controls { display: flex; align-items: center; gap: 14px; }
.hero-dots { display: flex; gap: 6px; }
.hero-dot { position: relative; width: 52px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-dot::before, .hero-dot i { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 2px; border-radius: 2px; background: rgba(241, 234, 220, 0.28); }
.hero-dot i { background: var(--bone); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-done i { transform: scaleX(1); opacity: 0.55; }
.hero-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.hero-pause {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid rgba(241, 234, 220, 0.35); background: rgba(13, 12, 16, 0.25); color: var(--bone); backdrop-filter: blur(6px);
}
.hero-pause svg { width: 14px; height: 14px; }
.hero-pause .i-play, .hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }
.hero-pause:hover { background: rgba(13, 12, 16, 0.5); }

.hero-now {
  display: grid; justify-items: end; gap: 8px; text-decoration: none; color: var(--bone); text-align: right;
  transition: opacity 0.5s ease, transform 0.6s var(--ease-out);
}
.hero-now.is-swapping { opacity: 0; transform: translateY(8px); }
.hero-now-label { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-2); }
.hero-now-title { width: auto; height: clamp(44px, 6.4vw, 84px); max-width: min(380px, 40vw); object-fit: contain; object-position: right center; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.55)); }
.hero-now[data-slug="at-at"] .hero-now-title { filter: drop-shadow(0 0 1.2px #000) drop-shadow(0 0 1.2px #000) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6)); }
.hero-now[data-slug="colosseum"] .hero-now-title { filter: drop-shadow(0 0 10px rgba(255, 238, 205, 0.85)) drop-shadow(0 0 22px rgba(255, 238, 205, 0.6)); }
.hero-now-go { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.hero-now-go svg { width: 15px; height: 15px; transition: transform 0.45s var(--ease-out); }
.hero-now:hover .hero-now-go svg { transform: translateX(4px); }
.hero-now:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }

@media (max-width: 720px) {
  .hero { min-height: 640px; }
  .hero-inner { padding-top: 92px; gap: 26px; }
  .hero h1 { font-size: clamp(40px, 11.6vw, 56px); line-height: 0.96; }
  .hero-lede { margin-top: 18px; font-size: 16px; }
  .btn { margin-top: 24px; }
  .hero-bar { align-items: center; }
  .hero-now { gap: 2px; }
  .hero-now-label, .hero-now-go { display: none; }
  .hero-now-title { height: 38px; max-width: 46vw; }
  .hero-dot { width: 30px; }
  .hero-scrim { background: linear-gradient(0deg, rgba(9, 8, 11, 0.9) 0%, rgba(9, 8, 11, 0.62) 42%, rgba(9, 8, 11, 0.1) 70%), linear-gradient(180deg, rgba(9, 8, 11, 0.6) 0%, rgba(9, 8, 11, 0) 22%); }
}

/* ---------------------------------------------------------------- collection */
.collection { position: relative; padding-block: clamp(88px, 12vw, 168px) clamp(80px, 11vw, 150px); }
.collection > .wrap { position: relative; }
.section-head { display: grid; gap: 22px 64px; align-items: end; margin-bottom: clamp(64px, 9vw, 120px); }
@media (min-width: 960px) { .section-head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.section-lede { margin: 0; max-width: 48ch; font-family: var(--display); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); font-variation-settings: "opsz" 18; text-wrap: pretty; }

.features { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(88px, 11vw, 168px); }
.feature {
  --tone: var(--accent);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 36px); row-gap: 28px; align-items: center;
}
.feature-media { grid-column: 1 / span 7; }
.feature-text { grid-column: 9 / span 4; }
.feature:nth-child(even) .feature-media { grid-column: 6 / span 7; grid-row: 1; }
.feature:nth-child(even) .feature-text { grid-column: 1 / span 4; grid-row: 1; }
@media (max-width: 900px) {
  .feature, .feature:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .feature .feature-media, .feature:nth-child(even) .feature-media, .feature .feature-text, .feature:nth-child(even) .feature-text { grid-column: 1; grid-row: auto; }
}

.feature-media {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: var(--paper-2);
  box-shadow: 0 1px 2px rgba(16, 16, 24, 0.08), 0 34px 70px -34px rgba(16, 16, 24, 0.42);
  transform: translateZ(0);
}
.feature-video, .feature-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-video { transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.feature.is-live .feature-video { transform: scale(1); }
.feature-art { transition: transform 1.4s var(--ease-out); }
.feature:hover .feature-art { transform: scale(1.025); }
.feature-seam { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.feature-title {
  position: absolute; z-index: 2; width: clamp(130px, 30%, 300px); height: auto; pointer-events: none;
  left: 5%; bottom: 7%; filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
}
.feature[data-title-pos="tl"] .feature-title { bottom: auto; top: 7%; }
.feature[data-slug="galleon"] .feature-title { width: clamp(130px, 27%, 260px); filter: drop-shadow(0 3px 10px rgba(80, 50, 10, 0.25)); }
.feature[data-slug="at-at"] .feature-title { filter: drop-shadow(0 0 1px #000) drop-shadow(0 0 1.2px #000) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45)); }
.feature[data-slug="colosseum"] .feature-title { width: clamp(150px, 34%, 340px); filter: drop-shadow(0 0 10px rgba(255, 244, 222, 0.95)) drop-shadow(0 0 24px rgba(255, 244, 222, 0.75)); }
.feature-media::after {   /* soft scrim under bottom-left titles */
  content: ""; position: absolute; inset: 45% 40% 0 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 100% at 0% 100%, rgba(10, 8, 6, 0.42), rgba(10, 8, 6, 0) 70%);
}
.feature[data-title-pos="tl"] .feature-media::after, .feature[data-slug="colosseum"] .feature-media::after { display: none; }

.feature-chip {
  position: absolute; z-index: 3; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(15, 13, 18, 0.62); color: #fff; backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em; opacity: 0; transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.6s var(--ease-out);
}
.feature-chip i { width: 7px; height: 7px; border-radius: 50%; background: #ff6a4d; }
.feature.is-live .feature-chip { opacity: 1; transform: none; }
.feature.is-live .feature-chip i { animation: blink 1.6s ease-in-out infinite; }
.feature.is-still .feature-chip { opacity: 1; transform: none; background: rgba(255, 255, 255, 0.92); color: var(--ink); }
.feature.is-still .feature-chip i { background: var(--accent); }
@keyframes blink { 50% { opacity: 0.25; } }

.feature-num {
  margin: 0 0 10px; font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(64px, 7vw, 104px);
  line-height: 0.8; letter-spacing: -0.04em; color: var(--tone); font-variation-settings: "opsz" 144;
}
.feature-era { color: var(--ink-3); }
.feature-name { margin: 14px 0 0; font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.02; letter-spacing: -0.014em; font-variation-settings: "opsz" 96; text-wrap: balance; }
.feature-hook { margin: 16px 0 0; font-family: var(--display); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--ink-2); font-variation-settings: "opsz" 18; text-wrap: pretty; }
.feature-stats { display: grid; grid-auto-flow: column; grid-auto-columns: max-content; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); }
.feature-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 0 22px; border-left: 1px solid var(--rule); }
.feature-stats div:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 520px) {
  .feature-stats { grid-auto-columns: minmax(0, 1fr); }
  .feature-stats div { padding: 0 12px; }
  .feature-stats dd { font-size: 28px; }
  .feature-stats dt { font-size: 10.5px; letter-spacing: 0.1em; }
}
.feature-stats dd { margin: 0; font-family: var(--display); font-size: 32px; font-weight: 380; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.feature-stats dt { margin-top: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.feature-cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 4px 0; text-decoration: none;
  font-size: 15px; font-weight: 600; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease-out);
}
.feature-cta svg { width: 34px; height: 34px; padding: 9px; border-radius: 50%; border: 1px solid var(--rule); transition: transform 0.45s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s; }
.feature-cta:hover, .feature-cta:focus-visible { background-size: calc(100% - 46px) 1px; }
.feature-cta:hover svg, .feature-cta:focus-visible svg, .feature.is-live .feature-cta svg { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateX(3px); }

/* entrance */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- coming next: blueprint */
.next {
  margin-top: clamp(100px, 13vw, 180px); display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border-radius: 12px;
  background: var(--blueprint); color: var(--blueprint-ink);
  box-shadow: 0 34px 70px -40px rgba(10, 30, 60, 0.55);
}
@media (min-width: 900px) { .next { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.next-plate {
  position: relative; min-height: 300px; padding: clamp(20px, 3vw, 40px);
  background-color: var(--blueprint-2);
  background-image:
    linear-gradient(rgba(219, 232, 246, 0.11) 1px, transparent 1px), linear-gradient(90deg, rgba(219, 232, 246, 0.11) 1px, transparent 1px),
    linear-gradient(rgba(219, 232, 246, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(219, 232, 246, 0.05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: -1px -1px;
  display: grid; place-items: center;
}
.next-plate svg { width: 100%; height: auto; max-width: 760px; overflow: visible; }
.next-plate svg path { fill: none; stroke: var(--blueprint-ink); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.next-plate .bp-con path { stroke-width: 0.8; opacity: 0.4; }
.next-plate .bp-con path.c { stroke-dasharray: 0.006 0.008; }
.next-plate .bp-det path { stroke-width: 0.75; opacity: 0.72; }
.next-plate .bp-det path.h { opacity: 0.38; }
.next-plate .bp-sec path { stroke-width: 1.3; }
.next-plate .bp-sec path.h { stroke-width: 0.6; opacity: 0.5; }
.next-plate .bp-dim path { stroke: #9fc0e3; stroke-width: 0.8; }
.next-plate path.flag { fill: rgba(236, 196, 126, 0); stroke: var(--gold); transition: fill 1s 3s; }
.next-plate text { fill: #9fc0e3; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.16em; opacity: 0; transition: opacity 1s 2.6s; }
.next-plate text.s { font-size: 9px; opacity: 0; }
.next-plate.is-drawn path { animation: draw 2.6s var(--ease-in-out) forwards; }
.next-plate.is-drawn .bp-con path { animation-duration: 1.4s; }
.next-plate.is-drawn .bp-con path.c { animation: none; stroke-dashoffset: 0; }
.next-plate.is-drawn .bp-main path { animation-delay: 0.3s; }
.next-plate.is-drawn .bp-sec path { animation-delay: 1s; animation-duration: 1.6s; }
.next-plate.is-drawn .bp-det path { animation-delay: 1.4s; animation-duration: 2s; }
.next-plate.is-drawn .bp-dim path { animation-delay: 2.2s; animation-duration: 1.2s; }
.next-plate.is-drawn text { opacity: 1; }
.next-plate.is-drawn path.flag { fill: rgba(236, 196, 126, 0.55); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.next-stamp {
  position: absolute; right: 18px; top: 16px; padding: 6px 10px; border: 1px solid rgba(219, 232, 246, 0.4);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #9fc0e3;
}
.next-text { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.next h3 { margin: 18px 0 0; font-weight: 380; font-size: clamp(36px, 3.8vw, 54px); line-height: 1.02; letter-spacing: -0.016em; color: #fff; font-variation-settings: "opsz" 120; }
.next-era { margin: 10px 0 0; font-family: var(--display); font-style: italic; font-size: 20px; color: #9fc0e3; }
.next-dek { margin: 20px 0 0; max-width: 40ch; font-family: var(--display); font-size: 18px; line-height: 1.55; color: var(--blueprint-ink); font-variation-settings: "opsz" 18; opacity: 0.92; }
.next-lock {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin: 28px 0 0; padding: 9px 14px; border-radius: 999px;
  border: 1px dashed rgba(219, 232, 246, 0.45); font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
}
.next-lock svg { width: 17px; height: 17px; }

/* ---------------------------------------------------------------- how it works */
.how { background: var(--paper); padding-block: 0 clamp(64px, 8vw, 112px); }
.how-panel { background: var(--night); color: var(--bone); border-radius: 12px; padding: clamp(48px, 6.5vw, 96px) clamp(22px, 5vw, 80px); }
.section-head-dark { margin-bottom: clamp(48px, 6vw, 80px); grid-template-columns: minmax(0, 1fr) !important; }
.section-head-dark h2 em { color: var(--gold); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 44px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.step { position: relative; padding-top: 30px; border-top: 1px solid rgba(241, 234, 220, 0.16); }
.step-n { position: absolute; top: 30px; right: 0; font-family: var(--display); font-style: italic; font-size: 17px; color: var(--bone-3); }
.step h3 { margin: 26px 0 0; font-weight: 400; font-size: 27px; line-height: 1.1; letter-spacing: -0.015em; font-variation-settings: "opsz" 48; }
.step p { margin: 12px 0 0; max-width: 34ch; font-size: 15.5px; line-height: 1.6; color: var(--bone-2); }
@media (max-width: 600px) {
  .how-panel { padding: 40px 20px 12px; }
  .steps { gap: 0; }
  .step { padding: 26px 0 30px 98px; min-height: 132px; }
  .step .icon { position: absolute; left: 0; top: 28px; }
  .step h3 { margin-top: 0; padding-right: 40px; font-size: 25px; }
  .step-n { top: 28px; }
  .next-stamp { font-size: 9.5px; padding: 5px 8px; right: 12px; top: 12px; }
}

.icon { width: 76px; height: 76px; overflow: visible; fill: none; stroke: var(--bone); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon .dim { stroke: var(--bone-3); }
.icon * { transform-box: fill-box; }
.icon-zoom .lens { transform-origin: 38px 34px; }
.icon-zoom .lens-in { stroke: var(--gold); stroke-width: 1.3; }
.icon-zoom .lens circle { fill: var(--night); }
.icon-alive .smoke { stroke: var(--bone-3); }
.icon-alive .lamp { fill: var(--gold); stroke: none; }
.icon-pin .card { stroke: var(--bone-3); }
.icon-pin .pin { fill: #fff; stroke: var(--ink); stroke-width: 2.2; }
.icon-pin .pulse { stroke: #fff; stroke-width: 1.4; transform-origin: center; opacity: 0; }
.icon-pin text { fill: var(--ink); stroke: none; font-family: var(--sans); font-size: 10px; font-weight: 700; }
.icon-sound .w { stroke: var(--gold); }

.how.is-in .icon-zoom .lens { animation: lens 4.8s var(--ease-in-out) infinite; }
.how.is-in .icon-zoom .lens-in { animation: lens-in 4.8s var(--ease-in-out) infinite; transform-origin: center; }
.how.is-in .icon-alive .walker { animation: walk 4s ease-in-out infinite; }
.how.is-in .icon-alive .worker { animation: hammer 0.9s ease-in-out infinite; transform-origin: 50% 100%; }
.how.is-in .icon-alive .lamp { animation: flicker 2.2s steps(1) infinite; }
.how.is-in .icon-alive .smoke { animation: smoke 3s ease-out infinite; }
.how.is-in .icon-pin .pulse { animation: pulse 2.8s var(--ease-out) infinite; }
.how.is-in .icon-pin .pin { animation: pinact 2.8s steps(1) infinite; }
.how.is-in .icon-pin .card { animation: cardin 2.8s var(--ease-out) infinite; }
.how.is-in .icon-sound .w { animation: wave 2.4s ease-in-out infinite; }
.how.is-in .icon-sound .w2 { animation-delay: 0.25s; }
.how.is-in .icon-sound .w3 { animation-delay: 0.5s; }
@keyframes lens { 0%, 100% { transform: translate(0, 0) scale(1); } 45%, 60% { transform: translate(-12px, -8px) scale(1.12); } }
@keyframes lens-in { 0%, 100% { transform: scale(1); } 45%, 60% { transform: scale(1.5); } }
@keyframes walk { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(9px); } }
@keyframes hammer { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-12deg); } }
@keyframes flicker { 0%, 100% { opacity: 1; } 30% { opacity: 0.55; } 34% { opacity: 1; } 70% { opacity: 0.7; } }
@keyframes smoke { 0% { transform: translateY(4px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-6px); opacity: 0; } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(2.3); opacity: 0; } }
@keyframes pinact { 0%, 30% { fill: #fff; } 31%, 100% { fill: #e06a52; } }
@keyframes cardin { 0%, 30% { opacity: 0; transform: translateX(-6px); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes wave { 0%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--paper); color: var(--ink-2); padding-block: 0 max(36px, env(safe-area-inset-bottom)); }
.foot-top { display: grid; gap: 40px 48px; padding-top: clamp(56px, 7vw, 88px); padding-bottom: 48px; border-top: 1px solid var(--rule); }
@media (min-width: 820px) { .foot-top { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); } }
.wordmark-lg { color: var(--ink); font-family: var(--display); font-size: 34px; font-weight: 380; gap: 14px; }
.wordmark-lg svg { width: 34px; height: 34px; }
.foot-brand p { margin: 16px 0 0; max-width: 32ch; font-family: var(--display); font-size: 18px; line-height: 1.5; font-variation-settings: "opsz" 18; }
.foot-nav { display: grid; gap: 10px; align-content: start; }
.foot-h { margin: 0 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.foot-nav a { width: fit-content; color: var(--ink); text-decoration: none; font-size: 15px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--ease-out); }
.foot-nav a:hover, .foot-nav a:focus-visible { background-size: 100% 1px; }
.foot-bottom { display: grid; gap: 10px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.foot-bottom p { margin: 0; max-width: 90ch; }
.how :focus-visible { outline-color: var(--gold); }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-media { animation: none !important; transform: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .next-plate svg path { stroke-dashoffset: 0; animation: none !important; }
  .next-plate text { opacity: 1; }
}

.nowrap { white-space: nowrap; }

/* brand lockups (Ocean & Gold): image logos in place of the old text mark, same positions */
.wordmark .logo { display: block; width: auto; }
.wordmark .logo-head { height: 30px; }
.wordmark-lg .logo-foot { height: 40px; }
