/* Where is Next? promotional site
   Tokens and surface treatments mirrored from the product design system. */

:root {
  --wn-navy: #223843;
  --wn-bg: #eff1f3;
  --wn-mauve: #dbd3d8;
  --wn-tan: #d8b4a0;
  --wn-tan-ink: #e7c4ae;
  --wn-tan-soft: rgba(216, 180, 160, 0.2);
  --wn-coral: #d77a61;
  --wn-coral-dark: #be6249;
  --wn-coral-bright: #f0ab92;
  --wn-coral-soft: rgba(215, 122, 97, 0.2);
  --wn-brand-ink: #16262e;
  --wn-ink: #223843;
  --wn-ink-2: #4c5d66;
  --wn-ink-3: #7c8a90;
  --wn-line: rgba(34, 56, 67, 0.1);
  --wn-surface-2: #3a5763;
  --wn-onnavy: rgba(239, 241, 243, 0.95);
  --wn-onnavy-2: rgba(239, 241, 243, 0.72);
  --wn-onnavy-3: rgba(239, 241, 243, 0.5);
  --wn-onnavy-line: rgba(255, 255, 255, 0.14);

  /* Signature glass card, ported from the app shell */
  --wn-surface-glass: rgba(129, 188, 218, 0.09);
  --wn-surface-glass-hover: rgba(129, 188, 218, 0.16);
  --wn-glass-blur: blur(10px);
  --wn-card-line-glass: rgba(255, 255, 255, 0.34);
  --wn-card-line: rgba(255, 255, 255, 0.12);
  --wn-card-shadow: 0 10px 28px rgba(10, 18, 22, 0.35);

  --wn-font: 'Montserrat', system-ui, sans-serif;
  --nav-h: 72px;
  --content: 1180px;
  --pad-y: clamp(72px, 9vw, 124px);
}

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

html {
  /* Immediate wheel/touch scroll so the hero scrub stays locked to the finger. */
  scroll-behavior: auto;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--wn-coral); text-decoration: none; }
a:hover { color: var(--wn-coral-dark); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.i {
  width: 15px;
  height: 15px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.i--coral { stroke: var(--wn-coral); }
.i--dim { opacity: 0.55; }

/* Nav: the same navy as the page, one step larger, with a hairline to
   mark the edge of the bar. The page alternates navy and light sections,
   so the bar never changes with scroll and the white labels stay readable
   over both. */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 3.4vw, 44px);
  background: var(--wn-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--wn-onnavy);
}

