/* ═══════════════════════════════════════════════════════════════
   VYTHO AI AGENCY — shared design system (WEBSITE 4, Oct 2026 redesign)

   Palette kept exactly from the previous site (owner's request):
   black / white / grey only. Status is shown with weight and symbols,
   never with colour. The footer (columns + giant V Y T H O wordmark)
   is kept as it was.

   Type: Commissioner for all text, JetBrains Mono only for real data
   (phone, numbers, file names, 3D labels).
   Layers: #world canvas (z 0) → .world-labels (z 1) → page (z 2).
   ═══════════════════════════════════════════════════════════════ */

:root {
  --ink-0: #0A0A0A;
  --ink-1: #101010;
  --ink-2: #161616;
  --ink-3: #1E1E1E;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --white: #F4F4F4;
  --fog: #B9B9B9;
  --grey: #8C8C8C;
  --grey-dim: #5E5E5E;
  --mark: #ECECEC;

  --font: 'Commissioner', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: var(--font);
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: var(--ease);
  --ease-io: cubic-bezier(0.65, 0.05, 0.36, 1);

  --pad: clamp(20px, 4.2vw, 64px);
  --maxw: 1320px;
  --r-btn: 10px;
  --r-card: 16px;
  --head-h: 76px;

  --z-world: 0;
  --z-labels: 1;
  --z-page: 2;
  --z-head: 50;
  --z-menu: 60;
  --z-grain: 80;
  --z-cursor: 100;
}

/* ─── page transitions (same-origin navigations, Chromium) ─────── */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.38s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in 0.5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

/* ─── base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: #333 var(--ink-0);
  background: var(--ink-0);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--white);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--white); color: var(--ink-0); }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; border-radius: 4px; }

.mono { font-family: var(--font-mono); font-feature-settings: 'tnum'; letter-spacing: 0.01em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--white); color: var(--ink-0);
  padding: 10px 18px; border-radius: var(--r-btn); font-size: 14px; font-weight: 600;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 860px; }
main, .page-main { position: relative; z-index: var(--z-page); }

/* ─── type scale ────────────────────────────────────────────── */
.t-hero {
  font-weight: 800;
  font-size: clamp(2.9rem, 7.6vw, 8rem);
  line-height: 0.96;
  letter-spacing: -0.038em;
}
.t-h2 {
  font-weight: 780;
  font-size: clamp(2.2rem, 4.9vw, 4.7rem);
  line-height: 1.0;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.t-h3 {
  font-weight: 720;
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.t-lead {
  font-size: clamp(1.06rem, 1.3vw, 1.3rem);
  line-height: 1.55;
  color: var(--fog);
  max-width: 54ch;
  text-wrap: pretty;
}
.t-body { color: var(--fog); max-width: 62ch; text-wrap: pretty; }
.t-small { font-size: 14px; color: var(--grey); }
.kicker {
  display: inline-block;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  color: var(--grey);
  margin-bottom: 18px;
}
.dim { color: var(--grey); }

/* headline lines that rise into place (site.js adds .is-in) */
.line { display: block; overflow: hidden; padding: 0 0.1em 0.09em; margin: 0 -0.1em -0.09em; }
.line > span { display: block; }
.js .reveal .line > span {
  transform: translateY(108%);
  transition: transform 1.15s var(--ease);
  transition-delay: calc(var(--i, 0) * 95ms + var(--d, 0ms));
}
.js .reveal.is-in .line > span { transform: none; }
.js .rise {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .rise.is-in, .js .is-in .rise { opacity: 1; transform: none; }

/* ─── buttons ───────────────────────────────────────────────── */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--r-btn);
  font-family: var(--font); font-weight: 650; font-size: 16px; line-height: 1;
  letter-spacing: -0.005em; white-space: nowrap;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
              color 0.35s var(--ease), transform 0.5s var(--ease);
}
.btn::after {
  content: ''; position: absolute; inset: -1px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--solid { background: var(--white); color: var(--ink-0); }
.btn--solid::after { background: linear-gradient(105deg, transparent 30%, rgba(0, 0, 0, 0.08) 50%, transparent 70%); }
.btn--solid:hover { background: #FFFFFF; }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--white); background: rgba(10, 10, 10, 0.35); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.05); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 17px; }
.btn .num { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; opacity: 0.7; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 650; color: var(--white);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 4px;
  transition: border-color 0.3s var(--ease), gap 0.4s var(--ease);
}
.link-arrow:hover { border-color: var(--white); gap: 14px; }

/* ─── header ────────────────────────────────────────────────── */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-head);
  height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--pad);
  transition: transform 0.55s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.is-scrolled {
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line);
}
.site-head.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 215px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
.nav a {
  position: relative; font-size: 14.5px; font-weight: 550; color: var(--fog);
  white-space: nowrap; transition: color 0.3s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav a:hover, .nav a[aria-current='page'] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.head-actions { display: flex; align-items: center; gap: 12px; }

.lang-pill {
  display: inline-flex; gap: 2px; padding: 3px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(10, 10, 10, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lang-btn {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--grey); padding: 6px 12px; border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.lang-btn.is-active { background: var(--white); color: var(--ink-0); }
.lang-btn:not(.is-active):hover { color: var(--white); }

.burger {
  display: none; width: 44px; height: 44px; border-radius: var(--r-btn);
  border: 1px solid var(--line-strong); position: relative;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--white);
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded='true'] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { top: 21px; transform: rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--ink-0);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--head-h) + 28px) var(--pad) 36px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-io), visibility 0s linear 0.7s;
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.7s var(--ease-io), visibility 0s; }
.menu-links { display: grid; gap: 6px; }
.menu-links a {
  display: block; font-size: clamp(2rem, 9vw, 2.9rem); font-weight: 760; letter-spacing: -0.03em;
  line-height: 1.12; padding: 6px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms + 120ms);
}
.menu.is-open .menu-links a { opacity: 1; transform: none; }
.menu-foot { display: grid; gap: 16px; }
.menu-foot .btn { width: 100%; }
.menu-contact { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--fog); }
.menu-contact a { color: var(--white); }
body.menu-open .site-head { z-index: calc(var(--z-menu) + 1); background: var(--ink-0); border-bottom-color: var(--line); transform: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-block; }
}
@media (max-width: 560px) {
  :root { --head-h: 64px; }
  .brand img { width: 168px; }
  .head-actions .head-cta, .head-actions .lang-pill { display: none; }
  .menu .lang-pill { display: inline-flex; align-self: start; }
}
@media (min-width: 561px) { .menu .lang-pill { display: none; } }

