/* ==========================================================
   SlantEdge — site stylesheet
   Design: Stephen's "SlantEdge website – all pages" (27 Nov 2026).
   Charcoal, cream and white; copper as the accent, moss as the secondary,
   and the six dashboard colours for the pillars and the pilot cards.
   Strapline: "Lead the business. Live your life."
   Lora for headings, Inter for text, both self-hosted
   (Fontsource, OFL licences in assets/fonts/).
   Colours are the design's own, read from the PDF's fill operators.
   ========================================================== */

@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-latin-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-latin-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Charcoal */
  --ink: #1e1e1e;
  --ink-deep: #141414;        /* footer */
  --ink-line: #45403c;        /* card borders on charcoal */
  --ink-rule: #2e2e2e;        /* rules in the footer */
  --on-ink: #ede8e1;
  --on-ink-muted: #cfc8bf;    /* 11:1 on charcoal, 5.9:1 on deep moss */

  /* Cream and white */
  --paper: #ede8e1;
  --white: #fff;
  --card: #f5f2ee;
  --text: #3a3632;
  --muted: #5c5650;           /* 5.9:1 on cream */
  --faint: #8c8680;           /* footer base only: 5.1:1 on the footer */
  --line: #ddd6cc;
  --line-strong: #cfc8bf;

  /* Copper. --copper-deep is for text and fills under white text (4.6:1 on cream,
     5.6:1 on white). --copper is the button and the rules. --copper-light is copper
     on charcoal (5.9:1). */
  --copper: #b8693d;
  --copper-deep: #9c5430;
  --copper-light: #d08a5c;

  --moss: #3f5a4c;
  --moss-deep: #2f4a3d;

  /* The six dashboard colours (white text on each is 6:1 or better) */
  --c-navy: #2e4a6b;
  --c-copper: #9c5430;
  --c-teal: #2b6670;
  --c-ochre: #7a5d17;
  --c-plum: #6b3a5b;
  --c-moss: #3f5a4c;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1080px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 8px;
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 1rem/1.6 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

/* The italic copper half of a headline, on the same line unless a <br> says otherwise. */
h1 em, h2 em, .statement em { font-style: italic; font-weight: 500; color: var(--copper-deep); }
.band-dark h1 em, .band-dark h2 em, .band-moss h2 em { color: var(--copper-light); }

p { margin: 0 0 1em; }

a { color: var(--copper-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--card);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 6px;
}

:focus-visible { outline: 3px solid var(--copper-deep); outline-offset: 3px; border-radius: 2px; }
.site-header :focus-visible, .band-dark :focus-visible, .band-moss :focus-visible,
.site-footer :focus-visible, .consent :focus-visible { outline-color: var(--copper-light); }

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

/* ---------- The wordmark ----------
   "Slant" in cream, "Edge" in copper italic, under one copper arc that spans both words.
   Drawn in type and CSS until a master SVG arrives. */

.wm {
  position: relative;
  display: inline-block;
  padding-top: 0.42em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--on-ink);
  white-space: nowrap;
}
.wm::before {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.12em;
  top: 0;
  height: 0.42em;
  border-top: 0.07em solid var(--copper-light);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.wm-edge { margin-left: 0.22em; font-style: italic; font-weight: 500; color: var(--copper-light); }

.strapline {
  margin: 0.9rem 0 0;
  font: 500 0.7rem/1.4 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}

/* ---------- Header ---------- */

.site-header { background: var(--ink); color: var(--on-ink); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  min-height: 76px;
  padding-block: 0.6rem;
}
.brand { color: inherit; text-decoration: none; }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.9rem; margin-left: auto; }
.site-nav a {
  color: var(--on-ink);
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--copper-light); }
.site-nav .nav-login { margin-left: 0.4rem; border: 1px solid var(--faint); border-radius: 6px; padding: 0.45rem 1rem; }
.site-nav .nav-login:hover { border-color: var(--copper-light); }

