/* Graticule: graticule.annotated.in
   Colours, type and curves are the app's own "Golden hour" tokens (apps/mobile/src/theme/tokens.ts), unchanged.
   The idea: the page is one journey on the app's own globe. The grid of meridians and parallels draws itself,
   a dashed route sets out from home, and every part of the page is a stop on it.
   Everything is readable without JavaScript. Motion is added by assets/js/site.js. */

/* ---------- typefaces, served from this site ----------
   Fraunces and Figtree (SIL Open Font License; the licence texts sit beside the files in assets/fonts).
   Built from the same font files the app ships, by tools/build-fonts.py. Fraunces keeps its optical-size axis,
   so the browser draws each size with the cut made for it, as the app does. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/fraunces-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/fraunces-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/figtree-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-600-latin.woff2") format("woff2"); }

:root {
  color-scheme: light dark;

  --canvas: #FAF3E9; --surface: #FFFCF7; --sunken: #F1E6D8;
  --ink: #2C1E19; --ink-2: #6E5B50; --accent-text: #9A2F12;
  --accent: #C8431F; --accent-ink: #C8431F; --accent-soft: #FCE3D2;
  --sun: #F5B544; --sun-soft: #FDEBC8; --sun-text: #8A5A0A; --sun-disc: #F8DBAC;
  --sage: #55735F; --sage-soft: #E3EDE0; --sage-text: #2F5239;
  --border: #EADFD2; --border-dashed: #DCCDBD; --hairline: #F1E6D8;
  --inverse: #2C1E19; --on-inverse: #FFFFFF; --on-inverse-2: #F5D9B8;
  --globe-sea: #F8D9BC; --globe-land: #EFB389; --globe-grid: #E4A97E; --globe-shadow: #E9D8C4;
  --shade-light: #FFFFFF; --shade-light-a: .38; --shade-dark: #5B3A29; --shade-mid-a: .05; --shade-rim-a: .28;
  --mark-arch: #C8431F; --mark-sun: #F5B544; --mark-hill-far: #E58565; --mark-hill-near: #8F2C10;
  --glass: rgba(255, 252, 247, .80);
  --shadow-float: 0 12px 28px rgba(88, 48, 24, .16);
  --shadow-hero: 0 30px 60px rgba(88, 48, 24, .22);
  --shadow-chip: 0 10px 22px rgba(88, 48, 24, .14);
  --bezel: #2C1E19; --bezel-edge: rgba(44, 30, 25, .12);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, 5vw, 80px);
  --header: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #201613; --surface: #2C1E19; --sunken: #140D0B;
    --ink: #FAF3E9; --ink-2: #B8A396; --accent-text: #F2906B;
    --accent: #C8431F; --accent-ink: #E8623A; --accent-soft: #4A2217;
    --sun: #F5B544; --sun-soft: #4A3210; --sun-text: #F2C56B; --sun-disc: rgba(245, 181, 68, .16);
    --sage: #55735F; --sage-soft: #223327; --sage-text: #A8CFB2;
    --border: #3D2C25; --border-dashed: #4A372E; --hairline: #3D2C25;
    --inverse: #FAF3E9; --on-inverse: #2C1E19; --on-inverse-2: #6E5B50;
    --globe-sea: #2E1B15; --globe-land: #8A4A30; --globe-grid: #55301F; --globe-shadow: #150D0B;
    --shade-light: #FFFFFF; --shade-light-a: .12; --shade-dark: #000000; --shade-mid-a: .1; --shade-rim-a: .4;
    --glass: rgba(52, 37, 31, .80);
    --shadow-float: 0 12px 28px rgba(12, 6, 4, .4);
    --shadow-hero: 0 30px 60px rgba(12, 6, 4, .55);
    --shadow-chip: 0 10px 22px rgba(12, 6, 4, .35);
    --bezel: #0E0908; --bezel-edge: rgba(250, 243, 233, .14);
  }
}

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

/* Smooth travel between parts of the page is asked for by site.js, link by link. Setting scroll-behavior here
   would also slow the scroll library's own measuring jumps and leave its positions wrong after a reload. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/27px var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
em { font-style: italic; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }

/* ---------- shared pieces ---------- */

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 40;
  padding: 10px 18px; border-radius: 999px;
  background: var(--inverse); color: var(--on-inverse);
  font: 600 15px/24px var(--text);
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The app's headline: Fraunces 400, two short lines, the second in italic paprika. */
.display {
  font: 400 clamp(40px, min(6.6vw, 11.5svh), 104px)/1.02 var(--display);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.display em, .title em { color: var(--accent-ink); }
.title {
  font: 400 clamp(32px, min(4.5vw, 8.4svh), 64px)/1.06 var(--display);
  letter-spacing: -.02em;
  text-wrap: balance;
}
/* Each .ln is one line of a headline; its .ln-in rises into place through the line's mask. */
.ln { display: block; padding-bottom: .16em; margin-bottom: -.16em; }
.ln-in { display: block; }

.eyebrow { font: 500 15px/22px var(--text); color: var(--ink-2); }
.lead { font: 400 clamp(17px, 1.35vw, 20px)/1.6 var(--text); color: var(--ink-2); text-wrap: pretty; max-width: 34em; }
.body { color: var(--ink-2); text-wrap: pretty; max-width: 33em; }
.body strong, .lead strong { font-weight: 500; color: var(--ink); }

/* A text link: a quiet rule at rest, drawn over in the text colour on hover. */
.link {
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(var(--border-dashed), var(--border-dashed));
  background-repeat: no-repeat;
  background-position: 0 100%, 0 100%;
  background-size: 0 1px, 100% 1px;
  transition: background-size .6s var(--ease-out);
}
.link:hover, a:hover > .link, a:focus-visible > .link { background-size: 100% 1px, 100% 1px; }
.tap { display: inline-flex; align-items: center; min-height: 44px; }

/* The status: where the App Store button will go. */
.status {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--surface); color: var(--ink);
  font: 600 15px/1 var(--text);
  box-shadow: var(--shadow-chip);
}
.status-dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); }
.status-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--sun);
  animation: ping 2.6s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(3.4); opacity: 0; } }

