/* ==========================================================================
   HEIR EDUCATION — classes.heiressdarby.com
   Luxury Couture Atelier & National Education Flagship Stylesheet
   ========================================================================== */

@font-face {
  font-family: Instrument;
  src: url("/assets/fonts/serif-normal.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url("/assets/fonts/serif-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url("/assets/fonts/sans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/condensed.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  /* Heiress Darby Flagship Palette */
  --obsidian: #150d12;
  --cape: #1c1118;
  --bordeaux: #311924;
  --lacquer: #472233;
  --cherry: #8c2946;
  --cherry-deep: #6b1d35;
  --arch-clay: #a98d84;
  --ribbon: #c89296;
  --blush: #e7c2bf;
  --silk: #f4efe6;
  --linen: #e8dfd3;
  --bone: #dad0c3;
  --ink: #26181f;
  --pencil: #5d4b53;
  --negative: #fffaf2;

  --edge-light: rgb(244 239 230 / .16);
  --edge-light-strong: rgb(244 239 230 / .38);
  --edge-dark: rgb(38 24 31 / .15);
  --edge-dark-strong: rgb(38 24 31 / .32);
  --shadow-tinted: 0 26px 60px rgb(21 13 18 / .22);
  --shadow-deep: 0 36px 86px rgb(7 3 6 / .62);

  /* Typography */
  --display: Instrument, Georgia, serif;
  --sans: DM, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --compressed: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --max-shell: 1440px;
  --gutter: clamp(16px, 4.4vw, 80px);
  --fine: 600 10px/1.35 var(--sans);
}

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

html {
  scroll-behavior: smooth;
  background: var(--obsidian);
}

body {
  margin: 0;
  background: var(--silk);
  color: var(--ink);
  font: 16px/1.58 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body:has(dialog[open]) {
  overflow: hidden;
}

a, button, input, select {
  color: inherit;
}

a {
  text-decoration: none;
}

button, input {
  font: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

[hidden] {
  display: none !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cherry);
  outline-offset: 3px;
}

.edu-cover :focus-visible,
.roi-readout :focus-visible,
.seminars-section :focus-visible,
.end-credit :focus-visible {
  outline-color: var(--blush);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  clip-path: none;
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  background: var(--silk);
  color: var(--obsidian);
  z-index: 200;
  font-weight: 600;
}

.symbol-bank {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.film-grain {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .03;
  background-image:
    radial-gradient(rgb(255 250 242 / .6) .5px, transparent .5px),
    radial-gradient(rgb(21 13 18 / .6) .5px, transparent .5px);
  background-size: 4px 4px;
  background-position: 0 0, 2px 2px;
}

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

.folio-label {
  margin: 0;
  display: inline-block;
  font: var(--fine);
  text-transform: uppercase;
  letter-spacing: .17em;
}

.accent-cherry { color: var(--cherry); }
.accent-blush { color: var(--blush); }

/* Shared Section Headers */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  align-items: end;
  gap: clamp(18px, 4.5vw, 72px);
  margin-bottom: clamp(32px, 4.5vw, 60px);
}

.section-head h2 {
  margin: 12px 0 0;
  font: 800 clamp(38px, 5vw, 76px)/.9 var(--compressed);
  text-transform: uppercase;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.section-head h2 em {
  font: italic 400 1.07em/.88 var(--display);
  text-transform: none;
  letter-spacing: -.042em;
  color: var(--cherry);
}

.section-head-aside p {
  margin: 0;
  max-width: 48ch;
  color: var(--pencil);
  font-size: 15px;
  line-height: 1.64;
  text-wrap: pretty;
}

/* Shared Buttons */
.cta-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 46px;
  padding: 11px 22px;
  background: var(--silk);
  color: var(--obsidian);
  font: 600 13px/1.25 var(--sans);
  letter-spacing: .02em;
  white-space: nowrap;
  transition: background .22s ease, transform .18s ease, color .22s ease;
}

.cta-solid svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform .2s ease;
}

.cta-solid:hover {
  background: var(--blush);
}

.cta-solid:hover svg {
  transform: translate(2px, -2px);
}

.cta-solid:active {
  transform: scale(.98);
}

.cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid rgb(231 194 191 / .45);
  background: rgb(49 25 36 / .48);
  backdrop-filter: blur(8px);
  color: var(--negative);
  font: 500 13px/1.25 var(--sans);
  letter-spacing: .02em;
  white-space: nowrap;
  transition: background .22s ease, border-color .22s ease, transform .18s ease;
}

.cta-outline svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform .2s ease;
}

.cta-outline:hover {
  background: var(--cherry);
  border-color: var(--cherry);
}

.cta-outline:hover svg {
  transform: translate(2px, -2px);
}

.cta-outline:active {
  transform: scale(.98);
}

.cta-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px;
  font: 500 12.5px/1.3 var(--sans);
  letter-spacing: .03em;
  color: rgb(244 239 230 / .8);
  white-space: nowrap;
  transition: color .2s ease;
}

