/* Earn the Right — base stylesheet
   Tokens and rules follow BRAND.md exactly. Do not introduce colours,
   typefaces or effects outside that file without checking with Peter. */

:root {
  --mineral-blue-grey: #DDE4E5;
  --near-black: #191919;
  --burnt-clay: #C45C3C;
  --dark-charcoal: #23272B;
  --chalk: #F1F1ED;

  --serif: "EB Garamond", Georgia, serif;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1120px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--near-black);
  background: var(--chalk);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--burnt-clay);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

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

.field {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.field--mineral { background: var(--mineral-blue-grey); }
.field--chalk { background: var(--chalk); }
.field--dark {
  background: var(--dark-charcoal);
  color: var(--chalk);
}

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

.site-header {
  background: var(--mineral-blue-grey);
  padding-block: 1.5rem;
  border-bottom: 1px solid rgba(25, 25, 25, 0.12);
}

.site-header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
}

.wordmark {
  display: inline-block;
  line-height: 0;
}

.wordmark img {
  height: 38px;
  width: auto;
}

.wordmark--exit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.wordmark--exit .wordmark-icon {
  height: 44px;
  width: auto;
}

.wordmark--exit .wordmark-logo {
  height: 32px;
  width: auto;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--near-black);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-bottom-color: var(--burnt-clay);
}

/* ---------- Hero ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.hero-copy {
  max-width: 46ch;
}

.hero-cover {
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  height: auto;
}

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-cover {
    max-width: 280px;
  }
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.hero .rule {
  width: 4.5rem;
  height: 3px;
  background: var(--burnt-clay);
  border: none;
  margin: 0 0 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 42ch;
  margin: 0 0 2rem;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--burnt-clay);
  color: var(--chalk);
  padding: 0.85em 1.6em;
  border-radius: 2px;
  border: 1px solid var(--burnt-clay);
}

.btn:hover,
.btn:focus-visible {
  background: transparent;
  color: var(--near-black);
}

.field--dark .btn:hover,
.field--dark .btn:focus-visible {
  color: var(--chalk);
  border-color: var(--chalk);
}

.link {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--burnt-clay);
  padding-bottom: 1px;
}

/* ---------- Section headings ---------- */

.section-head {
  max-width: 54ch;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
}

/* ---------- Kicker ----------
   A short functional label above a heading, used to give every
   section a place in a consistent system rather than reading as a
   one-off block. Sans serif per the brand's own rule that functional
   wayfinding stays Poppins while the editorial idea stays serif. Use
   on a bare record-story heading; skip it where a section-head
   already carries a record-lede underneath its h2, to avoid stacking
   three tiers of label on one heading. */

.kicker {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burnt-clay);
  margin: 0 0 0.6rem;
}

/* ---------- Operating loop ---------- */

.loop .section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.loop-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem clamp(0.6rem, 2vw, 1.25rem);
  margin-bottom: 1.75rem;
}

.loop-stage {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  white-space: nowrap;
}

.loop-arrow {
  width: clamp(28px, 4vw, 44px);
  height: auto;
  filter: invert(1);
  opacity: 0.9;
  flex-shrink: 0;
}

.loop-gloss {
  max-width: 62ch;
  color: rgba(241, 241, 237, 0.8);
  margin: 0;
}

@media (max-width: 560px) {
  .loop-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .loop-arrow {
    transform: rotate(90deg);
    margin-left: 0.6rem;
  }
}

/* ---------- Programmes ---------- */

.programmes-list {
  display: flex;
  flex-direction: column;
}

.programme {
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(25, 25, 25, 0.18);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 1rem clamp(1.5rem, 4vw, 3rem);
}

.programme:last-child {
  border-bottom: 1px solid rgba(25, 25, 25, 0.18);
}

.programme-icon {
  width: 64px;
  height: auto;
  margin-bottom: 0.75rem;
}

.programme h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 0.3rem;
}

.programme .tagline {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--burnt-clay);
  margin: 0;
}

.programme p.desc {
  margin: 0;
  max-width: 62ch;
}

@media (max-width: 640px) {
  .programme {
    grid-template-columns: 1fr;
  }
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-copy {
  max-width: 60ch;
}

.about-photo {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-inline: auto;
  border-radius: 2px;
}

@media (max-width: 720px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    order: -1;
    max-width: 240px;
  }
}

/* ---------- Book ---------- */

.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.book-cover {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.book-copy {
  max-width: 46ch;
}

@media (max-width: 720px) {
  .book-grid {
    grid-template-columns: 1fr;
  }

  .book-cover {
    max-width: 320px;
    margin-inline: auto;
  }
}

.book blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.35;
  margin: 0 0 1.5rem;
  padding: 0;
}

