/* From the Floor Press — Brand-compliant stylesheet
   Palette and typography per official Brand Identity Guide */

:root {
  /* Master palette */
  --teal-deep: #068985;
  --teal-bright: #08B7B2;
  --rust: #B8644E;
  --gold: #D4A94C;
  --white: #F9FEFE;
  --charcoal: #2D2D2D;
  --ink-soft: #4a4a4a;
  --line: #e3e8e8;
  --bg-cream: #f6f4ee;

  /* WES extended palette */
  --steel: #4A7C94;
  --safety: #E8C840;
  --gray-light: #F0F0F0;

  /* Typography */
  --font-display: "Montserrat", "Inter", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Open Sans", system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(6,137,133,0.06);
  --shadow-md: 0 6px 24px rgba(6,137,133,0.10), 0 2px 6px rgba(0,0,0,0.04);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--charcoal);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: clamp(34px, 5vw, 60px); text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); }
h4 { font-size: 18px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-deep); }

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- HEADER & NAV TABS ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 254, 254, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-lockup img {
  height: 56px;
  width: auto;
}

.tablist {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tab {
  appearance: none;
  background: transparent;
  border: none;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
  position: relative;
}
.tab:hover { color: var(--teal-deep); background: rgba(6,137,133,0.06); }
.tab[aria-selected="true"] {
  color: var(--teal-deep);
}
.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--teal-deep);
  border-radius: 2px;
}

/* ---------- TAB PANELS ---------- */
.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- SECTIONS ---------- */
section { padding: 64px 0; }
section.tight { padding: 48px 0; }
section.alt { background: var(--bg-cream); }
section.dark {
  background: var(--teal-deep);
  color: var(--white);
}
section.dark h1, section.dark h2, section.dark h3, section.dark h4 { color: var(--white); }
section.dark h4 { color: var(--gold); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 12px;
}
section.dark .eyebrow { color: var(--gold); }

.lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}
section.dark .lead { color: rgba(249,254,254,0.92); }

/* ---------- HOME HERO ---------- */
.home-hero {
  background:
    radial-gradient(ellipse at 80% -10%, rgba(8,183,178,0.16), transparent 60%),
    radial-gradient(ellipse at -10% 110%, rgba(212,169,76,0.12), transparent 55%),
    var(--white);
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line);
}
.home-hero .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.home-hero h1 { max-width: 14ch; }
.home-hero h1 { margin-bottom: 16px; }
.home-hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--rust);
  margin: 0 0 24px;
  font-weight: 500;
}
.home-hero .lockup-figure {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  text-align: center;
}
.home-hero .lockup-figure .lockup-mark {
  background: var(--paper);
  border-radius: calc(var(--radius) - 4px);
  padding: 28px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-hero .lockup-figure .lockup-mark img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
}
.home-hero .lockup-figure .lockup-mark.lockup-mark-wide {
  padding: 32px 24px;
}
.home-hero .lockup-figure .lockup-mark.lockup-mark-wide img {
  max-width: 440px;
}
.home-hero .lockup-figure figcaption {
  margin-top: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}

/* ---------- IMPRINT BLURB ---------- */
.imprint-blurb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.imprint-blurb h2 { margin-bottom: 16px; }

