/* KIYU Makeup Academy — design system */
:root {
  --ink: #0f0d0b;
  --ink-2: #1c1916;
  --ivory: #f7f2ea;
  --ivory-2: #efe6d9;
  --white: #fffdf9;
  --nude: #e3d2bf;
  --champagne: #d8c1a0;
  --gold: #a9834f;
  --gold-text: #8a6534;
  --text: #2a2521;
  --muted: #6b625a;
  --line: rgba(15, 13, 11, 0.12);
  --line-light: rgba(255, 253, 249, 0.18);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; color: var(--ink); margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; margin-top: 48px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.center-row { justify-content: center; }
.muted { color: var(--muted); }
.note { font-size: 0.85rem; color: var(--muted); margin-top: 24px; text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }

/* eyebrow / lead */
.eyebrow { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; color: var(--gold-text); margin-bottom: 18px; }
.eyebrow.light, .section-dark .eyebrow, .light .eyebrow { color: var(--champagne); }
.lead { font-size: 1.16rem; line-height: 1.75; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px; font-family: var(--sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--gold); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--champagne); }
.btn-outline-light { border-color: rgba(255, 253, 249, 0.6); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn-text { color: var(--gold-text); padding: 0; min-height: 40px; }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.7rem; background: var(--ink); color: var(--white); }
.btn-small:hover { background: var(--gold); }
.btn-block, .btn[data-block] { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-arrow { font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.link-arrow::after { content: ''; width: 28px; height: 1px; background: currentColor; transition: width 0.35s var(--ease); }
.link-arrow:hover::after { width: 44px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 249, 0.94); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar { background: var(--ink); color: var(--ivory); font-size: 0.74rem; letter-spacing: 0.08em; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar-links { display: flex; gap: 24px; }
.topbar a { text-decoration: none; color: var(--champagne); }
.topbar a:hover { color: var(--white); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; color: var(--ink); }
.logo-mark { font-family: var(--serif); font-size: 2rem; font-weight: 600; letter-spacing: 0.32em; margin-right: -0.32em; }
.logo-sub { font-size: 0.58rem; letter-spacing: 0.42em; text-transform: uppercase; margin-top: 6px; color: var(--gold-text); }
.logo-light { color: var(--white); }
.logo-light .logo-sub { color: var(--champagne); }
.nav-list { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-list > li > a { font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; text-decoration: none; padding: 30px 0; position: relative; }
.nav-list > li > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 22px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current]::after { transform: scaleX(1); }
.has-mega { display: flex; align-items: center; gap: 4px; }
.mega-toggle { background: none; border: 0; padding: 6px; cursor: pointer; color: inherit; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 30px 60px rgba(15, 13, 11, 0.12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { width: min(var(--wrap), 100% - 48px); margin: auto; display: grid; grid-template-columns: repeat(4, 1fr) 1.3fr; gap: 32px; padding: 40px 0; }
.mega-title { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; margin-bottom: 14px; }
.mega ul { list-style: none; }
.mega li a { display: block; padding: 8px 0; text-decoration: none; font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; color: var(--ink); transition: color 0.25s; }
.mega li a span { display: block; font-family: var(--sans); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }
.mega li a:hover { color: var(--gold-text); }
.mega-feature { display: grid; grid-template-columns: 110px 1fr; gap: 18px; background: var(--ivory); padding: 18px; font-size: 0.9rem; }
.mega-feature img { aspect-ratio: 3/4; object-fit: cover; width: 110px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), top 0.3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded='true'] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { top: 21px; transform: rotate(-45deg); }
.nav-mobile-cta { display: none; }

/* hero */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: center; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-media, .page-hero-media { position: absolute; inset: 0; }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; animation: slowzoom 18s var(--ease) forwards; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 13, 11, 0.92) 0%, rgba(15, 13, 11, 0.7) 40%, rgba(15, 13, 11, 0.1) 75%); }
.hero-inner { position: relative; padding: 120px 0; }
.hero h1 { color: var(--white); max-width: 11ch; font-weight: 400; animation: rise 1.2s var(--ease) both; }
.hero h1 em, .page-hero h1 em { font-style: italic; color: var(--champagne); }
.hero-lead { max-width: 540px; font-size: 1.12rem; color: rgba(255, 253, 249, 0.82); animation: rise 1.2s 0.15s var(--ease) both; }
.hero .btn-row { animation: rise 1.2s 0.3s var(--ease) both; }
.trust-line { margin-top: 44px; font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255, 253, 249, 0.7); }
.trust-line span { color: var(--gold); margin: 0 10px; }
.hero-tagline { position: absolute; right: 32px; bottom: 32px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--champagne); writing-mode: vertical-rl; margin: 0; letter-spacing: 0.08em; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.marquee { background: var(--ivory); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.marquee div { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 1.4rem; font-style: italic; color: var(--ink); padding: 0 34px; white-space: nowrap; }
.marquee span::after { content: '✦'; font-style: normal; color: var(--gold); font-size: 0.7rem; margin-left: 68px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

.page-hero { position: relative; min-height: 520px; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 13, 11, 0.92) 5%, rgba(15, 13, 11, 0.45) 60%, rgba(15, 13, 11, 0.3)); }
.page-hero-media img { object-position: center 30%; }
.page-hero-inner { position: relative; padding: 140px 0 64px; max-width: 820px; margin-left: max(24px, (100% - var(--wrap)) / 2); }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 400; }
.page-hero .lead { color: rgba(255, 253, 249, 0.82); max-width: 640px; }
.page-hero .eyebrow { color: var(--champagne); }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--champagne); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-text); }

