@font-face {
  font-family: "Bricolage";
  src: url("fonts/bricolage.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree.woff2?v=8") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* Tokens. Blue is a lighter take on the app icon's #001489; gold is the one accent, the colour of a lit window. */
:root {
  --bg: #f3f5fb;
  --surface: #ffffff;
  --ink: #0a1240;
  --ink-2: #454d78;
  --line: rgba(10, 18, 64, 0.12);
  --navy: #2443d6;
  --land: #3150dc;
  --land-edge: rgba(255, 255, 255, 0.16);
  --gold: #f4b740;
  --gold-ink: #8a5800;
  --btn-bg: #2443d6;
  --btn-ink: #ffffff;
  --shadow-c: rgba(0, 0, 0, 0.28);
  --r: 14px;
  --wrap: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141d4a;
    --surface: #1e2a63;
    --ink: #eceef8;
    --ink-2: #b4bade;
    --line: rgba(236, 238, 248, 0.12);
    --land: #3349bf;
    --land-edge: rgba(255, 255, 255, 0.14);
    --gold: #f6c255;
    --gold-ink: #f6c255;
    --btn-bg: #eceef8;
    --btn-ink: #1a2f9e;
    --shadow-c: rgba(0, 0, 0, 0.55);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Figtree", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: "Bricolage", "Figtree", sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { display: block; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* Icons: Phosphor (MIT) SVGs used as masks so they take the text colour. */
.ic { display: inline-block; width: 1.5em; height: 1.5em; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; flex: none; }
.ic-apple { --m: url("img/apple-logo.svg"); }
.ic-play { --m: url("img/google-play-logo.svg"); }
.ic-nosignal { --m: url("img/cell-signal-slash.svg"); }
.ic-undo { --m: url("img/arrow-counter-clockwise.svg"); }

/* Header. Not fixed, so a bar added above the page pushes it down. */
.top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; min-height: 44px; align-items: center; gap: 0.6rem; text-decoration: none; font: 600 1.05rem "Bricolage", sans-serif; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; }
.brand b { color: var(--gold-ink); font-weight: 700; }
.top-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; padding: 0.55rem 0.9rem; border-radius: var(--r); border: 1px solid var(--line); transition: background 0.2s; }
.top-link:hover { background: var(--surface); }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.store {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 1.25rem 0.7rem 1rem; min-height: 56px;
  border-radius: var(--r); text-decoration: none;
  background: var(--btn-bg); color: var(--btn-ink);
  font: 600 1.15rem/1.1 "Bricolage", sans-serif; letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.store small { display: block; font: 500 0.72rem/1.2 "Figtree", sans-serif; letter-spacing: 0; opacity: 0.8; }
.store:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--shadow-c); }
.store:active { transform: translateY(1px) scale(0.98); }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center; gap: 3rem;
  min-height: calc(100dvh - 72px - 44px);
  padding-block: 1rem 4rem;
}
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); }
.lede { margin-block: 1.4rem 2rem; font-size: 1.2rem; color: var(--ink-2); max-width: 30ch; }
.map-wrap { margin: 0; position: relative; }
.map svg { display: block; width: 100%; height: auto; aspect-ratio: 592 / 526; max-height: calc(100dvh - 72px - 44px - 7rem); overflow: visible; }
.map .land path { fill: var(--land); stroke: var(--land-edge); stroke-width: 0.6; stroke-linejoin: round; }
.map .h { cursor: pointer; }
.map .h .glow { fill: var(--gold); opacity: 0.3; transform-box: fill-box; transform-origin: center; }
.map .h .dot { fill: var(--gold); }
.map .h .hit { fill: transparent; }
.map .h:hover .dot, .map .h.on .dot { fill: #fff; }
.map .h.on .glow { opacity: 0.5; }
.map-tip {
  position: absolute; left: 0; top: 4%;
  font: 600 0.95rem "Figtree", sans-serif; color: var(--ink-2);
  padding: 0.45rem 0.8rem; border-radius: 10px; background: var(--surface); border: 1px solid var(--line);
}

/* Switchboard: blue panel, red cord, from the app icon. */
.patch {
  --panel: #2a49dc; --panel2: #3a5ae6; --panel-ink: #f1f3ff; --panel-ink2: #c6cfff;
  --hole: #0a1240; --rim: #4d6af0; --red: #e0362c; --red-dark: #a3201a;
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: 5rem 7rem;
}
@media (prefers-color-scheme: dark) { .patch { --panel: #2d43b8; --panel2: #3b53cc; --rim: #5670e8; --red: #ff4e42; } }
.patch h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.h-lead { display: block; }
.ward-line { display: inline-flex; align-items: baseline; white-space: nowrap; }
.ward { display: inline-grid; color: var(--red); overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ward > span { grid-area: 1 / 1; }
.ward-in { animation: word-in 0.55s var(--ease) 0.2s both; }
.ward-out { animation: word-out 0.35s cubic-bezier(0.7, 0, 0.84, 0) both; }
@keyframes word-in { from { transform: translateY(105%); } to { transform: none; } }
@keyframes word-out { to { transform: translateY(-105%); opacity: 0; } }
.patch-copy p { margin-bottom: 1rem; color: var(--ink-2); font-size: 1.15rem; max-width: 34ch; }
.socket {
  --s: 34px; display: inline-block; width: var(--s); height: var(--s); border-radius: 50%; flex: none;
  background: radial-gradient(circle at 50% 50%, var(--hole) 0 34%, var(--rim) 36% 62%, #c9d2ff 64% 70%, var(--rim) 72%);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.35);
}
.socket-sm { --s: 0.42em; vertical-align: 0.08em; margin-left: 0.12em; background: radial-gradient(circle, var(--hole) 0 38%, var(--red) 42%); box-shadow: none; }
.lamp { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); transition: background 0.25s, box-shadow 0.25s; }
.is-live .lamp { background: var(--red); box-shadow: 0 0 0 4px rgba(224, 54, 44, 0.25); }
.board {
  background: linear-gradient(160deg, var(--panel2), var(--panel)); border-radius: 24px; padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 30px 60px -30px var(--shadow-c), inset 0 1px 0 rgba(255, 255, 255, 0.14); color: var(--panel-ink);
}
.jacks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 12px; }
.jack { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 4px; border: 0; background: none; color: inherit; font: inherit; width: 100%; cursor: pointer; border-radius: 12px; }
.jack .socket { transition: transform 0.2s; }
.jack:hover .socket { transform: scale(1.06); }
.jack-name { font-weight: 650; font-size: 0.95rem; line-height: 1.15; text-align: center; }
.jack-ext { font-size: 0.8rem; color: var(--panel-ink2); font-variant-numeric: tabular-nums; height: 1em; opacity: 0; transform: translateY(-4px); transition: opacity 0.3s, transform 0.3s; }
.jack.is-live .jack-ext { opacity: 1; transform: none; }
.cords { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.cord-shadow { fill: none; stroke: rgba(0, 6, 54, 0.25); stroke-linecap: round; stroke-linejoin: round; }
.cord-body { fill: none; stroke: var(--red); stroke-linecap: round; stroke-linejoin: round; }
.cord-shine { fill: none; stroke: rgba(255, 255, 255, 0.38); stroke-linecap: round; stroke-linejoin: round; }
.plug-sleeve { fill: #12172e; }
.plug-ring { fill: var(--red-dark); }
.plug-tip { fill: #c9ced9; }

/* Night shift: one hospital through one night */
.night { position: relative; padding-bottom: 5rem; --sky-a: #f6a15a; --sky-b: #3b3f8f; --lit: 0.15; }
.night[data-step="1"] { --sky-a: #3b44a8; --sky-b: #1a2478; --lit: 0.55; }
.night[data-step="2"] { --sky-a: #1d2777; --sky-b: #0f1652; --lit: 1; }
.night[data-step="3"] { --sky-a: #ffd27a; --sky-b: #f08a5d; --lit: 0.3; }
.scene { position: relative; height: clamp(260px, 38vw, 440px); overflow: hidden; }
.sky { position: absolute; inset: 0; background: linear-gradient(to top, var(--sky-a), var(--sky-b)); transition: --sky-a 1.2s, --sky-b 1.2s; }
@property --sky-a { syntax: "<color>"; inherits: true; initial-value: #f6a15a; }
@property --sky-b { syntax: "<color>"; inherits: true; initial-value: #3b3f8f; }
.orb { position: absolute; width: clamp(48px, 6vw, 80px); aspect-ratio: 1; border-radius: 50%; transition: transform 1.4s var(--ease), opacity 1.2s; }
.sun { background: #ffd27a; left: 12%; top: 58%; }
.moon { background: #f2f0e6; left: 74%; top: 16%; opacity: 0; transform: translateY(80px); }
.night[data-step="0"] .sun { transform: translateY(40px); }
.night[data-step="1"] .sun, .night[data-step="2"] .sun { opacity: 0; transform: translateY(160px); }
.night[data-step="1"] .moon { opacity: 1; transform: translate(-30vw, 0); }
.night[data-step="2"] .moon { opacity: 1; transform: translate(-12vw, -10px); }
.night[data-step="3"] .sun { left: 78%; transform: translateY(-20px); }
.stars { position: absolute; inset: 0 0 40% 0; opacity: 0; transition: opacity 1.2s;
  background-image: radial-gradient(1.5px 1.5px at 12% 20%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 44%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 41% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 30%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 86% 52%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 92% 14%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 52% 58%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 62%, #fff 50%, transparent 51%); }
.night[data-step="1"] .stars { opacity: 0.6; }
.night[data-step="2"] .stars { opacity: 1; }
.building { position: absolute; inset: 0; width: 100%; height: 100%; }
.b-main { fill: #141d4a; }
.b-far { fill: #222c66; }
.b-cross { fill: #e8483c; }
.ground { fill: #141d4a; }
.win { fill: var(--gold); opacity: 0.08; transition: opacity 0.9s; }
.win.lit { opacity: 0.95; }
.night-copy { margin-top: 3rem; }
.night h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 18ch; }
.moments { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.moments li { border-top: 2px solid var(--line); padding-top: 1rem; transition: border-color 0.6s; }
.moments li.on { border-color: var(--gold); }
.moments li:not(.on) time { color: var(--ink-2); }
.moments time { display: block; font: 700 1.8rem/1 "Bricolage", sans-serif; letter-spacing: -0.02em; margin-bottom: 0.6rem; font-variant-numeric: tabular-nums; }
.moments p { color: var(--ink-2); }

/* No signal */
.nosignal { position: relative; padding-block: 7rem; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 4rem; isolation: isolate; }
.ns-copy { display: grid; justify-items: start; gap: 1.2rem; }
.phone { margin: 0; justify-self: center; width: min(300px, 100%); border-radius: 46px; padding: 10px; background: #0a1240; box-shadow: 0 40px 70px -35px var(--shadow-c), inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.phone img { width: 100%; height: auto; border-radius: 37px; }
.nosignal h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); max-width: 17ch; }
.nosignal p { color: var(--ink-2); max-width: 46ch; font-size: 1.15rem; }
.rings { position: relative; width: 120px; height: 120px; display: grid; place-items: center; color: var(--navy); margin-bottom: 1rem; }
@media (prefers-color-scheme: dark) { .rings { color: var(--gold); } }
.rings .ic { width: 44px; height: 44px; }
.rings span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: 0; }

/* Fixed by everyone */
.fixes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; padding-block: 4rem 7rem; }
.fixes h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.fix-copy p { margin-top: 1.2rem; color: var(--ink-2); max-width: 44ch; font-size: 1.1rem; }
.fix-copy .quiet { font-weight: 600; color: var(--ink); }
.history { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem; box-shadow: 0 30px 60px -40px var(--shadow-c); }
.h-title { font: 700 1.25rem "Bricolage", sans-serif; margin-bottom: 1.2rem; }
.history ol { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--line); display: grid; gap: 1.4rem; }
.history li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 1rem; align-items: baseline; }
.history li::before { content: ""; position: absolute; left: calc(-1.4rem - 7px); top: 0.55rem; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink-2); }
.history .h-now::before { background: var(--gold); border-color: var(--gold); }
.num { font: 700 1.6rem/1.2 "Bricolage", sans-serif; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.h-old .num { font-size: 1.15rem; color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.when { grid-column: 1; font-size: 0.92rem; color: var(--ink-2); }
.putback { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: inline-flex; gap: 0.35rem; align-items: center; font-size: 0.9rem; font-weight: 600; color: var(--gold-ink); }
.putback .ic { width: 1.1em; height: 1.1em; }
.num .tw { border-right: 2px solid var(--gold); }

/* Across the country */
.country { padding-block: 6rem; background: var(--surface); border-block: 1px solid var(--line); }
.country h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.country .wrap > p { margin-top: 1rem; color: var(--ink-2); font-size: 1.1rem; }
.names { margin-block: 3rem; display: grid; gap: 0.75rem; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.names-row { display: flex; gap: 2.5rem; width: max-content; font: 600 clamp(1.3rem, 2.4vw, 2rem) "Bricolage", sans-serif; letter-spacing: -0.02em; white-space: nowrap; }
.names-row span:nth-child(3n+2) { color: var(--gold-ink); }
.names-row span:nth-child(3n) { color: var(--ink-2); }
.provinces { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 1rem; margin-block: 0; }
.provinces div { border-top: 2px solid var(--navy); padding-top: 0.7rem; }
@media (prefers-color-scheme: dark) { .provinces div { border-color: var(--gold); } }
.provinces dt { font-size: 0.85rem; color: var(--ink-2); line-height: 1.3; }
.provinces dd { margin: 0 0 0.2rem; font: 700 2rem/1 "Bricolage", sans-serif; order: -1; }
.provinces div { display: flex; flex-direction: column; }

/* Download at dawn */
.dawn { position: relative; overflow: hidden; padding-block: 5rem 7rem; text-align: center; isolation: isolate;
  background: linear-gradient(to top, rgba(244, 183, 64, 0.32), transparent 70%); }
.dawn-sun { position: absolute; z-index: -1; left: 50%; bottom: -40vw; width: 70vw; aspect-ratio: 1; margin-left: -35vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 122, 0.9), rgba(244, 183, 64, 0.35) 45%, transparent 70%); }
.dawn-copy { display: grid; justify-items: center; gap: 1.1rem; }
.dawn-icon { border-radius: 20px; box-shadow: 0 20px 40px -20px var(--shadow-c); }
.dawn h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 16ch; }
.dawn p { color: var(--ink); font-size: 1.15rem; margin-bottom: 0.8rem; }
.dawn .stores { justify-content: center; }

/* Footer */
.foot { background: var(--surface); border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-2); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; padding-block: 3.5rem 2.5rem; }
.foot-brand { display: grid; align-content: start; gap: 0.5rem; }
.foot-brand .brand { color: var(--ink); }
.foot-brand p { max-width: 28ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot-cols > div { display: flex; flex-direction: column; align-items: flex-start; }
.foot-h { font: 600 0.8rem "Figtree", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.4rem; }
.foot-cols a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: none; text-underline-offset: 3px; }
.foot-cols a:hover { text-decoration: underline; }
.foot-cols p { margin-top: 0.4rem; font-size: 0.9rem; max-width: 26ch; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.25rem 2rem; border-top: 1px solid var(--line); font-size: 0.85rem; }

/* Legal pages (privacy, terms, PAIA): long text in the site's type and colours. */
.doc { max-width: 72ch; padding-block: 2.5rem 5rem; overflow-wrap: break-word; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.8rem; }
.doc h1 + p { color: var(--ink-2); margin-bottom: 1rem; }
.doc h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin: 2.75rem 0 0.9rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.doc h3 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; letter-spacing: -0.01em; }
.doc p, .doc ul, .doc ol, .doc table { margin: 0 0 1rem; }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc li { margin-bottom: 0.35rem; }
.doc li::marker { color: var(--ink-2); }
.doc a { color: var(--btn-bg); text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc strong { font-weight: 700; }
.doc code { font-size: 0.88em; padding: 0.1em 0.35em; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); overflow-wrap: anywhere; }
.doc table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 0.95rem; -webkit-overflow-scrolling: touch; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 0.6rem 1rem 0.6rem 0; border-bottom: 1px solid var(--line); min-width: 9rem; }
.doc th { font-weight: 700; color: var(--ink); border-bottom-width: 2px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* Motion. Everything below runs only when the visitor has not asked for less. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .map .h { opacity: 0; transition: opacity 0.6s; transition-delay: var(--t); }
  .js .map.lit .h { opacity: 1; }
  .map.lit .h:nth-child(4n) .glow { animation: breathe 4.5s ease-in-out infinite; animation-delay: var(--t); }
  .nosignal.in .rings span { animation: ring 3.2s var(--ease) infinite; }
  .nosignal.in .rings span:nth-child(2) { animation-delay: 1.05s; }
  .nosignal.in .rings span:nth-child(3) { animation-delay: 2.1s; }
  .names-row { animation: drift 90s linear infinite; }
  .names-row.rev { animation-direction: reverse; animation-duration: 110s; }
  @supports (animation-timeline: view()) {
    .dawn-sun { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sky, .orb, .stars, .win, .moments li { transition: none !important; }
  .ward-in, .ward-out { animation: none; }
  .lamp, .jack-ext, .jack .socket { transition: none; }
  .names-row { flex-wrap: wrap; width: auto; justify-content: center; padding-inline: 1.25rem; gap: 0.4rem 1.6rem; font-size: 1.15rem; }
  .names-row.rev { display: none; }
  .names { -webkit-mask: none; mask: none; }
}
@keyframes breathe { 50% { transform: scale(1.9); opacity: 0.08; } }
@keyframes ring { 0% { transform: scale(0.5); opacity: 0.7; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes drift { to { transform: translateX(-50%); } }
@keyframes rise { from { transform: translateY(30%); opacity: 0.4; } to { transform: none; opacity: 1; } }

/* Tablet and phone */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 1.5rem 3rem; gap: 2.5rem; }
  .lede { max-width: none; }
  .patch { grid-template-columns: 1fr; gap: 2rem; padding-block: 3rem 5rem; }
  .jacks { grid-template-columns: repeat(4, 1fr); gap: 14px 4px; }
  .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fixes { grid-template-columns: 1fr; gap: 2.5rem; }
  .nosignal { grid-template-columns: 1fr; gap: 3rem; }
  .phone { width: min(260px, 80%); }
  .provinces { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.5rem; }
  .foot-top { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .top { height: 64px; }
  .top-link { padding: 0.45rem 0.75rem; font-size: 0.95rem; }
  .moments { grid-template-columns: 1fr; gap: 1.5rem; }
  .jack { padding: 4px 0; gap: 6px; }
  .jack .socket { --s: 28px; }
  .jack-name { font-size: 0.78rem; }
  .jack-ext { font-size: 0.72rem; }
  .nosignal, .country { padding-block: 5rem; }
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; }
  .history { padding: 1.25rem; }
  .num { font-size: 1.35rem; }
  .store { flex: 1 1 180px; justify-content: center; }
  .dawn { padding-block: 5rem; }
  .dawn-sun { width: 140vw; margin-left: -70vw; bottom: -95vw; }
}
