@font-face { font-family: "Sora"; src: url("fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #050a14; --bg2: #09162c; --grey: #161c28; --text: #eef1f6; --muted: #aab4c5; --faint: #9aa6bb;
  --blue: #4a8fe0; --red: #ff5a62; --red-d: #b01f27; --good: #3ecf8e; --amber: #f5b94a;
  --line: rgba(255, 255, 255, .13); --line-soft: rgba(255, 255, 255, .07); --glass-a: rgba(255, 255, 255, .085); --glass-b: rgba(255, 255, 255, .03); --hi: rgba(255, 255, 255, .16); --shadow: rgba(0, 0, 0, .8);
  --nav-a: rgba(5, 10, 20, .86); --nav-b: rgba(5, 10, 20, .55); --chip-bg: rgba(255, 255, 255, .03); --ghost: rgba(255, 255, 255, .06); --ghost-h: rgba(255, 255, 255, .11); --on: #fff; --focus: #fff;
  --glow1: #0f2a55; --glow2: #1a0f14; --bg3: #07090d; --scroll: #26324a; --blue-b: #8fb6ee; --frame-bg: #0a1020; --bar-bg: rgba(255, 255, 255, .04); --dot-bg: rgba(255, 255, 255, .16); --stage-a: #08142a; --stage-b: #050a14; color-scheme: dark;
  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(20px, 5vw, 72px); --ease: cubic-bezier(.23, 1, .32, 1); --ease-in-out: cubic-bezier(.77, 0, .175, 1); --nav: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; scrollbar-color: var(--scroll) var(--bg); }
body { margin: 0; color: var(--text); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; caret-color: var(--red); overflow-x: hidden;
  background: var(--bg); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(1500px 900px at 80% 10%, var(--glow1) 0%, transparent 60%), radial-gradient(900px 700px at 0% 100%, var(--glow2) 0%, transparent 60%), linear-gradient(180deg, var(--bg2), var(--bg) 50%, var(--bg3)); }
::selection { background: var(--red-d); color: #fff; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 60; } .skip:focus { left: 8px; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.8vw, 72px); } h1 em { font-style: normal; color: var(--red); }
h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--nav); display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
  background: linear-gradient(180deg, var(--nav-a), var(--nav-b)); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; letter-spacing: .24em; font-size: 17px; }
.nav nav { display: flex; gap: 28px; margin-left: auto; } .nav nav a { font-size: 15px; font-weight: 500; color: var(--muted); transition: color .15s; } .nav nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 28px; border-radius: 14px; font: 650 16px/1 var(--sans); color: #fff; background: linear-gradient(180deg, #d9363f, #b01f27);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 34px -8px rgba(229, 51, 60, .6); transition: transform .16s var(--ease), box-shadow .2s var(--ease); }
.btn:active { transform: scale(.97); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 20px -8px rgba(229, 51, 60, .6); }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 44px -8px rgba(229, 51, 60, .85); } }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; }
.btn-ghost { color: var(--text); background: var(--ghost); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(12px); } .btn-ghost:hover { background: var(--ghost-h); }