/* sections */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-ivory { background: var(--ivory); }
.section-dark { background: var(--ink); color: rgba(255, 253, 249, 0.78); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .lead { color: rgba(255, 253, 249, 0.72); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .lead { margin-top: 8px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--white); padding: 40px 32px; transition: background 0.4s var(--ease); }
.feature:hover { background: var(--ivory); }
.feature-num { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--gold-text); display: block; margin-bottom: 28px; }
.feature h3 { font-size: 1.4rem; }
.feature p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* course cards */
.course-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease); }
.course-card:hover { box-shadow: 0 30px 60px -30px rgba(15, 13, 11, 0.35); transform: translateY(-4px); }
.course-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.course-card:hover .course-media img { transform: scale(1.06); }
.course-level { position: absolute; left: 16px; top: 16px; background: rgba(255, 253, 249, 0.94); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 12px; font-weight: 500; }
.course-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 a { text-decoration: none; }
.course-body > p { font-size: 0.95rem; color: var(--muted); }
.course-meta { display: flex; gap: 32px; margin: 4px 0 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.course-meta dt, .adm-facts dt, .aside-card dt { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.course-meta dd, .aside-card dd { margin: 0; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.course-more { border-top: 1px solid var(--line); padding: 14px 0; font-size: 0.9rem; margin-bottom: 8px; }
.course-more summary { cursor: pointer; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.mini-title { font-weight: 500; color: var(--ink); margin: 14px 0 6px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.course-actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 14px; height: 1px; background: var(--gold); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media { overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 1.4s var(--ease); }
.split-media:hover img { transform: scale(1.04); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { border: 1px solid var(--line-light); padding: 6px 14px; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ivory); transition: border-color 0.3s, color 0.3s; }
.chips li:hover { border-color: var(--champagne); color: var(--champagne); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-top: 32px; }
.mini-grid h3 { font-size: 1.25rem; margin-bottom: 4px; }
.mini-grid p { font-size: 0.92rem; color: var(--muted); margin: 0; }

.wide-media { overflow: hidden; margin-bottom: 64px; }
.wide-media img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.hands-on { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.numbered { list-style: none; counter-reset: n; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.numbered li { counter-increment: n; background: inherit; background-color: var(--white); padding: 22px 20px; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.section-ivory .numbered li { background-color: var(--ivory); }
.numbered li::before { content: counter(n, decimal-leading-zero); display: block; font-family: var(--sans); font-size: 0.7rem; color: var(--gold-text); letter-spacing: 0.2em; margin-bottom: 6px; }

/* audience tabs */
.audience { display: grid; grid-template-columns: 280px 1fr; gap: 48px; background: var(--white); padding: 48px; border: 1px solid var(--line); }
.audience-tabs { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.audience-tabs button { background: none; border: 0; text-align: left; padding: 14px 20px; font-family: var(--serif); font-size: 1.35rem; color: var(--muted); cursor: pointer; border-left: 2px solid transparent; margin-left: -1px; transition: color 0.3s, border-color 0.3s; }
.audience-tabs button[aria-selected='true'] { color: var(--ink); border-left-color: var(--gold); }
.audience-panel h3 { font-size: 2.2rem; }
.audience-panel p:first-of-type { font-size: 1.15rem; }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { background: none; border: 1px solid var(--line); padding: 10px 18px; font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; color: var(--ink); transition: all 0.3s; }
.filters button[aria-pressed='true'], .filters button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 12px; }
.g-item { margin: 0; position: relative; overflow: hidden; background: var(--ivory-2); }
.g-tall { grid-row: span 2; grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; background: linear-gradient(transparent, rgba(15, 13, 11, 0.75)); color: var(--white); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: all 0.4s var(--ease); }
.g-item:hover figcaption, .g-item:focus-within figcaption { opacity: 1; transform: none; }
.g-placeholder { display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; border: 1px dashed var(--champagne); background: var(--ivory); }
.g-placeholder span { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); display: block; margin-bottom: 8px; }
.g-placeholder p { font-size: 0.85rem; color: var(--muted); margin: 0; }
.g-item[hidden] { display: none; }

/* careers */
.career-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.career { background: var(--white); padding: 28px 24px; border-top: 2px solid var(--champagne); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.career:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(15, 13, 11, 0.3); }
.career h3 { font-size: 1.3rem; }
.career p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.statement { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; color: var(--ink); text-align: center; max-width: 900px; margin: 72px auto 0; }
.business-list { list-style: none; columns: 2; column-gap: 32px; }
.business-list li { break-inside: avoid; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-family: var(--serif); font-size: 1.2rem; color: var(--ivory); }
.business-list.dark li { color: var(--ink); border-color: var(--line); }

/* founder */
.founder-portrait { aspect-ratio: 4/5; background: linear-gradient(160deg, var(--ivory-2), var(--nude)); display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); position: relative; }
.founder-portrait::before { content: ''; position: absolute; inset: 18px; border: 1px solid rgba(169, 131, 79, 0.4); }
.founder-portrait span { font-family: var(--serif); font-size: 6rem; letter-spacing: 0.1em; color: var(--gold-text); }
.founder-portrait small { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.founder-name { font-family: var(--serif); font-size: 1.8rem; color: var(--ink); line-height: 1.2; }
.founder-name span { display: block; font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); margin-top: 6px; }

/* about */
.about-cols { columns: 2; column-gap: 56px; }
.about-cols p { break-inside: avoid; }
.dropcap::first-letter { font-family: var(--serif); float: left; font-size: 4.6rem; line-height: 0.85; padding: 6px 12px 0 0; color: var(--gold-text); }

/* ecosystem */
.section-head.light h2 { color: var(--white); }
.eco-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.eco { background: var(--ink); padding: 32px 24px; transition: background 0.4s; }
.eco:hover { background: var(--ink-2); }
.eco-tag { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--champagne); }
.eco h3 { font-size: 1.35rem; }
.eco p:last-child { font-size: 0.88rem; margin: 0; }
.eco-pillars { margin-top: 48px; text-align: center; }
.eco-pillars ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 32px; margin-bottom: 20px; }
.eco-pillars li { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--champagne); }

/* timeline */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 26px; left: 0; right: 0; height: 1px; background: var(--line); }
.timeline li { position: relative; }
.t-num { display: inline-flex; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--champagne); background: var(--white); align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.1rem; color: var(--gold-text); margin-bottom: 20px; }
.timeline h3 { font-size: 1.25rem; }
.timeline p { font-size: 0.9rem; color: var(--muted); }

/* testimonials */
.quote { margin: 0; background: var(--white); padding: 40px 32px; border: 1px solid var(--line); }
.quote blockquote { margin: 0 0 20px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--ink); }
.quote figcaption { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); }
.quote-placeholder { border-style: dashed; border-color: var(--champagne); background: transparent; }
.quote-placeholder blockquote { color: var(--muted); font-style: italic; }

