/* ==========================================================================
   VibeCreations landing — the OVVO landing language, in the 2026 palette.
   Paper, forest ink, one deep jade, a mist band, tight Jakarta headings with a
   single Instrument Serif italic word, and a real product shot in a soft white frame.
   Two widths only: 720 (layout) and 1040 (navigation).

   BRAND, in one line each (full rules: AGENTS.md Rule 17 and brand/MARK-RULES.md):
   · Palette — paper #f7f4ee, ink #16211c, stone #eae6dc, mist #d5e3da, jade #146b52,
     soft jade #9cc4b5 (large type on ink only, 1.74 on paper so never there).
     Tokens keep their old names: --bone is now paper, --stone stone, --wash mist,
     --signal jade, --signal-deep deep jade.
   · The mark is SOFT (blur 1.45% of its own width) at 40px and wider, SHARP below 40px.
     The nav mark is 26px, therefore sharp, with no blur.
   · The wordmark is NEVER blurred, at any size.
   · The logo with text is the official one. The mark alone is the everyday one:
     favicon, app icon, avatar, tab, anything where the name is written next to it.
     Here the favicon is the mark alone; the header carries the mark with VIBE.
   ========================================================================== */

:root {
  --ink: #16211c;
  --ink-2: #223028;
  --bone: #f7f4ee;
  --stone: #eae6dc;
  --wash: #d5e3da;
  --peach: #f2ece0;
  --mint: #e6efe8;
  --signal: #146b52;
  --signal-deep: #0f5540;
  --signal-hover: #0c4635;
  --jade-mid: #3f8b72;
  --jade-pale: #9cc4b5;
  --teal: #3f8b72;
  --sage: #9cc4b5;
  --hair: rgba(22, 33, 28, 0.12);
  --hair-soft: rgba(22, 33, 28, 0.06);
  --muted: rgba(22, 33, 28, 0.72);
  --quiet: rgba(22, 33, 28, 0.68);
  --on-ink: rgba(247, 244, 238, 0.72);
  --on-ink-quiet: rgba(247, 244, 238, 0.55);
  --hair-ink: rgba(247, 244, 238, 0.16);

  --shell: 1280px;
  --pad: clamp(22px, 4.6vw, 64px);

  --font-display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --shadow-xl: 0 50px 110px -60px rgba(22, 33, 28, 0.6), 0 12px 30px -22px rgba(22, 33, 28, 0.25);
  --shadow-card: 0 26px 60px -46px rgba(22, 33, 28, 0.55);
  --ease: cubic-bezier(0.22, 0.75, 0.2, 1);
  --radius: 24px;
  --radius-sm: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.022;
  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='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img,
svg {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
ul,
li {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--signal);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 999px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 200;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: top 0.2s var(--ease);
}
.skip:focus-visible {
  top: 10px;
}

.shell {
  width: min(var(--shell), 100% - var(--pad) * 2);
  margin-inline: auto;
}

/* Jumping to a section must not park its heading under the fixed bar. */
section[id] {
  scroll-margin-top: 96px;
}

/* Tight tracking also tightens the space between words, which at display sizes
   runs "in one" together into "inone". The word space is given back. */
h1,
h2,
.section-title,
.method-title {
  word-spacing: 0.18em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quiet);
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* ------------------------------------------------------------------ nav */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  /* Solid, never see-through: the hero is the jade wash, so the bar matches it at
     the top and turns bone once the page scrolls. Content never shows through. */
  background: var(--wash);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav.is-scrolled {
  background: var(--bone);
  border-bottom-color: var(--hair);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 78px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}

/* The mark: the drawn globe, ink on paper. 26px, so sharp — never blur it here. */
.wordmark-mark {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--ink);
  filter: none;
}

/* VIBE sits on one line in the header: CREATIONS would drop under 8px, where it stops
   being readable, so it is left to the full lockup in brand/ (Rule 17.10). */
.lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}
.lockup-vibe {
  font-family: "Pixelify Sans", var(--font-mono);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.055em;
  line-height: 0.92;
}
.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a {
  position: relative;
  padding-block: 12px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--quiet);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding-top: 150px;
  padding-bottom: clamp(52px, 6vw, 84px);
  /* Chosen by the founder on 19 November 2026: the hero sits on the jade wash,
     not on bone. Everything else stays bone paper. */
  background: var(--wash);
  overflow: hidden;
  isolation: isolate;
}

.hero-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* The hero's WebGL object: a jade wireframe globe sitting behind the product
   card. It is decoration, so it never catches a tap and never sits over text. */
