/* Upwell Ventures — site styles
   Self-hosted fonts (SIL OFL): Bricolage Grotesque (display), Newsreader (text) */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2-variations"),
       url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader.woff2") format("woff2-variations"),
       url("/assets/fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-italic.woff2") format("woff2-variations"),
       url("/assets/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Palette: a cold column of water that warms as it rises */
  --abyss: #0d2436;      /* deep water — ink, dark bands */
  --abyss-2: #133149;
  --current: #22646f;    /* mid-water teal — links, structure */
  --current-soft: #8fb6b9;
  --fog: #e8eeec;        /* page background — sea fog */
  --surface: #f6f8f7;    /* raised surfaces */
  --bloom: #d4a93f;      /* surface bloom — used sparingly */
  --silt: #56666e;       /* secondary text */
  --rule: #c9d4d2;

  --text: var(--abyss);
  --muted: var(--silt);

  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;

  --step--1: clamp(0.88rem, 0.86rem + 0.1vw, 0.94rem);
  --step-0: clamp(1.06rem, 1.02rem + 0.2vw, 1.19rem);
  --step-1: clamp(1.3rem, 1.2rem + 0.45vw, 1.6rem);
  --step-2: clamp(1.65rem, 1.45rem + 0.9vw, 2.25rem);
  --step-3: clamp(2.1rem, 1.7rem + 1.8vw, 3.25rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.4vw, 5.1rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --max: 76rem;
  --measure: 38rem;
  --radius-lg: 1.25rem;
  --radius-sm: 0.5rem;
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--fog);
  color: var(--text);
  font-family: var(--serif);
  font-size: var(--step-0);
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--current); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--abyss); }
:focus-visible { outline: 2px solid var(--bloom); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--bloom); color: var(--abyss); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: var(--step-3); letter-spacing: -0.03em; }
h3 { font-size: var(--step-1); letter-spacing: -0.012em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--abyss); color: var(--surface); padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  font-family: var(--display); text-decoration: none;
}
.skip:focus { top: 1rem; color: var(--surface); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: var(--step-1); line-height: 1.5; max-width: var(--measure); color: var(--text); }
.prose { max-width: var(--measure); }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--fog) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--abyss); text-decoration: none; font-family: var(--display); font-weight: 650; font-size: 1.12rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand:hover { color: var(--abyss); }
.brand svg { width: 2rem; height: 2rem; flex: none; }
.brand .brand-sub { font-weight: 400; color: var(--silt); }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  font-family: var(--display); font-size: 0.98rem; font-weight: 500; color: var(--abyss); text-decoration: none;
  padding: 0.5rem 0.75rem; border-radius: 999px;
}
.nav a:hover { background: color-mix(in srgb, var(--abyss) 7%, transparent); }
.nav a[aria-current="page"] { background: var(--abyss); color: var(--surface); }
.nav .nav-cta { margin-left: 0.5rem; border: 1.5px solid var(--abyss); }
.nav .nav-cta[aria-current="page"] { border-color: var(--abyss); }

