/* ==========================================================================
   Studio A1 International Beauty Academy — design system
   Luxury beauty × international education × editorial
   ========================================================================== */

:root {
  /* colour */
  --ink: #0e0b0a;
  --ink-2: #15100e;
  --ink-3: #201916;
  --ink-4: #2c231f;
  --ivory: #f4ece2;
  --paper: #fbf7f1;
  --sand: #e9ddcf;
  --text-d: #1b1513;
  --muted-d: #5f524b;
  --text-l: #f3ebe3;
  --muted-l: #c4b6ac;
  --rose: #c9a48d;
  --rose-l: #e6cdb9;
  --rose-d: #8a6756;
  --line-l: rgba(230, 205, 185, .16);
  --line-d: rgba(27, 21, 19, .12);
  --rose-grad: linear-gradient(100deg, #9b7766 0%, #ecd6c5 38%, #c09c87 62%, #f2e1d3 100%);
  --success: #7fae8c;
  --danger: #d98a7c;

  /* type */
  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mark: "Cinzel", "Playfair Display", serif;
  --fs-hero: clamp(2.7rem, 4.9vw, 5.2rem);
  --fs-h1: clamp(2.5rem, 5.2vw, 4.75rem);
  --fs-h2: clamp(2rem, 3.8vw, 3.4rem);
  --fs-h3: clamp(1.35rem, 2vw, 1.75rem);
  --fs-lead: clamp(1.05rem, 1.35vw, 1.25rem);

  /* space & shape */
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1260px;
  --section: clamp(84px, 11vw, 160px);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-l);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--rose); color: var(--ink); }
:focus-visible { outline: 2px solid var(--rose-l); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--rose-l); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 900px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.s-dark { background: var(--ink); color: var(--text-l); }
.s-dark-2 { background: var(--ink-2); color: var(--text-l); }
.s-ivory { background: var(--ivory); color: var(--text-d); }
.s-paper { background: var(--paper); color: var(--text-d); }
.s-ivory .muted, .s-paper .muted { color: var(--muted-d); }
.muted { color: var(--muted-l); }
.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide-left { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
.display, .h1, .h2 { font-family: var(--f-display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
.display { font-size: var(--fs-hero); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); line-height: 1.06; }
.h3 { font-family: var(--f-display); font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; }
.gold-text { background: var(--rose-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s-ivory .gold-text, .s-paper .gold-text { background: linear-gradient(100deg, #6f4f40, #a37d68 50%, #6f4f40); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: var(--fs-lead); line-height: 1.65; max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rose);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.s-ivory .eyebrow, .s-paper .eyebrow { color: var(--rose-d); }
.eyebrow--plain::before { display: none; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.section-head--row > div { max-width: 720px; }
.num { font-family: var(--f-display); font-style: italic; color: var(--rose); }

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 28px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .45s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .45s var(--ease);
  white-space: nowrap; isolation: isolate; overflow: hidden;
}
.btn svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { color: var(--ink); background: var(--rose-grad); background-size: 200% 100%; background-position: 0% 0; box-shadow: 0 10px 30px -12px rgba(201, 164, 141, .55); }
.btn--primary:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(201, 164, 141, .7); }
.btn--primary { transition: background-position .8s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); }
.btn--outline { border: 1px solid var(--line-l); color: var(--text-l); background: rgba(255, 255, 255, .02); }
.btn--outline:hover { border-color: var(--rose); color: var(--rose-l); transform: translateY(-2px); }
.s-ivory .btn--outline, .s-paper .btn--outline { border-color: rgba(27, 21, 19, .25); color: var(--text-d); }
.s-ivory .btn--outline:hover, .s-paper .btn--outline:hover { border-color: var(--rose-d); color: var(--rose-d); }
.btn--dark { background: var(--ink); color: var(--text-l); }
.btn--dark:hover { background: var(--ink-4); transform: translateY(-2px); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: .78rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); }
.s-ivory .link-arrow, .s-paper .link-arrow { color: var(--rose-d); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h);
  transition: background-color .4s, backdrop-filter .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(14, 11, 10, .82); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line-l); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text-l); flex-shrink: 0; }
.brand img { width: 34px; height: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--f-mark); font-weight: 500; font-size: 1.12rem; letter-spacing: .12em; }
.brand-word small { font-size: .56rem; letter-spacing: .22em; font-weight: 600; text-transform: uppercase; color: var(--rose); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); }
.nav a { position: relative; white-space: nowrap; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(243, 235, 227, .78); padding: 6px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rose); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text-l); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-l); align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 18px; height: 1px; background: var(--text-l); position: relative; transition: background .3s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: var(--text-l); transition: transform .4s var(--ease); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1240px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  .header-cta .btn { display: none; }
}

/* full-screen menu */
.menu-panel {
  position: fixed; inset: 0; z-index: 85; background: var(--ink-2);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 24px) var(--gutter) 120px;
  overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
body.menu-open .menu-panel { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.menu-panel nav { display: flex; flex-direction: column; }
.menu-panel nav a { font-family: var(--f-display); font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.25; padding: 6px 0; border-bottom: 1px solid var(--line-l); display: flex; justify-content: space-between; align-items: baseline; transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease), color .3s; }
.menu-panel nav a small { font-family: var(--f-body); font-size: .78rem; letter-spacing: .14em; color: var(--rose); }
.menu-panel nav a:hover { color: var(--rose-l); }
body.menu-open .menu-panel nav a { transform: none; opacity: 1; }
.menu-panel .menu-foot { margin-top: 32px; display: grid; gap: 14px; font-size: .9rem; color: var(--muted-l); }

/* mobile bottom bar */
.bottom-bar { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .bottom-bar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    height: calc(66px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(14, 11, 10, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line-l);
  }
  .bottom-bar a, .bottom-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: .7rem; font-weight: 600; letter-spacing: .02em; color: var(--muted-l); }
  .bottom-bar svg { width: 21px; height: 21px; }
  .bottom-bar a[aria-current="page"] { color: var(--rose-l); }
  .bottom-bar .bb-book { color: var(--ink); }
  .bottom-bar .bb-book span.bb-pill { width: 48px; height: 48px; margin-top: -22px; border-radius: 50%; background: var(--rose-grad); display: grid; place-items: center; box-shadow: 0 8px 24px -6px rgba(201, 164, 141, .6); border: 3px solid var(--ink); }
  .bottom-bar .bb-book em { font-style: normal; color: var(--rose-l); }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(64px, 10vw, 140px)) 0 clamp(64px, 8vw, 110px); overflow: hidden; background: var(--ink); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 10%, rgba(201, 164, 141, .16), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(138, 103, 86, .14), transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero .h1 { margin-top: 22px; max-width: 16ch; }
