/* mobeespirit – Living Mosaic
   Plain CSS, no build step. Tokens first, then base, layout, components, pages. */

/* ------------------------------------------------------------------ fonts */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-var.woff2?v=1") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-italic.woff2?v=1") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ----------------------------------------------------------------- tokens */
:root {
  --blue: #009FE3;          /* brand blue – "mobee", strong tiles, decoration */
  --blue-ink: #0072B0;      /* blue for text on white (AA contrast 5.2:1)      */
  --blue-100: #E6F4FC;
  --blue-200: #C9E6F7;
  --blue-300: #A8D8F2;
  --green: #6FA23A;         /* brand green – "spirit", strong tiles            */
  --green-ink: #4C7A22;
  --green-100: #EEF6E6;
  --green-200: #DCEDCB;
  --green-300: #C3DFA6;
  --ink: #1F1F24;
  --muted: #4A4F58;
  --paper: #FFFFFF;
  --paper-2: #F7FAFC;
  --line: #D5DEE6;
  --grid: rgba(0, 72, 120, 0.055);
  --danger: #B3261E;
  --success: #3F6E16;

  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 6px;
  --shadow-tile: 0 1px 1px rgba(16, 52, 84, 0.08), 0 2px 6px rgba(16, 52, 84, 0.06);
  --shadow-paper: 0 10px 22px rgba(16, 52, 84, 0.18), 0 2px 4px rgba(16, 52, 84, 0.10);
  --ease-flip: cubic-bezier(0.45, 0.05, 0.25, 1);
  --header-h: 88px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; display: block; }
main:focus { outline: none; }