/* ---------- header ---------- */

.header { position: sticky; top: 0; z-index: 20; background: var(--canvas); transition: transform .7s var(--ease-out); }
.header.is-hidden { transform: translateY(-101%); }
.header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--border); opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.header.is-stuck::after { opacity: 1; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand-mark { width: 26px; height: 37px; flex: none; }
.brand-name { font: 400 24px/1 var(--display); letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font: 500 15px/22px var(--text); color: var(--ink-2); transition: color .4s var(--ease-out); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav-status { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--sage-soft); color: var(--sage-text); font: 600 13px/1 var(--text); white-space: nowrap; }
.nav-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
@media (max-width: 560px) {
  :root { --header: 64px; }
  .nav .nav-link { display: none; }
}

/* ---------- the mark (arch, sun and two hills), drawn inline so it can rise like the app's splash ---------- */
.mark .mark-arch { fill: var(--mark-arch); }
.mark .mark-sun { fill: var(--mark-sun); }
.mark .mark-far { fill: var(--mark-hill-far); }
.mark .mark-near { fill: var(--mark-hill-near); }

/* ---------- the journey: first screen and the stops ----------
   Small screens and still pages: the copy, then the globe, then each stop with its own phone.
   Wide, tall screens with motion (html.staged, set by site.js): the globe and one phone stay in view on the
   right while the stops pass on the left; the globe turns to each place and the phone changes screen. */

.journey { position: relative; overflow-x: clip; }
.journey-in { display: grid; grid-template-columns: minmax(0, 1fr); }

.hero-copy { padding-block: clamp(28px, 7svh, 88px) clamp(20px, 4svh, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 3svh, 28px); }
.hero-copy .lead { max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 4px; }
.hero-note { font: 400 14px/20px var(--text); color: var(--ink-2); }

.stage { position: relative; }
.stage-in { position: relative; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 1 / 1.04; }

/* The globe: the app's World screen, redrawn here from the same numbers. */
.globe { position: absolute; inset: 0 0 auto 0; width: 100%; height: auto; overflow: visible; }
.globe-shadow { fill: var(--globe-shadow); }
.globe-sea { fill: var(--globe-sea); }
.globe-grid path { fill: none; stroke: var(--globe-grid); stroke-width: 1.2; stroke-opacity: .55; vector-effect: non-scaling-stroke; }
.globe-land { fill: var(--globe-land); fill-rule: evenodd; }
.globe-shade { pointer-events: none; }
.shade-0 { stop-color: var(--shade-light); stop-opacity: var(--shade-light-a); }
.shade-1 { stop-color: var(--shade-light); stop-opacity: 0; }
.shade-2 { stop-color: var(--shade-dark); stop-opacity: var(--shade-mid-a); }
.shade-3 { stop-color: var(--shade-dark); stop-opacity: var(--shade-rim-a); }
.globe-route { fill: none; stroke-linecap: round; }
.globe-route.is-past { stroke: var(--ink); stroke-width: 3.6; stroke-dasharray: 4 12; opacity: .7; }
.globe-route.is-next { stroke: var(--accent-ink); stroke-width: 4.8; stroke-dasharray: 8 12; }
.globe-pin { stroke: var(--surface); }
.globe-pin.is-home { fill: var(--ink); stroke-width: 4; }
.globe-pin.is-past { fill: var(--sun); stroke-width: 4; }
.globe-pin.is-next { fill: var(--accent); stroke-width: 5; }
.globe-ping { fill: var(--accent); transform-box: fill-box; transform-origin: center; animation: ping 2.6s var(--ease-out) infinite; }
.globe-badge { fill: var(--surface); stroke: var(--accent-ink); stroke-width: 3; }
@keyframes fly { to { stroke-dashoffset: -20; } }
.globe-route.is-next.is-flying { animation: fly 1.6s linear infinite; }

/* The place the globe is facing, as one of the app's floating chips. */
.chip {
  position: absolute; left: 0; top: 0; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px 0 12px; border-radius: 999px;
  background: var(--surface); color: var(--ink);
  font: 600 13px/1 var(--text); white-space: nowrap;
  box-shadow: var(--shadow-chip);
  pointer-events: none;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.chip .coord { font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chip[hidden] { display: none; }

/* A phone: the frame is drawn here, the screen is a capture of the app. */
.phone {
  position: relative; width: 100%;
  padding: 3.4%; border-radius: 15.5% / 7.2%;
  background: var(--bezel);
  box-shadow: 0 0 0 1px var(--bezel-edge), var(--shadow-hero);
}
.phone-screen { position: relative; overflow: hidden; border-radius: 12.6% / 5.8%; background: var(--sunken); aspect-ratio: 1170 / 2532; }
.phone-screen picture, .phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-screen picture + picture { opacity: 0; }

/* The phone beside the globe belongs to the staged journey only; elsewhere each stop carries its own. */
.stage-phone { display: none; position: absolute; left: -3%; bottom: 1%; width: 35%; z-index: 2; }

/* ---------- stops ---------- */

.stops { padding-block: clamp(40px, 9svh, 96px) clamp(24px, 6svh, 72px); display: grid; gap: clamp(72px, 14svh, 140px); }
.stop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.stop-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.stop-phone { width: min(64vw, 280px); margin-inline: auto; }
/* Two screens for one stop: side by side, a little smaller. */
.stop-phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 4vw, 28px); }
.stop-phones .stop-phone { width: min(42vw, 230px); margin-inline: 0; }
.stop-phones .stop-phone + .stop-phone { margin-top: clamp(28px, 8vw, 56px); }

/* The way to each stop: a short run of the dashed route and a pin, with the place beside it. */
.leg { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 4px; }
.leg-line { position: relative; width: 12px; height: clamp(40px, 8svh, 72px); flex: none; }
.leg-line::before {
  content: ""; position: absolute; left: 5px; top: 0; bottom: 14px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--ink) 0 2px, transparent 2px 9px); opacity: .7; border-radius: 1px;
  transform-origin: 50% 0; transform: scaleY(var(--draw, 1));
}
.leg-line::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--surface); transform: scale(var(--pin, 1));
}
.stop[data-kind="past"] .leg-line::after { background: var(--sun); }
.leg-place { font: 600 14px/20px var(--text); color: var(--ink); padding-bottom: 0; transform: translateY(4px); }
.leg-place .coord { font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; margin-left: 6px; }

