/* ==========================================================================
   You & AI — Design System
   youandai.help
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts — self-hosted, no Google Fonts CDN
   Bitter: variable font (400–600), used for headings and pull quotes
   Inter: variable font (400–600), used for body, navigation, metadata
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Bitter';
  src: url('/assets/fonts/bitter-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bitter';
  src: url('/assets/fonts/bitter-italic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Custom Properties — design tokens
   -------------------------------------------------------------------------- */

:root {
  /* Colour palette */
  --primary-text: #2D2D2D;
  --page-bg: #FAF8F5;
  --secondary-text: #6B6B6B;
  --accent: #257A77;
  --accent-hover: #1E6663;
  --light-border: #E5E0DB;
  --white: #FFFFFF;

  /* Typography */
  --font-heading: 'Bitter', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Font sizes — mobile-first (16px base) */
  --text-xs: 0.8125rem;   /* 13px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */

  /* Spacing */
  --space-xs: 0.25rem;    /* 4px */
  --space-sm: 0.5rem;     /* 8px */
  --space-md: 1rem;       /* 16px */
  --space-lg: 1.5rem;     /* 24px */
  --space-xl: 2rem;       /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */
  --space-4xl: 5rem;      /* 80px */

  /* Layout */
  --content-width: 680px;
  --site-width: 1200px;
  --nav-height: 4rem;

  /* Border */
  --radius: 4px;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--primary-text);
  background-color: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Skip link — accessibility
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--primary-text);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  text-decoration: none;
  border-radius: var(--radius);
  z-index: 1000;
}

.skip-link:focus {
  top: var(--space-md);
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary-text);
}

h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

h4 {
  font-size: var(--text-lg);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

p {
  margin-bottom: var(--space-lg);
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.container--wide {
  max-width: var(--site-width);
}

.page-content {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-4xl);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--light-border);
  background-color: var(--page-bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  max-width: var(--site-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.site-logo {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--primary-text);
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
  color: var(--primary-text);
}

.site-nav {
  display: none;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-xl);
}

.site-nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--secondary-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--primary-text);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--primary-text);
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--primary-text);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--page-bg);
  z-index: 99;
  padding: var(--space-xl) var(--space-lg);
  border-top: 1px solid var(--light-border);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav li {
  border-bottom: 1px solid var(--light-border);
}

.mobile-nav a {
  display: block;
  padding: var(--space-md) 0;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--primary-text);
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

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

.site-footer {
  border-top: 1px solid var(--light-border);
  padding: var(--space-3xl) 0;
  margin-top: auto;
}

.site-footer .container {
  max-width: var(--site-width);
}

.footer-brand {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--primary-text);
  margin-bottom: var(--space-xs);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--primary-text);
  text-decoration: none;
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--secondary-text);
}

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

.hero {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--light-border);
}

.hero h1 {
  font-size: var(--text-3xl);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.hero p {
  max-width: var(--content-width);
}

.hero .lead {
  font-size: var(--text-lg);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Pathway cards
   -------------------------------------------------------------------------- */

.pathway-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-2xl);
}

.pathway-section h2 {
  text-align: center;
  margin-top: 0;
}

.pathway-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.pathway-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: var(--space-xl);
  text-decoration: none;
  color: var(--primary-text);
  display: block;
  transition: border-color 0.15s ease;
}

.pathway-card:hover {
  border-left: 3px solid var(--accent);
  text-decoration: none;
}

.pathway-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pathway-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: var(--space-sm);
  color: var(--primary-text);
}

.pathway-card p {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Recent section
   -------------------------------------------------------------------------- */

.recent-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-2xl);
  border-top: 1px solid var(--light-border);
}

.recent-section h2 {
  text-align: center;
  margin-top: 0;
}

.recent-item {
  margin-bottom: var(--space-xl);
}

.recent-item h3 {
  font-size: var(--text-lg);
  margin-top: 0;
  margin-bottom: var(--space-xs);
}

.recent-item .meta {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  margin-bottom: var(--space-sm);
}

.recent-item p {
  margin-bottom: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Newsletter section
   -------------------------------------------------------------------------- */

.newsletter-section {
  background: var(--white);
  border-top: 1px solid var(--light-border);
  padding: var(--space-xl) 0 var(--space-2xl);
}

.newsletter-section h2 {
  margin-top: 0;
  text-align: center;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 440px;
  margin-top: var(--space-lg);
}

.newsletter-form input[type="email"] {
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--primary-text);
  width: 100%;
}