.site-nav__brand:hover { color: #fff; }
.site-nav__mark { width: 40px; height: auto; flex: none; }
.site-nav__name { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.site-nav__links a {
  color: rgba(239, 241, 243, 0.82);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 980px;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.site-nav__cta {
  display: inline-flex !important;
  align-items: center;
  margin-left: 8px;
  padding: 8px 18px !important;
  background: var(--wn-coral);
  color: #fff !important;
  font-weight: 600 !important;
}

.site-nav__cta:hover { background: var(--wn-coral-dark) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .site-nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    background: var(--wn-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .site-nav.is-open .site-nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav__cta { margin: 8px 0 0 !important; justify-content: center; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 980px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.12s ease, color 0.2s ease;
}

.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--wn-coral); color: #fff; }
.btn--primary:hover { background: var(--wn-coral-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--wn-onnavy); border: 1px solid rgba(255, 255, 255, 0.28); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn--navy { background: var(--wn-navy); color: #fff; }
.btn--navy:hover { background: var(--wn-brand-ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero: a tall scroll track with a sticky stage. The mark and the slogan are
   already composed on load; scrolling closes the earth and lifts the pair
   (--p1) while the description comes in on the same curve (--p2). Both are
   written by main.js, and --p1 arrives already eased so the mark and the
   canvas share one curve. */
.hero {
  --p1: 0;
  --p2: 0;
  /* One source of truth for the mark, so the slogan can hang off the mark's
     own size instead of guessing at a viewport percentage. The mark SVG is a
     square box with the ink in the middle band, so --sl-hang is the drop from
     the shared anchor that clears the ink and still reads as one unit. */
  --mark-w: clamp(120px, 14vw, 184px);
  --mark-shrink: 0.58;
  --sl-hang: calc(var(--mark-w) * 0.308);
  /* How far the mark, and with it the slogan, climbs across the scroll.
     Kept high enough that the pair stays above the closing sphere. */
  --mark-y: 32%;
  --rise: 26vh;
  --ribbon-h: 164px;
  position: relative;
  height: 230vh;
  background: var(--wn-navy);
  color: var(--wn-onnavy);
}

.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
  touch-action: pan-y;
  cursor: grab;
}

.hero__canvas.is-dragging { cursor: grabbing; }

.hero__mark {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: var(--mark-y);
  margin: 0;
  line-height: 0;
  width: var(--mark-w);
  /* Scroll owns this transform; the arrival animation lives on the image. */
  transform:
    translate(-50%, -50%)
    translateY(calc(var(--p1) * -1 * var(--rise)))
    scale(calc(1 - var(--mark-shrink) * var(--p1)));
  pointer-events: none;
}

.hero__mark img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  animation: wn-logo-arrive 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

/* The slogan shares the mark's anchor and reads the same --p1, so it travels
   with the logo instead of drifting against it. Its offset is measured from
   the mark's own size, which keeps the pair together at every viewport: the
   hang below the shrinking mark, a small gap, then half a line of text. */
.hero__slogan {
  --sl-gap: clamp(24px, 3.2vh, 36px);
  --sl-shrink: 0.16;
  position: absolute;
  z-index: 2;
  left: 50%;
  top: var(--mark-y);
  width: min(520px, calc(100% - 48px));
  text-align: center;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #fff;
  /* Part of the opening composition, so it arrives on load rather than on
     scroll, just behind the mark. */
  opacity: 0;
  animation: wn-fade-in 0.9s ease 1.15s forwards;
  pointer-events: none;
  transform:
    translate(-50%, -50%)
    translateY(calc(var(--p1) * -1 * var(--rise)))
    translateY(calc(
      var(--sl-hang) * (1 - var(--mark-shrink) * var(--p1))
      + var(--sl-gap) + 0.72em
    ))
    scale(calc(1 - var(--sl-shrink) * var(--p1)));
}

.hero__intro {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: calc(var(--ribbon-h) + clamp(32px, 5vh, 64px));
  width: min(1240px, calc(100% - 40px));
  text-align: center;
  opacity: var(--p2);
  transform:
    translateX(-50%)
    translateY(calc((1 - var(--p2)) * 28px));
}

.hero__desc {
  font-size: clamp(1.02rem, 1.85vw, 1.32rem);
  line-height: 1.48;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--wn-onnavy);
}

/* Edge-to-edge white ribbon bar — flat, full width, no curves. */
.hero__ribbon {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: var(--ribbon-h);
  background: #fff;
  border-top: 1px solid rgba(34, 56, 67, 0.08);
  opacity: var(--p2);
  transform: translateY(calc((1 - var(--p2)) * 18px));
}

.hero__ribbon-inner {
  min-height: var(--ribbon-h);
  max-width: var(--content);
  margin: 0 auto;
  padding: 22px clamp(20px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero__ribbon-text {
  margin: 0;
  color: var(--wn-navy);
  font-size: clamp(1.18rem, 2.25vw, 1.58rem);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.022em;
  text-align: center;
}

.hero__cue {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 980px;
  background: var(--wn-coral);
  color: #fff;
  font-size: clamp(0.95rem, 1.55vw, 1.06rem);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(215, 122, 97, 0.28);
  transition: background 0.2s ease, transform 0.12s ease;
}

.hero__cue:hover { background: var(--wn-coral-dark); color: #fff; }
.hero__cue:active { transform: scale(0.98); }

.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  /* Held hidden by the delayed fade, then handed back to the scroll value. */
  opacity: calc(1 - var(--p1) * 1.7);
  animation: wn-fade-in 1s ease 2.4s backwards;
}

@media (max-width: 720px) {
  .hero { height: 210vh; }
  /* The slogan is already at its smallest here, so let it keep its size. */
  .hero__slogan { --sl-shrink: 0.06; }
  .hero__intro { width: min(960px, calc(100% - 24px)); }
  .hero { --ribbon-h: 152px; }
  .hero__desc { font-size: clamp(0.96rem, 4vw, 1.12rem); }
  .hero__ribbon-inner { padding: 18px 20px; gap: 12px; }
  .hero__ribbon-text { font-size: clamp(1.08rem, 4.4vw, 1.28rem); }
}

/* Short viewports: a smaller settled mark keeps the slogan out of the sphere. */
@media (max-height: 700px) {
  .hero { --mark-w: clamp(108px, 12vw, 148px); --mark-y: 31%; --rise: 21vh; }
  .hero { --ribbon-h: 140px; }
  .hero__desc { font-size: clamp(0.92rem, 2.4vh, 1.08rem); }
  .hero__ribbon-inner { padding: 12px 16px; gap: 8px; }
  .hero__ribbon-text { font-size: clamp(1rem, 2.5vh, 1.18rem); }
}

.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--wn-coral);
  animation: scroll-hint 1.9s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0.2; }
}

@keyframes wn-logo-arrive {
  from { opacity: 0; transform: translateY(-14px) scale(0.93); }
  to { opacity: 1; transform: none; }
}
@keyframes wn-fade-in { to { opacity: 1; } }
@keyframes wn-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Split feature sections */
.split { padding: var(--pad-y) clamp(20px, 4vw, 44px); overflow: hidden; }
.split--navy { background: var(--wn-navy); color: #fff; }
.split--light { background: var(--wn-bg); color: var(--wn-ink); }

.split__inner {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

/* Flipped sections put the mock first, so the wide column has to move too. */
.split--flip .split__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.split--flip .split__copy { order: 2; }
.split--flip .split__visual { order: 1; }

@media (max-width: 940px) {
  /* minmax(0, 1fr) so a wide mock cannot force the column past the viewport */
  .split__inner,
  .split--flip .split__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split--flip .split__copy,
  .split--flip .split__visual { order: unset; }
}

.split__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--wn-coral);
}

.split__eyebrow .i { stroke: var(--wn-coral); width: 16px; height: 16px; }

.split__title {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 18px;
}

.split--navy .split__title { color: #fff; }

.split__lead {
  font-size: 16px;
  line-height: 1.55;
  max-width: 44ch;
}

.split--navy .split__lead { color: var(--wn-onnavy-2); }
.split--light .split__lead { color: var(--wn-ink-2); }

.split__points {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.split__points li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.45;
}

.split--navy .split__points li { color: var(--wn-onnavy-2); }
.split--light .split__points li { color: var(--wn-ink-2); }

.split__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wn-coral);
}

/* Parallax offset rides on a custom property so it can compose with the
   reveal offset instead of overwriting it.

   The reveal is animated through a registered custom property rather than
   through `transform`, because a transition on `transform` would also catch
   every parallax write: each scroll frame would restart an 0.85s ease and the
   element would trail the scroll by tens of pixels instead of tracking it. */
@property --wn-rise {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}

[data-parallax] { --px: 0px; will-change: transform; }
[data-parallax]:not(.reveal) { transform: translate3d(0, var(--px), 0); }

.reveal {
  --wn-rise: 26px;
  opacity: 0;
  transform: translate3d(0, calc(var(--wn-rise) + var(--px, 0px)), 0);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), --wn-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible { opacity: 1; --wn-rise: 0px; }

/* Glass app mock: AI search bar */
.app--glass {
  background: var(--wn-surface-glass);
  backdrop-filter: var(--wn-glass-blur);
  -webkit-backdrop-filter: var(--wn-glass-blur);
  border: 1px solid var(--wn-card-line-glass);
  border-radius: 20px;
  padding: 18px 22px;
  box-shadow: var(--wn-card-shadow);
}

.app__bar { display: flex; align-items: center; gap: 14px; }

.app__bar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  color: var(--wn-onnavy);
}

.app__input {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--wn-onnavy);
  border-bottom: 1.5px solid var(--wn-coral);
  padding: 4px 2px 8px;
  white-space: nowrap;
  overflow: hidden;
}

.app__input::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 14px;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--wn-coral);
  animation: caret 1s steps(2) infinite;
}