.hero-scene {
  position: absolute;
  top: 46%;
  right: -4%;
  transform: translateY(-50%);
  width: min(80vw, 1100px);
  aspect-ratio: 1;
  opacity: 0.85;
  pointer-events: none;
  z-index: 2;
  /* Fades out at the edges so the globe never reaches the bar or the copy. */
  -webkit-mask-image: radial-gradient(circle at 72% 48%, #000 30%, transparent 64%);
  mask-image: radial-gradient(circle at 72% 48%, #000 30%, transparent 64%);
}

.hero-disc {
  position: absolute;
  z-index: 1;
  top: -18vw;
  right: -10vw;
  width: min(58vw, 820px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 34% 28%,
    #f2f9f5 0%,
    #ddefe7 42%,
    #d8ece3 62%,
    var(--wash) 82%
  );
  opacity: 0.95;
}

.hero-ring {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-ring--a {
  top: -22vw;
  right: -14vw;
  width: min(70vw, 1000px);
  aspect-ratio: 1;
}
.hero-ring--b {
  top: -26vw;
  right: -18vw;
  width: min(82vw, 1180px);
  aspect-ratio: 1;
  border-color: rgba(22, 33, 28, 0.07);
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--quiet);
}

.hero-title {
  margin-top: 26px;
  font-size: clamp(2.9rem, 6.5vw, 6.4rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.065em;
}
.hero-line {
  display: block;
}
.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--signal);
}

.lede {
  margin-top: 26px;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.68;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--fill {
  background: var(--signal-deep);
  border-color: var(--signal-deep);
  color: #fff;
}
.btn--fill:hover {
  background: var(--signal-hover);
  border-color: var(--signal-hover);
}
.btn--ghost {
  background: #fff;
  border-color: var(--hair);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.btn--on-ink {
  background: transparent;
  border-color: var(--hair-ink);
  color: var(--bone);
}
.btn--on-ink:hover {
  border-color: var(--bone);
}

.trust {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quiet);
  text-wrap: balance;
}
.trust--on-ink {
  color: var(--on-ink-quiet);
}

/* the product shot */

.hero-art {
  position: relative;
}

.shot {
  position: relative;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--hair-soft);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--hair-soft);
  background: color-mix(in srgb, var(--bone) 60%, #fff);
}
.shot-dots {
  display: inline-flex;
  gap: 5px;
}
.shot-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(22, 33, 28, 0.16);
}
.shot-bar .mono {
  letter-spacing: 0.06em;
  text-transform: none;
}
.shot-bar .state {
  margin-left: auto;
}

.shot-body {
  padding: 20px;
}

.route {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 26px;
  grid-template-areas:
    "from rail"
    "to rail";
  row-gap: 14px;
  align-items: center;
}
.route-field {
  grid-area: from;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--hair-soft);
  border-radius: 12px;
  background: var(--bone);
}
.route-field + .route-rail + .route-field {
  grid-area: to;
}
.route-field strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.route-rail {
  grid-area: rail;
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}
.route-rail .line {
  position: absolute;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: rgba(22, 33, 28, 0.14);
}
.route-rail .node {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #fff;
  z-index: 1;
}
.route-rail .node--end {
  border-radius: 2px;
  background: var(--ink);
}

.trips {
  margin-top: 16px;
  border-top: 1px solid var(--hair-soft);
}
.trips li {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--hair-soft);
}
.trip-time {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.trip-mid {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.trip-mid strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.trip-mid span {
  font-size: 13px;
  color: var(--quiet);
}
.trip-dur {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--signal-deep);
}

.shot-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
}

.shot-caption {
  margin-top: 16px;
  text-align: right;
}

/* hero stats */

.hero-stats {
  position: relative;
  z-index: 1;
  margin-top: clamp(36px, 4.5vw, 56px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stats li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  background: #fff;
  border: 1px solid var(--hair-soft);
  border-radius: 999px;
  box-shadow: 0 18px 40px -34px rgba(22, 33, 28, 0.45);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quiet);
}
.stat-value {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* -------------------------------------------------------------- marquee */

.marquee {
  overflow: hidden;
  background: var(--wash);
  border-block: 1px solid rgba(22, 33, 28, 0.07);
  padding-block: 14px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(22, 33, 28, 0.72);
  padding-right: 18px;
  white-space: nowrap;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------- sections */

.section {
  padding-block: clamp(84px, 10vw, 148px);
}
.section--bone {
  background: var(--bone);
}
.section--stone {
  background: var(--stone);
}
.section--wash {
  background: var(--wash);
}
.section--ink {
  background: var(--ink);
  color: var(--bone);
}

.section-head {
  position: relative;
  max-width: 800px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--quiet);
}
.kicker--on-ink {
  color: var(--on-ink-quiet);
}

.section-title {
  margin-top: 20px;
  font-size: clamp(2.2rem, 5.1vw, 4.4rem);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.06em;
}
.section-title em,
.finale-title em,
.method-title em {
  margin-inline: 0.04em -0.02em;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--signal);
}
.method-title em {
  color: #a9c9db;
}