.newsletter-form input[type="email"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--secondary-text);
}

.newsletter-note {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  margin-top: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn--primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  color: var(--white);
}

.btn--secondary {
  background-color: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--secondary:hover {
  background-color: var(--accent);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Content page — standard single-column layout
   -------------------------------------------------------------------------- */

.content-page h1 {
  margin-bottom: var(--space-xl);
}

.content-page hr {
  border: none;
  border-top: 1px solid var(--light-border);
  margin: var(--space-2xl) 0;
}

.content-page hr + h2 {
  margin-top: 0;
}

.content-page ul,
.content-page ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-lg);
}

.content-page li {
  margin-bottom: var(--space-sm);
}

/* Commentary pieces */
.commentary-piece h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  font-style: italic;
  color: var(--secondary-text);
  margin-top: 0;
  margin-bottom: var(--space-lg);
}

.commentary-meta {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  margin-bottom: var(--space-xs);
}

/* --------------------------------------------------------------------------
   Section link — CTA within content
   -------------------------------------------------------------------------- */

.section-link {
  display: inline-block;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.section-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Resource list
   -------------------------------------------------------------------------- */

.resource-item {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--light-border);
}

.resource-item:last-child {
  border-bottom: none;
}

.resource-type {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary-text);
  margin-bottom: var(--space-xs);
}

.resource-item h3 {
  margin-top: 0;
  margin-bottom: var(--space-sm);
  font-size: var(--text-lg);
}

.resource-item p {
  margin-bottom: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Content page tables
   -------------------------------------------------------------------------- */

.content-page table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  font-size: var(--text-sm);
}

.content-page th,
.content-page td {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--light-border);
  text-align: left;
  vertical-align: top;
}

.content-page th {
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--secondary-text);
}

.content-page td a {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Download sections
   -------------------------------------------------------------------------- */

.download-section {
  margin: var(--space-lg) 0;
}

.download-note {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  margin-top: var(--space-sm);
}

.download-note a {
  color: var(--secondary-text);
  text-decoration: underline;
}

.download-note a:hover {
  color: var(--accent);
}

.download-section img {
  display: block;
  max-width: 280px;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: var(--space-lg);
}

/* --------------------------------------------------------------------------
   Commentary list
   -------------------------------------------------------------------------- */

.commentary-item {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--light-border);
}

.commentary-item:last-child {
  border-bottom: none;
}

.commentary-date {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  margin-bottom: var(--space-xs);
}

.commentary-item h3 {
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

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

.book-entry {
  margin-bottom: var(--space-3xl);
}

.book-entry h3 {
  margin-top: 0;
}

.book-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--secondary-text);
  margin-bottom: var(--space-sm);
}

.book-author {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  margin-bottom: var(--space-lg);
}

.book-price {
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.book-free {
  font-size: var(--text-sm);
  color: var(--secondary-text);
}

/* Book grid (overview page) */
.book-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

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

/* Book card (overview page) */
.book-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: var(--space-xl);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.book-card img {
  width: 240px;
  height: 340px;
  object-fit: contain;
  margin: 0 auto var(--space-lg);
  display: block;
}

.book-card h2 {
  margin-top: var(--space-md);
  font-size: var(--text-xl);
}

.book-card .book-subtitle {
  margin-bottom: var(--space-sm);
}

.book-card .book-description {
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.book-card .book-price {
  margin-top: auto;
}

/* Book hero (detail pages) */
.book-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.book-hero img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: var(--radius);
}

.book-hero__text h1 {
  margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
  .book-hero {
    flex-direction: row;
    align-items: flex-start;
  }

  .book-hero img {
    max-width: 240px;
    flex-shrink: 0;
  }

  .book-hero__text {
    flex: 1;
  }
}

/* Book pull quote */
.book-pullquote {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  line-height: 1.5;
  color: var(--primary-text);
  margin: var(--space-lg) 0;
  padding: 0 0 0 var(--space-lg);
  border-left: 3px solid var(--accent);
  border-right: none;
  border-top: none;
  border-bottom: none;
}

/* Book purchase section */
.book-purchase {
  margin: var(--space-xl) 0;
}

.book-platforms {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  margin-top: var(--space-md);
}

.book-platforms a {
  color: var(--secondary-text);
  text-decoration: underline;
}

.book-platforms a:hover {
  color: var(--accent);
}

/* Quiet text — footnote-style, unobtrusive */
.text-quiet {
  font-size: var(--text-sm);
  color: #6B6B6B;
}

.text-quiet a {
  color: #6B6B6B;
  text-decoration: underline;
}

.text-quiet a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Skill cards
   -------------------------------------------------------------------------- */

.skill-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.skill-card h4 {
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

.skill-card p {
  margin-bottom: 0;
}

.beta-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary-text);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 0.125rem 0.5rem;
  display: inline-block;
  margin-bottom: var(--space-md);
}