@keyframes caret { 50% { opacity: 0; } }

.app__send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wn-coral);
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
}

.app__send .i { stroke: #fff; stroke-width: 2.2; width: 16px; height: 16px; }

.app__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }

@media (max-width: 560px) {
  .app__bar { flex-wrap: wrap; }
  .app__input { flex-basis: 100%; order: 3; }
  .app__send { margin-left: auto; }
  .switch { margin-left: 0; }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--wn-card-line);
  border-radius: 20px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 600;
  color: var(--wn-onnavy-2);
  background: rgba(58, 87, 99, 0.6);
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--wn-onnavy);
}

.switch__track {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: var(--wn-coral);
  position: relative;
}

.switch__knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(14px);
  box-shadow: 0 1px 3px rgba(10, 18, 22, 0.4);
}

/* Result cards */
.result-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 520px) {
  .result-row { grid-template-columns: 1fr; }
}

.result {
  background: var(--wn-surface-glass);
  backdrop-filter: var(--wn-glass-blur);
  -webkit-backdrop-filter: var(--wn-glass-blur);
  border: 1px solid var(--wn-card-line-glass);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--wn-card-shadow);
  will-change: transform;
  transition: border-color 0.25s ease, border-width 0.25s ease, transform 0.35s ease;
}

.result:hover {
  border-color: var(--wn-coral);
  border-width: 2px;
  transform: translateY(-3px);
}