/* The story: panels on the left, the globe stays put on the right */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.panels { grid-column: 1; grid-row: 1; padding-left: var(--gutter); }
.stage { grid-column: 2; grid-row: 1; position: sticky; top: 0; height: 100vh; align-self: start; }
.stage canvas { width: 100%; height: 100%; }
.stage-tag { position: absolute; right: var(--gutter); bottom: 28px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.panel { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav) + 24px) clamp(16px, 3vw, 48px) 40px 0; }
.panel.hero { gap: 0; }
.lead { margin-top: 26px; max-width: 44ch; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); }
.cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
.hint { margin-top: 56px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); display: flex; align-items: center; gap: 12px; }
.hint i { width: 1px; height: 36px; background: linear-gradient(var(--red), transparent); animation: drip 2s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.card { background: linear-gradient(180deg, var(--glass-a), var(--glass-b)); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 40px);
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); box-shadow: inset 0 1px 0 var(--hi), 0 30px 70px -30px var(--shadow); }
.card p { margin-top: 16px; color: var(--muted); } .card small { display: block; margin-top: 18px; font-size: 13px; color: var(--faint); }
.chips { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; font-size: 15px; font-weight: 550; color: var(--faint); border: 1px solid var(--line); background: var(--chip-bg); transition: color .4s, border-color .4s, background .4s; }
.chips li.on { color: var(--on); border-color: rgba(255, 90, 98, .6); background: rgba(255, 90, 98, .14); }
.mini { margin-top: 22px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mini > div { display: grid; grid-template-columns: 1.4fr 1fr .6fr; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line-soft); font-size: 16px; } .mini > div:last-child { border-bottom: 0; }
.mini .warn { background: linear-gradient(90deg, rgba(255, 90, 98, .13), transparent); }
.mini b { font-weight: 700; } .mini .a { color: var(--good); } .mini .b { color: var(--blue-b); } .mini .c { color: var(--red); }
.log { list-style: none; margin: 22px 0 0; padding: 0; }
.log li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; color: var(--muted); opacity: .25; transition: opacity .5s; }
.log li:last-child { border-bottom: 0; } .log li.show { opacity: 1; } .log li.act { color: var(--text); font-weight: 600; } .log time { color: var(--faint); font-variant-numeric: tabular-nums; font-weight: 600; }
.rules { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.rules li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--line-soft); font-size: 17px; font-weight: 550; opacity: .3; transition: opacity .5s; }
.rules li:last-child { border-bottom: 0; } .rules li.show { opacity: 1; } .rules .off span { text-decoration: line-through; text-decoration-thickness: 1px; color: var(--faint); }
.tag { font-size: 13px; font-weight: 650; padding: 5px 11px; border-radius: 999px; }
.tag.open { background: rgba(62, 207, 142, .14); color: var(--good); } .tag.byod { background: rgba(245, 185, 74, .14); color: var(--amber); } .tag.no { background: rgba(255, 90, 98, .16); color: var(--red); }

.close { padding: clamp(56px, 9vw, 130px) var(--gutter); display: grid; place-items: center; }
.close-card { max-width: 860px; text-align: center; padding: clamp(32px, 5vw, 72px); border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--glass-a), var(--glass-b));
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: inset 0 1px 0 var(--hi), 0 40px 90px -40px rgba(255, 90, 98, .3); }
.close-card p { margin-top: 18px; color: var(--muted); font-size: 19px; } .close-card .cta { justify-content: center; margin-top: 34px; }
.appbadge { display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px 9px 12px; border-radius: 14px; background: #000; border: 1px solid rgba(255, 255, 255, .25); text-align: left; }
.appbadge span { display: flex; flex-direction: column; line-height: 1.1; } .appbadge small { font-size: 11px; color: #cbd5e6; } .appbadge b { font-size: 18px; letter-spacing: -.01em; }
footer { border-top: 1px solid var(--line); padding: 26px var(--gutter); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 14px; }
footer .brand { font-size: 14px; } footer a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .story { display: block; }
  .stage { position: sticky; top: var(--nav); height: 44vh; z-index: 5; background: linear-gradient(180deg, var(--stage-a), var(--stage-b)); border-bottom: 1px solid var(--line); }
  .panels { padding: 0 var(--gutter); } .panel { min-height: 62vh; padding: 28px 0 8px; justify-content: flex-start; }
  .panel.hero { min-height: 48vh; padding-top: 24px; } .nav nav { display: none; } .nav .btn { margin-left: auto; } .stage-tag { right: 20px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hint i { animation: none; } * { transition: none !important; } }

/* v3: hero entrance, once, on load (ease-out, under a second) */
.panel.hero > * { animation: rise .7s var(--ease) both; }
.panel.hero > :nth-child(2) { animation-delay: .08s; } .panel.hero > :nth-child(3) { animation-delay: .16s; } .panel.hero > :nth-child(4) { animation-delay: .24s; }
.stage canvas { animation: stagein 1.1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes stagein { from { opacity: 0; transform: scale(.96); } }

/* v3: the real portal, in glass frames */
.portal { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--gutter); }
.portal-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 52px); } .portal-head p { margin-top: 16px; color: var(--muted); font-size: 19px; }
.frames { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: start; }
.frame { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--frame-bg);
  box-shadow: inset 0 1px 0 var(--hi), 0 40px 90px -40px var(--shadow); }