/* --------------------------------------------------------------------------
   Longform / Report
   -------------------------------------------------------------------------- */

.longform-cover {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3xl) 0;
  margin-bottom: var(--space-xl);
}

.longform-cover h1 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-4xl);
  line-height: 1.2;
  margin-bottom: var(--space-xl);
}

.longform-cover .subtitle {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  line-height: 1.5;
  color: var(--primary-text);
  margin-bottom: var(--space-3xl);
  max-width: 600px;
}

.longform-cover .report-meta {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--secondary-text);
}

.longform-cover .report-meta p {
  margin-bottom: var(--space-sm);
}

.longform-cover .report-meta .brand-link {
  color: var(--accent);
  text-decoration: none;
}

.report-download {
  margin-top: var(--space-lg);
}

.longform-body {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.longform-body h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-2xl);
  line-height: 1.3;
  margin-top: var(--space-4xl);
  margin-bottom: var(--space-lg);
}

.longform-body h2:first-child {
  margin-top: 0;
}

.longform-body h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-xl);
  line-height: 1.4;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.longform-body hr {
  border: none;
  border-top: 1px solid var(--light-border);
  margin: var(--space-3xl) 0;
}

.longform-body .pullquote {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  line-height: 1.5;
  color: var(--primary-text);
  margin: var(--space-2xl) 0;
  padding-left: var(--space-lg);
  border-left: 3px solid var(--accent);
}

/* --------------------------------------------------------------------------
   Principles list (About page)
   -------------------------------------------------------------------------- */

.principles-list {
  margin-top: var(--space-lg);
}

.principles-list p {
  margin-bottom: var(--space-lg);
}

/* --------------------------------------------------------------------------
   The AI Briefing — log entries
   -------------------------------------------------------------------------- */

.briefing-updated {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--secondary-text);
  margin-top: var(--space-lg);
}

.briefing-entry {
  padding: var(--space-lg) 0;
}

.briefing-entry__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
}

.briefing-entry__date {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--secondary-text);
  letter-spacing: 0.01em;
}

.briefing-entry__category {
  font-family: var(--font-body);
  font-size: var(--text-xs, 0.75rem);
  color: var(--secondary-text);
  text-transform: lowercase;
  letter-spacing: 0.03em;
}

.briefing-entry__headline {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

.briefing-entry__precis {
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.briefing-entry__status {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--accent);
}

.briefing-divider {
  border: none;
  border-top: 1px solid var(--light-border);
  margin: 0;
}

.briefing-launch-note {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  margin-top: var(--space-lg);
}

.briefing-entry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs, 0.25rem);
}

.briefing-entry__tag {
  font-family: var(--font-body);
  font-size: var(--text-xs, 0.75rem);
  color: var(--secondary-text);
  text-transform: lowercase;
  letter-spacing: 0.03em;
}

.briefing-entry__tag + .briefing-entry__tag::before {
  content: "·";
  margin-right: 0.25rem;
}

.briefing-entry__independence {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  margin-top: var(--space-md);
}

/* --------------------------------------------------------------------------
   Slide viewer — The Guidance Crisis deck (HTML slides)
   -------------------------------------------------------------------------- */

.slide-viewer-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-2xl);
  border-top: 1px solid var(--light-border);
}

.slide-viewer-section h2 {
  text-align: center;
  margin-top: 0;
}

.slide-viewer-section > .container--wide > p {
  text-align: center;
}