.result__media {
  position: relative;
  height: 108px;
  background: linear-gradient(135deg, #c9d6d6, #dcd2ce);
}

.result__media--a {
  background:
    radial-gradient(circle at 30% 70%, rgba(215, 122, 97, 0.4), transparent 55%),
    linear-gradient(135deg, #4a707f, #2c4854);
}

.result__media--b {
  background:
    radial-gradient(circle at 70% 30%, rgba(216, 180, 160, 0.45), transparent 55%),
    linear-gradient(135deg, #3a5763, #223843);
}

.result__match {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(14, 22, 27, 0.72);
  color: #fff;
  backdrop-filter: blur(3px);
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 20px;
}

.result__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }

.result__name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
  color: var(--wn-onnavy);
}

.result__tags { display: flex; flex-wrap: wrap; gap: 6px; }

.result__tags span {
  background: var(--wn-tan-soft);
  color: var(--wn-tan-ink);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 14px;
}

.result__why { color: var(--wn-onnavy-3); font-size: 12.5px; line-height: 1.45; }

/* My World mock */
.world { display: flex; flex-direction: column; gap: 16px; }

.world__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

@media (max-width: 620px) {
  .world__stats { grid-template-columns: repeat(2, 1fr); }
}

.stat {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(34, 56, 67, 0.1);
  border-radius: 18px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 10px 28px rgba(34, 56, 67, 0.07);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.stat:hover { border-color: var(--wn-coral); background: rgba(255, 255, 255, 0.82); }

.stat__metric {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--wn-ink);
  line-height: 1;
}

.stat__label {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--wn-ink-2);
  padding-left: 10px;
  border-left: 2px solid var(--wn-coral);
}

.stat__track { height: 4px; border-radius: 4px; background: rgba(34, 56, 67, 0.12); overflow: hidden; }

.stat__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: var(--wn-coral);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-visible .stat__fill { width: var(--w); }

.stat__ticks { display: flex; gap: 3px; }
.stat__ticks i { flex: 1; height: 5px; border-radius: 2px; background: rgba(34, 56, 67, 0.14); }
.stat__ticks i.is-on { background: var(--wn-coral); }

.world__map {
  position: relative;
  min-height: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #33505c, #1b2d35);
  box-shadow: 0 16px 44px rgba(34, 56, 67, 0.16);
}

.world__globe { position: absolute; inset: 0; width: 100%; height: 100%; }

.world__seg {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 700;
}

.world__seg b { padding: 5px 12px; border-radius: 10px; background: var(--wn-navy); color: #fff; }
.world__seg i { padding: 5px 12px; font-style: normal; color: var(--wn-ink-2); }

.world__expand {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--wn-navy);
}

.world__pin {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--wn-coral);
  box-shadow: 0 0 0 4px rgba(215, 122, 97, 0.25);
  opacity: 0;
  pointer-events: none;
  will-change: left, top, opacity;
  animation: pin-pop 2.6s ease-in-out infinite;
}

.world__pin:nth-child(5) { animation-delay: 0.5s; }
.world__pin:nth-child(6) { animation-delay: 1s; }

@keyframes pin-pop {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(215, 122, 97, 0.22); }
  50% { transform: scale(1.18); box-shadow: 0 0 0 9px rgba(215, 122, 97, 0.05); }
}

.world__timeline {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(34, 56, 67, 0.1);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(34, 56, 67, 0.07);
}

.tl { position: relative; display: flex; justify-content: space-between; gap: 10px; }