.menu-toggle {
  display: none; align-items: center; gap: 0.5rem;
  font: 500 0.98rem/1 var(--display); color: var(--abyss);
  background: transparent; border: 1.5px solid var(--abyss); border-radius: 999px; padding: 0.55rem 0.95rem; cursor: pointer;
}
.menu-toggle svg { width: 1rem; height: 1rem; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--fog); border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.85rem 0.25rem; border-radius: 0; border-bottom: 1px solid var(--rule); font-size: 1.1rem; }
  .nav a:hover { background: transparent; color: var(--current); }
  .nav a[aria-current="page"] { background: transparent; color: var(--current); }
  .nav .nav-cta { margin: 1rem 0 0; border: 1.5px solid var(--abyss); border-radius: 999px; text-align: center; }
  .no-js .nav { position: static; display: flex; }
  .no-js .menu-toggle { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 1rem/1 var(--display); letter-spacing: -0.005em; text-decoration: none;
  padding: 0.95rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-bloom { background: var(--bloom); color: var(--abyss); }
.btn-bloom:hover { background: #e2bb57; color: var(--abyss); }
.btn-line-light { border-color: color-mix(in srgb, var(--surface) 55%, transparent); color: var(--surface); }
.btn-line-light:hover { border-color: var(--surface); background: color-mix(in srgb, var(--surface) 10%, transparent); color: var(--surface); }
.btn-ink { background: var(--abyss); color: var(--surface); }
.btn-ink:hover { background: var(--current); color: var(--surface); }
.btn-line { border-color: var(--abyss); color: var(--abyss); }
.btn-line:hover { background: var(--abyss); color: var(--surface); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Hero (home) ---------- */
.hero-shell { padding: 0 clamp(0.5rem, 1.5vw, 1.25rem); }
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 72% 110%, var(--abyss-2) 0%, var(--abyss) 60%);
  color: var(--surface);
  border-radius: var(--radius-lg);
  display: flex;
}
.hero .wrap { position: relative; z-index: 2; padding-top: clamp(3rem, 9vw, 7.5rem); }
.hero h1 { color: var(--surface); max-width: 13ch; margin-bottom: 0.45em; }
.hero h1 .line2 { display: block; color: var(--current-soft); }
.hero .lead { color: color-mix(in srgb, var(--surface) 88%, var(--abyss)); max-width: 34rem; }
.hero .hero-body { max-width: 34rem; color: color-mix(in srgb, var(--surface) 72%, var(--abyss)); margin-bottom: 2rem; }
.hero { flex-direction: column; }
.hero .wrap { padding-bottom: 0; }
.hero-field { position: relative; height: 16rem; margin-top: -1rem; z-index: 1; pointer-events: none; }
.hero-field svg { width: 100%; height: 100%; }
.hero-field path { fill: none; }

@media (min-width: 1000px) {
  .hero { min-height: min(88vh, 50rem); }
  .hero .wrap { padding-bottom: clamp(9rem, 14vw, 12rem); }
  .hero-field {
    position: absolute; inset: auto 0 0 0; height: 72%; margin: 0;
    /* lines stay quiet behind the copy and come up to full strength where the dome rises */
    -webkit-mask-image: radial-gradient(ellipse 75% 115% at 82% 100%, #000 50%, rgba(0,0,0,0.14) 85%);
    mask-image: radial-gradient(ellipse 75% 115% at 82% 100%, #000 50%, rgba(0,0,0,0.14) 85%);
  }
}

/* the one orchestrated moment: lines rise into place, deepest first */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-field path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: rise 2.4s cubic-bezier(0.22, 0.7, 0.2, 1) forwards;
    animation-delay: calc(var(--i) * 70ms);
  }
  .js .hero h1, .js .hero .lead, .js .hero .hero-body, .js .hero .btn-row {
    opacity: 0; transform: translateY(14px);
    animation: surface 0.9s cubic-bezier(0.22, 0.7, 0.2, 1) forwards;
  }
  .js .hero .lead { animation-delay: 0.12s; }
  .js .hero .hero-body { animation-delay: 0.22s; }
  .js .hero .btn-row { animation-delay: 0.32s; }
}
@keyframes rise { to { stroke-dashoffset: 0; } }
@keyframes surface { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { display: grid; gap: 1rem 4rem; grid-template-columns: 1fr; margin-bottom: clamp(2.5rem, 5vw, 4rem); align-items: end; }
.section-head h2 { margin: 0; max-width: 14ch; }
.section-head p { margin: 0; max-width: var(--measure); color: var(--muted); }
@media (min-width: 860px) { .section-head { grid-template-columns: 1fr 1fr; } }

/* Capabilities */
.capabilities { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .capabilities { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.capability { border-top: 2px solid var(--abyss); padding-top: 1.5rem; }
.capability svg { width: 2.75rem; height: 2.75rem; margin-bottom: 1.25rem; color: var(--current); }
.capability h3 { margin-bottom: 0.5rem; }
.capability p { color: var(--muted); margin: 0; max-width: 30ch; }

/* Approach: stages rise like the water column */
.approach { position: relative; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: stage; }
.stage { position: relative; padding: 0 0 2.25rem 3.75rem; }
.stage::before {
  /* vertical gauge on mobile */
  content: ""; position: absolute; left: 1.05rem; top: 0.4rem; bottom: -0.4rem; width: 2px;
  background: linear-gradient(to bottom, var(--bloom), var(--current) 55%, var(--abyss));
}
.stage:last-child::before { display: none; }
.stage-num {
  position: absolute; left: 0; top: 0;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 0.82rem/1 var(--display); letter-spacing: 0.02em;
  background: var(--surface); color: var(--abyss); border: 2px solid var(--abyss);
}
.stage:nth-child(4) .stage-num { background: var(--bloom); border-color: var(--bloom); }
.stage h3 { font-size: var(--step-2); margin-bottom: 0.4rem; }
.stage p { color: var(--muted); margin: 0; max-width: 32ch; }

@media (min-width: 900px) {
  .stages { grid-template-columns: repeat(4, 1fr); gap: 2rem; align-items: start; padding-top: 1rem; }
  .stage { padding: 4.25rem 0 0; }
  .stage:nth-child(1) { margin-top: 9rem; }
  .stage:nth-child(2) { margin-top: 6rem; }
  .stage:nth-child(3) { margin-top: 3rem; }
  .stage::before { display: none; }
  .stage-num { top: 0; }
  .rise-line { display: block !important; }
}
.rise-line { display: none; position: absolute; left: 0; right: 0; top: 1rem; height: 13rem; pointer-events: none; z-index: 0; }
.rise-line path { fill: none; vector-effect: non-scaling-stroke; }
.stage-num { z-index: 1; }
.rise-line svg { width: 100%; height: 100%; overflow: visible; }

/* Dark band */
.band {
  background: var(--abyss); color: var(--surface);
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden; isolation: isolate;
}
.band-shell { padding: 0 clamp(0.5rem, 1.5vw, 1.25rem); }
.band .wrap { position: relative; z-index: 2; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band h2 { color: var(--surface); max-width: 16ch; }
.band p { color: color-mix(in srgb, var(--surface) 78%, var(--abyss)); max-width: var(--measure); }
.band .band-field { position: absolute; inset: 0; z-index: 1; opacity: 0.55; pointer-events: none; }
.band .band-field svg { width: 100%; height: 100%; }
.band .band-field path { fill: none; vector-effect: non-scaling-stroke; }
.band a:not(.btn) { color: var(--bloom); }

/* Ventures panel */
.portfolio {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3.25rem);
}
@media (min-width: 860px) { .portfolio { grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; } }
.portfolio h2 { font-size: var(--step-3); }
.portfolio p { color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.slot {
  aspect-ratio: 1; border-radius: var(--radius-sm);
  border: 1.5px dashed color-mix(in srgb, var(--current) 45%, transparent);
  display: grid; place-items: center;
}
.slot svg { width: 46%; height: 46%; color: color-mix(in srgb, var(--current) 55%, transparent); }
.slot.is-forming { border-style: solid; border-color: var(--current); background: color-mix(in srgb, var(--current) 8%, transparent); }
.slot.is-forming svg { color: var(--current); }

/* ---------- Interior pages ---------- */
.page-head { padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); position: relative; }
.page-head h1 { max-width: 15ch; font-size: clamp(2.4rem, 1.7rem + 3.2vw, 4.6rem); }
.page-head .lead { color: var(--muted); }
.page-head-field { height: 7rem; margin-top: clamp(1.5rem, 4vw, 3rem); }
.page-head-field svg { width: 100%; height: 100%; }
.page-head-field path { fill: none; vector-effect: non-scaling-stroke; }

.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.4fr; gap: 5rem; } }
.split h2 { font-size: var(--step-2); max-width: 14ch; }

.stage-detail { display: grid; gap: 0; }
.stage-row { display: grid; gap: 1rem 3rem; grid-template-columns: 1fr; padding-block: 2.5rem; border-top: 1px solid var(--rule); }
.stage-row:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 860px) { .stage-row { grid-template-columns: 5rem 1fr 1.25fr; align-items: start; } }
.stage-row .stage-num { position: static; width: 3rem; height: 3rem; font-size: 0.95rem; }
.stage-row:last-child .stage-num { background: var(--bloom); border-color: var(--bloom); }
.stage-row h2 { font-size: var(--step-3); margin: 0; }
.stage-row .stage-q { font-family: var(--serif); font-style: italic; font-size: var(--step-1); color: var(--current); margin: 0.5rem 0 0; line-height: 1.35; }
.stage-row ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.stage-row li { margin-bottom: 0.4rem; }
.stage-row li::marker { color: var(--current); }

.principles { display: grid; gap: 2rem; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principles li { border-top: 2px solid var(--abyss); padding-top: 1.25rem; }
.principles h3 { margin-bottom: 0.4rem; }
.principles p { color: var(--muted); margin: 0; }

.audiences { display: grid; gap: 0; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .audiences { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; } }
.audiences li { padding-block: 1.6rem; border-top: 1px solid var(--rule); }
.audiences h3 { margin-bottom: 0.35rem; }
.audiences p { color: var(--muted); margin: 0; max-width: 34ch; }

/* Contact */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 5rem; } }
.contact-card { background: var(--abyss); color: var(--surface); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.5rem); align-self: start; }
.contact-card h2 { color: var(--surface); font-size: var(--step-2); }
.contact-card p { color: color-mix(in srgb, var(--surface) 78%, var(--abyss)); }
.contact-email { font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 0.9rem + 0.9vw, 1.45rem); color: var(--bloom); word-break: break-word; letter-spacing: -0.01em; }
.contact-email:hover { color: var(--surface); }
.copy-btn { margin-top: 1rem; font: 500 0.92rem/1 var(--display); color: var(--surface); background: transparent; border: 1.5px solid color-mix(in srgb, var(--surface) 45%, transparent); border-radius: 999px; padding: 0.6rem 1rem; cursor: pointer; }
.copy-btn:hover { border-color: var(--surface); }

