/* Jadon Institute — Ivory editorial */
:root {
  --ivory: #F6F1E8; --paper: #EFE8DC; --card: #FBF8F2; --ink: #17161A; --ink-2: #3A3833; --muted: #77716A;
  --line: #DED5C6; --red: #C8283A; --gold: #B98A2E; --gold-l: #E2B65A;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.02rem; line-height: 1.65; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; margin: 0 0 .45em; }
h1 em, h2 em, h3 em, .result-number em, .figures em { font-style: italic; color: var(--red); }
h1 { font-size: clamp(3rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.container { width: min(100% - 48px, 1240px); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.eyebrow.on-ink { color: #C9C2B6; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .9rem; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: all .25s var(--ease); white-space: nowrap; }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.btn-gold { background: var(--gold-l); color: var(--ink); }
.btn-gold:hover { background: #ECC46C; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.g-badge { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: #4285F4; font: 700 .72rem/1 var(--sans); border: 1px solid var(--line); }

.topbar { border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar p { margin: 0; display: flex; gap: 8px; align-items: center; }
.topbar a { text-decoration: none; font-weight: 600; }
.sep { color: var(--line); }
.state { font-weight: 700; } .state.open { color: #2E7D4F; } .state.closed { color: var(--red); }
.social { display: flex; gap: 6px; align-items: center; }
.social a { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .78rem; }
.social a:hover { background: var(--paper); }
.social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 232, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.brand img { height: 54px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a, .has-drop > a { padding: 8px 14px; font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--ink-2); position: relative; display: block; }
.main-nav > a::after, .has-drop > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav > a:hover::after, .has-drop:hover > a::after, .main-nav a.active::after { transform: scaleX(1); }
.has-drop { position: relative; }
.has-drop > a { padding-right: 26px; }
.has-drop > a::before { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.drop { position: absolute; top: 100%; left: 0; min-width: 270px; padding: 10px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(23, 22, 26, .35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; padding: 9px 12px; text-decoration: none; font-size: .86rem; color: var(--ink-2); }
.drop a:hover { background: var(--paper); color: var(--ink); }
.nav-cta-mobile { display: none !important; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; position: relative; cursor: pointer; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: all .25s; }
.menu-toggle span:first-child { top: 17px; } .menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.shelf-hero { padding: 56px 0 30px; overflow: hidden; }
.hero-head { text-align: center; max-width: 900px; }
.hero-head .eyebrow { justify-content: center; }
.hero-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hero-sub { color: var(--ink-2); font-size: 1.08rem; max-width: 640px; margin: 0 auto; }
.shelf-scene { position: relative; margin: 34px auto 0; width: min(100%, 1180px); padding: 0 24px; background: radial-gradient(60% 80% at 70% 10%, rgba(226, 182, 90, .22), transparent 70%); }
.shelf { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 360px; }
.book { position: relative; flex: none; height: var(--h, 300px); width: 52px; border: 0; padding: 0; cursor: pointer; background: none; transition: width .7s var(--ease), transform .4s var(--ease); }
.book:hover { transform: translateY(-8px); }
.book .spine, .book .cover { position: absolute; inset: 0; border-radius: 3px 6px 6px 3px; overflow: hidden; transition: opacity .5s var(--ease); }
.book .spine { background: var(--c); color: var(--t, #F6F1E8); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 16px 0 14px; box-shadow: inset 3px 0 0 rgba(255, 255, 255, .12), inset -4px 0 8px rgba(0, 0, 0, .25), 0 10px 18px -10px rgba(0, 0, 0, .5); }
.book .spine::before, .book .spine::after { content: ""; position: absolute; left: 6px; right: 6px; height: 1px; background: currentColor; opacity: .5; }
.book .spine::before { top: 74px; } .book .spine::after { bottom: 46px; }
.spine-title { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--serif); font-size: 1.35rem; letter-spacing: .02em; white-space: nowrap; }
.spine-cls { font-size: .62rem; font-weight: 700; letter-spacing: .12em; writing-mode: vertical-rl; transform: rotate(180deg); opacity: .85; }
.spine-star { width: 14px; height: 14px; color: var(--gold-l); }
.book .cover { opacity: 0; background: var(--c); color: var(--t, #F6F1E8); padding: 22px 20px 18px 26px; display: flex; flex-direction: column; text-align: left; box-shadow: inset 8px 0 10px -6px rgba(0, 0, 0, .45), 0 26px 40px -18px rgba(0, 0, 0, .55); }
.book .cover::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .18); }
.cover-top { font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.cover-title { font-family: var(--serif); font-size: 2.3rem; line-height: 1; margin: auto 0 10px; }
.cover-title em { font-style: italic; color: var(--gold-l); }
.cover-rule { width: 40px; height: 1px; background: var(--gold-l); margin-bottom: 10px; }
.cover-sub { font-size: .78rem; line-height: 1.45; opacity: .9; }
.cover-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.book { width: 46px; }
.book.active { width: 230px; transform: translateY(-6px); }
.book.active .spine { opacity: 0; }
.book.active .cover { opacity: 1; }
.shelf-board { height: 22px; margin: 0 -24px; background: linear-gradient(#C9B79A, #A88F6C); border-radius: 2px; box-shadow: 0 18px 30px -14px rgba(60, 40, 20, .55); position: relative; }
.shelf-board::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: rgba(255, 255, 255, .35); }
.shelf-caption { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.caption-count { font-size: .76rem; letter-spacing: .2em; color: var(--muted); font-weight: 700; }
.caption-title { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 4px 0 2px; }
.caption-meta { margin: 0; color: var(--ink-2); }
.caption-actions { display: flex; gap: 10px; align-items: center; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; font-size: 1.1rem; cursor: pointer; transition: all .25s; }
.round-btn:hover { background: var(--ink); color: var(--ivory); }

.book-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.book-backdrop { position: absolute; inset: 0; background: rgba(23, 22, 26, .55); backdrop-filter: blur(4px); }
.open-book { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--card); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); animation: openBook .5s var(--ease); }
@keyframes openBook { from { opacity: 0; transform: scale(.94); } }
.page { padding: 44px 40px; }
.page-left { background: var(--c, var(--ink)); color: var(--t, var(--ivory)); display: flex; flex-direction: column; justify-content: space-between; min-height: 440px; box-shadow: inset -18px 0 24px -18px rgba(0, 0, 0, .5); }
.page-left .big { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); line-height: .98; }
.page-left .big em { font-style: italic; color: var(--gold-l); }
.page-left .quote { font-family: var(--serif); font-style: italic; font-size: 1.3rem; opacity: .9; }
.page-right { box-shadow: inset 18px 0 24px -18px rgba(0, 0, 0, .18); }
.page-right h2 { font-size: 2.6rem; }
.book-lead { color: var(--ink-2); }
.book-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 20px 0; }
.book-facts div { padding: 12px 10px 12px 0; }
.book-facts small { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.book-facts strong { font-size: .88rem; font-weight: 600; }
.page-right h3 { font-size: 1.3rem; margin-bottom: 10px; }
.book-subjects { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.book-subjects li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; }
.book-close { position: absolute; right: 14px; top: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 1.4rem; cursor: pointer; }

.figures { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figures-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.figures-grid div { padding: 34px 24px; border-left: 1px solid var(--line); }
.figures-grid div:first-child { border-left: 0; padding-left: 0; }
.figures strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; }
.figures span { color: var(--muted); font-size: .88rem; }

.section { padding: clamp(80px, 10vw, 130px) 0; }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--ivory); }
.section-head { max-width: 820px; margin-bottom: 50px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; flex-wrap: wrap; }
.lead { font-size: 1.1rem; color: var(--ink-2); }

.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.num-list { margin-top: 30px; border-top: 1px solid var(--line); }
.num-list li { display: flex; gap: 22px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.num-list span { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.2rem; min-width: 26px; }
.ed-media { position: relative; padding-bottom: 90px; }
.frame { margin: 0; }
.frame img { width: 100%; object-fit: cover; }
.frame-wide img { aspect-ratio: 4 / 3.2; }
.frame-tall { position: absolute; right: -10px; bottom: 0; width: 44%; border: 8px solid var(--ivory); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .5); }
.frame-tall img { aspect-ratio: 3 / 4; }
.frame-tall figcaption { position: absolute; left: 0; right: 0; bottom: -40px; color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1rem; }

.result { text-align: center; max-width: 760px; }
.result-number { font-family: var(--serif); font-size: clamp(6rem, 16vw, 12rem); line-height: .9; margin: 10px 0 14px; }
.result-text { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; }
.result-note { color: var(--muted); margin-bottom: 28px; }

.course-table { border-top: 1px solid var(--ink); }
.course-row { display: grid; grid-template-columns: 70px 1.2fr 1fr 2fr 40px; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; cursor: pointer; transition: background .25s, padding .25s; }
.course-row:hover { background: var(--card); padding-left: 14px; padding-right: 14px; }
.course-row .no { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.3rem; }
.course-row .nm { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; }
.course-row .cl { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.course-row .sb { color: var(--ink-2); font-size: .92rem; }
.course-row .ar { font-size: 1.2rem; transition: transform .25s; }
.course-row:hover .ar { transform: translateX(4px); }
.quote-band { margin: 60px 0; text-align: center; }
.quote-hi { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.15; margin-bottom: 8px; }
.quote-band p:last-child { color: var(--muted); letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; font-weight: 700; }
.boards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.boards div { padding: 30px 30px 10px 0; }
.boards div + div { border-left: 1px solid var(--line); padding-left: 30px; }
.boards h3 { font-size: 2.4rem; margin-bottom: 6px; }
.boards p { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.steps li { padding: 28px 24px 0 0; }
.steps li + li { border-left: 1px solid var(--line); padding-left: 24px; }
.step-no { display: block; font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.steps h3 { font-size: 1.7rem; margin-bottom: 6px; }
.steps p { color: var(--ink-2); }
.steps a { font-weight: 700; text-decoration: none; }

.demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.demo-info h2 { color: var(--ivory); }
.demo-info h2 em { color: var(--gold-l); }
.demo-info > p { color: #C9C2B6; max-width: 30em; }
.demo-contact { display: grid; margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, .15); }
.demo-contact a { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); text-decoration: none; font-family: var(--serif); font-size: 1.7rem; }
.demo-contact small { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #9F988C; }
.demo-panel { background: var(--card); color: var(--ink); padding: clamp(28px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; margin-bottom: 26px; }
.field { display: grid; gap: 4px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 8px 0; font-size: 1.02rem; border-radius: 0; transition: border-color .2s; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2377716A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0 center/16px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field textarea { resize: vertical; }
.field-full { grid-column: 1 / -1; }
.field-radio { display: flex; flex-wrap: wrap; gap: 8px; }
.field-radio legend { width: 100%; margin-bottom: 8px; }
.field-radio label { position: relative; }
.field-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.field-radio span { display: inline-block; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; cursor: pointer; }
.field-radio input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.consent { display: flex; gap: 10px; font-size: .85rem; color: var(--muted); }
.consent input { accent-color: var(--ink); margin-top: 4px; }
.hp { position: absolute !important; left: -9999px; }
.form-error { color: var(--red); font-weight: 600; font-size: .92rem; }
.demo-success h3 { font-size: 2.2rem; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.reviews figure { margin: 0; padding: 30px 30px 0 0; }
.reviews figure + figure { border-left: 1px solid var(--line); padding-left: 30px; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: .9rem; }
.reviews blockquote { margin: 14px 0; font-family: var(--serif); font-size: 1.9rem; line-height: 1.2; }
.reviews figcaption { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); }
.visit-list { margin: 26px 0 30px; border-top: 1px solid var(--line); }
.visit-list div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.visit-list dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-top: 4px; }
.visit-list dd { margin: 0; }
.visit-list a { font-weight: 700; text-decoration: none; }
.hours th { text-align: left; font-weight: 500; color: var(--muted); padding-right: 18px; }
.hours tr.today th, .hours tr.today td { color: var(--red); }
.map-wrap { min-height: 460px; border: 1px solid var(--line); filter: grayscale(.35) sepia(.12); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

.site-footer { background: var(--ink); color: #B9B2A6; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 170px; margin-bottom: 20px; }
.site-footer h3 { color: var(--ivory); font-size: 1.4rem; margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; font-size: .92rem; }
.site-footer a { text-decoration: none; color: #E8E1D5; }
.site-footer a:hover { color: #fff; }
.footer-social { margin-top: 18px; }
.footer-social a { border: 1px solid rgba(255, 255, 255, .2); }
.footer-social a:hover { background: rgba(255, 255, 255, .08); }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 60px; padding: 24px 0 30px; font-size: .84rem; }
.footer-bottom p { margin: 0; }

.wa-widget { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-fab { width: 60px; height: 60px; border-radius: 50%; border: 0; background: #25D366; cursor: pointer; display: grid; place-items: center; transition: transform .25s var(--ease); animation: waPulse 2.6s infinite; }
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab:hover { transform: scale(1.06); }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.wa-pop { width: min(340px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45); overflow: hidden; animation: openBook .35s var(--ease); border-radius: 16px; }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #075E54; color: #fff; }
.wa-head strong { display: block; font-size: .95rem; }
.wa-head small { font-size: .74rem; opacity: .85; }
.wa-x { margin-left: auto; border: 0; background: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.wa-body { padding: 16px; background: #ECE5DD; }
.wa-bubble { background: #fff; padding: 10px 14px; border-radius: 0 12px 12px 12px; font-size: .92rem; display: inline-block; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa-options { display: grid; gap: 8px; margin-top: 6px; }
.wa-options a { display: block; padding: 10px 14px; border-radius: 12px; background: #fff; text-decoration: none; font-size: .88rem; font-weight: 600; color: #075E54; border: 1px solid #d9e8e3; }
.wa-options a:hover { background: #DCF8C6; }

.director { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.director-photo { margin: 0; }
.director-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 10px solid var(--ivory); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.portrait { aspect-ratio: 4 / 5; background: linear-gradient(160deg, #23222A, #17161A); color: var(--gold-l); display: grid; place-content: center; text-align: center; border: 10px solid var(--ivory); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.portrait span { font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 9vw, 7rem); line-height: 1; }
.portrait small { margin-top: 10px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #9F988C; }
.director-role { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--red); margin-top: -8px; }
.cred { border-top: 1px solid var(--line); margin: 22px 0; }
.cred li { display: flex; gap: 18px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.cred span { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.35rem; min-width: 70px; }
.director-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.action-bar { display: none; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .main-nav > a, .has-drop > a { padding: 8px 10px; }
}
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); flex-direction: column; align-items: stretch; padding: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s var(--ease); max-height: calc(100vh - 140px); overflow: auto; }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a, .has-drop > a { padding: 12px 6px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .main-nav > a::after, .has-drop > a::after { display: none; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; background: none; }
  .nav-cta-mobile { display: inline-flex !important; margin-top: 12px; }
  .editorial, .demo, .visit, .open-book, .director { grid-template-columns: 1fr; }
  .director-photo { max-width: 360px; }
  .figures-grid, .steps { grid-template-columns: 1fr 1fr; }
  .figures-grid div:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .reviews, .boards { grid-template-columns: 1fr; }
  .reviews figure + figure, .boards div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .course-row { grid-template-columns: 44px 1fr 30px; }
  .course-row .cl, .course-row .sb { grid-column: 2; }
  .course-row .ar { grid-row: 1; grid-column: 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-left { min-height: 220px; }
}
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .container { width: min(100% - 32px, 1240px); }
  .topbar-left .sep, .topbar-left a { display: none; }
  .header-inner { height: 70px; }
  .brand img { height: 46px; }
  .shelf { height: 300px; gap: 4px; justify-content: flex-start; padding-left: 4px; }
  .shelf-scene { overflow: hidden; padding: 0 12px; }
  .book { width: 30px; }
  .spine-title { font-size: 1rem; }
  .spine-cls { display: none; }
  .book.active { width: 180px; }
  .cover-title { font-size: 1.8rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .visit-list div { grid-template-columns: 1fr; gap: 2px; }
  .frame-tall { width: 48%; }
  .wa-widget { bottom: 88px; right: 14px; }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--ink); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .action-bar a { text-align: center; padding: 12px 6px; color: var(--ivory); text-decoration: none; font-weight: 600; font-size: .92rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; }
  .action-bar a.primary { background: var(--gold-l); color: var(--ink); border-color: var(--gold-l); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== Motion & polish (v7) ===== */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.split-word > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.is-loaded .split-word > span { transform: none; }
.hero-head .eyebrow, .hero-sub { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .5s, transform .9s var(--ease) .5s; }
.is-loaded .hero-head .eyebrow, .is-loaded .hero-sub { opacity: 1; transform: none; }
.is-loaded .hero-head .eyebrow { transition-delay: .1s; }
.book { opacity: 0; translate: 0 40px; }
.is-loaded .book { opacity: 1; translate: 0 0; transition: width .7s var(--ease), transform .4s var(--ease), opacity .8s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s); }
.shelf-board { transform: scaleX(.6); opacity: 0; transition: transform 1.2s var(--ease) .2s, opacity 1s .2s; }
.is-loaded .shelf-board { transform: none; opacity: 1; }
.book.active .cover { animation: coverIn .7s var(--ease); }
@keyframes coverIn { from { transform: perspective(900px) rotateY(-28deg); transform-origin: left center; } }

.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--ivory); padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: 1.7rem; white-space: nowrap; color: var(--ink-2); }
.marquee-track span::after { content: "✦"; color: var(--gold); font-size: .9rem; margin-left: 48px; vertical-align: middle; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.js .stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .stagger.in > * { opacity: 1; transform: none; }
.js .img-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.js .img-reveal.in { clip-path: inset(0 0 0 0); }
.img-reveal img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
.img-reveal.in img { transform: scale(1); }
.frame-wide, .director-photo { overflow: hidden; }
.frame-wide img, .director-img { transition: transform 1.2s var(--ease); }
.frame-wide:hover img, .director-photo:hover .director-img { transform: scale(1.04); }

.btn { position: relative; overflow: hidden; }
.btn-dark::after, .btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-dark:hover::after, .btn-gold:hover::after { transform: translateX(120%); }
.course-row .nm { transition: color .3s, transform .4s var(--ease); }
.course-row:hover .nm { color: var(--red); transform: translateX(6px); }
.reviews figure, .boards div, .steps li { transition: transform .4s var(--ease); }
.reviews figure:hover, .boards div:hover, .steps li:hover { transform: translateY(-4px); }
.result-number { background: linear-gradient(90deg, var(--ink) 0 60%, var(--red) 60%); -webkit-background-clip: text; background-clip: text; }
.wa-fab { animation: waPulse 2.6s infinite, waIn .6s var(--ease) 1.2s both; }
@keyframes waIn { from { transform: scale(0); } }
.section { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .split-word > span, .book, .shelf-board, .hero-head .eyebrow, .hero-sub, .js .stagger > *, .js .img-reveal, .img-reveal img { transform: none !important; opacity: 1 !important; translate: none !important; clip-path: none !important; }
  .marquee-track { animation: none; }
}

/* ===== Multi-page (v8) ===== */
.main-nav a.active::after { transform: scaleX(1); }
.drop a small { color: var(--muted); font-size: .74rem; margin-left: 6px; }
.tb-note { color: var(--muted); }
.page-hero { padding: 70px 0 60px; border-bottom: 1px solid var(--line); background: radial-gradient(50% 120% at 85% 0%, rgba(226,182,90,.18), transparent 70%); }
.crumbs { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 22px; }
.crumbs a { text-decoration: none; } .crumbs span { margin: 0 6px; color: var(--line); }
.page-title { font-size: clamp(3rem, 7vw, 5.8rem); max-width: 14ch; margin-bottom: 18px; }
.page-title em { font-style: italic; color: var(--red); }
.page-sub { font-size: 1.12rem; color: var(--ink-2); max-width: 46em; }
.page-sub a { font-weight: 700; text-decoration: none; }
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); }
.story-text p { color: var(--ink-2); }
.timeline-h { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); position: relative; }
.timeline-h li { padding: 30px 24px 0 0; position: relative; }
.timeline-h li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); }
.timeline-h li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.timeline-h li + li::before { left: 24px; }
.yr { display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; margin-bottom: 10px; }
.timeline-h .next .yr, .journey-row .next .yr { color: var(--red); font-style: italic; }
.timeline-h p { color: var(--ink-2); }
.soon, .journey-row small { display: inline-block; margin-top: 6px; padding: 3px 10px; border: 1px solid var(--red); color: var(--red); border-radius: 999px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.journey-strip { border-bottom: 1px solid var(--line); }
.journey-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.journey-row > div { padding: 26px 20px; border-left: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.journey-row > div:first-child { border-left: 0; padding-left: 0; }
.journey-row .yr { font-size: 2.2rem; margin-bottom: 4px; }
.faculty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.teacher { background: var(--card); border: 1px solid var(--line); padding: 14px 14px 20px; transition: transform .4s var(--ease), box-shadow .4s; }
.teacher:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0,0,0,.35); }
.teacher img, .teacher .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 14px; }
.teacher .ph { display: grid; place-items: center; background: var(--paper); color: var(--gold); font-size: 2.4rem; }
.teacher h3 { font-size: 1.45rem; margin-bottom: 2px; }
.teacher p { margin: 0; font-weight: 600; font-size: .9rem; }
.teacher small { color: var(--muted); }
.teacher-soon { opacity: .75; }
.cta-band h2 em { color: var(--gold-l); }
.cta-band p { color: #C9C2B6; margin-bottom: 26px; }
.course-grid-covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.course-grid-covers.small { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cover-card { position: relative; display: flex; flex-direction: column; aspect-ratio: 3 / 4.1; padding: 24px 22px 20px 28px; background: var(--c); color: var(--t, #F6F1E8); text-decoration: none; border-radius: 3px 8px 8px 3px; box-shadow: inset 8px 0 10px -6px rgba(0,0,0,.45), 0 24px 40px -24px rgba(0,0,0,.55); transition: transform .5s var(--ease), box-shadow .5s; }
.cover-card::before { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.2); }
.cover-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: inset 8px 0 10px -6px rgba(0,0,0,.45), 0 40px 50px -26px rgba(0,0,0,.6); }
.cover-card .cover-title { font-size: 2.2rem; }
.small .cover-card { padding: 18px 16px 14px 22px; }
.small .cover-card .cover-title { font-size: 1.5rem; }
.cover-card.big { aspect-ratio: 3 / 3.8; max-width: 380px; justify-self: end; transform: rotate(2deg); }
.cover-card.big .cover-title { font-size: 3.4rem; }
.course-hero { padding: 60px 0 70px; border-bottom: 1px solid var(--line); background: radial-gradient(50% 120% at 85% 0%, rgba(226,182,90,.18), transparent 70%); }
.course-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.course-hero .crumbs a { text-decoration: none; }
.batch-table { border-top: 1px solid var(--ink); }
.bt-head, .bt-row { display: grid; grid-template-columns: 2fr 1.1fr 1.3fr 1.3fr 1.1fr .8fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.bt-head { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.bt-row { transition: background .25s; }
.bt-row:hover { background: var(--card); }
.bt-name { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.bt-name small { display: block; font-family: var(--sans); font-size: .8rem; color: var(--muted); }
.bt-time { font-weight: 700; }
.bt-row em { color: var(--red); font-style: normal; font-weight: 700; }
.branch-title { font-size: 2rem; margin: 40px 0 10px; }
.timing-empty { max-width: 720px; border-top: 1px solid var(--ink); padding-top: 26px; }
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.branch-card { padding: 30px 28px 26px 0; text-decoration: none; transition: background .3s; }
.branch-card + .branch-card { border-left: 1px solid var(--line); padding-left: 28px; }
.branch-card:hover { background: var(--card); }
.branch-no { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.3rem; }
.branch-card h3 { font-size: 2.2rem; margin: 6px 0; }
.branch-card p { color: var(--ink-2); font-size: .94rem; }
.branch-link { font-weight: 700; font-size: .86rem; }
.branches-full { display: grid; gap: 40px; }
.branch-full { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.branch-full h2 { margin: 6px 0 10px; }
.branch-full p { color: var(--ink-2); }
.branch-full .map-wrap, .branch-full .map-wrap iframe { min-height: 320px; }
.google-line { text-align: center; }
.topper-wall { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.topper-feature { text-align: center; padding: 50px 30px; background: var(--card); border: 1px solid var(--line); }
.topper-feature .eyebrow { justify-content: center; }
@media (max-width: 960px) {
  .story, .course-hero-grid, .branch-full, .topper-wall { grid-template-columns: 1fr; }
  .timeline-h, .journey-row, .faculty, .course-grid-covers { grid-template-columns: 1fr 1fr; }
  .course-grid-covers.small { grid-template-columns: repeat(3, 1fr); }
  .timeline-h li:nth-child(3), .journey-row > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .timeline-h li:nth-child(3)::before { left: 0; }
  .branch-grid { grid-template-columns: 1fr; }
  .branch-card + .branch-card { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .cover-card.big { justify-self: start; }
  .bt-head { display: none; }
  .bt-row { grid-template-columns: 1fr 1fr; }
  .bt-name { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .faculty, .course-grid-covers, .course-grid-covers.small { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cover-card .cover-title { font-size: 1.5rem; }
  .cover-card { padding: 16px 14px 14px 20px; }
  .timeline-h, .journey-row { grid-template-columns: 1fr; }
  .timeline-h li + li, .journey-row > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .timeline-h li + li::before { left: 0; }
}

/* ===== v9: Fraunces type, topper, illustrations ===== */
h1, h2, h3, .yr, .figures strong, .result-number, .cover-title, .spine-title, .bt-name, .course-row .nm, .reviews blockquote, .quote-hi, .demo-contact a { font-variation-settings: "opsz" 96, "SOFT" 50; letter-spacing: -.025em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 350; }
h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); font-weight: 350; }
h3 { font-weight: 450; }
.page-title { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 350; }
h1 em, h2 em, .page-title em { font-weight: 300; }
.spine-title { font-size: 1.15rem; font-weight: 500; letter-spacing: 0; }
.cover-title { font-weight: 400; }
.result-number { font-weight: 300; }
.topper-hero { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.topper-photo { margin: 0; position: relative; }
.topper-photo img { width: 100%; aspect-ratio: 612 / 819; object-fit: cover; border: 10px solid var(--ivory); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); transform: rotate(-1.5deg); }
.topper-photo figcaption { margin-top: 18px; font-family: var(--serif); font-style: italic; color: var(--muted); }
.topper-copy h2 { margin-bottom: 0; }
.topper-copy .result-number { text-align: left; font-size: clamp(5rem, 11vw, 8.5rem); margin: 6px 0 0; }
.marks { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); margin: 22px 0; }
.marks div { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--line); }
.marks div:nth-child(even) { padding-left: 18px; padding-right: 0; border-left: 1px solid var(--line); }
.marks span { font-weight: 600; font-size: .92rem; }
.marks strong { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; }
.marks small { font-family: var(--sans); font-size: .78rem; color: var(--muted); margin-left: 2px; }
.page-hero { position: relative; overflow: hidden; }
.hero-illus { position: absolute; right: max(24px, calc((100vw - 1240px) / 2)); bottom: -10px; width: min(34vw, 380px); opacity: .95; pointer-events: none; animation: floatIllus 7s ease-in-out infinite; }
@keyframes floatIllus { 50% { transform: translateY(-10px); } }
.story-illus { width: min(100%, 380px); margin-top: 30px; }
.alumni-illus img { width: min(100%, 420px); margin: 0 auto; }
@media (max-width: 960px) {
  .topper-hero { grid-template-columns: 1fr; }
  .topper-photo { max-width: 420px; }
  .hero-illus { position: static; width: 220px; margin: 0 0 -10px auto; display: block; padding-right: 16px; }
}
@media (max-width: 560px) { .marks { grid-template-columns: 1fr; } .marks div:nth-child(even) { padding-left: 0; border-left: 0; } }
.hero-head h1 em, .page-title em { white-space: nowrap; } .hero-head h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); }

/* ===== v10: tracks, enterprise polish ===== */
.shelf-hero { padding-top: 48px; }
.hero-head h1 { margin-bottom: 26px; }
.shelf-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); box-shadow: 0 10px 30px -20px rgba(0,0,0,.35); }
.shelf-tabs button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .86rem; cursor: pointer; color: var(--ink-2); transition: all .25s var(--ease); }
.shelf-tabs button:hover { color: var(--ink); }
.shelf-tabs button[aria-selected="true"] { background: var(--ink); color: var(--ivory); }
.pillars { padding: 0 0 clamp(70px, 8vw, 110px); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { position: relative; display: flex; flex-direction: column; padding: 34px 30px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); }
.pillar-academic { --accent: #22364F; } .pillar-competitive { --accent: var(--red); } .pillar-skills { --accent: var(--gold); }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -40px rgba(23,22,26,.45); border-color: transparent; }
.pillar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.pillar-no { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--muted); }
.pillar-top svg { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--paper); fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); margin-bottom: 4px; }
.pillar-tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.pillar-skills .pillar-tag { color: var(--gold); }
.pillar > p:not(.pillar-tag) { color: var(--ink-2); font-size: .95rem; }
.pillar ul { margin: 8px 0 22px; border-top: 1px solid var(--line); }
.pillar li a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .92rem; transition: padding .25s, color .25s; }
.pillar li a span { color: var(--muted); font-weight: 500; font-size: .8rem; }
.pillar li a:hover { color: var(--red); padding-left: 6px; }
.pillar-link { margin-top: auto; font-weight: 700; font-size: .88rem; text-decoration: none; }
.drop { display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: 6px 14px; min-width: 640px; left: 50%; translate: -50% 0; padding: 18px; }
.drop-col { display: grid; align-content: start; }
.drop-h { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted); padding: 4px 12px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.course-cat + .course-cat { padding-top: 0; }
.cat-text { max-width: 440px; color: var(--ink-2); margin: 0; }
@media (max-width: 960px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .drop { grid-template-columns: 1fr; min-width: 0; translate: none; padding: 4px 0 8px 12px; }
  .drop-h { padding-left: 0; }
}
@media (max-width: 560px) { .shelf-tabs { border-radius: 18px; } .shelf-tabs button { padding: 8px 12px; font-size: .8rem; } }

/* ===== v11: blog, faq, review CTA ===== */
.review-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; gap: 12px; padding: 30px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: inherit; transition: transform .35s ease, box-shadow .35s ease, border-color .35s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(23,22,26,.35); border-color: var(--gold-l); }
.post-card h2 { font-size: 1.55rem; line-height: 1.2; margin: 0; }
.post-card p { color: var(--ink-2); margin: 0; flex: 1; }
.post-card.featured { grid-column: 1 / -1; background: var(--ink); color: var(--ivory); border-color: var(--ink); padding: 44px; }
.post-card.featured h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 22ch; color: var(--ivory); }
.post-card.featured p { color: rgba(246,241,232,.75); max-width: 60ch; }
.post-tag { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.post-meta { font-size: .85rem; font-weight: 700; color: var(--muted); }
.post-card.featured .post-meta { color: var(--gold-l); }
.narrow-c { max-width: 760px; }
.post-hero .page-title { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 20ch; }
.post-hero .eyebrow { margin-bottom: 14px; }
.post-body { font-size: 1.1rem; line-height: 1.8; }
.post-body h2 { font-size: 1.8rem; margin: 1.6em 0 .5em; }
.post-body p, .post-body ul, .post-body ol { margin: 0 0 1.1em; }
.post-body li { margin-bottom: .45em; }
.post-body a { color: var(--red); font-weight: 700; }
.post-author { display: flex; align-items: center; gap: 16px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.post-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.post-author strong { display: block; } .post-author span { font-size: .9rem; color: var(--muted); }
.faq-wrap { max-width: 860px; display: grid; gap: 46px; }
.faq-group h2 { font-size: 1.7rem; margin-bottom: 14px; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: 1.08rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--gold); transition: transform .3s; }
details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq p { margin: 0 0 22px; color: var(--ink-2); max-width: 64ch; animation: faqIn .35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .post-card, .post-card.featured { padding: 26px; } }
.post .section, .post-grid { margin-top: 0; } .post .post-body { padding-top: 0; } .post > .section { padding-top: 56px; }

/* ===== v12: real photos ===== */
.photo-grid { columns: 4 240px; column-gap: 16px; }
.photo-grid .gph { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: 16px; overflow: hidden; background: var(--paper); }
.photo-grid .gph a { display: block; }
.photo-grid img { display: block; width: 100%; height: auto; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s; }
.photo-grid .gph:hover img { transform: scale(1.045); }
.photo-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-size: .85rem; font-weight: 700; background: linear-gradient(transparent, rgba(23,22,26,.78)); opacity: 0; transform: translateY(8px); transition: .35s; pointer-events: none; }
.photo-grid .gph:hover figcaption, .photo-grid .gph:focus-within figcaption { opacity: 1; transform: none; }
.home-grid { columns: 3 260px; }
.fel-grid { columns: 3 240px; }
.story-photo img { display: block; width: 100%; height: auto; border-radius: 18px; margin-top: 28px; box-shadow: 0 30px 60px -34px rgba(23,22,26,.45); }
.wall-note { margin-top: 18px; max-width: 60ch; margin-left: auto; margin-right: auto; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,14,17,.94); display: grid; place-items: center; padding: 30px 70px; }
.lightbox[hidden] { display: none !important; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; }
.lightbox figcaption { color: var(--ivory); margin-top: 12px; font-weight: 600; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; padding: 10px 16px; line-height: 1; }
.lb-x { top: 12px; right: 14px; } .lb-p { left: 10px; top: 50%; translate: 0 -50%; } .lb-n { right: 10px; top: 50%; translate: 0 -50%; }
@media (hover: none) { .photo-grid figcaption { opacity: 1; transform: none; } }
@media (max-width: 640px) { .photo-grid, .home-grid, .fel-grid { columns: 2; column-gap: 10px; } .photo-grid .gph { margin-bottom: 10px; border-radius: 12px; } .photo-grid figcaption { font-size: .72rem; padding: 26px 10px 8px; } .lightbox { padding: 20px 10px; } }
.fel-grid { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fel-grid .gph { margin: 0; aspect-ratio: 4 / 5; }
.fel-grid picture, .fel-grid a { height: 100%; }
.fel-grid img { height: 100%; object-fit: cover; object-position: 50% 70%; }
@media (max-width: 640px) { .fel-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ===== v13: life at jadon, reels, recognition ===== */
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.act { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px 26px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: inherit; transition: transform .35s, box-shadow .35s, border-color .35s; overflow: hidden; }
.act:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(23,22,26,.35); border-color: var(--gold-l); }
.act-n { position: absolute; right: 20px; top: 14px; font-family: var(--serif); font-size: 2.6rem; font-weight: 300; color: var(--line); line-height: 1; }
.act-tag { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.act h3 { font-size: 1.35rem; margin: 0; }
.act p { margin: 0; color: var(--ink-2); flex: 1; font-size: .96rem; }
.act-link { font-size: .82rem; font-weight: 700; color: var(--red); margin-top: 6px; }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.reel { min-height: 420px; border-radius: 16px; background: var(--paper); overflow: hidden; }
.reel .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; border-radius: 16px !important; }
.reel blockquote > a { display: grid; place-items: center; min-height: 420px; padding: 20px; text-align: center; font-weight: 700; color: var(--ink); text-decoration: none; }
.recog { margin: 22px 0; padding: 18px 20px; border-left: 3px solid var(--gold); background: rgba(226,182,90,.09); border-radius: 0 12px 12px 0; }
.recog p { margin: 0 0 6px; font-size: .95rem; } .recog p:last-child { margin: 0; }
.recog-h { font-size: .7rem !important; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 900px) { .acts { grid-template-columns: repeat(2, 1fr); } .reels { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
@media (max-width: 560px) { .acts { grid-template-columns: 1fr; } }

/* ===== v14: Black & Gold brand theme ===== */
:root {
  --ivory: #FFFFFF; --paper: #F7F5F0; --card: #FFFFFF; --ink: #0E0E10; --ink-2: #2D2D33; --muted: #6B6B73;
  --line: #E7E3DA; --gold: #B8901F; --gold-l: #D9B44A; --gold-d: #96720F; --red: #C8283A;
  --gold-grad: linear-gradient(135deg, #F0D27A 0%, #D9B44A 45%, #B8901F 100%);
}
body { background: #fff; color: var(--ink); }
/* Headline accents: gold instead of red */
h1 em, h2 em, h3 em, .page-title em, .result-number em { color: var(--gold-d); }
.section-ink h1 em, .section-ink h2 em, .section-ink h3 em, .figures em, .site-footer em { color: var(--gold-l); }
/* Top strip: black brand bar */
.topbar { background: var(--ink); color: #C9C9CF; border-bottom: 0; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--gold-l); }
.topbar svg { color: #fff; }
.topbar .state.open { color: #5BD38A; } .topbar .state.closed { color: #FF6B78; }
/* Header */
.site-header { background: rgba(255,255,255,.92); }
.site-header.scrolled { box-shadow: 0 8px 30px -20px rgba(14,14,16,.35); }
/* Buttons */
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #26262B; }
.btn-gold { background: var(--gold-grad); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(184,144,31,.65); }
.btn-gold:hover { background: var(--gold-grad); filter: brightness(1.06); }
.header-cta { background: var(--gold-grad) !important; color: var(--ink) !important; box-shadow: 0 10px 24px -14px rgba(184,144,31,.8); }
/* Sections */
.section-paper { background: var(--paper); }
.section-ink { background: radial-gradient(70% 120% at 85% 0%, rgba(217,180,74,.16), transparent 60%), var(--ink); color: #fff; }
.eyebrow::before, .eyebrow.center::after { background: var(--gold-grad); height: 2px; }
/* Figures band: black with gold numbers */
.figures { background: var(--ink); color: #fff; border: 0; }
.figures-grid div { border-left-color: rgba(255,255,255,.1); }
.figures strong { color: #fff; }
.figures span { color: #A9A9B2; }
/* Cards: crisp white with soft shadow */
.pillar, .act, .post-card, .teacher, .branch-card { background: #fff; border-color: var(--line); box-shadow: 0 1px 0 rgba(14,14,16,.03), 0 18px 40px -32px rgba(14,14,16,.35); }
.pillar::before, .act::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.pillar:hover::before, .act:hover::before { transform: scaleX(1); }
.pillar:hover, .act:hover, .post-card:hover { border-color: var(--gold-l); }
.pillar li a:hover { color: var(--gold-d); }
.act-link, .post-body a { color: var(--gold-d); }
.post-card.featured { background: radial-gradient(80% 140% at 100% 0%, rgba(217,180,74,.22), transparent 60%), var(--ink); }
.page-hero { background: radial-gradient(50% 120% at 85% 0%, rgba(217,180,74,.16), transparent 70%), #fff; }
.recog { background: rgba(217,180,74,.10); }
.review-cta .btn-dark .g-badge { background: #fff; }
.topbar .social a:hover { background: rgba(255,255,255,.1); }
