/* ==========================================================================
   Chatterbox — chatterboxlabs.io
   Static rebuild (HTML/CSS/JS) for S3 hosting
   --------------------------------------------------------------------------
   All brand colors live in the :root block below. Change them in one place
   and the whole site updates.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — taken from the Chatterbox app (app/app/config/colorScheme.tsx
     and the app icon artwork). Blue is the icon background, orange is the globe. */
  --brand:        #004973;   /* Chatterbox blue */
  --brand-600:    #003A5C;
  --brand-700:    #002C46;
  --brand-050:    #E7F0F5;   /* pale blue tint */
  --accent:       #F47B3B;   /* LOGO_ORANGE — the globe */
  --accent-600:   #DC6729;
  --accent-700:   #C2571D;
  --accent-050:   #FFF4E5;   /* BEIGE */

  /* Ink & neutrals */
  --ink:          #172C47;   /* BLUE_DARK */
  --ink-2:        #3D5271;
  --muted:        #6B7F97;
  --line:         #DFE7ED;
  --bg:           #FFFFFF;
  --bg-alt:       #FFF4E5;   /* BEIGE — warm section background */
  --dark:         #004973;
  --dark-2:       #172C47;

  /* Type */
  --font-display: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shape */
  --radius:       14px;
  --radius-lg:    22px;
  --radius-pill:  999px;

  /* Elevation */
  --shadow-sm:    0 1px 2px rgba(15, 27, 42, .06), 0 2px 8px rgba(15, 27, 42, .06);
  --shadow-md:    0 6px 24px rgba(15, 27, 42, .10);
  --shadow-lg:    0 18px 48px rgba(15, 27, 42, .16);

  /* Layout */
  --maxw:         1160px;
  --maxw-narrow:  820px;
  --header-h:     76px;
  --gutter:       clamp(20px, 5vw, 40px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.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: absolute; left: 12px; top: -60px;
  z-index: 200; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; text-decoration: none; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: rgba(255, 255, 255, .82); }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: .75rem;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Orange is the app's action colour, so it drives primary CTAs. */
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-600); box-shadow: var(--shadow-md); }