.page-hero .lead { margin-top: 24px; color: var(--muted-l); }
.page-hero .btn-row { margin-top: 36px; }
.page-hero--image { min-height: min(92vh, 860px); display: flex; align-items: end; }
.page-hero--image .hero-bg { position: absolute; inset: 0; }
.page-hero--image .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.page-hero--image .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 11, 10, .95) 0%, rgba(14, 11, 10, .72) 45%, rgba(14, 11, 10, .2) 100%), linear-gradient(0deg, rgba(14, 11, 10, .9), transparent 50%); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-l); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--rose-l); }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--ink); padding: calc(var(--header-h) + 40px) 0 80px; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 75% 40%, rgba(201, 164, 141, .14), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { margin-top: 26px; }
.hero .lead { margin-top: 28px; color: var(--muted-l); max-width: 48ch; }
.hero .btn-row { margin-top: 40px; }
.hero-trust { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-l); }
.hero-trust span { display: inline-flex; align-items: center; gap: 10px; }
.hero-trust span::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--rose); }
.hero-visual { position: relative; justify-self: end; width: min(100%, 470px); }
.arch { position: relative; aspect-ratio: 3 / 4.1; border-radius: 999px 999px var(--r-md) var(--r-md); overflow: hidden; background: var(--ink-3); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .arch-frame { position: absolute; inset: -14px; border: 1px solid var(--line-l); border-radius: 999px 999px 26px 26px; pointer-events: none; }
.hero-slides img { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 1.6s var(--ease), transform 7s linear; }
.hero-slides img.is-active { opacity: 1; transform: scale(1); }
.hero-badge {
  position: absolute; left: -48px; bottom: 56px; display: flex; align-items: center; gap: 14px;
  padding: 14px 20px 14px 14px; border-radius: 999px; background: rgba(21, 16, 14, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-l);
}
.hero-badge img { width: 40px; height: 40px; object-fit: contain; }
.hero-badge b { display: block; font-family: var(--f-display); font-size: 1.3rem; font-weight: 400; line-height: 1; }
.hero-badge small { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-l); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--rose), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 32px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(82%, 380px); margin-top: 16px; }
  .hero-badge { left: -12px; bottom: 28px; }
  .scroll-cue { display: none; }
  .hero-trust { margin-top: 36px; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line-l); background: var(--ink-2); padding: 22px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 42s linear infinite; }
.marquee-track span { font-family: var(--f-display); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.8rem); color: var(--rose-l); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: .8rem; color: var(--rose-d); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-l); }
.stat { padding: 34px 24px 6px 0; border-right: 1px solid var(--line-l); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 28px; }
.stat b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; }
.stat > span { display: block; margin-top: 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-l); }
.s-ivory .stats, .s-ivory .stat { border-color: var(--line-d); }
.s-ivory .stat > span { color: var(--muted-d); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--line-l); padding-bottom: 24px; }
}

/* ---------- career picker ---------- */
.picker { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.picker-tabs { display: grid; gap: 10px; }
.picker-tab {
  text-align: left; display: grid; grid-template-columns: 52px 1fr 24px; align-items: center; gap: 16px;
  padding: 16px 20px 16px 16px; border-radius: var(--r-md); border: 1px solid var(--line-d); background: rgba(255, 255, 255, .5);
  transition: background-color .35s, border-color .35s, transform .45s var(--ease), box-shadow .45s var(--ease);
}
.picker-tab:hover { transform: translateX(6px); border-color: rgba(138, 103, 86, .4); }
.picker-tab .ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--rose-d); transition: background .35s, color .35s; }
.picker-tab .ico svg { width: 22px; height: 22px; }
.picker-tab b { display: block; font-family: var(--f-display); font-size: 1.22rem; font-weight: 400; line-height: 1.2; }
.picker-tab small { display: block; color: var(--muted-d); font-size: .82rem; line-height: 1.4; margin-top: 2px; }
.picker-tab .chev { width: 20px; height: 20px; opacity: .35; transition: opacity .3s, transform .4s var(--ease); }
.picker-tab[aria-selected="true"] { background: var(--ink); color: var(--text-l); border-color: var(--ink); box-shadow: 0 24px 50px -28px rgba(14, 11, 10, .7); }
.picker-tab[aria-selected="true"] small { color: var(--muted-l); }
.picker-tab[aria-selected="true"] .ico { background: var(--rose-grad); color: var(--ink); }
.picker-tab[aria-selected="true"] .chev { opacity: 1; color: var(--rose); transform: translateX(4px); }
.picker-panel { position: sticky; top: calc(var(--header-h) + 24px); background: var(--ink); color: var(--text-l); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); overflow: hidden; }
.picker-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, rgba(201, 164, 141, .18), transparent 70%); pointer-events: none; }
.picker-panel > * { position: relative; }
.picker-panel h3 { margin-top: 14px; }
.path { list-style: none; margin: 28px 0 30px; padding: 0; display: grid; gap: 0; counter-reset: p; }
.path li { counter-increment: p; position: relative; padding: 0 0 18px 46px; font-size: .98rem; opacity: 0; transform: translateX(-10px); animation: pathIn .55s var(--ease) forwards; }
.path li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; font-size: .78rem; font-weight: 700; color: var(--rose); background: var(--ink); z-index: 1; line-height: 30px; text-align: center; }
.path li::after { content: ""; position: absolute; left: 15px; top: 30px; bottom: 0; width: 1px; background: linear-gradient(var(--rose-d), var(--line-l)); }
.path li:last-child::after { display: none; }
.path li:last-child { padding-bottom: 0; color: var(--rose-l); font-weight: 600; }
@keyframes pathIn { to { opacity: 1; transform: none; } }
.picker-reco { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-l); }
.picker-reco small { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); }
.picker-reco b { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; }
@media (max-width: 900px) {
  .picker { grid-template-columns: 1fr; }
  .picker-tabs { grid-template-columns: 1fr 1fr; }
  .picker-tab { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
  .picker-tab .ico { width: 42px; height: 42px; }
  .picker-tab small, .picker-tab .chev { display: none; }
  .picker-tab b { font-size: 1.02rem; }
  .picker-panel { position: relative; top: 0; }
}

/* ---------- method timeline ---------- */
.method { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.method::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line-l); }
.method-progress { position: absolute; left: 0; top: 27px; height: 1px; width: 100%; background: var(--rose-grad); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.method-step { position: relative; padding-top: 0; }
.method-step .dot { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-l); background: var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-style: italic; color: var(--rose); font-size: 1.05rem; transition: background .5s, color .5s, border-color .5s; position: relative; }
.method-step.is-lit .dot { background: var(--rose-grad); color: var(--ink); border-color: transparent; }
.method-step h3 { margin-top: 22px; font-family: var(--f-display); font-size: 1.45rem; }
.method-step p { margin-top: 8px; font-size: .9rem; line-height: 1.6; color: var(--muted-l); }
@media (max-width: 1000px) {
  .method { grid-template-columns: 1fr; gap: 0; }
  .method::before, .method-progress { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .method-progress { transform-origin: top; transform: scaleY(var(--p, 0)); height: 100%; }
  .method-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; padding-bottom: 30px; }
  .method-step h3 { margin-top: 10px; }
  .method-step p { grid-column: 2; margin-top: 4px; }
}

