/* =========================================================
   HEAD TRASH CLEARANCE — Site styles (v1)
   Sister site to head-trash.com. Same design system.
   UK English. Professional register.
   ========================================================= */

@font-face {
  font-family: 'Frontage Condensed Inline';
  src: url('../fonts/FrontageCondensed-Inline.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette */
  --ht-pink: #c92158;
  --ht-pink-ink: #b31c4c;
  --ht-pink-soft: #e25a83;
  --ht-turquoise: #31aeb7;
  --ht-turquoise-ink: #268a91;
  --ht-turquoise-br: #4cc6cf;
  --ht-aubergine: #463c53;
  --ht-aubergine-ink: #332b3d;
  --ht-grey: #a29da8;
  --ht-grey-light: #e0dee2;
  --ht-grey-pale: #efeff4;
  --ht-white: #ffffff;
  --ht-black: #1b1722;

  /* Semantic */
  --bg: var(--ht-white);
  --bg-alt: var(--ht-grey-pale);
  --bg-invert: var(--ht-aubergine);
  --fg: var(--ht-aubergine);
  --fg-muted: var(--ht-grey);
  --fg-invert: var(--ht-white);
  --fg-accent: var(--ht-pink);
  --fg-eyebrow: var(--ht-turquoise);
  --border: var(--ht-grey-light);
  --ring: 0 0 0 3px rgba(49,174,183,.4);

  /* Typography */
  --font-brand: 'Frontage Condensed Inline', 'Libre Franklin', sans-serif;
  --font-heading: 'Libre Franklin', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-hand: 'Caveat', cursive;

  /* Type scale */
  --fs-eyebrow: 0.75rem;
  --fs-caption: 0.8125rem;
  --fs-body-sm: 0.875rem;
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-lead: 1.25rem;
  --fs-h3: 2rem;
  --fs-h2: 2.75rem;
  --fs-h1: 3.75rem;
  --fs-display: 5rem;

  --lh-tight: 1.05;
  --lh-heading: 1.15;
  --lh-snug: 1.3;
  --lh-body: 1.55;

  --tr-eyebrow: 0.14em;
  --tr-tight: -0.01em;

  /* Space + radius */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(70,60,83,.08);
  --shadow-md: 0 8px 24px rgba(70,60,83,.10);

  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: 220ms;
}

/* ---------- Reset-lite ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ht-aubergine); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0;
  z-index: 1000; text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-5); }


/* =========================================================
   TYPE CLASSES
   ========================================================= */
.ht-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--fg-eyebrow);
  margin: 0 0 var(--space-3);
}
.ht-h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 3.5vw + 1rem, var(--fs-h1));
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-tight);
  font-weight: 800;
  color: var(--ht-aubergine);
  margin: 0 0 var(--space-5);
  text-wrap: balance;
}
.ht-lead {
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: var(--lh-snug);
  margin: 0 0 var(--space-4);
  max-width: 54ch;
}


/* =========================================================
   BUTTONS
   ========================================================= */
.ht-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform 140ms var(--ease);
  white-space: nowrap;
}
.ht-btn:active { transform: translateY(1px); }
.ht-btn:focus-visible { outline: none; box-shadow: var(--ring); }

.ht-btn--pink { background: var(--ht-pink); color: #fff; }
.ht-btn--pink:hover { background: var(--ht-pink-ink); }

.ht-btn--white { background: #fff; color: var(--ht-aubergine); }
.ht-btn--white:hover { background: #f5f3f7; }

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

.ht-btn--outline-dark {
  background: transparent; color: var(--ht-aubergine);
  border-color: var(--ht-aubergine);
}
.ht-btn--outline-dark:hover { background: var(--ht-aubergine); color: #fff; }

.ht-btn--outline-white {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.85);
}
.ht-btn--outline-white:hover { background: #fff; color: var(--ht-aubergine); border-color: #fff; }

.ht-btn--sm { padding: 10px 20px; font-size: var(--fs-body-sm); }
.ht-btn--lg { padding: 18px 36px; font-size: var(--fs-body-lg); }


/* =========================================================
   UTILITY BAR
   ========================================================= */
.utility-bar {
  background: var(--ht-grey-pale);
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-caption);
}
.utility-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-5);
  padding-top: 8px; padding-bottom: 8px;
}
.utility-nav { display: flex; gap: var(--space-5); }
.utility-nav a {
  color: var(--ht-aubergine);
  text-decoration: none;
  font-weight: 500;
  opacity: .8;
  transition: opacity var(--dur) var(--ease);
}
.utility-nav a:hover { opacity: 1; }


/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
}
.nav-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding-top: 14px; padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo { height: 32px; width: auto; }
.brand-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ht-turquoise);
  line-height: 1;
}
.main-nav { margin-left: auto; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: inline-block;
  color: var(--ht-aubergine);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-body-sm);
  line-height: 1.2;
  padding: 8px 0;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.main-nav a:hover { color: var(--ht-pink); }