/* ---------- TITLE CARDS (home, list of works) ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.work-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.work-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.work-card .cover-wrap {
  background: var(--bg-cream);
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.work-card .cover-wrap img {
  max-height: 280px;
  width: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  border-radius: 2px;
}
.work-card .body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.work-card h3 { margin-bottom: 8px; }
.work-card .meta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rust);
  font-weight: 600;
  margin-bottom: 12px;
  font-family: var(--font-display);
}
.work-card.wes .meta { color: var(--steel); }
.work-card p { color: var(--ink-soft); }
.work-card .card-cta {
  margin-top: auto;
  padding-top: 16px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--teal-deep);
  color: var(--white);
  border-color: var(--teal-deep);
}
.btn-primary:hover { background: var(--teal-bright); border-color: var(--teal-bright); color: var(--white); }

.btn-secondary {
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--teal-deep);
}
.btn-secondary:hover { background: var(--teal-deep); color: var(--white); }

.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--charcoal); color: var(--gold); border-color: var(--charcoal); }

.btn-steel {
  background: var(--steel);
  color: var(--white);
  border-color: var(--steel);
}
.btn-steel:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- FAILURE TO COMMUNICATE TAB ---------- */
.book-hero {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.book-hero .cover-display {
  text-align: center;
}
.book-hero .cover-display img {
  max-width: 360px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
  border-radius: 2px;
}
.book-hero h1 {
  font-size: clamp(34px, 4.8vw, 56px);
}
.book-hero .subtitle {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  color: var(--rust);
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: none;
  letter-spacing: normal;
}
.author-credit {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.author-credit .creds {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

/* Walk-away cards */
.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-deep);
  border-radius: var(--radius);
  padding: 28px;
}
.feat-card h3 { color: var(--teal-deep); margin-bottom: 10px; }
.feat-card p { margin: 0; color: var(--ink-soft); }

/* Spiral comparison */
.spiral-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}
.spiral-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.spiral-card.problem { border-top: 6px solid var(--rust); }
.spiral-card.solution { border-top: 6px solid var(--teal-bright); }
.spiral-card h3 { font-family: var(--font-display); }
.spiral-card.problem h3 { color: var(--rust); }
.spiral-card.solution h3 { color: var(--teal-bright); }
.stage-list { list-style: none; padding: 0; margin: 0; }
.stage-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 16px;
}
.stage-list li:last-child { border-bottom: none; }
.stage-list .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--charcoal);
  min-width: 22px;
  display: inline-block;
}
.spiral-card.problem .num { color: var(--rust); }
.spiral-card.solution .num { color: var(--teal-deep); }

/* Sample chapter */
.sample-chapter {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px clamp(24px, 5vw, 64px);
  box-shadow: var(--shadow-sm);
}
.sample-chapter .chap-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.sample-chapter h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 28px;
  color: var(--charcoal);
}
.sample-chapter h3 {
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-deep);
  margin-top: 32px;
  margin-bottom: 12px;
}
.sample-chapter p { font-size: 17px; line-height: 1.75; color: #333; }
.sample-chapter .pull-quote {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--teal-deep);
  border-left: 4px solid var(--gold);
  padding: 8px 0 8px 22px;
  margin: 24px 0;
  line-height: 1.4;
  font-weight: 500;
}
.sample-chapter ul { padding-left: 22px; }
.sample-chapter ul li { margin-bottom: 8px; }
.continue-note {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--bg-cream);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
  font-style: italic;
}

/* Launch / purchase */
.launch-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border-top: 6px solid var(--gold);
  text-align: center;
}
.launch-date {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: -0.01em;
  line-height: 1;
}
.launch-meta {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 12px 0 24px;
}
.placeholder-note {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 13px;
  margin-top: 16px;
}

/* ---------- WAREHOUSE STANDARD TAB (Operations) ---------- */
.wes-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.wes-hero .cover-display img {
  max-width: 380px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
  border-radius: 2px;
}
.wes-hero h1 { color: var(--steel); }
.wes-hero .subtitle {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  color: var(--charcoal);
  margin-bottom: 20px;
  font-weight: 500;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.stat {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top: 4px solid var(--steel);
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--steel);
  line-height: 1;
}
.stat .label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
}

.module-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.module-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  line-height: 1.4;
}
.module-list .mod-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--steel);
  font-size: 13px;
  letter-spacing: 0.1em;
  min-width: 36px;
}
.module-list li.featured {
  border-left: 4px solid var(--safety);
  background: linear-gradient(135deg, rgba(232,200,64,0.08) 0%, var(--white) 100%);
}