/* ---------- program cards ---------- */
.program-card { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-l); transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease); }
.program-card:hover { transform: translateY(-6px); border-color: rgba(201, 164, 141, .4); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.program-card .pc-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.program-card .pc-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.2s var(--ease); }
.program-card:hover .pc-img img { transform: scale(1.05); }
.program-card .pc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink-2), transparent 55%); }
.pc-tag { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 7px 14px; border-radius: 999px; background: rgba(14, 11, 10, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line-l); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-l); }
.pc-body { padding: 4px clamp(22px, 3vw, 36px) clamp(26px, 3vw, 36px); display: flex; flex-direction: column; }
.pc-body .h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.pc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-l); font-size: .78rem; letter-spacing: .04em; color: var(--muted-l); }
.s-ivory .chip, .s-paper .chip { border-color: var(--line-d); color: var(--muted-d); }
.pc-body p { color: var(--muted-l); }
.pc-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: .88rem; }
.pc-list li { display: flex; gap: 10px; align-items: baseline; }
.pc-list li::before { content: ""; flex: 0 0 5px; height: 5px; transform: rotate(45deg) translateY(-2px); background: var(--rose); }
.pc-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
@media (max-width: 520px) { .pc-list { grid-template-columns: 1fr; } }

/* ---------- curriculum strip (horizontal) ---------- */
.hscroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 28px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--rose-d) transparent; cursor: grab; }
.hscroll.is-drag { cursor: grabbing; scroll-snap-type: none; }
.hscroll::-webkit-scrollbar { height: 4px; }
.hscroll::-webkit-scrollbar-thumb { background: var(--rose-d); border-radius: 4px; }
.mod-card { flex: 0 0 clamp(250px, 26vw, 320px); scroll-snap-align: start; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4.2; background: var(--ink-3); color: var(--text-l); user-select: none; }
.mod-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); pointer-events: none; }
.mod-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 11, 10, .96) 8%, rgba(14, 11, 10, .3) 55%, rgba(14, 11, 10, .1)); }
.mod-card:hover img { transform: scale(1.06); filter: saturate(1.05); }
.mod-card .mc-body { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 24px; }
.mod-card .mc-n { font-family: var(--f-display); font-style: italic; color: var(--rose); font-size: 1rem; }
.mod-card h3 { font-family: var(--f-display); font-size: 1.55rem; line-height: 1.15; margin-top: 6px; }
.mod-card .mc-topics { margin-top: 12px; font-size: .82rem; color: var(--muted-l); line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s; }
.mod-card:hover .mc-topics, .mod-card:focus-visible .mc-topics { max-height: 120px; opacity: 1; }
.mod-card .mc-count { margin-top: 12px; display: inline-flex; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-l); }
.hs-controls { display: flex; gap: 10px; }
.icon-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s; }
.icon-btn:hover { background: var(--rose); border-color: var(--rose); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
@media (hover: none) { .mod-card .mc-topics { max-height: 120px; opacity: 1; } }

/* ---------- traditions ---------- */
.traditions { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.trad-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
.trad-list button { width: 100%; display: flex; align-items: baseline; gap: 18px; padding: 14px 4px; border-bottom: 1px solid var(--line-d); text-align: left; font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--muted-d); transition: color .3s, padding .45s var(--ease); }
.trad-list button small { font-family: var(--f-body); font-size: .78rem; letter-spacing: .12em; color: var(--rose-d); min-width: 22px; }
.trad-list button:hover { color: var(--text-d); }
.trad-list button[aria-selected="true"] { color: var(--text-d); padding-left: 16px; }
.trad-list button[aria-selected="true"] small::before { content: "— "; }
.trad-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
.trad-photo { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px var(--r-md) var(--r-md); overflow: hidden; background: var(--sand); }
.trad-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: 0; transition: opacity .9s var(--ease), transform 1.4s var(--ease); transform: scale(1.06); }
.trad-photo img.is-active { opacity: 1; transform: none; }
.trad-card { background: var(--ink); color: var(--text-l); border-radius: var(--r-lg); padding: 30px; margin-bottom: 30px; }
.trad-card .h3 { margin-top: 10px; }
.trad-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.trad-card li { display: flex; gap: 12px; font-size: .95rem; color: var(--muted-l); }
.trad-card li::before { content: "✦"; color: var(--rose); font-size: .78rem; line-height: 1.9; }
.trad-note { margin-top: 18px; font-size: .78rem; color: var(--muted-d); letter-spacing: .04em; }
.fade-swap { animation: fadeSwap .6s var(--ease); }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .traditions { grid-template-columns: 1fr; }
  .trad-list { display: flex; overflow-x: auto; gap: 8px; border: 0; padding-bottom: 8px; scrollbar-width: none; }
  .trad-list::-webkit-scrollbar { display: none; }
  .trad-list li { flex: 0 0 auto; }
  .trad-list button { white-space: nowrap; border: 1px solid var(--line-d); border-radius: 999px; padding: 10px 18px; font-size: 1rem; }
  .trad-list button small { display: none; }
  .trad-list button[aria-selected="true"] { padding-left: 18px; background: var(--ink); color: var(--text-l); border-color: var(--ink); }
}
@media (max-width: 560px) { .trad-stage { grid-template-columns: 1fr; } .trad-photo { width: 78%; justify-self: center; } .trad-card { margin-bottom: 0; } }