/* ─── cursor (fine pointers only) ───────────────────────────── */
.cursor { position: fixed; top: 0; left: 0; z-index: var(--z-cursor); pointer-events: none; }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform;
  mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; background: var(--white); }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, 0.35);
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
              border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.cursor.is-link .cursor-ring {
  width: 64px; height: 64px; border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
}
.cursor.is-hidden { opacity: 0; }
@media (pointer: coarse) { .cursor { display: none; } }

/* film grain: barely there, keeps the black from looking flat */
.grain {
  position: fixed; inset: -100px; z-index: var(--z-grain); pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.9s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-34px, 22px); }
  50% { transform: translate(20px, -28px); }
  75% { transform: translate(-12px, -14px); }
  100% { transform: translate(0, 0); }
}

/* ─── 3D world layer ────────────────────────────────────────── */
#world {
  position: fixed; inset: 0; z-index: var(--z-world);
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
#world.is-on { opacity: 1; }
.world-labels { position: fixed; inset: 0; z-index: var(--z-labels); pointer-events: none; overflow: hidden; }
.wl {
  position: absolute; left: 0; top: 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; line-height: 1;
  color: var(--white); white-space: nowrap;
  opacity: 0; will-change: transform, opacity;
}
.wl::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--white); flex: none;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}
.wl--chip {
  padding: 7px 10px 7px 9px; border-radius: 8px;
  background: rgba(10, 10, 10, 0.72); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.wl--alarm { font-weight: 700; }
.wl--alarm::before { width: 7px; height: 7px; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.16); }
.wl--plain::before { display: none; }
.wl-route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; }
.wl-route path { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.2; stroke-dasharray: 4 6; animation: routeFlow 1.6s linear infinite; }
@keyframes routeFlow { to { stroke-dashoffset: -20; } }
@media (max-width: 560px) { .wl { font-size: 10.5px; } .wl--chip { padding: 5px 8px 5px 7px; } }

/* without WebGL the page still tells the story with plain images */
.gl-fallback { display: none; }
.no-gl .gl-fallback { display: block; }

/* ─── shared section blocks (sub-pages) ─────────────────────── */
.section { position: relative; padding: clamp(80px, 13vh, 150px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vh, 64px); max-width: 900px; }

.page-hero { position: relative; padding: calc(var(--head-h) + clamp(56px, 12vh, 140px)) 0 clamp(56px, 10vh, 110px); }
.page-hero .t-hero { font-size: clamp(2.6rem, 6.4vw, 6.6rem); }
.page-hero .t-lead { margin-top: 26px; }
.page-hero .btn-row { margin-top: 36px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--grey); margin-bottom: 26px; }
.crumbs a { color: var(--fog); transition: color 0.3s; }
.crumbs a:hover { color: var(--white); }
.crumbs .sep { color: var(--grey-dim); }

