/* Epitome Education — static site styles */
:root{
  --cream:#fff8e1;
  --mint:#e0f2e0;
  --mint-border:#9db89d;
  --accent:#ffb347;
  --text:#4a4a4a;
  --muted:#757575;
  --gray:#757575;
  --green:#98fb98;
  --sky:#a0d2eb;
  --white:#fff;
  --serif:"Fraunces",Georgia,"Times New Roman",serif;
  --sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans KR",sans-serif;
  --radius:14px;
  --wrap:1180px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--text);font-family:var(--sans);font-size:16px;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.1;margin:0 0 .5em;color:var(--text)}
h5,h6{font-family:var(--sans);margin:0 0 .5em;line-height:1.3}
p{margin:0 0 1em}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-999px;top:0;background:#fff;padding:8px 12px;z-index:100}
.skip:focus{left:8px}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:var(--cream);border-bottom:1px solid rgba(74,74,74,.08)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}
.brand img{height:46px;width:auto}
.nav ul{list-style:none;display:flex;gap:40px;margin:0;padding:0}
.nav a{text-decoration:none;font-size:16px;color:var(--text);padding:6px 0}
.nav a:hover,.nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:5px}

/* Generic */
.section{padding:96px 0}
.bg-cream{background:var(--cream)}
.bg-mint{background:var(--mint)}
.bg-gray{background:var(--gray);color:var(--cream)}
.eyebrow{color:var(--accent);font-weight:600;font-size:18px;letter-spacing:.02em;text-transform:uppercase}
.h2{font-size:clamp(34px,5vw,60px)}
.lead{font-size:clamp(17px,1.6vw,20px);line-height:1.5}
.center{text-align:center}
.rounded{border-radius:var(--radius);overflow:hidden}
.btn{display:inline-block;text-decoration:none;font-size:15px;border-radius:999px;padding:10px 26px;transition:transform .15s ease,box-shadow .15s ease}
.btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.08)}
.btn-outline{background:#fff3d6;border:1px solid var(--accent);color:var(--accent)}
.btn-solid{background:var(--accent);color:#fff;border:1px solid var(--accent)}
.link-small{font-size:14px;color:var(--cream);text-underline-offset:3px}

/* Hero */
.hero{padding:72px 0 64px}
.hero .wrap{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center}
.hero-top{display:flex;align-items:flex-start;gap:24px}
.hero-logo{width:170px;margin-top:-40px}
.hero h1{font-size:clamp(40px,6.4vw,82px);text-transform:uppercase;letter-spacing:.05em;line-height:1.05;margin:20px 0 40px}
.hero .lead{color:var(--muted)}
.tagline{color:var(--accent);font-size:16px}
.hero .btn{margin:28px 0 0 220px}
.hero-img img{border-radius:var(--radius);box-shadow:0 18px 40px rgba(0,0,0,.08);aspect-ratio:4/5;object-fit:cover;width:100%}

/* More than */
.more .grid{display:grid;grid-template-columns:1fr 2fr 1fr;gap:40px;align-items:start}
.more .side img{border-radius:var(--radius);aspect-ratio:4/5;object-fit:cover}
.more .side.right{margin-top:240px}
.more .mid{text-align:center}
.more .mid .logo{width:280px;margin:0 auto 40px}
.more .mid p{font-size:18px;line-height:1.55}

/* Approach */
.approach .head{position:relative;text-align:center;margin-bottom:28px;padding-top:24px;min-height:150px}
.approach .head img{position:absolute;left:0;top:0;width:150px}
.cards-2{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.card{background:var(--mint);border:1px solid var(--mint-border);border-radius:var(--radius);padding:28px 32px}
.card .icon{width:34px;height:34px;border-radius:4px;margin-bottom:16px}
.card h5{font-size:22px;font-weight:700;text-transform:uppercase;margin-bottom:14px}
.card p{font-size:15px;margin:0}

/* Throughout */
.throughout{padding:0 0 0}
.throughout .grid{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}
.throughout .photo img{width:100%;height:100%;object-fit:cover;border-radius:0 var(--radius) var(--radius) 0;min-height:520px}
.throughout .text{padding:96px 56px 96px 96px;max-width:620px}
.throughout .card{margin-top:24px;background:var(--mint)}
.throughout .card h5{text-transform:none;font-size:22px}
.throughout .text>p{font-size:18px}

/* Voice */
.voice{text-align:center}
.voice h2{color:var(--cream)}
.voice .letter{max-width:900px;margin:0 auto;font-size:18px;line-height:1.6}
.voice .sign{margin-top:32px}
.voice .more-link{margin-top:72px}

/* Stepping */
.stepping .box{max-width:960px;margin:0 auto;border:1px solid #cfe8e1;padding:48px 64px;text-align:center}
.stepping h3{font-size:clamp(28px,3.6vw,48px)}
.stepping h3 .dot{color:var(--accent)}
.stepping p{font-size:17px;max-width:700px;margin-left:auto;margin-right:auto}

/* Journey */
.journey{position:relative;background:#555 url(/assets/images/journey-bg.jpg) center/cover no-repeat;color:var(--cream);text-align:center}
.journey::before{content:"";position:absolute;inset:0;background:rgba(117,117,117,.82)}
.journey .wrap{position:relative;max-width:760px}
.journey h2{color:var(--cream)}
.journey p{font-size:18px}
.journey .btn{margin-top:24px}

/* Connect */
.connect .grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.connect .info{text-align:center}
.connect h2{font-size:clamp(32px,4vw,48px)}
.connect .intro{font-size:16px}
.social{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 28px;margin:24px 0 28px;font-size:15px}
.social span,.social a{display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.social a:hover{text-decoration:underline}
.social img{width:18px;height:18px;border-radius:4px}
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px 24px;font-size:15px}
.info-grid h6{font-size:18px;font-weight:600;margin-bottom:8px}
.info-grid p{margin:0}
.info-grid a{text-decoration:none}
.note{font-size:13px;color:var(--muted);margin-top:28px}
.connect .logo-big{background:#fff;padding:16px}

/* US standards */
.standards .grid{display:grid;grid-template-columns:1fr 1.35fr;gap:40px;align-items:center}
.standards img{aspect-ratio:2/1;object-fit:cover;width:100%}

/* Mission */
.mission .grid{display:grid;grid-template-columns:1.2fr 1fr .7fr;gap:40px;align-items:start}
.mission .quote{background:var(--green);padding:56px 48px}
.mission .quote h3{font-size:clamp(26px,3.3vw,44px);line-height:1.2;margin:0}
.mission .photo img{aspect-ratio:4/5;object-fit:cover;width:100%;max-height:460px}
.mission .text{background:var(--mint);padding:56px 36px;font-size:14px}
.mission .text p{margin:0}

/* Blog cards */
.posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px;max-width:900px}
.post-card{display:flex;flex-direction:column;border:1px solid rgba(74,74,74,.18);background:var(--cream);padding:24px;min-height:280px;text-decoration:none;transition:box-shadow .15s ease}
.post-card:hover{box-shadow:0 6px 18px rgba(0,0,0,.07)}
.post-card h2,.post-card h3{font-size:22px;line-height:1.35;margin:10px 0 12px}
.post-card:hover h2,.post-card:hover h3{color:var(--accent)}
.post-card p{font-size:15px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0}
.meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.avatar{width:28px;height:28px;border-radius:50%;background:#c9c9c9;flex:none;display:inline-flex;align-items:center;justify-content:center;overflow:hidden}
.avatar svg{width:22px;height:22px;fill:#f2f2f2;margin-top:6px}
.meta .who{display:flex;flex-direction:column;line-height:1.35}

/* Full day */
.fullday h2{margin-bottom:48px}
.cols-3{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.cols-3 h5{font-size:22px;font-weight:600;margin-bottom:16px}
.cols-3 p{font-size:15px}
.fullday .eyebrow{font-size:16px;margin-bottom:8px}

/* Footer */
.site-footer{border-top:1px solid #cfe8e1;background:var(--cream);padding:72px 0 64px;font-size:15px}
.site-footer .wrap{display:grid;grid-template-columns:1.2fr 1fr auto;gap:32px;align-items:start}
.site-footer p{margin:0 0 6px}
.site-footer .addr{font-size:14px;color:var(--muted)}
.site-footer .copy{font-size:14px;text-align:right}

/* Blog index */
.blog-page{padding:40px 0 96px}
.all-posts{display:inline-block;color:var(--accent);font-size:15px;text-decoration:none;margin:0 0 40px}

/* Post */
.post-page{padding:32px 0 72px}
.post-page .back{font-size:14px;text-decoration:none;color:var(--text)}
.post-page .back:hover{text-decoration:underline}
.article{max-width:940px;margin:24px auto 0;border:1px solid rgba(74,74,74,.12);padding:48px clamp(20px,9vw,96px)}
.article h1{font-size:clamp(30px,4vw,40px);line-height:1.25;margin:20px 0 16px}
.article .meta{font-size:13px}
.article .updated{font-size:13px;color:var(--muted);margin:0 0 16px}
.article .body{font-size:17px;line-height:1.75}
.article .body h2{font-size:clamp(24px,3vw,30px);margin:1.6em 0 .7em}
.article .body h3{font-size:clamp(20px,2.5vw,24px);margin:1.4em 0 .6em}
.article .body ul{padding-left:1.4em}
.article .body li{margin:0 0 1em}
.article figure{margin:32px 0}
.article figcaption{text-align:center;font-size:13px;color:var(--muted);margin-top:12px}
.recent{max-width:940px;margin:48px auto 0}
.recent .head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:16px}
.recent .head h2{font-family:var(--sans);font-size:17px;margin:0}
.recent .head a{font-size:14px;text-decoration:none}
.recent .head a:hover{text-decoration:underline}

/* Contact page */
.contact-hero{padding:64px 0 72px}
.contact-hero .head{position:relative;text-align:center;max-width:860px;margin:0 auto 48px}
.contact-hero .head img{position:absolute;left:-200px;top:-48px;width:170px}
.contact-hero .head p{font-size:18px}
.contact-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:940px;margin:0 auto}
.contact-cards .ccard{background:var(--cream);border:1px solid var(--mint-border);border-radius:var(--radius);padding:20px 22px;font-size:15px}
.contact-cards .ccard h6{font-size:18px;font-weight:600;margin-bottom:12px}
.contact-cards .ccard p{margin:0}
.contact-cards .stack{display:grid;gap:20px;align-content:start}
.contact-cards .social{justify-content:flex-start;flex-direction:column;align-items:flex-start;margin:0;gap:10px}
.after-school{max-width:820px;margin:48px auto 0;background:var(--sky);border:1px solid var(--mint-border);border-radius:var(--radius);padding:24px 28px;text-align:center}
.after-school h6{font-size:18px;font-weight:600;margin-bottom:8px}
.after-school p{margin:0;font-size:15px}
.contact-logo{padding:24px 0}
.contact-logo img{width:420px;margin:0 auto}

/* 404 */
.notfound{padding:120px 0;text-align:center}

/* Responsive */
@media (max-width:980px){
  .section{padding:72px 0}
  .hero .wrap,.connect .grid,.standards .grid{grid-template-columns:1fr}
  .hero .btn{margin-left:0}
  .hero-logo{margin-top:0;width:130px}
  .more .grid{grid-template-columns:1fr 1fr}
  .more .mid{grid-column:1/-1;order:-1}
  .more .side.right{margin-top:0}
  .throughout .grid{grid-template-columns:1fr}
  .throughout .photo img{border-radius:0;min-height:0;aspect-ratio:4/3}
  .throughout .text{padding:56px 24px;max-width:none}
  .mission .grid{grid-template-columns:1fr 1fr}
  .mission .quote{grid-column:1/-1}
  .contact-hero .head img{position:static;margin:0 auto 24px}
  .contact-cards{grid-template-columns:1fr 1fr}
  .site-footer .wrap{grid-template-columns:1fr}
  .site-footer .copy{text-align:left}
}
@media (max-width:640px){
  .wrap{padding:0 20px}
  .site-header .wrap{min-height:60px}
  .brand img{height:38px}
  .nav ul{gap:22px}
  .nav a{font-size:15px}
  .section{padding:56px 0}
  .hero{padding:40px 0 48px}
  .hero .wrap{gap:32px}
  .hero-top{flex-direction:column-reverse;gap:12px}
  .hero h1{margin:8px 0 24px;letter-spacing:.03em}
  .more .grid,.cards-2,.cols-3,.info-grid,.mission .grid,.contact-cards{grid-template-columns:1fr}
  .more .mid .logo{width:200px}
  .more .side img{aspect-ratio:4/3}
  .approach .head{min-height:0;padding-top:0}
  .approach .head img{position:static;margin:0 auto 16px;width:120px}
  .card{padding:22px}
  .stepping .box{padding:32px 20px}
  .mission .quote{padding:36px 28px}
  .mission .text{padding:32px 24px}
  .article{border:0;padding:8px 0 0}
  .post-card{min-height:0}
  .contact-logo img{width:280px}
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width:1320px){.contact-hero .head img{position:static;margin:0 auto 24px}}

/* ===== i18n additions (Korean default + English) ===== */
/* Language switch (top-right of header) */
.nav{margin-left:auto}
.lang-switch{display:flex;align-items:center;gap:2px;flex:none;white-space:nowrap;font-family:"Pretendard Variable",Pretendard,"Inter",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;font-size:14px;line-height:1}
.lang-switch a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border-radius:999px;text-decoration:none;color:var(--muted);border:1px solid transparent;transition:color .15s ease,background .15s ease}
.lang-switch a:hover{color:var(--text);text-decoration:underline;text-underline-offset:4px}
.lang-switch a[aria-current]{color:var(--text);font-weight:700;background:#fff3d6;border-color:var(--accent);text-decoration:none;cursor:default}
.lang-switch .sep{color:#c9c2ad;padding:0 2px}
.lang-switch a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* Korean typography */
html[lang="ko"]{
  --sans:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,system-ui,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;
  --serif:"Fraunces","Gowun Batang","Noto Serif KR","AppleMyungjo",Georgia,serif;
}
html[lang="ko"] body{line-height:1.75;word-break:keep-all;overflow-wrap:break-word;letter-spacing:-.01em}
html[lang="ko"] h1,html[lang="ko"] h2,html[lang="ko"] h3,html[lang="ko"] h5{line-height:1.3;letter-spacing:-.01em;word-break:keep-all;text-wrap:balance}
.nw{white-space:nowrap}
html[lang="ko"] h5,html[lang="ko"] h6{line-height:1.45}
html[lang="ko"] .hero h1{text-transform:none;letter-spacing:-.01em;font-size:clamp(36px,4.8vw,64px);line-height:1.25}
html[lang="ko"] .h2{font-size:clamp(30px,4.2vw,52px)}
html[lang="ko"] .eyebrow{letter-spacing:.04em}
html[lang="ko"] .lead{line-height:1.7}
html[lang="ko"] .more .mid p,html[lang="ko"] .voice .letter,html[lang="ko"] .throughout .text>p{line-height:1.8}
html[lang="ko"] .card h5{font-size:21px}
html[lang="ko"] .stepping h3{font-size:clamp(24px,3vw,40px)}
html[lang="ko"] .mission .quote h3{font-size:clamp(22px,2.4vw,30px);line-height:1.5}
html[lang="ko"] .post-card h2,html[lang="ko"] .post-card h3{font-size:21px;line-height:1.45}
html[lang="ko"] .article h1{line-height:1.4}
html[lang="ko"] .article .body{line-height:1.85}
html[lang="ko"] .article .body h2,html[lang="ko"] .article .body h3{line-height:1.4}

/* 404 (bilingual) */
.notfound .nf-second{margin-top:56px;padding-top:40px;border-top:1px solid rgba(74,74,74,.12)}
.notfound .nf-alt{font-family:var(--serif);font-size:clamp(24px,3vw,34px);margin:0 0 .5em}
.nf-block[lang="ko"]{font-family:"Pretendard Variable",Pretendard,sans-serif;word-break:keep-all}
.nf-block[lang="ko"] h1,.nf-block[lang="ko"] .nf-alt{font-family:"Fraunces","Gowun Batang",serif}

/* Mobile header: logo + language switch on top row, menu on second row (switch always visible) */
@media (max-width:640px){
  .site-header .wrap{flex-wrap:wrap;column-gap:12px;row-gap:0;min-height:0;padding-top:6px;padding-bottom:2px}
  .brand{order:1}
  .lang-switch{order:2;margin-left:auto;font-size:14px}
  .lang-switch a{min-height:40px;padding:0 12px}
  .nav{order:3;flex-basis:100%;margin-left:0}
  .nav ul{gap:26px;padding:2px 0 2px}
  .nav a{display:inline-block;padding:8px 0}
}

/* Hero enrolment badge (Korean home only) */
.hero-badge-row{margin:18px 0 0}
.hero-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 16px 8px 14px;border-radius:999px;background:var(--accent);color:#3d2400;font-weight:700;font-size:15px;line-height:1.3;text-decoration:none;box-shadow:0 4px 12px rgba(255,159,46,.28);transition:transform .15s ease,box-shadow .15s ease}
.hero-badge:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(255,159,46,.38)}
.hero-badge:focus-visible{outline:2px solid #3d2400;outline-offset:3px}
.hero-badge .pulse{width:8px;height:8px;border-radius:50%;background:#fff;flex:none;box-shadow:0 0 0 0 rgba(255,255,255,.8);animation:epi-pulse 2s infinite}
.hero-badge .arr{font-weight:600}
@keyframes epi-pulse{0%{box-shadow:0 0 0 0 rgba(255,255,255,.8)}70%{box-shadow:0 0 0 6px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
@media (prefers-reduced-motion:reduce){.hero-badge .pulse{animation:none}.hero-badge{transition:none}}
.hero .hero-badge-row + h1{margin-top:16px}
@media (max-width:640px){.hero-badge-row{margin-top:10px}.hero .hero-badge-row + h1{margin-top:12px}.hero-badge{font-size:14px;padding:7px 14px 7px 12px}}

/* ===== v3 readability & layout polish (parents on phones first) ===== */
/* Colours: body/secondary text and orange text darkened to pass WCAG AA (4.5:1) on cream/mint/white */
:root{
  --muted:#5c5c5c;        /* was #757575 (4.3:1 on cream) -> 6.2:1 */
  --gray:#616161;         /* teacher-letter band; cream text 5.7:1 (was 4.3:1) */
  --accent-ink:#a85400;   /* orange for TEXT (eyebrow, tagline, links): 5.0:1 on cream, 4.6:1 on mint */
  --radius:14px;
  --radius-sm:10px;
}
body{font-size:16px;line-height:1.7}
@media (min-width:768px){body{font-size:17px}}
p{text-wrap:pretty}
img[src="/assets/images/logo.png"]{mix-blend-mode:multiply}   /* logo's white box blends into cream/mint */

/* Type scale: h1 > h2 > h3/h5 */
.h2{margin-bottom:.55em}
.section.tight-top{padding-top:24px}   /* replaces the old inline style on mission / milestones */
.h2-sm{font-size:clamp(28px,3.6vw,44px)!important}
html[lang] .lead{font-size:clamp(17px,1.6vw,20px)}
.eyebrow{color:var(--accent-ink)}
.tagline{color:var(--accent-ink);font-size:17px;font-weight:600}
.all-posts{color:var(--accent-ink)}
.post-card:hover h2,.post-card:hover h3{color:var(--accent-ink)}
.link-small{display:inline-block;font-size:16px;padding:8px 0}

/* Buttons: bigger tap target, readable label */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 30px;font-size:16px;font-weight:600;line-height:1.3}
.btn-outline{color:var(--accent-ink);background:#fff3d6}
.btn-solid{color:#3d2400}

/* Hero */
.hero{padding:64px 0 72px}
.hero .wrap{gap:48px}
.hero-top{align-items:center;gap:20px}
.hero-logo{width:112px;margin-top:-8px}
.hero h1{margin:18px 0 28px}
.hero .lead{margin-bottom:12px}
.hero .btn{margin:24px 0 0}
.hero-img img{max-height:680px}

/* "More than" */
.more .mid{text-align:left}
.more .mid .logo{width:140px;margin:0 0 24px}
html[lang] .more .mid p{font-size:18px;max-width:34em}
html[lang="ko"] .more .mid p{line-height:1.8}

/* Approach cards */
.approach .head{min-height:110px;padding-top:16px;margin-bottom:36px}
.approach .head img{width:110px}
.cards-2{gap:24px}
.card{padding:28px;border-radius:var(--radius)}
.card .icon{width:40px;height:40px;border-radius:8px;margin-bottom:16px}
html[lang] .card h5{font-size:20px;line-height:1.4;margin-bottom:10px}
.card p{font-size:16px;line-height:1.75}
@media (min-width:768px){.card p{font-size:17px}}

/* Throughout (photo + age cards) */
.throughout .text{padding:96px 56px 96px 72px;max-width:620px}
html[lang] .throughout .text>p{font-size:17px;max-width:36em}
@media (min-width:768px){html[lang] .throughout .text>p{font-size:18px}}
.throughout .card{padding:24px 28px;margin-top:20px}

/* Teacher letter */
.voice h2{margin-bottom:.7em}
html[lang] .voice .letter{max-width:44em;font-size:17px}  /* centred, one sentence per line on desktop */
@media (min-width:768px){html[lang] .voice .letter{font-size:18px}}
.voice .letter p{margin-bottom:0}
.voice .sign{margin-top:24px!important;font-weight:600}
.voice .more-link{margin:40px 0 0}

/* Stepping stones */
.stepping .box{border:1px solid #bfddd2;border-radius:var(--radius);padding:56px 64px;background:#fffcf0}
html[lang] .stepping h3{font-size:clamp(19px,2.2vw,26px);line-height:1.45;margin-bottom:14px}
html[lang] .stepping p{font-size:17px;max-width:34em}

/* Journey (photo band): strong solid overlay so cream text stays readable over the photo */
.journey::before{background:rgba(46,48,47,.76)}
.journey h2,.journey p{text-shadow:0 1px 2px rgba(0,0,0,.25)}
html[lang] .journey p{font-size:17px;max-width:32em;margin-left:auto;margin-right:auto}
@media (min-width:768px){html[lang] .journey p{font-size:18px}}
.journey .btn{margin-top:20px}

/* Connect (home) */
.connect .grid{grid-template-columns:1.25fr .75fr;gap:56px}
.connect .info{text-align:left}
.connect .intro{font-size:inherit;max-width:36em}
.connect .social{justify-content:flex-start;margin:20px 0 32px}
.social{font-size:16px}
.social img{width:20px;height:20px}
.info-grid{font-size:inherit;gap:28px 32px}
a[href^="tel:"]{font-weight:600;font-size:1.1em;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
html[lang] .info-grid h6{font-size:17px;margin-bottom:6px}
.note{font-size:15px;color:var(--muted);line-height:1.65}
.connect .logo-big{background:none;padding:0;width:100%;max-width:300px;margin:0 auto}

/* US standards */
.standards{padding-bottom:48px}
.standards .grid{gap:56px}
.standards p{max-width:36em}
.standards img{aspect-ratio:3/2;border-radius:var(--radius)}

/* Mission: quote + text stacked left, photo right (text no longer squeezed into a 250px column) */
.mission .grid{grid-template-columns:1fr 1fr;grid-template-areas:"quote photo" "text photo";gap:24px 48px;align-items:stretch}
.mission .quote{grid-area:quote;grid-column:auto;border-radius:var(--radius);padding:48px 44px}
.mission .photo{grid-area:photo}
.mission .text{grid-area:text;border-radius:var(--radius);padding:32px 36px;font-size:inherit;line-height:1.75;display:flex;align-items:center}
.mission .photo img{height:100%;max-height:600px;border-radius:var(--radius)}

/* Blog cards */
.posts{gap:24px}
.milestones .posts{grid-template-columns:repeat(2,minmax(0,1fr))}
.post-card{border-radius:var(--radius);padding:28px}
.post-card p{font-size:16px;line-height:1.7}
.meta{font-size:13px}

/* Full-day timeline as cards */
.fullday h2{margin-bottom:40px}
.cols-3{gap:24px}
.cols-3>div{background:var(--cream);border:1px solid var(--mint-border);border-radius:var(--radius);padding:28px}
html[lang] .cols-3 h5{font-size:20px;margin-bottom:10px}
.cols-3 p{font-size:16px;line-height:1.75;margin:0}
@media (min-width:768px){.cols-3 p{font-size:17px}}

/* Footer */
.site-footer{font-size:16px}
.site-footer .addr{font-size:15px}
.site-footer .copy{font-size:14px}

/* Contact page */
.contact-hero{padding:56px 0 80px}
.contact-hero .head{margin-bottom:40px}
.contact-hero .head img{width:120px}
.contact-hero .head p{font-size:17px;max-width:36em;margin-left:auto;margin-right:auto}
@media (min-width:768px){.contact-hero .head p{font-size:18px}}
.contact-cards .ccard{padding:24px;font-size:16px}
html[lang] .contact-cards .ccard h6{font-size:18px;margin-bottom:10px}
.after-school{margin-top:32px;padding:28px}
.after-school p{font-size:16px}
.contact-logo{padding:40px 0}
.contact-logo img{width:240px}

/* Blog post */
.article>*{max-width:680px;margin-left:auto;margin-right:auto}   /* one shared column (~38em of body text) */
html .article h1,html .article .updated{margin-left:auto;margin-right:auto}
.article .meta{font-size:14px}
.article .updated{font-size:14px}
.article figure img{border-radius:var(--radius-sm)}
.article figcaption{font-size:14px}
.post-page .back{font-size:15px}

/* ---- Tablet ---- */
@media (max-width:980px){
  .hero-img img{max-height:min(60vh,520px);width:100%}
  .connect .grid{grid-template-columns:1fr;gap:40px}
  .connect .logo-big{max-width:240px}
  .cols-3{grid-template-columns:1fr 1fr}
  .cols-3>div:last-child:nth-child(odd){grid-column:1/-1}
  .throughout .photo img{max-height:min(60vh,520px)}
  .throughout .text{padding:56px 24px 64px}
}
@media (min-width:1321px){.contact-hero .head img{width:130px;left:-180px}}

/* ---- Phone (390px) ---- */
@media (max-width:640px){
  .hero{padding:24px 0 48px}
  .hero .wrap{gap:28px}
  .hero-top{flex-direction:row;align-items:center;gap:12px}
  .hero-logo{order:-1;width:64px;margin:0}
  .hero-top .eyebrow{margin:0;font-size:17px}
  html[lang="ko"] .hero h1{font-size:34px}
  .hero h1{margin-bottom:20px}
  .hero .btn{margin-top:20px}
  .hero-img img{aspect-ratio:1/1;object-position:50% 35%}

  /* decorative repeat logos: hidden on phones (header already shows the logo) */
  .more .mid .logo,.approach .head img{display:none}
  .more .grid{grid-template-columns:1fr 1fr;gap:28px 12px}
  .more .mid{text-align:left}
  .more .side img{aspect-ratio:3/4}
  html[lang] .more .mid p{font-size:17px}
  .approach .head{text-align:left;margin-bottom:24px;min-height:0;padding-top:0}

  .card{padding:24px 22px}
  .throughout .photo img{aspect-ratio:4/3}
  .throughout .text{padding:48px 20px 56px}
  .throughout .card{padding:22px}

  .voice{text-align:left}
  .voice h2{text-align:left}
  .voice .more-link{margin-top:32px}

  .stepping .box{padding:36px 22px}

  .connect .logo-big{max-width:180px}
  .info-grid{gap:24px}

  .standards{padding-bottom:32px}
  .standards .grid{gap:28px}
  .standards img{aspect-ratio:4/3}

  .mission .grid{grid-template-columns:1fr;grid-template-areas:"quote" "photo" "text";gap:20px}
  .mission .quote{padding:32px 26px}
  .mission .text{padding:26px 22px}
  .mission .photo img{height:auto;aspect-ratio:4/3;max-height:min(60vh,520px)}

  .post-card{padding:24px 22px}
  .milestones .posts{grid-template-columns:1fr}
  .cols-3{grid-template-columns:1fr;gap:16px}
  .cols-3>div{padding:24px 22px}
  .fullday h2{margin-bottom:28px}

  .contact-hero{padding:32px 0 56px}
  .contact-hero .head{text-align:left;margin-bottom:32px}
  .contact-hero .head img{width:88px;margin:0 0 16px}
  .contact-cards{gap:16px}
  .contact-cards .stack{gap:16px}
  .after-school{text-align:left;padding:24px 22px}
  .contact-logo{padding:32px 0}
  .contact-logo img{width:180px}

  .site-footer{padding:48px 0 40px}
  .site-footer .wrap{gap:20px}
}
