/* ==========================================================================
   Driven Media
   Light theme. Blue (#046BD2) matched to carstransportculture.com; navy
   (#142d46) taken from the Driven Media logo. No dependencies, system fonts.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-tint: #e8f1fb;

  --navy: #142d46;
  --text: #334155;
  --text-dim: #4c5a70;
  --text-faint: #64748b;

  --line: rgba(20, 45, 70, 0.10);
  --line-strong: rgba(20, 45, 70, 0.20);

  --accent: #046bd2;
  --accent-dark: #045cb4;
  --accent-soft: #3d8fe4;
  --accent-pale: rgba(4, 107, 210, 0.08);

  --shadow-sm: 0 1px 2px rgba(20, 45, 70, 0.06), 0 1px 3px rgba(20, 45, 70, 0.04);
  --shadow-md: 0 4px 12px rgba(20, 45, 70, 0.08), 0 2px 4px rgba(20, 45, 70, 0.04);
  --shadow-lg: 0 20px 44px -20px rgba(20, 45, 70, 0.30), 0 6px 14px rgba(20, 45, 70, 0.07);

  --step--1: clamp(0.83rem, 0.79rem + 0.19vw, 0.94rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.11rem + 0.44vw, 1.5rem);
  --step-2: clamp(1.44rem, 1.28rem + 0.8vw, 2rem);
  --step-3: clamp(1.73rem, 1.45rem + 1.4vw, 2.67rem);
  --step-4: clamp(2.07rem, 1.61rem + 2.3vw, 3.2rem);

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 6rem);
  --max: 1140px;

  --radius: 14px;
  --radius-lg: 20px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display",
    "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; font-weight: 660; color: var(--navy); }
p { text-wrap: pretty; }

::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* --- Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--line { border-top: 1px solid var(--line); }
.narrow { max-width: 68ch; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--accent); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: 0 0 10px 10px; font-weight: 600; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* --- Buttons & links ------------------------------------------------------ */
.btn {
  --btn-bg: var(--accent); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.5rem; border-radius: 100px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: var(--step--1); line-height: 1;
  border: 1px solid transparent; box-shadow: 0 1px 2px rgba(20, 45, 70, 0.08);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { --btn-bg: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--ghost { --btn-bg: #fff; --btn-fg: var(--navy); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--accent); border-color: var(--accent); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: var(--step-0); }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--accent); }
.link:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }

/* --- Top strip (inner pages) ---------------------------------------------- */
.topbar {
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.6rem var(--gutter);
  background: linear-gradient(100deg, var(--accent) 0%, #0a5cbe 45%, #0b4f9e 100%);
  color: #fff; font-size: 0.82rem; line-height: 1.3; text-align: center;
  transition: filter 0.25s var(--ease);
}
.topbar:hover { filter: brightness(1.1); }
.topbar strong { font-weight: 640; }
.topbar__go {
  display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 700;
  white-space: nowrap; text-decoration: underline; text-underline-offset: 3px;
}
.topbar__go svg { transition: transform 0.25s var(--ease); }
.topbar:hover .topbar__go svg { transform: translate(2px, -2px); }
@media (max-width: 620px) { .topbar { font-size: 0.75rem; padding-inline: 0.75rem; } }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 18px rgba(20, 45, 70, 0.07);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 82px; }

.brand { display: inline-flex; align-items: center; flex: none; }
/* Two-line lockup, so it needs height before "driven" becomes unreadable. */
.brand img { height: 46px; width: auto; transition: opacity 0.25s var(--ease); }
.brand:hover img { opacity: 0.75; }
@media (max-width: 480px) { .brand img { height: 38px; } }

.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav a {
  padding: 0.55rem 0.9rem; border-radius: 100px;
  font-size: var(--step--1); font-weight: 550; color: var(--text-dim);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a:hover { color: var(--accent); background: var(--accent-pale); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 640; }
.nav a.is-external { color: var(--accent); font-weight: 640; display: inline-flex; align-items: center; gap: 0.35rem; }
.nav a.is-external:hover { color: var(--accent-dark); }
.nav a.is-external svg { transition: transform 0.25s var(--ease); }
.nav a.is-external:hover svg { transform: translate(2px, -2px); }

.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--line-strong); background: #fff;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--navy); position: relative; transition: background 0.2s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px;
  background: var(--navy); transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    /* Anchored to the fixed header so it tracks the strip's height. */
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 0.5rem var(--gutter) 1.25rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a {
    padding: 0.95rem 0.25rem; border-bottom: 1px solid var(--line); border-radius: 0;
    font-size: var(--step-1); font-weight: 600; color: var(--navy);
  }
  .nav a:hover { background: none; }
  .nav a[aria-current="page"] { color: var(--accent); }
}

/* --- Splash (home) ---------------------------------------------------------
   Two graphics, per David's brief: one into Driven Media, one straight out to
   Cars Transport Culture. Everything else stays off this page. */
.splash { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 5rem); }

