: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; }
}

/* ================================================================
   V15 — konkrét kép-, tartalom- és arányhibák javítása
   ================================================================ */

/* Hero: széles, tanítói helyzetet mutató kép, biztonságos fejtér. */
.hero-photo img {
  object-position: center 48%;
  filter: saturate(.83) contrast(1.02) brightness(.9);
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(2,3,2,.66) 0%, rgba(2,3,2,.28) 43%, rgba(2,3,2,.05) 73%),
    linear-gradient(180deg, rgba(2,3,2,.1) 0%, rgba(2,3,2,.02) 42%, rgba(2,3,2,.76) 100%);
}
.hero-copy .eyebrow {
  margin-bottom: 20px;
  color: rgba(255,255,255,.82);
  font-size: .79rem;
  font-weight: 500;
  letter-spacing: .025em;
}

/* Rövid, tiszta átvezetés dekoratív fejprofil nélkül. */
.brand-transition { min-height: 390px; }
.brand-transition-inner { grid-template-columns: .22fr .78fr; align-items: center; }
.brand-transition-copy .kicker { padding-top: 0; }
.brand-transition-copy > p:last-child { max-width: 900px; font-size: clamp(2.65rem, 4.75vw, 5rem); }
.hero-brand-motion { display: none !important; }

/* Világos tanítói fejezet és minden elemnél azonos portrérendszer. */
.community {
  color: var(--ink);
  background: var(--paper);
  border-radius: 24px 24px 0 0;
}
.community .kicker { color: #6f716d; }
.community .section-heading h2 { color: #777975; }
.community .section-heading h2 em { color: #131411; }
.community .section-heading p:not(.kicker) { color: #62645f; }
.teacher-roster {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 24px 12px;
}
.teacher-card,
.teacher-card:nth-child(1),
.teacher-card:nth-child(4),
.teacher-card:nth-child(6),
.teacher-card:nth-child(9) { grid-column: span 1; padding-top: 0; }
.teacher-photo,
.teacher-card:nth-child(1) .teacher-photo,
.teacher-card:nth-child(6) .teacher-photo,
.teacher-card:nth-child(9) .teacher-photo {
  aspect-ratio: 4 / 5;
  border-color: rgba(20,21,18,.1);
  border-radius: 12px;
  background: #dddeda;
}
.teacher-photo::after { background: linear-gradient(180deg, transparent 72%, rgba(6,7,6,.18)); }
.teacher-photo img { object-position: 50% 28%; filter: saturate(.86); }
.teacher-card:nth-child(1) .teacher-photo img { object-position: 50% 24%; }
.teacher-card:nth-child(2) .teacher-photo img { object-position: 50% 24%; }
.teacher-card:nth-child(4) .teacher-photo img { object-position: 50% 38%; }
.teacher-card:nth-child(5) .teacher-photo img { object-position: 50% 22%; }
.teacher-card:nth-child(6) .teacher-photo img { object-position: 50% 20%; }
.teacher-card:nth-child(7) .teacher-photo img { object-position: 50% 18%; }
.teacher-card:nth-child(8) .teacher-photo img { object-position: 50% 20%; }
.teacher-card:nth-child(9) .teacher-photo img { object-position: 56% 22%; }
.teacher-card h3 { color: #181916; font-size: .86rem; }
.teacher-kind { color: #777975; }
.teacher-logo-card .teacher-photo { padding: 22%; background: #fff; }
.teacher-more {
  grid-column: span 1;
  min-height: 0;
  aspect-ratio: 4 / 5;
  justify-content: center;
  color: #f5f5f1;
  border: 1px solid #242522;
  background: #151613;
}
.teacher-more strong { font-size: clamp(2.75rem, 4vw, 4rem); }
.community .section-cta {
  border-color: rgba(20,21,18,.11);
  background: rgba(255,255,255,.58);
}
.community .section-cta h3 { color: #171815; }
.community .section-cta p { color: #686a66; }

/* Mindhárom problémakártya mindig teljes tartalommal látható. */
.challenge-cards { align-items: stretch; }
.challenge-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: #111210;
}
.challenge-card > span { color: #838581; font-size: .7rem; }
.challenge-card h3 {
  max-width: 24ch;
  margin: 42px 0 18px;
  color: #f2f3ef;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.12;
}
.challenge-card p { margin: auto 0 0; color: #a3a5a1; font-size: .91rem; line-height: 1.55; }

/* Látható, neutrális témasáv megszakítás nélküli mozgással. */
.topic-marquee {
  color: #181916;
  border-color: rgba(20,21,18,.12);
  background: #dedfdb;
}
.topic-marquee::before { background: linear-gradient(90deg,#dedfdb,transparent); }
.topic-marquee::after { background: linear-gradient(-90deg,#dedfdb,transparent); }
.topic-track span { color: #353733; font-weight: 500; }
.topic-track i { width: 5px; height: 5px; background: #898b86; }

/* Előnyök: természetes címtördelés, releváns képek, hálózati grafika nélkül. */
.differences .section-heading.centered { grid-template-columns: minmax(150px,.22fr) minmax(0,.78fr); align-items: start; }
.differences .section-heading.centered h2 { max-width: 1020px; font-size: clamp(3rem, 5.2vw, 5.3rem); }
.differences .section-heading .kicker { color: #a5a7a2; font-size: .76rem; }
.knowledge-network { display: none !important; }
.difference-row:nth-of-type(2) .difference-copy { padding-top: 210px; }
.difference-row:nth-of-type(2) .editorial-visual::after {
  background: linear-gradient(180deg, rgba(4,5,4,.06) 0%, rgba(4,5,4,.9) 68%);
}
.difference-row:nth-of-type(1) .editorial-visual > img { object-position: 50% 44%; }
.difference-row:nth-of-type(2) .editorial-visual > img { object-position: 52% 48%; }
.difference-row:nth-of-type(3) .editorial-visual > img { object-position: center 46%; }

/* A thumbnail közösséget mutat, nem állít valódi szereplőt az ideiglenes videóról. */
.video-cover img { object-position: center 52%; filter: saturate(.78) brightness(.86); }
.video-cover-shade { background: linear-gradient(90deg, rgba(5,6,5,.72), rgba(5,6,5,.05) 72%); }
.video-cover-copy strong { max-width: 450px; display: block; }

/* Funkciók: egyértelműbb képkivágások és olvashatóbb alsó kártyák. */
.feature-editorial-card:nth-child(1) figure img { object-position: 48% center; }
.feature-editorial-card:nth-child(2) figure img { object-position: 50% center; }
.feature-editorial-card:nth-child(3) figure img { object-position: 50% center; }
.supporting-feature-card { min-height: 220px; }
.supporting-feature-card strong { font-size: 1.18rem; }
.supporting-feature-card p { max-width: 32ch; color: #a5a7a2; font-size: .93rem; line-height: 1.5; }

/* Egységes négyelemű csapatrács, személyenként beállított fókuszponttal. */
.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 12px;
}
.team-card:nth-of-type(1),
.team-card:nth-of-type(2),
.team-card:nth-of-type(3),
.team-card:nth-of-type(4) { grid-column: auto; grid-row: auto; padding-top: 0; }
.team-photo,
.team-card:nth-of-type(1) .team-photo {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
}
.team-photo img { object-position: 50% 24%; }
.team-card:nth-of-type(1) .team-photo img { object-position: 50% 22%; }
.team-card:nth-of-type(2) .team-photo img { object-position: 50% 28%; }
.team-card:nth-of-type(3) .team-photo img { object-position: 50% 30%; }
.team-card:nth-of-type(4) .team-photo img { object-position: 50% 22%; }

/* Minimalista, normál dokumentumfolyamban maradó lezárás. */
.closing-art { min-height: 230px; max-height: 260px; border-radius: 12px 12px 0 0; }
.closing-art img { object-position: center 56%; }
.site-footer {
  min-height: 220px;
  padding: 48px 0 30px;
  color: #f2f3ef;
  background: #151613;
}
.site-footer::before,
.site-footer::after { display: none; }
.footer-top > p { color: #a6a8a3; }
.footer-bottom { bottom: 28px; }

@media (max-width: 1100px) {
  .teacher-roster { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .teacher-roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .teacher-more { grid-column: span 1; }
  .differences .section-heading.centered { grid-template-columns: 1fr; }
  .difference-row:nth-of-type(2) .difference-copy { padding-top: 190px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .hero-photo img { object-position: 53% center; }
  .hero-copy .eyebrow { font-size: .72rem; }
  .brand-transition { min-height: 360px; }
  .brand-transition-inner { display: block; }
  .brand-transition-copy .kicker { margin-bottom: 34px; }

  .community { border-radius: 18px 18px 0 0; }
  .teacher-roster {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    gap: 22px 10px;
    padding-right: 0;
  }
  .teacher-card,
  .teacher-card:nth-child(1),
  .teacher-card:nth-child(4),
  .teacher-card:nth-child(6),
  .teacher-card:nth-child(9),
  .teacher-more { min-width: 0; width: auto; flex: none; grid-column: span 1; }
  .teacher-more { min-height: 0; aspect-ratio: 4 / 5; }
  .teacher-card h3 { font-size: .77rem; }

  .challenge-card { min-height: 0; padding: 22px; }
  .challenge-card h3 { margin-top: 30px; }

  .differences .section-heading.centered h2 { font-size: clamp(2.7rem, 12vw, 3.55rem); }
  .difference-row:nth-of-type(2) .difference-copy { padding-top: 225px; }

  .video-cover img { object-position: center; }
  .supporting-feature-card { min-height: 0; }

  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .team-photo { aspect-ratio: 4 / 5; }

  .closing-art { min-height: 190px; max-height: 210px; margin-inline: 0; }
  .site-footer { min-height: 210px; padding-top: 42px; }
}

@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; }
}

/* ================================================================
   V14 — célzott Figma-hangolás
   ================================================================ */

:root {
  --black: #080907;
  --black-soft: #10110f;
  --paper: #f1f1ee;
  --paper-soft: #e8e8e4;
  --shell: min(1280px, calc(100% - 64px));
  --radius: 16px;
}

.section { padding: clamp(88px, 8vw, 128px) 0; }
.section-heading { margin-bottom: clamp(46px, 6vw, 76px); }
.section-heading.split-heading { grid-template-columns: minmax(150px, .24fr) minmax(0, .76fr); gap: clamp(32px, 6vw, 84px); }
.section-heading p:not(.kicker) { max-width: 720px; }
h2 { font-size: clamp(2.7rem, 4.8vw, 4.9rem); }

/* A hero a jóváhagyott tanítói kompozíció ritmusát követi. */
.site-header { height: 80px; }
.site-header.scrolled { height: 70px; }
.header-inner { width: min(1340px, calc(100% - 52px)); }
.wordmark { width: 154px; }
.audience-switch span,
.audience-switch strong { padding: 9px 17px; }

.hero { min-height: min(100svh, 920px); }
.hero-photo img {
  object-position: center 34%;
  filter: saturate(.82) contrast(1.02) brightness(.93);
  transform: none;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(2,3,2,.44) 0%, rgba(2,3,2,.16) 42%, rgba(2,3,2,.04) 70%),
    linear-gradient(180deg, rgba(2,3,2,.12) 0%, rgba(2,3,2,.03) 42%, rgba(2,3,2,.83) 100%);
}
.hero-grid {
  min-height: min(100svh, 920px);
  align-items: end;
  padding-top: 130px;
  padding-bottom: clamp(108px, 11vh, 132px);
}
.hero-copy { width: min(700px, 64%); }
.hero-copy h1 { max-width: 680px; font-size: clamp(3.65rem, 6.15vw, 6.25rem); line-height: .96; }
.hero-lead { max-width: 560px; font-size: clamp(1rem, 1.25vw, 1.17rem); }
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero .button-glass { border-color: rgba(255,255,255,.46); background: rgba(12,13,12,.34); }
.hero-footer { bottom: 22px; }

/* Tipografikus, nyugodt márkaátvezetés. */
.brand-transition { min-height: 500px; }
.brand-transition-inner { grid-template-columns: .22fr .78fr; gap: 50px; }
.brand-transition-copy > p:last-child {
  max-width: 940px;
  color: #676965;
  font-size: clamp(2.75rem, 5vw, 5.35rem);
  line-height: 1.01;
}
.hero-brand-motion {
  right: clamp(28px, 5vw, 80px);
  bottom: 52px;
  width: 78px;
  height: 78px;
  opacity: .34;
}
.hero-brand-motion svg { display: none; }
.hero-brand-motion .brand-head-mark {
  display: block;
  width: 100%;
  height: 100%;
  background: #d9dad6;
  -webkit-mask: url("assets/brand/eim-favicon.png") center/contain no-repeat;
  mask: url("assets/brand/eim-favicon.png") center/contain no-repeat;
}

/* Tanítói portrék: szerkesztett mozaik, nem szabályos kétsoros rács. */
.community { padding-top: 112px; }
.community .section-heading { margin-bottom: 54px; }
.teacher-roster {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
  align-items: stretch;
}
.teacher-card { grid-column: span 2; }
.teacher-card:nth-child(1),
.teacher-card:nth-child(6) { grid-column: span 3; }
.teacher-card:nth-child(2),
.teacher-card:nth-child(7) { padding-top: 0; }
.teacher-card:nth-child(4),
.teacher-card:nth-child(9) { grid-column: span 3; }
.teacher-photo { aspect-ratio: 1 / 1.08; border-radius: 12px; }
.teacher-card:nth-child(1) .teacher-photo,
.teacher-card:nth-child(6) .teacher-photo,
.teacher-card:nth-child(9) .teacher-photo { aspect-ratio: 1.35 / 1; }
.teacher-card h3 { max-width: 18ch; font-size: .82rem; line-height: 1.2; }
.teacher-more {
  grid-column: span 3;
  aspect-ratio: auto;
  min-height: 180px;
  border-radius: 12px;
  background: linear-gradient(135deg, #242622, #121311);
}
.teacher-more strong { font-size: clamp(3rem, 5vw, 4.8rem); }
.community .section-cta { margin-top: 50px; }

/* Problémafelvetés: szélesebb tipográfia, tiszta hárompontos rendszer. */
.challenge { padding-top: clamp(100px, 9vw, 140px); }
.challenge-grid { grid-template-columns: 1fr; gap: 64px; }
.challenge-intro {
  display: grid;
  grid-template-columns: .24fr minmax(0, .76fr);
  gap: clamp(32px, 6vw, 84px);
}
.challenge-intro .kicker { grid-column: 1; }
.challenge-intro h2,
.challenge-intro > p:last-child { grid-column: 2; }
.challenge-intro h2 { max-width: 960px; margin-top: -42px; font-size: clamp(3rem, 5.4vw, 5.55rem); line-height: 1; }
.challenge-intro > p:last-child { max-width: 700px; margin: 8px 0 0; font-size: 1.03rem; }
.challenge-accordion {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 0;
}
.challenge-accordion details {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}
.challenge-accordion summary { grid-template-columns: 32px 1fr 20px; padding: 0; }
.challenge-accordion summary strong { font-size: 1.14rem; line-height: 1.18; }
.challenge-answer { padding: 22px 0 0 32px; font-size: .87rem; }
.topic-marquee { margin-top: 76px; }

/* Előnyök: két hangsúlyos kártya + egy széles lezáró modul. */
.differences .section-heading.centered { max-width: none; display: grid; grid-template-columns: .24fr .76fr; gap: clamp(32px, 6vw, 84px); }
.differences .section-heading.centered .kicker { grid-column: 1; }
.differences .section-heading.centered h2 { grid-column: 2; max-width: 920px; }
.differences .shell { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.differences .section-heading { grid-column: 1 / -1; }
.difference-row { min-height: 570px; margin: 0; border-radius: 16px; }
.difference-row:nth-of-type(1) { grid-column: 1 / span 7; }
.difference-row:nth-of-type(2) { grid-column: 8 / -1; }
.difference-row:nth-of-type(3) { grid-column: 1 / -1; min-height: 470px; }
.difference-copy { width: min(620px, 78%); padding: clamp(28px, 4vw, 52px); }
.difference-row:nth-of-type(2) .difference-copy { width: 100%; padding-bottom: 34px; }
.difference-row:nth-of-type(2) .difference-copy h3 { font-size: clamp(2rem, 3vw, 3.1rem); }
.difference-row:nth-of-type(3) .difference-copy { width: min(610px, 54%); }
.difference-copy h3 { font-size: clamp(2.25rem, 3.45vw, 3.75rem); }
.difference-row:nth-of-type(2) .editorial-visual::after {
  background: linear-gradient(180deg, rgba(4,5,4,.05) 8%, rgba(4,5,4,.92) 73%);
}
.knowledge-network {
  top: 66px;
  right: 20px;
  bottom: auto;
  width: calc(100% - 40px);
  max-height: 235px;
  overflow: hidden;
  opacity: .78;
}
.knowledge-network .network-legend,
.knowledge-network > p { display: none; }

/* A bemutatkozó videó a szekció fókuszpontja. */
.video-layout {
  grid-template-columns: minmax(350px, .82fr) minmax(0, 1.58fr);
  gap: clamp(46px, 6vw, 84px);
  align-items: center;
}
.video-copy h2 { font-size: clamp(2.8rem, 4.3vw, 4.5rem); }
.video-copy > p:not(.kicker) { max-width: 560px; }
.video-frame { border-radius: 14px; box-shadow: 0 28px 70px rgba(0,0,0,.18); }
.video-cover-copy { bottom: 34px; left: 36px; }
.video-play { width: 78px; height: 78px; right: 34px; bottom: 34px; background: rgba(255,255,255,.25); }

/* Tartalomformák: három azonos logikájú, filmszerű kártya. */
.feature-editorial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feature-editorial-card,
.feature-editorial-wide { grid-column: auto; min-height: 520px; }
.feature-editorial-wide .feature-card-copy { width: auto; }
.feature-editorial-wide figure::after,
.feature-editorial-card figure::after { background: linear-gradient(180deg, transparent 28%, rgba(4,5,4,.92) 88%); }
.feature-card-copy { padding: clamp(24px, 3vw, 36px); }
.feature-card-copy h3 { font-size: clamp(1.8rem, 2.4vw, 2.55rem); }
.supporting-features { gap: 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.supporting-feature-card {
  min-height: 190px;
  padding: 26px 28px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.14);
  border-radius: 0;
  background: transparent;
}
.supporting-feature-card:last-child { border-right: 0; }
.feature-mini-icon { margin-bottom: 30px; }
.opportunities-cta { padding-top: 26px; }

/* Bevételi értékajánlat: tartózkodó, üzleti, jól olvasható. */
.income-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.35fr); gap: clamp(60px, 8vw, 108px); }
.income-intro { position: static; }
.income-intro h2 { max-width: 650px; font-size: clamp(3rem, 4.8vw, 4.9rem); }
.income-intro > p:not(.kicker) { max-width: 590px; }
.income-list { display: block; border-top: 1px solid var(--line-light); }
.income-list > div {
  min-height: 0;
  display: grid;
  grid-template-columns: 38px minmax(180px, .78fr) minmax(220px, 1fr);
  gap: 20px;
  align-items: center;
  padding: 25px 4px;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
  background: transparent;
}
.income-list h3 { margin: 0; font-size: 1.22rem; }
.income-list p { margin: 0; }

/* A csatlakozási döntés kompakt, CTA-központú blokk. */
.steps { padding: 80px 0; background: #111; }
.steps::before {
  right: 0;
  left: 48%;
  background: linear-gradient(90deg, #111 0%, rgba(17,17,16,.28) 36%, rgba(17,17,16,.18)), url("assets/images/teacher-community.jpg") center/cover;
  filter: saturate(.72) brightness(.9);
}
.steps-panel {
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(48px, 7vw, 92px);
  padding: clamp(36px, 5vw, 64px);
  border-color: rgba(255,255,255,.2);
  background: rgba(12,13,12,.74);
  backdrop-filter: blur(12px);
}
.steps-intro h2 { font-size: clamp(2.8rem, 4.5vw, 4.7rem); }
.steps-action-row { margin-top: 28px; }
.community-seal { width: 66px; opacity: .68; }
.community-seal img { height: auto; }
.steps-list li { padding: 22px 0; }

/* Saját karakterű, szerkesztett csapatkompozíció. */
.people-heading { grid-template-columns: .22fr .5fr .28fr; margin-bottom: 58px; }
.team-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, 320px); gap: 12px; }
.team-card { position: relative; min-width: 0; }
.team-card:nth-of-type(1) { grid-column: 1 / span 4; grid-row: 1; }
.team-card:nth-of-type(2) { grid-column: 5 / span 4; grid-row: 1; }
.team-card:nth-of-type(3) { grid-column: 9 / -1; grid-row: 1; }
.team-card:nth-of-type(4) { grid-column: 3 / span 8; grid-row: 2; }
.team-card:nth-of-type(2),
.team-card:nth-of-type(4) { padding-top: 0; }
.team-photo { height: 100%; aspect-ratio: auto; border-radius: 12px; }
.team-card:nth-of-type(1) .team-photo { min-height: 0; }
.team-card h3 {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 20px);
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(7,8,7,.5);
  backdrop-filter: blur(12px);
}

/* A Figma világos, keskeny FAQ-rendszeréhez igazított felépítés. */
.faq-layout { display: block; }
.faq-intro { position: static; max-width: 860px; margin: 0 auto 54px; text-align: center; }
.faq-intro h2 { max-width: 840px; margin-right: auto; margin-left: auto; }
.faq-intro > p:last-child { max-width: 620px; margin-right: auto; margin-left: auto; }
.accordion { width: min(900px, 100%); margin-inline: auto; }
.accordion details { margin-bottom: 8px; border: 1px solid rgba(20,21,18,.08); border-radius: 10px; background: rgba(255,255,255,.72); }
.accordion summary { padding: 19px 22px; }
.accordion .answer { padding-right: 58px; padding-left: 66px; }

/* Tiszta CTA, visszafogott kép és egyszerű arculati lezárás. */
.closing { padding: clamp(92px, 9vw, 132px) 0 0; }
.closing-text { max-width: 900px; margin-bottom: clamp(54px, 6vw, 76px); }
.closing-text h2 { font-size: clamp(3rem, 5vw, 5rem); }
.closing-art { min-height: 300px; max-height: 360px; border-radius: 14px 14px 0 0; }
.closing-art::after { background: linear-gradient(90deg, rgba(4,5,4,.5), transparent 52%); }
.closing-art img { object-position: center 61%; }
.closing-art p { font-size: clamp(1.3rem, 2.1vw, 2.2rem); }
.site-footer { min-height: 330px; padding-top: 62px; }

@media (max-width: 1100px) {
  .teacher-card,
  .teacher-card:nth-child(1),
  .teacher-card:nth-child(4),
  .teacher-card:nth-child(6),
  .teacher-card:nth-child(9) { grid-column: span 3; }
  .teacher-more { grid-column: span 3; }
  .differences .shell { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .difference-row:nth-of-type(1),
  .difference-row:nth-of-type(2) { grid-column: auto; }
  .difference-row:nth-of-type(3) { grid-column: 1 / -1; }
  .video-layout { grid-template-columns: minmax(300px, .85fr) minmax(0, 1.35fr); gap: 44px; }
  .feature-editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-editorial-card:nth-child(3) { grid-column: 1 / -1; min-height: 460px; }
  .supporting-features,
  .opportunities-cta { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 40px, 820px); }
  .hero-copy { width: min(680px, 82%); }
  .brand-transition-inner,
  .challenge-intro,
  .differences .section-heading.centered { grid-template-columns: 1fr; }
  .brand-transition-copy .kicker,
  .brand-transition-copy > p:last-child,
  .challenge-intro .kicker,
  .challenge-intro h2,
  .challenge-intro > p:last-child,
  .differences .section-heading.centered .kicker,
  .differences .section-heading.centered h2 { grid-column: 1; }
  .challenge-intro h2 { margin-top: 0; }
  .challenge-accordion { grid-template-columns: 1fr; }
  .challenge-accordion details { min-height: 0; }
  .video-layout { grid-template-columns: 1fr; }
  .video-copy { max-width: 760px; }
  .video-frame { order: -1; }
  .income-layout { grid-template-columns: 1fr; gap: 52px; }
  .steps-panel { grid-template-columns: 1fr; }
  .steps::before { left: 34%; }
  .people-heading { grid-template-columns: 1fr; gap: 12px; }
  .people-heading h2 { max-width: 700px; }
  .people-heading > p:last-child { max-width: 560px; }
}

@media (max-width: 700px) {
  :root { --shell: calc(100% - 32px); }
  .section { padding: 82px 0; }
  .header-inner { width: calc(100% - 32px); }
  .hero { min-height: 780px; }
  .hero-photo img { object-position: 51% 30%; }
  .hero-shade { background: linear-gradient(180deg, rgba(2,3,2,.12), rgba(2,3,2,.08) 36%, rgba(2,3,2,.93) 80%); }
  .hero-grid { min-height: 780px; padding-top: 140px; padding-bottom: 112px; }
  .hero-copy { width: 100%; }
  .hero-copy h1 { font-size: clamp(3.15rem, 15vw, 4.3rem); }
  .hero-copy .eyebrow { margin-bottom: 12px; }
  .hero-lead { max-width: 100%; }
  .hero-footer { gap: 5px; }
  .hero-footer span { padding: 5px 8px; font-size: .6rem; }

  .brand-transition { min-height: 450px; }
  .brand-transition-copy > p:last-child { font-size: clamp(2.55rem, 11.5vw, 3.55rem); }
  .hero-brand-motion { right: 18px; bottom: 28px; width: 54px; height: 54px; }

  .section-heading.split-heading { grid-template-columns: 1fr; gap: 10px; }
  .teacher-roster {
    display: flex;
    width: calc(100% + 16px);
    overflow-x: auto;
    gap: 10px;
    padding-right: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .teacher-roster::-webkit-scrollbar { display: none; }
  .teacher-card { flex: 0 0 44vw; scroll-snap-align: start; }
  .teacher-card:nth-child(1) .teacher-photo,
  .teacher-card:nth-child(6) .teacher-photo,
  .teacher-card:nth-child(9) .teacher-photo,
  .teacher-photo { aspect-ratio: 1 / 1.08; }
  .teacher-more { flex: 0 0 44vw; min-height: auto; aspect-ratio: 1 / 1.08; scroll-snap-align: start; }
  .community .section-cta { margin-top: 38px; }

  .challenge-intro { gap: 8px; }
  .challenge-intro h2 { font-size: clamp(2.65rem, 12.5vw, 3.7rem); }
  .challenge-accordion { gap: 8px; }
  .challenge-accordion details { padding: 20px; }
  .topic-marquee { margin-top: 60px; }

  .differences .section-heading.centered { gap: 8px; }
  .differences .shell { grid-template-columns: 1fr; }
  .difference-row:nth-of-type(1),
  .difference-row:nth-of-type(2),
  .difference-row:nth-of-type(3) { grid-column: 1; min-height: 540px; }
  .difference-row:nth-of-type(3) { min-height: 500px; }
  .difference-copy,
  .difference-row:nth-of-type(2) .difference-copy,
  .difference-row:nth-of-type(3) .difference-copy { width: 100%; padding: 24px; }
  .difference-copy h3,
  .difference-row:nth-of-type(2) .difference-copy h3 { font-size: 2rem; }
  .knowledge-network { top: 56px; right: 12px; width: calc(100% - 24px); max-height: 208px; }

  .video-copy h2 { font-size: clamp(2.55rem, 11.5vw, 3.5rem); }
  .video-frame { aspect-ratio: 4 / 5; }
  .video-cover-copy { right: 20px; bottom: 24px; left: 22px; }
  .video-play { right: 22px; bottom: 22px; width: 60px; height: 60px; }
  .video-cover-copy strong { max-width: 70%; display: block; }

  .feature-editorial-grid { grid-template-columns: 1fr; }
  .feature-editorial-card,
  .feature-editorial-card:nth-child(3) { grid-column: 1; min-height: 500px; }
  .supporting-features { grid-template-columns: 1fr; }
  .supporting-feature-card { min-height: 0; padding: 24px 4px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .supporting-feature-card:last-child { border-bottom: 0; }
  .feature-mini-icon { margin-bottom: 18px; }

  .income-list > div { grid-template-columns: 28px 1fr; gap: 10px 14px; }
  .income-list p { grid-column: 2; }
  .income-cta { justify-content: stretch; }
  .income-cta .button { width: 100%; }

  .steps { padding: 0; }
  .steps::before { inset: 0; background: linear-gradient(180deg, rgba(17,17,16,.36), #111 46%), url("assets/images/teacher-community.jpg") center top/auto 48% no-repeat; }
  .steps-panel { width: 100%; padding: 78px 24px 70px; background: rgba(12,13,12,.54); }

  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .team-card:nth-of-type(1),
  .team-card:nth-of-type(2),
  .team-card:nth-of-type(3),
  .team-card:nth-of-type(4) { grid-column: auto; grid-row: auto; }
  .team-card:nth-of-type(1) .team-photo { min-height: 0; }
  .team-photo { aspect-ratio: 1 / 1.12; height: auto; }
  .team-card h3 { font-size: .74rem; }

  .faq-intro { margin-bottom: 38px; text-align: left; }
  .faq-intro h2 { font-size: clamp(2.55rem, 11.5vw, 3.5rem); }
  .accordion summary { padding: 17px 15px; }
  .accordion .answer { padding: 0 36px 18px 54px; }

  .closing-art { min-height: 260px; max-height: 280px; margin-inline: 0; border-radius: 12px 12px 0 0; }
  .closing-art img { object-position: 61% center; }
  .site-footer { min-height: 300px; }
}
