:root {
  --red: #E52125;        /* brand red (logo): header, light-bg accents */
  --red-dark: #B71C1C;   /* buttons, titles and links on light backgrounds */
  --red-light: #FF5C60;  /* accents on black: brand red is only 3.8:1 there */
  --red-tint: #FDECEC;
  --dark: #1A1A1A;       /* ink black: dark sections, footer */
  --dark-2: #262626;
  --dark-3: #3A3A3A;
  --ink: #1A1A1A;
  --muted: #4A4A4A;
  --gold: #C9A227;       /* results only: stats band, 2008 badge */
  --cream: #FFFFFF;
  --cream-2: #FBF7F2;
  --line: #D9D9D9;
  --wa: #25D366;         /* WhatsApp only */
  --wa-hover: #128C7E;
  --radius: 18px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: Outfit, "Noto Sans SC", sans-serif; color: var(--ink); background: var(--cream); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.serif { font-family: "Noto Serif SC", serif; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--red); color: #fff; }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 4px; }
.brand b { display: block; color: #fff; font-size: 15px; line-height: 1.2; }
.brand small { font-size: 12px; opacity: .85; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 9px 12px; font-size: 15px; border-bottom: 2px solid transparent; opacity: .9; }
.nav a:hover { opacity: 1; }
.nav a[aria-current] { border-color: #fff; font-weight: 600; opacity: 1; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--red-dark); color: #fff; }
.btn-ghost { border: 1.5px solid rgb(255 255 255 / .5); color: #fff; }
.btn-green { background: var(--dark); color: #fff; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; left: 0; right: 0; top: 72px; background: var(--red); padding: 8px 16px 20px; display: grid; }
.menu nav a { padding: 12px 4px; border-bottom: 1px solid rgb(255 255 255 / .25); }
.menu nav a[aria-current] { color: #fff; font-weight: 700; }
.header .call { background: #fff; color: var(--red-dark); }
@media (max-width: 1120px) {
  .header .nav { display: none; }
  .header .call { margin-left: auto; }
  .menu { display: block; }
}
@media (max-width: 600px) {
  .header .wrap { gap: 8px; }
  .header .call { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .header .call span { display: none; }
}

/* Hero */
.hero { background: var(--cream-2); color: var(--ink); }
.hero .wrap { padding: 72px 0 64px; min-height: calc(100svh - 72px); display: grid; grid-template-columns: 1.15fr 1fr; grid-template-areas: "text photo" "stats photo"; align-content: center; align-items: center; column-gap: 56px; }
.hero-inner { grid-area: text; }
.hero-stats { grid-area: stats; }
.hero-photo { grid-area: photo; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 24px 48px rgb(0 0 0 / .12); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; grid-template-areas: "text" "photo" "stats"; row-gap: 40px; min-height: auto; }
}
.hero-inner { max-width: 560px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgb(255 92 96 / .5); background: rgb(255 92 96 / .12); color: var(--red-light); font-size: 13px; font-weight: 600; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 900; line-height: 1.1; margin: 24px 0 12px; }
.hero h1 small { display: block; font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.4; color: rgb(255 255 255 / .8); letter-spacing: 2px; margin: 12px 0 20px; }
.hero p { font-size: 18px; }
.hero p + p { font-size: 15px; opacity: .7; margin-top: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 48px; align-items: center; }
.hstat { display: flex; gap: 10px; align-items: center; }
.hstat svg { padding: 6px; width: 32px; height: 32px; border-radius: 8px; background: rgb(255 92 96 / .15); color: var(--red-light); }
.hstat b { display: block; font-size: 20px; line-height: 1.1; }
.hstat small { font-size: 13px; opacity: .75; }

/* Page banner (sub-pages) */
.banner { position: relative; background: var(--cream-2); color: var(--ink); border-bottom: 1px solid var(--line); overflow: hidden; padding: 72px 0 64px; text-align: center; }
.banner .ghost { position: absolute; right: -20px; bottom: -60px; font-size: 220px; line-height: 1; font-weight: 900; color: rgb(26 26 26 / .05); pointer-events: none; }
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--red-light); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.kicker::before, .kicker::after { content: ""; width: 32px; height: 2px; background: currentColor; }
.banner h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 900; margin: 12px 0 4px; }
.banner p { opacity: .8; font-size: 18px; }
.banner .kicker { color: var(--red-dark); }

/* Sections */
.section { padding: 88px 0; }
.head { text-align: center; margin-bottom: 48px; }
.head .kicker { color: var(--red-dark); }
.head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; color: var(--red-dark); margin: 8px 0 4px; }
.head p { color: var(--muted); }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; gap: 56px; }
.g4, .g3 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .g4, .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .g3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .g4 { grid-template-columns: repeat(4, 1fr); } }

/* About */
.photo { position: relative; }
.photo img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; }
.badge { position: absolute; right: -12px; bottom: -24px; background: var(--gold); color: var(--ink); border-radius: 16px; padding: 18px 24px; box-shadow: 0 12px 32px rgb(0 0 0 / .15); }
.badge b { display: block; font-size: 36px; font-weight: 900; line-height: 1; }
.badge small { font-size: 13px; }
.lead { font-size: 18px; font-weight: 500; margin-bottom: 16px; }
.text-muted { color: var(--muted); }
.checks { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; }
.checks svg { color: var(--red-dark); background: var(--red-tint); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.checks b { color: var(--red-dark); }

/* Feature cards */
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, border-color .2s; }
.fcard:hover { transform: translateY(-4px); border-color: var(--red); }
.fcard .top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 18px; }
.fcard .top svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--red-tint); color: var(--red); }
.fcard .num { font-size: 40px; font-weight: 900; color: var(--red); line-height: 1; }
.fcard h3 { font-size: 22px; }
.fcard h4 { color: var(--red-dark); font-size: 12px; letter-spacing: 1px; margin-bottom: 12px; }
.fcard p { font-size: 15px; }
.fcard p + p { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Stats band */
.stats { background: var(--gold) repeating-linear-gradient(-45deg, transparent 0 14px, rgb(0 0 0 / .06) 14px 16px); padding: 48px 0; text-align: center; }
.stats b { display: block; font-size: clamp(40px, 5vw, 56px); font-weight: 900; color: var(--ink); line-height: 1.1; }
.stats strong { display: block; color: var(--ink); font-size: 15px; }
.stats small { font-size: 13px; color: var(--ink); }

/* Principal */
.pcard { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--dark); max-width: 460px; margin-inline: auto; width: 100%; }
.pcard img { width: 100%; height: auto; aspect-ratio: 516/600; object-fit: cover; object-position: top; }
.pcard .cap { position: absolute; inset: auto 0 0; padding: 60px 24px 24px; background: linear-gradient(transparent, var(--dark)); color: #fff; }
.pcard h3 { font-size: 28px; }
.pcard .cap span { color: var(--red-light); font-size: 15px; }
.timeline { display: grid; gap: 14px; margin-top: 24px; }
.tl { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.tl svg { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--cream-2); color: var(--red-dark); }
.tl em { font-style: normal; background: var(--red-tint); padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.tl b { display: block; color: var(--red-dark); margin-top: 4px; }
.tl small { color: var(--muted); font-size: 13px; }
.tl.hl { background: var(--dark); color: #fff; border: 0; align-items: center; }
.tl.hl svg { background: rgb(255 92 96 / .15); color: var(--red-light); }
.tl.hl b { color: #fff; margin: 0; }

/* Subjects */
.subjects { background: #fff; }
.subj-group h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 4px; }
.subj-group h3 em { font-style: normal; font-size: 12px; background: var(--gold); color: var(--ink); padding: 3px 10px; border-radius: 999px; }
.subj-group > small { display: block; opacity: .6; margin-bottom: 20px; }
.subj-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.subj { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c, var(--red)); border-radius: 12px; padding: 16px 18px; }
.subj b { display: block; font-size: 18px; }
.subj small { opacity: .65; font-size: 13px; }
.g2.top { align-items: start; }

/* CTA */
.cta { background: var(--red-tint); color: var(--ink); border-radius: var(--radius); padding: 32px 40px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-top: 56px; }
.cta h3 { font-size: 24px; color: var(--red-dark); }
.cta p { font-size: 15px; }

/* Teachers */
.tcard { background: var(--cream-2); border: 2px solid rgb(229 33 37 / .25); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.tcard:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgb(0 0 0 / .08); }
.tcard .n { width: 44px; height: 44px; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 20px; }
.tcard h3 { font-size: 20px; color: var(--red-dark); }
.tcard .role { color: var(--red-dark); font-weight: 600; font-size: 15px; line-height: 1.3; }
.tcard .yrs { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; margin: 12px 0; }
.tcard .yrs svg { width: 16px; color: var(--red-dark); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tags span { background: var(--red-tint); padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tcard p { font-size: 14px; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tcard ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.tcard li { display: flex; gap: 8px; }
.tcard li svg { width: 14px; height: 14px; margin-top: 3px; color: var(--red-dark); }

/* Contact */
.clist { display: grid; gap: 14px; margin-top: 24px; }
.citem { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; transition: border-color .2s, transform .2s; }
.citem:hover { border-color: var(--red-dark); transform: translateX(4px); }
.citem > svg { width: 24px; height: 24px; color: var(--red-dark); }
.citem small { display: block; font-size: 12px; color: var(--muted); letter-spacing: .5px; }
.citem b { display: block; color: var(--red-dark); }
.citem span { font-size: 13px; color: var(--muted); }
.hours { background: var(--red-tint); border: 1px solid rgb(229 33 37 / .25); border-radius: 14px; padding: 20px 22px; margin-top: 14px; }
.hours h4 { display: flex; gap: 8px; align-items: center; color: var(--red-dark); margin-bottom: 8px; }
.hours small { color: var(--muted); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
.map .addr { display: flex; gap: 12px; background: var(--cream-2); border-top: 1px solid var(--line); padding: 18px 22px; }
.map .addr svg { color: var(--red); }
.map .addr small { opacity: .7; }

/* Explore cards (home) */
.xcard { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, border-color .2s; }
.xcard:hover { transform: translateY(-4px); border-color: var(--red-dark); }
.xcard .serif { font-size: 40px; color: var(--red); line-height: 1; }
.xcard h3 { color: var(--red-dark); font-size: 20px; margin-top: 12px; }
.xcard p { color: var(--muted); font-size: 14px; }
.xcard .more { display: inline-flex; gap: 6px; align-items: center; color: var(--red-dark); font-weight: 600; font-size: 14px; margin-top: 14px; }
.xcard .more svg { width: 16px; }

/* FAQ */
.faqs { max-width: 860px; display: grid; gap: 16px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; }
.faq h2 { font-size: 20px; color: var(--red-dark); line-height: 1.4; margin-bottom: 10px; }
.faq h2 small { display: block; font-size: 15px; font-weight: 500; color: var(--muted); }
.faq .en { color: var(--muted); font-size: 15px; margin-top: 8px; }
.head p { max-width: 760px; margin-inline: auto; }
.head p + p { font-size: 15px; margin-top: 8px; }

/* Footer */
.footer { background: var(--cream-2); color: var(--muted); border-top: 4px solid var(--red); padding: 56px 0 24px; font-size: 14px; }
.footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.footer h4 { color: var(--red-dark); font-size: 13px; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer li { display: flex; gap: 10px; align-items: start; }
.footer li a { padding: 11px 0; margin: -11px 0; } /* 44px tap area without spreading the list */
.footer li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--red); }
.footer li a span { opacity: .5; }
.footer a:hover { color: var(--red-dark); }
.footer .brand { margin-bottom: 16px; }
.footer .brand b { color: var(--red); }
.footer .fine { opacity: .6; font-size: 13px; margin-top: 8px; }
.footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; opacity: .8; }

/* WhatsApp float */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgb(0 0 0 / .25); }
.wa:hover { background: var(--wa-hover); }
.wa svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .badge { right: 12px; }
  .cta { padding: 24px; }
  .hero .wrap { min-height: auto; padding: 48px 0 56px; }
  .hero-stats { display: none; } /* the stats band right below repeats these */
  .stats { padding: 36px 0; }
  .stats .g4 { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stats b { font-size: 36px; }
  .xcard { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 18px 20px; }
  .xcard .serif { grid-row: span 2; font-size: 30px; }
  .xcard h3 { margin: 0; font-size: 17px; }
  .xcard .more { display: none; }
  .subj { padding: 14px; }
  .banner { padding: 48px 0 44px; }
  .banner .ghost { font-size: 150px; bottom: -40px; }
  .map iframe { height: 300px; }
  .footer { padding-bottom: 96px; } /* clear the floating WhatsApp button */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ===== Logo-aligned palette: white + ink black + red stamps ===== */

/* Header: white, like the logo background */
.header { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.header .brand, .header .brand * { color: var(--ink); }
.header .brand b { color: var(--red); }
.header .call { background: var(--red-dark); color: #fff; }
.nav a[aria-current] { border-color: var(--red); color: var(--red-dark); }
.menu nav { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgb(0 0 0 / .08); }
.menu nav a { border-bottom-color: var(--line); }
.menu nav a[aria-current] { color: var(--red-dark); }

/* Hero: rice paper fading into the photo */
.hero h1 small { color: var(--red); }
.hero p + p { opacity: .75; }
.hero .btn-ghost { color: var(--ink); border-color: var(--ink); }
.hero .pill { background: var(--red); color: #fff; border-color: var(--red); border-radius: 2px; }
.hero .pill * { color: #fff; }

/* Stats: white with the logo's thin black frame, red numbers */
.stats {
  background: #fff; padding: 40px 0;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  outline: 1px solid var(--ink); outline-offset: -8px;
}
.stats b { color: var(--red); }

/* CTA: rice paper with a red edge instead of a red block */
.cta { background: var(--cream-2); border: 1px solid var(--line); border-left: 6px solid var(--red); }
.cta h3 { color: var(--ink); }

/* Call buttons -> WhatsApp green */
a[href^="tel:"].btn {
  background: var(--wa);
  color: var(--ink);
  border-color: var(--wa);
}
a[href^="tel:"].btn:hover {
  background: var(--wa-hover);
  color: #fff;
  border-color: var(--wa-hover);
}