.slide-viewer {
  margin-top: var(--space-xl);
  max-width: 960px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.slide-viewer__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #F5F5F0;
  overflow: hidden;
}

.slide-viewer__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--light-border);
}

.slide-viewer__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: none;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: var(--space-xs) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--primary-text);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.slide-viewer__btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.slide-viewer__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.slide-viewer__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.slide-viewer__counter {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--secondary-text);
  user-select: none;
}

.slide-viewer__note {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  margin-top: var(--space-md);
}

/* --- Individual slides --- */

.slide {
  display: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slide.is-active {
  display: flex;
}

.slide__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2em;
  width: 100%;
  height: 100%;
  padding: 4% 5%;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 1.6vw, 1.05rem);
  line-height: 1.5;
  color: var(--primary-text);
}

.slide__body--center {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.slide__body--dark {
  background: var(--primary-text);
  color: #F5F5F0;
}

/* Slide typography */

.slide__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: clamp(0.5rem, 1.1vw, 0.8rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: -0.8em;
  flex-shrink: 0;
}

.slide__body--dark .slide__label {
  color: rgba(245, 245, 240, 0.6);
}

.slide__title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3.2vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: inherit;
  flex-shrink: 0;
}

.slide__title--hero {
  font-size: clamp(1.6rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 0.35em;
}

.slide__subtitle {
  font-size: clamp(0.65rem, 1.6vw, 1.2rem);
  line-height: 1.4;
  max-width: 30em;
  margin-bottom: 0.8em;
  opacity: 0.85;
}

.slide__meta {
  font-size: clamp(0.5rem, 1vw, 0.8rem);
  opacity: 0.5;
  margin-bottom: 0;
}

.slide__cta {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.8em;
  margin-bottom: 0;
}

.slide__body--dark .slide__cta {
  color: #8dd4d0;
}

/* Content area — grows to fill space between header and summary */

.slide__content-area {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Summary panel — dark strip at bottom */

.slide__summary {
  flex-shrink: 0;
  background: var(--primary-text);
  color: #F5F5F0;
  padding: 1em 1.4em;
  border-radius: var(--radius);
  font-size: clamp(0.6rem, 1.3vw, 0.95rem);
  line-height: 1.5;
  font-family: var(--font-body);
}

.slide__summary p {
  margin: 0;
}

/* Stats row */

.slide__stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide__stats--row {
  flex-direction: row;
  display: flex;
  gap: 2.5em;
  flex-wrap: wrap;
  align-items: flex-start;
}

.slide__stat {
  flex: 1;
  min-width: 0;
}

.slide__stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1.1;
}

.slide__stat-unit {
  display: block;
  font-size: clamp(0.55rem, 1.2vw, 0.9rem);
  color: var(--secondary-text);
  margin-top: 0.2em;
}

.slide__stat-desc {
  display: block;
  font-size: clamp(0.55rem, 1.2vw, 0.9rem);
  color: var(--secondary-text);
  margin-top: 0.3em;
  line-height: 1.4;
}

.slide__stat--large .slide__stat-desc {
  max-width: 24em;
  margin-inline: auto;
}

/* Featured stat (slide 5) */

.slide__stats--featured {
  text-align: center;
  flex: 0 0 auto;
}

.slide__stat-value--jumbo {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--accent);
}

/* Comparison (slide 5) */

.slide__compare {
  display: flex;
  gap: 3em;
  justify-content: center;
  align-items: center;
}

.slide__compare-item {
  text-align: center;
}

.slide__compare-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--primary-text);
  line-height: 1.1;
}

.slide__compare-desc {
  display: block;
  font-size: clamp(0.55rem, 1.1vw, 0.85rem);
  color: var(--secondary-text);
  max-width: 16em;
  margin-top: 0.4em;
}

/* Columns (slide 3, 13, 14) */

.slide__columns {
  display: flex;
  gap: 1.8em;
}

.slide__col {
  flex: 1;
  min-width: 0;
  border-top: 3px solid var(--accent);
  padding-top: 0.8em;
}

.slide__col:nth-child(2),
.slide__col:nth-child(3) {
  border-top-color: var(--primary-text);
}

.slide__col h4 {
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 1.5vw, 1.15rem);
  font-weight: 600;
  margin: 0 0 0.4em;
  color: var(--accent);
}