.lead {
  margin-top: 22px;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.68;
  color: var(--muted);
}
.lead--on-ink {
  color: var(--on-ink);
}

.ghost-num {
  position: absolute;
  right: 0;
  top: -0.14em;
  font-size: clamp(76px, 11vw, 168px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
  color: rgba(22, 33, 28, 0.055);
  pointer-events: none;
}
.ghost-num--on-ink {
  color: rgba(247, 244, 238, 0.06);
}

/* --------------------------------------------------------------- bento */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: clamp(40px, 5vw, 64px);
}

.card {
  grid-column: span 4;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--hair-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 34px 70px -44px rgba(22, 33, 28, 0.5);
}
.card--wide {
  grid-column: span 7;
}
.card--tall {
  grid-column: span 5;
}
.card--blue {
  background: var(--wash);
}
.card--sand {
  background: linear-gradient(170deg, #fbf3e8 0%, #f2e8d8 100%);
}
.card--mint {
  background: var(--mint);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card h3 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.card h3 em {
  margin-inline: 0.03em -0.01em;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.14em;
  letter-spacing: -0.005em;
  color: var(--signal-deep);
}

.card p {
  font-size: 15px;
  line-height: 1.66;
  color: var(--muted);
}

.card-name {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.card-meta {
  margin-top: -6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quiet);
}

.state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(22, 33, 28, 0.06);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}
.state--live {
  background: var(--mint);
  color: var(--signal-hover);
}
.state--early {
  background: rgba(246, 239, 229, 0.9);
  color: #7a5c3d;
}
.state--planned {
  background: transparent;
  border: 1px dashed var(--hair);
  color: var(--quiet);
}

/* specimens inside cards */

.mini {
  margin-top: auto;
  padding: 16px 18px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 33, 28, 0.07);
  border-radius: var(--radius-sm);
}
.mini-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
}
.mini-row strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  /* At the narrow desktop widths a station name has no room for one line, so it
     wraps. Truncating it to "Amsterdam Ce..." read as a broken card. */
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
}
.mini-time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--signal-deep);
}
.mini-rail {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(22, 33, 28, 0.07);
}
.mini-rail i {
  height: 3px;
  border-radius: 2px;
  background: rgba(22, 33, 28, 0.14);
}
.mini-rail i:nth-child(1) {
  width: 34%;
  background: var(--signal);
}
.mini-rail i:nth-child(2) {
  width: 22%;
  background: var(--teal);
}
.mini-rail i:nth-child(3) {
  flex: 1;
}

.specimen {
  margin-top: auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.specimen--sand {
  position: relative;
  height: 130px;
  background: linear-gradient(180deg, #fdf6ec 0%, #f0e3cf 100%);
  border: 1px solid rgba(22, 33, 28, 0.07);
}
.specimen--sand .grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(22, 33, 28, 0.16) 1px, transparent 1.4px);
  background-size: 7px 7px;
  opacity: 0.9;
}
.specimen--sand .sand-pile {
  position: absolute;
  left: 50%;
  bottom: -26px;
  width: 170%;
  height: 90px;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, #e6d3b4, #d8bd97);
}

.specimen--swatches {
  display: flex;
  gap: 8px;
  padding: 0;
}
.specimen--swatches i {
  flex: 1;
  height: 62px;
  border-radius: 10px;
  background: var(--c);
  border: 1px solid rgba(22, 33, 28, 0.07);
}

.specimen--money {
  position: relative;
  height: 84px;
}
.specimen--money .note {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 46px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  background: #fff;
  border: 1px solid rgba(22, 33, 28, 0.1);
  box-shadow: 0 10px 22px -16px rgba(22, 33, 28, 0.6);
}
.specimen--money .n1 {
  left: 0;
  bottom: 4px;
  transform: rotate(-6deg);
}
.specimen--money .n2 {
  left: 72px;
  bottom: 18px;
  transform: rotate(2deg);
  background: #eef6ee;
}
.specimen--money .n3 {
  left: 150px;
  bottom: 0;
  transform: rotate(7deg);
  background: #f6f0e4;
}