.tl::before {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  top: 5px;
  height: 1px;
  background: rgba(34, 56, 67, 0.16);
}

.tl__stop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1; }

.tl__stop i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--wn-coral);
  border: 2px solid var(--wn-bg);
  box-shadow: 0 0 0 1px var(--wn-coral);
}

.tl__stop--planned i { background: transparent; }
.tl__stop b { font-size: 11px; font-weight: 700; color: var(--wn-ink-2); }
.tl__stop--planned b { color: var(--wn-ink-3); }

.tl__stop em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--wn-ink-2);
  background: rgba(34, 56, 67, 0.07);
  border-radius: 20px;
  padding: 4px 10px;
}

/* Capture mock */
.capture {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 241, 243, 0.96) 52%, rgba(232, 220, 214, 0.9) 100%);
  border: 1px solid rgba(34, 56, 67, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.95fr);
}

@media (max-width: 720px) {
  .capture { grid-template-columns: 1fr; }
}

.capture__map {
  position: relative;
  min-height: 320px;
  background:
    radial-gradient(circle at 50% 42%, rgba(215, 122, 97, 0.22), transparent 45%),
    linear-gradient(160deg, #2a4551 0%, #223843 48%, #1a3038 100%);
}

/* Faint street grid so the capture panel reads as a map, not a gradient */
.capture__map::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(239, 241, 243, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 241, 243, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 44%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 44%, #000 20%, transparent 78%);
}

.capture__pin,
.capture__ring {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
}

.capture__pin { background: var(--wn-coral); z-index: 2; }
.capture__ring { border: 2px solid rgba(215, 122, 97, 0.55); animation: pin-pulse 2.2s ease-out infinite; }

@keyframes pin-pulse {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(3.4); opacity: 0; }
}

.capture__hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(34, 56, 67, 0.78);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.capture__form { padding: 20px; display: flex; flex-direction: column; gap: 12px; }

.field { display: flex; flex-direction: column; gap: 5px; }

.field__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--wn-ink-3);
}

.field__value {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--wn-ink);
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(34, 56, 67, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
}

.field__value--muted { color: var(--wn-ink-3); font-weight: 500; }
.field--notes .field__value { line-height: 1.4; }

.capture__actions { display: flex; gap: 10px; margin-top: 4px; }

.capture__btn {
  flex: 1;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 12px;
  padding: 11px 10px;
}

.capture__btn--ghost { background: rgba(34, 56, 67, 0.07); color: var(--wn-ink-2); }
.capture__btn--primary { background: var(--wn-coral); color: #fff; box-shadow: 0 8px 22px rgba(215, 122, 97, 0.5); }

/* Feed mock */
.feed { display: flex; flex-direction: column; gap: 14px; }

.post {
  background: #fff;
  border: 1px solid rgba(34, 56, 67, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(34, 56, 67, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover { transform: translateY(-3px); box-shadow: 0 22px 52px rgba(34, 56, 67, 0.16); }

.post__media {
  position: relative;
  height: 150px;
  background:
    radial-gradient(circle at 25% 30%, rgba(216, 180, 160, 0.55), transparent 55%),
    linear-gradient(135deg, #4a707f, #2c4854);
}

.post__save {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
  color: var(--wn-coral);
}

.post__save .i { fill: var(--wn-coral); stroke: var(--wn-coral); }

.post__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; }

.post__place {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 700;
  color: var(--wn-ink);
  letter-spacing: -0.02em;
}

.post__by { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--wn-ink-3); }
.post__by b { color: var(--wn-ink-2); }

.post__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wn-navy);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}

.post__avatar--tan { background: var(--wn-tan); color: #5c3a29; }
.post__memo { font-size: 14px; line-height: 1.5; color: var(--wn-ink-2); }

.post__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--wn-line);
}

.act { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--wn-ink-3); }
.act--on { color: var(--wn-coral); }
.act--on .i { fill: var(--wn-coral); stroke: var(--wn-coral); }
.act--link { margin-left: auto; color: var(--wn-coral); }
.post--compact .post__body { padding: 16px 18px; }

/* Secondary tiles */
.tiles { background: var(--wn-navy); padding: var(--pad-y) clamp(20px, 4vw, 44px); }
.tiles__inner { max-width: var(--content); margin: 0 auto; }