.cta-text svg {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}

.cta-text:hover {
  color: var(--blush);
}

.cta-text:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   CHAPTER I: COVER HERO & MASTHEAD
   ========================================================================== */
.edu-cover {
  position: relative;
  isolation: isolate;
  min-height: min(100dvh, 960px);
  display: flex;
  flex-direction: column;
  background: var(--obsidian);
  color: var(--negative);
  overflow: clip;
}

.cover-ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 52% 64% at 74% 42%, rgb(140 41 70 / .28), transparent 68%),
    radial-gradient(ellipse 40% 50% at 14% 22%, rgb(169 141 132 / .13), transparent 62%),
    radial-gradient(ellipse 68% 42% at 50% 100%, rgb(49 25 36 / .72), transparent 72%),
    linear-gradient(134deg, #130b10 0%, #1c1017 48%, #28141f 100%);
}

.cover-ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, transparent calc(50% - .5px), rgb(244 239 230 / .038) 50%, transparent calc(50% + .5px));
  pointer-events: none;
}

.cover-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Ecosystem Return Strip */
.ecosystem-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  min-height: 38px;
  padding-block: 6px;
  border-bottom: 1px solid rgb(244 239 230 / .1);
  font: 500 11px/1.3 var(--sans);
  letter-spacing: .04em;
  color: rgb(244 239 230 / .72);
}

.return-crumb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blush);
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s ease;
}

.return-crumb svg {
  width: 13px;
  height: 13px;
  transition: transform .2s ease;
}

.return-crumb:hover {
  color: var(--negative);
}

.return-crumb:hover svg {
  transform: translateX(-3px);
}

.ecosystem-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.ecosystem-meta a {
  color: rgb(244 239 230 / .76);
  transition: color .2s ease;
}

.ecosystem-meta a:hover {
  color: var(--blush);
}

.eco-sep {
  opacity: .4;
}

/* Masthead */
.masthead {
  position: relative;
  z-index: 25;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  min-height: 76px;
  border-bottom: 1px solid var(--edge-light);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.wordmark svg {
  width: 38px;
  height: 28px;
  color: var(--blush);
  flex: none;
}

.wordmark-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.wordmark-text strong {
  font: 400 22px/1 var(--display);
  letter-spacing: -.018em;
  white-space: nowrap;
}

.wordmark-text small {
  font: 500 9px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blush);
  opacity: .84;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 34px);
  font: 500 12px/1.4 var(--sans);
  letter-spacing: .035em;
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
  color: rgb(255 250 242 / .84);
  white-space: nowrap;
  transition: color .2s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--blush);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}

.primary-nav a:hover {
  color: var(--negative);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.masthead-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--edge-light-strong);
  background: rgb(21 13 18 / .4);
  backdrop-filter: blur(8px);
  font: 600 12px/1.25 var(--sans);
  letter-spacing: .03em;
  white-space: nowrap;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}

.btn-consult svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.btn-consult:hover {
  background: var(--silk);
  color: var(--obsidian);
  border-color: var(--silk);
}

.mobile-nav {
  display: none;
}

/* Hero Editorial Split */
.hero-stage {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 76px);
  padding-block: clamp(24px, 4vh, 52px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font: var(--fine);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--blush);
}

.eyebrow-rule {
  width: 30px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.hero-copy h1 {
  margin: 14px 0 18px;
  font-weight: normal;
}

.hero-copy h1 span {
  display: block;
  font: 800 clamp(68px, 8.2vw, 148px)/.79 var(--compressed);
  text-transform: uppercase;
  letter-spacing: -.035em;
  color: var(--negative);
}

.hero-copy h1 em {
  display: block;
  margin: -.05em 0 0 .18em;
  font: italic 400 clamp(72px, 8.6vw, 158px)/.82 var(--display);
  letter-spacing: -.052em;
  color: var(--blush);
}

.hero-lead {
  margin: 0 0 26px;
  max-width: 50ch;
  color: rgb(244 239 230 / .83);
  font: 400 clamp(14.5px, 1.08vw, 16.5px)/1.64 var(--sans);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.hero-credentials {
  margin: clamp(24px, 3.6vh, 40px) 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--edge-light);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 22px;
  width: 100%;
  max-width: 580px;
}

.hero-credentials > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.hero-credentials dt {
  font: 600 9.5px/1.2 var(--sans);
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--blush);
}

.hero-credentials dd {
  margin: 0;
  font: 500 12.5px/1.35 var(--sans);
  color: var(--negative);
}

/* Right: Sculpted Arch Portrait + Clickable Studio Film Preview */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  padding: 12px clamp(14px, 3vw, 48px) 22px clamp(8px, 1.4vw, 24px);
}

.arch-stage {
  position: relative;
  width: min(100%, 440px);
}

.arch-outline {
  position: absolute;
  inset: -12px -12px 14px 14px;
  border-radius: 230px 230px 3px 3px;
  border: 1px solid rgb(169 141 132 / .42);
  pointer-events: none;
}