.toolkit-callout {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--safety);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 32px;
}
.toolkit-callout h3 { color: var(--steel); }

/* ---------- INQUIRY FORM ---------- */
.inquiry-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 18px;
}
.inquiry-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.inquiry-form .row-2 > .field { min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-family: var(--font-body);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 3px rgba(6,137,133,0.16);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.about-card {
  background: var(--bg-cream);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.about-card .avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.about-card .name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.about-card .creds {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(249,254,254,0.85);
  padding: 48px 0 32px;
  font-size: 14px;
}
.site-footer .footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.site-footer img { max-width: 240px; opacity: 0.92; }
.site-footer a { color: var(--gold); }
.site-footer .small {
  font-size: 12px;
  color: rgba(249,254,254,0.55);
  margin-top: 16px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
  .home-hero .container,
  .imprint-blurb,
  .book-hero,
  .wes-hero,
  .about-grid,
  .site-footer .footer-row { grid-template-columns: 1fr; gap: 32px; }
  .works-grid { grid-template-columns: 1fr; }
  .three-up { grid-template-columns: 1fr; }
  .spiral-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .module-list { grid-template-columns: 1fr; }
  .inquiry-form .row-2 { grid-template-columns: 1fr; }
  .nav-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tablist { width: 100%; justify-content: flex-start; }
  .home-hero { padding: 64px 0 48px; }
  section { padding: 48px 0; }
}

/* ---------- TOP NEW RELEASE BADGE (FTC hero) ---------- */
.top-release-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px 12px 16px;
  margin: 14px 0 22px;
  background: linear-gradient(135deg, var(--teal-deep) 0%, #0d6b6a 100%);
  color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(15, 110, 109, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 100%;
}
.top-release-badge .badge-mark {
  font-size: 28px;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  flex-shrink: 0;
}
.top-release-badge .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.top-release-badge .badge-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 2px;
}
.top-release-badge .badge-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff;
}
.top-release-badge .badge-sub {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 3px;
}

/* ---------- INLINE BOOK FIGURES (infographics on FTC tab) ---------- */
.book-figure {
  margin: 40px auto;
  max-width: 720px;
  text-align: center;
}
.book-figure-wide {
  max-width: 880px;
}
.book-figure img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(20, 36, 53, 0.10);
  border: 1px solid rgba(20, 36, 53, 0.06);
  background: #ffffff;
}
.book-figure figcaption {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 12px;
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 640px) {
  .book-figure { margin: 28px auto; }
  .top-release-badge .badge-title { font-size: 16px; }
  .top-release-badge .badge-sub { font-size: 11px; }
}

/* ---------- 56% STAT STRIP (home tab) ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(28px, 5vw, 48px);
  border-left: 4px solid var(--teal-deep);
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 960px;
  margin: 0 auto;
}
.stat-strip .stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(72px, 11vw, 132px);
  line-height: 0.9;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
}
.stat-strip .stat-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.25;
  color: var(--charcoal);
  margin: 0 0 8px;
}
.stat-strip .stat-sub {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 640px) {
  .stat-strip {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 28px 24px;
  }
}

/* Print niceties */
@media print {
  .site-header, .inquiry-form, .btn { display: none; }
}

/* ---------- THE WAREHOUSE STANDARD: VOLUME LIST ---------- */
.volume-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.volume-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--steel);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.volume-card .vol-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--steel);
  line-height: 1;
  padding-top: 4px;
  letter-spacing: -0.01em;
}
.volume-card .vol-body h3 {
  color: var(--charcoal);
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 24px);
  text-transform: none;
  letter-spacing: 0;
}
.volume-card .vol-q {
  font-style: italic;
  color: var(--teal-deep);
  font-size: 15px;
  margin: 0 0 12px;
  line-height: 1.5;
}
.volume-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
@media (max-width: 640px) {
  .volume-card {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 22px;
  }
  .volume-card .vol-num { font-size: 18px; }
}