.tiles__title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: #fff;
  letter-spacing: -0.035em;
  margin-bottom: 36px;
}

.tiles__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

@media (max-width: 900px) { .tiles__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles__grid { grid-template-columns: 1fr; } }

.tile {
  background: var(--wn-surface-glass);
  backdrop-filter: var(--wn-glass-blur);
  -webkit-backdrop-filter: var(--wn-glass-blur);
  border: 1px solid var(--wn-card-line-glass);
  border-radius: 18px;
  padding: 22px 20px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.tile:hover {
  background: var(--wn-surface-glass-hover);
  border-color: var(--wn-coral);
  transform: translateY(-3px);
}

.tile__ic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--wn-coral-soft);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--wn-coral);
}

.tile__ic .i { width: 19px; height: 19px; }
.tile h3 { font-size: 1.05rem; color: #fff; margin-bottom: 8px; letter-spacing: -0.02em; }
.tile p { font-size: 13.5px; line-height: 1.5; color: var(--wn-onnavy-3); }

/* Platforms */
.platforms { background: #fff; padding: var(--pad-y) clamp(20px, 4vw, 44px); text-align: center; }
.platforms__inner { max-width: 760px; margin: 0 auto; }

.platforms__title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  color: var(--wn-navy);
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.platforms__lead { color: var(--wn-ink-2); font-size: 16px; max-width: 46ch; margin: 0 auto; }

.platform-row {
  list-style: none;
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.platform-row li { text-align: center; }

.platform-row__status {
  display: block;
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--wn-coral);
}

.platform-row strong { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; color: var(--wn-navy); }

@media (max-width: 620px) { .platform-row { grid-template-columns: 1fr; gap: 26px; } }

/* Inner pages */
.page-hero {
  padding: calc(var(--nav-h) + 64px) clamp(20px, 4vw, 40px) 56px;
  background: var(--wn-navy);
  color: #fff;
}

.page-hero__inner { max-width: var(--content); margin: 0 auto; }
.page-hero h1 { margin-bottom: 12px; font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -0.035em; }
.page-hero p { max-width: 40ch; color: var(--wn-onnavy-2); font-size: 17px; }

.page-body { padding: 64px clamp(20px, 4vw, 40px) 100px; background: var(--wn-bg); }
.page-body__inner { max-width: 680px; margin: 0 auto; }
.page-body p { margin-bottom: 1.1em; color: var(--wn-ink-2); line-height: 1.6; }
.page-body h2 { margin: 2.2rem 0 0.7rem; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--wn-ink); }
.page-body ul { padding-left: 1.15em; color: var(--wn-ink-2); margin: 0 0 1em; }
.page-body li { margin-bottom: 0.5em; line-height: 1.5; }

.note {
  margin-top: 2.5rem;
  padding: 18px 20px;
  border-left: 3px solid var(--wn-coral);
  background: rgba(215, 122, 97, 0.08);
  font-size: 14px;
  color: var(--wn-ink-2);
  line-height: 1.5;
}

.contact-block { margin: 1.25rem 0 0.5rem; }

.contact-block a.email {
  display: inline-block;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--wn-navy);
  letter-spacing: -0.025em;
}

.contact-block a.email:hover { color: var(--wn-coral); }

/* Footer */
.site-footer { background: var(--wn-navy); color: var(--wn-onnavy-2); padding: 48px clamp(20px, 4vw, 40px) 36px; }

.site-footer__inner {
  max-width: var(--content);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 14px; }
.site-footer__brand:hover { color: #fff; }
.site-footer__brand img { width: 26px; height: 26px; }

.site-footer__meta { font-size: 13px; margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.site-footer__sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(239, 241, 243, 0.35); }
.site-footer__meta a { color: var(--wn-onnavy-2); }
.site-footer__meta a:hover { color: var(--wn-coral); }

.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; }
.site-footer__nav a { color: var(--wn-onnavy-2); font-size: 13px; font-weight: 500; }
.site-footer__nav a:hover { color: #fff; }

.site-footer__copy {
  width: 100%;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: var(--wn-onnavy-3);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero__mark,
  .hero__mark img,
  .hero__slogan,
  .hero__intro,
  .hero__scroll,
  .reveal {
    opacity: 1 !important;
    animation: none !important;
  }

  .reveal { --wn-rise: 0px !important; transform: none !important; }

  .stat__fill { width: var(--w); }
}
