/* Homepage styles: only loaded by the homepage */

/* Hero: longer headline and more intro text */
.home-v2 #home h1{font-size:56px;line-height:1.02}
.home-v2 #home .hero-intro{margin-bottom:12px}
.home-v2 #home .hero-more{font-size:16px;line-height:24px;color:var(--muted)}
.home-v2 #home .hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;margin-top:24px}
.home-v2 #home .hero-actions .button{margin:0}
.home-v2 #home .hero-secondary{display:inline-flex}
.home-v2 #home .hero-trust em{font-family:'DM Serif Display',Georgia,serif;font-style:italic;font-size:18px}

/* Shared prose blocks */
.v2-prose p{margin-bottom:16px}
.v2-prose p:last-child{margin-bottom:0}
.v2-lead{font:24px/34px 'DM Serif Display',Georgia,serif;color:var(--navy)}
.v2-questions{font:20px/30px 'DM Serif Display',Georgia,serif;color:var(--navy)}

/* 2. Introduction: heading left, text right */
.v2-intro{display:grid;grid-template-columns:1fr 1fr;gap:96px;align-items:start}
.v2-intro h2{margin:0}

/* 3. Destination cards with several paragraphs */
.home-v2 .destination-content p{margin-bottom:12px}
.home-v2 .destination-content .text-link{margin-top:8px}
.home-v2 .destination-content .status-note{margin-top:20px}
.home-v2 .card-heading h3{min-height:0}

/* 4. Services: four items */
.home-v2 #services .care-intro p+p{margin-top:16px}

/* 5. Why FPM cards */
.v2-why article{background:var(--cream);border-radius:12px;padding:32px}
.v2-card-label{font-size:12px;line-height:16px;letter-spacing:.12em;text-transform:uppercase;color:var(--orange-text);font-weight:600;margin-bottom:12px}
.v2-why h3{margin-bottom:12px}

/* 6. Four steps */
.journey-four{grid-template-columns:repeat(4,1fr)}

/* 7. About with photo, then numbers and logos */
.v2-about{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:center;margin-bottom:64px}
.v2-about .v2-prose{margin:24px 0 32px}
.v2-photo{margin:0;border-radius:48px 12px 12px 12px;overflow:hidden}
.v2-photo img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.home-v2 #about-fpm .glance-grid{margin-bottom:48px}

/* 8. Students and parents: photo left, text right */
.v2-split{display:grid;grid-template-columns:1fr 1.1fr;gap:64px;align-items:center}
.v2-split .v2-prose{margin:24px 0 32px}

/* 9. Agency section with several paragraphs */
.home-v2 #partners p+p{margin-top:16px}
.home-v2 #partners .button{margin-top:24px}

/* 11. Final call to action */
.home-v2 .about-cta-inner>div:last-child p+p{margin-top:-8px}
.home-v2 .about-cta .text-link{display:inline-flex;margin-top:16px}
.v2-signoff{margin-top:32px;font-size:14px}

/* Footer description */
.footer-note{margin-top:16px;font-size:13px;line-height:20px;color:var(--muted);max-width:340px}

@media(max-width:1200px){
  .home-v2 #home h1{font-size:50px}
  .journey-four{grid-template-columns:repeat(2,1fr)}
  .v2-intro{gap:48px}
}
@media(max-width:960px){
  .home-v2 #home h1{font-size:44px}
  .v2-intro,.v2-about,.v2-split{grid-template-columns:1fr;gap:40px}
}
@media(max-width:760px){
  .home-v2 #home h1{font-size:40px}
  .home-v2 #home .hero-more{order:3}
  .home-v2 #home .hero-actions{order:4;align-self:stretch;flex-direction:column;align-items:stretch;gap:12px;margin-top:12px}
  .home-v2 #home .hero-secondary{align-self:flex-start}
  .journey-four{grid-template-columns:1fr}
  .v2-lead{font-size:21px;line-height:30px}
  .v2-why article{padding:24px}
  .v2-about{margin-bottom:40px}
  .footer-note{max-width:none}
}
@media(max-width:390px){
  .home-v2 #home h1{font-size:36px}
}

/* Homepage V3 layer: shorter hero, three destination cards, who-we-support cards */

/* Hero: shorter copy, so a larger headline */
.home-v3 #home h1{font-size:64px}

/* 02 Three destination cards */
.dest-three{grid-template-columns:repeat(3,1fr);gap:24px}
.dest-three .destination-image{height:220px}
.dest-three .destination-image>img{object-position:center 45%}
.dest-kicker{font-size:12px;line-height:16px;letter-spacing:.12em;text-transform:uppercase;color:var(--orange-text);font-weight:600;margin-bottom:8px}
.home-v3 .dest-three h3{margin-bottom:12px}
.home-v3 .dest-three .destination-content>.text-link{margin-top:auto;padding-top:16px}

