:root {
  --red: #a61f28; --red-dark: #7f171f; --ivory: #fbf8f1; --cream: #f4ecdf;
  --ink: #242322; --muted: #6c6760; --line: rgba(166, 31, 40, .2); --white: #fff;
  --font-sans: "Thonburi", "Noto Sans Thai", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Th Sarabun New", "Noto Serif Thai", "Songti SC", "STSong", Georgia, serif;
  --max: 1320px; --gutter: clamp(20px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font: 16px/1.75 var(--font-sans); -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { display: block; width: 100%; } a { color: inherit; text-decoration: none; } button { font: inherit; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 1000; padding: 10px 15px; color: white; background: var(--red); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(166,31,40,.28); outline-offset: 4px; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(251,248,241,.95); border-bottom: 1px solid rgba(166,31,40,.12); backdrop-filter: blur(14px); }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(59,38,26,.07); }
.header-inner { max-width: 1480px; height: 92px; margin: auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 34px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; }
.brand > span { display: grid; line-height: 1.12; }
.brand strong { color: var(--red); font: 700 29px/1 var(--font-serif); letter-spacing: .08em; }
.brand small { margin-top: 6px; font-size: 12px; }
.main-nav { margin-left: auto; display: flex; gap: 36px; }
.main-nav a { position: relative; padding: 32px 0; font-size: 14px; font-weight: 700; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 23px; height: 2px; background: var(--red); transition: left .2s, right .2s; }
.main-nav a:hover::after, .main-nav a.active::after { left: 0; right: 0; }
.language-switcher { display: flex; padding-left: 22px; border-left: 1px solid var(--line); }
.language-switcher button { padding: 7px 8px; color: var(--muted); background: transparent; border: 0; cursor: pointer; font-size: 12px; font-weight: 700; }
.language-switcher button.active { color: var(--red); text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; }
.hero { min-height: 100svh; padding: 142px var(--gutter) 70px; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid, .about-grid, .contact-grid { width: min(100%, var(--max)); margin: auto; display: grid; align-items: center; }
.hero-grid { grid-template-columns: 1fr 1fr; gap: clamp(42px, 5vw, 72px); }
.school-name { margin: 0 0 24px; color: var(--red); font-size: 14px; font-weight: 800; letter-spacing: .13em; }
.hero h1 { margin: 0; font: 500 clamp(50px, 5vw, 78px)/1.16 var(--font-serif); letter-spacing: -.025em; }
.hero h1 span { color: var(--red); }
.hero-lead { max-width: 560px; margin: 27px 0 34px; color: var(--muted); font-size: clamp(18px, 1.5vw, 22px); }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 27px; color: white; background: var(--red); border: 1px solid var(--red); border-radius: 4px; font-weight: 750; transition: background .2s, transform .2s; }
.button:hover { background: var(--red-dark); transform: translateY(-2px); }
.text-link { color: var(--red); font-weight: 750; }
.text-link b { display: inline-block; transition: transform .2s; } .text-link:hover b { transform: translate(3px, 3px); }
.hero-photo { margin: 0; position: relative; }
.hero-photo::before { content: ""; position: absolute; inset: -13px 13px 13px -13px; z-index: -1; border: 1px solid rgba(166,31,40,.32); }
.hero-photo img { height: clamp(480px, 62vh, 690px); object-fit: cover; object-position: center; }
.hero-photo figcaption { position: absolute; right: 0; bottom: 0; padding: 9px 15px; color: white; background: rgba(127,23,31,.9); font-size: 12px; }
.section { padding: clamp(92px, 11vw, 150px) var(--gutter); scroll-margin-top: 80px; }
.section-label { width: min(100%, var(--max)); margin: 0 auto 56px; display: flex; align-items: center; gap: 14px; color: var(--red); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.section-label span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--red); border-radius: 50%; font-size: 11px; }
.section-label p { margin: 0; }
.about { background: var(--cream); }
.about-grid { grid-template-columns: .72fr 1.28fr; align-items: end; gap: clamp(50px, 8vw, 110px); }
.about-copy h2, .services-intro h2, .contact-copy h2 { margin: 0; font: 500 clamp(42px, 4.7vw, 67px)/1.25 var(--font-serif); }
.about-copy > p { color: var(--muted); font-size: 18px; }
.about-copy .source-note { margin-top: 30px; padding: 18px 0 0; color: var(--red); border-top: 1px solid var(--line); font-weight: 750; }
.wide-photo { margin: 0; } .wide-photo img { min-height: 450px; aspect-ratio: 1.75; object-fit: cover; }
.services { background: var(--ivory); }
.services-intro { width: min(100%, var(--max)); margin: 0 auto 62px; display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: 80px; }
.services-intro > p { margin: 0 0 8px; color: var(--muted); font-size: 18px; }
.service-list { width: min(100%, var(--max)); margin: 0 auto 70px; border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service-item > span { color: var(--red); font-size: 12px; font-weight: 800; }
.service-item h3 { margin: 0; font: 600 clamp(26px, 2.5vw, 36px)/1.3 var(--font-serif); }
.service-item p { margin: 8px 0 0; color: var(--muted); }
.activity-photos { width: min(100%, var(--max)); margin: auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; }
.activity-photos figure { margin: 0; overflow: hidden; } .activity-photos img { height: 420px; object-fit: cover; transition: transform .5s ease; }
.activity-photos figure:hover img { transform: scale(1.02); }
.contact { color: white; background: var(--red-dark); }
.contact .section-label { color: white; } .contact .section-label span { border-color: rgba(255,255,255,.55); }
.contact-grid { grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 9vw, 140px); }
.contact-copy p { color: rgba(255,255,255,.68); font-size: 18px; }
.contact-copy .button { margin-top: 20px; color: var(--red-dark); background: white; border-color: white; }
.contact-copy .button:hover { color: white; background: transparent; }
.contact-details { margin: 0; font-style: normal; border-top: 1px solid rgba(255,255,255,.28); }
.contact-details > div { display: grid; grid-template-columns: 130px 1fr; gap: 30px; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.contact-details span { color: rgba(255,255,255,.6); font-size: 13px; font-weight: 700; }
.contact-details p { margin: 0; } .contact-details a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer { color: var(--ink); background: var(--ivory); }
.footer-inner { max-width: var(--max); margin: auto; padding: 34px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer-brand div { display: grid; line-height: 1.2; } .footer-brand strong { color: var(--red); font: 700 23px/1 var(--font-serif); } .footer-brand span { font-size: 12px; }
.footer-inner > p { margin: 0; color: var(--muted); font-size: 12px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; } .delay-one { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 980px) {
  .site-header { backdrop-filter: none; }
  .header-inner { height: 78px; } .brand img { width: 48px; height: 48px; } .brand small { display: none; }
  .menu-toggle { margin-left: auto; width: 42px; height: 42px; display: grid; place-content: center; gap: 6px; color: var(--red); background: transparent; border: 1px solid var(--line); border-radius: 50%; }
  .menu-toggle span { width: 19px; height: 1.5px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); } .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .main-nav { position: absolute; inset: 78px 0 auto; width: 100vw; height: calc(100svh - 78px); z-index: 90; padding: 44px var(--gutter); display: grid; align-content: start; gap: 0; background: var(--ivory); transform: translateX(100%); transition: transform .3s ease; }
  .main-nav.open { transform: translateX(0); } .main-nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font: 600 24px/1.3 var(--font-serif); } .main-nav a::after { display: none; }
  .language-switcher { margin-left: 0; padding-left: 12px; } .hero { padding-top: 118px; }
  .hero-grid { grid-template-columns: 1fr; } .hero-photo { order: -1; } .hero-photo img { height: min(53vh, 540px); min-height: 360px; }
  .about-grid, .contact-grid, .services-intro { grid-template-columns: 1fr; } .services-intro { gap: 22px; } .activity-photos img { height: 340px; }
}
@media (max-width: 620px) {
  :root { --gutter: 20px; } .brand strong { font-size: 25px; } .language-switcher button { padding-inline: 5px; font-size: 11px; }
  .hero { min-height: auto; padding-bottom: 76px; } .hero h1 { font-size: clamp(47px, 14vw, 63px); } .hero-photo img { min-height: 310px; height: 43vh; }
  .section { padding-block: 82px; } .section-label { margin-bottom: 38px; } .about-grid { gap: 38px; } .wide-photo img { min-height: 300px; aspect-ratio: 1.25; }
  .service-item { grid-template-columns: 42px 1fr; } .activity-photos { grid-template-columns: 1fr; } .activity-photos img { height: 290px; }
  .contact-grid { gap: 48px; } .contact-details > div { grid-template-columns: 1fr; gap: 7px; } .footer-inner { align-items: flex-start; flex-direction: column; }
}