/* ---------- THE WAREHOUSE STANDARD: TOOLKIT LIST ---------- */
.toolkit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.toolkit-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}
.toolkit-list .tk-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--steel);
  font-size: 14px;
  letter-spacing: 0.08em;
  background: rgba(74,124,148,0.08);
  border-radius: 6px;
  padding: 6px 0;
  text-align: center;
}
.toolkit-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 4px;
}
.toolkit-list .tk-anchor {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-style: italic;
}
@media (max-width: 720px) {
  .toolkit-list { grid-template-columns: 1fr; }
}

/* ---------- THE WAREHOUSE STANDARD: IP REGISTER ---------- */
.ip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.ip-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.ip-list .ip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.ip-list h3 {
  margin: 0;
  font-size: 17px;
  color: var(--teal-deep);
  text-transform: none;
  letter-spacing: 0;
}
.ip-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.ip-tag.tm     { background: rgba(6,137,133,0.12);  color: var(--teal-deep); }
.ip-tag.tm-rec { background: rgba(74,124,148,0.14); color: var(--steel); }
.ip-tag.tm-elig{ background: rgba(184,100,78,0.12); color: var(--rust); }
.ip-tag.arch   { background: rgba(46,46,46,0.08);   color: var(--charcoal); }
.ip-tag.dev    { background: rgba(232,200,64,0.22); color: #8a6f00; }
.ip-stages {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--charcoal);
  margin: 0 0 8px;
}
.ip-home {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 720px) {
  .ip-list { grid-template-columns: 1fr; }
}

/* ============== DOMAIN CARDS (Home + tab headers) ============== */
.domain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 12px;
}
.domain-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 32px;
  border-top: 6px solid var(--teal-deep);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 12px 36px rgba(15,52,52,0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.domain-card.ops { border-top-color: var(--steel); }
.domain-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 6px;
}
.domain-card.ops .domain-eyebrow { color: var(--steel); }
.domain-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.15;
  margin: 0;
  color: var(--charcoal);
}
.domain-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 16px;
  color: var(--teal-deep);
  margin: 0;
}
.domain-card.ops .domain-sub { color: var(--steel); }
.domain-card p { margin: 0; }
.domain-card .btn { align-self: flex-start; margin-top: 6px; }

.domain-header {
  border-left: 6px solid var(--teal-deep);
  padding: 6px 0 6px 22px;
  margin-bottom: 16px;
}
.domain-header.ops-header { border-left-color: var(--steel); }
.domain-header .domain-eyebrow { margin-bottom: 8px; }
.domain-header h1, .domain-header h2 {
  margin: 0 0 6px;
}

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

/* ============== CATALOGUE LIST ============== */
.cat-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cat-item {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 28px;
  border-left: 4px solid var(--teal-deep);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 6px 18px rgba(15,52,52,0.04);
}
.cat-item.ops-item { border-left-color: var(--steel); }
.cat-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.cat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.cat-item h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 4px;
  color: var(--charcoal);
}
.cat-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14.5px;
  color: var(--teal-deep);
  margin: 0 0 10px;
}
.cat-item.ops-item .cat-sub { color: var(--steel); }
.cat-item p { margin: 0 0 10px; }
.cat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

/* ============== STATUS PILLS ============== */
.status-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.st-published { background: rgba(6,137,133,0.14);  color: var(--teal-deep); }
.st-rolling   { background: rgba(74,124,148,0.16); color: var(--steel); }
.st-dev       { background: rgba(232,200,64,0.22); color: #8a6f00; }
.st-inquiry   { background: rgba(184,100,78,0.14); color: var(--rust); }

/* ============== LEGEND ============== */
.legend {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  font-size: 14px;
  color: var(--ink-soft);
}
.legend li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}