.book cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(241, 241, 237, 0.75);
  margin-bottom: 2rem;
}

.book-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin: 1.5rem 0 0;
}

/* ---------- Track record ---------- */

.record-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  max-width: 44ch;
  margin: 0.75rem 0 0;
}

.record-intro {
  max-width: 62ch;
  margin: 0 0 2.5rem;
}

.record-story {
  max-width: 68ch;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.record-story h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 0.6rem;
}

.record-story p {
  margin: 0 0 1rem;
}

.record-story p:last-child {
  margin-bottom: 0;
}

.record-table {
  margin: 0;
  max-width: 72ch;
}

.record-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: 0.5rem clamp(1rem, 3vw, 2rem);
  padding-block: 1rem;
  border-top: 1px solid rgba(25, 25, 25, 0.18);
}

.record-row:last-child {
  border-bottom: 1px solid rgba(25, 25, 25, 0.18);
}

.record-row dt {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--burnt-clay);
}

.record-row dd {
  margin: 0;
}

@media (max-width: 600px) {
  .record-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

.record-also {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  max-width: 62ch;
  font-family: var(--sans);
  font-size: 0.95rem;
}

.record-also li {
  margin-bottom: 0.5rem;
}

.record-also li:last-child {
  margin-bottom: 0;
}

/* ---------- Campaign banner (seasonal, toggled manually in index.html) ---------- */

.campaign-banner {
  padding-block: 1.1rem;
}

.campaign-banner p {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.95rem;
}

/* ---------- Campaign pages (/campaigns/*.html) ---------- */

.campaign-cta {
  margin-top: 2rem;
}

.btn-outline {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  color: var(--near-black);
  padding: 0.85em 1.6em;
  border-radius: 2px;
  border: 1px solid var(--near-black);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--near-black);
  color: var(--chalk);
}

.field--dark .btn-outline {
  color: var(--chalk);
  border-color: var(--chalk);
}

.field--dark .btn-outline:hover,
.field--dark .btn-outline:focus-visible {
  background: var(--chalk);
  color: var(--near-black);
}

.exit-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: 2rem;
}

.exit-stat {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  max-width: 50ch;
  margin: 1.75rem 0 0.5rem;
}

.exit-stat-source {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: rgba(25, 25, 25, 0.65);
  margin: 0;
}

.field--dark .exit-stat-source {
  color: rgba(241, 241, 237, 0.75);
}

.exit-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.exit-path-cover {
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 2px;
  display: block;
  margin: 0 0 1rem;
}

.exit-path h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 0.6rem;
}

.exit-path p {
  margin: 0 0 1rem;
}

.exit-followup {
  max-width: 68ch;
  margin: 0;
}

.feature-list {
  max-width: 62ch;
  margin: 0;
  padding-left: 1.2em;
}

.feature-list li {
  margin-bottom: 0.75rem;
}

.feature-list li:last-child {
  margin-bottom: 0;
}

/* ---------- Playbook request form ---------- */

.playbook-form {
  max-width: 460px;
  margin: 2rem 0 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}

.form-field {
  margin-bottom: 1.4rem;
}

.form-field label {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.form-field input {
  width: 100%;
  font-family: var(--sans);
  font-size: 1.05rem;
  padding: 0.55em 0;
  border: none;
  border-bottom: 1.5px solid var(--near-black);
  background: transparent;
  color: var(--near-black);
  border-radius: 0;
}

.form-field input:focus-visible {
  outline: none;
  border-bottom-color: var(--burnt-clay);
}

.playbook-form .btn {
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.form-note {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: rgba(25, 25, 25, 0.65);
  max-width: 50ch;
  margin: 1rem 0 0;
}

.form-success,
.form-error {
  max-width: 50ch;
}

.form-success p,
.form-error p {
  font-family: var(--serif);
  font-size: 1.15rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .exit-paths {
    grid-template-columns: 1fr;
  }
}

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

.contact .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.contact-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  max-width: 22ch;
  margin: 0;
}

.contact-details {
  font-family: var(--sans);
  font-size: 1rem;
}

.contact-details a {
  text-decoration: none;
  border-bottom: 1px solid var(--burnt-clay);
}

.site-footer {
  background: var(--dark-charcoal);
  color: rgba(241, 241, 237, 0.65);
  font-family: var(--sans);
  font-size: 0.85rem;
  padding-block: 1.5rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}

.site-footer a {
  color: rgba(241, 241, 237, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 92, 60, 0.6);
}

/* ==========================================================
   Multi-page site (October 2026 rebuild)
   Same tokens, same type pairing. Added: a fuller header with
   a call to action, sub-brand lock-ups set inline so they pick
   up the web fonts, story blocks, the two-door offer layout and
   a richer footer.
   ========================================================== */

/* ---------- Header with nav + CTA ---------- */

.site-header .wrap {
  align-items: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--burnt-clay);
}

