/* ============================================================
   Alan Longo — Site CSS
   Tokens + base reset + layout + components + pages
   ============================================================ */

/* --- Webfonts (self-hosted, paths relative to css/ folder) --- */
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/baskerville-400.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/baskerville-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/baskerville-700.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 300; font-display: swap; src: url("../assets/fonts/mulish-300.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/mulish-400.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/mulish-500.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/mulish-600.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/mulish-700.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/mulish-800.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300; font-display: swap; src: url("../assets/fonts/outfit-300.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/outfit-400.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/outfit-500.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/outfit-600.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/outfit-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/montserrat-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/montserrat-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/montserrat-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/montserrat-700.woff2") format("woff2"); }

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  /* Brand colors */
  --midnight-focus: #1f3b4d;
  --deep-gray:      #4a5a6a;
  --calm-sky:       #8da4b6;
  --cloud-veil:     #c9cdd1;
  --soft-white:     #f2f2f1;

  /* Navy ramp */
  --navy-900: #14272f;
  --navy-800: #1a3340;
  --navy-700: #1f3b4d;
  --navy-600: #2a4d62;
  --navy-500: #385f77;
  --navy-400: #4a5a6a;

  /* Sky ramp */
  --sky-600: #6f8a9e;
  --sky-500: #8da4b6;
  --sky-400: #a7bac8;
  --sky-300: #c9cdd1;
  --sky-200: #dde1e4;
  --sky-100: #eceef0;

  /* Neutral / paper */
  --white:      #ffffff;
  --paper:      #f2f2f1;
  --paper-warm: #ebebe8;
  --ink-900:    #14272f;
  --ink-700:    #1f3b4d;
  --ink-500:    #4a5a6a;
  --ink-400:    #6b7884;
  --ink-300:    #8da4b6;

  /* State colors */
  --success:      #4f7d6a;
  --success-soft: #e2ece7;
  --warning:      #b08243;
  --warning-soft: #f1e7d6;
  --danger:       #a4564f;
  --danger-soft:  #f0e0de;
  --info:         #385f77;
  --info-soft:    #e3eaef;

  /* Semantic surfaces */
  --surface-page:    var(--paper);
  --surface-card:    var(--white);
  --surface-sunken:  var(--paper-warm);
  --surface-inverse: var(--midnight-focus);
  --surface-accent:  var(--sky-100);

  /* Semantic text */
  --text-strong:        var(--ink-900);
  --text-body:          var(--ink-700);
  --text-muted:         var(--ink-500);
  --text-subtle:        var(--ink-400);
  --text-on-dark:       var(--soft-white);
  --text-on-dark-muted: var(--cloud-veil);

  /* Brand */
  --brand:        var(--midnight-focus);
  --brand-hover:  var(--navy-800);
  --brand-active: var(--navy-900);
  --accent:       var(--calm-sky);

  /* Borders */
  --border-subtle:  var(--sky-200);
  --border-default: var(--sky-300);
  --border-strong:  var(--sky-400);
  --border-on-dark: rgba(242, 242, 241, 0.18);

  /* Focus ring */
  --focus-ring: rgba(56, 95, 119, 0.45);

  /* Typography */
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body:    "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent:  "Outfit", "Mulish", system-ui, sans-serif;
  --font-tabs:    "Montserrat", "Outfit", system-ui, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-extra:    800;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.375rem;
  --text-xl:   1.75rem;
  --text-2xl:  2.25rem;
  --text-3xl:  2.875rem;
  --text-4xl:  3.75rem;
  --text-5xl:  4.75rem;

  --leading-tight:   1.1;
  --leading-snug:    1.25;
  --leading-normal:  1.55;
  --leading-relaxed: 1.7;

  --tracking-tight:   -0.02em;
  --tracking-normal:  0;
  --tracking-wide:    0.04em;
  --tracking-eyebrow: 0.16em;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4rem;
  --space-9:  6rem;
  --space-10: 8rem;

  /* Radii */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   28px;
  --radius-pill: 999px;

  /* Shadows (cool navy-tinted) */
  --shadow-xs: 0 1px 2px rgba(20, 39, 47, 0.06);
  --shadow-sm: 0 2px 6px rgba(20, 39, 47, 0.07);
  --shadow-md: 0 8px 24px rgba(20, 39, 47, 0.10);
  --shadow-lg: 0 18px 48px rgba(20, 39, 47, 0.14);
  --shadow-focus: 0 0 0 3px var(--focus-ring);

  /* Motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:       cubic-bezier(0.4, 0, 1, 1);
  --dur-fast:   140ms;
  --dur-normal: 240ms;
  --dur-slow:   420ms;
}

/* ============================================================
   Reset + base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* <picture> is only a wrapper for WebP-with-fallback; make it layout-transparent
   so the inner <img> participates in flex/grid/block layout exactly as a bare <img>. */
picture { display: contents; }

a { color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-strong);
  line-height: var(--leading-tight);
}