.btn--blue { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--blue:hover { background: var(--brand-600); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--on-dark { background: #fff; color: var(--ink); }
.btn--on-dark:hover { background: #f1f5f8; }

.btn--block { width: 100%; }

/* App store badges ---------------------------------------------------------
   Rendered in CSS/SVG so the site has zero external image dependencies.
   To use Apple's / Google's official badge artwork instead, see README.md. */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 10px;
  padding: 9px 18px 9px 15px;
  min-width: 186px;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.store-badge:hover { background: #16181b; text-decoration: none; transform: translateY(-2px); }
.store-badge svg { flex: none; fill: #fff; width: 25px; height: 25px; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge__top { font-size: .63rem; letter-spacing: .045em; text-transform: uppercase; opacity: .9; }
.store-badge__bottom { font-family: var(--font-display); font-size: 1.09rem; font-weight: 700; letter-spacing: -.01em; }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

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

/* The wordmark PNG already contains "Chatterbox", so no text sits beside it. */
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand:hover { text-decoration: none; }
.brand__logo { height: 34px; width: auto; display: block; }

@media (max-width: 420px) {
  .brand__logo { height: 28px; }
}

.nav { display: flex; align-items: center; gap: 4px; }

.nav__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  color: var(--ink-2);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.nav__link:hover { color: var(--ink); background: var(--bg-alt); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--brand-700); background: var(--brand-050); }

.nav__cta { margin-left: 10px; padding: 12px 22px; font-size: .95rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: background-color .15s ease; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 14px var(--gutter) 22px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; }
  .nav__cta { margin: 10px 0 0; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  text-align: center;
  padding-block: clamp(76px, 13vw, 150px);
  background-color: var(--dark);
  background-image:
    linear-gradient(155deg, #005A8C 0%, #004973 48%, #172C47 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* To put a photo behind the hero: save it as assets/img/hero.jpg and
   uncomment the block below. The gradient stays layered on top so the
   headline keeps its contrast.

.hero {
  background-image:
    linear-gradient(155deg, rgba(0, 90, 140, .88) 0%, rgba(0, 73, 115, .92) 48%, rgba(23, 44, 71, .96) 100%),
    url("../img/hero.jpg");
}
*/

/* Decorative speech-bubble blobs */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .16;
}
.hero::before { width: 420px; height: 420px; top: -140px; right: -110px; background: var(--accent); opacity: .22; }
.hero::after  { width: 340px; height: 340px; bottom: -150px; left: -90px; background: #FFBF52; }

.hero__inner { position: relative; z-index: 1; max-width: 880px; margin-inline: auto; }

.hero h1 { color: #fff; text-shadow: 0 2px 22px rgba(0, 0, 0, .3); margin-bottom: .6em; }

.hero__sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, .88);
  max-width: 640px;
  margin: 0 auto 2.2rem;
}

/* Compact hero used on interior pages */
.page-hero {
  background: var(--dark);
  background-image: linear-gradient(150deg, #005A8C 0%, #004973 55%, #172C47 100%);
  color: #fff;
  text-align: center;
  padding-block: clamp(52px, 8vw, 92px);
}
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 640px; margin-inline: auto; font-size: 1.08rem; }

/* --------------------------------------------------------------------------
   7. Intro / prose blocks
   -------------------------------------------------------------------------- */
.prose { max-width: var(--maxw-narrow); margin-inline: auto; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 1.15rem; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .55em; }
.prose .updated { color: var(--muted); font-style: italic; font-size: .95rem; }

.intro { text-align: center; max-width: 860px; margin-inline: auto; }
.intro p { font-size: clamp(1.02rem, 1.5vw, 1.14rem); }
.intro p:first-of-type { color: var(--ink); font-weight: 500; }

/* --------------------------------------------------------------------------
   8. Cards / grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(20px, 2.6vw, 30px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* News cards --------------------------------------------------------------- */
.news-card { position: relative; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.news-card__label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: .9rem;
}
.news-card__body { color: var(--ink); font-size: 1.02rem; flex: 1 1 auto; margin-bottom: 1.4rem; }
.news-card__link {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  gap: .4em;
}
.news-card__link::after { content: "→"; transition: transform .15s ease; }
.news-card:hover .news-card__link::after { transform: translateX(4px); }
/* Make the whole card clickable while keeping one real link for a11y.
   The label/body sit above the overlay so their text stays selectable. */
.news-card__link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.news-card__label,
.news-card__body { position: relative; z-index: 1; }

/* Feature cards ------------------------------------------------------------ */
.feature-card { text-align: center; align-items: center; }
.feature-card__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--brand-050);
  color: var(--brand-700);
  margin-bottom: 1.1rem;
}
.feature-card__icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; }
.feature-card p { color: var(--muted); font-size: .98rem; }

/* --------------------------------------------------------------------------
   9. Team
   -------------------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.6vw, 32px); }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px)  { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.team-card__avatar {
  position: relative;
  width: 132px; height: 132px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-700) 100%);
  box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--brand-050);
}
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
/* Initials shown until a real photo is dropped into assets/img/team/ */
.team-card__initials {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.4rem;
  color: #fff;
  letter-spacing: .02em;
}
.team-card__avatar.has-photo .team-card__initials { display: none; }

.team-card__name { margin: 0 0 .15rem; font-size: 1.22rem; }
.team-card__role {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 1rem;
}
.team-card__bio { font-size: .96rem; color: var(--ink-2); text-align: left; }
.team-card__bio p { margin-bottom: .85em; }

/* Single-person variant — photo beside the bio instead of a grid of cards */
.team-solo {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  max-width: 920px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}
.team-solo .team-card__avatar { width: 240px; height: 240px; margin: 0; }
.team-solo .team-card__initials { font-size: 4rem; }
.team-solo .team-card__name { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .2rem; }
.team-solo .team-card__role { font-size: .88rem; margin-bottom: 1.2rem; }
.team-solo .team-card__bio { font-size: 1.02rem; }

@media (max-width: 720px) {
  .team-solo { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .team-solo .team-card__avatar { width: 180px; height: 180px; }
  .team-solo .team-card__bio { text-align: left; }
}

/* --------------------------------------------------------------------------
   10. Forms
   -------------------------------------------------------------------------- */
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-md);
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field .req { color: var(--accent-600); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 15px;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 73, 115, .15);
}
.field textarea { min-height: 130px; resize: vertical; }

/* File input */
.filefield__control {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--bg-alt);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.filefield input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
/* Two classes so this beats the `.field label` rule above on specificity. */
.filefield .filefield__btn {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .9rem;
  color: var(--brand-700);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  cursor: pointer;
}
.filefield .filefield__btn:hover { border-color: var(--brand); }
/* Keyboard focus lands on the visually-hidden input, so surface it on the box */
.filefield__control:focus-within {
  border-color: var(--brand);
  border-style: solid;
  box-shadow: 0 0 0 4px rgba(0, 73, 115, .15);
}
.filefield__count { font-size: .9rem; color: var(--muted); }

.form-note { font-size: .82rem; color: var(--muted); line-height: 1.55; margin-top: 16px; }
.form-note a { color: var(--muted); text-decoration: underline; }

.form-status {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: .95rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-ok   { background: var(--brand-050); color: var(--brand-700); }
.form-status.is-err  { background: #FDECE7; color: #B23C1C; }

/* Contact details card (the contact form was removed — email only) */
.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.contact-panel .contact-list { display: inline-block; text-align: left; }
.contact-panel .social { justify-content: center; }

/* Home-page contact block */
.contact-cta { text-align: center; }
.contact-cta .lead { color: var(--muted); margin-bottom: 2rem; }

.contact-info h2 { margin-bottom: .5em; }
.contact-info p { color: var(--muted); }

.contact-list { list-style: none; padding: 0; margin: 1.8rem 0 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; stroke: var(--brand); fill: none; stroke-width: 2; }
.contact-list a { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.contact-list a:hover { color: var(--brand-700); }

/* --------------------------------------------------------------------------
   11. Careers
   -------------------------------------------------------------------------- */
.job-list { display: grid; gap: 18px; max-width: 760px; margin-inline: auto; }

.job-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.job-card h3 { margin: 0 0 .25rem; }
.job-card__meta { font-size: .92rem; color: var(--muted); margin: 0; }
.job-card__cta { font-family: var(--font-display); font-weight: 800; color: var(--brand-700); white-space: nowrap; }
.job-card__cta::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.job-card__cta::after { content: " →"; }

/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, #172C47 0%, #004973 55%, #005A8C 100%);
  color: #fff;
  text-align: center;
  padding-block: clamp(52px, 7vw, 82px);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 620px; margin: 0 auto 2rem; font-size: 1.08rem; }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--dark-2); color: rgba(255, 255, 255, .68); padding-block: clamp(48px, 6vw, 72px) 0; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: 44px;
}
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: .96rem; max-width: 340px; }

.footer-col h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6em; }
.footer-col a { font-size: .98rem; text-decoration: none; }

.social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  transition: background-color .15s ease, transform .15s ease;
}
.social a:hover { background: var(--brand); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; fill: #fff; }

/* Same icons on a light background (e.g. the Contact page sidebar) */
.social--light a { background: var(--brand-050); }
.social--light a:hover { background: var(--brand); }
.social--light svg { fill: var(--brand-700); }
.social--light a:hover svg { fill: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .9rem;
}
.footer-bottom nav { display: flex; gap: 20px; }

/* --------------------------------------------------------------------------
   14. Cookie banner
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 150;
  width: min(680px, calc(100% - 32px));
  display: none;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner__text { flex: 1 1 300px; font-size: .9rem; color: var(--ink-2); }
.cookie-banner__text strong { display: block; font-family: var(--font-display); color: var(--ink); margin-bottom: .25rem; }
.cookie-banner .btn { padding: 12px 26px; font-size: .95rem; }

/* --------------------------------------------------------------------------
   15. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --------------------------------------------------------------------------
   16. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cookie-banner, .hero, .cta-band { display: none !important; }
  body { font-size: 12pt; color: #000; }
}