.btn--small {
  font-size: 0.85rem;
  padding: 0.6em 1.15em;
}

.site-nav .btn {
  color: var(--chalk);
  border-bottom: 1px solid var(--burnt-clay);
  padding-bottom: 0.6em;
}

.site-nav .btn:hover,
.site-nav .btn:focus-visible {
  color: var(--near-black);
}

/* On phones the hero carries the call to action, so the header
   button is dropped to keep the first screen for the message. */
@media (max-width: 640px) {
  .site-nav .btn { display: none; }
}

.hero .kicker {
  font-size: 0.8rem;
  max-width: none;
  margin: 0 0 1rem;
}

.hero .small-print {
  flex-basis: 100%;
  font-size: 0.85rem;
  margin: 0;
}

/* Sub-brand lock-ups: the approved SVG files, inlined unchanged
   (except sizing) so EB Garamond and Poppins render as designed. */

.lockup {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.lockup svg {
  display: block;
  height: 58px;
  width: auto;
}

/* Parent-brand bar on sub-brand pages: makes the way back to
   Earn the Right Coaching explicit, rather than relying on the
   lock-up being clickable. */
.parent-bar {
  background: var(--dark-charcoal);
  color: var(--chalk);
  font-family: var(--sans);
  font-size: 0.82rem;
  padding-block: 0.55rem;
}

.parent-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
}

.parent-bar a {
  color: var(--chalk);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
}

.parent-bar a:hover,
.parent-bar a:focus-visible { border-bottom-color: var(--burnt-clay); }

.parent-bar-note { opacity: 0.65; }

@media (max-width: 640px) {
  .parent-bar-note { display: none; }
}

@media (max-width: 640px) {
  .wordmark img { height: 30px; }
  .lockup svg { height: 46px; }
  .site-nav a { font-size: 0.9rem; }
}

/* ---------- Hero variants ---------- */

.hero h1 { max-width: 20ch; }

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

.hero .lede {
  font-size: clamp(1.2rem, 2.2vw, 1.35rem);
  max-width: 44ch;
}

.hero-icon {
  width: clamp(72px, 9vw, 104px);
  height: auto;
  margin-bottom: 1.25rem;
}

.hero-side {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-inline: auto;
}

@media (max-width: 760px) {
  .hero-side { max-width: 170px; }
}

/* ---------- Story blocks ---------- */
/* Long-form narrative: one column, serif, generous measure. */

.story {
  max-width: 64ch;
}

.story h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 1.5rem;
}

.story h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 2.5rem 0 0.75rem;
}

.story p {
  margin: 0 0 1.15rem;
}

.story p:last-child { margin-bottom: 0; }

.story .turn {
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.45rem);
  line-height: 1.45;
  border-left: 3px solid var(--burnt-clay);
  padding-left: 1.1rem;
  margin: 1.75rem 0;
}

.field--dark .story .turn { color: var(--chalk); }

.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.3;
  max-width: 28ch;
  margin: 0;
}

.pullquote-source {
  font-family: var(--sans);
  font-size: 0.9rem;
  margin: 1rem 0 0;
  opacity: 0.8;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- Routes (homepage) ---------- */

.routes {
  display: flex;
  flex-direction: column;
}

.route {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 1rem clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
  border-top: 1px solid rgba(25, 25, 25, 0.18);
  align-items: start;
}

.route:last-child { border-bottom: 1px solid rgba(25, 25, 25, 0.18); }

.route-icon {
  width: 72px;
  height: auto;
}

.route-situation {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  line-height: 1.3;
  margin: 0 0 0.6rem;
}

.route-name {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.route-name span { color: var(--burnt-clay); }

.route-body p { margin: 0 0 1rem; }

.route-doors {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.55;
}

.route-doors li {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.route-doors strong { font-weight: 600; }

@media (max-width: 760px) {
  .route { grid-template-columns: 1fr; }
  .route-icon { width: 60px; }
}

.route-aside {
  font-family: var(--sans);
  font-size: 0.95rem;
  margin: 2rem 0 0;
}

/* ---------- Doors (programme pages) ---------- */

.doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 760px) {
  .doors { grid-template-columns: 1fr; }
}

.door {
  border-top: 3px solid var(--near-black);
  padding-top: 1.25rem;
}

.door--first { border-top-color: var(--burnt-clay); }

.door-label {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.door h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.2;
  margin: 0 0 0.85rem;
}

.door p { margin: 0 0 1rem; }

.door-facts {
  margin: 1.25rem 0 0;
  font-family: var(--sans);
  font-size: 0.92rem;
}

.door-facts div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-block: 0.55rem;
  border-top: 1px solid rgba(25, 25, 25, 0.15);
}

.field--dark .door-facts div { border-top-color: rgba(241, 241, 237, 0.2); }

.door-facts dt { font-weight: 600; }
.door-facts dd { margin: 0; }

.field--dark .door { border-top-color: var(--chalk); }
.field--dark .door--first { border-top-color: var(--burnt-clay); }

.door-note {
  max-width: 64ch;
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
}

/* ---------- Fit lists (who it's for / not for) ---------- */

.fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 680px) {
  .fit { grid-template-columns: 1fr; }
}