.frame-main { grid-column: 1 / span 8; } .frame-side { grid-column: 9 / span 4; margin-top: 56px; }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--bar-bg); font-size: 12.5px; color: var(--faint); font-weight: 600; letter-spacing: .02em; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot-bg); } .frame-bar i:first-child { background: #ff5a62; opacity: .8; } .frame-bar span { margin-left: 10px; }
.frame img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .frame:hover img { transform: scale(1.02); } }
.frame-side img { object-fit: cover; object-position: top left; aspect-ratio: 4 / 5; }
@media (max-width: 900px) { .frames { grid-template-columns: 1fr; } .frame-main, .frame-side { grid-column: auto; margin-top: 0; } .frame-side img { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: reduce) { .panel.hero > *, .stage canvas { animation: none !important; } }

/* v3: finding and fix lists */
.log.wide li { grid-template-columns: 82px 1fr; } .log.wide time { font-size: 13px; letter-spacing: .02em; }
.sev.c { color: var(--red); } .sev.h { color: var(--amber); } .sev.m { color: var(--blue-b); }
.frame-side { margin-top: 0 !important; }

/* v4: the day theme (white, with glass) and the toggle */
:root[data-theme="light"] {
  --bg: #f3f5f8; --bg2: #ffffff; --text: #0b1a2f; --muted: #3b4b64; --faint: #56677f;
  --red: #c4202a; --good: #11703f; --amber: #8a5a00; --blue: #1d63d6;
  --line: rgba(11, 26, 47, .15); --line-soft: rgba(11, 26, 47, .09); --glass-a: rgba(255, 255, 255, .78); --glass-b: rgba(255, 255, 255, .48); --hi: rgba(255, 255, 255, .95); --shadow: rgba(32, 62, 112, .28);
  --nav-a: rgba(255, 255, 255, .86); --nav-b: rgba(255, 255, 255, .62); --chip-bg: rgba(255, 255, 255, .6); --ghost: rgba(255, 255, 255, .7); --ghost-h: #fff; --on: #0b1a2f; --focus: #0b1a2f;
  --glow1: #e4e8ef; --glow2: #fbfbfc; --bg3: #e9edf2; --scroll: #aab3c2; --blue-b: #1d63d6; --frame-bg: #dfe3ea; --bar-bg: rgba(11, 26, 47, .05); --dot-bg: rgba(11, 26, 47, .16); --stage-a: #f8f9fb; --stage-b: #eceff4; color-scheme: light;
}
:root[data-theme="light"] .btn-ghost { color: var(--text); }
:root[data-theme="light"] .close-card { box-shadow: inset 0 1px 0 var(--hi), 0 40px 90px -40px rgba(196, 32, 42, .25); }
:root[data-theme="light"] .tag.open { background: rgba(17, 112, 63, .12); } :root[data-theme="light"] .tag.byod { background: rgba(138, 90, 0, .12); } :root[data-theme="light"] .tag.no { background: rgba(196, 32, 42, .1); }
.theme-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--ghost); color: var(--text); cursor: pointer; backdrop-filter: blur(12px); transition: transform .16s var(--ease), background .2s; }
.theme-toggle:active { transform: scale(.94); } .theme-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .theme-toggle:hover { background: var(--ghost-h); } }
.theme-toggle svg { width: 20px; height: 20px; } .theme-toggle .sun { display: none; } .theme-toggle .moon { display: block; }
:root[data-theme="light"] .theme-toggle .sun { display: block; } :root[data-theme="light"] .theme-toggle .moon { display: none; }
.nav .theme-toggle { margin-left: 4px; }
@media (max-width: 900px) { .nav .btn { margin-left: auto; } }

/* v4: the contact form (glass, both themes) */
.contact { padding: clamp(56px, 9vw, 130px) var(--gutter); display: grid; place-items: center; scroll-margin-top: 80px; }
.contact-card { width: min(1040px, 100%); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 4.5vw, 64px); border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--glass-a), var(--glass-b)); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: inset 0 1px 0 var(--hi), 0 40px 90px -40px rgba(196, 32, 42, .28); }
.contact-copy p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 40ch; }
#contact-form { display: grid; gap: 16px; align-content: start; }
.topic { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; } .topic legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.topic label { position: relative; } .topic input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.topic span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--chip-bg); font-size: 15px; font-weight: 600; color: var(--muted); transition: color .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease); }
.topic input:checked + span { color: var(--on); border-color: rgba(255, 90, 98, .7); background: rgba(255, 90, 98, .14); }
.topic input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--muted); } .field label span { font-weight: 400; color: var(--faint); }
.field input, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: var(--chip-bg); color: var(--text); font: 400 17px/1.4 var(--sans); transition: border-color .16s var(--ease), background .16s var(--ease); resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 2px; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.err { min-height: 0; margin-top: 6px; font-size: 14px; color: var(--red); } .err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#f-send { justify-self: start; } #f-send[disabled] { opacity: .65; cursor: progress; }
.note { font-size: 13px; color: var(--faint); } .status { font-size: 16px; font-weight: 600; } .status:empty { display: none; } .status.ok { color: var(--good); } .status.bad { color: var(--red); }
@media (max-width: 900px) { .contact-card { grid-template-columns: 1fr; } }