.slide__col:nth-child(2) h4,
.slide__col:nth-child(3) h4 {
  color: var(--primary-text);
}

.slide__col p {
  font-size: clamp(0.55rem, 1.15vw, 0.88rem);
  margin: 0;
  line-height: 1.5;
  color: var(--secondary-text);
}

/* Quote grid (slide 6) */

.slide__quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2em;
}

.slide__quote-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1em 1.2em;
}

.slide__quote-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(0.6rem, 1.2vw, 0.95rem);
  line-height: 1.4;
  margin: 0 0 0.4em;
}

.slide__quote-attr {
  font-size: clamp(0.5rem, 1vw, 0.78rem);
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}

/* Bar chart (slide 4) */

.slide__chart-bar {
  display: flex;
  gap: 2.5em;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  padding: 1em 2em;
}

.slide__bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 25%;
}

.slide__bar-track {
  width: 100%;
  height: clamp(80px, 18vw, 220px);
  background: #E5E0DB;
  border-radius: 3px 3px 0 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.slide__bar-fill {
  width: 100%;
  border-radius: 3px 3px 0 0;
  transition: height 0.4s ease;
}

.slide__bar-fill--accent {
  background: var(--accent);
}

.slide__bar-fill--dark {
  background: var(--primary-text);
}

.slide__bar-value {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-top: 0.4em;
  color: var(--primary-text);
}

.slide__bar-label {
  font-size: clamp(0.5rem, 1vw, 0.78rem);
  color: var(--secondary-text);
  text-align: center;
  margin-top: 0.3em;
  line-height: 1.3;
}

/* Donut chart (slides 7, 11) */

.slide__donut {
  display: flex;
  align-items: center;
  gap: 1.5em;
}

.slide__donut-svg {
  width: clamp(80px, 14vw, 160px);
  height: clamp(80px, 14vw, 160px);
  flex-shrink: 0;
}

.slide__donut-legend {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.slide__donut-legend--compact {
  gap: 0.3em;
}

.slide__donut-label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: clamp(0.55rem, 1.1vw, 0.85rem);
  color: var(--secondary-text);
}

.slide__dot {
  display: inline-block;
  width: 0.75em;
  height: 0.75em;
  border-radius: 50%;
  flex-shrink: 0;
}

.slide__dot--accent { background: var(--accent); }
.slide__dot--dark { background: var(--primary-text); }
.slide__dot--mid { background: #555; }
.slide__dot--muted { background: #D5D0CB; }

/* Highlight row (slide 8) */

.slide__highlight-row {
  display: flex;
  gap: 2em;
  align-items: center;
}

.slide__highlight {
  flex: 1;
  padding: 1em 1.2em;
  background: var(--white);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.slide__highlight-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1.1;
}

.slide__highlight-desc {
  display: block;
  font-size: clamp(0.55rem, 1.1vw, 0.85rem);
  color: var(--secondary-text);
  margin-top: 0.3em;
}

/* Exposure spectrum bands (slide 10) */

.slide__bands {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

.slide__band {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  padding: 0.7em 1em;
  border-radius: var(--radius);
  background: var(--white);
}

.slide__band--1 { border-left: 4px solid #C4544A; }
.slide__band--2 { border-left: 4px solid #B07840; }
.slide__band--3 { border-left: 4px solid #5B9A8B; }
.slide__band--4 { border-left: 4px solid var(--accent); }

.slide__band-num {
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 1.5vw, 1.15rem);
  font-weight: 600;
  color: var(--secondary-text);
  flex-shrink: 0;
  margin-top: 0.05em;
}

.slide__band-content strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(0.65rem, 1.3vw, 1rem);
  font-weight: 600;
  margin-bottom: 0.15em;
}

.slide__band-content p {
  font-size: clamp(0.5rem, 1.1vw, 0.85rem);
  margin: 0;
  line-height: 1.45;
  color: var(--secondary-text);
}

/* Two-column layout (slide 11) */

.slide__two-col {
  display: flex;
  gap: 2em;
  align-items: center;
  min-height: 0;
}

.slide__col-text {
  flex: 1.2;
  min-width: 0;
}

.slide__col-chart {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.slide__checklist li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.7em;
  font-size: clamp(0.6rem, 1.2vw, 0.92rem);
  line-height: 1.5;
  color: var(--primary-text);
}

.slide__checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.6em;
  height: 0.6em;
  border: 2px solid var(--accent);
  border-radius: 2px;
}

/* Numbered list (slide 12) */

.slide__numbered-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: slide-list;
  display: flex;
  flex-direction: column;
}

.slide__numbered-list li {
  counter-increment: slide-list;
  position: relative;
  padding-left: 2.2em;
  margin-bottom: 0.8em;
  font-size: clamp(0.6rem, 1.25vw, 0.95rem);
  line-height: 1.5;
}

.slide__numbered-list li::before {
  content: counter(slide-list);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.6em;
  height: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75em;
  font-weight: 600;
}

.slide__numbered-list strong {
  color: var(--accent);
}

/* Pillars (slide 13) */

.slide__pillars {
  display: flex;
  gap: 1.5em;
}

.slide__pillar {
  flex: 1;
  min-width: 0;
  padding: 1em 1.2em;
  background: var(--white);
  border-top: 4px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  display: flex;
  flex-direction: column;
}

.slide__pillar h4 {
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 1.5vw, 1.15rem);
  font-weight: 600;
  margin: 0 0 0.4em;
  color: var(--primary-text);
}

.slide__pillar p {
  font-size: clamp(0.5rem, 1.1vw, 0.85rem);
  margin: 0;
  line-height: 1.5;
  color: var(--secondary-text);
}

/* Resource grid (slide 14) */

.slide__resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2em;
}

.slide__resource-card {
  padding: 0.8em 1.1em;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
}

.slide__resource-card h4 {
  font-family: var(--font-heading);
  font-size: clamp(0.65rem, 1.3vw, 1rem);
  font-weight: 600;
  margin: 0 0 0.3em;
  color: var(--accent);
}

.slide__resource-card p {
  font-size: clamp(0.5rem, 1vw, 0.8rem);
  margin: 0;
  line-height: 1.45;
  color: var(--secondary-text);
}

/* --- Slide responsive adjustments --- */

@media (max-width: 639px) {
  .slide__columns,
  .slide__pillars {
    flex-direction: column;
    gap: 0.6em;
  }

  .slide__quote-grid,
  .slide__resource-grid {
    grid-template-columns: 1fr;
  }

  .slide__stats--row {
    flex-direction: column;
    gap: 0.6em;
  }

  .slide__compare {
    flex-direction: column;
    gap: 0.6em;
    align-items: center;
  }

  .slide__highlight-row {
    flex-direction: column;
    gap: 0.6em;
  }

  .slide__two-col {
    flex-direction: column;
  }
}

/* ==========================================================================
   Audit pages — The Working Picture & Business Reality Audit
   ========================================================================== */

.audit-page {
  padding-bottom: var(--space-3xl);
}

/* Audit intro */
.audit-intro {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--light-border);
}