.arch-portrait {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 3 / 3.85;
  max-height: min(64dvh, 560px);
  border-radius: 230px 230px 3px 3px;
  overflow: clip;
  isolation: isolate;
  background: var(--bordeaux);
  border: 1px solid rgb(244 239 230 / .24);
  box-shadow: var(--shadow-deep);
}

.arch-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.arch-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(21 13 18 / .06) 0%, transparent 50%, rgb(21 13 18 / .9) 100%);
  pointer-events: none;
}

.arch-caption {
  position: absolute;
  left: 22px;
  right: 132px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  gap: 3px;
}

.arch-kicker {
  font: 600 9px/1.2 var(--sans);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--blush);
}

.arch-caption strong {
  font: italic 400 clamp(26px, 2.5vw, 34px)/1 var(--display);
  letter-spacing: -.02em;
  color: var(--negative);
}

.arch-caption small {
  font: 500 10.5px/1.3 var(--sans);
  color: rgb(244 239 230 / .74);
}

/* Clickable Studio Film Preview Card (No Autoplay Video) */
.film-card {
  position: absolute;
  right: -28px;
  bottom: -18px;
  z-index: 4;
  width: clamp(138px, 34%, 172px);
  padding: 6px;
  background: var(--silk);
  color: var(--ink);
  border: 1px solid rgb(244 239 230 / .75);
  box-shadow: 0 24px 52px rgb(6 2 5 / .62);
  text-align: left;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease;
}

.film-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgb(6 2 5 / .72);
}

.film-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 4.6;
  border-radius: 90px 90px 2px 2px;
  overflow: clip;
  background: var(--obsidian);
}

.film-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform .5s ease;
}

.film-card:hover .film-card-media img {
  transform: scale(1.05);
}

.film-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(21 13 18 / .12) 0%, rgb(21 13 18 / .58) 100%);
}

.film-play-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgb(21 13 18 / .72);
  border: 1.5px solid var(--silk);
  color: var(--silk);
  backdrop-filter: blur(6px);
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.film-play-ring svg {
  width: 17px;
  height: 17px;
  margin-left: 2px;
}

.film-card:hover .film-play-ring {
  background: var(--cherry);
  border-color: var(--cherry);
  color: var(--negative);
  transform: scale(1.08);
}

.film-card-meta {
  display: grid;
  gap: 2px;
  padding: 8px 4px 3px;
}

.film-card-meta strong {
  font: italic 400 18px/1 var(--display);
  color: var(--ink);
}

.film-card-meta small {
  font: 600 9.5px/1.2 var(--mono);
  color: var(--cherry);
  letter-spacing: .03em;
  white-space: nowrap;
}

/* Cover Bottom Quick-Index Bar */
.cover-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding-block: 14px 18px;
  border-top: 1px solid var(--edge-light);
}

.cover-index-label {
  display: grid;
  gap: 2px;
}

.cover-index-label .folio-label {
  color: var(--blush);
}

.cover-index-label small {
  font-size: 12px;
  color: rgb(244 239 230 / .68);
}

.cover-course-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.course-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 6px 13px;
  border: 1px solid rgb(244 239 230 / .22);
  background: rgb(21 13 18 / .45);
  color: var(--negative);
  font: 500 12px/1.2 var(--sans);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.course-pill:hover {
  background: var(--silk);
  border-color: var(--silk);
  color: var(--obsidian);
}

.pill-code {
  font: 600 10px/1 var(--mono);
  color: var(--blush);
}

.course-pill:hover .pill-code {
  color: var(--cherry);
}

.pill-name {
  font-weight: 600;
}

.pill-meta {
  font: 500 11px/1 var(--mono);
  opacity: .76;
}

/* ==========================================================================
   CHAPTER II: INTERACTIVE MASTERCLASS CURRICULUM EXPLORER
   ========================================================================== */
.curriculum-section {
  background: var(--silk);
  color: var(--ink);
  padding: clamp(64px, 7.5vw, 120px) 0;
}

.tier-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.tier-tab {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px;
  text-align: left;
  background: var(--linen);
  border: 1px solid var(--edge-dark);
  color: var(--ink);
  transition: background .24s ease, border-color .24s ease, transform .2s ease, box-shadow .24s ease;
}

.tier-tab:hover {
  border-color: var(--cherry);
  transform: translateY(-2px);
}

.tier-tab[aria-selected="true"] {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--negative);
  box-shadow: var(--shadow-tinted);
}

.tier-tab-top,
.tier-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.tier-badge {
  font: 600 9.5px/1.2 var(--sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--cherry);
}

.tier-tab[aria-selected="true"] .tier-badge {
  color: var(--blush);
}

.tier-duration {
  font: 500 11px/1 var(--mono);
  color: var(--pencil);
}

.tier-tab[aria-selected="true"] .tier-duration {
  color: rgb(244 239 230 / .78);
}