/* ---------- advantage ---------- */
.adv { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
.adv-item { padding: clamp(28px, 3.5vw, 44px); border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); position: relative; overflow: hidden; transition: background .5s; }
.adv-item::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 80% at 0% 0%, rgba(201, 164, 141, .12), transparent 70%); opacity: 0; transition: opacity .6s; }
.adv-item:hover::before { opacity: 1; }
.adv-item .num { font-size: 1.1rem; }
.adv-item h3 { margin-top: 26px; font-family: var(--f-display); font-size: 1.6rem; line-height: 1.15; }
.adv-item p { margin-top: 12px; color: var(--muted-l); font-size: .95rem; }
.s-ivory .adv, .s-ivory .adv-item { border-color: var(--line-d); }
.s-ivory .adv-item p { color: var(--muted-d); }
@media (max-width: 900px) { .adv { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .adv { grid-template-columns: 1fr; } }

/* ---------- mentors ---------- */
.mentor { display: grid; grid-template-columns: 220px 1fr; gap: clamp(22px, 3vw, 40px); align-items: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line-d); }
.s-dark .mentor, .s-dark-2 .mentor { background: var(--ink-3); border-color: var(--line-l); }
.mentor-photo { aspect-ratio: 3 / 4; border-radius: 999px 999px var(--r-sm) var(--r-sm); overflow: hidden; position: relative; background: radial-gradient(120% 90% at 50% 0%, #3a2d27, var(--ink) 70%); display: grid; place-items: center; }
.mentor-photo img.mp-real { width: 100%; height: 100%; object-fit: cover; }
.mentor-photo .mp-mono { width: 46%; opacity: .9; }
.mentor-photo .mp-initials { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-family: var(--f-mark); letter-spacing: .14em; font-size: .78rem; color: var(--rose); }
.mentor .role { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-d); font-weight: 700; }
.s-dark .mentor .role, .s-dark-2 .mentor .role { color: var(--rose); }
.mentor h3 { font-family: var(--f-display); font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.05; margin-top: 8px; }
.mentor p { margin-top: 14px; color: var(--muted-d); }
.s-dark .mentor p, .s-dark-2 .mentor p { color: var(--muted-l); }
.mentor .pc-meta { margin-bottom: 0; }
.mentor .ig { margin-top: 20px; }
@media (max-width: 700px) { .mentor { grid-template-columns: 1fr; } .mentor-photo { width: 62%; } }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-l); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-l); transition: all .3s; }
.filter-btn:hover { color: var(--text-l); border-color: var(--rose-d); }
.filter-btn[aria-pressed="true"] { background: var(--rose-grad); color: var(--ink); border-color: transparent; }
.masonry { columns: 4 260px; column-gap: 16px; }
.masonry .g-item { break-inside: avoid; margin-bottom: 16px; position: relative; border-radius: var(--r-md); overflow: hidden; display: block; width: 100%; background: var(--ink-3); }
.masonry .g-item img { width: 100%; height: auto; transition: transform 1.1s var(--ease); }
.masonry .g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 11, 10, .75), transparent 45%); opacity: 0; transition: opacity .5s; }
.masonry .g-item:hover img { transform: scale(1.05); }
.masonry .g-item:hover::after, .masonry .g-item:focus-visible::after { opacity: 1; }
.g-cap { position: absolute; z-index: 2; left: 18px; bottom: 16px; right: 18px; text-align: left; opacity: 0; transform: translateY(10px); transition: all .5s var(--ease); }
.g-cap b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; }
.g-cap small { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-l); }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.g-item.is-hidden { display: none; }
.home-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.home-gallery .g-item { border-radius: var(--r-md); overflow: hidden; position: relative; background: var(--ink-3); }
.home-gallery .g-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 1.1s var(--ease); }
.home-gallery .g-item:hover img { transform: scale(1.06); }
.home-gallery .g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 11, 10, .75), transparent 45%); opacity: 0; transition: opacity .5s; }
.home-gallery .g-item:hover::after { opacity: 1; }
.home-gallery .tall { grid-row: span 2; }
.home-gallery .wide { grid-column: span 2; }
@media (max-width: 900px) { .home-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(8, 6, 5, .96); display: none; align-items: center; justify-content: center; padding: 60px 20px; }
.lightbox.is-open { display: flex; animation: fadeSwap .4s var(--ease); }
.lightbox img { max-height: 84vh; max-width: min(92vw, 1100px); width: auto; border-radius: var(--r-sm); }
.lightbox .lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-family: var(--f-display); font-size: 1.15rem; color: var(--text-l); }
.lightbox .lb-close { position: absolute; top: 18px; right: 18px; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 16px; } .lightbox .lb-next { right: 16px; }
.lightbox .icon-btn { background: rgba(21, 16, 14, .8); }

/* ---------- curriculum accordion ---------- */
.curr { border-top: 1px solid var(--line-d); counter-reset: m; }
.curr-item { border-bottom: 1px solid var(--line-d); }
.curr-head { width: 100%; display: grid; grid-template-columns: 70px 1fr auto 40px; align-items: center; gap: 16px; padding: 24px 0; text-align: left; transition: padding .4s var(--ease); }
.curr-head:hover { padding-left: 8px; }
.curr-head .num { font-size: 1.2rem; color: var(--rose-d); }
.curr-head h3 { font-family: var(--f-display); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.15; }
.curr-head .cnt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); white-space: nowrap; }
.curr-head .pm { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-d); position: relative; transition: background .3s, transform .5s var(--ease); }
.curr-head .pm::before, .curr-head .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.curr-head .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.curr-item.is-open .pm { background: var(--ink); color: var(--text-l); transform: rotate(180deg); }
.curr-item.is-open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.curr-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.curr-item.is-open .curr-body { grid-template-rows: 1fr; }
.curr-body > div { overflow: hidden; }
.curr-inner { display: grid; grid-template-columns: 70px 1fr 260px; gap: 16px 32px; padding-bottom: 34px; }
.curr-inner .ci-text { grid-column: 2; }
.curr-inner .ci-text p { margin: 0 0 18px; color: var(--muted-d); max-width: 62ch; }
.topic-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.topic-grid li { display: flex; gap: 10px; font-size: .92rem; align-items: baseline; }
.topic-grid li::before { content: ""; flex: 0 0 5px; height: 5px; transform: rotate(45deg) translateY(-2px); background: var(--rose-d); }
.curr-inner .ci-img { grid-column: 3; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-sm) var(--r-sm); overflow: hidden; }
.curr-inner .ci-img img { width: 100%; height: 100%; object-fit: cover; }
.curr-tools { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.text-btn { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-d); }
@media (max-width: 900px) {
  .curr-head { grid-template-columns: 44px 1fr 40px; }
  .curr-head .cnt { display: none; }
  .curr-inner { grid-template-columns: 1fr; }
  .curr-inner .ci-text { grid-column: 1; }
  .curr-inner .ci-img { display: none; }
  .topic-grid { grid-template-columns: 1fr; }
}

/* ---------- snapshot ---------- */
.snapshot { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-l); border-radius: var(--r-lg); overflow: hidden; }
.snap { padding: 24px 26px; border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); }
.snap:nth-child(4n) { border-right: 0; }
.snap:nth-last-child(-n+4) { border-bottom: 0; }
.snap small { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); }
.snap b { display: block; margin-top: 8px; font-family: var(--f-display); font-weight: 400; font-size: 1.22rem; line-height: 1.25; }
.snap b.pending { font-family: var(--f-body); font-size: .92rem; color: var(--rose-l); font-weight: 500; }
@media (max-width: 900px) {
  .snapshot { grid-template-columns: 1fr 1fr; }
  .snap:nth-child(4n) { border-right: 1px solid var(--line-l); }
  .snap:nth-child(2n) { border-right: 0; }
  .snap:nth-last-child(-n+4) { border-bottom: 1px solid var(--line-l); }
  .snap:nth-last-child(-n+2) { border-bottom: 0; }
}

