@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Barlow+Condensed:wght@500;600;700&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&display=swap');

/* ===========================================================================
   OWNLAND reference website — V2
   1  Tokens
   2  Reset + primitives
   3  Crops and masks          (real screenshots, framed — never redrawn)
   4  Scene                    (map + board + claim line)
   5  Chrome                   (header, footer, buttons)
   6  Home                     (family stage / mobile deck)
   7  Product pages
   8  Responsive
   9  Reduced motion
   ========================================================================= */

/* 1 — Tokens ------------------------------------------------------------- */
:root {
  --ink: #04171b;
  --deep: #072a2f;

  --cream: #f7f2dd;
  --cream-2: #cfe0d8;

  --gold: #e9c56a;
  --gold-hot: #ffdc8c;
  --gold-deep: #b98f34;
  --mint: #8ed6a3;

  --hair: #ffffff1f;
  --hair-2: #ffffff12;

  --display: 'Archivo', 'Arial Black', Impact, sans-serif;
  --label: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'DM Sans', system-ui, Arial, sans-serif;

  --gutter: clamp(18px, 4.2vw, 64px);
  --ease: cubic-bezier(.22, .85, .25, 1);

  /* Faint hex lattice, the board's geometry used as a background texture. */
  --hexnet: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='52' height='90' viewBox='0 0 52 90'><g fill='none' stroke='%23bfeede' stroke-opacity='.07' stroke-width='1'><path d='M26 0 52 15 52 45 26 60 0 45 0 15Z'/><path d='M0 45 26 60 26 90 0 105 -26 90 -26 60Z'/><path d='M52 45 78 60 78 90 52 105 26 90 26 60Z'/></g></svg>");
}