/* ============ INQUIRE HERO TWO-COLUMN ============ */
.inquire-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.inquire-hero-copy { min-width: 0; }
.ace-tagline {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 12px 0 26px;
  display: block;
}
.ace-tagline > span {
  display: block !important;
  position: relative;
  padding-left: 22px;
  margin: 0 0 6px;
}
.ace-tagline > span:last-child {
  margin-bottom: 0;
}
.ace-tagline > span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 8px;
  height: 0.55em;
  background: #D4A94C;
}
.inquire-hero-figure {
  margin: 0;
  text-align: center;
}
.infographic-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,0.28), 0 4px 12px rgba(0,0,0,0.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.infographic-trigger:hover,
.infographic-trigger:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.34), 0 6px 16px rgba(0,0,0,0.22);
  outline: none;
}
.infographic-trigger img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}
.inquire-hero-figure figcaption {
  margin-top: 14px;
  color: rgba(255,255,255,0.78);
  font-size: 0.875rem;
  line-height: 1.5;
}
.figcap-cta {
  display: inline-block;
  margin-left: 6px;
  color: #6FD3C4;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Five-Layer Model figure (Operations tab — cream background) */
.flm-figure {
  margin: 0 0 44px 0;
  text-align: center;
  max-width: 960px;
}
.flm-figure .infographic-trigger {
  background: #F6F1EA;
  box-shadow: 0 12px 36px rgba(14, 42, 47, 0.14), 0 2px 8px rgba(14, 42, 47, 0.08);
  border: 1px solid rgba(14, 42, 47, 0.06);
}
.flm-figure .infographic-trigger:hover,
.flm-figure .infographic-trigger:focus-visible {
  box-shadow: 0 18px 48px rgba(14, 42, 47, 0.20), 0 4px 12px rgba(14, 42, 47, 0.12);
}
.flm-figure .infographic-trigger img {
  background: #F6F1EA;
}
.flm-figure figcaption {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}
.flm-figure .figcap-cta {
  color: var(--steel);
}

/* Download card — reusable for any bonus asset */
.download-card {
  margin-top: 26px;
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 47, 0.10);
  border-radius: 8px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  text-align: left;
  box-shadow: 0 4px 14px rgba(14, 42, 47, 0.06);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.download-card-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.download-card-text span {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.download-card-btn {
  white-space: nowrap;
  text-decoration: none;
}
@media (max-width: 640px) {
  .download-card {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }
}

/* Three-up downloads grid — for mini-libraries */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.downloads-grid .download-card {
  margin-top: 0;
  grid-template-columns: 1fr;
  text-align: left;
  align-items: start;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  gap: 14px;
}
.downloads-grid .download-card-btn {
  justify-self: start;
}
.download-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 8px;
}
@media (max-width: 860px) {
  .downloads-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .downloads-grid .download-card-btn {
    justify-self: stretch;
    text-align: center;
  }
}

@media (max-width: 860px) {
  .inquire-hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .inquire-hero-figure {
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 22, 0.97);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 9999;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  background: #fff;
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255,255,255,0.22);
  outline: none;
}

/* ============== READER PATH BAND (Operations) ============== */
.reader-path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 36px 0 8px;
}
.reader-path .rp-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--steel);
  border-radius: 10px;
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.reader-path .rp-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}
.reader-path .rp-move {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}
.reader-path .rp-vol {
  font-size: 13px;
  color: var(--ink-soft, #5b5b5b);
  margin: 0;
}
.reader-path-note {
  text-align: center;
  font-style: italic;
  color: var(--ink-soft, #5b5b5b);
  margin-top: 14px;
  font-size: 14.5px;
}
@media (max-width: 900px) {
  .reader-path { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .reader-path { grid-template-columns: 1fr; }
}

/* ============== LANES UNDER UMBRELLA ============== */
.lanes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.lane-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--steel);
  border-radius: 10px;
  padding: 24px 22px;
}
.lane-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--steel);
  margin: 0 0 6px;
}
.lane-card .lane-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft, #5b5b5b);
  margin-bottom: 8px;
}
.lane-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