.fit h3 {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.fit ul {
  margin: 0;
  padding-left: 1.1em;
}

.fit li { margin-bottom: 0.6rem; }

/* ---------- Three legs (Clarity) ---------- */

.legs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin: 2rem 0 0;
}

@media (max-width: 700px) {
  .legs { grid-template-columns: 1fr; }
}

.leg h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
}

.leg p { margin: 0; }

.leg-num {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--burnt-clay);
  letter-spacing: 0.1em;
  margin: 0 0 0.4rem;
}

/* ---------- Proof ---------- */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

@media (max-width: 820px) {
  .proof-grid { grid-template-columns: 1fr; }
}

.proof-grid h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
}

.proof-grid p { margin: 0; }

/* ---------- Timeline (About) ---------- */

.chapter {
  display: grid;
  grid-template-columns: 9rem minmax(0, 64ch);
  gap: 0.5rem clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(25, 25, 25, 0.15);
}

.chapter-when {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--burnt-clay);
  padding-top: 0.35rem;
}

.chapter h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
}

.chapter p { margin: 0 0 1rem; }
.chapter p:last-child { margin-bottom: 0; }

.chapter .lesson {
  font-family: var(--sans);
  font-size: 0.92rem;
  border-left: 3px solid var(--burnt-clay);
  padding-left: 0.9rem;
}

@media (max-width: 700px) {
  .chapter { grid-template-columns: 1fr; }
}

/* ---------- Closing call ---------- */

.closer h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.2;
  max-width: 22ch;
  margin: 0 0 1rem;
}

.closer p {
  max-width: 52ch;
  margin: 0 0 2rem;
}

.small-print {
  font-family: var(--sans);
  font-size: 0.85rem;
  max-width: 62ch;
  opacity: 0.8;
}

/* ---------- Testimonials ----------
   Verbatim quotes from LinkedIn recommendations. The relation line
   says how each person knows Peter, so peers never read as clients. */

.testimonial {
  max-width: 60ch;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(25, 25, 25, 0.18);
}

.field--dark .testimonial { border-top-color: rgba(241, 241, 237, 0.2); }

.testimonial blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  line-height: 1.4;
  margin: 0 0 1.25rem;
  padding: 0;
}

.testimonial blockquote::before {
  content: "\201C";
  color: var(--burnt-clay);
  margin-right: 0.05em;
}

.testimonial blockquote::after { content: "\201D"; }

.testimonial figcaption {
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.5;
}

.testimonial figcaption span { display: block; }
.testimonial-name { font-weight: 600; }
.testimonial-relation { opacity: 0.75; }

/* ---------- Footer (full) ---------- */

.site-footer--full {
  padding-block: clamp(2.5rem, 6vw, 3.5rem) 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo svg {
  height: 52px;
  width: auto;
  display: block;
}

.footer-grid h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(241, 241, 237, 0.55);
  margin: 0 0 0.85rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li { margin-bottom: 0.5rem; }

.footer-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(241, 241, 237, 0.85);
  margin: 0.75rem 0 0;
}

.footer-base {
  border-top: 1px solid rgba(241, 241, 237, 0.15);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

/* ---------- Cookie consent (consent.js) ---------- */

.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  max-width: 640px;
  margin-inline: auto;
  background: var(--dark-charcoal);
  color: var(--chalk);
  border-top: 3px solid var(--burnt-clay);
  padding: 1rem 1.25rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.consent-banner p { margin: 0; flex: 1 1 280px; }
.consent-banner a { color: var(--chalk); border-bottom: 1px solid var(--burnt-clay); text-decoration: none; }
.consent-actions { display: flex; gap: 0.6rem; }
.consent-banner button { cursor: pointer; }
.consent-banner .btn-outline { color: var(--chalk); border-color: var(--chalk); }

.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: rgba(241, 241, 237, 0.85);
  border-bottom: 1px solid rgba(196, 92, 60, 0.6);
  cursor: pointer;
}