.tier-title {
  font: italic 400 clamp(24px, 2.2vw, 31px)/1.05 var(--display);
  letter-spacing: -.022em;
}

.tier-price {
  font: 800 clamp(28px, 2.5vw, 36px)/1 var(--compressed);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.tier-acuity {
  font: 500 10.5px/1 var(--mono);
  opacity: .68;
}

/* Active Prospectus Split Panel */
.prospectus-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: clamp(22px, 3.2vw, 44px);
  align-items: start;
  background: var(--negative);
  border: 1px solid var(--edge-dark);
  padding: clamp(22px, 3.2vw, 44px);
  box-shadow: 0 20px 50px rgb(38 24 31 / .07);
}

.syllabus-header h3 {
  margin: 10px 0 12px;
  font: italic 400 clamp(32px, 3.4vw, 50px)/.98 var(--display);
  letter-spacing: -.035em;
  color: var(--ink);
}

.syllabus-summary {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.66;
  color: var(--pencil);
  max-width: 60ch;
}

.syllabus-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--edge-dark);
}

.module-item {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 10px 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--edge-dark);
}

.module-time {
  display: grid;
  align-content: start;
  gap: 4px;
}

.module-step {
  font: 800 26px/1 var(--compressed);
  color: var(--cherry);
  letter-spacing: -.02em;
}

.module-hours {
  font: 500 11px/1.3 var(--mono);
  color: var(--pencil);
}

.module-body h4 {
  margin: 0 0 6px;
  font: 600 16px/1.3 var(--sans);
  color: var(--ink);
}

.module-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
  color: var(--pencil);
}

/* Mandatory Consult Workflow */
.consult-flow {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--linen);
  border: 1px solid var(--edge-dark);
}

.consult-flow-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 14px;
}

.consult-note {
  font: 500 12px/1.3 var(--sans);
  color: var(--pencil);
}

.consult-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.consult-steps li {
  display: grid;
  gap: 4px;
  align-content: start;
  padding-top: 10px;
  border-top: 1px solid rgb(169 141 132 / .48);
}

.consult-steps strong {
  font: 600 12.5px/1.3 var(--sans);
  color: var(--ink);
}

.consult-steps span {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--pencil);
}

/* Right Dossier Card */
.dossier-col {
  background: var(--silk);
  border: 1px solid var(--edge-dark);
  overflow: hidden;
}

.dossier-plate {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bordeaux);
}

.dossier-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform .5s ease, opacity .25s ease;
}

.dossier-plate-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 10px;
  background: rgb(21 13 18 / .76);
  backdrop-filter: blur(6px);
  border: 1px solid rgb(244 239 230 / .24);
  font: 600 9.5px/1.2 var(--sans);
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--blush);
}

.dossier-body {
  padding: 22px 24px 26px;
}

.dossier-tuition {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--edge-dark);
}

.tuition-amount {
  display: block;
  margin-top: 4px;
  font: 800 clamp(38px, 3.6vw, 52px)/.9 var(--compressed);
  letter-spacing: -.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.tuition-meta {
  display: grid;
  gap: 4px;
  text-align: right;
  font: 500 11.5px/1.3 var(--mono);
  color: var(--pencil);
}

.dossier-kit {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--edge-dark);
}

.kit-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.kit-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--pencil);
}

.kit-list svg {
  width: 16px;
  height: 16px;
  color: var(--cherry);
  margin-top: 2px;
}

.kit-list strong {
  color: var(--ink);
  font-weight: 600;
}

.dossier-actions {
  display: grid;
  gap: 10px;
  padding-top: 20px;
}

.btn-acuity-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  background: var(--bordeaux);
  color: var(--negative);
  font: 600 13px/1.25 var(--sans);
  letter-spacing: .02em;
  text-align: center;
  transition: background .22s ease, transform .18s ease;
}

.btn-acuity-primary svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform .2s ease;
}

.btn-acuity-primary:hover {
  background: var(--cherry);
}

.btn-acuity-primary:hover svg {
  transform: translate(2px, -2px);
}

.btn-acuity-primary:active {
  transform: scale(.98);
}

.btn-salon-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--edge-dark-strong);
  background: var(--negative);
  color: var(--ink);
  font: 600 12.5px/1.25 var(--sans);
  text-align: center;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.btn-salon-secondary svg {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform .2s ease;
}

.btn-salon-secondary:hover {
  border-color: var(--cherry);
  color: var(--cherry);
  background: var(--silk);
}

.btn-salon-secondary:hover svg {
  transform: translateX(3px);
}

.btn-roi-jump {
  padding: 8px 4px 2px;
  font: 600 12px/1.3 var(--sans);
  color: var(--cherry);
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .2s ease;
}

.btn-roi-jump:hover {
  color: var(--bordeaux);
}

/* Comparison Table */
.compare-wrap {
  margin-top: clamp(32px, 4.5vw, 54px);
  border: 1px solid var(--edge-dark);
  background: var(--negative);
}

.compare-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--edge-dark);
  background: var(--linen);
}