/* ============== WORKSHEET & CONTROL SETS ============== */
.ws-sets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}
.ws-set {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: start;
}
.ws-set.lead {
  border-left: 5px solid var(--steel);
  background: #fbfaf6;
}
.ws-set .ws-order {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--steel);
  line-height: 1;
  padding-top: 4px;
}
.ws-set .ws-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--ink);
}
.ws-set .ws-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft, #444);
}
.ws-set .ws-routes {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--steel);
  font-weight: 600;
}
.ws-set .ws-status {
  align-self: start;
}
@media (max-width: 720px) {
  .ws-set { grid-template-columns: 44px 1fr; }
  .ws-set .ws-status { grid-column: 2; margin-top: 6px; }
}

/* ============== ARCHITECTURE UNDERNEATH (quiet) ============== */
.arch-quiet {
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 28px;
  margin-top: 24px;
}
.arch-quiet h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--steel);
}
.arch-quiet .arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px 24px;
  margin-top: 14px;
  font-size: 14.5px;
}
.arch-quiet .arch-row {
  display: contents;
}
.arch-quiet .arch-move { font-weight: 600; color: var(--ink); }
.arch-quiet .arch-vol { color: var(--ink-soft, #5b5b5b); }
.arch-quiet .arch-layer { color: var(--steel); font-weight: 600; }
.arch-quiet .arch-head {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft, #5b5b5b);
}
@media (max-width: 720px) {
  .arch-quiet .arch-grid { grid-template-columns: 1fr; gap: 4px 0; }
  .arch-quiet .arch-row { display: block; padding: 10px 0; border-top: 1px solid var(--line); }
  .arch-quiet .arch-head { display: none; }
}

/* ============== STATUS PILLS \u2014 NEW THREE-STATE FRAMING ============== */
.st-market { background: rgba(6,137,133,0.16);  color: var(--teal-deep); }
.st-press  { background: rgba(184,100,78,0.16); color: var(--rust); }
.st-works  { background: rgba(74,124,148,0.16); color: var(--steel); }
.status-note {
  display: block;
  font-size: 13.5px;
  color: var(--ink-soft, #5b5b5b);
  margin-top: 6px;
  font-style: italic;
}

/* ============== AUTHOR PORTRAITS ============== */
/* About page — portrait card (hero size) */
.about-card .author-portrait {
  margin: 0 auto 22px;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 22px rgba(0,0,0,0.12);
}
.about-card .author-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-card-role {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 600;
  line-height: 1.4;
}

/* Home hero — small author badge under lockup */
.home-hero .lockup-figure .lockup-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line, #E2D9C7);
}
.home-hero .lockup-figure .lockup-author.lockup-author-stack {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  margin-top: 22px;
}
.home-hero .lockup-figure .lockup-author-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex: 0 0 56px;
}
.home-hero .lockup-figure .lockup-author.lockup-author-stack .lockup-author-badge {
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
}
.home-hero .lockup-figure .lockup-author-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.3;
}
.home-hero .lockup-figure .lockup-author.lockup-author-stack .lockup-author-meta {
  text-align: center;
  align-items: center;
}
.home-hero .lockup-figure .lockup-author-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink, #2D2D2D);
}
.home-hero .lockup-figure .lockup-author.lockup-author-stack .lockup-author-name {
  font-size: 16px;
}
.home-hero .lockup-figure .lockup-author-creds {
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft, #6b6b6b);
  font-weight: 600;
  margin-top: 2px;
}
.home-hero .lockup-figure .lockup-author.lockup-author-stack .lockup-author-creds {
  font-size: 11px;
  margin-top: 4px;
}

/* Communication FTC hero — author credit badge */
.author-credit {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.author-credit-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex: 0 0 56px;
}
.author-credit-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