/* program page sub-nav */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(251, 247, 241, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-d); color: var(--text-d); }
.subnav .container { display: flex; align-items: center; gap: 28px; overflow-x: auto; scrollbar-width: none; height: 58px; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); white-space: nowrap; position: relative; padding: 4px 0; }
.subnav a.is-active { color: var(--text-d); }
.subnav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--rose-d); }
.subnav .btn { margin-left: auto; flex-shrink: 0; }

/* ---------- comparison ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line-d); background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line-d); font-size: .94rem; }
.compare thead th { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; background: var(--ink); color: var(--text-l); position: sticky; top: 0; }
.compare thead th:first-child { font-family: var(--f-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); }
.compare thead th small { display: block; font-family: var(--f-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); margin-top: 4px; }
.compare tbody th { font-weight: 600; color: var(--text-d); width: 38%; }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: rgba(201, 164, 141, .08); }
.compare tr.group th { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-d); background: var(--ivory); padding-top: 12px; padding-bottom: 12px; }
.yes, .no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.yes { background: var(--ink); color: var(--rose-l); }
.no { border: 1px solid var(--line-d); color: var(--muted-d); }
.yes svg, .no svg { width: 13px; height: 13px; }

/* ---------- quiz ---------- */
.quiz { background: var(--ink); color: var(--text-l); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.quiz::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 100% 0%, rgba(201, 164, 141, .16), transparent 70%); pointer-events: none; }
.quiz > * { position: relative; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 32px; }
.quiz-progress { flex: 1; max-width: 260px; height: 2px; background: var(--line-l); border-radius: 2px; overflow: hidden; }
.quiz-progress i { display: block; height: 100%; width: 0; background: var(--rose-grad); transition: width .6s var(--ease); }
.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: fadeSwap .6s var(--ease); }
.quiz-step legend { font-family: var(--f-display); font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.1; padding: 0; margin-bottom: 28px; }
.quiz fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 20px 22px; border-radius: var(--r-md); border: 1px solid var(--line-l); cursor: pointer; transition: border-color .3s, background .3s, transform .4s var(--ease); }
.opt label b { font-weight: 600; font-size: 1rem; }
.opt label small { color: var(--muted-l); font-size: .82rem; line-height: 1.45; }
.opt label:hover { border-color: var(--rose-d); transform: translateY(-2px); }
.opt input:checked + label { border-color: var(--rose); background: rgba(201, 164, 141, .12); }
.opt input:focus-visible + label { outline: 2px solid var(--rose-l); outline-offset: 2px; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 30px; gap: 12px; }
.quiz-result { display: none; }
.quiz-result.is-active { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; animation: fadeSwap .7s var(--ease); }
.quiz-result .h2 { margin-top: 14px; }
.quiz-result ul { padding: 0; list-style: none; margin: 22px 0 30px; display: grid; gap: 10px; }
.quiz-result li { display: flex; gap: 12px; color: var(--muted-l); }
.quiz-result li::before { content: "✦"; color: var(--rose); font-size: .78rem; line-height: 2; }
.quiz-result .arch { aspect-ratio: 3 / 4; }
@media (max-width: 800px) { .opts { grid-template-columns: 1fr 1fr; } .quiz-result.is-active { grid-template-columns: 1fr; } .quiz-result .arch { display: none; } }
@media (max-width: 460px) { .opts { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form-card { background: var(--paper); color: var(--text-d); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line-d); box-shadow: 0 40px 80px -50px rgba(14, 11, 10, .5); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label, .field .label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: var(--r-sm); border: 1px solid rgba(27, 21, 19, .18); background: #fff; color: var(--text-d); font-size: 1rem;
  transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238a6756' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose-d); box-shadow: 0 0 0 4px rgba(201, 164, 141, .22); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field .err { font-size: .8rem; color: #b5523f; display: none; }
.field.has-error .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(27, 21, 19, .18); font-size: .88rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-d); cursor: pointer; background: #fff; transition: all .3s; }
.seg input:checked + label { background: var(--ink); color: var(--text-l); border-color: var(--ink); }
.seg input:focus-visible + label { outline: 2px solid var(--rose-d); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted-d); margin: 6px 0 22px; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--rose-d); flex-shrink: 0; }
.steps-bar { display: flex; gap: 8px; margin-bottom: 30px; }
.steps-bar span { flex: 1; height: 3px; border-radius: 3px; background: var(--line-d); position: relative; overflow: hidden; }
.steps-bar span::after { content: ""; position: absolute; inset: 0; background: var(--rose-d); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.steps-bar span.is-done::after { transform: scaleX(1); }
.form-step { display: none; }
.form-step.is-active { display: block; animation: fadeSwap .55s var(--ease); }
.form-step h3 { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; margin-bottom: 6px; }
.form-step .step-sub { color: var(--muted-d); margin: 0 0 26px; font-size: .95rem; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.is-active { display: block; animation: fadeSwap .7s var(--ease); }
.form-success .seal { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.form-success .seal svg { width: 34px; height: 34px; color: var(--rose-l); }
.form-success h3 { font-family: var(--f-display); font-size: 2.2rem; }
.form-success p { color: var(--muted-d); max-width: 46ch; margin: 12px auto 0; }
.ref { display: inline-block; margin-top: 18px; padding: 8px 16px; border-radius: 999px; background: var(--ivory); font-size: .8rem; letter-spacing: .12em; font-weight: 700; color: var(--rose-d); }
.form-success .btn-row { justify-content: center; margin-top: 26px; }
.form-note { font-size: .78rem; color: var(--muted-d); margin-top: 14px; }

/* ---------- verify ---------- */
.verify-box { display: flex; gap: 12px; }
.verify-box input { flex: 1; text-transform: uppercase; letter-spacing: .10em; }
@media (max-width: 560px) { .verify-box { flex-direction: column; } }
.verify-result { margin-top: 28px; display: none; }
.verify-result.is-active { display: block; animation: fadeSwap .6s var(--ease); }
.cert { border-radius: var(--r-md); border: 1px solid var(--line-d); overflow: hidden; }
.cert-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
.cert-head svg { width: 22px; height: 22px; }
.cert.ok .cert-head { background: #e7efe6; color: #3f6b4b; }
.cert.bad .cert-head { background: #f6e5e0; color: #9c4434; }
.cert dl { margin: 0; display: grid; grid-template-columns: 180px 1fr; }
.cert dt, .cert dd { margin: 0; padding: 14px 22px; border-top: 1px solid var(--line-d); font-size: .94rem; }
.cert dt { color: var(--muted-d); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.cert .cert-body { padding: 18px 22px; color: var(--muted-d); font-size: .94rem; }
@media (max-width: 560px) { .cert dl { grid-template-columns: 1fr; } .cert dd { border-top: 0; padding-top: 0; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-d); }
.s-dark .faq, .s-dark-2 .faq { border-color: var(--line-l); }
.faq details { border-bottom: 1px solid var(--line-d); }
.s-dark .faq details, .s-dark-2 .faq details { border-color: var(--line-l); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--f-display); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: 0 0 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; opacity: .5; position: relative; transition: transform .45s var(--ease), opacity .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { opacity: 1; transform: rotate(180deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { margin: 0 0 26px; max-width: 70ch; color: var(--muted-d); }
.s-dark .faq details p, .s-dark-2 .faq details p { color: var(--muted-l); }

/* ---------- steps (admissions) ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: s; }
.step { position: relative; padding: 26px 20px 24px; border-radius: var(--r-md); border: 1px solid var(--line-l); background: rgba(255, 255, 255, .02); transition: border-color .4s, transform .5s var(--ease); }
.step:hover { border-color: rgba(201, 164, 141, .45); transform: translateY(-4px); }
.step .num { font-size: 1.05rem; }
.step h3 { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.15; margin-top: 18px; }
.step p { font-size: .86rem; color: var(--muted-l); margin: 8px 0 0; line-height: 1.55; }
.s-ivory .step, .s-paper .step { border-color: var(--line-d); background: rgba(255, 255, 255, .5); }
.s-ivory .step p, .s-paper .step p { color: var(--muted-d); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr 1fr; } }

/* ---------- framework ---------- */
.framework { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.framework span { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-d); font-family: var(--f-display); font-size: 1.12rem; background: rgba(255, 255, 255, .6); }
.framework i { color: var(--rose-d); font-style: normal; }

/* ---------- cards ---------- */
.card { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-l); background: var(--ink-2); transition: border-color .4s, transform .5s var(--ease); }
.card:hover { border-color: rgba(201, 164, 141, .35); }
.s-ivory .card, .s-paper .card { background: rgba(255, 255, 255, .55); border-color: var(--line-d); }
.card h3 { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.2; }
.card p { color: var(--muted-l); margin: 10px 0 0; font-size: .95rem; }
.s-ivory .card p, .s-paper .card p { color: var(--muted-d); }
.card .num { display: block; margin-bottom: 18px; }

/* placeholder / coming soon */
.placeholder { border: 1px dashed rgba(201, 164, 141, .45); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); text-align: center; background: rgba(201, 164, 141, .04); }
.s-ivory .placeholder, .s-paper .placeholder { border-color: rgba(138, 103, 86, .4); }
.placeholder .h3 { margin: 14px 0 10px; }
.placeholder p { color: var(--muted-l); max-width: 52ch; margin: 0 auto 22px; }
.s-ivory .placeholder p, .s-paper .placeholder p { color: var(--muted-d); }
.story-frame { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-l); border-radius: var(--r-lg); overflow: hidden; margin-top: 36px; text-align: left; }
.story-frame div { padding: 26px; border-right: 1px solid var(--line-l); }
.story-frame div:last-child { border-right: 0; }
.story-frame small { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); font-weight: 700; }
.story-frame p { margin: 10px 0 0 !important; font-size: .9rem; color: var(--muted-l); text-align: left; }
@media (max-width: 700px) { .story-frame { grid-template-columns: 1fr; } .story-frame div { border-right: 0; border-bottom: 1px solid var(--line-l); } .story-frame div:last-child { border-bottom: 0; } }

/* image + text feature */
.feature-img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-3); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-img.arch-top { border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.img-pair { position: relative; }
.img-pair .feature-img:nth-child(2) { position: absolute; width: 48%; right: -6%; bottom: -10%; border: 6px solid var(--ivory); aspect-ratio: 3 / 4; }
@media (max-width: 960px) { .img-pair .feature-img:nth-child(2) { right: 0; } }
.quote { font-family: var(--f-display); font-style: italic; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.25; }
.quote-cite { margin-top: 18px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.philosophy { display: grid; gap: 4px; }
.philosophy span { font-family: var(--f-display); font-size: clamp(1.8rem, 4.2vw, 3.6rem); line-height: 1.12; color: var(--muted-l); transition: color .8s var(--ease); }
.philosophy span.is-in { color: var(--text-l); }
.philosophy span em { color: var(--rose-l); }
.letter { font-size: 1.05rem; line-height: 1.85; }
.letter p { margin: 0 0 18px; }
.letter .sign { font-family: var(--f-display); font-style: italic; font-size: 1.5rem; margin-top: 26px; }
.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bullets li { display: flex; gap: 14px; align-items: baseline; }
.bullets li::before { content: ""; flex: 0 0 6px; height: 6px; transform: rotate(45deg) translateY(-2px); background: var(--rose); }
.s-ivory .bullets li::before, .s-paper .bullets li::before { background: var(--rose-d); }
.bullets--2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
@media (max-width: 600px) { .bullets--2 { grid-template-columns: 1fr; } }

/* notebook strip */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.notes figure { margin: 0; border-radius: var(--r-md); overflow: hidden; transform: rotate(var(--rot, 0deg)); box-shadow: 0 30px 60px -30px rgba(14, 11, 10, .45); transition: transform .6s var(--ease); }
.notes figure:hover { transform: rotate(0) translateY(-6px); }
.notes img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 700px) { .notes { grid-template-columns: 1fr 1fr; } .notes figure:nth-child(3) { display: none; } }

/* map */
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-l); aspect-ratio: 4 / 3; background: var(--ink-3); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.info-list { display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.info-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-l); }
.info-list small { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); font-weight: 700; padding-top: 4px; }
.info-list a:hover { color: var(--rose-l); }
@media (max-width: 500px) { .info-list > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-3); padding: clamp(40px, 7vw, 96px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; isolation: isolate; }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .45; }
.cta-band .cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 11, 10, .96) 30%, rgba(14, 11, 10, .5)); }
.cta-band .lead { margin-top: 18px; color: var(--muted-l); }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line-l); padding: clamp(64px, 8vw, 110px) 0 40px; color: var(--muted-l); font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand p { max-width: 34ch; }
.footer-col h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--text-l); }
.footer-big { margin-top: clamp(56px, 8vw, 100px); padding-top: 36px; border-top: 1px solid var(--line-l); font-family: var(--f-display); font-style: italic; font-size: clamp(2.2rem, 7.5vw, 7rem); line-height: 1; color: var(--text-l); letter-spacing: -.02em; }
.footer-bottom { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .78rem; }
.footer-bottom a:hover { color: var(--text-l); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-mask] { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js [data-mask].is-in { clip-path: inset(0 0 0 0); }
.js [data-mask] img { transform: scale(1.15); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-mask].is-in img { transform: scale(1); }
.split-line { display: block; overflow: hidden; padding-bottom: .18em; margin-bottom: -.14em; }
.split-line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .is-in .split-line > span, .no-js .split-line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-mask], .split-line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee-track { animation: none; }
}

/* utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.center { text-align: center; }
.max-60 { max-width: 60ch; }
.divider { height: 1px; background: var(--line-l); border: 0; margin: 0; }
.s-ivory .divider, .s-paper .divider { background: var(--line-d); }

/* light option cards inside forms */
.form-card .opt label { border-color: rgba(27, 21, 19, .16); background: #fff; }
.form-card .opt label small { color: var(--muted-d); }
.form-card .opt label:hover { border-color: var(--rose-d); }
.form-card .opt input:checked + label { border-color: var(--ink); background: var(--ivory); box-shadow: inset 0 0 0 1px var(--ink); }
.form-card .opts { gap: 10px; }
.form-card h3:focus { outline: none; }

/* dark components placed inside light sections keep light-on-dark styling */
.s-ivory :is(.quiz, .picker-panel, .trad-card) .btn--outline,
.s-paper :is(.quiz, .picker-panel, .trad-card) .btn--outline { border-color: var(--line-l); color: var(--text-l); }
.s-ivory :is(.quiz, .picker-panel, .trad-card) .btn--outline:hover,
.s-paper :is(.quiz, .picker-panel, .trad-card) .btn--outline:hover { border-color: var(--rose); color: var(--rose-l); }
.s-ivory :is(.quiz, .picker-panel, .trad-card) .muted,
.s-paper :is(.quiz, .picker-panel, .trad-card) .muted { color: var(--muted-l); }
.s-ivory :is(.quiz, .picker-panel, .trad-card) .eyebrow,
.s-paper :is(.quiz, .picker-panel, .trad-card) .eyebrow { color: var(--rose); }
.form-card .btn--outline { border-color: rgba(27, 21, 19, .25); color: var(--text-d); background: transparent; }
.form-card .btn--outline:hover { border-color: var(--rose-d); color: var(--rose-d); }
.form-card .muted { color: var(--muted-d); }
.form-card .eyebrow { color: var(--rose-d); }
@media (min-width: 901px) {
  .page-hero--image .hero-bg { left: 44%; }
  .page-hero--image .hero-bg img { object-position: center 18%; }
  .page-hero--image .hero-bg::after { background: linear-gradient(90deg, var(--ink) 0%, rgba(14, 11, 10, .55) 28%, rgba(14, 11, 10, 0) 60%), linear-gradient(0deg, rgba(14, 11, 10, .85), transparent 40%); }
  .page-hero--image .container > * { max-width: 640px; }
}
.page-hero:not(.page-hero--image)::after { content: ""; position: absolute; right: max(var(--gutter), calc((100vw - var(--max)) / 2)); top: 50%; width: clamp(180px, 26vw, 380px); aspect-ratio: 939 / 1200; transform: translateY(-42%); background: url("img/monogram-lg.png") center / contain no-repeat; opacity: .07; pointer-events: none; }
@media (max-width: 760px) { .page-hero:not(.page-hero--image)::after { opacity: .045; right: -40px; } }
/* prevent scrolling children (chip rows, scrollers) from widening grid columns */
.traditions > *, .split > *, .grid > *, .picker > *, .hero-grid > *, .cta-band > * { min-width: 0; }
body.menu-open .site-header { transform: none; background: var(--ink-2); border-color: var(--line-l); }

/* ===================== v2: video hero, popups, courses, compare ===================== */
.hero--video { min-height: 100svh; align-items: flex-end; padding-bottom: clamp(70px, 10vh, 120px); }
.hero--video::before { display: none; }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: var(--ink) url("img/editorial-cover-sm.webp") center 30% / cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(14, 11, 10, .92) 0%, rgba(14, 11, 10, .66) 38%, rgba(14, 11, 10, .12) 75%),
  linear-gradient(0deg, rgba(14, 11, 10, .85) 0%, rgba(14, 11, 10, 0) 45%),
  linear-gradient(180deg, rgba(14, 11, 10, .55) 0%, rgba(14, 11, 10, 0) 22%); }