.compare-head h3 {
  margin: 0;
  font: italic 400 24px/1.1 var(--display);
  color: var(--ink);
}

.compare-head span {
  font: 500 12px/1.4 var(--sans);
  color: var(--pencil);
}

.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 13.5px;
}

.compare-table th {
  padding: 13px 18px;
  text-align: left;
  font: var(--fine);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--pencil);
  border-bottom: 1px solid var(--edge-dark);
  background: var(--silk);
}

.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--edge-dark);
  vertical-align: middle;
  color: var(--ink);
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr {
  transition: background .2s ease;
}

.compare-table tbody tr.is-active {
  background: rgb(140 41 70 / .055);
}

.compare-table tbody tr:hover {
  background: rgb(140 41 70 / .08);
}

.compare-table td strong {
  display: block;
  font-weight: 600;
}

.compare-table td small {
  display: block;
  margin-top: 2px;
  font: 500 11px/1.2 var(--mono);
  color: var(--pencil);
}

.compare-table .mono {
  font-family: var(--mono);
  font-weight: 600;
  white-space: nowrap;
}

.table-book-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  background: var(--bordeaux);
  color: var(--negative);
  font: 600 11.5px/1.2 var(--sans);
  white-space: nowrap;
  transition: background .2s ease;
}

.table-book-link:hover {
  background: var(--cherry);
}

/* ==========================================================================
   CHAPTER III: WHAT'S INCLUDED
   ========================================================================== */
.included-section {
  background: var(--linen);
  color: var(--ink);
  padding: clamp(64px, 7vw, 112px) 0;
  border-top: 1px solid var(--edge-dark);
  border-bottom: 1px solid var(--edge-dark);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.included-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--silk);
  border: 1px solid var(--edge-dark);
  transition: border-color .22s ease, transform .22s ease;
}

.included-card:hover {
  border-color: var(--cherry);
  transform: translateY(-2px);
}

.included-num {
  display: inline-block;
  margin-bottom: 14px;
  font: italic 400 32px/1 var(--display);
  color: var(--cherry);
}

.included-card h3 {
  margin: 0 0 10px;
  font: 800 24px/1.02 var(--compressed);
  text-transform: uppercase;
  letter-spacing: -.015em;
  color: var(--ink);
}

.included-card p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--pencil);
}

.included-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--edge-dark);
  font: 600 10px/1.3 var(--sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--cherry);
}

/* ==========================================================================
   CHAPTER IV: INTERACTIVE STYLIST ROI CALCULATOR
   ========================================================================== */
.roi-section {
  background: var(--silk);
  color: var(--ink);
  padding: clamp(64px, 7.5vw, 120px) 0;
}

.roi-stage {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  border: 1px solid var(--edge-dark);
  box-shadow: var(--shadow-tinted);
  overflow: hidden;
}

.roi-controls {
  background: var(--negative);
  padding: clamp(24px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.roi-field {
  display: grid;
  gap: 10px;
}

.roi-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.roi-field-label {
  font: 600 11px/1.3 var(--sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink);
}

.roi-value-pill {
  padding: 4px 10px;
  background: var(--linen);
  border: 1px solid var(--edge-dark);
  font: 600 12.5px/1.2 var(--mono);
  color: var(--cherry);
  font-variant-numeric: tabular-nums;
}

.roi-course-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.roi-course-btn {
  display: grid;
  gap: 3px;
  padding: 12px 10px;
  text-align: left;
  background: var(--silk);
  border: 1px solid var(--edge-dark);
  color: var(--ink);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.roi-course-btn strong {
  font: 600 13.5px/1.2 var(--sans);
}

.roi-course-btn span {
  font: 500 11px/1.2 var(--mono);
  color: var(--pencil);
}

.roi-course-btn:hover {
  border-color: var(--cherry);
}

.roi-course-btn.is-selected {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--negative);
}

.roi-course-btn.is-selected span {
  color: var(--blush);
}

.roi-slider-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
}

.stepper-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--edge-dark-strong);
  background: var(--silk);
  color: var(--ink);
  font: 600 17px/1 var(--sans);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.stepper-btn:hover {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--negative);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--bone);
  border-radius: 999px;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cherry);
  border: 3px solid var(--negative);
  box-shadow: 0 2px 8px rgb(21 13 18 / .32);
  transition: transform .15s ease, background .15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  background: var(--bordeaux);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cherry);
  border: 3px solid var(--negative);
  box-shadow: 0 2px 8px rgb(21 13 18 / .32);
}

.roi-scale-marks {
  display: flex;
  justify-content: space-between;
  font: 500 11px/1 var(--mono);
  color: var(--pencil);
}

.roi-rate-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.preset-chip {
  padding: 5px 10px;
  border: 1px solid var(--edge-dark);
  background: var(--silk);
  color: var(--pencil);
  font: 500 11px/1.2 var(--mono);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.preset-chip:hover {
  border-color: var(--cherry);
  color: var(--ink);
}

.preset-chip.is-active {
  background: var(--cherry);
  border-color: var(--cherry);
  color: var(--negative);
}

.roi-footnote {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--edge-dark);
  font-size: 12px;
  line-height: 1.55;
  color: var(--pencil);
}

