:root {
  --black: #090a09;
  --black-soft: #111210;
  --black-card: #171816;
  --white: #f7f7f3;
  --paper: #efefed;
  --paper-soft: #e7e7e4;
  --ink: #141512;
  --muted: #989a96;
  --muted-light: #c7c9c5;
  --line-dark: rgba(255,255,255,.16);
  --line-light: rgba(15,17,15,.12);
  --glass: rgba(255,255,255,.1);
  --glass-strong: rgba(255,255,255,.16);
  --shadow: 0 24px 70px rgba(0,0,0,.22);
  --radius: 18px;
  --radius-sm: 12px;
  --shell: min(1230px, calc(100% - 48px));
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--black); font-family: "Outfit", ui-sans-serif, system-ui, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, a { font: inherit; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; transform: translateY(-160%); padding: 10px 16px; border-radius: 999px; color: var(--black); background: var(--white); transition: transform .2s; }
.skip-link:focus { transform: none; }
.dark-section { color: var(--white); background: var(--black); }
.light-section { color: var(--ink); background: var(--paper); }
.section { padding: clamp(100px, 11vw, 170px) 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { margin-bottom: .45em; font-weight: 500; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 6.7vw, 6.8rem); }
h2 { font-size: clamp(2.65rem, 5.2vw, 5.2rem); }
h3 { font-size: clamp(1.45rem, 2vw, 2rem); }
p { margin-bottom: 1.15em; }
em { color: inherit; font: inherit; }
.kicker, .eyebrow { margin-bottom: 24px; color: #777a76; font-size: .69rem; font-weight: 600; letter-spacing: .04em; }
.kicker.light { color: #a6a9a5; }
.section-heading { margin-bottom: clamp(56px, 8vw, 96px); }
.section-heading.centered { max-width: 980px; margin-inline: auto; text-align: left; }
.section-heading.split-heading { display: grid; grid-template-columns: .28fr .72fr; gap: 40px; align-items: start; }
.section-heading.split-heading > div { max-width: 880px; }
.section-heading p:not(.kicker) { max-width: 650px; color: var(--muted); font-size: 1.06rem; }

/* Header and global controls */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 90px; color: var(--white); transition: background .35s, height .35s, backdrop-filter .35s; }
.site-header.scrolled { height: 76px; background: rgba(7,8,7,.78); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(20px); }
.header-inner { position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.wordmark { width: 164px; display: block; }
.site-logo { width: 100%; height: auto; }
.audience-switch { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(20,21,20,.54); backdrop-filter: blur(18px); box-shadow: 0 12px 36px rgba(0,0,0,.12); }
.audience-switch span, .audience-switch strong { padding: 10px 18px; border-radius: 999px; font-size: .76rem; font-weight: 500; white-space: nowrap; }
.audience-switch span { color: #a8aaa7; }
.audience-switch strong { color: #10110f; background: #f7f7f4; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.header-join { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 17px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #f4f4f0; background: rgba(255,255,255,.08); text-decoration: none; font-size: .78rem; backdrop-filter: blur(15px); transition: background .25s, transform .25s; }
.header-join:hover { transform: translateY(-1px); background: rgba(255,255,255,.15); }
.menu-toggle { width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff; background: rgba(255,255,255,.07); cursor: pointer; backdrop-filter: blur(15px); }
.menu-toggle i { width: 14px; height: 1px; background: currentColor; transition: transform .25s; }
.menu-toggle[aria-expanded="true"] i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-child { transform: translateY(-3px) rotate(-45deg); }
.main-nav { position: absolute; top: calc(100% + 6px); right: 0; width: min(310px, calc(100vw - 32px)); display: grid; padding: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(14,15,14,.9); box-shadow: var(--shadow); backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s, transform .22s, visibility .22s; }
.main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.main-nav a { display: flex; justify-content: space-between; padding: 13px 14px; border-radius: 10px; color: #e9eae7; text-decoration: none; font-size: .88rem; }
.main-nav a::after { content: "↗"; color: #7d807b; }
.main-nav a:hover { background: rgba(255,255,255,.08); }

/* Buttons */
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 14px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 560; line-height: 1.2; text-decoration: none; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #10110f; background: #f5f5f1; box-shadow: 0 14px 36px rgba(0,0,0,.14); }
.button-primary:hover { background: #fff; box-shadow: 0 18px 42px rgba(0,0,0,.2); }
.button-light { color: #111210; background: #fff; }
.button-glass { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.1); box-shadow: 0 15px 40px rgba(0,0,0,.2); backdrop-filter: blur(18px); }
.button-glass:hover { background: rgba(255,255,255,.18); }
.button-wide { min-width: 260px; }
.inline-cta, .text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 5px; border-bottom: 1px solid currentColor; text-decoration: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; overflow: hidden; isolation: isolate; background: #0d0e0d; }
.hero-photo { position: absolute; inset: 0; z-index: -3; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; filter: saturate(.75) contrast(1.04); transform: scale(1.005); }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(2,4,3,.36), rgba(2,4,3,.04) 55%), linear-gradient(180deg, rgba(3,4,3,.22) 0%, rgba(3,4,3,.04) 38%, rgba(3,4,3,.86) 100%); }
.hero-grid { min-height: 100svh; display: flex; align-items: flex-end; padding-top: 140px; padding-bottom: 104px; }
.hero-copy { width: min(760px, 70%); color: #fff; }
.hero-copy .eyebrow { color: rgba(255,255,255,.65); }
.hero-copy h1 { margin-bottom: 22px; font-weight: 400; }
.hero-lead { max-width: 610px; margin-bottom: 28px; color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-footer { position: absolute; right: 0; bottom: 26px; left: 0; display: flex; gap: 7px; color: rgba(255,255,255,.68); font-size: .68rem; }
.hero-footer span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(0,0,0,.18); backdrop-filter: blur(10px); }
.hero-glow, .hero-visual, .hero-note, .hero-photo-tag { display: none; }

/* Manifesto transition */
.brand-transition { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; border-top: 1px solid rgba(255,255,255,.06); background: #080908; }
.brand-transition-inner { display: grid; grid-template-columns: .24fr .76fr; gap: 60px; align-items: start; }
.brand-transition-copy { display: contents; }
.brand-transition-copy .kicker { grid-column: 1; padding-top: 12px; }
.brand-transition-copy > p:last-child { grid-column: 2; max-width: 860px; margin: 0; color: #696b68; font-size: clamp(2.2rem, 4.6vw, 4.8rem); font-weight: 400; line-height: 1.08; letter-spacing: -.045em; }
.brand-transition-copy > p:last-child em { color: #f3f3ef; }
.hero-brand-motion { position: absolute; right: -4%; bottom: -18%; width: 48%; opacity: .12; }
.hero-brand-motion::before, .hero-brand-motion::after, .brand-head-mark { display: none; }
.hero-brand-motion svg { width: 100%; color: #fff; }
.hero-brand-motion path, .hero-brand-motion circle, .hero-brand-motion ellipse { fill: none; stroke: currentColor; stroke-width: 1; }

/* Teachers / community rail */
.community { color: #fff; background: #090a09; }
.community .section-heading h2 { max-width: 720px; color: #f5f5f1; }
.community .section-heading h2 em { color: #777975; }
.teacher-roster { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; align-items: start; }
.teacher-card { min-width: 0; }
.teacher-card:nth-child(2), .teacher-card:nth-child(7) { padding-top: 58px; }
.teacher-photo { position: relative; aspect-ratio: 1 / 1.05; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: #20221f; }
.teacher-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(4,5,4,.35)); }
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform .55s var(--ease), filter .4s; }
.teacher-card:hover .teacher-photo img { transform: scale(1.035); filter: saturate(1); }
.teacher-card h3 { margin: 11px 2px 0; color: #f0f1ed; font-size: .88rem; font-weight: 500; letter-spacing: -.02em; }
.teacher-kind { margin: 2px; color: #828480; font-size: .67rem; }
.teacher-logo-card .teacher-photo { padding: 25%; background: #f5f4f1; }
.teacher-logo-card .teacher-photo img { object-fit: contain; }
.organization-badge { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 4px 7px; border-radius: 999px; color: #111; background: #fff; font-size: .52rem; text-transform: uppercase; }
.teacher-more { aspect-ratio: 1 / 1.05; display: flex; justify-content: flex-end; flex-direction: column; padding: 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: linear-gradient(145deg,#282b27,#151614); }
.teacher-more strong { font-size: clamp(2.8rem,5vw,5rem); font-weight: 400; letter-spacing: -.06em; }
.teacher-more span { color: #a9aba7; font-size: .85rem; }
.section-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 68px; padding: 26px 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.05); }
.section-cta h3 { margin-bottom: 4px; color: #f3f4f0; font-size: 1.25rem; }
.section-cta p { margin: 0; color: #949692; }

/* Challenge and flowing topics */
.challenge { padding-bottom: 0; background: #090a09; }
.challenge-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px,9vw,120px); align-items: start; }
.challenge-intro h2 { color: #666864; font-size: clamp(2.8rem,5vw,5.3rem); }
.challenge-intro h2 em { color: #f1f2ee; }
.challenge-intro > p:last-child { max-width: 570px; color: #9a9c98; }
.challenge-accordion { border-top: 1px solid var(--line-dark); }
.challenge-accordion details { border-bottom: 1px solid var(--line-dark); }
.challenge-accordion summary { position: relative; display: grid; grid-template-columns: 42px 1fr 24px; gap: 12px; align-items: start; padding: 25px 0; color: #eee; cursor: pointer; list-style: none; }
.challenge-accordion summary::-webkit-details-marker { display: none; }
.challenge-accordion summary span { color: #747672; font-size: .68rem; }
.challenge-accordion summary strong { font-size: 1.02rem; font-weight: 500; }
.challenge-accordion summary i, .accordion summary i { position: relative; width: 18px; height: 18px; }
.challenge-accordion summary i::before, .challenge-accordion summary i::after, .accordion summary i::before, .accordion summary i::after { content: ""; position: absolute; top: 8px; left: 2px; width: 14px; height: 1px; background: currentColor; transition: transform .2s; }
.challenge-accordion summary i::after, .accordion summary i::after { transform: rotate(90deg); }
.challenge-accordion details[open] summary i::after, .accordion details[open] summary i::after { transform: rotate(0); }
.challenge-answer { padding: 0 34px 22px 54px; color: #979995; }
.topic-marquee { position: relative; margin-top: 100px; overflow: hidden; border-top: 1px solid rgba(255,255,255,.09); border-bottom: 1px solid rgba(255,255,255,.09); }
.topic-marquee::before, .topic-marquee::after { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; width: 11vw; pointer-events: none; }
.topic-marquee::before { left: 0; background: linear-gradient(90deg,#090a09,transparent); }
.topic-marquee::after { right: 0; background: linear-gradient(-90deg,#090a09,transparent); }
.topic-marquee-flow { width: max-content; display: flex; }
.topic-track { display: flex; align-items: center; gap: 28px; padding: 23px 14px; animation: topics 48s linear infinite; }
.topic-track span { color: #c8cac6; font-size: .84rem; white-space: nowrap; }
.topic-track i { width: 4px; height: 4px; border-radius: 50%; background: #696b67; }
@keyframes topics { to { transform: translateX(-100%); } }

/* Immersive benefits */
.differences { color: #fff; background: #090a09; }
.differences .section-heading h2 { color: #6e706c; }
.differences .section-heading h2 em { color: #f2f3ef; }
.difference-row { position: relative; min-height: 610px; display: grid; grid-template: 1fr / 1fr; align-items: end; overflow: hidden; margin-bottom: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; isolation: isolate; background: #171916; }
.difference-index { position: absolute; top: 24px; left: 26px; z-index: 4; padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #ddd; background: rgba(0,0,0,.25); font-size: .65rem; backdrop-filter: blur(10px); }
.difference-copy { grid-area: 1 / 1; z-index: 3; width: min(650px, 62%); padding: clamp(28px,5vw,68px); }
.difference-copy h3 { color: #fff; font-size: clamp(2rem,3.4vw,3.8rem); }
.difference-copy p { color: rgba(255,255,255,.72); }
.editorial-visual { grid-area: 1 / 1; position: absolute; inset: 0; z-index: -1; height: 100%; margin: 0; overflow: hidden; }
.editorial-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,5,4,.9), rgba(4,5,4,.18) 72%), linear-gradient(180deg, transparent 40%, rgba(3,4,3,.45)); }
.editorial-visual > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68) contrast(1.04); }
.editorial-visual figcaption { position: absolute; right: 22px; bottom: 18px; z-index: 2; color: rgba(255,255,255,.66); font-size: .65rem; }
.development-note { display: inline-flex; padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .72rem; }
.channel-pills { position: absolute; top: 22px; right: 22px; z-index: 3; display: flex; gap: 6px; }
.channel-pills span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #eee; background: rgba(0,0,0,.22); font-size: .62rem; backdrop-filter: blur(10px); }
.knowledge-network { position: absolute; right: 24px; bottom: 24px; z-index: 3; width: min(48%, 560px); padding: 16px; border: 1px solid rgba(255,255,255,.17); border-radius: 14px; color: #fff; background: rgba(10,12,10,.52); backdrop-filter: blur(18px); }
.knowledge-network svg { width: 100%; height: auto; }
.knowledge-network path, .knowledge-network circle { fill: none; stroke: rgba(255,255,255,.52); stroke-width: 1.2; }
.knowledge-network text { fill: #fff; font-family: "Outfit",sans-serif; font-size: 13px; }
.knowledge-network .teacher-head, .knowledge-network .teacher-body { fill: none; }
.network-label { display: inline-block; margin-bottom: 6px; color: #caccc8; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.network-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 0; padding: 0; list-style: none; color: #b0b2ae; font-size: .58rem; }
.knowledge-network > p { margin: 8px 0 0; color: #eee; font-size: .72rem; }

/* Video banner */
.video-section { color: var(--ink); background: var(--paper); }
.video-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: center; }
.video-copy h2 { color: #6e706d; }
.video-copy h2 em { color: #111310; }
.video-copy > p:not(.kicker) { color: #666864; }
.video-note { padding-left: 14px; border-left: 1px solid #aaa; font-size: .74rem; }
.video-section .button-primary { border: 1px solid #d2d2cf; }
.video-frame { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 16px; background: #111; box-shadow: 0 22px 55px rgba(0,0,0,.15); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-cover { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; padding: 0; border: 0; color: #fff; background: #111; cursor: pointer; text-align: left; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68); }
.video-cover-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(5,6,5,.8),rgba(5,6,5,.08)); }
.video-brand-mark { position: absolute; top: 24px; right: 24px; width: 62px; aspect-ratio: 1; opacity: .2; background: #fff; -webkit-mask: url("assets/brand/eim-favicon.png") center/contain no-repeat; mask: url("assets/brand/eim-favicon.png") center/contain no-repeat; }
.video-cover-copy { position: absolute; bottom: 26px; left: 28px; z-index: 2; }
.video-cover-copy small { display: block; margin-bottom: 10px; color: rgba(255,255,255,.62); }
.video-cover-copy strong { font-size: clamp(1.4rem,2.5vw,2.6rem); font-weight: 500; line-height: 1.08; }
.video-play { position: absolute; right: 30px; bottom: 30px; z-index: 3; width: 68px; height: 68px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(255,255,255,.2); backdrop-filter: blur(14px); transition: transform .25s, background .25s; }
.video-play i { width: 0; height: 0; margin-left: 4px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid #fff; }
.video-cover:hover .video-play { transform: scale(1.06); background: rgba(255,255,255,.32); }

/* Content formats */
.opportunities { color: #fff; background: #090a09; }
.opportunities .section-heading h2 { color: #6c6e6a; }
.opportunities .section-heading h2 em { color: #f3f4f0; }
.feature-editorial-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.feature-editorial-card { position: relative; min-height: 570px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: #171916; }
.feature-editorial-card figure { position: absolute; inset: 0; margin: 0; }
.feature-editorial-card figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 35%,rgba(4,5,4,.9)); }
.feature-editorial-card figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: transform .65s var(--ease), filter .4s; }
.feature-editorial-card:hover figure img { transform: scale(1.025); filter: saturate(.92); }
.feature-editorial-wide { grid-column: 1 / -1; min-height: 520px; }
.feature-editorial-wide figure::after { background: linear-gradient(90deg,rgba(4,5,4,.88),rgba(4,5,4,.08) 78%); }
.feature-card-copy { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; padding: clamp(26px,4vw,46px); }
.feature-editorial-wide .feature-card-copy { width: min(640px,65%); }
.feature-card-copy > span { color: #a9aba7; font-size: .68rem; }
.feature-card-copy h3 { margin: 12px 0; color: #fff; font-size: clamp(1.9rem,3vw,3rem); }
.feature-card-copy p { max-width: 500px; margin: 0; color: rgba(255,255,255,.7); }
.feature-card-copy small { display: inline-flex; margin-top: 16px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #d4d5d1; }
.supporting-features { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.supporting-feature-card { min-height: 230px; padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.045); }
.feature-mini-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 48px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.feature-mini-icon svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.3; }
.supporting-feature-card strong { display: block; margin-bottom: 8px; font-size: 1.1rem; }
.supporting-feature-card p { margin: 0; color: #929490; font-size: .86rem; }
.opportunities-cta { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 0 0; }
.opportunities-cta p { max-width: 600px; margin: 0; color: #929490; }

/* Income */
.income { position: relative; background: #ededeb; }
.income-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.income-intro { position: sticky; top: 120px; align-self: start; }
.income-intro h2 { color: #6f716d; }
.income-intro h2 em { color: #151613; }
.income-intro > p:not(.kicker) { color: #5f615d; }
.income-statement { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-light); }
.income-statement span, .income-statement strong { display: block; }
.income-statement span { color: #7c7e7a; font-size: .72rem; }
.income-statement strong { margin-top: 5px; font-size: 1.16rem; font-weight: 500; }
.income-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.income-list > div { min-height: 245px; display: flex; flex-direction: column; padding: 24px; border: 1px solid rgba(20,21,18,.08); border-radius: 12px; background: rgba(255,255,255,.46); }
.income-list span { color: #888a86; font-size: .69rem; }
.income-list h3 { margin-top: auto; font-size: 1.4rem; }
.income-list p { margin: 0; color: #676965; font-size: .86rem; }
.income-cta { margin-top: 50px; display: flex; justify-content: flex-end; }
.income .button-primary { border: 1px solid #d0d0cd; }

/* Join steps over photographic surface */
.steps { position: relative; overflow: hidden; padding: clamp(90px,10vw,150px) 0; color: #fff; background: #111; }
.steps::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(7,8,7,.82),rgba(7,8,7,.28)), url("assets/images/teacher-community.jpg") center/cover; filter: saturate(.7); }
.steps-panel { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: clamp(34px,5vw,70px); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(18,19,17,.44); backdrop-filter: blur(15px); }
.steps-intro h2 { color: #858783; }
.steps-intro h2 em { color: #fff; }
.steps-intro > p { max-width: 580px; color: rgba(255,255,255,.72); }
.steps-action-row { position: relative; display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.community-seal { width: 74px; flex: none; margin: 0; }
.community-seal img { width: 100%; border-radius: 50%; filter: grayscale(1) brightness(1.65); opacity: .75; }
.steps-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.steps-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.steps-list li > span { color: rgba(255,255,255,.48); font-size: .69rem; }
.steps-list h3 { margin-bottom: 6px; font-size: 1.35rem; }
.steps-list p { margin: 0; color: rgba(255,255,255,.65); }

/* Team */
.people { color: #fff; background: #090a09; }
.people-heading { display: grid; grid-template-columns: .26fr .54fr .3fr; gap: 34px; align-items: end; margin-bottom: 70px; }
.people-heading h2 { margin: 0; color: #6f716d; }
.people-heading h2 em { color: #f1f2ee; }
.people-heading > p:last-child { margin: 0; color: #8e908c; }
.team-grid { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.team-connection { display: none; }
.team-card:nth-of-type(2), .team-card:nth-of-type(4) { padding-top: 54px; }
.team-photo { aspect-ratio: 1/1.12; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: #1d1f1c; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.22) saturate(.78); transition: transform .5s var(--ease), filter .35s; }
.team-card:hover img { transform: scale(1.025); filter: none; }
.team-card h3 { margin: 11px 2px 0; font-size: .9rem; font-weight: 500; }
.section-cta-dark { background: rgba(255,255,255,.045); }

/* FAQ */
.faq { background: #efefed; }
.faq-layout { display: grid; grid-template-columns: .66fr 1.34fr; gap: 90px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro h2 { color: #747672; }
.faq-intro h2 em { color: #121310; }
.faq-intro > p:last-child { color: #666864; }
.accordion { display: grid; gap: 8px; }
.accordion details { overflow: hidden; border: 1px solid rgba(20,21,18,.08); border-radius: 10px; background: rgba(255,255,255,.68); box-shadow: 0 12px 28px rgba(0,0,0,.035); }
.accordion summary { display: grid; grid-template-columns: 36px 1fr 24px; gap: 12px; align-items: center; padding: 20px; cursor: pointer; list-style: none; font-weight: 520; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: #8a8c88; font-size: .66rem; }
.accordion .answer { padding: 0 60px 20px 68px; color: #666864; }
.accordion .answer p { margin: 0; }

/* Closing and footer */
.closing { padding: clamp(100px,11vw,170px) 0 0; color: var(--ink); background: #efefed; }
.closing-panel { display: grid; grid-template-columns: 1fr; overflow: hidden; border-radius: 16px 16px 0 0; background: transparent; }
.closing-text { max-width: 840px; margin: 0 auto clamp(60px,8vw,100px); padding: 0 24px; text-align: center; }
.closing-text .kicker { color: #7c7e7a; }
.closing-text h2 { color: #777975; }
.closing-text h2 em { color: #121310; }
.closing-text > p:not(.kicker) { max-width: 680px; margin-right: auto; margin-left: auto; color: #656763; }
.closing-text .button-light { border: 1px solid #d1d1ce; background: #fff; box-shadow: 0 16px 34px rgba(0,0,0,.08); }
.closing-art { position: relative; min-height: 430px; overflow: hidden; border-radius: 16px 16px 0 0; }
.closing-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(4,5,4,.56),transparent 64%); }
.closing-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: saturate(.7); }
.closing-art p { position: absolute; left: 34px; bottom: 28px; z-index: 2; margin: 0; color: #fff; font-size: clamp(1.4rem,2.6vw,2.8rem); line-height: 1.05; }
.site-footer { position: relative; min-height: 390px; overflow: hidden; padding: 70px 0 34px; color: #fff; background: linear-gradient(180deg,#727c68 0%,#414b3e 58%,#1d251f 100%); }
.site-footer::before, .site-footer::after { content: ""; position: absolute; left: -12%; width: 125%; height: 48%; border-radius: 50% 50% 0 0; transform: rotate(-3deg); }
.site-footer::before { bottom: -15%; background: #303b30; }
.site-footer::after { bottom: -27%; background: #1c241e; transform: rotate(4deg); }
.footer-top, .footer-bottom { position: relative; z-index: 2; }
.footer-top { display: flex; align-items: center; justify-content: space-between; }
.footer-top > p { color: rgba(255,255,255,.7); }
.footer-bottom { position: absolute; right: 0; bottom: 30px; left: 0; display: flex; justify-content: space-between; color: rgba(255,255,255,.66); font-size: .73rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 18px; }

/* Motion and utilities */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: none; }
.mobile-cta { position: fixed; right: 14px; bottom: 14px; left: 14px; z-index: 90; min-height: 52px; display: none; align-items: center; justify-content: center; gap: 12px; border-radius: 999px; color: #111; background: #fff; box-shadow: 0 18px 46px rgba(0,0,0,.28); text-decoration: none; font-weight: 600; transform: translateY(90px); transition: transform .28s; }
.mobile-cta.is-visible { transform: none; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff; background: rgba(9,10,9,.72); backdrop-filter: blur(12px); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.capture-static .site-header { position: absolute; }
.capture-static .mobile-cta, .capture-static .back-to-top { display: none !important; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 40px, 860px); }
  .section-heading.split-heading, .brand-transition-inner, .challenge-grid, .video-layout, .income-layout, .faq-layout, .steps-panel { grid-template-columns: 1fr; }
  .brand-transition-copy .kicker, .brand-transition-copy > p:last-child { grid-column: 1; }
  .brand-transition-copy .kicker { margin-bottom: 0; }
  .teacher-roster { grid-template-columns: repeat(3,1fr); }
  .people-heading { grid-template-columns: 1fr; }
  .people-heading > * { max-width: 760px; }
  .faq-intro, .income-intro { position: static; }
  .knowledge-network { width: min(58%,520px); }
}

@media (max-width: 700px) {
  :root { --shell: calc(100% - 32px); --radius: 14px; }
  .section { padding: 92px 0; }
  h1 { font-size: clamp(3rem,14vw,4.4rem); }
  h2 { font-size: clamp(2.35rem,11vw,3.5rem); }
  .site-header, .site-header.scrolled { height: 72px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .wordmark { width: 126px; }
  .audience-switch { position: absolute; top: 82px; left: 50%; transform: translateX(-50%); }
  .audience-switch span, .audience-switch strong { padding: 8px 13px; font-size: .68rem; }
  .header-join { width: 42px; overflow: hidden; justify-content: center; padding: 0; font-size: 0; }
  .header-join span { font-size: 1rem; }
  .main-nav { top: 68px; }
  .hero { min-height: 800px; }
  .hero-photo img { object-position: 48% center; }
  .hero-shade { background: linear-gradient(180deg,rgba(3,4,3,.16),rgba(3,4,3,.08) 36%,rgba(3,4,3,.92) 82%); }
  .hero-grid { min-height: 800px; padding-top: 150px; padding-bottom: 108px; }
  .hero-copy { width: 100%; }
  .hero-copy h1 { font-size: clamp(3rem,15vw,4.25rem); }
  .hero-lead { max-width: 92%; font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-footer { right: 16px; left: 16px; width: auto; overflow: hidden; }
  .hero-footer span { flex: none; }
  .brand-transition { min-height: 540px; }
  .brand-transition-inner { gap: 20px; }
  .brand-transition-copy > p:last-child { font-size: clamp(2.1rem,10vw,3.2rem); }
  .hero-brand-motion { width: 80%; right: -26%; bottom: -8%; }
  .section-heading.split-heading { gap: 10px; }
  .teacher-roster { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .teacher-card:nth-child(2), .teacher-card:nth-child(7) { padding-top: 32px; }
  .teacher-more { padding: 14px; }
  .section-cta, .opportunities-cta { align-items: flex-start; flex-direction: column; }
  .section-cta .button, .opportunities-cta .button { width: 100%; }
  .challenge-grid { gap: 48px; }
  .topic-marquee { margin-top: 72px; }
  .difference-row { min-height: 610px; }
  .difference-copy { width: 100%; padding: 26px; }
  .difference-copy h3 { font-size: 2.15rem; }
  .editorial-visual::after { background: linear-gradient(180deg,rgba(4,5,4,.04) 20%,rgba(4,5,4,.92) 72%); }
  .knowledge-network { right: 14px; bottom: auto; top: 54px; width: calc(100% - 28px); opacity: .7; }
  .knowledge-network .network-legend, .knowledge-network > p { display: none; }
  .video-layout { gap: 40px; }
  .video-frame { order: -1; aspect-ratio: 4/5; }
  .video-cover-copy { right: 24px; }
  .video-play { width: 58px; height: 58px; }
  .feature-editorial-grid { grid-template-columns: 1fr; }
  .feature-editorial-wide, .supporting-features, .opportunities-cta { grid-column: 1; }
  .feature-editorial-card, .feature-editorial-wide { min-height: 520px; }
  .feature-editorial-wide .feature-card-copy { width: 100%; }
  .feature-editorial-wide figure::after { background: linear-gradient(180deg,transparent 35%,rgba(4,5,4,.92)); }
  .supporting-features { grid-template-columns: 1fr; }
  .supporting-feature-card { min-height: 190px; }
  .feature-mini-icon { margin-bottom: 30px; }
  .income-list { grid-template-columns: 1fr; }
  .income-list > div { min-height: 210px; }
  .steps { padding: 0; }
  .steps-panel { width: 100%; padding: 86px 24px; border: 0; border-radius: 0; }
  .steps-action-row { align-items: flex-start; flex-direction: column; }
  .steps-action-row .button { width: 100%; }
  .community-seal { width: 62px; }
  .team-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .team-card:nth-of-type(2), .team-card:nth-of-type(4) { padding-top: 30px; }
  .faq-layout { gap: 44px; }
  .accordion summary { grid-template-columns: 28px 1fr 20px; padding: 17px 15px; }
  .accordion .answer { padding: 0 42px 18px 55px; font-size: .9rem; }
  .closing { padding-top: 94px; }
  .closing-text { padding: 0; }
  .closing-art { min-height: 500px; margin-inline: -16px; border-radius: 0; }
  .closing-art img { object-position: 67% center; }
  .site-footer { min-height: 340px; padding-top: 50px; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-bottom { right: 16px; bottom: 24px; left: 16px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .mobile-cta { display: flex; }
  .back-to-top { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