.main-nav .has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: 2px;
  transition: transform var(--dur) var(--ease);
}
.main-nav .has-dropdown:hover > a::after,
.main-nav .has-dropdown:focus-within > a::after {
  transform: rotate(225deg);
  vertical-align: -2px;
}
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: -16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  min-width: 240px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: var(--fs-body-sm);
  font-weight: 500;
  white-space: nowrap;
}
.dropdown a:hover { background: var(--ht-grey-pale); color: var(--ht-pink); }
.nav-ctas {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-shrink: 0;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  padding: 10px;
  margin-left: auto;
}
.mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ht-aubergine);
  margin: 5px 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: #fff;
  color: var(--ht-aubergine);
  position: relative;
  overflow: hidden;
  padding: var(--space-9) 0 112px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero .ht-h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
}
.hero-h1-pink { color: var(--ht-pink); }
.hero .ht-lead {
  font-size: 1.25rem;
  line-height: 1.45;
  max-width: 56ch;
  margin: 0 0 14px;
}
.hero-support {
  font-size: var(--fs-body);
  line-height: var(--lh-snug);
  margin: 0 0 var(--space-7);
  max-width: 56ch;
  color: #7a7482;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-mark {
  position: relative;
  min-height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-mark img {
  width: 90%;
  max-width: 440px;
  opacity: .85;
  transform: rotate(-4deg);
  filter: drop-shadow(0 18px 48px rgba(201,33,88,.14));
}


/* =========================================================
   SHARED SECTION PATTERNS
   ========================================================= */
.section-opener { max-width: 920px; margin-bottom: 64px; }
.section-opener h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ht-aubergine);
  text-wrap: balance;
}
.section-opener p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
  color: var(--ht-aubergine);
  max-width: 780px;
}
.section-opener p + p { margin-top: 16px; }
.section-opener p strong { color: var(--ht-pink); font-weight: 700; }


/* =========================================================
   SECTION 2 — METHOD INTRO
   ========================================================= */
.section-method-intro {
  background: var(--ht-grey-pale);
  padding: 112px 0;
}
.three-ops { margin-top: 48px; }
.three-ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.op-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1.5px solid var(--ht-grey-light);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.op-num {
  width: 48px; height: 48px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  color: #fff;
}
.op-num--pink { background: var(--ht-pink); }
.op-num--turq { background: var(--ht-turquoise); }
.op-num--aubergine { background: var(--ht-aubergine); }
.op-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
  color: var(--ht-aubergine);
}
.op-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ht-aubergine);
}
.method-origin {
  margin: 48px 0 0;
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 780px;
  color: var(--ht-aubergine);
  font-style: italic;
}


/* =========================================================
   SECTION 3 — AUDIENCE ROUTING
   ========================================================= */
.section-audience {
  background: #fff;
  padding: 112px 0;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.audience-card {
  background: var(--ht-grey-pale);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.audience-icon img { width: 56px; height: 56px; }
.audience-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
  color: var(--ht-aubergine);
}
.audience-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ht-aubergine);
  flex: 1;
}
.audience-card .ht-btn { align-self: flex-start; margin-top: 8px; }


/* =========================================================
   SECTION 4 — CASE STUDIES
   ========================================================= */
.section-outcomes {
  background: var(--ht-grey-pale);
  padding: 112px 0;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  text-decoration: none;
  color: var(--ht-aubergine);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.5px solid var(--ht-grey-light);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.case-card:hover {
  border-color: var(--ht-pink-soft);
  box-shadow: var(--shadow-md);
}
.case-stat {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 28px;
  line-height: 1.1;
  color: var(--ht-pink);
  letter-spacing: -0.02em;
}
.case-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  margin: 0;
}
.case-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-muted);
}


/* =========================================================
   SECTION 5 — ECOSYSTEM
   ========================================================= */
.section-ecosystem {
  background: #fff;
  padding: 112px 0;
}
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}
.eco-item {
  background: var(--ht-grey-pale);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.eco-icon { font-size: 28px; line-height: 1; }
.eco-icon-img { width: 56px; height: 56px; object-fit: contain; }
.eco-item h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  margin: 0;
  color: var(--ht-aubergine);
}
.eco-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ht-aubergine);
}
.eco-item p em { font-style: italic; }

