/* ──────────────────────────────────────────────────────────────
   PBS Hatyai — site styles
   Fonts mirror pbshatyai.ac.th: HV Florentino (display) +
   Poppins (body) + Outfit (secondary). Sarabun for Thai fallback.
   ────────────────────────────────────────────────────────────── */

@font-face{
  font-family:'HV Florentino';
  src:url('assets/HVFlorentino.ttf') format('truetype');
  font-weight:400;font-style:normal;font-display:swap;
}

:root{
  --ink:#101a3a;
  --ink-2:#1d2950;
  --navy:#16204a;
  --navy-2:#0e1735;
  --navy-soft:#eef0f8;
  --muted:#5a6075;
  --gold:#c9a14a;
  --gold-2:#a8802a;
  --gold-soft:#f6efde;
  --cream:#faf6ee;
  --paper:#ffffff;
  --line:#e6e3d6;
  --line-2:#eeece4;

  --utility-h:38px;
  --header-h:130px;
  --header-h-scrolled:130px;  /* same — header doesn't change size on scroll */
  --logo-h:110px;
  --logo-h-scrolled:110px;     /* same — logo doesn't shrink on scroll */
  --top-stack:168px;            /* utility-h + header-h, used for hero offset */
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Poppins','Sarabun',system-ui,sans-serif;
  font-size:15.5px;line-height:1.7;color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
/* Prevent orphan/widow words across the site (CSS text-wrap; modern browsers).
   Headings get balanced wrap; long paragraphs get the "pretty" algorithm. */
h1,h2,h3,h4,h5,h6{text-wrap:balance}
p{text-wrap:pretty}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit}
.container{max-width:1240px;margin:0 auto;padding:0 32px;width:100%}
.serif{font-family:'HV Florentino','Outfit',serif}
.eyebrow{
  font-family:'Outfit','Poppins',sans-serif;font-size:11.5px;font-weight:600;
  letter-spacing:.22em;text-transform:uppercase;color:var(--gold-2);
}