/* 2 — Reset + primitives ------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--body);
  color: var(--cream);
  background: var(--deep);
  background-image:
    radial-gradient(120% 70% at 50% -12%, #16545a 0%, #0b343a 42%, var(--deep) 72%, var(--ink) 100%);
  background-attachment: fixed;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--gold); color: #10343a; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-hot);
  outline-offset: 3px;
  border-radius: 3px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.012em;
  text-wrap: balance;
}
/* The ads' two-tone headline: cream statement, gold payoff. */
h1 em, h2 em, h3 em {
  font-style: normal;
  background: linear-gradient(176deg, var(--gold-hot) 6%, var(--gold) 46%, var(--gold-deep) 99%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--label);
  font-weight: 600;
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: .22em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.eyebrow b { color: #8fb8ae; font-weight: 600; }

.lede { font-size: clamp(14.5px, 1.15vw, 17px); line-height: 1.62; color: var(--cream-2); max-width: 46ch; }

.brandmark { display: grid; place-items: center; width: 26px; height: 26px; flex: none; }
.brandmark > * { grid-area: 1 / 1; transition: opacity .3s var(--ease); }
.brandmark .brand-icon { width: 26px; height: 26px; border-radius: 26%; opacity: 0; }
.brandmark.has-icon .hexmark { opacity: 0; }
.brandmark.has-icon .brand-icon { opacity: 1; }

.hexmark {
  width: 15px;
  height: 17px;
  background: linear-gradient(160deg, var(--gold-hot), var(--gold-deep));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  flex: none;
}

.app-icon { border-radius: 26%; flex: none; box-shadow: 0 4px 14px #0009; }
.app-icon.sm { width: 22px; height: 22px; border-radius: 30%; }

/* 3 — Crops and masks ---------------------------------------------------- */
/* A window onto a real screenshot: the container is sized by --car, and the
   image is slid up by --cy (a percentage of its own height). The source file
   is untouched; only the framing changes. */
.crop {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--car);
  background: #0a2b31;
}
.crop > img {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--cw, 100%);
  height: auto;
  max-width: none;
  /* --cx / --cy are percentages of the source image, and translate percentages
     resolve against the image's own box — so the window lands exactly. */
  transform: translate(calc(-1 * var(--cx, 0%)), calc(-1 * var(--cy)));
}

/* Organic edge — the map dissolves into the page instead of ending in a
   screenshot rectangle. This is the single biggest change from V1. */
.mask-map {
  -webkit-mask-image: radial-gradient(74% 96% at 50% 50%, #000 24%, #000d 56%, #0000 82%);
  mask-image: radial-gradient(74% 96% at 50% 50%, #000 24%, #000d 56%, #0000 82%);
}
/* Hexagonal window — the board keeps the game's own geometry. */
.mask-hex {
  -webkit-mask-image: linear-gradient(#000, #000);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.mask-soft { border-radius: 10px; }

/* 4 — Scene -------------------------------------------------------------- */
.scene {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  isolation: isolate;
}

.contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #9fe0cb;
  stroke-opacity: .085;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
  z-index: 0;
}

/* -- map layer -- */
.scene-map {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  transform: translate3d(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 7px), 0);
  transition: transform .5s var(--ease);
}
.scene-map .crop {
  height: 116%;
  width: auto;
  background: none;
  filter: saturate(1.08) contrast(1.03);
}
.scene-world .scene-map .crop { height: 110%; }

/* -- board layer -- */
.scene-board {
  position: absolute;
  z-index: 3;
  width: 29%;
  min-width: 112px;
  max-width: 200px;
  bottom: 4%;
  transform: translate3d(calc(var(--px, 0) * -16px), calc(var(--py, 0) * -11px), 0);
  transition: transform .5s var(--ease);
}
.scene-world .scene-board { left: 3%; }
.scene-usa .scene-board { right: 3%; }

.board-hex {
  position: relative;
  filter: drop-shadow(0 20px 34px #02171bd0);
}
.board-hex .crop {
  width: 100%;
  aspect-ratio: .866;
  background: #0e1417;
}

/* gold rim light on the hexagon — the ads' "this is the live board" cue */
.board-hex::after {
  content: '';
  position: absolute;
  inset: -1px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(200deg, #ffe59d 0%, #e9c56a55 22%, #0000 46%, #0000 62%, #e9c56a44 100%);
  mix-blend-mode: screen;
  opacity: .8;
  pointer-events: none;
}
.board-label {
  display: block;
  margin-top: 9px;
  font-family: var(--label);
  font-size: clamp(9.5px, .82vw, 12px);
  letter-spacing: .2em;
  color: #a8ccc3;
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 1px 7px #041a1fdd, 0 0 14px #041a1f99;
}
.board-label b { color: var(--gold); }

/* -- the claim line -- */
.claim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
}
.claim path {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}
.claim-bed { stroke: #e9c56a38; stroke-width: 1.5; }
.claim-glow { stroke: #ffd97f; stroke-width: 7; opacity: .16; filter: blur(5px); }
.claim-run {
  stroke: url(#none) var(--gold-hot);
  stroke: var(--gold-hot);
  stroke-width: 2.2;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  filter: drop-shadow(0 0 5px #ffd77c) drop-shadow(0 0 14px #e9a93f80);
}
.scene.is-live .claim-run { animation: claim-draw 2.3s var(--ease) .25s forwards; }
@keyframes claim-draw { to { stroke-dashoffset: 0; } }

/* the landing node — mint where the source capture shows a secured place,
   gold where it shows an active campaign */
.claim-dot {
  position: absolute;
  left: var(--nx);
  top: var(--ny);
  width: 0;
  height: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
}
.scene.is-live .claim-dot { animation: node-in .5s var(--ease) 2.3s forwards; }
@keyframes node-in { to { opacity: 1; } }
.claim-dot i {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--tone);
  translate: -50% -50%;
}
.claim-dot i:first-child { width: 13px; height: 13px; background: color-mix(in srgb, var(--tone) 32%, transparent); }
.claim-dot i:nth-child(2) { width: 13px; height: 13px; }
.scene.is-live .claim-dot i:nth-child(2) { animation: node-pulse 2.6s ease-out 2.6s infinite; }
.claim-dot em {
  position: absolute;
  top: -8px;
  font-style: normal;
  font-family: var(--label);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--tone);
  white-space: nowrap;
  text-shadow: 0 1px 6px #041a1fcc;
}
.lab-right em { left: 15px; }
.lab-left em { right: 15px; }
@keyframes node-pulse {
  0% { width: 13px; height: 13px; opacity: .85; }
  70%, 100% { width: 54px; height: 54px; opacity: 0; }
}
.tone-mint { --tone: var(--mint); }
.tone-gold { --tone: var(--gold-hot); }

/* -- resource chips riding the line -- */
.chips { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.chips i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(13px, 1.5vw, 21px);
  aspect-ratio: .866;
  translate: -50% -50%;
  background: linear-gradient(165deg, var(--gold-hot), var(--gold) 45%, var(--gold-deep));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  box-shadow: 0 0 12px #e9a93f70;
  opacity: 0;
}
.scene.is-live .chips i {
  animation: chip-in .5s var(--ease) forwards;
  animation-delay: calc(.5s + var(--i) * .32s);
}
@keyframes chip-in {
  from { opacity: 0; transform: scale(.4); }
  to { opacity: 1; transform: scale(1); }
}



/* 5 — Chrome ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--hair);
  background: #06272cdb;
  backdrop-filter: blur(16px);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .04em;
}
.site-header nav { display: flex; gap: 26px; }
.site-header nav a {
  font-family: var(--label);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .2em;
  color: #9fbdb5;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.site-header nav a:hover { color: var(--cream); }
.site-header nav a[aria-current='page'] { color: var(--gold); border-bottom-color: var(--gold); }

.site-footer {
  border-top: 1px solid var(--hair);
  padding: clamp(28px, 3vw, 42px) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 22px 40px;
  justify-content: space-between;
  align-items: flex-start;
  background: #051f24;
}
.foot-side { display: grid; gap: 10px; }
.site-footer .foot-side:last-child { justify-items: end; text-align: right; }
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: .04em;
  color: var(--cream);
}
.foot-tagline {
  font-family: var(--label);
  font-size: 13px;
  letter-spacing: .18em;
  color: #86a7a0;
}
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot-nav a {
  font-family: var(--label);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .14em;
  color: #b7d3ca;
  transition: color .2s;
}
.foot-nav a:hover { color: var(--gold); }
.foot-copy {
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: .14em;
  color: #6f918b;
}

/* -- store row -- */
.store-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 7px 17px 7px 15px;
  border-radius: 5px;
  color: #10343a;
  background: linear-gradient(168deg, var(--gold-hot), var(--gold) 58%, #d9b355);
  box-shadow: 0 8px 22px #00000052, inset 0 1px 0 #fff7;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s;
}
.store-btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 12px 26px #0006, inset 0 1px 0 #fff9; }
.store-btn:active { transform: translateY(0); }
.play-glyph { width: 19px; height: 22px; fill: #10343a; flex: none; }
.store-label { display: grid; line-height: 1.04; }
.store-btn small {
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .15em;
  opacity: .78;
}
.store-btn strong { display: block; font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; margin-top: 1px; }
.store-row.lg .store-btn { min-height: 54px; padding: 8px 22px 8px 18px; }
.store-row.lg .store-btn strong { font-size: 19px; }
.store-row.lg .play-glyph { width: 22px; height: 25px; }

.apple-glyph { width: 19px; height: 22px; fill: #10343a; flex: none; }
.store-row.lg .apple-glyph { width: 22px; height: 25px; }

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #e9c56a5c;
  border-radius: 5px;
  font-family: var(--label);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .17em;
  color: var(--gold);
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .18s var(--ease);
}
.ghost-btn:hover { background: #e9c56a1a; border-color: var(--gold); transform: translateY(-2px); }
.ghost-btn span { font-size: 17px; }

/* 6 — Home --------------------------------------------------------------- */
.home-intro {
  padding: clamp(18px, 2.1vw, 28px) var(--gutter) clamp(10px, 1.1vw, 15px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 40px;
  row-gap: 10px;
  justify-items: start;
}
.home-intro .eyebrow, .home-intro h1, .home-intro .loop { grid-column: 1; }
.home-intro h1 {
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: .88;
}
.intro-lede {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: end;
  max-width: 30ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream-2);
  padding-bottom: 4px;
}
/* the product loop, as a typographic chain */
.loop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 6px;
  font-family: var(--label);
  font-weight: 600;
  font-size: clamp(13px, 1.15vw, 17px);
  letter-spacing: .18em;
  color: #bcd6cd;
  margin-top: 4px;
}
.loop li { display: flex; align-items: center; gap: 8px; }
.loop li::after { content: '→'; color: var(--gold); font-size: 1em; }
.loop li:last-child::after { content: ''; }
.loop li::before {
  content: '';
  width: 8px;
  height: 9px;
  background: #e9c56a66;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.loop .loop-claim { color: var(--mint); }
.loop .loop-claim::before { background: var(--mint); box-shadow: 0 0 10px #8ed6a370; }

/* -- the family stage: one atmosphere, one seam, two equal halves -- */
.family {
  position: relative;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background:
    radial-gradient(70% 120% at 50% 50%, #12474e 0%, #0a333a 46%, #072a2f 100%),
    var(--ink);
  overflow: hidden;
}
.family > .contours { stroke-opacity: .06; z-index: 0; }
.family::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hexnet);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
/* the shared light source both halves sit in */
.seam {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  z-index: 5;
  background: linear-gradient(#0000, #e9c56a99 16%, #ffdc8c 50%, #e9c56a99 84%, #0000);
  box-shadow: 0 0 46px 14px #e9a93f30, 0 0 110px 40px #e9a93f14;
  pointer-events: none;
}
.deck {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, 1.9vw, 26px) clamp(18px, 2.4vw, 40px) clamp(16px, 1.6vw, 24px);
  transition: background .35s var(--ease);
}
.panel + .panel { border-left: 1px solid var(--hair-2); }
.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(85% 75% at 50% 42%, #ffffff0f, #0000 70%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.panel:hover::before, .panel:focus-within::before { opacity: 1; }
.panel:hover .board-hex, .panel:focus-within .board-hex { transform: translateY(-6px); }
.board-hex { transition: transform .4s var(--ease); }

.panel-head { display: grid; gap: 11px; justify-items: start; }
.lockup { display: flex; align-items: center; gap: 12px; }
.lockup small, .lockup strong {
  display: block;
  font-family: var(--display);
  line-height: .95;
  letter-spacing: .01em;
}
.lockup small { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; color: #8db4ab; }
.lockup strong { font-size: clamp(22px, 2vw, 29px); font-weight: 900; }
.panel-line { font-size: clamp(25px, 2.75vw, 40px); line-height: .9; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.facts li {
  font-family: var(--label);
  font-weight: 600;
  font-size: clamp(10.5px, .88vw, 12.5px);
  letter-spacing: .17em;
  color: #b7d3ca;
  border: 1px solid var(--hair);
  border-radius: 3px;
  padding: 5px 9px;
  background: #0b343a80;
}

.panel-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: clamp(190px, 15.5vw, 224px);
  margin: clamp(8px, 1.1vw, 16px) 0 clamp(6px, .8vw, 10px);
  overflow: hidden;
}
.panel-foot {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: clamp(12px, 1.3vw, 18px);
  border-top: 1px solid var(--hair);
}
.panel-foot .store-row { justify-content: center; }
.panel-foot .ghost-btn { min-height: 44px; }

.deck-grab { display: none; }

/* 7 — Product pages ------------------------------------------------------ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 52px);
  align-items: center;
  padding: clamp(30px, 3.6vw, 56px) var(--gutter) clamp(32px, 4vw, 62px);
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hexnet);
  opacity: .42;
  pointer-events: none;
}
.hero-world { background: radial-gradient(78% 108% at 72% 42%, #135158 0%, #0a333a 48%, #062830 100%); }
.hero-usa { background: radial-gradient(78% 108% at 28% 42%, #14504e 0%, #0a343a 48%, #062830 100%); }
.hero-usa .hero-copy { order: 2; }
.hero-usa .hero-stage { order: 1; }

.hero-copy { position: relative; z-index: 2; display: grid; gap: clamp(14px, 1.5vw, 22px); justify-items: start; }
.hero h1 { font-size: clamp(40px, 5.1vw, 78px); line-height: .87; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cross-link {
  font-family: var(--label);
  font-size: 13px;
  letter-spacing: .16em;
  color: #86a7a0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.cross-link a { color: var(--gold); border-bottom: 1px solid #e9c56a4d; padding-bottom: 2px; }
.cross-link a:hover { border-bottom-color: var(--gold); }

.hero-stage {
  position: relative;
  z-index: 1;
  min-height: clamp(290px, 32vw, 450px);
  align-self: stretch;
}
.hero .scene-board { width: 31%; max-width: 232px; }

/* -- bands -- */
.band { padding: clamp(54px, 7vw, 110px) var(--gutter); }
.band-quiet { background: #082c32; border-top: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); }
.band-head { display: grid; gap: 15px; max-width: 760px; margin-bottom: clamp(30px, 3.6vw, 52px); justify-items: start; }
.band-head h2 { font-size: clamp(36px, 5.2vw, 78px); }

/* -- zoom rail: the loop as increasing scale -- */
.rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 22px);
}
.rail-step {
  position: relative;
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid #e9c56a4a;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: calc(var(--i) * .08s);
}
.rail-step.is-live { opacity: 1; transform: none; }
.rail-step.is-loop { border-top-color: var(--mint); }

.rail-tag {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--cream);
}
.rail-tag b { color: var(--gold); font-weight: 600; }
.rail-step.is-loop .rail-tag b { color: var(--mint); }
/* Every step gets the same frame, so the rail reads as one sequence rather
   than a ragged gallery. Wide map windows and tall board windows are each
   centred inside it at their true proportions — nothing is stretched. */
.rail-shot {
  --frame-ar: 1.25;
  position: relative;
  margin: 14px 0 12px;
  aspect-ratio: var(--frame-ar);
  display: grid;
  place-items: center;
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 7px;
  background: linear-gradient(#0d3a41, #0a3037);
  box-shadow: 0 16px 34px #03171c7a;
}
.rail-shot .crop {
  width: min(100%, calc(var(--car) / var(--frame-ar) * 100%));
  height: auto;
}
.rail-step:not(:last-child) .rail-shot::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: calc(clamp(12px, 1.4vw, 22px) / -2 - 13px);
  translate: 0 -50%;
  z-index: 3;
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}
.rail-step p { font-size: 13.5px; line-height: 1.55; color: #aec7be; }
/* the action step and the return-to-the-map step carry the game's own colours */
.accent-gold .rail-shot { border-color: #e9c56a55; box-shadow: 0 16px 34px #03171c7a, 0 0 0 1px #e9c56a1f, inset 0 0 44px #e9a93f14; }
.accent-mint .rail-shot { border-color: #8ed6a344; box-shadow: 0 16px 34px #03171c7a, inset 0 0 44px #56ab7d1a; }

/* -- WORLD modes -- */
.modes { margin-top: clamp(38px, 4.4vw, 64px); display: grid; gap: 4px; }
.modes .eyebrow { margin-bottom: 12px; }
.mode-row {
  display: grid;
  grid-template-columns: minmax(96px, 150px) 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #8fbaab52;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mode-row.is-live { opacity: 1; transform: none; }
.mode-row:last-child { border-bottom: 1px solid #8fbaab52; }
.mode-name { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 2.4vw, 36px); }
.mode-path { font-family: var(--label); font-size: clamp(13px, 1.1vw, 17px); letter-spacing: .12em; color: #bcd6cd; }
.mode-path b { color: var(--gold); padding: 0 4px; }
.mode-count { font-family: var(--display); font-weight: 800; font-size: clamp(18px, 1.7vw, 26px); color: var(--gold); }

/* -- USA campaign depth -- */
.depth { margin-top: clamp(38px, 4.4vw, 64px); }
.depth .eyebrow { margin-bottom: 18px; }
.depth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.depth-grid article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: linear-gradient(#0d3b42, #0a3138);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.depth-grid article.is-live { opacity: 1; transform: none; }
.depth-n { font-family: var(--label); font-size: 13px; letter-spacing: .2em; color: var(--gold); }
.depth-grid h3 { font-size: clamp(26px, 2.5vw, 38px); }
.depth-grid p { font-size: 14px; line-height: 1.55; color: #b4cdc4; }
.depth-path {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #88b6a252;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--label);
  font-size: 13px;
  letter-spacing: .13em;
}
.depth-path em { font-style: normal; color: #cfe2d9; }
.depth-path b { color: var(--gold); font-weight: 600; }
.depth-path .is-claim { color: var(--mint); }
.depth-note { margin-top: 16px; font-size: 13px; color: #8fb0a8; }

/* -- board grid -- */
.board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(12px, 1.5vw, 22px); }
.board-grid figure {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(#0d3a41, #0a3037);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.board-grid figure.is-live { opacity: 1; transform: none; }
.board-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 13px;
  font-family: var(--label);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .15em;
}
.board-grid figcaption span { color: var(--gold); }

.closer {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  padding: clamp(60px, 7vw, 110px) var(--gutter);
  background: radial-gradient(70% 120% at 50% 40%, #15565a, #08303600 72%), #072a2f;
  border-top: 1px solid var(--hair);
}
.closer h2 { font-size: clamp(36px, 5.4vw, 82px); }
.closer .store-row { margin-top: 8px; justify-content: center; }

/* 8 — Responsive --------------------------------------------------------- */
@media (max-width: 1180px) {
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-step:not(:last-child) .rail-shot::after { display: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 26px; }
  .hero-stage, .hero-usa .hero-stage { min-height: 320px; order: 2; }
  .hero-copy, .hero-usa .hero-copy { order: 1; }

  /* ---- the physical two-card deck ----
     Two same-sized cards in the same physical position. The card behind keeps
     its own real header visible above the front card; tapping that strip
     brings it forward. */
  .family { border: 0; background: none; padding: 0 var(--gutter) 0; }
  /* the deck control sits directly above the physical deck */
  .home { display: flex; flex-direction: column; }
  .home-intro { order: 0; }
  .family { order: 2; --card-h: min(534px, 137vw); }
  .family > .contours, .family::before, .seam { display: none; }
  .deck {
    display: block;
    position: relative;
    padding-top: 58px;
    perspective: 1400px;
  }
  .deck::after {
    /* holds the stage height: the deck is two absolutely positioned cards */
    content: '';
    display: block;
    height: var(--card-h);
  }
  .panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: var(--card-h);
    padding: 0;
    border: 1px solid #74b9a745;
    border-radius: 14px;
    background: linear-gradient(#0d3c43, #082c33 62%, #06252b);
    box-shadow: 0 24px 46px #01161bb5;
    overflow: hidden;
    transform-origin: 50% 0;
    transition: transform .52s var(--ease), filter .52s var(--ease), box-shadow .52s var(--ease);
    will-change: transform;
  }
  .panel + .panel { border-left: 1px solid #74b9a745; }
  .panel.front { transform: translate3d(0, 58px, 0); z-index: 3; }
  .panel.back {
    transform: translate3d(0, 0, 0) scale(.945);
    z-index: 1;
    filter: brightness(.7) saturate(.85);
    box-shadow: 0 10px 22px #01161b8c;
  }
  .panel::before { display: none; }

  .panel-head {
    gap: 10px;
    padding: 12px 15px 14px;
    border-bottom: 1px solid var(--hair);
    background: linear-gradient(#10434a, #0c363d);
  }
  .lockup { gap: 10px; }
  .lockup .app-icon { width: 38px; height: 38px; }
  .lockup strong { font-size: 21px; }
  .panel-line { font-size: clamp(23px, 6.7vw, 30px); }
  .panel.back .panel-line, .panel.back .facts, .panel.back .panel-stage, .panel.back .panel-foot { visibility: hidden; }

  .panel-stage { min-height: 0; margin: 0; flex: 1 1 auto; overflow: hidden; }
  .panel-foot { padding: 11px 15px 13px; gap: 9px; border-top: 1px solid var(--hair); background: #0a2f36; }
  .panel-foot .store-row { gap: 9px; }
  .panel .facts li { padding: 4px 7px; font-size: 10.5px; }
  .panel .scene-board { width: 33%; max-width: 142px; bottom: 9%; }
  .panel .scene-world .scene-board { left: 3%; }
  .panel .scene-usa .scene-board { right: 3%; }
  .panel .board-label { font-size: 9px; letter-spacing: .13em; margin-top: 7px; }
  .panel .claim-dot em { font-size: 10px; letter-spacing: .15em; }
  .panel .scene-map .crop { height: 118%; }
  .panel .scene-world .scene-map .crop { height: 112%; }

  /* Two switch targets: the buried card's exposed header, and the whole body
     of the front card down to — but not including — its call-to-action row. */
  .deck-grab {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 58px;
    width: 100%;
    border: 0;
    background: none;
    cursor: pointer;
    z-index: 9;
  }
  .panel.front .deck-grab { display: none; }
  /* everything on the front card above the call-to-action row switches cards */
  .panel.front .panel-head, .panel.front .panel-stage { cursor: pointer; }

}

@media (max-width: 760px) {
  .site-header { height: 60px; }
  .wordmark { font-size: 19px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 14px; }
  .home-intro {
    grid-template-columns: 1fr;
    row-gap: 12px;
    padding: 20px var(--gutter) 12px;
  }
  .home-intro h1 { font-size: clamp(34px, 10.4vw, 46px); }
  .intro-lede { display: none; }
  .loop { font-size: 11px; letter-spacing: .16em; gap: 7px 5px; }
  .loop li { white-space: nowrap; }
  .rail { grid-template-columns: 1fr 1fr; }
  .depth-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .mode-row { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .mode-path { grid-column: 1 / -1; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 22px; }
  .site-footer .foot-side:last-child { justify-items: start; text-align: left; }
  .foot-nav { gap: 10px 20px; }
}

@media (max-width: 440px) {
  .panel-foot { gap: 8px; }
  .store-btn { padding: 7px 11px 7px 10px; gap: 8px; }
  .store-btn small { font-size: 8px; }
  .store-btn strong { font-size: 15px; }
  .play-glyph, .apple-glyph { width: 16px; height: 19px; }
  .ghost-btn { padding: 0 13px; font-size: 13.5px; }
  .store-btn { padding: 7px 13px 7px 12px; }
  .store-btn strong { font-size: 16px; }
  .board-grid { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; }
  .board-label { font-size: 9px; letter-spacing: .14em; }
}

/* 9 — Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  /* Nothing may stay invisible when its animation is switched off. */
  .claim-run { stroke-dashoffset: 0; }
  .claim-dot, .chips i { opacity: 1; }
  .rail-step, .mode-row, .board-grid figure, .depth-grid article { opacity: 1; transform: none; }
  .scene-map, .scene-board { transform: none !important; }
}

/* skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: #10343a;
  font-family: var(--label);
  font-weight: 600;
  letter-spacing: .14em;
}
.skip-link:focus { left: 8px; top: 8px; }