/* ROI Readout Panel */
.roi-readout {
  background:
    radial-gradient(ellipse 68% 58% at 90% 10%, rgb(140 41 70 / .36), transparent 62%),
    linear-gradient(155deg, var(--bordeaux) 0%, var(--obsidian) 100%);
  color: var(--negative);
  padding: clamp(26px, 3.6vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.roi-headline {
  margin: 12px 0 8px;
  font: 800 clamp(30px, 3.2vw, 48px)/.96 var(--compressed);
  text-transform: uppercase;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.roi-headline em {
  font: italic 400 1.08em/.94 var(--display);
  text-transform: none;
  letter-spacing: -.035em;
  color: var(--blush);
}

.roi-subline {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.58;
  color: rgb(244 239 230 / .8);
  max-width: 48ch;
}

.roi-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.roi-metric {
  padding: 16px 18px;
  background: rgb(21 13 18 / .48);
  border: 1px solid rgb(244 239 230 / .16);
  display: grid;
  gap: 5px;
}

.roi-metric.is-featured {
  background: rgb(140 41 70 / .24);
  border-color: rgb(231 194 191 / .4);
}

.metric-label {
  font: 600 9.5px/1.2 var(--sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--blush);
}

.metric-value {
  font: 800 clamp(28px, 2.8vw, 40px)/1 var(--compressed);
  letter-spacing: -.02em;
  color: var(--negative);
  font-variant-numeric: tabular-nums;
}

.roi-bar-block {
  display: grid;
  gap: 8px;
}

.roi-bar-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 14px;
  font: 500 11.5px/1.3 var(--mono);
  color: rgb(244 239 230 / .82);
}

.roi-bar-track {
  display: flex;
  width: 100%;
  height: 10px;
  background: rgb(244 239 230 / .14);
  overflow: hidden;
}

.roi-bar-cost {
  background: var(--arch-clay);
  min-width: 6px;
  transition: width .35s ease;
}

.roi-bar-profit {
  background: linear-gradient(90deg, var(--cherry) 0%, var(--blush) 100%);
  transition: width .35s ease;
}

.roi-readout-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding-top: 6px;
}

.roi-view-syllabus {
  font: 500 12.5px/1.3 var(--sans);
  color: var(--blush);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .2s ease;
}

.roi-view-syllabus:hover {
  color: var(--negative);
}

/* ==========================================================================
   CHAPTER V: INFLUANCE HAIR CARE NATIONAL EDUCATOR SEMINARS
   ========================================================================== */
.seminars-section {
  position: relative;
  background:
    radial-gradient(ellipse 46% 52% at 14% 12%, rgb(140 41 70 / .28), transparent 60%),
    radial-gradient(ellipse 44% 50% at 88% 88%, rgb(169 141 132 / .15), transparent 56%),
    linear-gradient(180deg, var(--bordeaux) 0%, var(--obsidian) 100%);
  color: var(--negative);
  padding: clamp(68px, 8vw, 128px) 0;
  border-top: 1px solid rgb(231 194 191 / .18);
  border-bottom: 1px solid rgb(231 194 191 / .18);
}

.seminars-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 4.8vw, 72px);
  align-items: start;
}

.seminars-story h2 {
  margin: 12px 0 18px;
  font: 800 clamp(42px, 5.4vw, 84px)/.88 var(--compressed);
  text-transform: uppercase;
  letter-spacing: -.034em;
}

.seminars-story h2 em {
  font: italic 400 1.07em/.88 var(--display);
  text-transform: none;
  letter-spacing: -.042em;
  color: var(--blush);
}

.seminars-lead {
  margin: 0 0 14px;
  font: 400 clamp(18px, 1.6vw, 24px)/1.38 var(--display);
  letter-spacing: -.012em;
  color: var(--negative);
  max-width: 46ch;
}

.seminars-body {
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.66;
  color: rgb(244 239 230 / .78);
  max-width: 56ch;
}

.seminar-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.seminar-pillar {
  padding: 20px 20px 22px;
  background: rgb(21 13 18 / .48);
  border: 1px solid rgb(231 194 191 / .2);
}

.pillar-index {
  display: inline-block;
  margin-bottom: 8px;
  font: 600 11px/1 var(--mono);
  color: var(--blush);
  letter-spacing: .08em;
}

.seminar-pillar h3 {
  margin: 0 0 8px;
  font: italic 400 24px/1.08 var(--display);
  color: var(--negative);
}

.seminar-pillar p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.56;
  color: rgb(244 239 230 / .75);
}

/* Seminar Inquiry Card */
.seminar-booking-card {
  background: rgb(21 13 18 / .72);
  border: 1px solid rgb(231 194 191 / .28);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}