/* v4: technology partners. Five identical tiles, grey until hovered, then full brand colour. */
.partners { max-width: 1240px; margin: 0 auto; padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(48px, 7vw, 96px); text-align: center; }
.partners h2 { font-family: var(--sans); font-size: 14px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.partners ul { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.tile { display: grid; place-items: center; width: 184px; height: 76px; border-radius: 16px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--hi);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease); }
.tile img { width: 128px; height: 40px; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .25s var(--ease), opacity .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 var(--hi), 0 16px 34px -16px var(--shadow); } .tile:hover img { filter: none; opacity: 1; } }
@media (max-width: 560px) { .tile { width: calc(50% - 8px); min-width: 140px; } .tile img { width: 108px; } .partners ul { gap: 12px; } }

/* v4: feature panels */
.report { margin-top: 22px; font-variant-numeric: tabular-nums; border-top: 1px solid var(--line); }
.report .rh, .report #report-rows > div { display: grid; grid-template-columns: 1.3fr 1fr .6fr .7fr .6fr; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.report .rh { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); font-weight: 600; padding-block: 9px; }
.report #report-rows > div { opacity: .25; transition: opacity .5s; } .report #report-rows > div.show { opacity: 1; } .report #report-rows > div:last-child { border-bottom: 0; }
.report .warn { background: linear-gradient(90deg, rgba(255, 90, 98, .12), transparent); } .report b { font-weight: 700; } .report .a { color: var(--good); } .report .b { color: var(--blue-b); } .report .c { color: var(--red); }
.pop-stats { display: flex; gap: 36px; margin-top: 22px; flex-wrap: wrap; } .pop-stats div { display: grid; gap: 2px; } .pop-stats b { font-family: var(--display); font-size: clamp(38px, 4vw, 54px); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; } .pop-stats span { font-size: 14px; color: var(--muted); }
.pop-src { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; } .pop-src li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--chip-bg); font-size: 14px; color: var(--muted); } .pop-src b { color: var(--text); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .report .rh, .report #report-rows > div { grid-template-columns: 1.2fr 1fr .6fr .7fr; } .report .rh span:last-child, .report #report-rows > div > span:last-child { display: none; } }

.closed { font-size: 18px; font-weight: 600; color: var(--muted); align-self: center; }
.nf { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 32px; } .nf h1 { font-size: clamp(32px, 5vw, 56px); } .nf p { color: var(--muted); font-size: 19px; }

/* Night theme partners: dark glass tiles, light-grey logos; on hover the tile lights up and the logo turns full colour */
:root:not([data-theme="light"]) .tile { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); }
:root:not([data-theme="light"]) .tile img { filter: grayscale(1) brightness(0) invert(1); opacity: .55; }
@media (hover: hover) and (pointer: fine) {
  :root:not([data-theme="light"]) .tile:hover { background: rgba(255,255,255,.94); }
  :root:not([data-theme="light"]) .tile:hover img { filter: none; opacity: 1; }
}

/* First screen: just the logo and the globe */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero-brand img { width: clamp(120px, 15vw, 210px); height: auto; filter: drop-shadow(0 24px 40px rgba(20, 60, 140, .35)); }
.hero-brand span { font-family: var(--display); font-weight: 700; letter-spacing: .3em; font-size: clamp(26px, 3.4vw, 50px); line-height: 1; }
.panel.hero .hint { margin-top: 48px; }
@media (max-width: 900px) {
  .hero-brand { flex-direction: row; align-items: center; gap: 16px; }
  .hero-brand img { width: 64px; } .hero-brand span { font-size: 24px; letter-spacing: .26em; }
  .panel.hero .hint { margin-top: 22px; }
}

@media (max-width: 900px) {
  .story { padding-top: var(--nav); }
  .nav .btn { white-space: nowrap; padding: 9px 14px; font-size: 13px; }
  .nav { gap: 12px; }
}