.points { display: grid; gap: 10px; margin-top: 4px; }
.points li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 16px; line-height: 25px; text-wrap: pretty; max-width: 32em; }
.points li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.points strong { font-weight: 500; color: var(--ink); }

@media (min-width: 720px) {
  .stop { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); }
  .stop-phone { width: min(100%, 300px, 36svh); }
  .stop-phones .stop-phone { width: min(48%, 220px, 36svh); }
}

/* Two columns for the first screen whenever there is room side by side (a phone on its side included). */
@media (min-width: 700px) {
  .journey-in { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); column-gap: clamp(24px, 4vw, 72px); }
  .hero-copy { grid-column: 1; grid-row: 1; min-height: calc(100svh - var(--header)); justify-content: center; padding-block: 24px 48px; }
  .stage { grid-column: 2; grid-row: 1; display: flex; align-items: center; min-height: calc(100svh - var(--header)); }
  .stage-in { width: min(100%, 86svh - var(--header)); }
  .stops { grid-column: 1 / -1; }
}

/* A short screen (a phone on its side): tighter, so the status stays in view. */
@media (max-height: 480px) {
  .hero-copy { gap: 12px; padding-block: 8px 20px; }
  .hero-copy .lead { font-size: 15px; line-height: 1.5; }
  .hero-note { display: none; }
}