@media (max-width: 819px) {
  .site-header .wrap { column-gap: 1rem; }
  .site-header .wm { font-size: 1.4rem; }
  .site-nav {
    width: 100%;
    margin-left: 0;
    padding-top: 0.6rem;
    border-top: 1px solid var(--ink-line);
    gap: 0.4rem 1.25rem;
  }
  .site-nav .nav-login { margin-left: 0; padding: 0.25rem 0.7rem; }
}

/* ---------- Buttons and links ---------- */
/* Charcoal on copper is 4.1:1, so the button text is set at 19px bold (WCAG large text, 3:1). */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--copper);
  color: var(--ink);
  font: 700 1.1875rem/1.2 var(--sans);
  padding: 0.85rem 1.6rem;
  border: 2px solid var(--copper);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--copper-light); border-color: var(--copper-light); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.95rem; }

.link-arrow {
  color: var(--copper-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { text-decoration-thickness: 2px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

/* ---------- Sections ---------- */
/* White and cream alternate, with charcoal or moss bands between. */

.section { padding: clamp(3.5rem, 2rem + 5vw, 6rem) 0; }
.section-cream { background: var(--paper); }
.pt-0 { padding-top: 0; }   /* a cream section that continues the cream hero above it */
.band-dark { background: var(--ink); color: var(--on-ink-muted); }
.band-moss { background: var(--moss-deep); color: var(--on-ink-muted); }
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4,
.band-moss h1, .band-moss h2, .band-moss h3, .band-moss h4 { color: var(--on-ink); }

.eyebrow {
  font: 600 0.74rem/1.4 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin: 0 0 1rem;
}
.band-dark .eyebrow { color: var(--copper-light); }

.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-head h2 { margin-bottom: 0.6rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.band-dark .section-head p { color: var(--on-ink-muted); }

.lede { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.55; }

/* Page hero: centred on cream (every page). The home hero also carries the dashboard. */
.page-hero { background: var(--paper); padding: clamp(3.5rem, 2rem + 4.5vw, 5.75rem) 0 clamp(3rem, 2rem + 3.5vw, 4.75rem); text-align: center; }
.page-hero h1 { max-width: 19em; margin: 0 auto 1.1rem; }
.page-hero .lede { max-width: 36rem; margin: 0 auto; color: var(--text); }
.page-hero-flush { padding-bottom: 0; }

/* Home: copper rules either side of the headline. */
.h1-ruled { display: flex; align-items: center; justify-content: center; gap: 1.6rem; max-width: none !important; }
.h1-ruled::before, .h1-ruled::after { content: ""; flex: 1 1 0; max-width: 4.5rem; height: 1px; background: var(--copper); }
@media (max-width: 699px) { .h1-ruled { display: block; } .h1-ruled::before, .h1-ruled::after { display: none; } }

/* ---------- Dashboard illustration (real text, not an image) ---------- */

.dash-figure { max-width: 1000px; margin: clamp(2.5rem, 2rem + 2vw, 3.25rem) auto 0; text-align: left; }
.dash {
  container-type: inline-size;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 40px -18px rgba(30, 30, 30, 0.35);
}
.dash-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  background: var(--ink);
  color: var(--on-ink-muted);
  padding: 0.75rem 1.4rem;
  font-size: 0.8rem;
}
.dash-bar strong { color: var(--on-ink); font-weight: 600; }
.dash-grid { list-style: none; margin: 0; padding: clamp(0.9rem, 0.5rem + 1.5vw, 1.4rem); display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
@container (min-width: 520px) { .dash-grid { grid-template-columns: repeat(2, 1fr); } }
@container (min-width: 820px) { .dash-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

.tile { background: var(--c, var(--c-moss)); color: #fff; border-radius: var(--radius); padding: 1.15rem 1.35rem 1.3rem; font-size: 0.86rem; line-height: 1.4; }
.tile-name { display: block; font: 600 0.7rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.45rem; }
.tile-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.55rem; }
.tile-big { font-family: var(--serif); font-size: 2.35rem; line-height: 1; letter-spacing: -0.01em; }
.tile-unit { font-weight: 600; font-size: 1.05rem; line-height: 1.15; }
.tile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.tile .tile-total { margin-top: 0.3rem; padding-top: 0.7rem; border-top: 1px solid rgba(255, 255, 255, 0.55); font-weight: 600; }

.figure-caption { font-size: 0.8rem; color: var(--muted); text-align: center; margin: 1.1rem 0 0; }

/* ---------- Home: fewer tools ---------- */

.tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
@media (min-width: 900px) { .tools { grid-template-columns: repeat(5, 1fr); } }
.tools li { background: var(--white); border: 1px solid var(--line-strong); border-radius: 6px; padding: 1rem 1.05rem 1.1rem; font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.tools strong { display: block; font-size: 0.92rem; color: var(--ink); margin-bottom: 0.3rem; line-height: 1.3; }
.tools .tool-se { background: var(--copper-deep); border-color: var(--copper-deep); color: #fff; }
.tools .tool-se strong { color: #fff; }

/* ---------- Home: where owners get stuck ---------- */

.stuck { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
@media (min-width: 900px) { .stuck { grid-template-columns: repeat(5, 1fr); } }
.stuck li { background: var(--white); border-radius: 6px; padding: 1.1rem 1.1rem 1.3rem; font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.stuck-n { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--copper-deep); margin-bottom: 0.4rem; }
.stuck h3 { font: 600 0.95rem/1.3 var(--sans); color: var(--ink); margin: 0 0 0.35rem; }
.stuck p { margin: 0; }

/* ---------- Home: people and numbers (charcoal) ---------- */

.pn { display: grid; gap: 0.9rem; }
@media (min-width: 760px) { .pn { grid-template-columns: repeat(3, 1fr); } }
.pn-card { border: 1px solid var(--ink-line); border-radius: 6px; padding: 1.15rem 1.3rem 1.3rem; font-size: 0.88rem; line-height: 1.5; }
.pn-card h3 { font: 600 0.98rem/1.3 var(--sans); color: var(--on-ink); margin: 0 0 0.4rem; }
.pn-card p { margin: 0; }
.pn-se { background: var(--copper-deep); border-color: var(--copper-deep); color: #fff; }
.band-dark .pn-se h3 { color: #fff; }

/* ---------- Three numbered columns with a copper rule above ---------- */

.cols3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 1.75rem; }
@media (min-width: 820px) { .cols3 { grid-template-columns: repeat(3, 1fr); } }
.cols3 > li { border-top: 2px solid var(--copper-deep); padding-top: 1.15rem; }
.col-n { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--copper-deep); margin-bottom: 0.35rem; }
.cols3 h3 { font: 600 1.12rem/1.3 var(--sans); color: var(--ink); margin: 0 0 0.45rem; }
.cols3 p { margin: 0 0 0.75rem; font-size: 0.95rem; }
.cols3 p:last-child { margin-bottom: 0; }
.band-moss .cols3 > li { border-top-color: var(--copper-light); }
.band-moss .cols3 h3 { color: var(--on-ink); font-size: 1.2rem; }
.band-moss .cols3 p { font-size: 1rem; }

/* ---------- Home: what you get back ---------- */

.back { display: grid; gap: 1rem; }
@media (min-width: 760px) { .back { grid-template-columns: 1fr 1fr; } }
.back-card { background: var(--white); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.5rem; }
.back-card .eyebrow { font-size: 0.68rem; margin-bottom: 0.9rem; }
.back-list { margin: 0; display: grid; gap: 0.55rem; font-size: 0.9rem; }
.back-list div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; }
.back-list dt { font-weight: 600; color: var(--ink); }
.back-list dd { margin: 0; color: var(--text); }
@media (max-width: 459px) { .back-list div { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Home: a business that runs without you ---------- */

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 0.9rem; }
.compare th, .compare td { text-align: left; padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--card); font-weight: 500; color: var(--muted); }
.compare thead th:last-child { color: var(--copper-deep); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 24%; }
.compare tbody td { color: var(--muted); }
.compare tbody td:last-child { color: var(--ink); }
.compare tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 639px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { border-bottom: 0; padding: 0.3rem 1.1rem; }
  .compare tbody th { width: 100%; padding-top: 0.9rem; }
  .compare tbody td:last-child { padding-bottom: 0.9rem; }
  .compare td::before {
    content: attr(data-label);
    display: block;
    font: 600 0.66rem/1.3 var(--sans);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--copper-deep);
  }
}

/* ---------- Home: the journey in ten steps ---------- */

.jmini { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
@media (min-width: 900px) { .jmini { grid-template-columns: repeat(5, 1fr); gap: 2rem 1.25rem; } }
.jmini li { display: grid; grid-template-columns: 2.1rem 1fr; gap: 0 0.7rem; align-items: start; font-size: 0.82rem; line-height: 1.45; color: var(--text); }
.jmini h3 { font: 600 0.88rem/1.25 var(--sans); color: var(--ink); margin: 0.1rem 0 0.3rem; }
.jmini p { margin: 0; grid-column: 2; }
.circle {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--copper-deep);
  color: #fff;
  font: 500 0.95rem/1 var(--serif);
  grid-row: span 2;
}
.circle-moss { background: var(--moss); }
.jmini-more { margin: 2.25rem 0 0; }

/* ---------- Home: why Claire built it ---------- */

.why { max-width: 42rem; margin: 0 auto; }
.statement { font-family: var(--serif); font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); line-height: 1.3; color: var(--ink); margin: 0 0 1rem; }
.why p { color: var(--text); }

/* ---------- Final call to action (charcoal) ---------- */

.cta-band { text-align: center; }
.cta-band h2 { max-width: 20em; margin: 0 auto 1rem; font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem); }
.cta-band p { font-size: 1.05rem; margin: 0 0 1.75rem; }

/* ---------- How it works ---------- */

.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars li { background: var(--c); color: #fff; border-radius: var(--radius); padding: 1.2rem 1.35rem 1.35rem; font-size: 0.92rem; line-height: 1.5; }
.pillars .tile-name { margin-bottom: 0.5rem; }

.db-split { display: grid; gap: 2rem 3rem; align-items: start; }
@media (min-width: 860px) { .db-split { grid-template-columns: 1fr 1fr; } }
.db-split h2 { margin-bottom: 0.7rem; }
.db-split .lede { color: var(--on-ink-muted); margin: 0; font-size: 1.05rem; }
.rule-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ink-line); }
.rule-list li { padding: 0.95rem 0; border-top: 1px solid var(--ink-line); color: var(--on-ink); font-size: 0.95rem; }
.rule-list li:first-child { border-top: 0; padding-top: 0.2rem; }

.soft-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
@media (min-width: 760px) { .soft-cards { grid-template-columns: repeat(3, 1fr); } }
.soft-cards li { background: var(--card); border-radius: var(--radius); padding: 1.3rem 1.35rem 1.5rem; font-size: 0.9rem; color: var(--text); }
.soft-cards h3 { font: 600 1rem/1.3 var(--sans); color: var(--ink); margin: 0 0 0.4rem; }
.soft-cards p { margin: 0; }

.qa { margin: 0; border-top: 1px solid var(--line-strong); }
.qa div { display: grid; gap: 0.35rem 3rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-strong); font-size: 0.92rem; }
@media (min-width: 760px) { .qa div { grid-template-columns: 1fr 1fr; } }
.qa dt { font-weight: 600; color: var(--ink); }
.qa dd { margin: 0; color: var(--text); }

/* ---------- Your journey ---------- */

.stage-label { font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper-deep); margin: 2.25rem 0 0.8rem; }
.stage-label:first-child { margin-top: 0; }
.jcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 700px) { .jcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .jcards-3 { grid-template-columns: repeat(3, 1fr); } }
.jcard { display: grid; grid-template-columns: 2.25rem 1fr; gap: 0 1rem; align-items: start; background: var(--white); border-radius: var(--radius); padding: 1.25rem 1.3rem 1.35rem; font-size: 0.88rem; line-height: 1.5; }
.jcard .circle { width: 2.25rem; height: 2.25rem; font-size: 1.05rem; grid-row: span 4; }
.jwhen { margin: 0 0 0.15rem; font: 600 0.68rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.jcard h3 { font: 600 1rem/1.3 var(--sans); color: var(--ink); margin: 0.2rem 0 0.35rem; }
.jcard p { margin: 0; grid-column: 2; }
.jcard .jyou { margin-top: 0.4rem; font-weight: 600; font-size: 0.8rem; color: var(--moss); }

.ready { display: grid; gap: 2.5rem 3rem; }
@media (min-width: 820px) { .ready { grid-template-columns: 1fr 1fr; } }
.ready h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.85rem); margin-bottom: 1.1rem; }
.line-list { list-style: none; margin: 0; padding: 0; }
.line-list li { padding: 0.8rem 0; border-bottom: 1px solid var(--line-strong); font-size: 0.92rem; color: var(--text); }
.line-list li:first-child { padding-top: 0.2rem; }