.audit-intro h1 {
  margin-bottom: var(--space-lg);
}

.audit-lead {
  font-size: var(--text-lg);
  line-height: 1.6;
}

.audit-timing {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  font-style: italic;
}

/* Audit progress navigation — sticky below site header */
.audit-progress {
  position: sticky;
  top: var(--nav-height);
  background-color: var(--page-bg);
  border-bottom: 1px solid var(--light-border);
  z-index: 50;
  padding: var(--space-md) 0;
}

.audit-progress__list {
  list-style: none;
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.audit-progress__list::-webkit-scrollbar {
  display: none;
}

.audit-progress__item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--secondary-text);
  transition: color 0.15s ease, background-color 0.15s ease;
  border: 1px solid transparent;
}

.audit-progress__item:hover {
  color: var(--primary-text);
}

.audit-progress__item.is-active {
  color: var(--primary-text);
  background-color: var(--white);
  border-color: var(--light-border);
}

.audit-progress__item.has-content {
  color: var(--accent);
}

.audit-progress__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  font-size: var(--text-xs);
  font-weight: 600;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
}

.audit-progress__item.has-content .audit-progress__number {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* Audit sections — hidden by default, shown when active */
.audit-section {
  display: none;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-2xl);
}

.audit-section.is-active {
  display: block;
}

.audit-section__heading {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

.audit-section__intro {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--primary-text);
  line-height: 1.5;
  margin-bottom: var(--space-2xl);
}