.seminar-arch-accent {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bordeaux);
}

.seminar-arch-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}

.seminar-photo-badge {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 5px 11px;
  background: rgb(21 13 18 / .76);
  backdrop-filter: blur(6px);
  border: 1px solid rgb(231 194 191 / .35);
  font: 600 9.5px/1.2 var(--sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--blush);
}

.seminar-card-content {
  padding: clamp(22px, 3vw, 34px);
}

.seminar-card-content h3 {
  margin: 10px 0 10px;
  font: italic 400 clamp(26px, 2.6vw, 36px)/1.05 var(--display);
  color: var(--negative);
}

.seminar-card-content > p:not(.folio-label) {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: rgb(244 239 230 / .78);
}

.seminar-formats {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  border-top: 1px solid var(--edge-light);
}

.seminar-formats li {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--edge-light);
}

.seminar-formats strong {
  font: 600 13.5px/1.3 var(--sans);
  color: var(--negative);
}

.seminar-formats span {
  font-size: 12.5px;
  color: var(--blush);
  opacity: .88;
}

.seminar-actions {
  display: grid;
  gap: 12px;
}

.seminar-cta {
  width: 100%;
}

.seminar-phone-link {
  text-align: center;
  font: 500 12.5px/1.3 var(--mono);
  color: var(--blush);
  padding: 4px 0;
  transition: color .2s ease;
}

.seminar-phone-link:hover {
  color: var(--negative);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   CHAPTER VI: CLEAN SIDE-BY-SIDE FAQ
   ========================================================================== */
.faq-section {
  background: var(--silk);
  color: var(--ink);
  padding: clamp(64px, 7.5vw, 116px) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  align-items: start;
}

.faq-item {
  background: var(--negative);
  border: 1px solid var(--edge-dark);
  transition: border-color .22s ease;
}

.faq-item[open] {
  border-color: var(--cherry);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font: 600 15px/1.38 var(--sans);
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--cherry);
  transition: transform .22s ease, opacity .22s ease;
}

.faq-toggle::before {
  width: 14px;
  height: 1.5px;
  translate: -50% -50%;
}

.faq-toggle::after {
  width: 1.5px;
  height: 14px;
  translate: -50% -50%;
}

.faq-item[open] .faq-toggle::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 22px 20px;
  border-top: 1px solid rgb(38 24 31 / .08);
}

.faq-answer p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--pencil);
}

.faq-answer a {
  color: var(--cherry);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   END CREDIT & STUDIO LOCATION FOOTER
   ========================================================================== */
.end-credit {
  background: var(--obsidian);
  color: var(--silk);
  padding: clamp(54px, 6vw, 88px) 0 64px;
  border-top: 1px solid rgb(231 194 191 / .16);
}

.signoff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--edge-light);
}

.signoff-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.end-mark {
  width: 52px;
  height: 38px;
  color: var(--blush);
  flex: none;
}

.signoff-kicker {
  margin: 0 0 4px;
  font: var(--fine);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blush);
}

.signoff-line {
  margin: 0;
  font: italic 400 clamp(30px, 4vw, 60px)/1 var(--display);
  letter-spacing: -.038em;
}

.signoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.credit-grid {
  margin-top: 32px;
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.credit-label {
  display: block;
  margin-bottom: 8px;
  font: var(--fine);
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--blush);
}

.credit-grid p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgb(244 239 230 / .82);
}

.credit-grid a:hover {
  color: var(--blush);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.credit-line {
  border-top: 1px solid var(--edge-light);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  font-size: 12px;
  color: rgb(244 239 230 / .68);
}

.credit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.credit-links a:hover {
  color: var(--negative);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   ON-CLICK STUDIO FILM LIGHTBOX MODAL
   ========================================================================== */
.film-dialog {
  border: 0;
  padding: 0;
  width: min(920px, calc(100vw - 24px));
  max-height: min(90dvh, 760px);
  background: var(--silk);
  color: var(--ink);
  box-shadow: 0 36px 96px rgb(7 3 6 / .72);
  overflow: auto;
}

.film-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.film-dialog::backdrop {
  background: rgb(15 8 12 / .86);
  backdrop-filter: blur(8px);
}

.dialog-media {
  min-width: 0;
  background: var(--obsidian);
  display: grid;
  place-items: center;
}

.dialog-media video {
  width: 100%;
  height: min(74dvh, 640px);
  object-fit: contain;
  background: var(--obsidian);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--silk);
  color: var(--ink);
  z-index: 4;
  font: 300 26px/1 var(--sans);
  box-shadow: 0 4px 16px rgb(21 13 18 / .24);
  transition: background .2s ease, color .2s ease;
}

.dialog-close:hover {
  background: var(--cherry);
  color: var(--negative);
}

.dialog-notes {
  padding: clamp(22px, 3vw, 42px);
  align-self: center;
}

.dialog-notes h2 {
  margin: 10px 0 12px;
  font: italic 400 clamp(34px, 3.8vw, 54px)/.95 var(--display);
  letter-spacing: -.035em;
}

.dialog-copy {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--pencil);
}