.hero-content { position: relative; z-index: 1; max-width: var(--max); }
.hero-content > * { max-width: 680px; }
.hero--video .lead { color: rgba(243, 235, 227, .86); }
.video-toggle { position: absolute; z-index: 2; right: var(--gutter); bottom: 28px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243, 235, 227, .35); background: rgba(14, 11, 10, .4); color: var(--text-l); display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-toggle svg { width: 18px; height: 18px; }
.video-toggle:hover { border-color: var(--rose); color: var(--rose-l); }
@media (max-width: 760px) {
  .hero--video { min-height: 92svh; }
  .hero-video { object-position: 62% 25%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(14, 11, 10, .96) 0%, rgba(14, 11, 10, .75) 45%, rgba(14, 11, 10, .2) 80%), linear-gradient(180deg, rgba(14, 11, 10, .6), transparent 25%); }
  .video-toggle { bottom: auto; top: calc(var(--header-h) + 12px); }
}

/* course cards */
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 1000px) { .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .course-grid { grid-template-columns: 1fr; } }
.course-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-l); transition: transform .5s var(--ease), border-color .4s; }
.course-card:hover { transform: translateY(-5px); border-color: rgba(201, 164, 141, .4); }
.course-card.is-hidden { display: none; }
.cc-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 1.1s var(--ease); }
.course-card:hover .cc-img img { transform: scale(1.05); }
.cc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink-3), transparent 50%); }
.cc-body { padding: 4px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.cc-body .h3 { font-size: 1.5rem; }
.cc-body .h3 a:hover { color: var(--rose-l); }
.cc-body .pc-meta { margin: 12px 0 4px; }
.cc-body .pc-list { margin: 14px 0 22px; grid-template-columns: 1fr; }
.cc-body .pc-foot { margin-top: auto; }

/* compare tool */
.compare-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.compare-pick .field { margin: 0; }
@media (max-width: 640px) { .compare-pick { grid-template-columns: 1fr; gap: 10px; } }
.compare-tool .compare { min-width: 560px; table-layout: fixed; }
.compare-tool .compare th:first-child { width: 34%; }
.compare-tool .compare td, .compare-tool .compare thead th + th { text-align: center; }
.compare-tool .compare td .pending { font-size: .85rem; color: var(--rose-d); }
.compare-tool .compare tr.group th { text-align: left; }
.compare [hidden] { display: none !important; }
.ask { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px dashed var(--rose-d); color: var(--rose-d); }
.ask svg { width: 14px; height: 14px; }
.compare-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted-d); margin-top: 14px; }