.eco-highlight {
  background: var(--ht-grey-pale);
  border-left: 4px solid var(--ht-pink);
  border-radius: 0 20px 20px 0;
  padding: 40px 48px;
  margin-bottom: 28px;
}
.eco-highlight--turq { border-left-color: var(--ht-turquoise); }
.eco-highlight-inner h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ht-aubergine);
}
.eco-highlight-inner p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ht-aubergine);
  max-width: 780px;
}
.eco-highlight-inner p:last-child { margin-bottom: 0; }

.eco-frame {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ht-aubergine);
  margin: 48px 0 0;
}


/* =========================================================
   SECTION 6 — TRAINING ARCHITECTURE
   ========================================================= */
.section-training {
  background: var(--ht-grey-pale);
  padding: 112px 0;
}
.training-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.training-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1.5px solid var(--ht-grey-light);
}
.training-card--feature {
  border-color: var(--ht-turquoise);
  box-shadow: 0 4px 20px rgba(49,174,183,.12);
}
.training-level {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.training-level--pink { color: var(--ht-pink); }
.training-level--turq { color: var(--ht-turquoise); }
.training-level--aubergine { color: var(--ht-aubergine); }
.training-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
  color: var(--ht-aubergine);
}
.training-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ht-aubergine);
  flex: 1;
}
.training-card .ht-btn { align-self: flex-start; margin-top: 8px; }


/* =========================================================
   SECTION 7 — QUOTES
   ========================================================= */
.section-quotes {
  background: #fff;
  padding: 112px 0;
}
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.quote-card {
  background: var(--ht-grey-pale);
  border-radius: 20px;
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  margin-top: 22px;
}
.quote-card-mark {
  position: absolute;
  top: -22px;
  right: 28px;
  width: 56px;
  height: 56px;
  display: block;
}
.quote-card blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ht-aubergine);
  flex: 1;
}
.quote-card blockquote p { margin: 0; }
.quote-card-attrib {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--ht-grey-light);
}
.quote-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  object-fit: cover;
  flex-shrink: 0;
}
.quote-card-attrib strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ht-aubergine);
}
.quote-card-attrib span {
  display: block;
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
}


/* =========================================================
   SECTION 8 — ABOUT ALEXIA
   ========================================================= */
.section-about {
  background: var(--ht-grey-pale);
  padding: 112px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}
.about-portrait img {
  width: 320px;
  height: 320px;
  border-radius: var(--r-pill);
  object-fit: cover;
}
.about-copy h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--ht-aubergine);
}
.about-copy p {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 16px;
  color: var(--ht-aubergine);
  max-width: 640px;
}
.about-copy p em { font-style: italic; }
.about-copy .ht-btn { margin-top: 8px; }


/* =========================================================
   SECTION 9 — STILL EXPLORING
   ========================================================= */
.section-explore {
  background: #fff;
  padding: 112px 0;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.explore-card {
  background: var(--ht-grey-pale);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.explore-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  margin: 0;
  color: var(--ht-aubergine);
}
.explore-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ht-aubergine);
  flex: 1;
}
.explore-card .ht-btn { align-self: flex-start; }
.explore-icon { width: 48px; height: 48px; object-fit: contain; }


/* =========================================================
   SECTION 10 — CLOSING CTA
   ========================================================= */
.section-cta {
  background: var(--ht-aubergine);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.section-cta h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
  margin: 0 0 40px;
  color: #fff;
}
.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ht-aubergine); color: #fff; }

.footer-lockup {
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.footer-lockup-scribble {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 520px;
  opacity: .06;
  pointer-events: none;
}
.footer-lockup-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-brand img { height: 32px; }
.footer-strapline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
  max-width: 440px;
  color: #fff;
}
.footer-fb {
  border-left: 1px solid rgba(255,255,255,.18);
  padding-left: 56px;
}
.footer-fb-desc {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: 420px;
  opacity: .88;
  color: #fff;
}
.footer-fb-desc a { color: var(--ht-turquoise-br); text-decoration: underline; text-underline-offset: 3px; }
.footer-fb-desc a:hover { color: #fff; }

.footer-cols {
  background: var(--ht-aubergine-ink);
  padding: 56px 0 24px;
}
.footer-cols-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.footer-col h5 {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ht-turquoise-br);
  font-weight: 700;
}
.footer-col a {
  display: block;
  color: #fff;
  text-decoration: none;
  opacity: .78;
  font-size: 14px;
  padding: 5px 0;
  transition: opacity var(--dur) var(--ease);
}
.footer-col a:hover { opacity: 1; }