/* faq */
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.3rem; margin: 0; }
.faq summary::after { content: '+'; font-family: var(--serif); font-size: 1.8rem; color: var(--gold-text); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 68ch; }

/* admissions */
.admissions { background: linear-gradient(135deg, var(--ivory) 0%, var(--nude) 100%); }
.admissions-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--ink); }
.status span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(169, 131, 79, 0.6); animation: pulse 2s infinite; }
.status.closed span { background: var(--muted); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(169, 131, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(169, 131, 79, 0); } }
.adm-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; }
.adm-facts div { background: rgba(255, 253, 249, 0.75); padding: 24px; }
.adm-facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }

/* contact */
.contact-section { background: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-org { border-left: 2px solid var(--champagne); padding-left: 20px; margin: 28px 0; font-size: 0.95rem; }
.contact-org p { margin: 0 0 4px; }
.contact-name { font-family: var(--serif); font-size: 1.4rem; letter-spacing: 0.12em; color: var(--ink); }
.contact-list { list-style: none; display: grid; gap: 14px; font-size: 0.95rem; }
.contact-list span { display: block; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); }
.form-card { background: var(--white); padding: clamp(28px, 4vw, 48px); box-shadow: 0 40px 80px -40px rgba(15, 13, 11, 0.25); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 0; border-bottom: 1px solid rgba(15, 13, 11, 0.3); padding: 10px 2px; border-radius: 0; transition: border-color 0.3s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.field textarea { border: 1px solid rgba(15, 13, 11, 0.2); padding: 12px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; margin: 6px 0 24px; cursor: pointer; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--ink); flex-shrink: 0; }
.form-status { margin: 14px 0 0; font-size: 0.92rem; min-height: 1.4em; }
.form-status.ok { color: #2f6b3a; }
.form-status.err { color: #9b2c2c; }
.map { width: 100%; height: 420px; border: 0; }
.map-placeholder { display: flex; align-items: center; justify-content: center; text-align: center; background: repeating-linear-gradient(45deg, var(--ivory), var(--ivory) 14px, var(--ivory-2) 14px, var(--ivory-2) 28px); border: 1px solid var(--line); }
.map-placeholder > div { background: var(--white); padding: 40px; max-width: 460px; }

/* course page */
.course-layout { display: grid; grid-template-columns: 1fr 360px; gap: 72px; align-items: start; }
.course-main > div { margin-bottom: 56px; }
.course-main h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.course-aside { position: sticky; top: 140px; }
.aside-card { border: 1px solid var(--line); padding: 32px; background: var(--white); display: grid; gap: 10px; }
.aside-card dl { margin: 12px 0 16px; display: grid; gap: 14px; }
.aside-card dl div { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 10px; gap: 12px; }
.aside-card dd { text-align: right; font-size: 1rem; }

/* blog */
.post-card { border: 1px solid var(--line); display: flex; flex-direction: column; background: var(--white); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(15, 13, 11, 0.3); }
.post-media { overflow: hidden; aspect-ratio: 16/10; display: block; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-body .eyebrow { margin-bottom: 10px; }
.post-body h3 a { text-decoration: none; }
.post-body p:not(.eyebrow) { font-size: 0.92rem; color: var(--muted); }
.post-body .link-arrow { margin-top: auto; }
.article-head { padding: 40px 0 32px; }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.article-meta { font-size: 0.85rem; color: var(--muted); }
.article-media img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.prose { padding: 56px 0 96px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.2em; }
.prose ul:not(.related):not(.faq-list) { padding-left: 1.2em; margin-bottom: 1em; }
.prose a { color: var(--gold-text); }
.article-cta { background: var(--ink); color: var(--ivory); padding: 40px; margin: 48px 0; }
.article-cta h2 { color: var(--white); margin-top: 0; }
.article-cta .btn-ghost { border-color: var(--ivory); color: var(--ivory); }
.related { list-style: none; display: grid; gap: 10px; }
.related a { font-family: var(--serif); font-size: 1.25rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--champagne); }

.status-page { min-height: 60vh; display: flex; align-items: center; }

/* cta band + footer */
.cta-band { background: var(--ink-2); color: var(--white); padding: 80px 0; border-bottom: 1px solid var(--line-light); }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); max-width: 18ch; margin: 0; font-weight: 400; }
.cta-band .btn-row { margin: 0; }
.site-footer { background: var(--ink); color: rgba(255, 253, 249, 0.7); padding: 80px 0 32px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; margin-bottom: 28px; }
.site-footer a { text-decoration: none; transition: color 0.25s; }
.site-footer a:hover { color: var(--champagne); }
.footer-title { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--champagne); font-weight: 500; margin-bottom: 16px; }
.footer-brand .logo { margin-bottom: 24px; }
.social { display: flex !important; gap: 18px !important; margin-top: 24px; }
.social span { opacity: 0.5; }
.footer-bottom { border-top: 1px solid var(--line-light); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.8rem; }
.footer-bottom p { margin: 0; }
.mobile-bar { display: none; }