.audit-section__closing {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--secondary-text);
  margin-top: var(--space-xl);
  line-height: 1.6;
}

.audit-section__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--light-border);
}

/* Audit prompts and textareas */
.audit-prompt {
  margin-bottom: var(--space-2xl);
}

.audit-prompt--reflective {
  margin-bottom: var(--space-3xl);
}

.audit-prompt--contemplative {
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--light-border);
}

.audit-prompt--contemplative:last-of-type {
  border-bottom: none;
}

.audit-prompt__label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.45;
  color: var(--primary-text);
  margin-bottom: var(--space-sm);
}

.audit-prompt__hint {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  font-style: italic;
  margin-bottom: var(--space-md);
}

.audit-prompt__input {
  display: block;
  width: 100%;
  min-height: 120px;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--primary-text);
  background-color: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  resize: vertical;
  transition: border-color 0.15s ease;
}

.audit-prompt__input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.audit-prompt__input::placeholder {
  color: var(--secondary-text);
  opacity: 0.5;
}

/* Exposure spectrum reference */
.spectrum-reference {
  margin-bottom: var(--space-2xl);
}

.spectrum-band {
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-xs);
  border-left: 4px solid var(--light-border);
  background-color: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.spectrum-band[data-band="1"] { border-left-color: #C4544A; }
.spectrum-band[data-band="2"] { border-left-color: #B07840; }
.spectrum-band[data-band="3"] { border-left-color: #5B9A8B; }
.spectrum-band[data-band="4"] { border-left-color: var(--accent); }

.spectrum-band__name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: var(--space-xs);
}

.spectrum-band__desc {
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
}

.spectrum-band__examples {
  font-size: var(--text-xs);
  color: var(--secondary-text);
  margin-bottom: 0;
}

/* Activity mapping — Movement 2 */
.activity-mapping {
  margin-top: var(--space-xl);
}

.activity-mapping__empty {
  font-style: italic;
  color: var(--secondary-text);
  padding: var(--space-2xl);
  text-align: center;
  border: 1px dashed var(--light-border);
  border-radius: var(--radius);
}

.activity-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.activity-card__text {
  font-size: var(--text-base);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.activity-card__bands {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.band-option {
  cursor: pointer;
}

.band-option input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.band-option__label {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  transition: all 0.15s ease;
  min-height: 2.75rem;
  user-select: none;
}

.band-option:hover .band-option__label {
  border-color: var(--secondary-text);
}

.band-option input[type="radio"]:checked + .band-option__label {
  color: var(--white);
  border-color: transparent;
}

.band-option[data-band="1"] input:checked + .band-option__label {
  background-color: #C4544A;
}

.band-option[data-band="2"] input:checked + .band-option__label {
  background-color: #B07840;
}

.band-option[data-band="3"] input:checked + .band-option__label {
  background-color: #5B9A8B;
}

.band-option[data-band="4"] input:checked + .band-option__label {
  background-color: var(--accent);
}

.band-option input[type="radio"]:focus-visible + .band-option__label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Exposure shape visualisation */
.exposure-shape {
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--light-border);
}

.exposure-shape__heading {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-top: 0;
  margin-bottom: var(--space-xl);
}

.shape-band {
  margin-bottom: var(--space-lg);
}

.shape-band__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-sm);
}

.shape-band__name {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
}

.shape-band__count {
  font-size: var(--text-xs);
  color: var(--secondary-text);
}

.shape-band__bar {
  height: 8px;
  border-radius: 4px;
  width: calc(var(--band-weight, 0) * 100%);
  min-width: 4px;
  transition: width 0.3s ease;
}

.shape-band[data-band="1"] .shape-band__bar { background-color: #C4544A; }
.shape-band[data-band="2"] .shape-band__bar { background-color: #B07840; }
.shape-band[data-band="3"] .shape-band__bar { background-color: #5B9A8B; }
.shape-band[data-band="4"] .shape-band__bar { background-color: var(--accent); }

.shape-band__activities {
  list-style: none;
  padding: 0;
  margin-top: var(--space-sm);
}

.shape-band__activities li {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  padding: var(--space-xs) 0;
}

/* Pause blockquote */
.audit-pause {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--primary-text);
  margin: var(--space-xl) 0 var(--space-3xl);
  padding-left: var(--space-lg);
  border-left: 3px solid var(--accent);
}

.audit-pause p {
  margin-bottom: 0;
}

/* Capture — inline export actions at end of final section */
.audit-capture {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--light-border);
  text-align: center;
}

.audit-capture__message {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--secondary-text);
  margin-bottom: var(--space-lg);
}

.audit-capture__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* Signpost to further resources */
.audit-signpost {
  margin-top: var(--space-xl);
}

.audit-signpost h3 {
  margin-top: 0;
}

.audit-signpost p {
  color: var(--primary-text);
}

/* Export and actions footer */
.audit-footer {
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--light-border);
}