/* light info list (on ivory/paper) */
.info-list--light, .info-list--light > div { border-color: var(--line-d); }
.info-list--light small { color: var(--rose-d); }

/* modals */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 6, 5, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.modal-card { position: relative; width: min(100%, 440px); max-height: calc(100svh - 32px); overflow-y: auto; background: var(--paper); color: var(--text-d); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 36px); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7); transform: translateY(16px) scale(.98); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-card { transform: none; opacity: 1; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--text-d); transition: background .3s, transform .4s var(--ease); z-index: 2; }
.modal-x:hover { background: var(--sand); transform: rotate(90deg); }
.modal-x svg { width: 18px; height: 18px; }
.modal-card h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.9rem; line-height: 1.15; margin: 8px 0 6px; padding-right: 30px; }
.modal-card .eyebrow { color: var(--rose-d); }
.modal-sub { color: var(--muted-d); margin: 0 0 20px; font-size: .95rem; }
.modal-card .field { margin-bottom: 14px; }
.modal-card .field input, .modal-card .field select { min-height: 50px; }
.opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted-d); }
.modal-card .form-note a, .form-card .form-note a { text-decoration: underline; }
.modal-card .form-success .btn-row { justify-content: center; }
@media (max-width: 560px) { .modal { align-items: end; padding: 0; } .modal-card { width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92svh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); } }

/* offer popup */
.offer-card { width: min(100%, 460px); padding: 0; overflow: hidden; background: var(--ink-2); color: var(--text-l); border: 1px solid var(--line-l); }
.offer-card .modal-x { background: rgba(14, 11, 10, .6); color: var(--text-l); }
.offer-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.offer-body { padding: 28px clamp(22px, 4vw, 34px) 30px; text-align: center; }
.offer-card .eyebrow { color: var(--rose); justify-content: center; }
.offer-card h3 { padding: 0; margin: 10px 0 10px; color: var(--text-l); }
.offer-sub { color: var(--muted-l); margin: 0 0 8px; }
.offer-ends { color: var(--rose-l); font-size: .88rem; margin: 0 0 20px; }
.offer-body .btn { margin-top: 10px; }
.modal--offer:not(.has-img) .offer-body { padding-top: 46px; }
@media (max-width: 560px) { .offer-card { border-radius: var(--r-lg) var(--r-lg) 0 0; } }

/* subnav on dark page hero pages sits on paper */
.subnav .container { gap: 24px; }

.offer-img img { object-position: center 28%; }
.modal-card .btn--outline { border-color: rgba(27, 21, 19, .25); color: var(--text-d); background: transparent; }
.modal-card .btn--outline:hover { border-color: var(--rose-d); color: var(--rose-d); }
.compare-tool .compare { table-layout: auto; min-width: 0; width: 100%; }
.compare-tool .compare th:first-child { width: 30%; }
.compare-tool .compare thead th { font-size: 1.12rem; line-height: 1.25; vertical-align: bottom; }
@media (max-width: 640px) {
  .compare-tool .compare th, .compare-tool .compare td { padding: 12px 8px; font-size: .84rem; }
  .compare-tool .compare thead th { font-size: .92rem; }
  .compare-tool .compare thead th small { font-size: .62rem; letter-spacing: .06em; }
  .compare-tool .compare th:first-child { width: 34%; padding-left: 14px; }
  .compare-tool .compare .btn--sm { padding: 0 12px; min-height: 36px; }
}

/* sticky section menu: follow the header, and keep jumped-to headings clear of it */
.subnav { transition: top .5s var(--ease); }
body.header-hidden .subnav { top: 0; }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 58px + 28px); }
.subnav ~ section[id], .subnav ~ * section[id] { scroll-margin-top: calc(var(--header-h) + 58px + 28px); }
/* section menu: dark, blends with the page instead of a white bar */
.subnav { background: rgba(14, 11, 10, .88); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); color: var(--text-l); }
.subnav a { color: var(--muted-l); transition: color .3s; }
.subnav a:hover, .subnav a.is-active { color: var(--text-l); }
.subnav a.is-active::after { background: var(--rose); }

/* v2.1: logo tagline stays visible on phones; hero spacing without eyebrow/lead */
@media (max-width: 560px) {
  .brand { gap: 10px; }
  .brand img { width: 30px; }
  .brand-word b { font-size: 1rem; }
  .brand-word small { font-size: .5rem; letter-spacing: .16em; margin-top: 5px; }
}
.hero--video .btn-row { margin-top: 36px; }
@media (max-width: 420px) { .hero--video .display { font-size: clamp(2.2rem, 10.4vw, 2.7rem); } }

/* v3: video items in the portfolio */
.g-video video { width: 100%; height: auto; display: block; background: #000; }
.g-play { position: absolute; z-index: 2; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: rgba(14, 11, 10, .55); border: 1px solid rgba(243, 235, 227, .5); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .4s var(--ease), background .3s; }
.g-play svg { width: 22px; height: 22px; margin-left: 3px; }
.g-video:hover .g-play { transform: scale(1.08); background: var(--rose); color: var(--ink); }
.lightbox .lb-video { max-height: 84vh; max-width: min(92vw, 1100px); border-radius: var(--r-sm); background: #000; }
.lightbox [hidden] { display: none !important; }

/* v3.1 desktop hero: video/face on the right, headline raised on the left */
@media (min-width: 901px) {
  .hero--video { align-items: center; padding-top: calc(var(--header-h) + 24px); padding-bottom: clamp(56px, 8vh, 96px); }
  .hero--video .hero-media { left: 38%; background-position: center 28%; }
  .hero--video .hero-video { object-position: 50% 28%; }
  .hero--video .hero-media::after { background:
    linear-gradient(90deg, var(--ink) 0%, rgba(14, 11, 10, .78) 12%, rgba(14, 11, 10, .25) 32%, rgba(14, 11, 10, 0) 50%),
    linear-gradient(0deg, rgba(14, 11, 10, .7) 0%, rgba(14, 11, 10, 0) 30%),
    linear-gradient(180deg, rgba(14, 11, 10, .55) 0%, rgba(14, 11, 10, 0) 20%); }
  .hero--video .hero-content { margin-top: -4vh; }
  .hero--video .hero-content > * { max-width: 600px; }
}