/* ============================================================
   Layout
   ============================================================ */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cols-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

/* ============================================================
   Utility
   ============================================================ */
.al-eyebrow {
  display: block;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   Icons (Lucide)
   ============================================================ */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: background var(--dur-normal) var(--ease-out),
              color var(--dur-normal) var(--ease-out),
              border-color var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
  white-space: nowrap;
  line-height: 1;
}

.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

/* Sizes */
.btn-sm  { font-size: 13px; padding: 7px 16px; }
.btn-md  { font-size: 14.5px; padding: 9px 20px; }
.btn-lg  { font-size: 15.5px; padding: 12px 24px; }

/* Primary (default) */
.btn-primary {
  background: var(--brand);
  color: var(--soft-white);
  border-color: var(--brand);
}
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-primary:active { background: var(--brand-active); border-color: var(--brand-active); }

/* Secondary */
.btn-secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--border-default);
}
.btn-secondary:hover { border-color: var(--border-strong); background: var(--surface-accent); }

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--surface-accent); }

/* Inverse (for dark backgrounds) */
.btn-inverse {
  background: var(--soft-white);
  color: var(--brand);
  border-color: var(--soft-white);
}
.btn-inverse:hover { background: var(--sky-100); border-color: var(--sky-100); }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.card-sunken {
  background: var(--surface-sunken);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.card-inverse {
  background: var(--midnight-focus);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-lg);
  color: var(--text-on-dark);
}

/* Padding variants */
.card-pad-sm  { padding: 12px; }
.card-pad-md  { padding: 20px; }
.card-pad-lg  { padding: 32px; }

/* Interactive lift */
.card-interactive {
  cursor: pointer;
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
}
.card-interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   Badges
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-sky {
  background: var(--sky-100);
  color: var(--navy-500);
  border: 1px solid var(--sky-200);
}

.badge-neutral {
  background: var(--paper-warm);
  color: var(--ink-500);
  border: 1px solid var(--border-subtle);
}

/* ============================================================
   Avatar
   ============================================================ */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.avatar-md { width: 44px; height: 44px; }
.avatar-lg { width: 56px; height: 56px; }

.avatar-placeholder {
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--navy-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.avatar-placeholder.avatar-md { width: 44px; height: 44px; }

/* ============================================================
   Form elements
   ============================================================ */
.form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-default);
  background: var(--surface-card);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-body);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  outline: none;
}
.form-input::placeholder { color: var(--text-subtle); }
.form-input:focus { border-color: var(--brand); box-shadow: var(--shadow-focus); }

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 242, 241, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav-logo img { height: 32px; width: auto; display: block; }
.site-nav-logo { text-decoration: none; display: flex; align-items: center; }

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-tabs);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--brand); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brand);
  padding: 6px;
  border-radius: var(--radius-sm);
}
.nav-hamburger:focus-visible { outline: 2px solid var(--brand); }

/* Mobile nav drawer */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--surface-card);
  border-top: 1px solid var(--border-subtle);
  padding: 16px 22px 22px;
  gap: 4px;
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-link {
  display: block;
  padding: 10px 0;
  font-family: var(--font-tabs);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-body);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link:hover { color: var(--brand); }
.nav-mobile-cta {
  margin-top: 12px;
  display: inline-block;
  align-self: flex-start;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--midnight-focus);
  color: var(--text-on-dark);
  padding: 64px 40px 36px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

/* height: auto + explicit width: auto prevents any intrinsic-ratio distortion.
   max-height caps the size; max-width keeps it from overflowing on narrow screens. */
.footer-logo img {
  display: block;
  max-height: 92px;
  height: auto;
  width: auto;
  max-width: 220px;
  margin-bottom: 18px;
}