.splash__head { text-align: center; max-width: 52ch; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.splash__logo { height: clamp(56px, 9vw, 76px); width: auto; margin: 0 auto 1.5rem; }
.splash__head h1 {
  font-size: var(--step-3); line-height: 1.1; letter-spacing: -0.03em; color: var(--navy);
  text-wrap: balance;
}
/* David's tagline breaks after "ideas". Below ~480px the second line no longer
   fits, so let it flow and balance instead of orphaning "change". */
@media (min-width: 480px) { .splash__head h1 span { display: block; } }
.splash__head p {
  margin-top: 0.9rem; color: var(--text-dim);
  font-size: var(--step-1); line-height: 1.45; letter-spacing: -0.01em;
}

/* min() so the 320px track can shrink on a 320px-wide phone, where the
   container is only ~280px after gutters. */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }

.choice {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.choice:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }

.choice__media {
  position: relative; aspect-ratio: 16 / 9;
  display: grid; place-items: center; overflow: hidden;
  border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.choice__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.choice:hover .choice__media img { transform: scale(1.03); }

/* Driven Media panel — the logo on a soft blue field, so the two cards carry
   equal weight without inventing a photo we don't have. */
.choice__media--brand {
  background:
    radial-gradient(70% 80% at 78% 12%, rgba(4, 107, 210, 0.20), transparent 62%),
    linear-gradient(150deg, var(--bg-tint), #ffffff 70%);
}
.choice__media--brand::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
}
.choice__media--brand img {
  position: relative; width: auto; height: auto;
  max-width: 62%; max-height: 62%; object-fit: contain;
}

.choice__body { padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.choice__title { font-size: var(--step-2); }
.choice__desc { margin-top: 0.6rem; color: var(--text-dim); font-size: var(--step-0); line-height: 1.55; }

.choice__list { margin-top: 1.35rem; display: grid; gap: 0.6rem; }
.choice__list li {
  position: relative; padding-left: 1.4rem;
  font-size: var(--step--1); color: var(--text); line-height: 1.5;
}
.choice__list li::before {
  content: ""; position: absolute; left: 3px; top: 0.55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

.choice__go {
  margin-top: auto; padding-top: 1.6rem;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 640; font-size: var(--step--1); color: var(--accent);
}
.choice__go svg { transition: transform 0.25s var(--ease); }
.choice:hover .choice__go svg { transform: translateX(3px); }
.choice:hover .choice__go[data-external] svg { transform: translate(2px, -2px); }

/* --- Page hero (inner pages) ---------------------------------------------- */
.page-hero {
  padding-block: clamp(9.5rem, 15vw, 12rem) clamp(2rem, 4vw, 3rem);
  position: relative; isolation: isolate; border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 75% at 85% 0%, rgba(4, 107, 210, 0.15), transparent 62%),
    linear-gradient(180deg, #fbfdff, #ffffff);
}
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; }
.page-hero p { margin-top: 1.25rem; color: var(--text-dim); font-size: var(--step-1); line-height: 1.5; max-width: 56ch; }

/* --- Banner (inner page header) --------------------------------------------
   Carries the tagline. No "Driven Media" heading — the logo above it already
   says that. */
.banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(10rem, 15vw, 12.5rem) clamp(2.75rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(58% 70% at 82% 6%, rgba(4, 107, 210, 0.20), transparent 62%),
    radial-gradient(46% 60% at 97% 0%, rgba(61, 143, 228, 0.20), transparent 70%),
    radial-gradient(60% 60% at 3% 96%, rgba(20, 45, 70, 0.06), transparent 62%),
    linear-gradient(180deg, #fbfdff, #ffffff 72%);
}
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: clamp(52px, 7vw, 90px) clamp(52px, 7vw, 90px);
  mask-image: radial-gradient(72% 80% at 50% 42%, #000 18%, transparent 78%);
  -webkit-mask-image: radial-gradient(72% 80% at 50% 42%, #000 18%, transparent 78%);
}
.banner h1 {
  font-size: var(--step-4);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 22ch;
  margin-inline: auto;
}
/* Break after "ideas" only where the second line actually fits. */
@media (min-width: 620px) { .banner h1 span { display: block; } }
.banner p {
  margin: 1.15rem auto 0;
  max-width: 58ch;
  color: var(--text-dim);
  font-size: var(--step-1);
  line-height: 1.45;
}

/* --- Prose & lists -------------------------------------------------------- */
.prose h2 { font-size: var(--step-2); margin-top: 2.75rem; margin-bottom: 1.1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text); line-height: 1.7; margin-bottom: 1rem; }
.prose p:last-child { margin-bottom: 0; }

/* Bullets are positioned, not grid columns: a grid <li> turns every loose text
   node into its own grid item, which pushed the text after <strong> into a
   20px column and broke it one word per line. */
.do-list { display: grid; gap: 0.9rem; margin-top: 0.5rem; }
.do-list li { position: relative; padding-left: 1.5rem; line-height: 1.6; }
.do-list li::before {
  content: ""; position: absolute; left: 4px; top: 0.62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.do-list strong { color: var(--navy); font-weight: 640; }

/* --- Pull quote ----------------------------------------------------------- */
.pull {
  margin: 1.75rem 0;
  padding: 1.25rem 0 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* --- Testimonials --------------------------------------------------------- */
.quote-group + .quote-group { margin-top: 2rem; }
.quote-group__label {
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 600; margin-bottom: 1rem;
}
.quotes { display: grid; gap: 1rem; }
.quote-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 1.35rem 1.5rem;
}
.quote-card blockquote {
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--navy);
  font-weight: 500;
}
.quote-card figcaption {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.45;
}
.quote-card figcaption strong { color: var(--navy); font-weight: 640; display: block; }
.quote-lead { color: var(--text-dim); margin-bottom: 1rem; line-height: 1.65; }

/* --- Platform buttons ----------------------------------------------------- */
.platforms { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.platform {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.05rem; border-radius: 100px;
  border: 1px solid var(--line-strong); background: #fff;
  font-size: var(--step--1); font-weight: 550; color: var(--text);
  transition: all 0.25s var(--ease);
}
.platform:hover { color: var(--accent); border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.platform svg { color: var(--accent); flex: none; }

/* --- People --------------------------------------------------------------- */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; margin-top: 0.5rem; }
.person { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; background: #fff; box-shadow: var(--shadow-sm); }
.person h3 { font-size: var(--step-1); }
.person__role { font-size: 0.8rem; color: var(--accent); font-weight: 640; margin-top: 0.2rem; }
.person p { margin-top: 0.7rem; color: var(--text-dim); font-size: var(--step--1); line-height: 1.6; }

/* --- Listen bar (OverDrive) ----------------------------------------------- */
.listen-bar {
  display: flex; align-items: center; gap: 1rem;
  max-width: 560px; margin-top: 1.75rem; padding: 1rem 1.2rem;
  border: 1px solid var(--line-strong); border-radius: 100px; background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.listen-bar:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.listen-bar__mark {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--accent);
}
.listen-bar__text { flex: 1; min-width: 0; }
.listen-bar__text strong { display: block; font-size: var(--step-0); font-weight: 640; color: var(--navy); line-height: 1.25; }
.listen-bar__text span { display: block; margin-top: 0.15rem; font-size: 0.82rem; color: var(--text-dim); }
.listen-bar__go { flex: none; display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 640; font-size: var(--step--1); color: var(--accent); }
.listen-bar__go svg { transition: transform 0.25s var(--ease); }
.listen-bar:hover .listen-bar__go svg { transform: translate(2px, -2px); }
@media (max-width: 600px) {
  .listen-bar { border-radius: var(--radius); padding: 1rem; }
  .listen-bar__go span { display: none; }
}

/* --- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: var(--step--1); font-weight: 600; color: var(--navy); }
.field .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.85rem 1rem; border-radius: 12px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--text);
  font-size: var(--step-0); appearance: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; cursor: pointer;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--text-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-pale);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }

.field-error { font-size: 0.8rem; color: #c62828; min-height: 1.1em; display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #c62828; }
.field.has-error .field-error { display: block; }

/* minmax(0,…) not 1fr: a bare 1fr floors at min-content and overflowed 320px. */
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

.form-note { font-size: 0.8rem; color: var(--text-faint); line-height: 1.5; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-status {
  padding: 0.95rem 1.1rem; border-radius: 12px;
  border: 1px solid rgba(4, 107, 210, 0.3); background: var(--accent-pale);
  color: var(--navy); font-size: var(--step--1); line-height: 1.55; display: none;
}
.form-status.is-visible { display: block; }

.contact-cards { display: grid; gap: 0.9rem; }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.35rem;
  background: #fff; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 1rem; align-items: start;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.contact-card__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--accent); }
.contact-card__label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.contact-card__value { margin-top: 0.3rem; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.contact-card__value a:hover { color: var(--accent); }
.contact-card small { display: block; color: var(--text-dim); font-weight: 400; margin-top: 0.2rem; font-size: 0.85rem; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.75rem; margin-top: var(--section-y); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(1.75rem, 4vw, 3rem); }
/* The 150px column minimums overflowed a 320px screen. Below 700px use explicit
   fractions with a 0 minimum so the grid can never exceed the viewport. */
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin-top: 1rem; color: var(--text-dim); font-size: var(--step--1); max-width: 30ch; line-height: 1.6; }
.footer-col h3 { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a, .footer-col span {
  color: var(--text-dim); font-size: var(--step--1);
  /* the email is one long unbreakable token and was clipping the column */
  overflow-wrap: anywhere;
}
.footer-col a { transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--accent); }

.socials { display: flex; gap: 0.55rem; margin-top: 1.4rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: #fff;
  display: grid; place-items: center; color: var(--text-dim);
  transition: all 0.25s var(--ease);
}
.socials a:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: var(--text-faint);
}
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--accent); }

/* --- Touch targets ---------------------------------------------------------
   Thumbs need roughly 44px. On a phone the footer links were 16px-tall rows
   and the social icons 38px, which is fiddly to hit accurately. */
@media (max-width: 780px) {
  .footer-col ul { gap: 0; }
  .footer-col li > a { display: flex; align-items: center; min-height: 44px; }
  .footer-col li > span { display: block; padding-block: 0.6rem; }
  .footer-bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .socials { gap: 0.65rem; }
  .socials a { width: 44px; height: 44px; }
  .platform { padding-block: 0.8rem; }
  .topbar { padding-block: 0.9rem; }
  .brand { min-height: 44px; }
  .contact-card__value a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* --- Reveal --------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }

/* --- Motion & print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .site-header, .topbar, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