/* ───── Utility bar ───── */
.utility{
  background:#fff;color:var(--muted);font-size:12.5px;
  font-family:'Outfit','Poppins',sans-serif;border-bottom:1px solid var(--line-2);
  position:fixed;top:0;left:0;right:0;z-index:65;
  height:var(--utility-h);
  transition:background .35s ease, color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.utility .container{height:100%}
/* Transparent utility on hero pages (sits over the photo, header is below) */
body.has-hero .utility{
  background:transparent;border-bottom:0;color:rgba(255,255,255,.92);
}
/* Translucent utility once you've scrolled past the hero */
body.has-hero.scrolled .utility{
  background:rgba(14,23,53,.65);
  backdrop-filter:saturate(160%) blur(14px);
  -webkit-backdrop-filter:saturate(160%) blur(14px);
  color:rgba(255,255,255,.95);
}
body.has-hero .utility .left a{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.4)}
body.has-hero .utility .left a:hover{color:var(--gold)}
body.has-hero .utility .lang{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.25)}
body.has-hero .utility .lang button{color:rgba(255,255,255,.78)}
body.has-hero .utility .lang button.on{background:rgba(255,255,255,.22);color:#fff;box-shadow:none}
body.has-hero .utility .socials a{background:rgba(255,255,255,.14);color:#fff}
body.has-hero .utility .socials a:hover{background:var(--gold);color:#fff}
.utility .container{display:flex;justify-content:space-between;align-items:center;padding-top:9px;padding-bottom:9px}
.utility .left{display:flex;gap:22px}
.utility .left a{display:inline-flex;align-items:center;gap:7px;transition:color .2s}
.utility .left a:hover{color:var(--gold-2)}
.utility svg{width:13px;height:13px}
.utility .right{display:flex;gap:18px;align-items:center}
.utility .lang{display:inline-flex;gap:2px;background:var(--cream);padding:3px 5px;border-radius:999px;border:1px solid var(--line-2)}
.utility .lang button{background:none;border:0;color:var(--muted);cursor:pointer;font:inherit;padding:1px 9px;border-radius:999px;font-size:11.5px;font-weight:500}
.utility .lang button.on{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.utility .socials{display:flex;gap:6px}
.utility .socials a{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--cream);transition:.2s;color:var(--ink-2)}
.utility .socials a:hover{background:var(--gold);color:#fff}
.utility .socials svg{width:12px;height:12px}

/* ───── Header ─────
   Two states: transparent over hero, solid when scrolled.
   `body.has-hero` adds a hero on the page → header floats over it.
*/
header.site{
  position:fixed;top:var(--utility-h);left:0;right:0;z-index:60;
  height:var(--header-h);
  background:transparent;
  pointer-events:none;
  border-bottom:1px solid transparent;
  color:#fff;
  transition:background .35s ease, color .35s ease, box-shadow .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
header.site .container > *{pointer-events:auto}
header.site .container{display:flex;align-items:center;justify-content:space-between;height:100%;gap:28px}
header.site .brand{display:flex;align-items:center;gap:14px;height:100%;position:relative}
header.site .brand img{height:var(--logo-h);width:auto;display:block;transition:opacity .25s ease;filter:drop-shadow(0 4px 16px rgba(0,0,0,.5))}
header.site .brand img.dark{position:absolute;left:0;top:50%;transform:translateY(-50%);opacity:0;filter:none;pointer-events:none}
header.site .brand .wordmark{
  display:inline-block;line-height:1;color:#fff;
  font-family:'HV Florentino',serif;letter-spacing:.01em;font-weight:400;
  font-size:17px;
  text-shadow:0 2px 14px rgba(0,0,0,.55);
  white-space:nowrap;
}

/* Scrolled hero state — translucent dark glass (white logo + nav stay visible, parallax feel) */
header.site.scrolled{
  background:rgba(14,23,53,.62);
  backdrop-filter:saturate(180%) blur(18px);
  -webkit-backdrop-filter:saturate(180%) blur(18px);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 6px 28px -14px rgba(0,0,0,.35);
}
/* Non-hero pages — solid white from the start */
body:not(.has-hero) header.site{
  background:rgba(255,255,255,.94);
  backdrop-filter:saturate(180%) blur(18px);
  -webkit-backdrop-filter:saturate(180%) blur(18px);
  border-bottom:1px solid var(--line);
  box-shadow:0 6px 28px -14px rgba(20,16,8,.18);
  color:var(--ink-2);
}
/* Non-hero pages: hide white crest + HTML wordmark, show full-color dark lockup */
body:not(.has-hero) header.site .brand img.light,
body:not(.has-hero) header.site .brand .wordmark{opacity:0;width:0;overflow:hidden}
body:not(.has-hero) header.site .brand img.dark{opacity:1;position:relative;left:auto;top:auto;transform:none;height:var(--logo-h);filter:none}
/* Hero scroll keeps the white crest + wordmark — header just dims behind */

nav.primary{display:flex;gap:0;align-items:center;flex-wrap:nowrap}
nav.primary > .item{position:relative}
nav.primary > .item > a{
  display:inline-flex;align-items:center;gap:5px;
  padding:10px 13px;border-radius:8px;
  font-family:'Outfit','Poppins',sans-serif;font-size:13.5px;font-weight:500;
  letter-spacing:.01em;color:inherit;
  text-shadow:0 1px 8px rgba(0,0,0,.35);
  transition:.18s;
}
body:not(.has-hero) nav.primary > .item > a{text-shadow:none}
nav.primary > .item > a:hover{color:var(--gold)}
body:not(.has-hero) nav.primary > .item > a:hover{color:var(--gold-2);background:var(--cream)}
nav.primary > .item > a.active{color:var(--gold)}
body:not(.has-hero) nav.primary > .item > a.active{color:var(--gold-2)}
nav.primary > .item > a .chev{width:10px;height:10px;opacity:.7}
nav.primary .submenu{
  position:absolute;top:calc(100% + 4px);left:0;
  background:#fff;border:1px solid var(--line);border-radius:14px;
  padding:18px 20px;min-width:240px;color:var(--ink-2);
  box-shadow:0 24px 50px -20px rgba(60,40,15,.18);
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:.18s;
  z-index:80;
}
nav.primary > .item:hover .submenu,
nav.primary > .item:focus-within .submenu{opacity:1;visibility:visible;transform:translateY(0)}
nav.primary .submenu .group{margin-bottom:14px}
nav.primary .submenu .group:last-child{margin-bottom:0}
nav.primary .submenu h6{font-family:'Outfit',sans-serif;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.16em;color:var(--gold-2);margin:0 0 8px}
nav.primary .submenu a{display:block;padding:6px 0;font-size:13.5px;color:var(--ink-2);font-family:'Outfit','Poppins',sans-serif;font-weight:500}
nav.primary .submenu a:hover{color:var(--gold-2)}
nav.primary .cta-nav{
  background:var(--gold);color:#fff;margin-left:8px;
  padding:9px 18px;border-radius:999px;font-weight:600;font-size:12.5px;
  font-family:'Outfit',sans-serif;letter-spacing:.03em;
  position:relative;overflow:hidden;isolation:isolate;
  transition:transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease;
  box-shadow:0 4px 12px -4px rgba(168,128,42,.5);
}
nav.primary .cta-nav::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(120deg, var(--gold) 0%, var(--gold-2) 50%, var(--gold) 100%);
  background-size:220% 100%;background-position:100% 0;
  transition:background-position .55s cubic-bezier(.22,.61,.36,1);
}
nav.primary .cta-nav:hover{color:#fff;transform:translateY(-2px);box-shadow:0 12px 22px -8px rgba(168,128,42,.55)}
nav.primary .cta-nav:hover::before{background-position:0% 0}

/* Mobile burger */
.burger{
  display:none;background:none;border:0;color:inherit;cursor:pointer;
  width:40px;height:40px;align-items:center;justify-content:center;
}
.burger svg{width:24px;height:24px}
.mobile-nav{
  position:fixed;inset:0;z-index:120;background:#fff;color:var(--ink-2);
  padding:96px 28px 40px;overflow-y:auto;overflow-x:hidden;
  transform:translateX(100%);transition:transform .35s ease;
  isolation:isolate;
}
/* Subtle photo slideshow background — auto-fades through campus photos at low opacity */
.mobile-nav::before{
  content:"";position:absolute;inset:0;z-index:-2;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.96) 100%),
    var(--mn-bg, url('assets/photos/marketing/openhouse-1.jpg'));
  background-size:cover;background-position:center;
  animation:mn-pan 30s ease-in-out infinite alternate;
}
.mobile-nav::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(201,161,74,.10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(14,23,53,.08), transparent 60%);
  pointer-events:none;
}
@keyframes mn-pan{
  0%{background-position:0 0, 50% 50%;transform:scale(1.0)}
  100%{background-position:0 0, 50% 30%;transform:scale(1.04)}
}
.mobile-nav.open{transform:translateX(0)}
.mobile-nav .close{position:absolute;top:24px;right:24px;background:none;border:0;cursor:pointer;color:var(--ink-2);width:40px;height:40px;display:grid;place-items:center}
.mobile-nav .close svg{width:24px;height:24px}
.mobile-nav details{border-bottom:1px solid var(--line-2);padding:14px 4px}
.mobile-nav summary{list-style:none;cursor:pointer;font-family:'Outfit',sans-serif;font-weight:600;font-size:16px;display:flex;justify-content:space-between;align-items:center}
.mobile-nav summary::-webkit-details-marker{display:none}
.mobile-nav summary svg{width:14px;height:14px;transition:transform .25s}
.mobile-nav details[open] summary svg{transform:rotate(180deg)}
.mobile-nav .m-link{display:block;padding:14px 4px;border-bottom:1px solid var(--line-2);font-family:'Outfit',sans-serif;font-weight:600;font-size:16px}
.mobile-nav .submenu-m{padding:8px 0 4px}
.mobile-nav .submenu-m h6{font-family:'Outfit',sans-serif;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:var(--gold-2);margin:14px 0 6px}
.mobile-nav .submenu-m a{display:block;padding:6px 0;font-size:14.5px;color:var(--ink-2)}
.mobile-nav .cta-nav-m{display:inline-flex;margin-top:20px;background:var(--gold);color:#fff;padding:13px 22px;border-radius:999px;font-family:'Outfit',sans-serif;font-weight:600;font-size:14px;align-items:center;justify-content:center;align-self:flex-start}
.mobile-nav .m-contact{margin-top:24px;display:grid;gap:6px;border-top:1px solid var(--line-2);padding-top:20px}
.mobile-nav .m-contact-row{display:flex;align-items:center;gap:12px;padding:10px 0;color:var(--ink-2);font-family:'Outfit',sans-serif;font-size:14.5px;font-weight:500;transition:color .2s}
.mobile-nav .m-contact-row:hover{color:var(--gold-2)}
.mobile-nav .m-contact-row svg{width:16px;height:16px;color:var(--gold-2);flex-shrink:0}
.mobile-nav .m-socials{display:flex;gap:10px;margin-top:18px}
.mobile-nav .m-socials a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--cream);color:var(--ink-2);transition:.2s}
.mobile-nav .m-socials a:hover{background:var(--gold);color:#fff}
.mobile-nav .m-socials svg{width:16px;height:16px}

/* spacer to push content below fixed utility+header on non-hero pages */
.header-spacer{height:0}
body:not(.has-hero) .header-spacer{height:calc(var(--utility-h) + var(--header-h))}

/* ───── Hero (homepage — slideshow) ───── */
.hero{
  position:relative;color:#fff;
  min-height:760px;overflow:hidden;
  display:flex;align-items:center;
  background:var(--navy-2);
  padding-top:var(--top-stack);
}
.hero .slideshow{position:absolute;inset:0;z-index:1;overflow:hidden}
.hero .slideshow .slide{
  position:absolute;inset:0;
  background-size:cover;background-position:center;
  opacity:0;transform:scale(1.04);
  transition:opacity 1.6s ease-in-out, transform 8s ease-out;
}
.hero .slideshow .slide.on{opacity:1;transform:scale(1)}
.hero::before{
  content:"";position:absolute;inset:0;z-index:2;
  background:
    linear-gradient(180deg, rgba(8,12,28,.55) 0%, rgba(8,12,28,.20) 22%, rgba(8,12,28,0) 42%),
    linear-gradient(95deg, rgba(14,23,53,.65) 0%, rgba(14,23,53,.36) 55%, rgba(14,23,53,.12) 100%);
}
.hero .container{position:relative;z-index:3;padding-top:80px;padding-bottom:120px}
.hero .copy{max-width:760px}
.hero h1{
  font-family:'HV Florentino',serif;font-weight:400;
  font-size:clamp(44px,6.2vw,82px);line-height:1.02;letter-spacing:-.005em;
  margin:0 0 16px;color:#fff;
}
.hero h1 em{font-style:italic;color:var(--gold);font-weight:400}
.hero .lede{font-size:18px;color:#f0e9d8;max-width:580px;margin:0 0 10px;font-weight:300}
.hero .sub{font-family:'HV Florentino',serif;font-size:24px;font-style:italic;color:var(--gold);margin:0 0 32px;font-weight:700;text-shadow:0 2px 8px rgba(255,255,255,.1)}
.hero .actions{display:flex;gap:12px;flex-wrap:wrap}
.cta{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--gold);color:#fff;
  padding:13px 24px;border-radius:999px;
  font-family:'Outfit',sans-serif;font-weight:600;font-size:13.5px;
  letter-spacing:.02em;cursor:pointer;border:0;
  position:relative;overflow:hidden;isolation:isolate;
  transition:transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease, color .25s ease;
  box-shadow:0 4px 14px -6px rgba(168,128,42,.55);
}
/* Gold shimmer sweep on hover (primary CTA) */
.cta::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(120deg, var(--gold) 0%, var(--gold-2) 45%, var(--gold) 90%);
  background-size:220% 100%;background-position:100% 0;
  transition:background-position .55s cubic-bezier(.22,.61,.36,1);
}
.cta:hover{
  color:#fff;transform:translateY(-2px);
  box-shadow:0 14px 28px -10px rgba(168,128,42,.55);
}
.cta:hover::before{background-position:0% 0}
.cta:active{transform:translateY(0);box-shadow:0 4px 10px -4px rgba(168,128,42,.6)}
.cta svg{transition:transform .3s cubic-bezier(.22,.61,.36,1)}
.cta:hover svg{transform:translateX(4px)}

/* Ghost CTA (white-on-photo) — fills with white pill on hover */
.cta.ghost{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.45);box-shadow:none}
.cta.ghost::before{
  background:linear-gradient(120deg, #fff 0%, var(--cream) 100%);
  opacity:0;transition:opacity .3s ease;
}
.cta.ghost:hover{color:var(--ink);border-color:#fff;transform:translateY(-2px);box-shadow:0 14px 28px -10px rgba(0,0,0,.35)}
.cta.ghost:hover::before{opacity:1;background-position:0% 0}

/* Outline CTA (gold-on-light) — fills with gold on hover */
.cta.outline{background:transparent;color:var(--gold-2);border:1.5px solid var(--gold);box-shadow:none}
.cta.outline::before{
  background:linear-gradient(120deg, var(--gold) 0%, var(--gold-2) 100%);
  opacity:0;transition:opacity .3s ease;
}
.cta.outline:hover{color:#fff;transform:translateY(-2px);box-shadow:0 14px 28px -10px rgba(168,128,42,.5)}
.cta.outline:hover::before{opacity:1}
.hero .dots{position:absolute;left:50%;transform:translateX(-50%);bottom:32px;display:flex;gap:8px;z-index:4}
.hero .dots span{width:30px;height:3px;background:rgba(255,255,255,.32);border-radius:2px;transition:.4s;cursor:pointer}
.hero .dots span.on{background:#fff;width:46px}

/* parallax scroll effect for hero slideshow (subtle) */
.hero .slideshow{will-change:transform}

/* ───── Page hero (sub-pages) ───── */
.page-hero{
  position:relative;color:#fff;
  min-height:460px;display:flex;align-items:flex-end;overflow:hidden;
  background:var(--navy-2);
  padding:calc(var(--top-stack) + 28px) 0 56px;
}
.page-hero .ph{
  position:absolute;inset:0;z-index:1;
  background-size:cover;background-position:center 30%;  /* favors faces in upper third of group photos */
  transform:scale(1.04);
}
.page-hero::before{
  content:"";position:absolute;inset:0;z-index:2;
  background:linear-gradient(180deg,rgba(14,23,53,.55) 0%,rgba(14,23,53,.78) 100%);
}
.page-hero .container{position:relative;z-index:3}
.page-hero .crumbs{
  font-family:'Outfit',sans-serif;font-size:12px;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(255,255,255,.7);margin:0 0 14px;
  display:flex;gap:10px;align-items:center;flex-wrap:wrap;
}
.page-hero .crumbs a:hover{color:var(--gold)}
.page-hero .crumbs .sep{opacity:.45}
.page-hero h1{
  font-family:'HV Florentino',serif;font-weight:400;
  font-size:clamp(36px,4.6vw,62px);line-height:1.04;letter-spacing:-.005em;
  margin:0 0 12px;color:#fff;
}
.page-hero h1 em{font-style:italic;color:var(--gold);font-weight:400}
.page-hero p{margin:0;color:#e8e2d2;font-size:17px;max-width:640px;font-weight:300}

/* ───── Section ───── */
section.section{padding:80px 0;background:#fff}
section.section.tight{padding:36px 0}
section.section.cream{background:var(--cream)}
/* Tighten the gap between a banner-style .tight and the section that follows */
section.section.tight + section.section{padding-top:40px}
section.section + section.section.tight{padding-top:40px}
/* Same idea for the heaviest navy section followed by a tight CTA */
section.section.navy + section.section.tight{padding-top:48px}
/* ───── Navy section variant — strategic accent (one per page) ───── */
section.section.navy{
  background:var(--navy-2);color:#e8ecf6;
  position:relative;overflow:hidden;
}
section.section.navy::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(1200px 600px at 85% -10%, rgba(201,161,74,.08), transparent 60%),
             radial-gradient(800px 400px at 15% 110%, rgba(201,161,74,.06), transparent 60%);
  pointer-events:none;
}
section.section.navy > .container{position:relative;z-index:1}
section.section.navy .section-head h2{color:#fff}
section.section.navy .section-head h2 em{color:var(--gold)}
section.section.navy .section-head p{color:rgba(232,236,246,.78)}
section.section.navy .eyebrow{color:var(--gold)}
section.section.navy h3,
section.section.navy h4{color:#fff}
section.section.navy p{color:rgba(232,236,246,.82)}
section.section.navy .approach .num{color:var(--gold)}
section.section.navy .approach .num::before{background:var(--gold)}
section.section.navy .approach ul li b,
section.section.navy .approach .lead{color:#fff}
section.section.navy .approach ul li::before{background:var(--gold)}
section.section.navy .approach ul li{color:rgba(232,236,246,.78)}
section.section.navy .skill,
section.section.navy .feature,
section.section.navy .value{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(2px);
}
section.section.navy .skill:hover,
section.section.navy .feature:hover,
section.section.navy .value:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(201,161,74,.5);
  transform:translateY(-3px);
  box-shadow:0 18px 35px -22px rgba(0,0,0,.5);
}
section.section.navy .skill .ic,
section.section.navy .feature .ic,
section.section.navy .value .ic{
  background:rgba(201,161,74,.16);color:var(--gold);
}
section.section.navy .value::before{background:var(--gold)}
section.section.navy .skill p,
section.section.navy .feature p,
section.section.navy .value p{color:rgba(232,236,246,.7)}
section.section.navy .cta.outline{color:var(--gold);border-color:var(--gold)}
section.section.navy .cta.outline:hover{background:var(--gold);color:#fff}
section.section.navy table.data{background:transparent;color:#e8ecf6}
section.section.navy table.data thead th{background:rgba(255,255,255,.05);color:var(--gold);border-bottom:1px solid rgba(255,255,255,.1)}
section.section.navy table.data td{border-bottom:1px solid rgba(255,255,255,.06)}
section.section.navy .table-wrap{background:transparent;border-color:rgba(255,255,255,.08)}
section.section.navy table.data tbody tr:hover{background:rgba(255,255,255,.04)}
section.section.navy .ph{
  box-shadow:0 30px 60px -35px rgba(0,0,0,.6);
}
section.section.navy .prose p{color:rgba(232,236,246,.78)}
section.section.navy .prose blockquote{color:#fff;border-left-color:var(--gold)}
section.section.navy .split h2{color:#fff}
section.section.navy .split p{color:rgba(232,236,246,.78)}
section.section.navy .split ul li{color:rgba(232,236,246,.78)}
section.section.navy .split ul li b{color:#fff}
.section-head{margin-bottom:56px;text-align:center;max-width:780px;margin-left:auto;margin-right:auto}
.section-head .eyebrow{display:inline-block;margin-bottom:8px}
.section-head h2{
  font-family:'HV Florentino',serif;font-weight:400;
  font-size:clamp(34px,3.6vw,54px);line-height:1.06;letter-spacing:-.005em;
  margin:6px 0 18px;color:var(--ink);
}
.section-head h2 em{font-style:italic;color:var(--gold-2);font-weight:400}
.section-head p{color:var(--muted);font-size:16.5px;margin:0;text-wrap:pretty;font-weight:400}

/* ───── Two-card curriculum ───── */
.two-card{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}
.curri-card{
  background:#fff;border:1px solid var(--line);border-radius:20px;
  overflow:hidden;display:flex;flex-direction:column;
  transition:.3s;
}
section.cream .curri-card{background:#fff}
.curri-card:hover{transform:translateY(-4px);box-shadow:0 24px 50px -30px rgba(60,40,15,.22);border-color:var(--gold)}
.curri-card .ph{aspect-ratio:16/9;background-size:cover;background-position:center;background-color:var(--cream);transition:transform 6s ease-out}
.curri-card:hover .ph{transform:scale(1.04)}
.curri-card .body{padding:28px 36px 32px;flex:1;display:flex;flex-direction:column}
.curri-card .curri-mark{width:auto;height:120px;object-fit:contain;object-position:left center;margin:6px 0 18px;display:block}
.curri-card h3{font-family:'HV Florentino',serif;font-size:30px;font-weight:400;letter-spacing:-.005em;margin:6px 0 14px}
.curri-card p{color:var(--muted);margin:0 0 22px;font-size:15.5px}
.curri-card .more{
  display:inline-flex;align-items:center;gap:8px;color:var(--gold-2);
  font-weight:600;font-size:13.5px;font-family:'Outfit',sans-serif;margin-top:auto;
  letter-spacing:.02em;
}
.curri-card .more svg{width:14px;height:14px;transition:.2s}
.curri-card:hover .more svg{transform:translateX(4px)}

/* ───── Approach (alternating rows) ───── */
.approach-list{display:flex;flex-direction:column;gap:96px;margin-top:24px}
.approach{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.approach.flip{direction:rtl}
.approach.flip > *{direction:ltr}
.approach .ph{
  border-radius:20px;overflow:hidden;aspect-ratio:5/4;background-size:cover;background-position:center;
  background-color:var(--cream);
  box-shadow:0 30px 60px -35px rgba(60,40,15,.3);
  transition:transform .8s ease-out;
}
.approach:hover .ph{transform:translateY(-4px)}
.approach .num{
  display:inline-flex;align-items:center;gap:14px;
  font-family:'Outfit',sans-serif;font-size:12.5px;color:var(--gold-2);
  letter-spacing:.18em;text-transform:uppercase;font-weight:600;
}
.approach .num::before{content:"";display:inline-block;width:36px;height:1.5px;background:var(--gold)}
.approach h3{
  font-family:'HV Florentino',serif;font-weight:400;
  font-size:clamp(28px,2.8vw,42px);line-height:1.1;letter-spacing:-.005em;
  margin:18px 0 10px;
}
.approach h3 em{font-style:italic;color:var(--gold-2);font-weight:400}
.approach .lead{font-weight:500;color:var(--ink);font-size:16.5px;margin:0 0 14px}
.approach p{color:var(--muted);font-size:15.5px;margin:0 0 14px}
.approach ul{margin:0 0 14px;padding-left:0;list-style:none;display:grid;gap:10px}
.approach ul li{position:relative;padding-left:22px;color:var(--muted);font-size:15px}
.approach ul li::before{content:"";position:absolute;left:0;top:11px;width:10px;height:2px;background:var(--gold)}
.approach ul li b{color:var(--ink);font-weight:600}

/* ───── 21st Century Skills ───── */
.skills-wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center}
.skills-wrap .ph{
  border-radius:20px;overflow:hidden;aspect-ratio:4/3;background-size:cover;background-position:center;
  background-color:var(--cream);box-shadow:0 30px 60px -35px rgba(60,40,15,.3);
}
.skills{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.skill{
  background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:24px 22px;transition:.25s;
}
.skill:hover{border-color:var(--gold);transform:translateY(-2px)}
.skill .ic{
  width:44px;height:44px;border-radius:12px;background:var(--gold-soft);
  display:grid;place-items:center;margin-bottom:14px;color:var(--gold-2);
}
.skill .ic svg{width:22px;height:22px}
.skill h4{font-family:'HV Florentino',serif;font-size:19px;font-weight:400;margin:0 0 6px}
.skill p{font-size:13.5px;color:var(--muted);margin:0;line-height:1.55}

/* ───── PBS Values ───── */
.values{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.value{
  background:#fff;border:1px solid var(--line);border-radius:18px;
  padding:32px 28px;transition:.3s;position:relative;overflow:hidden;
}
.value::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:var(--gold);transform-origin:left;transform:scaleX(0);transition:.3s;
}
.value:hover::before{transform:scaleX(1)}
.value:hover{border-color:var(--gold);transform:translateY(-3px);box-shadow:0 18px 35px -22px rgba(60,40,15,.18)}
.value .ic{
  width:54px;height:54px;border-radius:50%;
  background:var(--gold-soft);color:var(--gold-2);
  display:grid;place-items:center;margin-bottom:18px;
}
.value .ic svg{width:26px;height:26px}
.value h4{font-family:'HV Florentino',serif;font-size:23px;font-weight:400;margin:0 0 8px;letter-spacing:-.005em}
.value p{font-size:14.5px;color:var(--muted);margin:0;line-height:1.65}

/* ───── Director ───── */
.director{display:grid;grid-template-columns:.85fr 1.15fr;gap:60px;align-items:center}
.director .portrait{
  border-radius:20px;overflow:hidden;aspect-ratio:4/5;background-size:cover;background-position:center top;
  background-color:var(--cream);
  box-shadow:0 30px 60px -35px rgba(60,40,15,.3);
}
.director h2{font-family:'HV Florentino',serif;font-size:clamp(30px,3vw,46px);font-weight:400;letter-spacing:-.005em;line-height:1.1;margin:14px 0 18px}
.director h2 em{font-style:italic;color:var(--gold-2);font-weight:400}
.director .credit{margin:0 0 22px}
.director .credit b{font-family:'HV Florentino',serif;font-size:24px;font-weight:400;display:block}
.director .credit small{display:block;color:var(--muted);font-size:13.5px;font-family:'Outfit',sans-serif;margin-top:2px;letter-spacing:.02em}
.director p{color:var(--muted);font-size:15.5px;margin:0 0 14px}
.director .actions{margin-top:24px}

/* ───── Apply banner ───── */
.apply-banner{
  background:var(--cream);border:1px solid var(--line);border-radius:24px;
  padding:56px 64px;display:grid;grid-template-columns:1.4fr auto;gap:32px;align-items:center;
}
.apply-banner h3{font-family:'HV Florentino',serif;font-size:36px;font-weight:400;letter-spacing:-.005em;margin:0 0 8px;line-height:1.12}
.apply-banner h3 em{font-style:italic;color:var(--gold-2);font-weight:400}
.apply-banner p{margin:0;color:var(--muted);font-size:15.5px}

/* ───── News ───── */
.news{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:8px}
.news-card{
  background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;
  display:flex;flex-direction:column;transition:.3s;
}
.news-card:hover{border-color:var(--gold);transform:translateY(-3px);box-shadow:0 18px 35px -22px rgba(60,40,15,.18)}
.news-card .ph{aspect-ratio:4/3;background-size:cover;background-position:center;background-color:var(--cream);transition:transform 4s ease-out}
.news-card:hover .ph{transform:scale(1.05)}
.news-card .body{padding:18px 22px 22px;flex:1;display:flex;flex-direction:column;gap:8px}
.news-card .meta{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--muted);font-family:'Outfit',sans-serif;text-transform:uppercase;letter-spacing:.1em}
.news-card .tag{background:var(--gold-soft);color:var(--gold-2);padding:2px 9px;border-radius:999px;font-weight:700;font-size:10.5px}
.news-card h4{font-family:'HV Florentino',serif;font-size:19px;font-weight:400;margin:2px 0 0;line-height:1.24;letter-spacing:-.005em}
.news-card .more{margin-top:auto;color:var(--gold-2);font-weight:600;font-size:13px;font-family:'Outfit',sans-serif;display:inline-flex;align-items:center;gap:6px;padding-top:10px}
.news-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:8px;flex-wrap:wrap}
.news-head .left h2{font-family:'HV Florentino',serif;font-size:clamp(34px,3.4vw,50px);font-weight:400;margin:6px 0 0;letter-spacing:-.005em;line-height:1.06}
.news-head .left h2 em{font-style:italic;color:var(--gold-2);font-weight:400}
.news-head .left p{color:var(--muted);margin:8px 0 0;font-size:16px}

/* ───── Marquee ───── */
.marquee{
  background:var(--navy-2);color:#fff;padding:14px 0;overflow:hidden;
  font-family:'Outfit',sans-serif;font-weight:500;font-size:13.5px;letter-spacing:.02em;
  border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06);
}
.marquee .track{display:flex;gap:60px;white-space:nowrap;animation:scroll 42s linear infinite}
.marquee span{display:inline-flex;align-items:center;gap:14px}
.marquee span::before{content:"●";color:var(--gold);font-size:7px}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ───── Final CTA ───── */
.final-cta{
  position:relative;border-radius:24px;overflow:hidden;color:#fff;
  background:var(--navy-2);padding:80px 64px;text-align:center;
}
.final-cta::before{
  content:"";position:absolute;inset:0;
  background-image:url('assets/photos/DSC_4048-1-e1741709720528.jpg');
  background-size:cover;background-position:center;opacity:.32;
}
.final-cta::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(14,23,53,.65),rgba(14,23,53,.88));
}
.final-cta > *{position:relative;z-index:2}
.final-cta h2{font-family:'HV Florentino',serif;font-size:clamp(36px,4vw,58px);font-weight:400;letter-spacing:-.005em;line-height:1.04;margin:0 0 14px;color:#fff}
.final-cta h2 em{color:var(--gold);font-style:italic;font-weight:400}
.final-cta p{color:#e8e2d2;font-size:17px;margin:0 auto 32px;max-width:560px}
.final-cta .actions{display:inline-flex;gap:12px;flex-wrap:wrap;justify-content:center}

/* ───── Generic content blocks (sub-pages) ───── */
.prose{max-width:780px;margin:0 auto;font-size:16.5px;color:var(--ink-2)}
.prose p{margin:0 0 18px;color:var(--muted);line-height:1.78}
.prose h2{font-family:'HV Florentino',serif;font-size:clamp(26px,2.6vw,38px);font-weight:400;letter-spacing:-.005em;margin:36px 0 16px;color:var(--ink)}
.prose h2 em{font-style:italic;color:var(--gold-2);font-weight:400}
.prose h3{font-family:'HV Florentino',serif;font-size:24px;font-weight:400;margin:28px 0 10px}
.prose ul{padding-left:18px;margin:0 0 18px}
.prose ul li{margin:0 0 8px;color:var(--muted)}
.prose ul li::marker{color:var(--gold)}
.prose blockquote{border-left:3px solid var(--gold);padding:8px 0 8px 22px;margin:24px 0;font-family:'HV Florentino',serif;font-style:italic;font-size:21px;color:var(--ink);line-height:1.4}
.prose img{border-radius:14px;margin:28px 0}

.split{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.split .ph{border-radius:20px;overflow:hidden;aspect-ratio:5/4;background-size:cover;background-position:center;background-color:var(--cream);box-shadow:0 30px 60px -35px rgba(60,40,15,.3)}
.split.flip{direction:rtl}
.split.flip > *{direction:ltr}
.split h2{font-family:'HV Florentino',serif;font-size:clamp(28px,2.8vw,40px);font-weight:400;letter-spacing:-.005em;line-height:1.08;margin:14px 0 14px}
.split h2 em{font-style:italic;color:var(--gold-2);font-weight:400}
.split p{color:var(--muted);font-size:15.5px;margin:0 0 14px}
.split ul{margin:0 0 14px;padding-left:0;list-style:none;display:grid;gap:10px}
.split ul li{position:relative;padding-left:22px;color:var(--muted)}
.split ul li::before{content:"";position:absolute;left:0;top:11px;width:10px;height:2px;background:var(--gold)}

.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.feature{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px 26px;transition:.3s}
section.cream .feature{background:#fff}
.feature:hover{border-color:var(--gold);transform:translateY(-3px);box-shadow:0 18px 35px -22px rgba(60,40,15,.18)}
.feature .ic{width:50px;height:50px;border-radius:12px;background:var(--gold-soft);color:var(--gold-2);display:grid;place-items:center;margin-bottom:16px}
.feature .ic svg{width:24px;height:24px}
.feature h4{font-family:'HV Florentino',serif;font-size:21px;font-weight:400;margin:0 0 8px}
.feature p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.6}

.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.gallery .ph{border-radius:14px;overflow:hidden;aspect-ratio:4/3;background-size:cover;background-position:center;background-color:var(--cream);transition:transform .6s ease-out}
.gallery .ph:hover{transform:scale(1.02)}

/* tables (fees, age guidance) */
.table-wrap{overflow-x:auto;border-radius:16px;border:1px solid var(--line);background:#fff}
table.data{width:100%;border-collapse:collapse;font-size:14.5px;font-family:'Outfit','Poppins',sans-serif}
table.data th,table.data td{padding:14px 20px;text-align:left;border-bottom:1px solid var(--line-2)}
table.data thead th{background:var(--cream);font-weight:600;color:var(--ink);text-transform:uppercase;font-size:11.5px;letter-spacing:.1em;color:var(--gold-2)}
table.data tbody tr:last-child td{border-bottom:0}
table.data tbody tr:hover{background:var(--cream)}

/* ───── Footer ───── */
footer.site{background:var(--navy-2);color:#b9bfd1;padding:80px 0 0;margin-top:0}
footer.site .top{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:48px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.1)}
footer.site .brand img{height:96px;width:auto;margin-bottom:18px;display:block}
footer.site .brand p{font-size:14px;color:#a0a6ba;line-height:1.7;margin:0 0 14px}
footer.site h5{font-family:'Outfit',sans-serif;text-transform:uppercase;letter-spacing:.16em;font-size:11.5px;color:#fff;margin:0 0 18px;font-weight:600}
footer.site ul{list-style:none;padding:0;margin:0;display:grid;gap:11px;font-size:14px}
footer.site ul a{transition:color .2s}
footer.site ul a:hover{color:var(--gold)}
footer.site .contact-block{display:grid;gap:14px;font-size:14px}
footer.site .contact-block .row{display:flex;gap:12px;align-items:flex-start}
footer.site .contact-block svg{width:16px;height:16px;color:var(--gold);flex-shrink:0;margin-top:3px}
footer.site .socials{display:flex;gap:10px;margin-top:18px}
footer.site .socials a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.08);display:grid;place-items:center;transition:.2s}
footer.site .socials a:hover{background:var(--gold);color:var(--navy-2)}
footer.site .socials svg{width:14px;height:14px}
footer.site .bot{padding:22px 0;display:flex;justify-content:space-between;font-size:12.5px;color:#7c8298;font-family:'Outfit',sans-serif;flex-wrap:wrap;gap:12px}

/* ───── Responsive ─────
   Order: largest → smallest. Each step overrides the previous.
   Breakpoints:
   - 1180px: small laptops (font/padding tweaks, smaller logo)
   - 980px:  tablet landscape — desktop nav hides, single-col grids start
   - 720px:  large phones — wordmark hides, smaller logo, hero stacks
   - 480px:  phones — full mobile (hide socials in utility, full-width CTAs)
*/

/* ─── Small laptops + larger tablets landscape ─── */
@media (max-width:1180px){
  nav.primary > .item > a{padding:9px 9px;font-size:12.5px}
  :root{
    --utility-h:36px;
    --logo-h:84px;
    --logo-h-scrolled:84px;
    --header-h:104px;
    --header-h-scrolled:104px;
    --top-stack:140px;
  }
  header.site .brand .wordmark{font-size:16px}
}

/* ─── Tablet (iPad portrait/landscape) ─── */
@media (max-width:980px){
  nav.primary{display:none}
  .burger{display:inline-flex}
  .two-card,.approach,.skills-wrap,.values,.director,.news,footer.site .top,.split,.feature-grid,.gallery{grid-template-columns:1fr;gap:32px}
  .skills,.news{grid-template-columns:1fr 1fr}
  .values,.feature-grid,.gallery{grid-template-columns:repeat(2,1fr)}
  .approach.flip,.split.flip{direction:ltr}
  .apply-banner,.final-cta{padding:44px 32px;text-align:center}
  .apply-banner{grid-template-columns:1fr;justify-items:center}
  .apply-banner > div{text-align:center}
  section.section{padding:60px 0}
  section.section.tight{padding:28px 0}
  section.section.tight + section.section,
  section.section + section.section.tight{padding-top:32px}
  .approach-list{gap:64px}
  .hero{min-height:620px}
  .hero .container{padding-top:24px;padding-bottom:80px}
  .page-hero{min-height:360px}
  /* Card content padding tightens */
  .curri-card .body{padding:26px 28px 28px}
  /* Director portrait stacks above text */
  .director{gap:36px}
  .director .portrait{max-width:420px;margin:0 auto;width:100%}
  /* News page sidebar stacks below feed */
  .fb-grid{grid-template-columns:1fr !important;gap:24px}
  .fb-side{position:static !important}
  .photo-grid{grid-template-columns:repeat(3,1fr)}
}

/* ─── Large phones ─── */
@media (max-width:720px){
  :root{
    --utility-h:36px;
    --logo-h:60px;
    --logo-h-scrolled:60px;
    --header-h:72px;
    --header-h-scrolled:72px;
    --top-stack:108px;
  }
  /* Hide wordmark + email — keep crest, phone + lang */
  header.site .brand .wordmark{display:none}
  header.site .brand{gap:0}
  .utility .left a:nth-child(2){display:none} /* email */
  .utility{font-size:12.5px}
  .utility .container{padding:0 22px}
  .utility .left{gap:14px}
  .utility .right{gap:12px}
  /* Burger hit area */
  .burger{width:44px;height:44px}
  .burger svg{width:26px;height:26px}
  /* Hero scaling */
  .hero{min-height:560px}
  .hero .container{padding-top:18px;padding-bottom:64px}
  .hero h1{font-size:clamp(34px,9vw,46px);line-height:1.04}
  .hero .lede{font-size:16px;margin-bottom:8px}
  .hero .sub{font-size:18px;margin-bottom:24px}
  .hero .actions{gap:10px}
  /* Section heads */
  .section-head{margin-bottom:40px}
  .section-head h2{font-size:clamp(28px,7.5vw,38px);line-height:1.08}
  .section-head p{font-size:15.5px}
  /* Approach + split */
  .approach{gap:28px}
  .approach .ph,.split .ph{aspect-ratio:4/3}
  .approach h3,.split h2{font-size:clamp(24px,6.5vw,32px);line-height:1.1}
  /* Director */
  .director h2{font-size:clamp(26px,6.5vw,34px);line-height:1.1}
  .director .credit b{font-size:21px}
  /* Apply banner */
  .apply-banner h3{font-size:26px;line-height:1.16}
  /* Final CTA */
  .final-cta{padding:48px 24px}
  .final-cta h2{font-size:clamp(28px,7.5vw,40px)}
  .final-cta p{font-size:15.5px}
  /* Section padding */
  section.section{padding:52px 0}
  section.section.tight{padding:24px 0}
  /* Photo + curri */
  .curri-card .curri-mark{height:96px}
  .curri-card h3{font-size:24px}
  .curri-card .body{padding:22px 24px 24px}
  /* Page hero */
  .page-hero{min-height:300px;padding:calc(var(--top-stack) + 22px) 0 40px;align-items:flex-end}
  .page-hero h1{font-size:clamp(30px,8vw,42px)}
  .page-hero p{font-size:15.5px}
  .page-hero .crumbs{font-size:11px;margin-bottom:12px;letter-spacing:.1em}
  /* Marquee compact */
  .marquee{font-size:12.5px;padding:12px 0}
  .marquee .track{gap:40px}
  /* News page iframe */
  .fb-feed iframe{height:680px}
  .photo-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  /* Footer */
  footer.site{padding:56px 0 0}
  footer.site .top{gap:36px;padding-bottom:36px}
  footer.site .brand img{height:70px;margin-bottom:14px}
  footer.site .bot{flex-direction:column;align-items:flex-start;gap:6px;padding:18px 0}
  /* Skills/news/feature-grid → 1 col */
  .skills,.news{grid-template-columns:1fr}
  /* Values/feature-grid keep 2-col → switch at 480 */
}

/* ─── Phones (full mobile) ─── */
@media (max-width:480px){
  :root{
    --utility-h:34px;
    --logo-h:50px;
    --logo-h-scrolled:50px;
    --header-h:62px;
    --header-h-scrolled:62px;
    --top-stack:96px;
  }
  .container{padding:0 18px}
  /* Utility further trimmed — hide socials, keep just phone + lang */
  .utility .right .socials{display:none}
  /* Stack hero CTAs full width for thumb-friendly tap */
  .hero .actions{flex-direction:column;align-items:stretch;width:100%}
  .hero .cta,.hero .actions a.cta{width:100%;justify-content:center;padding:14px 22px}
  /* Apply banner CTA full-width */
  .apply-banner .cta{width:100%;justify-content:center}
  /* Final CTA buttons */
  .final-cta .actions{flex-direction:column;align-items:stretch;width:100%;max-width:320px;margin:0 auto}
  .final-cta .actions a.cta{width:100%;justify-content:center}
  /* Single col for value/feature/photo grids */
  .values,.feature-grid{grid-template-columns:1fr}
  .photo-grid{grid-template-columns:repeat(2,1fr)}
  /* Curri cards more compact */
  .curri-card .body{padding:20px 22px 22px}
  .curri-card .curri-mark{height:80px}
  .curri-card h3{font-size:22px}
  .curri-card p{font-size:14.5px}
  /* Tables — text smaller */
  table.data{font-size:13.5px}
  table.data th,table.data td{padding:11px 14px}
  /* Section heads tighter */
  .section-head{margin-bottom:32px}
  /* News iframe shorter */
  .fb-feed iframe{height:580px}
  .fb-feed .feed-head{padding:14px 18px;gap:12px}
  .fb-feed .feed-head .meta b{font-size:16px}
  /* Page hero compact */
  .page-hero{min-height:260px;padding:calc(var(--top-stack) + 18px) 0 32px}
  /* Approach lists */
  .approach ul{gap:8px}
  .approach ul li{font-size:14.5px}
  .approach p{font-size:15px}
  /* Section padding */
  section.section{padding:42px 0}
  section.section.tight{padding:20px 0}
  .approach-list{gap:48px}
  /* Footer column gaps */
  footer.site .top{gap:28px}
  /* Skill/feature card padding */
  .skill,.feature,.value{padding:22px 20px}
  /* Mobile nav refinements */
  .mobile-nav{padding:84px 22px 36px}
  .mobile-nav summary,.mobile-nav .m-link{font-size:17px}
  .mobile-nav .submenu-m a{font-size:15px;padding:8px 0}
  /* Hero h1 on tightest devices */
  .hero h1{font-size:clamp(30px,9.5vw,38px)}
}

/* ─── Tiny phones ─── */
@media (max-width:360px){
  :root{
    --logo-h:46px;
    --logo-h-scrolled:46px;
    --header-h:58px;
    --top-stack:92px;
  }
  .container{padding:0 16px}
  .hero h1{font-size:28px}
  .section-head h2{font-size:24px}
}

/* ───── Scroll reveal ───── */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .8s ease-out, transform .8s ease-out}
.reveal.in{opacity:1;transform:translateY(0)}