/* ---------- The team (Your journey and About) ---------- */

.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
@media (min-width: 820px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 819px) { .team { max-width: 30rem; } }
.team-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.team-card img { display: block; width: 100%; height: auto; aspect-ratio: 768 / 500; object-fit: cover; border-bottom: 2px solid var(--copper); }
.team-body { padding: 1.3rem 1.5rem 1.6rem; font-size: 0.9rem; line-height: 1.55; }
.team-body h2, .team-body h3 { font: 500 1.45rem/1.2 var(--serif); color: var(--ink); margin: 0 0 0.4rem; }
.team-label { font: 600 0.7rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-deep); margin: 0 0 0.8rem; }
.team-role { font-weight: 600; font-size: 0.98rem; color: var(--ink); margin: 0 0 0.75rem; }
.team-body p:last-child { margin-bottom: 0; }

/* ---------- Testimonials ---------- */

.case { display: grid; background: var(--white); border-radius: 10px; overflow: hidden; }
@media (min-width: 860px) { .case { grid-template-columns: 1fr 1fr; } }
.case-story { background: var(--c-navy); color: #fff; padding: clamp(1.6rem, 1rem + 2.5vw, 2.6rem); }
.case-story .eyebrow { color: #fff; font-size: 0.7rem; margin-bottom: 1.1rem; }
.case-story h2 { color: #fff; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.22; margin-bottom: 1.2rem; }
.case-story blockquote { margin: 0 0 1.1rem; padding-left: 1.2rem; border-left: 3px solid var(--copper-light); font: italic 400 1.15rem/1.45 var(--serif); }
.case-story blockquote p { margin: 0; }
.case-story .case-who { margin: 0; font-size: 0.88rem; }
.case-detail { padding: clamp(1.6rem, 1rem + 2.5vw, 2.6rem); font-size: 0.95rem; color: var(--text); }
.case-detail .eyebrow { font-size: 0.7rem; margin: 0 0 0.35rem; }
.case-detail p { margin: 0 0 1.25rem; }
.stats { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.stats li { background: var(--card); border-radius: 6px; padding: 0.9rem 0.9rem 1rem; font-size: 0.78rem; line-height: 1.35; color: var(--muted); }
.stats strong { display: block; font: 500 1.6rem/1.15 var(--serif); color: var(--ink); margin-bottom: 0.2rem; }
@media (max-width: 459px) { .stats { grid-template-columns: 1fr; } }

.pilots { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .pilots { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .pilots { grid-template-columns: repeat(3, 1fr); } }
.pilots li { min-height: 12.5rem; background: var(--c); color: #fff; border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.pilots .tile-name { margin-bottom: 0.8rem; }
.pilots blockquote { margin: 0 0 0.7rem; font: italic 400 1.2rem/1.4 var(--serif); }
.pilots blockquote p { margin: 0; }
.pilots .pilot-who { margin: 0; font-size: 0.88rem; }

/* ---------- Legal pages ---------- */

.page-head { background: var(--paper); padding: clamp(3rem, 2rem + 4vw, 5rem) 0 clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.page-head h1 { max-width: 18em; }
.section-tight { padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0 clamp(3rem, 2rem + 3vw, 4.5rem); }

.prose { max-width: 48rem; }
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 48rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.45rem; }
.prose .version { font-weight: 600; color: var(--ink); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0 0 2rem; padding: 0.9rem 1.1rem; background: var(--card); border-left: 3px solid var(--copper); font-size: 0.95rem; }
.legal-toc { columns: 2 14rem; column-gap: 2rem; margin: 0 0 2.5rem; padding-left: 1.2rem; font-size: 0.95rem; }
.legal-toc li { break-inside: avoid; }
.legal-table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; background: var(--card); border: 1px solid var(--line); }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--line); }
.legal-table thead th { background: var(--paper); font: 600 0.74rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.legal-table tbody tr:last-child > * { border-bottom: 0; }
.legal-table td:first-child { font-weight: 600; color: var(--ink); }
.draft-note { margin: 0 0 2rem; padding: 1rem 1.2rem; border: 1px dashed #a07c00; background: #fff8d6; color: #3d2f00; border-radius: 6px; font-size: 0.95rem; }

/* Cookie settings form (/cookies/) */
.cookie-form { display: grid; gap: 1rem; max-width: 40rem; margin: 1.25rem 0 0; }
.cookie-opt { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.85rem; align-items: start; padding: 1rem 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.cookie-opt input { width: 1.2rem; height: 1.2rem; margin: 0.2rem 0 0; accent-color: var(--copper-deep); }
.cookie-opt label { font-weight: 600; color: var(--ink); }
.cookie-opt p { grid-column: 2; margin: 0; color: var(--muted); font-size: 0.93rem; }
.cookie-status { min-height: 1.5em; font-weight: 600; color: var(--moss); }
.btn-quiet-light { background: transparent; color: var(--ink); border-color: var(--ink); font-size: 1rem; }
.btn-quiet-light:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink-deep); color: var(--on-ink-muted); padding: 3.25rem 0 2rem; font-size: 0.85rem; line-height: 1.55; }
.site-footer a, .link-button { color: var(--on-ink-muted); }
.site-footer a:hover { color: var(--on-ink); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem 2.5rem; } }
.footer-grid p { margin: 0 0 0.5rem; }
.footer-brand .wm { font-size: 1.5rem; }
.footer-h { font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink); margin: 0.35rem 0 0.75rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--ink-rule); color: var(--faint); font-size: 0.78rem; }
.footer-base p { margin: 0; }
.link-button { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; cursor: pointer; }

/* ---------- Cookie banner ---------- */

.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  max-width: 580px;
  margin-inline: auto;
  padding: 1.1rem 1.25rem;
  background: #2a2724;
  color: var(--on-ink);
  border: 1px solid var(--ink-line);
  border-top: 3px solid var(--copper);
  border-radius: 10px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.45);
}
.consent p { margin: 0 0 0.9rem; font-size: 0.92rem; }
.consent a { color: var(--on-ink); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.consent .btn { font-size: 1rem; }
.btn-quiet { background: transparent; color: var(--on-ink); border-color: var(--on-ink-muted); }
.btn-quiet:hover { background: var(--ink); border-color: var(--on-ink); }

/* ---------- Draft markers ----------
   .tbc marks a placeholder or an open decision. None may remain at launch:
   grep -rn 'class="[^"]*tbc' site/ */

.tbc { background: #f1dfc4; color: #3d2f00; box-shadow: 0 0 0 2px #f1dfc4; border-radius: 2px; }
.band-dark .tbc, .band-moss .tbc, .site-footer .tbc, .tile .tbc, .pillars .tbc, .case-story .tbc, .pilots .tbc, .pn-se .tbc {
  background: #5c4a1e;
  color: #f8e7c8;
  box-shadow: 0 0 0 2px #5c4a1e;
}

/* Injected by the deploy scripts only. */
.draft-banner { background: #fff0b3; color: #3d2f00; border-bottom: 1px solid #e6cf73; padding: 0.5rem var(--gutter); font-size: 0.85rem; text-align: center; }

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