/* The staged journey. */
@media (min-width: 960px) and (min-height: 600px) {
  .staged .stage { grid-row: 1 / span 2; align-items: flex-start; }
  .staged .stage-pin { position: sticky; top: var(--header); width: 100%; height: calc(100svh - var(--header)); display: flex; align-items: center; }
  .staged .stops { grid-column: 1; grid-row: 2; gap: 0; padding-block: 0 12svh; }
  .staged .stop { grid-template-columns: minmax(0, 1fr); min-height: 86svh; align-content: center; }
  .staged .stop-phone { display: none; }
  .staged .stop-phones { display: none; }
  .staged .stage-phone { display: block; }
  /* The globe is larger than its column here and runs off towards the edge of the screen. */
  .staged .stage-in { width: min(122%, 94svh - var(--header)); margin-inline: 0 auto; flex: none; }
}
.stage-pin { width: 100%; }

/* ---------- sections after the journey ---------- */

.band { padding-block: clamp(72px, 14svh, 150px); }
.band-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 7svh, 72px); }
.parallel { position: relative; height: 1px; background: var(--border); transform-origin: 0 50%; }

/* Privacy: the grid, kept inside the phone. */
.private-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.private-art { width: min(70vw, 300px); margin-inline: auto; }
.private-art svg { width: 100%; height: auto; overflow: visible; }
.kept-frame { fill: var(--surface); stroke: var(--ink); stroke-width: 2.5; }
.kept-sea { fill: var(--globe-sea); }
.kept-grid path { fill: none; stroke: var(--globe-grid); stroke-width: 1.2; stroke-opacity: .7; }
.kept-land { fill: var(--globe-land); fill-rule: evenodd; }
.kept-route { fill: none; stroke: var(--accent-ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 5 8; }
.kept-pin { fill: var(--accent); stroke: var(--surface); stroke-width: 3; }
.kept-home { fill: var(--ink); stroke: var(--surface); stroke-width: 3; }
.kept-notch { fill: var(--ink); }
.facts { display: grid; gap: 0; margin-top: clamp(28px, 5svh, 44px); }
.fact { display: grid; gap: 6px; padding-block: 20px; border-top: 1px solid var(--border); }
.fact:last-child { border-bottom: 1px solid var(--border); }
.fact h3 { font: 600 17px/24px var(--text); }
.fact p { color: var(--ink-2); font-size: 16px; line-height: 25px; text-wrap: pretty; max-width: 36em; }
.after-facts { margin-top: 28px; }
@media (min-width: 860px) {
  .private-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .private-art { width: min(100%, 340px, 58svh); }
}

/* What is free, and what Plus adds. */
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.plan { background: var(--surface); border-radius: 32px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.plan h3 { font: 400 clamp(26px, 2.4vw, 34px)/1.1 var(--display); letter-spacing: -.02em; }
.plan .tag { align-self: flex-start; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font: 600 12px/1 var(--text); }
.tag-sage { background: var(--sage-soft); color: var(--sage-text); }
.tag-sun { background: var(--sun-soft); color: var(--sun-text); }
.tag-accent { background: var(--accent-soft); color: var(--accent-text); }
.plan .points li { font-size: 16px; }
.plan-note { margin-top: auto; padding-top: 6px; font-size: 15px; line-height: 23px; color: var(--ink-2); }
.small-print { margin-top: 28px; font-size: 15px; line-height: 24px; color: var(--ink-2); max-width: 44em; text-wrap: pretty; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* The close: the app's sunrise. */
.close { text-align: center; padding-block: clamp(80px, 16svh, 170px) clamp(72px, 12svh, 130px); }
.close-in { display: flex; flex-direction: column; align-items: center; gap: clamp(22px, 4svh, 34px); }
.sunrise { position: relative; width: clamp(112px, min(15vw, 24svh), 168px); margin-block: clamp(36px, 7svh, 64px) clamp(44px, 8svh, 76px); }
.sunrise::before {
  content: ""; position: absolute; left: 50%; top: 48%; width: 200%; aspect-ratio: 1; border-radius: 50%;
  background: var(--sun-disc); transform: translate(-50%, -50%); z-index: 0;
}
.sunrise svg { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 24px 28px rgba(88, 48, 24, .2)); }
.close .lead { margin-inline: auto; max-width: 30em; }
.close-contact { font: 400 16px/25px var(--text); color: var(--ink-2); }

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

.footer { border-top: 1px solid var(--border); padding-block: clamp(36px, 6svh, 56px) clamp(28px, 5svh, 44px); }
.footer-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand p { font-size: 15px; line-height: 23px; color: var(--ink-2); max-width: 28em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 28px; align-content: start; }
.footer-links a { font: 500 15px/22px var(--text); color: var(--ink-2); transition: color .4s var(--ease-out); }
.footer-links a:hover { color: var(--ink); }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-top: clamp(28px, 5svh, 44px); padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; line-height: 20px; color: var(--ink-2); }
.by { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); transition: color .4s var(--ease-out); }
.by:hover { color: var(--ink); }
.by svg { height: 17px; width: auto; fill: currentColor; }
@media (min-width: 760px) { .footer-in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } .footer-links { justify-content: flex-end; } }