.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font: 600 0.98rem/1.2 var(--display); }
.field .hint { font-size: var(--step--1); color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1.06rem/1.4 var(--serif); color: var(--abyss);
  background: var(--surface); border: 1.5px solid var(--rule); border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230d2436' stroke-width='1.8'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1rem; padding-right: 2.5rem;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--current); box-shadow: 0 0 0 3px color-mix(in srgb, var(--current) 22%, transparent); }
.field [aria-invalid="true"] { border-color: #a3392b; }
.field .error { color: #a3392b; font: 500 0.92rem/1.3 var(--display); display: none; }
.field .error.is-visible { display: block; }
.two-col { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .two-col { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: var(--step--1); color: var(--muted); margin: 0; }
.form-status { font: 500 0.98rem/1.4 var(--display); color: var(--current); min-height: 1.4em; margin: 0; }

/* Legal */
.legal { max-width: 42rem; }
.legal h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.legal h3 { margin-top: 1.75rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.4rem; }
.legal li::marker { color: var(--current); }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--step--1); margin: 1rem 0 1.5rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 0.7rem 0.75rem 0.7rem 0; border-bottom: 1px solid var(--rule); }
.legal th { font-family: var(--display); font-weight: 600; }
.updated { color: var(--muted); font-size: var(--step--1); }
.toc { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.toc a { display: inline-block; font: 500 0.92rem/1 var(--display); text-decoration: none; color: var(--abyss); border: 1px solid var(--rule); border-radius: 999px; padding: 0.55rem 0.85rem; background: var(--surface); }
.toc a:hover { border-color: var(--abyss); }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(3rem, 7vw, 6rem); padding: 0 clamp(0.5rem, 1.5vw, 1.25rem) clamp(0.5rem, 1.5vw, 1.25rem); }
.footer-inner { background: var(--abyss); color: var(--current-soft); border-radius: var(--radius-lg); }
.footer-inner .wrap { padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; border-bottom: 1px solid color-mix(in srgb, var(--surface) 14%, transparent); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand .brand { color: var(--surface); }
.footer-brand .brand .brand-sub { color: var(--current-soft); }
.footer-brand p { margin: 1rem 0 0; font-size: var(--step-1); color: var(--surface); font-family: var(--display); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; max-width: 18ch; }
.footer-col h2 { font: 600 0.95rem/1.2 var(--display); color: var(--surface); letter-spacing: 0; margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-col a { color: var(--current-soft); text-decoration: none; font-family: var(--display); font-size: 1rem; }
.footer-col a:hover { color: var(--surface); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; padding-top: 1.5rem; font-size: var(--step--1); font-family: var(--display); }
.footer-bottom a { color: var(--current-soft); }
.footer-bottom a:hover { color: var(--surface); }

/* 404 */
.notfound { min-height: 55vh; display: grid; align-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header, .site-footer, .hero-field, .band-field, .page-head-field, .menu-toggle { display: none !important; }
  body { background: #fff; }
  .hero, .band, .contact-card { background: #fff; color: #000; }
}

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

.footer-legal { margin: 1.25rem 0 0; font: 400 0.82rem/1.5 var(--display); color: color-mix(in srgb, var(--current-soft) 80%, var(--abyss)); max-width: 60rem; }