/* 03 Why cards: tighter section after the destinations */
.v3-tight{padding-top:0}

/* 07 Who we support: two cards */
.v3-who{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.v3-who article{background:var(--cream);border-radius:8px;overflow:hidden;display:flex;flex-direction:column}
.v3-who-photo{margin:0;height:260px;overflow:hidden}
.v3-who-photo img{width:100%;height:100%;object-fit:cover;display:block}
.v3-who-body{padding:32px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.v3-who-body>p:not(.v2-card-label){color:var(--muted);margin-bottom:24px}
.v3-who-body .button{margin-top:auto}

@media(max-width:1200px){
  .home-v3 #home h1{font-size:54px}
}
@media(max-width:960px){
  .home-v3 #home h1{font-size:46px}
  .dest-three{grid-template-columns:1fr 1fr}
  .dest-three>article:last-child{grid-column:1/-1}
  .v3-who{grid-template-columns:1fr}
}
@media(max-width:760px){
  .home-v3 #home h1{font-size:42px}
  .dest-three{grid-template-columns:1fr}
  .v3-who-body{padding:24px}
  .v3-who-photo{height:220px}
}
@media(max-width:390px){
  .home-v3 #home h1{font-size:36px}
}

/* Homepage V4 layer: free note, fast path, Korea strip, chat links */

/* Hero free note */
.home-v4 #home .v4-free-note{display:flex;gap:8px;align-items:flex-start;margin-top:16px;color:var(--navy);font-weight:500}

/* Trust band sits right under the hero; logos follow tightly */
.v4-network{padding-top:56px}

/* Free model section */
.v4-free .v2-lead{margin-bottom:16px}
.v4-free p+p{margin-top:0;margin-bottom:16px}

/* Fast path for families who already chose a school */
.v4-fastpath{margin-top:48px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--cream);border-radius:16px;padding:28px 32px}
.v4-fastpath .v2-card-label{margin-bottom:4px}
.v4-fastpath-text{font:24px/32px 'DM Serif Display',Georgia,serif;color:var(--navy);margin:0}
.v4-fastpath .button{flex-shrink:0;margin:0}

/* Smaller Korea section: closer to the journey, columns aligned at the top */
.home-v4 #journey{padding-bottom:16px}
.v4-korea{padding-bottom:0;align-items:start}
.v4-korea .fine-print{margin:12px 0 16px}


@media(max-width:760px){
  .v4-network{padding-top:40px}
  .v4-fastpath{flex-direction:column;align-items:stretch;padding:24px}
  .v4-fastpath-text{font-size:21px;line-height:28px}
  .home-v4 #home .v4-free-note{order:5}
}

/* Style guide layer (STYLE-GUIDE.md, approved 2 Nov 2026) */


/* Typography: h1 96px/1, -0.025em, max 680px, balanced; one emphasized word only, in orange-text */
.sg2 #home h1{font-size:96px;line-height:1;letter-spacing:-.025em;max-width:680px;text-wrap:balance;color:var(--navy)}
.sg2 #home h1 span{display:inline;color:var(--orange-text)}
.sg2 #home .hero-intro{color:var(--text-2)}
.sg2 .eyebrow{letter-spacing:.15em}

/* Orange as text uses the accessible orange-text token */
.sg2 .v2-card-label,.sg2 .dest-kicker{color:var(--orange-text)}
.sg2 .step-number{color:var(--orange-text)}

/* Line icons: navy stroke 1.5, no fill, UI size */
.sg2 #home .v4-free-note{align-items:center}

/* KakaoTalk as a constant contact option */
.sg-chat-note{margin-top:8px;font-size:14px;line-height:20px;color:var(--muted)}
.sg-chat-note a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.sg-chat-note a:hover{color:var(--navy)}


/* The leaf radius is the signature: hero and feature media only. Plain cards get a quieter corner. */
.sg2 .destination-card,.sg2 .v2-why article,.sg2 .v4-fastpath{border-radius:8px}
.sg2 .destination-card{border-color:var(--line)}

@media(max-width:1200px){
  .sg2 #home h1{font-size:72px}
}
@media(max-width:960px){
  .sg2 #home h1{font-size:60px}
}
@media(max-width:760px){
  .sg2 #home h1{font-size:44px;letter-spacing:-.03em} /* homepage exception: two-sentence headline */
  .sg2 .eyebrow{letter-spacing:.1em}
  .sg-chat-note{order:5}
}
@media(max-width:390px){
  .sg2 #home h1{font-size:40px}
}