.audit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.audit-privacy-note {
  font-size: var(--text-sm);
  color: var(--secondary-text);
  margin-top: var(--space-lg);
}

/* Quick audit — flowing single-page variant */
.audit-quick .audit-quick-section {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--light-border);
}

.audit-quick .audit-quick-section:last-child {
  border-bottom: none;
}

.audit-quick .audit-quick-section h2 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.spectrum-reference--compact .spectrum-band {
  padding: var(--space-sm) var(--space-md);
}

.spectrum-reference--compact .spectrum-band__desc {
  margin-bottom: 0;
}

.spectrum-reference--compact .spectrum-band__examples {
  display: none;
}

/* Quick band select fieldsets */
.quick-band-select {
  border: none;
  padding: 0;
  margin: var(--space-lg) 0;
}

.quick-band-select legend {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 500;
  margin-bottom: var(--space-md);
  padding: 0;
}

.quick-band-select label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: var(--space-xs);
  transition: border-color 0.15s ease, background-color 0.15s ease;
  font-size: var(--text-sm);
}

.quick-band-select label:hover {
  border-color: var(--secondary-text);
}

.quick-band-select label:has(input:checked) {
  border-color: var(--accent);
  background: rgba(37, 122, 119, 0.05);
}

.quick-band-select input[type="radio"] {
  flex-shrink: 0;
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .audit-progress,
  .audit-section__nav,
  .audit-actions,
  .audit-capture,
  .audit-footer,
  .menu-toggle,
  .mobile-nav,
  .skip-link {
    display: none !important;
  }

  .audit-section {
    display: block !important;
    page-break-inside: avoid;
    padding: 0.5rem 0;
  }

  .audit-prompt__input {
    border: 1px solid #ccc;
    min-height: auto;
    white-space: pre-wrap;
  }

  .audit-page {
    padding: 0;
  }

  body {
    font-size: 11pt;
    background: white;
  }
}

/* --------------------------------------------------------------------------
   Responsive — mobile (below 640px)
   -------------------------------------------------------------------------- */

@media (max-width: 639px) {
  .content-page table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .download-section .btn {
    display: block;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Responsive — tablet and up (640px)
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }

  .newsletter-form input[type="email"] {
    flex: 1;
  }

  .newsletter-form .btn {
    white-space: nowrap;
  }

  /* Audit — tablet */
  .audit-prompt__input {
    min-height: 140px;
  }

  .activity-card__bands {
    flex-wrap: nowrap;
  }

  .audit-progress__item {
    padding: var(--space-xs) var(--space-md);
  }
}

/* --------------------------------------------------------------------------
   Responsive — desktop (1024px)
   -------------------------------------------------------------------------- */

@media (min-width: 1024px) {
  body {
    font-size: var(--text-lg);
  }

  h1 {
    font-size: var(--text-4xl);
  }

  h2 {
    font-size: var(--text-3xl);
  }

  h3 {
    font-size: var(--text-2xl);
  }

  .hero h1 {
    font-size: var(--text-4xl);
  }

  /* Show desktop nav, hide mobile toggle */
  .site-nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  /* Pathway cards: 2x2 grid */
  .pathway-grid {
    grid-template-columns: 1fr 1fr;
  }

  .longform-cover h1 {
    font-size: 3rem;
  }

  /* Audit — desktop */
  .audit-section__heading {
    font-size: var(--text-3xl);
  }

  .audit-prompt__label {
    font-size: var(--text-lg);
  }

  .audit-prompt__input {
    min-height: 160px;
  }

  .audit-prompt--contemplative {
    margin-bottom: var(--space-4xl);
  }

  .audit-pause {
    font-size: var(--text-xl);
  }
}
