:root {
  --ink: #18233b;
  --muted: #667085;
  --navy: #173f78;
  --blue: #2f80ed;
  --yellow: #ffd65a;
  --cream: #fff9ef;
  --coral: #ff776b;
  --green: #43aa8b;
  --line: #e7eaf0;
  --white: #fff;
  --shadow: 0 24px 70px rgba(27, 49, 89, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Anuphan", sans-serif; font-size: 16px; line-height: 1.65; }
img, video { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 76px; padding: 12px clamp(20px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(231,234,240,.9); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: baseline; gap: 3px; font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 1.35rem; letter-spacing: -.04em; }
.brand-mark { color: var(--coral); }
.brand small { margin-left: 8px; color: var(--muted); font: 600 .75rem "Anuphan", sans-serif; letter-spacing: 0; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 10px 14px; color: #475467; font-weight: 600; border-radius: 999px; }
.main-nav a:hover, .main-nav a.active { color: var(--navy); background: #eef5ff; }
.menu-button { display: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: white; color: var(--ink); }

.hero { min-height: 540px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 1.08fr); align-items: center; overflow: hidden; background: radial-gradient(circle at 80% 18%, #fff1ba 0, transparent 31%), linear-gradient(135deg, #fffaf0 0%, #edf6ff 100%); }
.hero-copy { padding: 58px 28px 58px max(24px, calc((100vw - 1180px)/2)); position: relative; z-index: 2; }
.hero h1 { margin: 12px 0 20px; font-size: clamp(2.35rem, 4vw, 4.15rem); line-height: 1.05; letter-spacing: -.05em; }
.inner-hero h1 { margin: 14px 0 24px; font-size: clamp(2.6rem, 5.2vw, 5.5rem); line-height: .99; letter-spacing: -.06em; }
.hero h1 span, .inner-hero h1 span { color: var(--blue); }
.lead { max-width: 680px; margin: 0 0 32px; color: #475467; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.eyebrow { margin: 0; color: var(--coral); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-art { align-self: stretch; min-height: 500px; max-height: 560px; position: relative; display: flex; align-items: end; }
.hero-art:before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: 8%; top: 12%; border-radius: 50%; background: rgba(255,255,255,.72); }
.hero-art img { position: relative; z-index: 1; height: 100%; object-fit: cover; object-position: 55% center; mix-blend-mode: multiply; }
.primary-button, .secondary-button, .outline-button, .line-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 14px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.primary-button { color: white; background: var(--navy); box-shadow: 0 12px 28px rgba(23,63,120,.22); }
.primary-button:hover, .secondary-button:hover, .outline-button:hover, .line-button:hover { transform: translateY(-2px); }
.secondary-button { background: white; color: var(--navy); }
.outline-button { color: var(--navy); background: rgba(255,255,255,.74); border: 1px solid #bdd0e8; }
.outline-button.light { color: white; background: transparent; border-color: rgba(255,255,255,.55); }
.line-button { color: white; background: #06c755; box-shadow: 0 12px 28px rgba(6,199,85,.18); }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.trust-line { margin: 22px 0 0; color: var(--muted); font-size: .9rem; }
.trust-line a, footer a, .text-link { text-decoration: underline; text-underline-offset: 3px; }

.section-pad { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 92px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading.compact { max-width: 760px; }
h2 { margin: 6px 0 0; font-size: clamp(2rem, 3.5vw, 3.45rem); line-height: 1.16; letter-spacing: -.04em; }
h3 { margin: 8px 0 6px; font-size: 1.24rem; }
.pill { padding: 7px 13px; border-radius: 999px; background: #fff0ef; color: #c63c34; font-weight: 700; }
.video-frame { padding: 10px; border-radius: 26px; background: #111827; box-shadow: var(--shadow); }
.video-frame video { aspect-ratio: 16/9; border-radius: 18px; background: #0c1323; object-fit: contain; }
.video-note { margin: 18px 0 0; text-align: center; color: var(--muted); }
.watch-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; align-items: start; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 16px 44px rgba(27,49,89,.1); }
.video-card.featured { box-shadow: var(--shadow); }
.youtube-frame { position: relative; aspect-ratio: 16/9; background: #101828; }
.youtube-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-copy { padding: 24px 26px 28px; }
.video-copy h3 { margin-top: 5px; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.video-copy p:last-child { margin: 4px 0 0; color: var(--muted); }
.text-link { color: var(--navy); font-weight: 700; }

.decision-section { display: grid; grid-template-columns: 1.03fr .97fr; gap: 42px; align-items: center; }
.story-image img { min-height: 540px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.decision-card { padding: 42px; border: 1px solid var(--line); border-radius: 28px; background: var(--cream); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.choice { min-height: 68px; padding: 12px; border: 2px solid transparent; border-radius: 15px; background: white; color: var(--ink); font-weight: 600; cursor: pointer; box-shadow: 0 5px 16px rgba(24,35,59,.06); }
.choice:hover, .choice:focus-visible { border-color: #9ac4ff; outline: none; }
.choice.selected { color: white; background: var(--blue); border-color: var(--blue); }
.choice.danger.selected { background: var(--coral); border-color: var(--coral); }
.feedback { min-height: 82px; margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: #eaf7f2; color: #236e5b; font-weight: 600; }

.learning { width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - 1180px)/2)); background: #f6f9fe; }
.learning-grid, .process-grid, .support-grid, .benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.learning-grid article, .process-grid article, .support-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.learning-grid span { color: var(--blue); font: 700 1.25rem "Fredoka", sans-serif; }
.learning-grid p, .process-grid p, .support-grid p { margin: 0; color: var(--muted); }
.school-cta { width: min(1180px, calc(100% - 40px)); margin-block: 88px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 28px; color: white; background: linear-gradient(115deg, var(--navy), #346eae); }
.school-cta .eyebrow { color: var(--yellow); }
.school-cta h2 { max-width: 800px; }
.school-cta p:not(.eyebrow) { margin-bottom: 0; color: #d8e6f8; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; min-width: 245px; }

.inner-hero { min-height: 620px; padding: 72px max(20px, calc((100vw - 1180px)/2)); display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; background: linear-gradient(135deg, #fffaf0, #eef7ff); }
.inner-hero img { height: 470px; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.support-hero img { object-fit: cover; object-position: center; background: white; mix-blend-mode: multiply; }
.process-grid strong { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-family: "Fredoka", sans-serif; }
.package { margin-bottom: 92px; padding: 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; border-radius: 28px; background: var(--navy); color: white; }
.package p { color: #d8e6f8; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid rgba(255,255,255,.16); }
.check-list li:before { content: "✓"; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }
.support-grid { grid-template-columns: repeat(3, 1fr); }
.support-grid article { min-height: 250px; }
.support-grid span { display: inline-flex; padding: 5px 10px; border-radius: 999px; color: var(--navy); background: #eef5ff; font-size: .82rem; font-weight: 700; }

.stakeholder-section { padding-bottom: 100px; }
.benefit-grid article { padding: 30px; border-top: 5px solid var(--blue); border-radius: 0 0 20px 20px; background: #f7faff; }
.benefit-grid article:nth-child(2) { border-color: var(--green); }
.benefit-grid article:nth-child(3) { border-color: var(--coral); }
.benefit-grid article:nth-child(4) { border-color: #e3b62d; }
.benefit-for { margin: 0; color: var(--blue); font-size: .86rem; font-weight: 700; letter-spacing: .06em; }
.benefit-grid article:nth-child(2) .benefit-for { color: #24795f; }
.benefit-grid article:nth-child(3) .benefit-for { color: #bb4037; }
.benefit-grid article:nth-child(4) .benefit-for { color: #8a6b05; }
.benefit-grid p:last-child { margin-bottom: 0; color: var(--muted); }
.learning-flow { background: #f6f9fe; }
.learning-flow .section-pad { padding-block: 90px; }
.poc-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 58px; align-items: start; }
.poc-copy { position: sticky; top: 112px; }
.poc-copy > p:not(.eyebrow) { color: var(--muted); }
.poc-details { display: grid; gap: 18px; }
.poc-details > div { padding: 30px 32px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 12px 32px rgba(27,49,89,.07); }
.poc-details h3 { margin-top: 0; }
.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 0; }
.plain-list li:before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.contact-band { width: min(1180px, calc(100% - 40px)); margin: 10px auto 92px; padding: 48px; display: grid; grid-template-columns: 1fr 160px 260px; align-items: center; gap: 34px; border-radius: 28px; color: white; background: #172b4d; }
.contact-band h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.contact-band .eyebrow { color: var(--yellow); }
.contact-band .contact-copy > p:last-child { margin-bottom: 0; color: #d8e6f8; }
.qr-box { width: 150px; padding: 10px; display: grid; place-items: center; border-radius: 16px; color: var(--ink); background: white; text-align: center; }
.qr-box img { width: 104px !important; height: 104px !important; max-width: 104px; object-fit: contain; }
.qr-box strong { margin-top: 5px; font-size: .8rem; line-height: 1.25; }
.qr-box span { margin-top: 2px; color: var(--muted); font-size: .69rem; line-height: 1.3; }
.contact-actions { display: grid; gap: 10px; }
.support-contact { margin-top: 0; }

footer { padding: 44px max(20px, calc((100vw - 1180px)/2)); display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 28px; color: var(--muted); border-top: 1px solid var(--line); font-size: .88rem; }
.footer-brand { color: var(--ink); }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 68px; right: 20px; width: min(280px, calc(100vw - 40px)); padding: 10px; display: none; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .hero, .inner-hero { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-copy { padding: 62px 24px 24px; }
  .hero-art { min-height: 390px; }
  .inner-hero { padding-top: 60px; }
  .inner-hero img { height: 390px; }
  .decision-section { grid-template-columns: 1fr; }
  .watch-grid { grid-template-columns: 1fr; }
  .learning-grid, .process-grid, .benefit-grid { grid-template-columns: 1fr 1fr; }
  .school-cta { align-items: flex-start; flex-direction: column; }
  .package { grid-template-columns: 1fr; }
  .poc-layout { grid-template-columns: 1fr; }
  .poc-copy { position: static; }
  .contact-band { grid-template-columns: 1fr 150px; }
  .contact-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 560px) {
  .brand small { display: none; }
  .hero h1, .inner-hero h1 { font-size: 2.65rem; }
  .hero-art { min-height: 300px; }
  .section-pad { padding: 64px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .decision-card, .school-cta, .package { padding: 28px 22px; }
  .story-image img { min-height: 340px; }
  .choice-grid, .learning-grid, .process-grid, .support-grid, .benefit-grid { grid-template-columns: 1fr; }
  .inner-hero img { height: 310px; }
  .cta-actions { width: 100%; }
  .contact-band { padding: 30px 22px; grid-template-columns: 1fr; }
  .qr-box { width: 150px; }
  .contact-actions { grid-column: auto; grid-template-columns: 1fr; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
