/* Harvest Academy Malaysia — site stylesheet (v2: calmer, more white space, section-per-idea)
   Palette from the school crest (navy + gold). Headings: Source Serif 4. Body: Inter. */
:root {
  --navy: #0f2445;
  --navy-2: #183763;
  --navy-3: #234a80;
  --gold: #b48a32;
  --gold-2: #d4b366;
  --gold-soft: #f5eedc;
  --ivory: #faf8f3;
  --paper: #ffffff;
  --ink: #1a1f2b;
  --muted: #5d6676;
  --line: #e9e4d8;
  --wa: #1f9d55;
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1200px;
  --header-h: 84px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", "Noto Serif SC", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  --pad: clamp(80px, 11vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--navy); margin: 0 0 .55em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -.005em; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.eyebrow { display: inline-block; font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.6em; border-radius: 999px; font: 600 .98rem/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; white-space: nowrap; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9c7628; color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178347; color: #fff; }
.btn-lg { padding: 1.05em 2em; font-size: 1.05rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--navy); }
.link-arrow::after { content: " →"; }

/* Utility bar + header */
.topbar { background: var(--navy); color: #cfd7e4; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-2); }
.tb-left, .tb-right { display: flex; gap: 20px; align-items: center; }
.site-header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(6px); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand img { width: 48px; height: 48px; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.05; display: block; }
.brand-sub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); background: var(--gold-soft); }
.header-cta { display: flex; gap: 8px; align-items: center; }
.header-cta .btn { padding: .7em 1.25em; font-size: .92rem; }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; font: 600 .9rem var(--sans); color: var(--navy); cursor: pointer; }
.nav .nav-extra { display: none; }
@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .topbar { display: none; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1.12rem; }
  .brand-sub { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .header-cta .btn-ghost { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(15,36,69,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:hover, .nav a[aria-current="page"] { background: none; color: var(--gold); }
  .nav .nav-extra { display: block; }
}
@media (max-width: 420px) { .header-cta .btn { padding: .62em .95em; font-size: .86rem; } .brand-name { font-size: 1rem; } .site-header .wrap { gap: 12px; } }

/* Home hero: full screen, photo with navy wash */
.hero-full { position: relative; min-height: min(calc(100svh - var(--header-h) - 36px), 920px); display: flex; align-items: flex-end; color: #fff; background: var(--navy) var(--hero) center 62% / cover no-repeat; isolation: isolate; }
.hero-full::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,25,48,.88) 0%, rgba(10,25,48,.62) 45%, rgba(10,25,48,.15) 100%), linear-gradient(0deg, rgba(10,25,48,.55) 0%, rgba(10,25,48,0) 45%); }
.hero-full .wrap { padding-top: 96px; padding-bottom: clamp(56px, 9vh, 104px); }
.hero-full .hero-copy { max-width: 720px; }
.hero-full h1 { color: #fff; margin-bottom: .45em; }
.hero-full .eyebrow { color: var(--gold-2); }
.hero-full p { color: #e3e9f2; font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 620px; }
.h1-main { display: block; font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: 1; letter-spacing: -.025em; }
.h1-sub { display: block; margin-top: .5em; font-size: clamp(1.2rem, 2.1vw, 1.65rem); line-height: 1.35; font-weight: 500; color: #e9eef6; letter-spacing: 0; }
.hero-full .btns { margin-top: 30px; }
.promo-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 16px; font-size: .9rem; color: #fff; margin-bottom: 26px; }
.promo-pill a { color: var(--gold-2); font-weight: 600; text-decoration: none; }
.promo-pill b { color: var(--gold-2); }
@media (max-width: 760px) {
  .hero-full { min-height: min(calc(100svh - var(--header-h) - 72px), 760px); background-position: 62% 60%; }
  .hero-full::before { background: linear-gradient(0deg, rgba(10,25,48,.94) 0%, rgba(10,25,48,.72) 55%, rgba(10,25,48,.35) 100%); }
  .hero-full .btns .btn { flex: 1 1 100%; }
  .promo-pill { border-radius: 14px; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: #fff; padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero p { color: #d6deea; max-width: 760px; font-size: clamp(1.08rem, 1.5vw, 1.22rem); }
.page-hero .eyebrow { color: var(--gold-2); }
.crumbs { font-size: .85rem; margin-bottom: 22px; color: #b9c4d6; }
.crumbs a { color: #e3e9f2; text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs span[aria-hidden] { margin: 0 8px; opacity: .6; }

/* Sections */
.section { padding: var(--pad) 0; }
.section.tight { padding: clamp(56px, 7vw, 88px) 0; }
.section.white { background: var(--paper); }
.section.ivory, .section.alt { background: var(--ivory); }
.section.navy { background: var(--navy); color: #d9e1ed; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy .eyebrow { color: var(--gold-2); }
.section.navy .lead, .section.navy .muted { color: #b9c4d6; }
.section.gold { background: var(--gold-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } .split, .split.wide-left { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } body { font-size: 16.5px; } .wrap { padding: 0 20px; } }

/* Cards (borderless, calm) */
.card { background: var(--ivory); border-radius: var(--radius); padding: clamp(26px, 3vw, 36px); }
.section.ivory .card, .section.alt .card, .section.gold .card { background: var(--paper); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; margin-bottom: 20px; }
.card .icon svg { width: 24px; height: 24px; }
.section.navy .card { background: rgba(255,255,255,.05); color: #d9e1ed; }
.photo { border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo.tall img { aspect-ratio: 4/5; }
.photo.wide img { aspect-ratio: 16/10; }
figure { margin: 0; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* Big numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 4vw, 56px); }
.number { border-top: 2px solid var(--gold-2); padding-top: 22px; }
.number strong { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(3.2rem, 6.5vw, 5.4rem); line-height: .95; letter-spacing: -.03em; color: var(--navy); }
.number span { display: block; margin-top: 14px; font-size: 1rem; line-height: 1.45; color: var(--muted); max-width: 230px; }
.section.navy .number strong { color: #fff; }
.section.navy .number span { color: #b9c4d6; }
.numbers-note { margin-top: 36px; font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .numbers { grid-template-columns: 1fr 1fr; gap: 36px 24px; } }

/* Statement */
.statement { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.2; color: var(--navy); letter-spacing: -.02em; margin: 0 auto .7em; max-width: 960px; }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b48a32' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.section.navy .ticks li::before { background-color: rgba(212,179,102,.18); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tag-list li { background: var(--ivory); padding: 6px 14px; border-radius: 999px; font-size: .88rem; }

/* Flow (admission steps) */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 24px; counter-reset: s; }
.flow li { counter-increment: s; position: relative; padding-top: 76px; }
.flow li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 1.35rem var(--serif); display: grid; place-items: center; z-index: 1; }
.flow li::after { content: ""; position: absolute; top: 28px; left: 56px; right: -24px; height: 2px; background: var(--gold-2); }
.flow li:last-child::after { display: none; }
.flow h3 { font-size: 1.2rem; margin-bottom: .35em; }
.flow p { color: var(--muted); margin: 0; font-size: .98rem; }
.section.navy .flow li::before { background: var(--gold); }
.section.navy .flow p { color: #b9c4d6; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow li { padding: 0 0 36px 80px; min-height: 56px; }
  .flow li::after { top: 56px; left: 27px; right: auto; width: 2px; height: calc(100% - 56px); }
}
.pathway { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pathway .step { background: var(--ivory); border-radius: var(--radius-sm); padding: 22px 18px; }
.section.ivory .pathway .step { background: var(--paper); }
.pathway .step b { font-family: var(--serif); font-size: 1.45rem; color: var(--navy); display: block; }
.pathway .step .age { font-size: .82rem; color: var(--muted); }
.pathway .step .stage { display: inline-block; margin-top: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: #e9eef6; color: var(--navy-2); }
.pathway .step.ig .stage { background: var(--gold-soft); color: #8a6720; }
@media (max-width: 860px) { .pathway { grid-template-columns: 1fr 1fr; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--ivory); border-radius: var(--radius-sm); padding: 22px 22px 22px 86px; position: relative; }
.section.ivory .steps li, .section.alt .steps li { background: var(--paper); }
.steps li::before { content: counter(s); position: absolute; left: 22px; top: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 1.2rem var(--serif); display: grid; place-items: center; }
.steps h3 { font-size: 1.12rem; margin-bottom: .2em; }
.steps p { margin: 0; color: var(--muted); }

/* Quotes */
.quote { background: var(--ivory); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; }
.section.ivory .quote, .section.alt .quote { background: var(--paper); }
.quote blockquote { margin: 0 0 20px; font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--navy); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3.2rem; line-height: .6; color: var(--gold-2); margin-bottom: 10px; }
.quote cite { font-style: normal; font-size: .88rem; color: var(--muted); font-weight: 600; }
.big-quote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; color: var(--navy); margin: 0 0 18px; letter-spacing: -.01em; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.7rem; color: var(--gold); font-family: var(--sans); font-weight: 300; }
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 0 22px; max-width: 820px; color: var(--ink); }

/* CTA section (full width) */
.cta-section { background: var(--navy); color: #d9e1ed; padding: clamp(80px, 10vw, 128px) 0; text-align: center; }
.cta-section h2 { color: #fff; max-width: 820px; margin: 0 auto .4em; }
.cta-section p { max-width: 640px; margin: 0 auto 32px; color: #b9c4d6; font-size: 1.12rem; }
.cta-section .btns { justify-content: center; }
.cta-section .eyebrow { color: var(--gold-2); }
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6deea; margin: 0; }
.cta-band .btns { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btns { justify-content: flex-start; } .cta-section .btns .btn { flex: 1 1 100%; max-width: 360px; } }

/* Offer card + promotions */
.offer { background: var(--paper); border: 1.5px solid var(--gold-2); border-radius: var(--radius); padding: clamp(28px, 3.5vw, 40px); position: relative; }
.offer .tag { position: absolute; top: -14px; left: 28px; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; max-width: calc(100% - 56px); }
.offer h3 { font-size: 1.55rem; margin-top: 8px; }
.countdown { display: inline-block; background: var(--gold-soft); color: #7a5a1a; font-weight: 600; font-size: .88rem; border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.promo-timeline { margin-top: 32px; }
.promo-timeline h3 { font: 700 .8rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.promo-timeline ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.promo-timeline li { background: var(--ivory); border-radius: 12px; padding: 12px 12px 14px; font-size: .86rem; line-height: 1.3; }
.section.ivory .promo-timeline li { background: var(--paper); }
.promo-timeline li span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.promo-timeline li b { color: var(--navy); font-weight: 600; }
.promo-timeline li.is-now, .section.ivory .promo-timeline li.is-now { background: var(--navy); }
.promo-timeline li.is-now span { color: var(--gold-2); }
.promo-timeline li.is-now b { color: #fff; }
.promo-timeline li.is-now span::after { content: " · now"; }
@media (max-width: 640px) { .promo-timeline ol { grid-template-columns: 1fr 1fr; } }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.post { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(15,36,69,.05), 0 12px 32px rgba(15,36,69,.06); transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15,36,69,.06), 0 18px 40px rgba(15,36,69,.1); color: inherit; }
.post img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--gold-soft); }
.post .ph { aspect-ratio: 16/10; background: var(--navy); display: grid; place-items: center; color: var(--gold-2); font-family: var(--serif); font-size: 1.15rem; padding: 24px; text-align: center; }
.post .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post .cat { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.post h3 { font-size: 1.15rem; margin: 0; }
.post p { font-size: .93rem; color: var(--muted); margin: 0; }
.post time { font-size: .8rem; color: var(--muted); margin-top: auto; padding-top: 8px; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 18px; font: 600 .88rem var(--sans); color: var(--navy); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Article */
.article-hero { background: var(--navy); color: #fff; padding: clamp(64px, 8vw, 104px) 0 140px; }
.article-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 900px; }
.article-hero .standfirst { color: #d6deea; font-size: 1.18rem; max-width: 760px; }
.article-meta { font-size: .9rem; color: #b9c4d6; display: flex; gap: 14px; flex-wrap: wrap; }
.article-cover { margin-top: -100px; }
.article-cover img { border-radius: var(--radius); width: 100%; max-height: 600px; object-fit: cover; box-shadow: 0 24px 60px rgba(15,36,69,.18); }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.75rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold-2); font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.prose figure { margin: 2.2em 0; }
.prose figure img { border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--gold-soft); color: var(--navy); }
.note { background: var(--gold-soft); border-radius: var(--radius-sm); padding: 18px 22px; font-size: .97rem; margin: 1.6em 0; }
.note.archive { background: #eef1f6; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 2em 0; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); width: 100%; }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.embed { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--ivory); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed.wide { aspect-ratio: 16/10; }
.embed.map { aspect-ratio: 16/9; }

/* Key facts */
.facts { display: grid; grid-template-columns: max-content 1fr; margin: 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--navy); font-size: .93rem; padding-right: 28px; }
.facts dd { font-size: .98rem; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 0; } .facts dd { padding-top: 4px; } }

/* Forms */
.form { display: grid; gap: 16px; }
.form label { font-weight: 600; font-size: .9rem; color: var(--navy); display: grid; gap: 7px; }
.form input, .form select, .form textarea { font: 1rem var(--sans); padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%; min-width: 0; }
.form input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-height: 50px; text-align: left; }
.form input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold-2); outline: none; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .86rem; color: var(--muted); }
.form label.consent input { width: auto; margin-top: 4px; flex: none; }
.form .btn { justify-self: start; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; } }
.fee-card { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 3.5vw, 44px); box-shadow: 0 1px 2px rgba(15,36,69,.05), 0 20px 50px rgba(15,36,69,.08); }
.fees-from { font-size: 1.1rem; margin-bottom: 20px; }
.fees-from strong { font-family: var(--serif); font-size: 1.7rem; color: var(--navy); }
.choice { display: flex; flex-direction: column; }
.choice .ticks { flex: 1; }
.choice h2 { font-size: 1.6rem; }
.choice .btn { align-self: flex-start; }

/* Contact list */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex: none; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; color: var(--navy); }

/* Tables (subjects, results) */
.table-wrap { border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.data-table, .results-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.data-table th, .data-table td, .results-table th, .results-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.data-table th, .data-table td { text-align: center; }
.data-table thead th, .results-table thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: .86rem; line-height: 1.3; }
.data-table thead th span { font-weight: 400; color: var(--gold-2); font-size: .8rem; }
.data-table thead th:first-child, .data-table tbody th { text-align: left; }
.data-table tbody th { font-weight: 600; color: var(--navy); }
.data-table tbody td { color: var(--gold); font-weight: 700; font-size: 1.1rem; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td, .results-table tbody tr:last-child th, .results-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .table-wrap.subjects { box-shadow: none; background: none; border-radius: 0; }
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; }
  .data-table tr { background: var(--ivory); border-radius: 12px; margin-bottom: 10px; padding: 14px 16px; }
  .data-table tbody th { padding: 0 0 8px; border: 0; }
  .data-table td { display: inline-block; padding: 3px 10px; margin: 3px 4px 0 0; border: 0; border-radius: 999px; background: var(--gold-soft); font-size: .78rem; font-weight: 600; color: #8a6720; }
  .data-table td:empty { display: none; }
  .data-table td::before { content: attr(data-label) " "; }
}
.results-table th, .results-table td { text-align: right; color: var(--ink); white-space: nowrap; }
.results-table thead th:first-child, .results-table tbody th { text-align: left; }
.results-table tbody th { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 1.08rem; }
.results-table tbody th small { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 500; color: var(--muted); }
.results-table tbody tr:hover { background: var(--ivory); }
.results-table .bar-cell { width: 45%; }
.results-table .bar-cell b { display: inline-block; min-width: 3.2em; font-weight: 700; color: var(--navy); }
.results-table .bar { display: inline-block; vertical-align: middle; width: calc(100% - 4em); height: 10px; background: #edf0f5; border-radius: 4px; margin-right: 8px; overflow: hidden; }
.results-table .bar i { display: block; height: 100%; background: var(--navy-3); border-radius: 0 4px 4px 0; }
.results-table tbody tr:hover .bar i { background: var(--gold); }
@media (max-width: 640px) { .results-table .bar { display: none; } .results-table .bar-cell { width: auto; } .results-table th, .results-table td { padding: 12px 10px; } }

/* University destinations */
.uni-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.uni-grid li { border-radius: var(--radius-sm); padding: 18px 20px; background: rgba(255,255,255,.06); color: #fff; }
.uni-grid b { font-family: var(--serif); font-weight: 600; font-size: 1.06rem; }
.uni-grid small { display: block; color: var(--gold-2); font-size: .78rem; margin-top: 4px; letter-spacing: .04em; }
@media (max-width: 960px) { .uni-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .uni-grid { gap: 8px; } .uni-grid li { padding: 12px 14px; } .uni-grid b { font-size: .95rem; } }
.uni-strip { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.uni-strip li { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 7px 14px; font-size: .88rem; color: #fff; }
.uni-card { background: rgba(255,255,255,.05); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); }
.uni-card h3 { color: #fff; }

/* Strip gallery */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.strip figure { position: relative; border-radius: var(--radius); overflow: hidden; }
.strip img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .4s; }
.strip figure:hover img { transform: scale(1.04); }
.strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 36px 18px 14px; color: #fff; font-weight: 600; font-size: .95rem; background: linear-gradient(transparent, rgba(11,27,52,.85)); }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* Footer */
.site-footer { background: #0b1b34; color: #b9c4d6; padding: 80px 0 32px; font-size: .93rem; }
.site-footer a { color: #e3e9f2; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h2 { font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; color: #fff; }
.foot-brand img { width: 46px; height: 46px; }
.foot-brand b { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* WhatsApp float (desktop) + mobile action bar */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; background: var(--wa); color: #fff; border-radius: 999px; padding: 12px 18px 12px 14px; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.wa-float:hover { color: #fff; background: #178347; }
.wa-float svg { width: 24px; height: 24px; fill: #fff; }
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1.35fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255,255,255,.98); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 8px; }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 6px; border-radius: 12px; font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--navy); background: var(--ivory); }
  .action-bar a.ab-wa { color: #fff; background: var(--wa); }
  .action-bar a.ab-book { color: #fff; background: var(--gold); }
  .action-bar svg { width: 17px; height: 17px; fill: currentColor; }
  .wa-float { display: none; }
  body { padding-bottom: 76px; }
}

.preview-bar { background: #fde68a; color: #422006; text-align: center; font-size: .88rem; font-weight: 600; padding: 9px 16px; }
.preview-bar a { color: #422006; }

.menu-toggle { gap: 8px; align-items: center; }
.menu-toggle span[aria-hidden] { font-size: 1.15rem; line-height: 1; }
@media (max-width: 480px) { .menu-toggle .mt-text { display: none; } .menu-toggle { padding: 8px 11px; } .header-cta .btn { padding: .6em 1em; } .brand { gap: 8px; } .brand img { width: 36px; height: 36px; } }
@media (max-width: 760px) { .promo-pill { font-size: .85rem; padding: 8px 14px; } }@media (max-width: 760px) { .promo-pill a { display: none; } }

/* Information tables (calendar, routines) */
.table-wrap.scroll { overflow-x: auto; }
.info-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.info-table th, .info-table td { padding: 12px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: .86rem; }
.info-table tbody th { font-weight: 600; color: var(--navy); white-space: nowrap; }
.info-table tbody tr:last-child > * { border-bottom: 0; }
.info-table tr.hl > * { background: var(--gold-soft); font-weight: 600; }
.info-table .tag { display: inline-block; font-size: .75rem; padding: 2px 9px; border-radius: 999px; background: var(--ivory); color: var(--muted); margin-left: 6px; white-space: nowrap; }
@media (max-width: 560px) { .info-table th, .info-table td { padding: 10px 12px; } .info-table tbody th { white-space: normal; } }

/* Harvest 55 Practices */
.practices { padding-left: 1.6em; margin: 0; }
.practices > li { margin-bottom: .9em; padding-left: .3em; }
.practices > li::marker { font-family: var(--serif); font-weight: 600; color: var(--gold); }
.practices ol { margin-top: .4em; }
.practice-group { margin-top: clamp(40px, 6vw, 64px); }
.practice-group:first-child { margin-top: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 8px; }
.jump a { display: inline-block; background: var(--ivory); padding: 7px 15px; border-radius: 999px; font-size: .9rem; text-decoration: none; color: var(--navy); }
.jump a:hover { background: var(--gold-soft); }

/* Section sub-navigation ("Explore this section", Kenyon style) */
.subnav { border-bottom: 1px solid var(--line); background: var(--paper, #fff); }
.subnav .wrap { display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav-label { flex: none; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.subnav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex: none; }
.subnav a { display: inline-block; white-space: nowrap; padding: 7px 14px; border-radius: 999px; font-size: .9rem; color: var(--navy); text-decoration: none; }
.subnav a:hover { background: var(--ivory); }
.subnav a[aria-current="page"] { background: var(--gold-soft); font-weight: 600; }
@media (max-width: 640px) { .subnav-label { display: none; } }

/* Promotion terms and conditions (collapsed under each offer) */
.offer-terms { margin-top: 14px; font-size: .85rem; color: var(--muted); }
.offer-terms summary { cursor: pointer; color: var(--navy); font-weight: 600; }
.offer-terms ol { margin: 10px 0 0; padding-left: 1.2em; }
.offer-terms li { margin-bottom: 6px; }

/* Final call-to-action (Duolingo style: one line, one button) and curved footer */
.cta-final { background: var(--paper, #fff); text-align: center; padding: clamp(96px, 12vw, 160px) 0 clamp(120px, 14vw, 180px); }
.cta-final h2 { font-size: clamp(2.2rem, 5.2vw, 4rem); max-width: 860px; margin: 0 auto .35em; }
.cta-final p { max-width: 560px; margin: 0 auto 36px; color: var(--muted); font-size: 1.1rem; }
.cta-final .cta-main { min-width: min(320px, 100%); justify-content: center; }
.cta-final .cta-alt { margin: 18px auto 0; font-size: 1rem; }
.cta-final .cta-alt a { color: var(--navy); font-weight: 600; }
.site-footer { position: relative; padding-top: 72px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -59px; height: 60px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34C240 6 480 0 720 0s480 6 720 34v26z' fill='%230b1b34'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; pointer-events: none; }
.foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 36px; }
.foot-lang { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: .86rem; }
.foot-lang span { color: #8e9bb2; }
.foot-bottom { margin-top: 18px; border-top: 0; padding-top: 0; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-grid > .foot-contact { grid-column: 1 / -1; }
  .site-footer { font-size: .9rem; padding-top: 56px; }
  .site-footer::before { top: -29px; height: 30px; }
}

/* Phone-only shortening of long pages */
.more-toggle { display: none; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .swipe-sm { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-left: -16px; margin-right: -16px; padding: 0 16px 10px; scrollbar-width: none; }
  .swipe-sm::-webkit-scrollbar { display: none; }
  .swipe-sm > * { flex: 0 0 84%; scroll-snap-align: start; }
  .clamp-sm:not(.expanded) .more { display: none; }
  .clamp-sm:not(.expanded) .more-toggle { display: inline-flex; margin-top: 4px; }
}
@media (max-width: 760px) { .hero-full { background-image: var(--hero-sm, var(--hero)); } }
@media (max-width: 760px) { .photo.tall img { aspect-ratio: 4/3; } }

/* In the news */
.news-item { padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.news-item h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 6px 0 12px; }
.news-meta { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0; }
.news-meta .tag { text-transform: none; letter-spacing: 0; }
.news-links { font-size: .93rem; line-height: 1.7; }

/* Footer v3 (Duolingo-inspired): one solid brand colour, white type, no curve, less noise */
.site-footer { background: var(--navy-2); color: rgba(255,255,255,.82); padding: 72px 0 36px; }
.site-footer::before { content: none; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: #fff; margin-bottom: 14px; }
.site-footer ul { gap: 10px; }
.foot-brand b { color: #fff; }
.social a { border: 0; background: rgba(255,255,255,.1); color: #fff; }
.foot-lang { border-top-color: rgba(255,255,255,.16); color: rgba(255,255,255,.7); }
.foot-lang span { color: rgba(255,255,255,.6); }
.foot-lang a { font-weight: 600; }
.foot-bottom { color: rgba(255,255,255,.6); }
@media (max-width: 560px) { .site-footer { padding-top: 56px; } }
@media (min-width: 761px) { .site-footer { padding-bottom: 104px; } }  /* keep footer links clear of the floating WhatsApp button */

/* Offer card: the label sits inside the card (no overlap when it wraps), with room before the heading */
.offer .tag { position: static; display: inline-block; max-width: 100%; margin: 0 0 16px; padding: 7px 14px; line-height: 1.4; letter-spacing: .08em; }
.offer h3 { margin: 0 0 18px; line-height: 1.2; }

/* Phone action bar: slimmer, still easy to tap */
@media (max-width: 760px) {
  .action-bar { padding: 6px 10px calc(6px + env(safe-area-inset-bottom)); gap: 6px; }
  .action-bar a { padding: 9px 6px; font-size: .85rem; border-radius: 10px; }
  .action-bar svg { width: 15px; height: 15px; }
}
.offer .tag { border-radius: 10px; }