.footer-soft-link {
  background: var(--ht-aubergine-ink);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
}
.footer-soft-link .container {
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,.82);
}
.footer-soft-link a {
  color: var(--ht-turquoise-br);
  text-decoration: none;
  font-weight: 600;
}
.footer-soft-link a:hover { text-decoration: underline; }

.footer-bottom {
  background: var(--ht-aubergine-ink);
  padding: 20px 0 32px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}
.footer-bottom-copy { opacity: .6; }
.footer-bottom-social { display: flex; gap: 14px; }
.footer-bottom-social a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  opacity: .9;
}
.footer-bottom-social a:hover { opacity: 1; }


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .utility-bar { display: none; }

  .mobile-toggle { display: block; }

  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    background: #fff;
    box-shadow: -12px 0 32px rgba(70,60,83,.18);
    transform: translateX(100%);
    transition: transform 280ms var(--ease);
    padding: 88px 0 24px;
    overflow-y: auto;
    z-index: 200;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav > ul > li { border-bottom: 1px solid var(--border); }
  .main-nav a { display: block; padding: 14px var(--space-5); font-size: var(--fs-body); }
  .main-nav .has-dropdown > a::after { display: none; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    min-width: 0;
  }
  .dropdown a { padding-left: 40px; font-size: var(--fs-body-sm); color: var(--fg-muted); }

  .nav-ctas { display: none; }

  /* Hero */
  .hero { padding: var(--space-8) 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-mark { min-height: 240px; }
  .hero-mark img { max-width: 280px; }
  .hero .ht-h1 { font-size: clamp(2rem, 6vw, 3rem); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .ht-btn { width: 100%; justify-content: center; }

  /* Sections */
  .section-method-intro,
  .section-audience,
  .section-outcomes,
  .section-ecosystem,
  .section-training,
  .section-quotes,
  .section-about,
  .section-explore { padding: 72px 0; }

  .section-opener { margin-bottom: 40px; }

  .three-ops-grid,
  .audience-grid,
  .eco-grid,
  .explore-grid,
  .quotes-grid { grid-template-columns: 1fr; }

  .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .training-grid { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .about-portrait img { width: 200px; height: 200px; margin: 0 auto; }
  .about-copy { text-align: left; }

  .eco-highlight { padding: 28px 24px; }

  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .ht-btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-lockup { padding: 56px 0 40px; }
  .footer-lockup-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-fb { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding-top: 32px; }
  .footer-strapline { font-size: 20px; }
  .footer-cols-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
}

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

/* ============================================================
   COMPATIBILITY LAYER v3 — 29 Jul 2026
   Aligns the July page generation's unprefixed tokens to the
   official Head Trash brand system (HT Brand Bible /
   colors_and_type.css / head-trash.com). Every value below is a
   brand primitive or derived from one — no invented hexes.
   ============================================================ */
:root{
  /* Colour aliases → brand primitives */
  --ht-aubergine-soft:#5b5069;            /* brand primitive missing from legacy base */
  --aubergine:        var(--ht-aubergine);      /* #463c53 */
  --aubergine-dark:   var(--ht-aubergine-ink);  /* #332b3d */
  --pink:             var(--ht-pink);           /* #c92158 */
  --turquoise:        var(--ht-turquoise);      /* #31aeb7 */
  --turquoise-bright: var(--ht-turquoise-br);   /* #4cc6cf */
  --coral:            #e07060;                  /* icon accent (page-embedded value) */
  --ink:              var(--ht-aubergine);      /* body copy = aubergine per brand */
  --ink-light:        var(--ht-aubergine-soft); /* #5b5069 */
  --soft-bg:          var(--ht-grey-pale);      /* #efeff4 section wash */
  --soft-border:      var(--ht-grey-light);     /* #e0dee2 */
  --radius:           16px;                     /* brand card radius (--r-lg) */

  /* Type aliases → brand families */
  --ff-head: var(--font-heading);
  --ff-body: var(--font-body);
  --ff-hand: var(--font-hand);

  /* Spacing aliases → brand scale (confirmed by in-page fallback --sp-6:96px) */
  --sp-1: 12px;   /* --space-3 */
  --sp-2: 24px;   /* --space-5 */
  --sp-3: 32px;   /* --space-6 */
  --sp-4: 48px;   /* --space-7 */
  --sp-5: 64px;   /* --space-8 */
  --sp-6: 96px;   /* --space-9 */
}

/* --- Collision fix: July pages use section.section-opener as the
       full-width outer wrapper; the legacy rule above (max-width:920px,
       uncentred) was for div.section-opener inside a container.
       Homepage divs keep the legacy behaviour. --- */
section.section-opener{max-width:none;margin:0;padding:var(--sp-5) 0;}
section.section-opener .container{max-width:1200px;}

/* --- Brand semantic classes the site stylesheet was missing
       (verbatim from colors_and_type.css) --- */
.ht-h2{font-family:var(--font-heading);font-size:clamp(1.875rem,2.5vw + 1rem,var(--fs-h2));line-height:var(--lh-heading);letter-spacing:var(--tr-tight, -0.01em);font-weight:800;color:var(--ht-aubergine);margin:0 0 16px;text-wrap:balance;}
.ht-h3{font-family:var(--font-heading);font-size:var(--fs-h3);line-height:var(--lh-heading);font-weight:700;color:var(--ht-aubergine);margin:0 0 12px;}
.ht-h4{font-family:var(--font-heading);font-size:1.5rem;line-height:var(--lh-snug);font-weight:700;color:var(--ht-aubergine);margin:0 0 12px;}
.section-intro{max-width:66ch;font-size:var(--fs-body-lg);line-height:var(--lh-loose,1.7);color:var(--ink-light);margin:0 0 var(--sp-3);}
.ht-link{color:var(--ht-pink);font-weight:600;text-decoration:underline;text-underline-offset:3px;}
.ht-link:hover{color:var(--ht-aubergine);}
.byline{font-size:var(--fs-caption);color:var(--fg-muted);}

/* Buttons: map the July variants onto brand outline buttons */
.ht-btn--outline{background:transparent;color:var(--ht-aubergine);border-color:var(--ht-aubergine);}
.ht-btn--outline:hover{background:var(--ht-aubergine);color:var(--ht-white);}
.ht-btn--ghost{background:transparent;color:var(--ht-aubergine);border-color:var(--ht-aubergine);}
.ht-btn--ghost:hover{background:var(--ht-aubergine);color:var(--ht-white);}
[class*="hero"] .ht-btn--ghost,[class*="hero"] .ht-btn--outline{color:var(--ht-white);border-color:rgba(255,255,255,.75);}
[class*="hero"] .ht-btn--ghost:hover,[class*="hero"] .ht-btn--outline:hover{background:var(--ht-white);color:var(--ht-aubergine);}

/* Quote blocks (July generation) — brand quote idiom */
.quote-body{font-family:var(--font-body);font-style:italic;font-size:var(--fs-body-lg);line-height:var(--lh-snug,1.3);color:var(--fg);margin:0;}
.quote-footer{display:flex;align-items:center;gap:12px;margin-top:var(--sp-2);}
.quote-cite{font-weight:600;color:var(--ht-aubergine);font-size:var(--fs-body-sm);font-style:normal;}
.quote-icon{width:28px;height:28px;opacity:.45;flex-shrink:0;}
.quote-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;flex-shrink:0;}

.case-study-card{background:var(--ht-white);border-radius:16px;box-shadow:var(--shadow-sm,0 2px 8px rgba(70,60,83,.08));padding:var(--space-6,32px);}

/* Footer variants used on the newer pages */
.footer-logo{max-height:36px;width:auto;}
.footer-lockup-text{color:var(--ht-white);opacity:.88;}

/* --- Caveat retirement (29 Jul): the handwriting face read as a stray
       script font in page contexts. Pullquotes and taglines move to the
       brand quote idiom (italic body face). The About-page signature
       keeps Caveat — that's the one legitimate margin-note use. --- */
.ah-pullquote,.htc-pullquote,.method-pullquote,.sci-pullquote,.log-pullquote,.ssc-stat{
  font-family:var(--font-body);font-style:italic;font-weight:600;font-size:1.3rem;line-height:1.45;
}
.cave-block .cave-highlight,.ball-card .ball-tagline{
  font-family:var(--font-body);font-style:italic;font-weight:600;font-size:1.05rem;
}
.log-hero-body{font-family:var(--font-body);font-style:normal;font-size:1.15rem;line-height:1.6;}

/* Pink pill buttons: pin colours across all states (30 Jul — text was vanishing to white on click) */
.ht-btn--pink:link, .ht-btn--pink:visited { background: var(--ht-pink); color: var(--ht-white); }
.ht-btn--pink:hover, .ht-btn--pink:active, .ht-btn--pink:focus { background: var(--ht-pink-ink); color: var(--ht-white); }
