/* ============================================
   STAY CHESSY — COMPLETE STYLESHEET
   Last updated: May 2026
   ============================================ */

/* ── CSS VARIABLES ── */
:root {
  --white:  oklch(99% 0 0);
  --gray-200: oklch(90% 0 0);   /* borders, card backgrounds */
  --gray-300: oklch(85% 0 0);   /* quote borders, dividers */
  --ink:    oklch(15% 0 0);     /* headings, dark bg, nav */
  --mid:    oklch(48% 0 0);     /* body text */
  --light:  oklch(68% 0 0);     /* labels, muted text */
  --rule:   oklch(85% 0 0 / .35); /* section dividers */
  --blush:  oklch(97% 0.01 15);  /* CTA bg, soft sections */
  --sky:    oklch(97% 0.01 220); /* nav link hover */
  --lemon:  oklch(97% 0.01 90);  /* stats, FAQ bg */
  --sand:   oklch(97% 0.01 50);  /* format cards */
  --purple: #9B8EC4;             /* Knight / Advanced / book.html accents */
}

/* ── CHESS PIECE COLORS ── */
.cp1 { color: #E8806A; } /* King    — Beginner  */
.cp2 { color: #6AAFD4; } /* Queen   — Intermediate */
.cp3 { color: #6EC4A8; } /* Rook    — general UI */
.cp4 { color: #D4813A; } /* Bishop  — general UI */
.cp5 { color: #9B8EC4; } /* Knight  — Advanced  */
.cp6 { color: #E8B0AA; } /* Pawn    — general UI */

/* ── ANIMATIONS ── */
@keyframes gentleFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes piecePop { 0% { opacity: 0; transform: translateY(6px) scale(.6); } 65% { transform: translateY(-3px) scale(1.12); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rotateOpen { from { transform: rotate(0deg); } to { transform: rotate(45deg); } }
@keyframes rotateClose { from { transform: rotate(45deg); } to { transform: rotate(360deg); } }

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; color: var(--ink); overflow-wrap: break-word; word-break: break-word; }
p { overflow-wrap: break-word; }
h1 { font-size: clamp(52px, 7vw, 92px); font-weight: 700; line-height: 1.02; letter-spacing: -2px; }
h2 { font-size: clamp(36px, 4.5vw, 60px); font-weight: 700; line-height: 1.1; letter-spacing: -1.5px; }
h3 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 600; line-height: 1.2; letter-spacing: -.8px; }
.label { font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--mid); margin-bottom: 20px; display: block; }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; }
.section-pad { padding: 100px 64px; }
.section-pad + .section-pad { padding-top: 48px; }

/* ── BUTTONS ── */
.btn { display: inline-block; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; padding: 15px 34px; border-radius: 100px; text-decoration: none; transition: transform .15s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: oklch(25% 0 0); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ── NAVIGATION ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; padding: 18px 64px; background: oklch(15% 0 0); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
nav.scrolled { border-bottom-color: var(--rule); }
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 700; letter-spacing: 1.5px; color: var(--white); text-decoration: none; display: flex; align-items: center; gap: 8px; line-height: 1; }
.nav-logo-text { animation: piecePop .5s .1s both; display: inline-block; }
.nav-logo-pieces { display: inline-flex; gap: 4px; align-items: flex-end; }
.nav-logo-pieces span { display: inline-flex; align-items: flex-end; opacity: 0; animation: piecePop .4s both, gentleFloat 3s ease-in-out infinite; }
.nav-logo-pieces span svg { height: 19px; width: auto; display: block; }
.nav-logo-pieces span:nth-child(5) svg { position: relative; bottom: 1px; }
.nav-logo-pieces span:nth-child(1) { animation-delay: .45s, 2s; }
.nav-logo-pieces span:nth-child(2) { animation-delay: .60s, 2.2s; }
.nav-logo-pieces span:nth-child(3) { animation-delay: .75s, 2.4s; }
.nav-logo-pieces span:nth-child(4) { animation-delay: .90s, 2.6s; }
.nav-logo-pieces span:nth-child(5) { animation-delay: 1.05s, 2.8s; }
.nav-logo-pieces span:nth-child(6) { animation-delay: 1.20s, 3.0s; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 12px; font-weight: 400; color: var(--white); text-decoration: none; letter-spacing: 1.5px; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover { color: var(--sky); }
.nav-cta { font-size: 12px; font-weight: 600; color: var(--white); text-decoration: none; letter-spacing: 1.5px; text-transform: uppercase; transition: color .2s; white-space: nowrap; margin-left: 16px; }
.nav-cta:hover { color: var(--blush); }

/* ── HERO SECTION ── */
#hero { background: var(--white); padding-top: 120px; padding-bottom: 120px; }
#hero:has(.hero-left) { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; padding-top: 80px; }
#hero .hero-left { background: var(--white); padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; }
#hero .hero-right { background: var(--white); position: relative; display: flex; align-items: center; justify-content: center; padding: 60px 56px 60px 32px; }
#hero:has(.hero-grid) { display: flex; align-items: center; text-align: center; }
.hero-grid { display: flex; flex-direction: column; align-items: center; max-width: 800px; margin: 0 auto; }
.hero-icon { width: 80px; height: 96px; margin-bottom: 32px; }
.hero-icon svg { width: 100%; height: 100%; }
.breadcrumb { font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--mid); margin-bottom: 24px; }
.breadcrumb a { color: var(--mid); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.hero-text h1 { margin-bottom: 20px; }
.hero-text p { font-size: 18px; color: var(--mid); margin-bottom: 36px; max-width: 660px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-photo-wrap { position: relative; width: 100%; max-width: 460px; padding: 16px 0 0 16px; }
.hero-photo-border { position: absolute; top: 0; left: 0; width: calc(100% - 20px); height: calc(100% - 20px); border: 2px solid oklch(14.958% 0.00002 271.152); border-radius: 24px; pointer-events: none; z-index: 1; }
.hero-photo { position: relative; z-index: 2; width: 100%; aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 48px oklch(0% 0 0 / .10); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: 20px; background: linear-gradient(180deg, oklch(99% 0 0 / .08) 0%, transparent 40%, transparent 65%, oklch(99% 0 0 / .12) 100%); }
.hero-sub { font-size: 17px; color: var(--mid); margin-top: 28px; }
.hero-left .hero-actions { margin-top: 44px; justify-content: flex-start; }
.fade-h { opacity: 1; }
.js-loaded .fade-h { opacity: 0; animation: fadeUp .8s forwards; }
.js-loaded .fade-h:nth-child(1) { animation-delay: .1s; }
.js-loaded .fade-h:nth-child(2) { animation-delay: .25s; }
.js-loaded .fade-h:nth-child(3) { animation-delay: .4s; }
.js-loaded .fade-h:nth-child(4) { animation-delay: .55s; }

/* ── STATS SECTION ── */
#stats { background: var(--white); }
.stats-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.stats-left p { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3.5vw, 42px); font-weight: 400; font-style: italic; line-height: 1.4; color: var(--ink); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.stat-cell { background: var(--white); border-radius: 12px; padding: 28px 24px; text-align: center; }
.stat-val { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700; color: var(--ink); display: block; margin-bottom: 8px; }
.stat-title { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.stat-sub { font-size: 13px; color: var(--mid); }
.stat-cell-montessori { background: var(--white); border-radius: 12px; padding: 28px 24px; text-align: center; }
.stat-montessori-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 8px; }

/* ── PHILOSOPHY SECTION ── */
#philosophy { background: var(--white); }
.philosophy-header { margin-bottom: 64px; text-align: center; }
.philosophy-header h2 { margin-bottom: 12px; }
.philosophy-tagline { font-family: 'Cormorant Garamond', serif; font-size: clamp(22px, 2.5vw, 32px); font-style: italic; font-weight: 400; color: var(--mid); line-height: 1.4; max-width: 580px; text-align: center; margin: 0 auto; padding: 0 24px; }
.philosophy-body { font-size: 17px; color: var(--mid); line-height: 1.8; max-width: 680px; margin: 0 auto 64px; text-align: center; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; background: transparent; max-width: 960px; margin: 0 auto; }
.principle-card { background: var(--white); border-radius: 16px; padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; text-align: center; align-items: center; transition: transform .2s ease; border: 1px solid var(--gray-200); }
.principle-card:hover { transform: translateY(-4px); }
.principle-icon { display: inline-block; margin-bottom: 8px; width: 44px; height: 44px; }
.principle-icon svg { width: 100%; height: 100%; }
.principle-card:nth-of-type(1) .principle-icon { color: #E8806A; }
.principle-card:nth-of-type(2) .principle-icon { color: #6AAFD4; }
.principle-card:nth-of-type(3) .principle-icon { color: #6EC4A8; }
.principle-card p { font-size: 15px; color: var(--mid); line-height: 1.7; }

/* ── RESULTS SECTION ── */
#results { background: var(--white); }
.results-grid-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.results-text h2 { margin-bottom: 24px; }
.results-text p { font-size: 17px; color: var(--mid); line-height: 1.75; }
.results-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--rule); }
.result-card { background: var(--white); padding: 28px 24px; }
.result-icon { width: 32px; height: 32px; margin-bottom: 10px; display: block; }
.result-icon svg { width: 100%; height: 100%; }
.result-card:nth-child(1) .result-icon { color: #E8806A; }
.result-card:nth-child(2) .result-icon { color: #6AAFD4; }
.result-card:nth-child(3) .result-icon { color: #6EC4A8; }
.result-card:nth-child(4) .result-icon { color: #D4813A; }
.result-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.result-card p { font-size: 14px; color: var(--mid); line-height: 1.6; }

/* ── INSIDE SECTION ── */
#inside { background: var(--white); }
.inside-inner { text-align: center; }
.inside-inner h2 { margin-bottom: 12px; }
.inside-inner > p { font-size: 18px; color: var(--mid); margin-bottom: 48px; }
.inside-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--rule); }
.inside-card { background: var(--white); padding: 36px 28px; text-align: center; }
.inside-card-icon { width: 36px; height: 36px; margin: 0 auto 12px; display: block; }
.inside-card-icon svg { width: 100%; height: 100%; }
.inside-card:nth-of-type(1) .inside-card-icon { color: #E8806A; }
.inside-card:nth-of-type(2) .inside-card-icon { color: #6AAFD4; }
.inside-card:nth-of-type(3) .inside-card-icon { color: #6EC4A8; }
.inside-card:nth-of-type(4) .inside-card-icon { color: #D4813A; }
.inside-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.inside-card p { font-size: 15px; color: var(--mid); line-height: 1.65; }

/* ── LESSONS SECTION (BENTO) ── */
#lessons { background: var(--white); }
.lessons-top { margin-bottom: 12px; }
.lessons-sub { font-size: 17px; color: var(--mid); margin-bottom: 48px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 40px; }
.bento-card { background: var(--white); border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--gray-200); }
.bento-card.wide { grid-column: span 2; }
.bc-icon { width: 40px; height: 40px; display: block; flex-shrink: 0; }
.bento-card.wide .bc-icon { width: 56px; height: 56px; }
.bc-icon svg { width: 100%; height: 100%; }
.bc-text h4 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.bento-card.wide .bc-text h4 { font-size: 24px; }
.bc-text p { font-size: 14px; color: var(--mid); line-height: 1.6; }
.bento-card.wide .bc-text p { font-size: 15px; }
.bento-card:nth-child(1) .bc-icon { color: #E8806A; }
.bento-card:nth-child(2) .bc-icon { color: #6AAFD4; }
.bento-card:nth-child(3) .bc-icon { color: #6EC4A8; }
.bento-card:nth-child(4) .bc-icon { color: #D4813A; }
.bento-card:nth-child(5) .bc-icon { color: #9B8EC4; }
.bento-card:nth-child(6) .bc-icon { color: #E8806A; }

/* ── TESTIMONIALS SECTION ── */
#testimonials { background: var(--white); }
.testimonials-inner h2 { margin-bottom: 64px; text-align: center; }
.quotes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; max-width: 960px; margin: 0 auto; }
.quote-card { padding: 0 0 0 28px; border-left: 2px solid var(--rule); }
.quote-card:nth-child(1) { border-left-color: #E8806A; }
.quote-card:nth-child(2) { border-left-color: #6AAFD4; }
.quote-card:nth-child(3) { border-left-color: #6EC4A8; }
.quote-card:nth-child(4) { border-left-color: #9B8EC4; }
.quote-card blockquote { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; font-style: italic; line-height: 1.5; color: var(--ink); margin: 0 0 16px; }
.quote-author { font-size: 13px; color: var(--light); letter-spacing: .5px; }

/* ── COURSES SECTION ── */
#courses { background: var(--white); text-align: left; }
.courses-header { margin-bottom: 52px; }
.courses-header h2 { margin-bottom: 10px; }
.courses-helper { font-size: 16px; color: var(--mid); }
.course-list { display: flex; flex-direction: column; }
.course-row { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; cursor: pointer; }
.course-row:first-of-type { border-top: 1px solid var(--rule); }
.course-num { width: 44px; height: 53px; }
.course-num svg { width: 100%; height: 100%; }
.course-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.course-info h3 { margin-bottom: 0; }
.course-info p { font-size: 15px; color: var(--mid); line-height: 1.65; margin-bottom: 14px; max-width: 680px; }
.course-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.course-tag { font-size: 12px; padding: 5px 14px; border-radius: 100px; background: oklch(0% 0 0 / .06); color: var(--mid); white-space: nowrap; }
.course-tag.ages { background: var(--gray-200); color: var(--ink); font-weight: 500; }
.course-arrow { font-size: 26px; font-weight: 700; transition: color .2s, transform .2s; }
.course-row:nth-child(1) .course-arrow { color: #E8806A; }
.course-row:nth-child(2) .course-arrow { color: #6AAFD4; }
.course-row:nth-child(3) .course-arrow { color: #9B8EC4; }
.course-row:hover .course-arrow { color: var(--ink); transform: translateX(4px); }

/* ── ABOUT SECTION ── */
#about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.about-text .label { margin-bottom: 18px; }
.about-text h2 { margin-bottom: 22px; }
.about-text p { font-size: 17px; color: var(--mid); line-height: 1.75; margin-bottom: 18px; }
.about-text p:last-of-type { margin-bottom: 34px; }

/* ── FAQ SECTION ── */
#faq { background: var(--white); }
.faq-inner { max-width: 860px; }
.faq-inner h2 { margin-bottom: 52px; }
.faq-category { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; margin: 56px 0 24px; text-align: left; }
.faq-category:first-of-type { margin-top: 40px; }
.faq-cat-1 { color: #E8806A; }
.faq-cat-2 { color: #6AAFD4; }
.faq-cat-3 { color: #6EC4A8; }
.faq-cat-1 ~ .faq-item .faq-icon { color: #E8806A; }
.faq-cat-2 ~ .faq-item .faq-icon { color: #6AAFD4; }
.faq-cat-3 ~ .faq-item .faq-icon { color: #6EC4A8; }
.faq-item { background: transparent; border-radius: 0; padding: 28px 0; margin-bottom: 0; border: none; border-bottom: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0; background: none; border: none; cursor: pointer; font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--ink); text-align: left; gap: 24px; line-height: 1.3; }
.faq-q:hover { color: var(--mid); }
.faq-icon { display: inline-block; font-size: 32px; font-weight: 700; flex-shrink: 0; color: #E8806A; transition: transform .3s cubic-bezier(.4,0,.2,1); line-height: 1; font-style: normal; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .6s cubic-bezier(0, 1, 0, 1), padding .4s ease; font-size: 16px; color: var(--mid); line-height: 1.75; text-align: left; }
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 26px; transition: max-height .6s cubic-bezier(1, 0, 1, 0), padding .4s ease; }
.faq-a p { padding-right: 0; }

/* ── GALLERY SECTION ── */
#gallery { background: var(--white); }
.gallery-heading { display: flex; align-items: baseline; flex-wrap: wrap; margin-bottom: 44px; justify-content: center; }
.video-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.gallery-video { position: relative; border-radius: 16px; overflow: hidden; background: #1C1C1C; aspect-ratio: 9/16; box-shadow: 0 8px 32px oklch(0% 0 0 / .15); }
.gallery-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-overlay { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.vid-controls { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 16px; background: linear-gradient(transparent, oklch(0% 0 0 / .55)); }
.vid-play { width: 44px; height: 44px; border-radius: 50%; background: oklch(99% 0 0 / .92); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .15s, background .2s; flex-shrink: 0; }
.vid-play:hover { transform: scale(1.08); background: #fff; }
.vid-play svg { width: 18px; height: 18px; fill: #1C1C1C; stroke: none; margin-left: 2px; }
.vid-play.playing svg polygon { display: none; }
.vid-play.playing::after { content: '⏸'; font-size: 16px; color: #1C1C1C; }
.vid-sound { width: 36px; height: 36px; border-radius: 50%; background: oklch(0% 0 0 / .45); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.vid-sound:hover { background: oklch(0% 0 0 / .65); }
.vid-sound svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── CTA SECTION ── */
#cta { background: var(--blush); }
#cta .container { text-align: center; display: flex; flex-direction: column; align-items: center; }
#cta h2 { margin-bottom: 16px; }
#cta p { font-size: 18px; color: var(--mid); margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: var(--ink); padding: 48px 64px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid oklch(99% 0 0 / .1); }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; line-height: 1; }
.footer-logo-pieces { display: inline-flex; gap: 4px; align-items: flex-end; }
.footer-logo-pieces span { display: inline-flex; align-items: flex-end; animation: gentleFloat 3s ease-in-out infinite; }
.footer-logo-pieces span svg { height: 19px; width: auto; display: block; }
.footer-logo-pieces span:nth-child(5) svg { position: relative; bottom: 1px; }
.footer-logo-pieces span:nth-child(1) { animation-delay: 0s; }
.footer-logo-pieces span:nth-child(2) { animation-delay: .2s; }
.footer-logo-pieces span:nth-child(3) { animation-delay: .4s; }
.footer-logo-pieces span:nth-child(4) { animation-delay: .6s; }
.footer-logo-pieces span:nth-child(5) { animation-delay: .8s; }
.footer-logo-pieces span:nth-child(6) { animation-delay: 1s; }
.footer-tagline { font-size: 14px; color: oklch(99% 0 0 / .4); margin-top: 6px; }
.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; align-items: center; }
.footer-links a { font-size: 13px; color: oklch(99% 0 0 / .5); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ukraine-support { display: flex; align-items: center; gap: 8px; font-size: 13px; color: oklch(99% 0 0 / .6); }
.footer-copy { font-size: 12px; color: oklch(99% 0 0 / .3); }

/* ── QUOTE SECTION ── */
#quote { background: var(--white); text-align: left; }
.quote-box { max-width: 800px; margin: 0 auto; padding-left: 40px; border-left: 4px solid var(--gray-300); }
.quote-box blockquote { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 3.2vw, 38px); font-weight: 400; font-style: italic; line-height: 1.45; color: var(--ink); margin-bottom: 20px; }
.quote-author { font-size: 14px; color: var(--mid); letter-spacing: .5px; }

/* ── WHO SECTION ── */
#who { background: var(--white); text-align: center; }
.who-inner h2 { margin-bottom: 12px; margin-left: auto; margin-right: auto; }
.who-intro { font-size: 18px; color: var(--mid); margin-bottom: 48px; margin-left: auto; margin-right: auto; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.who-card { background: var(--white); border-radius: 16px; padding: 36px 28px; text-align: center; border: 1px solid var(--gray-200); }
.who-icon { width: 36px; height: 43px; margin: 0 auto 20px; }
.who-icon svg { width: 100%; height: 100%; }
.who-card:nth-child(1) .who-icon { color: #E8806A; }
.who-card:nth-child(2) .who-icon { color: #6AAFD4; }
.who-card:nth-child(3) .who-icon { color: #6EC4A8; }
.who-card h3 { font-size: 24px; margin-bottom: 12px; }
.who-card p { font-size: 15px; color: var(--mid); line-height: 1.65; }

/* ── DETAILS SECTION ── */
#details { background: var(--white); text-align: center; }
.details-inner h2 { margin-bottom: 12px; margin-left: auto; margin-right: auto; }
.details-intro { font-size: 18px; color: var(--mid); margin-bottom: 48px; max-width: 720px; margin-left: auto; margin-right: auto; }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.detail-card { background: var(--white); border-radius: 16px; padding: 32px 28px; text-align: center; border: 1px solid var(--gray-200); }
.detail-card h4 { margin-bottom: 12px; }
.detail-card p { font-size: 15px; color: var(--mid); line-height: 1.65; }

/* ── STRUCTURE SECTION ── */
#structure { background: var(--white); text-align: center; }
.structure-header { margin-bottom: 48px; }
.structure-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 4.5vw, 60px); font-weight: 700; margin-bottom: 16px; line-height: 1.1; letter-spacing: -1.5px; }
.structure-intro { font-size: 17px; color: var(--mid); max-width: 700px; margin: 0 auto; }
.structure-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.structure-card { background: var(--white); border-radius: 16px; padding: 36px 32px; text-align: center; border: 1px solid var(--gray-200); cursor: pointer; }
.module-category-large { font-size: 13px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.structure-card h3 { font-size: 26px; margin-bottom: 12px; }
.structure-card p { font-size: 15px; color: var(--mid); line-height: 1.65; margin-bottom: 20px; }
.expand-btn { width: 48px; height: 48px; background: transparent; border: none; padding: 0; font-size: 28px; font-weight: 300; cursor: pointer; margin: 0 auto; display: block; transform: rotate(0deg); }
.structure-card.open .expand-btn { animation: rotateOpen 0.3s ease forwards; }
.structure-card:not(.open) .expand-btn { animation: rotateClose 0.3s ease forwards; }
.structure-card:nth-child(1) .expand-btn { color: #E8806A; }
.structure-card:nth-child(2) .expand-btn { color: #6AAFD4; }
.structure-card:nth-child(3) .expand-btn { color: #6EC4A8; }
.structure-card:nth-child(4) .expand-btn { color: #D4813A; }
.structure-tags-collapsible { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1); margin-top: 0; }
.structure-card.open .structure-tags-collapsible { max-height: 400px; margin-top: 24px; }
.structure-tags-collapsible ul { list-style: none; padding: 24px 20px; border-radius: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; background: var(--white); }
.structure-tags-collapsible li { font-size: 14px; color: var(--ink); font-weight: 500; text-align: center; padding: 12px 16px; background: var(--white); border-radius: 8px; border: 1px solid var(--gray-200); transition: transform 0.2s, box-shadow 0.2s; }
.structure-tags-collapsible li:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

/* ── LESSON SECTION ── */
#lesson { background: var(--white); text-align: center; }
.lesson-header { margin-bottom: 56px; }
.lesson-header h2 { margin-bottom: 16px; }
.lesson-intro { font-size: 17px; color: var(--mid); line-height: 1.75; max-width: 720px; margin: 0 auto; }
.lesson-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 960px; margin: 0 auto; }
.lesson-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lesson-step-icon { width: 40px; height: 48px; margin-bottom: 20px; }
.lesson-step-icon svg { width: 40px; height: 48px; }
.lesson-step:nth-child(1) .lesson-step-icon { color: #E8806A; }
.lesson-step:nth-child(2) .lesson-step-icon { color: #6AAFD4; }
.lesson-step:nth-child(3) .lesson-step-icon { color: #6EC4A8; }
.lesson-step:nth-child(4) .lesson-step-icon { color: #D4813A; }
.lesson-step-content h4 { font-size: 22px; margin-bottom: 10px; }
.lesson-step-content p { font-size: 15px; color: var(--mid); line-height: 1.7; }

/* ── FORMAT SECTION ── */
#format { background: var(--white); text-align: center; }
.format-header { margin-bottom: 56px; }
.format-header h2 { margin-bottom: 16px; }
.format-intro { font-size: 17px; color: var(--mid); line-height: 1.75; max-width: 720px; margin: 0 auto; }
.format-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.format-card { background: var(--white); border-radius: 16px; padding: 36px 32px; text-align: center; border: 1px solid var(--gray-200); }
.format-card-icon { width: 48px; height: 58px; margin: 0 auto 20px; }
.format-card-icon svg { width: 100%; height: 100%; }
.format-card:nth-child(1) .format-card-icon { color: #E8806A; }
.format-card:nth-child(2) .format-card-icon { color: #6AAFD4; }
.format-card:nth-child(3) .format-card-icon { color: #6EC4A8; }
.format-card:nth-child(4) .format-card-icon { color: #D4813A; }
.format-card h3 { font-size: 22px; margin-bottom: 12px; }
.format-card p { font-size: 15px; color: var(--mid); line-height: 1.7; }

/* ── CERTIFICATE SECTION ── */
#certificate { background: var(--white); text-align: center; }
.cert-content { max-width: 720px; margin: 0 auto; }
.cert-content h2 { margin-bottom: 16px; }
.cert-content p { font-size: 18px; color: var(--mid); line-height: 1.7; margin-bottom: 48px; }
.cert-visual { background: var(--white); border-radius: 16px; padding: 48px 40px; max-width: 560px; margin: 0 auto; box-shadow: 0 8px 32px oklch(0% 0 0 / .08); border: 1px solid var(--gray-200); }
.cert-icon { width: 64px; height: 77px; margin: 0 auto 24px; }
.cert-icon svg { width: 100%; height: 100%; }
.cert-title { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.cert-subtitle { font-size: 14px; color: var(--light); margin-bottom: 32px; }
.cert-name { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 600; font-style: italic; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.cert-footer { font-size: 13px; color: var(--mid); }

/* ── REVEAL ANIMATIONS ── */
.js-loaded .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js-loaded .reveal.visible { opacity: 1; transform: none; }
.reveal-d { transition-delay: .12s; }

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .section-pad { padding: 40px 24px; }
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 96px 24px 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-icon { width: 80px; height: 96px; margin: 0 auto; }
  .stats-inner { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .results-grid-layout { grid-template-columns: 1fr; gap: 40px; }
  .results-cards { grid-template-columns: 1fr; }
  .inside-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.wide { grid-column: span 2; flex-direction: column; }
  .quotes-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { display: none; }
  .course-row { grid-template-columns: 40px 1fr; }
  .course-arrow { display: none; }
  .video-row { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .who-grid { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .structure-grid { grid-template-columns: 1fr; }
  .lesson-steps { grid-template-columns: 1fr; }
  .format-cards { grid-template-columns: 1fr; }
  footer { padding: 40px 24px; }
  .footer-top { flex-direction: column; }
}