/* ---------- 404 ---------- */
.lost { min-height: calc(100svh - var(--header)); display: grid; place-items: center; text-align: center; padding-block: 48px 96px; }
.lost-in { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.lost .coord { font: 500 15px/22px var(--text); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--accent); color: #FFFFFF;
  font: 600 16px/1 var(--text);
  box-shadow: 0 14px 30px rgba(200, 67, 31, .3);
  transition: transform .45s var(--ease-out);
}
.btn:active { transform: scale(.96); }

/* ---------- motion ----------
   The first screen is held back only when the head script has said motion is welcome (html.grt-pending),
   and that script lets go on its own after a moment, so nothing stays hidden if site.js never runs. */
.grt-pending .hero-copy > *, .grt-pending .stage { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .status-dot::after, .globe-ping, .globe-route.is-next.is-flying { animation: none; }
  .status-dot::after, .globe-ping { opacity: 0; }
  * { transition-duration: .01ms !important; }
}

/* ---------- print ---------- */
@media print {
  :root { --canvas: #fff; --surface: #fff; --ink: #000; --ink-2: #333; --border: #bbb; }
  .header, .skip, .stage, .stop-phone, .private-art, .sunrise { display: none !important; }
  body { font-size: 11pt; line-height: 1.5; }
  .hero-copy, .stage { min-height: 0 !important; }
}