/* Footer — imprint mark with portrait */
.footer-author {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}
.footer-author-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex: 0 0 72px;
}
.footer-author-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.footer-author-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}
.footer-author-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}
.footer-author-creds {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  margin-top: 4px;
}

@media (max-width: 720px) {
  .footer-author { flex-direction: column; align-items: flex-start; }
  .home-hero .lockup-figure .lockup-author { justify-content: flex-start; }
}

/* ============== IN-TAB SUB-NAV (Round 2) ============== */
/* Sticky pill bar that appears under the main header on long content tabs */
.subnav {
  position: sticky;
  top: 84px; /* sit directly under .site-header */
  z-index: 40;
  background: rgba(249, 254, 254, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.subnav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px var(--pad);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex-shrink: 0;
  margin-right: 4px;
}
.subnav a {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background-color: transparent;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.subnav a .pill-num {
  font-size: 10px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.subnav a:hover {
  background-color: rgba(6, 137, 133, 0.08);
  color: var(--teal-deep);
  text-decoration: none;
}
.subnav a.is-active {
  background-color: var(--teal-deep);
  color: #fff;
  border-color: var(--teal-deep);
}
.subnav a.is-active .pill-num { color: rgba(255,255,255,0.85); }

/* fade edges to hint at horizontal scroll */
.subnav::before, .subnav::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 1px;
  width: 32px;
  pointer-events: none;
  z-index: 2;
}
.subnav::before { left: 0; background: linear-gradient(90deg, rgba(249,254,254,1), rgba(249,254,254,0)); }
.subnav::after { right: 0; background: linear-gradient(270deg, rgba(249,254,254,1), rgba(249,254,254,0)); }

/* Anchor offset so jumps don't get hidden under the sticky bars */
.act-divider, [id^="ops-"], [id^="comm-"], #tws-guide, #tws-path, #tws-lanes, #tws-sets, #tws-playbook, #tws-volumes {
  scroll-margin-top: 160px;
}

/* Act-divider banner inside panels */
.act-divider {
  padding: 56px 0 12px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
.act-divider:first-of-type { border-top: 0; margin-top: 0; padding-top: 24px; }
.act-divider .act-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
}
.act-divider .act-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--teal-deep);
  margin: 0;
  letter-spacing: -0.01em;
}
.act-divider .act-blurb {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-soft);
  margin: 8px 0 0;
  max-width: 60ch;
}

@media (max-width: 720px) {
  .subnav { top: 76px; }
  .subnav-inner { padding: 8px 16px; gap: 6px; }
  .subnav-label { display: none; }
  .subnav a { padding: 6px 12px; font-size: 12px; }
  .act-divider .act-title { font-size: 22px; }
}

/* ============================================================
   CAROUSEL — Embedded LinkedIn-style swipeable carousel viewer
   ============================================================ */

.carousel {
  margin: 24px 0 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 2px 18px rgba(45, 45, 45, 0.04);
}

.carousel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.carousel-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.carousel-counter {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.carousel-stage {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f6efe1;
  aspect-ratio: 4 / 5;
  max-width: 560px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.carousel-btn {
  background: var(--charcoal);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
  flex-shrink: 0;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--teal-deep);
  transform: translateY(-1px);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.carousel-dot:hover { background: var(--ink-soft); }

.carousel-dot.is-active {
  background: var(--teal-deep);
  transform: scale(1.2);
}

.carousel-caption {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
  min-height: 22px;
  line-height: 1.5;
}

.carousel-caption strong {
  color: var(--charcoal);
  font-weight: 600;
}

.carousel-share {
  margin-top: 14px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
}

.carousel-share a {
  color: var(--teal-deep);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--teal-deep);
}

.carousel-share a:hover { color: var(--rust); border-color: var(--rust); }

@media (max-width: 720px) {
  .carousel { padding: 16px; }
  .carousel-btn { width: 40px; height: 40px; font-size: 16px; }
  .carousel-stage { max-width: 100%; }
}