.footer-tagline {
  color: var(--cloud-veil);
  font-size: 14.5px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--soft-white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-email:hover { color: var(--calm-sky); }

.footer-col-label {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--calm-sky);
  margin-bottom: 16px;
  display: block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  color: var(--cloud-veil);
  font-size: 14.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-links a:hover { color: var(--soft-white); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-on-dark);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-on-dark-muted);
  font-size: 13px;
}

/* ============================================================
   Newsletter signup (shared across all pages)
   ============================================================ */
.newsletter-box {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form .form-input {
  flex: 1 1 220px;
  min-width: 0;
}

.newsletter-helper {
  margin: 12px 2px 0;
  font-size: 13.5px;
  color: var(--text-subtle);
  line-height: 1.55;
}

.newsletter-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--success-soft);
  border: 1px solid #bcd6cb;
  border-radius: var(--radius-md);
  color: #2f5346;
  font-size: 15px;
}

/* ============================================================
   Testimonial / Quote cards
   ============================================================ */
.quote-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-text {
  font-family: var(--font-display);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--text-strong);
  flex: 1;
  text-wrap: pretty;
  margin: 0;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-author-name {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-strong);
  white-space: nowrap;
}

.quote-author-role {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   Hero sections (dark band pattern)
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--midnight-focus);
  color: var(--text-on-dark);
}

.page-hero-watermark {
  position: absolute;
  right: -70px;
  top: -30px;
  height: 420px;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   Service offering block (Services page)
   ============================================================ */
.offering-icon-chip {
  display: inline-flex;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--surface-accent);
  color: var(--brand);
  align-items: center;
  justify-content: center;
}

.offering-icon-chip-dark {
  background: rgba(255,255,255,0.08);
  color: var(--calm-sky);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--success-soft);
  border: 1px solid #bcd6cb;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 14px;
  color: #2f5346;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3f8f6b;
  flex-shrink: 0;
}

.facet-label {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
  display: block;
}

.facet-panel {
  background: var(--surface-sunken);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

.facet-panel-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

/* Price tag */
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price-prefix, .price-suffix {
  font-family: var(--font-accent);
  font-size: 15px;
  color: var(--text-muted);
}
.price-amount {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  color: var(--text-strong);
}

/* Check list utility */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 4px 0 0;
}
.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-body);
}
.check-list li [data-lucide] { margin-top: 2px; flex-shrink: 0; }

/* Pain list (Home) */
.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pain-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-body);
}

/* Trust logos strip */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.logo-tile {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
/* Partner logos inside tiles must never stretch */
.logo-tile img {
  width: auto;
  height: auto;
  max-height: 64px;
  max-width: 140px;
  object-fit: contain;
}

/* Topic pills (newsletter section) */
.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  font-family: var(--font-accent);
  font-size: 14px;
  color: var(--text-body);
}

/* Principles grid (About page) */
.principle-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 13px;
  background: var(--surface-accent);
  color: var(--brand);
  align-items: center;
  justify-content: center;
}

/* Contact cards */
.contact-card-dark {
  background: var(--midnight-focus);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  height: 100%;
  scroll-margin-top: 80px;
}

/* Included summary mini-list */
.included-summary {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.included-summary li {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  line-height: 1.35;
  color: var(--text-body);
}

/* ============================================================
   Coaches page
   ============================================================ */
.coach-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: stretch;
}
.coach-photo {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.coach-placeholder {
  border: 1.5px dashed var(--border-strong);
  background: repeating-linear-gradient(45deg, transparent, transparent 9px, rgba(141,164,182,0.07) 9px, rgba(141,164,182,0.07) 18px);
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  min-height: 240px;
}

/* ============================================================
   Responsive — single breakpoint at 880px
   ============================================================ */
@media (max-width: 880px) {
  .wrap { padding: 0 22px; }

  .cols-2, .cols-3, .split { grid-template-columns: 1fr; }

  .split.split-img-first > *:first-child { order: -1; }

  .site-nav-inner { padding: 0 22px; }

  .site-nav-links { display: none; }

  .nav-hamburger { display: flex; align-items: center; justify-content: center; }

  /* Hero fonts */
  .hero-h1 { font-size: 38px !important; }

  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 48px 22px 32px; }

  .coach-card { grid-template-columns: 1fr; }
  .coach-photo { max-height: 280px; }
}