/* reveal animation */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1100px) {
  .nav-list { gap: 20px; }
  .grid-4, .career-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .eco:first-child { grid-column: span 2; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-inner { grid-template-columns: repeat(2, 1fr); }
  .mega-feature { grid-column: span 2; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .topbar-links { display: none; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .burger { display: block; }
  .nav-actions .btn { display: none; }
  .nav { position: fixed; inset: calc(var(--header-h) + 34px) 0 0 0; background: var(--white); overflow-y: auto; padding: 16px 24px 120px; transform: translateX(100%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0.45s; }
  .nav.open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); flex-wrap: wrap; }
  .nav-list > li > a { display: block; padding: 18px 0; font-size: 0.9rem; flex: 1; }
  .nav-list > li > a::after { display: none; }
  .mega-toggle { padding: 14px; }
  .mega { position: static; box-shadow: none; border: 0; transform: none; display: none; opacity: 1; visibility: visible; width: 100%; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { display: none; }
  .has-mega.open .mega { display: block; }
  .mega-inner { width: 100%; grid-template-columns: 1fr; padding: 0 0 20px; gap: 20px; }
  .mega-feature { display: none; }
  .nav-mobile-cta { display: grid; gap: 12px; margin-top: 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .hands-on, .admissions-inner, .contact-grid, .course-layout { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .course-aside { position: static; }
  .audience { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .audience-tabs { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); }
  .audience-tabs button { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; margin: 0 0 -1px; font-size: 1.15rem; padding: 10px 14px; }
  .audience-tabs button[aria-selected='true'] { border-bottom-color: var(--gold); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .about-cols { columns: 1; }
  .hero-tagline { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .wrap { width: calc(100% - 40px); }
  .topbar { font-size: 0.68rem; }
  .grid-3, .grid-4, .career-grid, .eco-grid, .form-grid, .two-col, .mini-grid, .numbered, .adm-facts { grid-template-columns: 1fr; }
  .eco:first-child { grid-column: auto; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .business-list { columns: 1; }
  .hero { min-height: 88vh; align-items: flex-end; }
  .hero-media img { object-position: 72% center; }
  .hero-media::after { background: linear-gradient(0deg, rgba(15, 13, 11, 0.95) 30%, rgba(15, 13, 11, 0.55) 65%, rgba(15, 13, 11, 0.2)); }
  .hero-inner { padding: 80px 0 48px; }
  .hero .btn-row .btn, .page-hero .btn-row .btn { flex: 1 1 100%; }
  .trust-line span { margin: 0 4px; }
  .page-hero { min-height: 440px; }
  .page-hero-inner { padding: 110px 0 44px; margin-left: 20px; margin-right: 20px; }
  .gallery { grid-auto-rows: 180px; gap: 8px; }
  .g-tall { grid-column: span 2; }
  .wide-media img { aspect-ratio: 4/3; }
  .cta-band .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .course-actions { flex-wrap: wrap; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); border-top: 1px solid var(--line-light); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; color: var(--white); text-decoration: none; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; border-right: 1px solid var(--line-light); }
  .mobile-bar svg { width: 18px; height: 18px; fill: var(--champagne); }
  .mobile-bar .mb-primary { background: var(--champagne); color: var(--ink); border: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