h1, h2, h3 { line-height: 1.15; font-weight: 500; margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
img, svg { display: block; max-width: 100%; }

a { color: var(--blue-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: #005A8C; }

:focus-visible {
  outline: 3px solid var(--blue-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.nowrap { white-space: nowrap; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ------------------------------------------------------------------ header */
.site-header { position: relative; z-index: 40; background: var(--paper); }

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand { display: inline-block; padding: 6px 0; border-radius: 4px; }
.brand__logo { width: clamp(150px, 15vw, 214px); height: auto; aspect-ratio: 297.1 / 94.8; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: clamp(20px, 3.6vw, 56px);
  margin: 0; padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: 8px 2px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--blue-ink); }
.site-nav a[aria-current="page"] { color: var(--blue-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars { position: relative; width: 28px; height: 20px; }
.nav-toggle__bars span {
  position: absolute; left: 0; right: 0;
  height: 3px; border-radius: 2px; background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 8.5px; }
.nav-toggle__bars span:nth-child(3) { top: 17px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 720px) {
  :root { --header-h: 76px; }
  .site-nav a { font-size: 1rem; }

  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    box-shadow: 0 16px 32px rgba(16, 52, 84, 0.12);
    border-top: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .js .site-nav:not(.is-open) { display: none; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav a { display: block; padding: 14px 0; font-size: 1.25rem; border-bottom: 1px solid var(--line); }
  .js .site-nav li:last-child a { border-bottom: 0; }
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}
.site-footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-block: 28px;
}
.site-footer a { color: var(--muted); padding: 6px 2px; }
.site-footer a:hover { color: var(--blue-ink); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.65em 1.4em;
  border: 2px solid var(--blue-ink);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--blue-ink);
  font: 600 1.0625rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: var(--blue-100); color: #005A8C; }
.btn--solid { background: var(--blue-ink); color: #fff; }
.btn--solid:hover { background: #005A8C; color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.7; cursor: progress; }
.btn__arrow { width: 1.15em; height: 1.15em; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  padding-block: 6px;
}
.link-arrow:hover { text-decoration: underline; }

/* --------------------------------------------------------- tile colours */
.c0 { --c: #E6F4FC; } .c1 { --c: #C9E6F7; } .c2 { --c: #A8D8F2; } .c3 { --c: #D7EEFA; }
.c4 { --c: #EEF6E6; } .c5 { --c: #DCEDCB; } .c6 { --c: #C3DFA6; } .c7 { --c: #F2F8FC; }
.c8 { --c: #009FE3; } .c9 { --c: #6FA23A; }

/* =================================================================== HERO */
.hero {
  --t: clamp(56px, 5.6vw, 110px);   /* nominal tile size (no-JS frame) */
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(560px, calc(100svh - var(--header-h)), 880px);
  display: flex;
  background-color: var(--paper-2);
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

/* No-JS / not-yet-ready state = composition 03 drawn with a static pattern */
.hero:not(.mosaic-ready) {
  background-image: url("/assets/img/mosaic-pattern.svg?v=1");
  background-size: calc(var(--t) * 8) calc(var(--t) * 8);
}
.hero:not(.mosaic-ready) .hero__inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: var(--t) calc(var(--t) * 2) var(--t);
  background-color: var(--paper-2);
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: var(--t) var(--t);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
}

/* JS state: paper with faint tile grid; real tiles live in .mosaic */
.hero.mosaic-ready {
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: var(--tw, 80px) var(--th, 80px);
  background-position: var(--gx, 0) 0;
}

/* Closed surface while mosaic.js boots (JS on, first visit, motion allowed).
   Times out on its own so content can never stay hidden if a script fails. */
.js:not(.mosaic-done) .hero:not(.mosaic-ready)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--blue-100);
  animation: cover-timeout 0.3s ease 3s forwards;
}
@keyframes cover-timeout { to { opacity: 0; visibility: hidden; } }

.hero__inner {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 24px;
  padding: calc(var(--t) * 1.25) calc(var(--t) * 2.3) calc(var(--t) * 0.32);
}

.hero__content {
  align-self: center;
  justify-self: center;
  text-align: center;
  max-width: 100%;
}

.hero__logo {
  width: clamp(230px, 44vw, 650px);
  height: auto;
  aspect-ratio: 297.1 / 94.8;
  margin: 0 auto clamp(14px, 2vw, 26px);
}

.hero__title {
  font-size: clamp(2.25rem, 0.9rem + 4.2vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 0.25em;
}

.hero__sub {
  font-size: clamp(1.0625rem, 0.8rem + 1vw, 1.75rem);
  line-height: 1.35;
  margin: 0;
  color: var(--ink);
}

.hero__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-inline: calc(var(--t) * -1.6);
  --mosaic-clear: 0;
}

/* Controls sit above the tiles (z-index works because .hero__inner forms no stacking context). */
.hero__reveal, .hero__hint { position: relative; z-index: 4; }

.hero__reveal { box-shadow: 0 2px 10px rgba(16, 52, 84, 0.10); }

.hero__hint {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 6px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.9375rem, 0.85rem + 0.25vw, 1.0625rem);
  font-style: italic;
  color: var(--ink);
}
.js .hero__hint { display: inline-flex; }
.hero__hint svg { width: 18px; height: 18px; flex: none; }
.hint--touch { display: none; }
@media (hover: none), (pointer: coarse) {
  .hint--pointer { display: none; }
  .hint--touch { display: inline; }
}

@media (max-width: 640px) {
  .hero {
    --t: calc(100vw / 6);
    min-height: 0;
  }
  .hero__inner {
    grid-template-rows: auto auto;
    align-content: center;
    gap: 28px;
    padding: calc(var(--t) * 2.35) calc(var(--t) * 0.62) calc(var(--t) * 1.6);
  }
  .hero:not(.mosaic-ready) .hero__inner::before { inset: calc(var(--t) * 2) calc(var(--t) * 0.5) calc(var(--t) * 1.25); }
  .hero__bar {
    margin-inline: 0;
    flex-direction: column;
    justify-content: center;
    --mosaic-clear: 1;
  }
  .hero__reveal { width: min(100%, 320px); white-space: nowrap; font-size: clamp(0.875rem, 0.2rem + 3.6vw, 1.0625rem); padding-inline: 0.9em; }
  .hero__hint { background: transparent; padding: 0; }
}

/* ------------------------------------------------------------ mosaic layer */
.mosaic {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  gap: 0;
  pointer-events: none;
  animation: mosaic-in 0.25s ease both;
}
@keyframes mosaic-in { from { opacity: 0; } }

.tile {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background-clip: padding-box;
  background-color: var(--c);
  background-image: linear-gradient(140deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 55%, rgba(0, 40, 80, 0.035));
  box-shadow: var(--shadow-tile);
  backface-visibility: hidden;
  transform: perspective(700px) rotateX(0deg) rotateY(0deg);
  transition:
    transform 0.62s var(--ease-flip) var(--d, 0ms),
    visibility 0s linear calc(var(--d, 0ms) + 0.62s);
}
.tile.is-open {
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 180deg));
  visibility: hidden;
}
.tile.is-lifted {
  transition: visibility 0s linear var(--d, 0ms);
  transform: none;
  visibility: hidden;
}
.mosaic.no-anim .tile { transition: none; }

.mosaic-fx {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.paper {
  position: absolute;
  left: 0; top: 0;
  background-color: var(--c);
  background-image: linear-gradient(140deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 60%);
  box-shadow: var(--shadow-paper);
  opacity: 0;
  backface-visibility: visible;
  will-change: transform, opacity;
}
.burst {
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 0;
  opacity: 0;
}
.burst i {
  position: absolute;
  left: -1.5px;
  bottom: 10px;
  width: 3px; height: 11px;
  border-radius: 2px;
  background: var(--green);
  transform-origin: 50% 24px;
}
.burst i:nth-child(1) { transform: rotate(-12deg); }
.burst i:nth-child(2) { transform: rotate(22deg); }
.burst i:nth-child(3) { transform: rotate(56deg); }

/* ================================================================= SPIRIT */
.section { position: relative; padding-block: clamp(56px, 8vw, 112px); }

.spirit { text-align: center; padding-bottom: clamp(32px, 4vw, 56px); }
.spirit .container, .contact .container { position: relative; }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.9em;
  color: var(--blue-ink);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  font-weight: 600;
  letter-spacing: 0;
  padding-bottom: 0.15em;
  border-bottom: 2px solid currentColor;
}
.eyebrow:focus { outline: none; }
.eyebrow:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 6px; }

.spirit__text {
  max-width: 48ch;
  margin: 0 auto 1.4em;
  font-size: clamp(1.125rem, 0.95rem + 0.7vw, 1.4375rem);
  line-height: 1.6;
}

.cluster {
  position: absolute;
  width: clamp(40px, 5vw, 78px);
  height: auto;
  aspect-ratio: 26 / 40;
  pointer-events: none;
}
.spirit .cluster--left  { left: max(0px, calc(50% - 46ch)); top: 0; }
.spirit .cluster--right { right: max(0px, calc(50% - 46ch)); bottom: 0; transform: scaleX(-1); }
.contact .cluster--left  { left: max(0px, calc(50% - 30rem)); top: 40%; }
.contact .cluster--right { right: max(0px, calc(50% - 30rem)); top: 0; }

@media (max-width: 720px) {
  .spirit .cluster--left { left: 4px; top: -16px; width: 44px; }
  .spirit .cluster--right { display: none; }
  .contact .cluster--left { left: 4px; top: auto; bottom: -24px; width: 40px; }
  .contact .cluster--right { right: 4px; top: auto; bottom: 0; width: 40px; }
}

/* ================================================================ CONTACT */
.contact { text-align: center; padding-top: clamp(32px, 4vw, 56px); }

.contact__title {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem);
  font-weight: 500;
  margin: 0 0 0.35em;
}

.contact__lead { margin: 0; }

.contact__toggle {
  display: inline-block;
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  padding: 4px 2px;
  cursor: pointer;
}
.contact__toggle[aria-expanded="true"] { color: var(--muted); text-decoration-color: var(--line); }

.notice {
  display: none;
  max-width: 36rem;
  margin: 28px auto 0;
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: left;
  font-weight: 500;
}
.notice:focus { outline: none; }
.notice:target, .notice.is-visible { display: block; }
.notice--success { background: var(--green-100); color: var(--success); border-left: 4px solid var(--green); }
.notice--error { background: #FDECEA; color: var(--danger); border-left: 4px solid var(--danger); }

.contact__panel {
  display: grid;
  grid-template-rows: 1fr;
  max-width: 40rem;
  margin: 32px auto 0;
  text-align: left;
}
.contact__panel-inner { position: relative; min-height: 0; }
.js .contact__panel {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.5s var(--ease-flip), visibility 0s linear 0.5s;
}
.js .contact__panel.is-open {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.5s var(--ease-flip), visibility 0s;
}
.js .contact__panel-inner { overflow: hidden; }
.js .contact__panel.is-open.is-settled .contact__panel-inner { overflow: visible; }

.contact__cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  gap: 0;
  pointer-events: none;
}
.contact__cover .tile { transition-duration: 0.5s, 0s; }

.contact-form {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(16, 52, 84, 0.06);
}

.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #75828F;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.5 var(--font);
}
.field textarea { min-height: 9.5em; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 1px; border-color: var(--blue-ink); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { display: block; margin-top: 6px; color: var(--danger); font-size: 0.9375rem; font-weight: 500; }
.field__error:empty { display: none; }

.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--blue-ink); }
.check label { font-weight: 400; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-status { margin: 0; font-weight: 500; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }

.spinner {
  width: 1em; height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================ TEXT PAGES */
.band {
  --t: clamp(40px, 4.6vw, 84px);
  height: calc(var(--t) * 2.25);
  background: var(--paper-2) url("/assets/img/mosaic-pattern.svg?v=1") 0 0 / calc(var(--t) * 8) calc(var(--t) * 8);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.band--slim { height: calc(var(--t) * 1.25); }

.prose { max-width: 46rem; margin-inline: auto; }
.prose h1 {
  font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.25rem);
  margin-bottom: 0.6em;
}
.prose h2 { font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); margin: 2em 0 0.6em; }
.prose h3 { font-size: 1.125rem; font-weight: 600; margin: 1.6em 0 0.4em; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: 0.35em; }
.prose address { font-style: normal; margin-bottom: 1em; }

.manifesto__text {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  line-height: 1.55;
}

.tenets {
  list-style: none;
  counter-reset: tenet;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
}
.prose .tenet {
  counter-increment: tenet;
  position: relative;
  padding: 0 0 0 clamp(56px, 7vw, 76px);
  margin-bottom: clamp(28px, 3.5vw, 40px);
}
.tenet::before {
  content: counter(tenet, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0.1em;
  color: var(--blue-ink);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tenet::after {   /* small pixel accent, like the logo cluster */
  content: "";
  position: absolute;
  left: 0; top: 2.1em;
  width: 8px; height: 8px;
  background: var(--green);
  box-shadow: 12px -6px 0 -1px var(--blue-300);
}
.tenet:nth-child(even)::after { background: var(--blue); box-shadow: 12px -6px 0 -1px var(--green-300); }
.prose .tenet__title {
  margin: 0 0 0.3em;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  font-weight: 600;
}
.prose .tenet p { margin: 0; font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.25rem); color: var(--muted); }

.cta {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem);
  font-weight: 500;
}
.cta a { font-weight: 600; white-space: nowrap; }

.legal { font-size: 1.0625rem; }
.legal h2 { scroll-margin-top: 24px; }

.email { display: inline; }
.email__svg { display: inline-block; vertical-align: -0.25em; color: var(--ink); }
.email__reveal {
  display: none;
  margin: 4px 0 4px 12px;
  padding: 4px 10px;
  border: 1.5px solid var(--blue-ink);
  border-radius: var(--radius);
  background: #fff;
  color: var(--blue-ink);
  font: 600 0.9375rem/1.3 var(--font);
  cursor: pointer;
}
.js .email__reveal { display: inline-block; }
.email__text { font-weight: 500; }
.email__text:focus { outline: none; }
.email.is-revealed .email__svg, .email.is-revealed .email__reveal { display: none; }

.notfound { text-align: center; padding-block: clamp(48px, 8vw, 120px); }
.notfound h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem); }

/* ======================================================== reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js:not(.mosaic-done) .hero:not(.mosaic-ready)::after { display: none; }
  .js .hero__hint { display: none; }
}

@media print {
  .site-header nav, .nav-toggle, .hero__bar, .mosaic, .mosaic-fx, .site-footer { display: none !important; }
}