.specimen--chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
}
.bubble--in {
  background: var(--stone);
  color: var(--muted);
  border-bottom-left-radius: 5px;
}
.bubble--out {
  align-self: flex-end;
  background: var(--signal-deep);
  color: #fff;
  border-bottom-right-radius: 5px;
}

/* --------------------------------------------------------------- method */

.method {
  position: relative;
}
.method .ghost-num {
  top: -0.6em;
}
.method-title {
  margin-top: 20px;
  max-width: 20ch;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: clamp(36px, 4.5vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--hair-ink);
}
.method-grid .mono {
  color: var(--on-ink-quiet);
}
.method-grid p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.66;
  color: var(--on-ink);
}

/* --------------------------------------------------------------- rules */

.rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(40px, 5vw, 64px);
}

.rule {
  padding: 30px 28px 32px;
  background: #fff;
  border: 1px solid var(--hair-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.rule-num {
  display: block;
  color: var(--signal-deep);
}
.rule h3 {
  margin-top: 18px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.rule p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.66;
  color: var(--muted);
}

/* ------------------------------------------------------------- account */

.account-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* the heading column is too narrow here for a numeral to sit clear of it */
.account-grid .ghost-num {
  display: none;
}

.account-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--hair-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}
.account-address {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: clamp(16px, 2.1vw, 21px);
  letter-spacing: -0.01em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.account-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 10px;
  margin-top: 22px;
}
.account-form .mono {
  grid-column: 1 / -1;
}
.account-input {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--bone);
  font-size: 14.5px;
  color: var(--quiet);
}
.account-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--signal-deep);
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
}
.account-note {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.66;
  color: var(--muted);
}

/* ------------------------------------------------------------- finale */

.section--ink.finale-wrap {
  padding-block: clamp(88px, 11vw, 150px);
}
.finale {
  max-width: 860px;
}
.finale-title {
  margin-top: 20px;
  font-size: clamp(2.3rem, 5.4vw, 4.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.finale .actions {
  margin-top: 32px;
}

/* ------------------------------------------------------------- footer */

.footer {
  background: var(--bone);
  border-top: 1px solid var(--hair);
  padding-block: 26px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------------------------------------- reveal */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee-track {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover,
  .card:hover {
    transform: none;
  }
}

/* ------------------------------------------------------------ 1040 nav */

@media (max-width: 1039.98px) {
  .nav-live {
    display: none;
  }
  .nav-links {
    gap: 20px;
  }
  .bento {
    gap: 14px;
  }
  .card {
    grid-column: span 6;
  }
  .card--wide,
  .card--tall {
    grid-column: span 6;
  }
}

/* --------------------------------------------------------- 720 layout */

@media (max-width: 719.98px) {
  .nav-inner {
    height: 68px;
    gap: 14px;
  }
  .wordmark {
    gap: 9px;
  }
  .lockup-vibe {
    font-size: 20px;
  }
  .wordmark-mark {
    width: 24px;
    height: 24px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    min-height: 44px;
    padding: 0 18px;
    font-size: 13px;
  }

  .hero {
    padding-top: 106px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-scene {
    width: 128%;
    right: -26%;
    top: 30%;
    transform: none;
    opacity: 0.7;
    -webkit-mask-image: radial-gradient(circle at 58% 52%, #000 30%, transparent 66%);
    mask-image: radial-gradient(circle at 58% 52%, #000 30%, transparent 66%);
  }
  .hero-disc {
    width: 92vw;
    top: -26vw;
    right: -34vw;
  }
  .hero-title {
    font-size: clamp(2.3rem, 10.2vw, 3.3rem);
  }
  .lede,
  .lead {
    font-size: 16px;
  }
  .actions .btn {
    flex: 1 1 100%;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats li {
    padding: 14px 18px;
  }

  .bento {
    grid-template-columns: 1fr;
  }
  .card,
  .card--wide,
  .card--tall {
    grid-column: auto;
  }

  .method-grid,
  .rules {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .account-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section,
  .section--ink.finale-wrap {
    padding-block: clamp(64px, 12vw, 96px);
  }

  .ghost-num {
    display: none;
  }

  .shot-caption {
    text-align: left;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  /* The tracking pushes the middle line onto a second line, which then crowds the
     year. Tighter tracking keeps it on one line. */
  .footer-inner .mono {
    letter-spacing: 0.04em;
  }
}