.card {
  position: relative; display: block;
  background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(22px, 2.4vw, 32px);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease), transform 0.6s var(--ease);
}
a.card:hover { border-color: var(--line-strong); background: #121212; }
.card h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 720; letter-spacing: -0.015em; line-height: 1.2; margin: 6px 0 10px; }
.card p { color: var(--fog); font-size: 15.5px; line-height: 1.55; }
.card .kicker { font-size: 13px; margin-bottom: 6px; }
.card-go { display: inline-flex; gap: 8px; margin-top: 18px; font-weight: 650; font-size: 14.5px; color: var(--white); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }

/* spotlight that follows the pointer (site.js sets --mx/--my) */
[data-spot] { --mx: 50%; --my: 50%; }
[data-spot]::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.06), transparent 60%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
[data-spot]:hover::before { opacity: 1; }

.prose { max-width: 70ch; font-size: 18px; line-height: 1.75; color: #D2D2D2; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 760; letter-spacing: -0.025em; line-height: 1.15; color: var(--white); margin-top: 2.1em; }
.prose h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 720; letter-spacing: -0.015em; color: var(--white); margin-top: 1.8em; }
.prose strong { color: var(--white); font-weight: 650; }
.prose a { color: var(--white); border-bottom: 1px solid var(--line-strong); transition: border-color 0.3s; }
.prose a:hover { border-color: var(--white); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--grey); }
.prose blockquote { border-left: 2px solid var(--line-strong); padding-left: 20px; color: var(--fog); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--white); font-weight: 650; }

.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 650; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--font-mono); font-weight: 400; font-size: 22px; color: var(--grey);
  transition: transform 0.4s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--white); }
.faq-answer { padding: 0 0 26px; color: var(--fog); max-width: 68ch; }
.faq-answer p + p { margin-top: 0.8em; }

.cta-band {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 22px;
  padding: clamp(36px, 6vw, 80px);
  background: radial-gradient(120% 140% at 85% 0%, rgba(255, 255, 255, 0.07), transparent 55%), var(--ink-1);
  display: grid; gap: 22px; justify-items: start;
}
.cta-band h2 { font-size: clamp(2rem, 4.2vw, 3.8rem); font-weight: 780; letter-spacing: -0.03em; line-height: 1.02; max-width: 18ch; }
.cta-band p { color: var(--fog); max-width: 56ch; font-size: clamp(1rem, 1.2vw, 1.15rem); }

/* call button with the phone glyph */
.call-icon { width: 18px; height: 18px; }

/* ─── footer (kept exactly as the owner asked) ──────────────── */
.footer {
  position: relative; z-index: var(--z-page);
  background: var(--ink-0);
  padding: 0 var(--pad);
}
.footer-grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: clamp(28px, 4vw, 60px);
  padding: clamp(40px, 7vh, 70px) 0;
  border-top: 1px solid var(--line);
}
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; color: var(--fog); }
.footer-label {
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--grey-dim); margin-bottom: 6px;
}
.footer-col a {
  width: fit-content; color: var(--white);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 0.45s var(--ease);
  padding-bottom: 2px;
}
.footer-col a:hover { background-size: 100% 1px; }
.footer-social { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.footer-social a { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--fog); }
.footer-wordmark {
  display: flex; justify-content: space-between; align-items: baseline;
  max-width: 1500px; margin: 0 auto;
  padding: clamp(10px, 3vh, 30px) 0 0;
  font-family: var(--font); font-weight: 800;
  font-size: clamp(4.5rem, 17.5vw, 19rem); line-height: 0.92;
  color: var(--mark); letter-spacing: 0;
  overflow: hidden;
}
.footer-wordmark span { display: inline-block; will-change: transform; }
.footer-base {
  max-width: 1240px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 0 30px; border-top: 1px solid var(--line); margin-top: clamp(20px, 4vh, 40px);
  font-size: 11.5px; color: var(--grey-dim);
  font-family: var(--font-mono); letter-spacing: 0.06em;
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.footer-legal a:hover, .footer-legal a:focus-visible { color: var(--white); border-bottom-color: currentColor; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-wordmark { font-size: clamp(3.6rem, 20vw, 6rem); }
  .footer-social { gap: 12px; }
}

/* ─── small screens ─────────────────────────────────────────── */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .btn { min-height: 54px; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
}
