/*
 * EduDrift Core — the homepage (design board "Homepage v2 — credibility,
 * prestige, aspiration", 26 Nov 2026). Builds on listing.css (cards, numbers,
 * logo rows, quotes, buttons) and the same design system.
 * Breakpoints: tablet ≤1024px, phone ≤640px.
 */

.edp-lp.edc-home { padding-bottom: 24px; }
.edc-homepage { width: 100%; max-width: none; margin: 0; padding: 0; }
.edc-home .edc-s { margin-top: 160px; }
.edc-home .edc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.edc-home .edc-head--split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.edc-home .edc-head--split > div { grid-column: 1 / 8; }
.edc-home .edc-head__note { grid-column: 8 / 13; font-size: 17px; line-height: 1.7; }
.edc-home .edc-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.edc-home .edc-btns--center { justify-content: center; }
.edc-home .edc-ph { display: block; width: 100%; height: 100%; background: var(--edp-ph); }
.edc-home img { max-width: 100%; }

/* Glass button (on photographs) */
.edp-lp .edp-btn--glass:not(#edp) { background: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--edp-ink); border: 1px solid rgba(255, 255, 255, 0.7); }
.edp-lp .edp-btn--glass:not(#edp):hover { background: #fff; color: var(--edp-blue-dark); }

/* ---------- 1 · Hero ---------- */
.edc-home .edc-hero { padding: 14px 14px 0; }
.edc-home .edc-hero__frame { position: relative; min-height: 880px; border-radius: 36px; overflow: hidden; display: flex; align-items: flex-end; background: var(--edp-ph); }
.edc-home .edc-hero__media { position: absolute; inset: 0; }
.edc-home .edc-hero__media picture { display: block; width: 100%; height: 100%; }
.edc-home .edc-hero__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.edc-home .edc-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 30, 70, 0) 30%, rgba(0, 30, 70, 0.6) 100%); }
.edc-home .edc-hero__inner { position: relative; width: 100%; padding: 140px 72px 72px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.edc-home .edc-hero__text { max-width: 980px; color: #fff; }
.edc-home h1.edc-hero__title { font-size: clamp(56px, 7.5vw, 108px); line-height: 0.92; color: #fff; margin-top: 20px; letter-spacing: -0.02em; }
.edc-home h1.edc-hero__title em { color: #fff; }
.edc-home .edc-hero__proof { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 32px; font-size: 17px; line-height: 1.5; color: #fff; }
.edc-home .edc-hero__proof li { display: flex; align-items: center; gap: 18px; }
.edc-home .edc-hero__proof li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: 0.7; flex: none; }
.edc-home .edc-hero__card { flex: none; width: 340px; border-radius: 28px; padding: 14px; display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--edp-text); }
.edc-home .edc-hero__card-img { flex: none; width: 84px !important; height: 104px !important; border-radius: 18px; object-fit: cover; }
.edc-home .edc-hero__card-text { display: flex; flex-direction: column; min-width: 0; }
.edc-home .edc-hero__card .edp-ey { font-size: 11px; color: var(--edp-blue-dark); }
.edc-home .edc-hero__card-name { font-family: var(--edp-display); font-size: 26px; line-height: 1.05; color: var(--edp-ink); margin-top: 6px; }
.edc-home .edc-hero__card-title { font-size: 14px; margin-top: 4px; }

/* ---------- 2 · The Next Stage Awaits ---------- */
.edc-home .edc-feat { margin-top: 120px; }
.edc-home .edc-feat__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.edp-lp .s3 { grid-column: span 3; }
.edc-home .edc-feat__grid .edp-card--hero { min-height: 600px; }
.edc-home .edc-feat__grid--3 .edp-card--stack .edp-card__title { font-size: 26px; }

/* ---------- 3 · Built for those who take the floor ---------- */
.edc-home .edc-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.edc-home .edc-intro__text { grid-column: 1 / 7; }
.edc-home .edc-intro__p { font-size: 18px; line-height: 1.7; margin-top: 24px; max-width: 560px; }
.edc-home .edc-principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--edp-line); }
.edc-home .edc-principle h3 { font-size: 28px; line-height: 1.05; }
.edc-home .edc-principle p { font-size: 15px; line-height: 1.65; margin-top: 10px; }
.edc-home .edc-intro__media { grid-column: 8 / 13; position: relative; }
.edc-home .edc-intro__media.has-panel { padding-bottom: 60px; }
.edc-home .edc-intro__img { display: block; width: 100%; height: 600px; object-fit: cover; border-radius: 36px; }
.edc-home .edc-intro__media .edc-ph { height: 600px; border-radius: 36px; }
.edc-home .edc-parents { position: absolute; left: -56px; bottom: 0; width: 340px; border-radius: 28px; padding: 26px 26px 24px; box-shadow: 0 24px 50px rgba(0, 83, 163, 0.14); }
.edc-home .edc-parents .edp-ey { font-size: 11px; color: var(--edp-blue-dark); }
.edc-home .edc-parents ul { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--edp-ink); }
.edc-home .edc-parents li { display: flex; gap: 10px; }
.edc-home .edc-parents svg { flex: none; margin-top: 2px; color: var(--edp-blue); }
.edc-home .edc-proofrow { margin-top: 56px; }
.edc-home .edc-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.edc-home .edc-nums--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.edc-home .edc-nums--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.edc-home .edc-nums--1 { grid-template-columns: minmax(0, 320px); }
.edc-home .edc-partners { margin-top: 40px; display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.edc-home .edc-partners__label { color: var(--edp-text); }
.edc-home .edc-partners__list { display: flex; gap: 12px; flex-wrap: wrap; }
.edc-home .edc-partner { min-height: 72px; border-radius: 20px; background: var(--edp-soft); padding: 0 28px; display: flex; align-items: center; gap: 14px; text-decoration: none; }
.edc-home a.edc-partner:hover { background: var(--edp-haze); }
.edc-home .edc-partner__logo img { display: block; height: 36px; width: auto; max-width: 120px; object-fit: contain; }
.edc-home .edc-partner__name { font-family: var(--edp-display); font-size: 22px; color: var(--edp-ink); }

/* ---------- 4 · The judging panel ---------- */
.edc-home .edc-panel__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.edc-home .edc-panel__lead { grid-column: span 5; position: relative; min-height: 680px; border-radius: 36px; overflow: hidden; background: var(--edp-ph); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.edc-home .edc-panel__grid.is-single .edc-panel__lead { grid-column: 1 / 8; }
.edc-home .edc-panel__lead-img, .edc-home .edc-panel__lead > .edc-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.edc-home .edc-panel__lead figcaption { position: relative; border-radius: 26px; padding: 24px 26px; display: flex; flex-direction: column; }
.edc-home .edc-panel__lead .edp-ey { font-size: 11px; color: var(--edp-blue-dark); }
.edc-home .edc-panel__lead-name { font-family: var(--edp-display); font-size: 40px; line-height: 1; color: var(--edp-ink); margin-top: 10px; }
.edc-home .edc-panel__country { font-size: 14px; margin-top: 6px; }
.edc-home .edc-panel__tiles { grid-column: span 7; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; align-content: start; }
.edc-home .edc-panel__img, .edc-home .edc-panel__tiles .edc-ph { display: block; width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: 24px; }
.edc-home .edc-panel__tiles figcaption { margin-top: 12px; display: flex; flex-direction: column; }
.edc-home .edc-panel__name { font-family: var(--edp-display); font-size: 22px; line-height: 1.1; color: var(--edp-ink); }
.edc-home .edc-panel__tiles .edc-panel__country { font-size: 13px; margin-top: 2px; }
.edc-home .edc-panel__title { font-size: 11px; letter-spacing: 0.14em; color: var(--edp-blue-dark); margin-top: 8px; }

/* ---------- 5 · The Champions' Circle ---------- */
.edc-home .edc-champs { margin: 160px 14px 0; }
.edc-home .edc-champs__box { border-radius: 36px; background: linear-gradient(180deg, var(--edp-haze) 0%, #fff 100%); padding: 96px 0 88px; }
.edc-home .edc-champs__intro { font-size: 17px; line-height: 1.7; margin-top: 18px; max-width: 520px; }
.edc-home .edc-champs__grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.edc-home .edc-champ { position: relative; min-height: 500px; border-radius: 32px; overflow: hidden; background: var(--edp-ph); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.edc-home .edc-champ[hidden] { display: none; }
.edc-home .edc-champ__img, .edc-home .edc-champ > .edc-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.edc-home .edc-champ__panel { position: relative; border-radius: 24px; padding: 20px 22px; }
.edc-home .edc-champ__panel .edp-ey { font-size: 11px; letter-spacing: 0.14em; color: var(--edp-blue-dark); }
.edc-home h3.edc-champ__name { font-size: 26px; line-height: 1.05; margin-top: 8px; }
.edc-home .edc-champ__school { font-size: 14px; margin-top: 4px; }
.edc-home .edc-champs__close { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.edc-home .edc-champs__line { font-family: var(--edp-display); font-size: clamp(36px, 4.4vw, 56px); line-height: 1; color: var(--edp-ink); }
.edc-home .edc-champs__sub { font-size: 17px; line-height: 1.6; margin-bottom: 8px; }

/* ---------- 6 · Where they go next ---------- */
.edc-home .edc-outcomes__grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.edc-home .edc-out { border-radius: 28px; background: var(--edp-soft); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.edc-home .edc-out__who { display: flex; align-items: center; gap: 14px; }
.edc-home .edc-out__img, .edc-home .edc-out__who .edc-ph { flex: none; width: 64px !important; height: 64px !important; border-radius: 50%; object-fit: cover; }
.edc-home .edc-out__name { font-family: var(--edp-display); font-size: 22px; line-height: 1.1; color: var(--edp-ink); }
.edc-home .edc-out__then { font-size: 13px; margin-top: 2px; }
.edc-home .edc-out__now { border-top: 1px solid var(--edp-line); padding-top: 14px; }
.edc-home .edc-out__now .edp-ey { font-size: 10px; letter-spacing: 0.16em; color: var(--edp-blue-dark); }
.edc-home .edc-out__now-text { font-size: 16px; font-weight: 500; color: var(--edp-ink); margin-top: 6px; line-height: 1.4; }

/* ---------- 7 · School logos ---------- */
.edc-home .edc-schools .edp-h2 { max-width: 760px; }
.edc-home .edc-schools .edp-logorows { margin-top: 24px; }

/* ---------- 8 · Quotes ---------- */
.edc-home .edp-quotes { margin-top: 160px; }

/* ---------- 9 · FAQ ---------- */
.edc-home .edc-faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.edc-home .edc-faq__head { grid-column: 1 / 5; }
.edc-home .edc-faq__contact { font-size: 16px; line-height: 1.7; margin-top: 20px; }
.edc-home .edc-faq__list { grid-column: 6 / 13; border-top: 1px solid var(--edp-line); }
.edc-home .edc-faq__item { border-bottom: 1px solid var(--edp-line); }
.edc-home .edc-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; min-height: 64px; font-size: 18px; font-weight: 500; color: var(--edp-ink); }
.edc-home .edc-faq__item summary::-webkit-details-marker { display: none; }
.edc-home .edc-faq__item summary:focus-visible { outline: 2px solid var(--edp-blue); outline-offset: 2px; }
.edc-home .edc-faq__sign { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--edp-haze); }
.edc-home .edc-faq__sign::before, .edc-home .edc-faq__sign::after { content: ""; position: absolute; left: 11px; right: 11px; top: 17px; height: 2px; background: var(--edp-blue-dark); }
.edc-home .edc-faq__sign::after { transform: rotate(90deg); }
.edc-home .edc-faq__item[open] .edc-faq__sign::after { display: none; }
.edc-home .edc-faq__a { padding: 0 4px 24px; max-width: 620px; }
.edc-home .edc-faq__a p { font-size: 16px; line-height: 1.7; }
.edc-home .edc-faq__a p + p { margin-top: 12px; }

/* ---------- 10 · Closing ---------- */
.edc-home .edc-closing { margin: 160px 14px 0; }
.edc-home .edc-closing__frame { position: relative; min-height: 560px; border-radius: 36px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--edp-ph); }
.edc-home .edc-closing__media { position: absolute; inset: 0; }
.edc-home .edc-closing__img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.edc-home .edc-closing__shade { position: absolute; inset: 0; background: rgba(0, 30, 70, 0.42); }
.edc-home .edc-closing__text { position: relative; text-align: center; padding: 80px 24px; color: #fff; }
.edc-home h2.edc-closing__title { font-size: clamp(54px, 7vw, 104px); line-height: 0.95; color: #fff; margin-top: 18px; }
.edc-home h2.edc-closing__title em { color: #fff; }
.edc-home .edc-closing__p { font-size: 18px; line-height: 1.6; margin: 22px auto 0; max-width: 520px; }

/* ---------- Campaign band, Story ---------- */
.edc-home .edc-campaign__box { border-radius: 36px; background: var(--edp-haze); padding: 48px 52px; display: grid; gap: 40px; align-items: center; }
.edc-home .edc-campaign__box.has-photo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 16px 52px 16px 16px; }
.edc-home .edc-campaign__img, .edc-home .edc-campaign__media .edc-ph { display: block; width: 100%; height: 360px; object-fit: cover; border-radius: 28px; }
.edc-home .edc-campaign__p { font-size: 17px; line-height: 1.7; margin-top: 16px; max-width: 620px; }
.edc-home .edc-campaign .edc-btns { margin-top: 24px; }
.edc-home .edc-story.edp-page { padding: 0; background: transparent; overflow: visible; }
.edc-home .edc-story .edp-s { margin-top: 160px; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.edc-home .edc-s, .edc-home .edp-quotes, .edc-home .edc-champs, .edc-home .edc-closing { margin-top: 120px; }
	.edc-home .edc-head--split, .edc-home .edc-intro, .edc-home .edc-faq { grid-template-columns: 1fr; row-gap: 32px; }
	.edc-home .edc-head--split > *, .edc-home .edc-intro > *, .edc-home .edc-faq > * { grid-column: 1 / -1 !important; }
	.edc-home .edc-hero__frame { min-height: 780px; }
	.edc-home .edc-hero__inner { flex-direction: column; align-items: flex-start; padding: 150px 40px 48px; gap: 32px; }
	.edc-home .edc-hero__card { width: auto; max-width: 420px; }
	.edc-home .edc-hero__proof { flex-direction: column; align-items: flex-start; gap: 6px; }
	.edc-home .edc-hero__proof li + li::before { display: none; }
	.edc-home .edc-feat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.edc-home .edc-feat__grid > :first-child { grid-column: 1 / -1; }
	.edp-lp .s3 { grid-column: span 1; }
	.edc-home .edc-feat__grid .edp-card--hero { min-height: 520px; }
	.edc-home .edc-intro__img, .edc-home .edc-intro__media .edc-ph { height: 520px; }
	.edc-home .edc-parents { left: 24px; }
	.edc-home .edc-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.edc-home .edc-panel__lead, .edc-home .edc-panel__tiles, .edc-home .edc-panel__grid.is-single .edc-panel__lead { grid-column: 1 / -1; }
	.edc-home .edc-panel__lead { min-height: 560px; }
	.edc-home .edc-champs__grid, .edc-home .edc-outcomes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.edc-home .edc-campaign__box.has-photo { grid-template-columns: 1fr; padding: 16px 16px 40px; }
	.edc-home .edc-campaign__box.has-photo .edc-campaign__text { padding: 0 24px; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
	.edc-home .edc-s, .edc-home .edp-quotes, .edc-home .edc-champs, .edc-home .edc-closing { margin-top: 96px; }
	.edc-home .edc-hero { padding: 12px 12px 0; }
	.edc-home .edc-hero__frame { min-height: 720px; border-radius: 28px; }
	.edc-home .edc-hero__inner { padding: 120px 22px 24px; }
	.edc-home .edc-hero__proof { flex-direction: column; align-items: flex-start; gap: 6px; }
	.edc-home .edc-hero__proof li + li::before { display: none; }
	.edc-home .edc-feat { margin-top: 72px; }
	.edc-home .edc-feat__grid { grid-template-columns: 1fr; }
	.edc-home .edc-feat__grid > * { grid-column: auto !important; }
	.edc-home .edc-feat__grid .edp-card--hero { min-height: 480px; }
	.edc-home .edc-principles { grid-template-columns: 1fr; }
	.edc-home .edc-intro__media.has-panel { padding-bottom: 0; }
	.edc-home .edc-intro__img, .edc-home .edc-intro__media .edc-ph { height: 400px; border-radius: 28px; }
	.edc-home .edc-parents { position: relative; left: auto; bottom: auto; width: auto; margin: -70px 12px 0; }
	.edc-home .edc-partners { flex-direction: column; align-items: flex-start; }
	.edc-home .edc-panel__lead { min-height: 460px; border-radius: 28px; }
	.edc-home .edc-panel__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
	.edc-home .edc-champs__box { padding: 64px 0 56px; border-radius: 28px; }
	.edc-home .edc-champs__grid, .edc-home .edc-outcomes__grid { grid-template-columns: 1fr; }
	.edc-home .edc-champ { min-height: 400px; }
	.edc-home .edc-closing__frame { border-radius: 28px; min-height: 480px; }
	.edc-home .edc-campaign__box { padding: 32px 24px; border-radius: 28px; }
	.edc-home .edc-campaign__box.has-photo .edc-campaign__text { padding: 0 8px; }
	.edc-home .edc-campaign__img, .edc-home .edc-campaign__media .edc-ph { height: 260px; }
}