.dialog-meta {
  margin: 0 0 22px;
  padding-top: 12px;
  border-top: 1px solid var(--edge-dark);
  font: 500 12px/1.4 var(--mono);
  color: var(--ink);
}

.dialog-actions {
  display: grid;
  gap: 10px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (320px TO 3440px — ZERO HORIZONTAL OVERFLOW)
   ========================================================================== */

@media (max-width: 1120px) {
  .primary-nav {
    gap: 14px;
  }
  .wordmark-text small {
    display: none;
  }
  .prospectus-panel {
    grid-template-columns: 1fr;
  }
  .included-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .roi-stage {
    grid-template-columns: 1fr;
  }
  .seminars-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 940px) {
  .masthead {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }
  .primary-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
    position: relative;
  }
  .mobile-nav summary {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--edge-light-strong);
    list-style: none;
    cursor: pointer;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .menu-lines,
  .menu-lines::after {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--silk);
    transition: transform .2s ease;
  }
  .menu-lines {
    transform: translateY(-3px);
  }
  .menu-lines::after {
    content: "";
    transform: translateY(6px);
  }
  .mobile-nav[open] .menu-lines {
    transform: rotate(45deg);
  }
  .mobile-nav[open] .menu-lines::after {
    transform: rotate(-90deg);
  }
  .mobile-nav[open] nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 40;
    display: grid;
    width: min(270px, calc(100vw - 32px));
    background: var(--bordeaux);
    border: 1px solid var(--edge-light-strong);
    padding: 6px 18px;
    box-shadow: 0 24px 52px rgb(7 3 6 / .72);
  }
  .mobile-nav nav a {
    border-bottom: 1px solid var(--edge-light);
    padding: 13px 0;
    font-size: 13.5px;
    color: var(--negative);
  }
  .mobile-nav nav a:last-child {
    border-bottom: 0;
  }
  .mobile-nav nav a.mobile-nav-accent {
    color: var(--blush);
    font-weight: 600;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tier-tabs {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .credit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .edu-cover {
    min-height: auto;
  }
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 24px 28px;
  }
  .hero-visual {
    padding: 8px 18px 28px 8px;
  }
  .arch-stage {
    width: min(100%, 380px);
  }
  .film-card {
    right: -12px;
    bottom: -18px;
    width: 146px;
  }
  .consult-steps {
    grid-template-columns: 1fr;
  }
  .seminar-pillars {
    grid-template-columns: 1fr;
  }
  .film-dialog[open] {
    display: block;
    max-width: 480px;
  }
  .dialog-media video {
    height: min(46dvh, 400px);
  }
}

@media (max-width: 600px) {
  .eco-tag,
  .eco-sep:first-of-type {
    display: none;
  }
  .hero-credentials {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .module-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .included-grid {
    grid-template-columns: 1fr;
  }
  .roi-course-group {
    grid-template-columns: 1fr;
  }
  .roi-metrics-grid {
    grid-template-columns: 1fr;
  }
  .credit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  :root {
    --gutter: 16px;
  }
  .ecosystem-meta a:last-child,
  .ecosystem-meta .eco-sep {
    display: none;
  }
  .wordmark svg {
    width: 30px;
    height: 22px;
  }
  .wordmark-text strong {
    font-size: 19px;
  }
  .btn-consult {
    padding: 7px 11px;
    font-size: 11px;
  }
  .hero-copy h1 span {
    font-size: clamp(54px, 16.5vw, 84px);
  }
  .hero-copy h1 em {
    font-size: clamp(58px, 17.5vw, 90px);
  }
  .hero-actions {
    width: 100%;
  }
  .cta-solid,
  .cta-outline {
    width: 100%;
  }
  .hero-visual {
    padding: 6px 8px 24px 4px;
  }
  .arch-outline {
    inset: -8px -8px 8px 8px;
  }
  .arch-caption {
    left: 16px;
    right: 128px;
    bottom: 14px;
  }
  .film-card {
    right: -4px;
    bottom: -16px;
    width: 126px;
    padding: 5px;
  }
  .film-play-ring {
    width: 36px;
    height: 36px;
  }
  .film-card-meta strong {
    font-size: 15px;
  }
  .cover-course-pills {
    width: 100%;
  }
  .course-pill {
    width: 100%;
    justify-content: space-between;
  }
  .prospectus-panel,
  .roi-controls,
  .roi-readout {
    padding: 20px 16px;
  }
  .dossier-body {
    padding: 18px 16px 20px;
  }
  .signoff-actions {
    width: 100%;
  }
  .signoff-line {
    font-size: 28px;
  }
}

@media (max-width: 350px) {
  .btn-consult span {
    display: none;
  }
  .arch-caption {
    right: 112px;
  }
  .film-card {
    width: 112px;
  }
}

@media (min-width: 1800px) {
  :root {
    --max-shell: 1560px;
  }
}

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