/*
Theme Name: Padoongrasdra
Theme URI: https://pr.ac.th/
Author: Padoongrasdra School
Description: ธีม WordPress สำหรับเว็บไซต์โรงเรียนผดุงราษฎร์ พิษณุโลก รองรับ Elementor พร้อม Custom Post Type สำหรับสาร ผอ. ข่าว กรรมการ ทีมบริหาร Timeline และปฏิทินกิจกรรม
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.9.4
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: padoongrasdra
*/

/* ========================================================== */
/* CSS Variables (defaults — overridable via Customizer)      */
/* ========================================================== */
:root {
  --plum-900: #2c0e3c;
  --plum-800: #3d1454;
  --plum-700: #4a1c5e;
  --plum-600: #6b2c87;
  --plum-500: #8a44a8;
  --plum-200: #d8c6e2;
  --plum-100: #ede4f1;
  --gold-700: #a88323;
  --gold-600: #c7972a;
  --gold-500: #d4a72c;
  --gold-300: #ecd178;
  --cream-100: #faf6ec;
  --cream-50:  #fdfaf2;
  --ink-900: #1f1428;
  --ink-700: #3a2a4a;
  --ink-500: #6a5d7a;
  --line: rgba(74, 28, 94, 0.15);
  --font-body: 'Sarabun', system-ui, sans-serif;
  --font-display: 'Sarabun', 'Noto Serif Thai', serif;
  --font-serif: 'Cormorant Garamond', 'Noto Serif Thai', serif;
  --maxw: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
body.padoongrasdra-front { margin: 0; padding: 0; background: var(--cream-100); color: var(--ink-900); font-family: var(--font-body); font-weight: 400; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
.padoongrasdra-front a { color: inherit; text-decoration: none; }
.padoongrasdra-front img { max-width: 100%; display: block; }
.padoongrasdra-front button { font-family: inherit; }
.padoongrasdra-front ::selection { background: var(--gold-500); color: var(--plum-900); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-700); }
.rule { width: 56px; height: 2px; background: var(--gold-500); border: 0; margin: 18px 0; }
.rule.center { margin: 18px auto; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-anim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-anim * { animation: none !important; transition: none !important; }
html { scroll-behavior: smooth; }


/* ===== from src/hero.jsx (block #1) ===== */

  /* ── Nav ──────────────────────────────────────────────────────── */
  .pr-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    transition: background .3s ease, box-shadow .3s ease, color .3s ease;
    color: var(--cream-100);
  }
  .pr-nav.stuck {
    background: rgba(255, 251, 240, 0.92);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    color: var(--plum-900);
    box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(74,28,94,0.25);
  }
  .pr-nav-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 14px 28px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
  }
  .pr-nav-brand {
    display: flex; align-items: center; gap: 12px;
    font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  }
  .pr-nav-brand .mark {
    width: 44px; height: 44px; border-radius: 50%;
    background: #fff;
    border: 2px solid var(--gold-500);
    display: grid; place-items: center;
    padding: 4px;
    box-shadow: 0 4px 14px -4px rgba(0,0,0,0.25);
    flex-shrink: 0;
  }
  .pr-nav-brand .mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .pr-nav-brand .sub {
    display: block; font-size: 11px; font-weight: 400; opacity: 0.7;
    letter-spacing: 0.18em; text-transform: uppercase;
  }
  .pr-nav ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: 4px; align-items: center;
  }
  .pr-nav li button {
    background: transparent; border: 0; color: inherit;
    padding: 8px 14px; border-radius: 999px;
    font-size: 14px; font-weight: 500; font-family: inherit;
    cursor: pointer; letter-spacing: 0.01em;
    transition: background .2s, color .2s;
  }
  .pr-nav li button:hover { background: rgba(255,255,255,0.12); }
  .pr-nav.stuck li button:hover { background: rgba(74,28,94,0.08); }
  .pr-nav li button.active {
    background: var(--gold-500); color: var(--plum-900);
  }
  .pr-nav-cta {
    background: var(--gold-500); color: var(--plum-900);
    padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
    border: 0; cursor: pointer; font-family: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .pr-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(212,167,44,0.6); }

  @media (max-width: 880px) {
    .pr-nav ul { display: none; }
  }

  /* ── Hero (default: classic) ─────────────────────────────────── */
  .pr-hero {
    position: relative;
    min-height: 100vh;
    background:
      radial-gradient(1100px 600px at 80% 10%, rgba(212,167,44,0.18), transparent 60%),
      radial-gradient(900px 500px at 10% 80%, rgba(138,68,168,0.45), transparent 60%),
      linear-gradient(180deg, var(--plum-900) 0%, var(--plum-800) 60%, var(--plum-700) 100%);
    color: var(--cream-100);
    overflow: hidden;
    isolation: isolate;
  }
  .pr-hero::before {
    /* engraved paper texture */
    content: "";
    position: absolute; inset: 0;
    background-image:
      repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 8px),
      repeating-linear-gradient(-45deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 8px);
    pointer-events: none; z-index: 0;
  }
  .pr-hero::after {
    /* vignette */
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(closest-side at 50% 50%, transparent 60%, rgba(0,0,0,0.45) 120%);
    pointer-events: none; z-index: 0;
  }
  .pr-hero .container {
    position: relative; z-index: 1;
    padding-top: 120px; padding-bottom: 80px;
    min-height: 100vh; display: flex; align-items: center;
  }

  /* Layout: split */
  .pr-hero.layout-split .grid {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
    width: 100%;
  }
  /* Layout: centered */
  .pr-hero.layout-centered .grid {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 40px; width: 100%;
  }
  .pr-hero.layout-centered .pr-hero-copy { max-width: 820px; }
  .pr-hero.layout-centered .rule { margin-left: auto; margin-right: auto; }
  .pr-hero.layout-centered .pr-hero-meta { justify-content: center; }
  .pr-hero.layout-centered .pr-hero-emblem { order: -1; transform: scale(0.95); }

  /* Layout: stacked */
  .pr-hero.layout-stacked .grid {
    display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
    width: 100%;
  }
  .pr-hero.layout-stacked .pr-hero-emblem { width: 200px; height: 200px; }

  @media (max-width: 880px) {
    .pr-hero .grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  }

  .pr-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.28em;
    text-transform: uppercase; color: var(--gold-300);
  }
  .pr-hero-eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(212,167,44,0.18);
  }
  .pr-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4.2vw, 52px);
    font-weight: 700;
    letter-spacing: -0.005em;
    line-height: 1.35;
    margin: 18px 0 14px;
    color: #fff;
    text-wrap: balance;
  }
  .pr-hero h1.verse {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(26px, 3.6vw, 44px);
    line-height: 1.4;
    color: var(--cream-50);
    text-wrap: pretty;
  }
  .pr-hero h1.verse .accent {
    font-style: italic;
    color: var(--gold-500);
    font-weight: 600;
    font-family: var(--font-serif);
  }
  .verse-cite {
    font-size: 13px; font-weight: 500;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold-500);
    display: flex; align-items: center; gap: 12px;
    margin: 6px 0 8px;
  }
  .verse-cite em {
    font-family: var(--font-serif); font-style: italic;
    text-transform: none; letter-spacing: 0;
    color: var(--cream-100); font-size: 15px; font-weight: 600;
  }
  .pr-hero .lede {
    font-size: clamp(16px, 1.4vw, 19px);
    color: rgba(255, 251, 240, 0.82);
    max-width: 540px;
    line-height: 1.7;
  }
  .pr-hero.layout-centered .lede { margin-left: auto; margin-right: auto; }
  .pr-hero-meta {
    display: flex; gap: 36px; margin-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.14);
    padding-top: 28px;
    flex-wrap: wrap;
  }
  .pr-hero-meta div {
    display: flex; flex-direction: column; gap: 4px;
  }
  .pr-hero-meta .k {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(255,251,240,0.55);
  }
  .pr-hero-meta .v {
    font-family: var(--font-serif);
    font-size: 28px; font-weight: 600;
    color: var(--gold-500);
    font-style: italic;
    line-height: 1;
  }
  .pr-hero-meta .v.num { font-family: var(--font-display); font-style: normal; }

  .pr-hero-cta {
    margin-top: 30px;
    display: flex; gap: 14px; flex-wrap: wrap;
  }
  .pr-hero-cta .btn {
    appearance: none; border: 0; cursor: pointer;
    font-family: inherit; font-size: 15px; font-weight: 600;
    padding: 14px 22px; border-radius: 999px;
    display: inline-flex; align-items: center; gap: 10px;
    letter-spacing: 0.01em;
    transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s;
  }
  .pr-hero-cta .btn.primary {
    background: var(--gold-500); color: var(--plum-900);
    box-shadow: 0 14px 30px -10px rgba(212,167,44,0.55);
  }
  .pr-hero-cta .btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(212,167,44,0.7);
  }
  .pr-hero-cta .btn.ghost {
    background: rgba(255,255,255,0.06); color: var(--cream-100);
    border: 1px solid rgba(255,251,240,0.3);
  }
  .pr-hero-cta .btn.ghost:hover {
    background: rgba(255,255,255,0.12); transform: translateY(-2px);
  }
  .pr-hero.layout-centered .pr-hero-cta { justify-content: center; }

  /* Emblem */
  .pr-hero-emblem {
    width: min(440px, 90%); aspect-ratio: 1; margin: 0 auto;
    position: relative;
    display: grid; place-items: center;
  }
  .pr-hero-emblem .halo {
    position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(212,167,44,0.35), transparent 70%);
    filter: blur(20px);
  }
  .pr-hero-emblem .ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 1px solid rgba(212,167,44,0.4);
    animation: prspin 60s linear infinite;
  }
  .pr-hero-emblem .ring.r2 { inset: -16px; border-style: dashed; border-color: rgba(212,167,44,0.2); animation-duration: 90s; animation-direction: reverse; }
  @keyframes prspin { to { transform: rotate(360deg); } }
  .pr-hero-emblem .disc {
    position: absolute; top: 6%; left: 6%; width: 88%; height: 88%;
    border-radius: 50%;
    background: radial-gradient(closest-side, #ffffff 0%, var(--cream-50) 78%, var(--cream-100) 100%);
    border: 4px solid var(--gold-500);
    box-shadow:
      0 0 0 1px rgba(0,0,0,0.06),
      inset 0 0 0 6px rgba(255,255,255,0.6),
      0 30px 80px -20px rgba(212,167,44,0.4),
      0 6px 30px rgba(0,0,0,0.35);
    display: grid; place-items: center;
  }
  .pr-hero-emblem img {
    width: 82%; height: 82%; object-fit: contain;
    filter: drop-shadow(0 1px 0 rgba(74,28,94,0.18));
  }
  /* Verse medallion replaces the logo emblem (logo moved to nav) */
  .pr-hero-emblem .verse-medallion {
    position: absolute; inset: 8%; border-radius: 50%;
    display: grid; place-items: center;
    background: radial-gradient(closest-side, rgba(74,28,94,0.5), rgba(44,14,60,0.85));
    border: 1px solid rgba(212,167,44,0.45);
    box-shadow:
      inset 0 0 60px rgba(212,167,44,0.15),
      0 30px 70px -20px rgba(0,0,0,0.5);
    overflow: hidden;
  }
  .pr-hero-emblem .verse-medallion svg {
    position: absolute; inset: 0; width: 100%; height: 100%;
  }
  .pr-hero-emblem .verse-num {
    position: relative; z-index: 2;
    display: flex; align-items: baseline; gap: 6px;
    font-family: var(--font-display); font-weight: 800;
    color: var(--gold-500);
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin-top: 90px;
  }
  .pr-hero-emblem .verse-num .ch { font-size: 56px; line-height: 1; }
  .pr-hero-emblem .verse-num .sep { font-size: 56px; opacity: 0.6; }
  .pr-hero-emblem .verse-num .vs { font-size: 56px; line-height: 1; }
  .pr-hero-emblem .badge {
    position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
    background: var(--gold-500); color: var(--plum-900);
    padding: 8px 18px; border-radius: 999px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
    white-space: nowrap;
    box-shadow: 0 8px 24px -8px rgba(212,167,44,0.6);
  }

  /* Photo medallion (replaces verse-medallion) */
  .pr-hero-emblem .verse-photo {
    position: absolute; inset: 6%; border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--gold-500);
    box-shadow:
      inset 0 0 0 6px rgba(255,255,255,0.18),
      0 30px 80px -20px rgba(212,167,44,0.4),
      0 6px 30px rgba(0,0,0,0.45);
  }
  .pr-hero-emblem .verse-photo::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(closest-side, transparent 62%, rgba(44,14,60,0.35) 100%);
    pointer-events: none;
  }
  .pr-hero-emblem .verse-photo img {
    width: 100%; height: 100%; object-fit: cover; display: block;
  }

  .pr-scroll-cue {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,251,240,0.6);
    font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    animation: prbob 2.4s ease-in-out infinite;
  }
  .pr-scroll-cue i {
    width: 1px; height: 36px; background: linear-gradient(to bottom, var(--gold-500), transparent);
    display: block;
  }
  @keyframes prbob { 0%,100%{transform:translate(-50%, 0);} 50%{transform:translate(-50%, 6px);} }


/* ===== from src/timeline.jsx (block #1) ===== */

  .pr-timeline {
    position: relative;
    padding: 120px 0 140px;
    background: var(--cream-100);
    color: var(--ink-900);
    overflow: hidden;
  }
  .pr-timeline-bg {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image:
      radial-gradient(700px 400px at 90% 0%, rgba(212,167,44,0.08), transparent 60%),
      radial-gradient(900px 600px at -10% 100%, rgba(74,28,94,0.06), transparent 60%);
  }
  .pr-timeline .container { position: relative; z-index: 1; }

  .pr-tl-head {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
    align-items: end; margin-bottom: 80px;
  }
  @media (max-width: 880px) { .pr-tl-head { grid-template-columns: 1fr; gap: 24px; } }
  .pr-tl-head h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; margin: 14px 0 0;
    color: var(--plum-900); letter-spacing: -0.015em; line-height: 1.1;
  }
  .pr-tl-head h2 em {
    font-family: var(--font-serif); font-style: italic; font-weight: 500;
    color: var(--plum-600);
  }
  .pr-tl-head .lede {
    color: var(--ink-500); font-size: 17px; line-height: 1.75; max-width: 540px;
  }
  .pr-tl-head .lede strong { color: var(--plum-700); font-weight: 600; }

  /* ── Vertical layout (default) ─────────────────────────────── */
  .pr-tl-vertical { position: relative; }
  .pr-tl-vertical .spine {
    position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom,
      transparent 0%,
      var(--plum-200) 6%,
      var(--plum-200) 94%,
      transparent 100%);
    transform: translateX(-1px);
  }
  .pr-tl-vertical .progress {
    position: absolute; left: 50%; top: 0; width: 2px;
    background: linear-gradient(to bottom, var(--gold-500), var(--plum-700));
    transform: translateX(-1px);
    transition: height .15s linear;
  }
  .pr-tl-row {
    position: relative;
    display: grid; grid-template-columns: 1fr 80px 1fr;
    margin-bottom: 80px;
  }
  .pr-tl-row:last-child { margin-bottom: 0; }
  .pr-tl-card {
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 14px; padding: 28px 28px 24px;
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 28px -16px rgba(74,28,94,0.18);
    transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
  }
  .pr-tl-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 16px 40px -20px rgba(74,28,94,0.3);
  }
  .pr-tl-row.left  .pr-tl-card { grid-column: 1; text-align: right; }
  .pr-tl-row.right .pr-tl-card { grid-column: 3; }
  .pr-tl-row.right .pr-tl-card { margin-left: 0; }

  .pr-tl-year {
    font-family: var(--font-serif);
    font-size: 38px; font-weight: 600; line-height: 1;
    color: var(--plum-700); font-style: italic;
    display: flex; align-items: baseline; gap: 12px;
  }
  .pr-tl-row.left .pr-tl-year { justify-content: flex-end; }
  .pr-tl-year .ce {
    font-family: var(--font-body); font-style: normal;
    font-size: 13px; font-weight: 500; letter-spacing: 0.16em;
    color: var(--gold-700); text-transform: uppercase;
  }
  .pr-tl-title {
    font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold-700); margin: 14px 0 6px;
  }
  .pr-tl-headline {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700; line-height: 1.25; margin: 0 0 12px;
    color: var(--ink-900);
  }
  .pr-tl-body {
    color: var(--ink-700); font-size: 15px; line-height: 1.75; margin: 0;
  }
  .pr-tl-note {
    display: inline-block; margin-top: 16px;
    padding: 6px 12px; border-radius: 999px;
    background: var(--plum-100); color: var(--plum-700);
    font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  }

  /* Marker on spine */
  .pr-tl-marker {
    grid-column: 2; position: relative;
    display: flex; justify-content: center;
  }
  .pr-tl-dot {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--cream-50);
    border: 2px solid var(--plum-200);
    display: grid; place-items: center;
    color: var(--plum-600);
    transition: all .5s cubic-bezier(.2,.7,.2,1);
    position: relative; z-index: 2;
  }
  .pr-tl-row.lit .pr-tl-dot {
    background: var(--plum-700); border-color: var(--gold-500); color: var(--gold-500);
    box-shadow: 0 0 0 6px rgba(212,167,44,0.18), 0 12px 28px -8px rgba(74,28,94,0.35);
    transform: scale(1.08);
  }
  .pr-tl-dot svg { width: 24px; height: 24px; }

  /* Connector line from spine to card */
  .pr-tl-row .conn {
    position: absolute; top: 28px; height: 1px;
    background: var(--plum-200);
    transition: background .4s;
  }
  .pr-tl-row.lit .conn { background: var(--gold-500); }
  .pr-tl-row.left  .conn { right: calc(50% + 28px); width: 0; }
  .pr-tl-row.right .conn { left: calc(50% + 28px); width: 0; }
  /* the connector is decorative — keep simple */

  @media (max-width: 880px) {
    .pr-tl-vertical .spine, .pr-tl-vertical .progress { left: 28px; }
    .pr-tl-row { grid-template-columns: 56px 1fr; }
    .pr-tl-marker { grid-column: 1; }
    .pr-tl-row.left  .pr-tl-card,
    .pr-tl-row.right .pr-tl-card { grid-column: 2; text-align: left; margin-left: 24px; }
    .pr-tl-row.left .pr-tl-year { justify-content: flex-start; }
  }

  /* ── Horizontal layout ─────────────────────────────────────── */
  .pr-tl-horizontal {
    position: relative;
    margin: 0 -28px;
    padding: 40px 28px 60px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .pr-tl-horizontal::-webkit-scrollbar { height: 8px; }
  .pr-tl-horizontal::-webkit-scrollbar-thumb { background: var(--plum-200); border-radius: 4px; }

  .pr-tl-track {
    display: flex; gap: 24px; align-items: stretch;
    padding-bottom: 60px;
    position: relative;
  }
  .pr-tl-track::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 30px; height: 2px;
    background: linear-gradient(to right, transparent, var(--plum-200) 6%, var(--plum-200) 94%, transparent);
  }
  .pr-tl-hcard {
    flex: 0 0 320px; scroll-snap-align: start;
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 14px; padding: 24px;
    box-shadow: 0 8px 28px -16px rgba(74,28,94,0.18);
    display: flex; flex-direction: column;
    position: relative;
    transition: transform .3s ease;
  }
  .pr-tl-hcard:hover { transform: translateY(-4px); }
  .pr-tl-hcard::after {
    content: ""; position: absolute; left: 50%; bottom: -34px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--gold-500);
    border: 3px solid var(--cream-100);
    transform: translateX(-50%);
    box-shadow: 0 0 0 2px var(--plum-700);
  }

  /* ── Compact layout ────────────────────────────────────────── */
  .pr-tl-compact { display: grid; gap: 4px; }
  .pr-tl-crow {
    display: grid; grid-template-columns: 200px 60px 1fr;
    gap: 24px; align-items: start;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    transition: background .3s;
  }
  .pr-tl-crow:hover { background: rgba(74,28,94,0.03); }
  .pr-tl-crow:last-child { border-bottom: 1px solid var(--line); }
  .pr-tl-crow .y {
    font-family: var(--font-serif);
    font-size: 32px; font-weight: 600; color: var(--plum-700);
    font-style: italic; line-height: 1;
  }
  .pr-tl-crow .y small {
    display: block; font-family: var(--font-body); font-style: normal;
    font-size: 11px; letter-spacing: 0.18em;
    color: var(--gold-700); margin-top: 6px;
  }
  .pr-tl-crow .ix {
    display: grid; place-items: center;
    color: var(--plum-600);
    padding-top: 4px;
  }
  .pr-tl-crow .ix svg { width: 28px; height: 28px; }
  .pr-tl-crow h4 {
    font-family: var(--font-display); font-size: 19px; font-weight: 700;
    color: var(--ink-900); margin: 0 0 6px;
  }
  .pr-tl-crow p { margin: 0; color: var(--ink-700); font-size: 15px; line-height: 1.7; }

  @media (max-width: 720px) {
    .pr-tl-crow { grid-template-columns: 100px 1fr; }
    .pr-tl-crow .ix { display: none; }
  }


/* ===== from src/sections.jsx (block #1) ===== */

  .pr-section { padding: 110px 0; position: relative; }
  .pr-section.dark {
    background: var(--plum-900);
    color: var(--cream-100);
  }
  .pr-section.cream { background: var(--cream-100); }
  .pr-section.cream-deep { background: var(--cream-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

  .pr-section h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.4vw, 56px); font-weight: 800;
    color: var(--plum-900); letter-spacing: -0.015em; line-height: 1.1;
    margin: 14px 0 0;
  }
  .pr-section.dark h2 { color: #fff; }
  .pr-section h2 em {
    font-family: var(--font-serif); font-style: italic; font-weight: 500;
    color: var(--plum-600);
  }
  .pr-section.dark h2 em { color: var(--gold-500); }

  /* ── Intro ─────────────────────────────────────────────── */
  .pr-intro-grid {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start;
  }
  @media (max-width: 880px) { .pr-intro-grid { grid-template-columns: 1fr; gap: 40px; } }
  .pr-intro-grid .copy p {
    font-size: 18px; line-height: 1.85; color: var(--ink-700);
    margin: 0 0 22px;
  }
  .pr-intro-grid .copy p:first-of-type::first-letter {
    font-family: var(--font-serif); font-style: italic;
    font-size: 5em; line-height: 0.85;
    float: left; margin: 6px 14px 0 -2px; color: var(--plum-700);
    font-weight: 600;
  }
  .pr-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 16px; }
  .pr-stat {
    border: 1px solid var(--line);
    border-radius: 12px; padding: 22px; background: var(--cream-50);
  }
  .pr-stat .n {
    font-family: var(--font-display); font-weight: 700; font-size: 36px;
    color: var(--plum-700); line-height: 1;
  }
  .pr-stat .l {
    font-size: 13px; font-weight: 500; color: var(--ink-500);
    margin-top: 8px; letter-spacing: 0.04em;
  }

  /* ── Founders ──────────────────────────────────────────── */
  .pr-founders {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-top: 60px;
  }
  @media (max-width: 880px) { .pr-founders { grid-template-columns: 1fr; } }
  .pr-founder {
    background: var(--cream-50);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 36px 28px 28px;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .pr-founder:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(74,28,94,0.3); }
  .pr-founder-portrait {
    width: 120px; height: 120px; margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--plum-700), var(--plum-500));
    display: grid; place-items: center;
    border: 4px solid var(--gold-500);
    position: relative;
    overflow: hidden;
  }
  .pr-founder-portrait svg { width: 100%; height: 100%; }
  .pr-founder-accent {
    position: absolute; top: 14px; right: 14px;
    background: var(--gold-500); color: var(--plum-900);
    padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
    letter-spacing: 0.08em;
  }
  .pr-founder h3 {
    font-family: var(--font-display); font-size: 20px; font-weight: 700;
    margin: 0 0 6px; text-align: center; color: var(--ink-900);
  }
  .pr-founder .role {
    text-align: center; font-size: 13px; color: var(--gold-700);
    font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 16px;
  }
  .pr-founder p { color: var(--ink-700); font-size: 15px; line-height: 1.75; margin: 0; }

  /* ── Philosophy ─────────────────────────────────────────── */
  .pr-philo { text-align: center; }
  .pr-philo blockquote {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 52px); font-weight: 700; line-height: 1.25;
    color: var(--cream-50); margin: 40px auto 24px; max-width: 880px;
    letter-spacing: -0.01em; text-wrap: balance;
  }
  .pr-philo blockquote em {
    font-family: var(--font-serif); font-style: italic; font-weight: 500;
    color: var(--gold-500);
  }
  .pr-philo .attr {
    color: rgba(255,251,240,0.6); font-size: 14px; letter-spacing: 0.18em;
    text-transform: uppercase; margin-top: 30px;
    display: flex; align-items: center; justify-content: center; gap: 14px;
  }
  .pr-philo .attr i { width: 36px; height: 1px; background: var(--gold-500); }
  .pr-philo .motto-card {
    margin: 60px auto 0; max-width: 720px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,167,44,0.3);
    border-radius: 16px; padding: 40px;
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center;
  }
  @media (max-width: 720px) { .pr-philo .motto-card { grid-template-columns: 1fr; gap: 20px; } }
  .pr-philo .motto-card .item {
    text-align: left;
  }
  .pr-philo .motto-card .item .k {
    font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
    color: rgba(255,251,240,0.55); margin-bottom: 8px;
  }
  .pr-philo .motto-card .item .v {
    font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #fff;
  }
  .pr-philo .motto-card .div {
    width: 1px; height: 60px; background: rgba(212,167,44,0.3);
  }
  @media (max-width: 720px) { .pr-philo .motto-card .div { width: 60px; height: 1px; } }

  /* New: 4-card identity grid */
  .pr-philo-cards {
    margin: 60px auto 0; max-width: 980px;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  }
  @media (max-width: 720px) { .pr-philo-cards { grid-template-columns: 1fr; } }
  .pr-philo-cards .pcard {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,167,44,0.3);
    border-radius: 14px;
    padding: 24px 26px;
    text-align: left;
    position: relative;
    transition: transform .25s ease, border-color .25s;
  }
  .pr-philo-cards .pcard:hover { transform: translateY(-3px); border-color: var(--gold-500); }
  .pr-philo-cards .pcard::before {
    content: ""; position: absolute; top: 24px; left: 0; width: 3px; height: 28px;
    background: var(--gold-500);
  }
  .pr-philo-cards .lbl {
    font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold-500); margin-bottom: 10px;
  }
  .pr-philo-cards .val {
    font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #fff;
    line-height: 1.35;
  }

  .pr-philo-vision {
    margin: 50px auto 0; max-width: 980px;
    padding: 32px 36px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212,167,44,0.18), rgba(212,167,44,0.05));
    border: 1px solid rgba(212,167,44,0.35);
    text-align: left;
  }
  .pr-philo-vision .head {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 14px; margin-bottom: 18px;
    border-bottom: 1px solid rgba(212,167,44,0.25);
  }
  .pr-philo-vision .lbl {
    font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--gold-500);
  }
  .pr-philo-vision .period {
    font-family: var(--font-serif); font-style: italic; color: var(--cream-100);
    font-size: 16px; opacity: 0.8;
  }
  .pr-philo-vision .vision-text {
    font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 700; color: #fff;
    line-height: 1.4; text-wrap: balance;
  }

  /* ── Symbols ───────────────────────────────────────────── */
  .pr-symbols {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    margin-top: 60px;
  }
  @media (max-width: 880px) { .pr-symbols { grid-template-columns: 1fr; } }
  .pr-symbols-emblem {
    position: relative;
    aspect-ratio: 1;
    background: radial-gradient(closest-side, var(--plum-100), transparent 70%);
    display: grid; place-items: center;
    border-radius: 50%;
  }
  .pr-symbols-emblem img {
    width: 70%; height: 70%; object-fit: contain;
    filter: hue-rotate(220deg) saturate(0.7) brightness(0.6);
    /* approximate purple recolor from blue */
  }
  .pr-symbols-list { list-style: none; padding: 0; margin: 0; }
  .pr-symbols-list li {
    display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
    padding: 22px 0;
    border-top: 1px solid var(--line);
  }
  .pr-symbols-list li:last-child { border-bottom: 1px solid var(--line); }
  .pr-symbols-list .swatch {
    width: 48px; height: 48px; border-radius: 12px;
    border: 1px solid var(--line);
  }
  .pr-symbols-list h4 {
    font-family: var(--font-display); font-size: 17px; font-weight: 700;
    margin: 0 0 4px; color: var(--ink-900);
  }
  .pr-symbols-list p { margin: 0; color: var(--ink-700); font-size: 14px; line-height: 1.65; }

  /* ── Buildings before/after ────────────────────────────── */
  .pr-buildings { margin-top: 60px; }
  .pr-ba {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--line);
    background: var(--plum-900);
    user-select: none;
  }
  .pr-ba .layer {
    position: absolute; inset: 0;
    overflow: hidden;
  }
  .pr-ba .layer.after { width: 50%; border-right: 2px solid var(--gold-500); }
  .pr-ba svg.scene {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  }
  .pr-ba .handle {
    position: absolute; top: 0; bottom: 0; left: 50%;
    width: 40px; transform: translateX(-50%);
    cursor: ew-resize; z-index: 3;
    display: grid; place-items: center;
  }
  .pr-ba .handle .grip {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--gold-500); color: var(--plum-900);
    display: grid; place-items: center; font-weight: 700;
    box-shadow: 0 8px 24px -6px rgba(0,0,0,0.4);
  }
  .pr-ba .tag {
    position: absolute; top: 18px; padding: 8px 14px;
    background: rgba(0,0,0,0.5); color: #fff;
    border-radius: 999px; font-size: 12px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    backdrop-filter: blur(6px);
    z-index: 2;
  }
  .pr-ba .tag.l { left: 18px; }
  .pr-ba .tag.r { right: 18px; }

  .pr-bldg-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  @media (max-width: 880px) { .pr-bldg-list { grid-template-columns: repeat(2, 1fr); } }
  .pr-bldg-list .b {
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 12px; padding: 20px;
  }
  .pr-bldg-list .b .era {
    font-family: var(--font-serif); font-style: italic;
    color: var(--plum-700); font-size: 20px; font-weight: 600;
  }
  .pr-bldg-list .b h5 {
    font-family: var(--font-display); font-size: 16px; font-weight: 700;
    margin: 6px 0 8px; color: var(--ink-900);
  }
  .pr-bldg-list .b p { margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.6; }

  /* ── Faith section ─────────────────────────────────────── */
  .pr-faith {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
    margin-top: 40px;
  }
  @media (max-width: 880px) { .pr-faith { grid-template-columns: 1fr; gap: 40px; } }
  .pr-faith-art {
    aspect-ratio: 4/5;
    background: linear-gradient(160deg, var(--plum-700), var(--plum-900));
    border-radius: 16px;
    position: relative; overflow: hidden;
    display: grid; place-items: center;
  }
  .pr-faith-art svg { width: 70%; height: 70%; color: var(--gold-500); }
  .pr-faith p { color: var(--ink-700); font-size: 17px; line-height: 1.85; margin: 0 0 18px; }
  .pr-faith ul {
    list-style: none; padding: 0; margin: 24px 0 0;
    display: flex; flex-direction: column; gap: 12px;
  }
  .pr-faith ul li {
    display: grid; grid-template-columns: 22px 1fr; gap: 14px;
    color: var(--ink-700); font-size: 15px; line-height: 1.6;
  }
  .pr-faith ul li::before {
    content: "✦"; color: var(--gold-600); font-size: 14px;
    line-height: 1.5;
  }

  /* ── Alumni ────────────────────────────────────────────── */
  .pr-alumni-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
  @media (max-width: 880px) { .pr-alumni-grid { grid-template-columns: repeat(2, 1fr); } }
  .pr-alum {
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 12px; padding: 22px; text-align: center;
  }
  .pr-alum .av {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--plum-700), var(--plum-500));
    margin: 0 auto 14px;
    display: grid; place-items: center;
    color: var(--gold-500); font-family: var(--font-display);
    font-size: 24px; font-weight: 700;
    border: 2px solid var(--gold-500);
  }
  .pr-alum h5 { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin: 0; color: var(--ink-900); }
  .pr-alum .r { font-size: 13px; color: var(--gold-700); font-weight: 600; letter-spacing: 0.04em; margin-top: 2px; }
  .pr-alum .n { font-size: 12px; color: var(--ink-500); margin-top: 8px; }
  .pr-alumni-note {
    text-align: center; margin-top: 30px; color: var(--ink-500); font-size: 14px;
    font-style: italic;
  }

  /* ── Contact ───────────────────────────────────────────── */
  .pr-contact {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px;
    margin-top: 40px;
  }
  @media (max-width: 880px) { .pr-contact { grid-template-columns: 1fr; } }
  .pr-contact-info dl {
    display: grid; grid-template-columns: 140px 1fr; gap: 12px 28px;
    margin: 0;
  }
  .pr-contact-info dt {
    font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(255,251,240,0.5); padding-top: 4px;
  }
  .pr-contact-info dd {
    margin: 0 0 12px; padding: 0;
    color: var(--cream-50); font-size: 16px; line-height: 1.6;
    border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 14px;
  }
  .pr-contact-info dd:last-of-type { border-bottom: 0; }
  .pr-contact-card {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(212,167,44,0.3);
    border-radius: 16px; padding: 32px;
  }
  .pr-contact-card h4 {
    font-family: var(--font-display); font-size: 22px; margin: 0 0 8px;
    color: var(--gold-500);
  }
  .pr-contact-card p { color: rgba(255,251,240,0.7); font-size: 15px; line-height: 1.7; margin: 0 0 18px; }
  .pr-contact-cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 22px; border-radius: 999px;
    background: var(--gold-500); color: var(--plum-900);
    font-weight: 600; font-size: 14px;
    border: 0; cursor: pointer; font-family: inherit;
    transition: transform .15s, box-shadow .15s;
  }
  .pr-contact-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(212,167,44,0.6); }

  .pr-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 80px; padding-top: 32px;
    display: flex; justify-content: space-between; align-items: center;
    color: rgba(255,251,240,0.5); font-size: 13px;
  }
  @media (max-width: 720px) { .pr-footer { flex-direction: column; gap: 12px; text-align: center; } }


/* ===== from src/gallery.jsx (block #1) ===== */

  .pr-gallery {
    background: var(--plum-900);
    color: var(--cream-100);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
  }
  .pr-gallery::before {
    content: ""; position: absolute; inset: 0;
    background-image:
      repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 8px);
    pointer-events: none;
  }
  .pr-gallery .container { position: relative; }

  .pr-gallery h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.4vw, 56px); font-weight: 800;
    color: #fff; letter-spacing: -0.015em; line-height: 1.1;
    margin: 14px 0 0;
  }
  .pr-gallery h2 em {
    font-family: var(--font-serif); font-style: italic; font-weight: 500;
    color: var(--gold-500);
  }
  .pr-gallery .lede {
    color: rgba(255,251,240,0.7); font-size: 17px; line-height: 1.75;
    max-width: 540px; margin-top: 24px;
  }

  .pr-gallery-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 14px;
    margin-top: 60px;
  }
  .pr-gallery-grid > .g:nth-child(1) { grid-row: span 2; }
  @media (max-width: 880px) {
    .pr-gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
    .pr-gallery-grid > .g:nth-child(1) { grid-row: auto; grid-column: span 2; }
  }
  .g {
    position: relative; border-radius: 14px; overflow: hidden;
    cursor: zoom-in;
    border: 1px solid rgba(212,167,44,0.2);
    background: var(--plum-800);
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .g:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -20px rgba(0,0,0,0.5); }
  .g svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
  .g .meta {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 32px 22px 18px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex; align-items: end; justify-content: space-between; gap: 14px;
  }
  .g .meta .ttl {
    font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 16px;
  }
  .g .meta .yr {
    font-family: var(--font-serif); font-style: italic;
    color: var(--gold-500); font-size: 18px; line-height: 1;
  }
  .g .badge-old {
    position: absolute; top: 14px; left: 14px;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(0,0,0,0.55); color: #fff;
    font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
    backdrop-filter: blur(6px);
  }

  /* Lightbox */
  .pr-lightbox {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(11, 4, 18, 0.92);
    backdrop-filter: blur(14px);
    display: grid; place-items: center;
    padding: 40px;
    animation: lbfade .3s ease;
  }
  @keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }
  .pr-lightbox-frame {
    max-width: 1100px; width: 100%;
    background: var(--plum-800);
    border: 1px solid rgba(212,167,44,0.4);
    border-radius: 18px; overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  }
  .pr-lightbox-scene {
    aspect-ratio: 4/3; background: var(--plum-900);
    position: relative;
  }
  .pr-lightbox-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .pr-lightbox-info {
    padding: 24px 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    color: var(--cream-100);
  }
  .pr-lightbox-info h3 {
    font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 0 0 4px;
  }
  .pr-lightbox-info .yr {
    font-family: var(--font-serif); font-style: italic; color: var(--gold-500);
    font-size: 16px;
  }
  .pr-lightbox-controls { display: flex; gap: 8px; }
  .pr-lightbox-controls button {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.06); color: #fff;
    border: 1px solid rgba(212,167,44,0.3);
    cursor: pointer; display: grid; place-items: center;
    transition: background .15s;
  }
  .pr-lightbox-controls button:hover { background: rgba(212,167,44,0.2); }
  .pr-lightbox-close {
    position: absolute; top: 24px; right: 24px;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.08); color: #fff;
    border: 1px solid rgba(212,167,44,0.3);
    cursor: pointer; display: grid; place-items: center;
    font-size: 20px;
  }
  .pr-lightbox-close:hover { background: rgba(212,167,44,0.2); }


/* ===== from src/school.jsx (block #1) ===== */

  /* ── Section base ──────────────────────────────────────────── */
  .sc-section { padding: 110px 0; position: relative; }
  .sc-section.cream { background: var(--cream-100); }
  .sc-section.cream-deep { background: var(--cream-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .sc-section.dark { background: var(--plum-900); color: var(--cream-100); }

  .sc-section h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.4vw, 56px); font-weight: 800;
    color: var(--plum-900); letter-spacing: -0.015em; line-height: 1.1;
    margin: 14px 0 0;
  }
  .sc-section.dark h2 { color: #fff; }
  .sc-section h2 em {
    font-family: var(--font-serif); font-style: italic; font-weight: 500;
    color: var(--plum-600);
  }
  .sc-section.dark h2 em { color: var(--gold-500); }

  .sc-head {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
    align-items: end; margin-bottom: 60px;
  }
  @media (max-width: 880px) { .sc-head { grid-template-columns: 1fr; gap: 24px; } }
  .sc-head .lede {
    color: var(--ink-500); font-size: 17px; line-height: 1.75; max-width: 540px;
  }
  .sc-section.dark .sc-head .lede { color: rgba(255,251,240,0.7); }

  /* ── Welcome / About intro ─────────────────────────────────── */
  .sc-welcome {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  }
  @media (max-width: 880px) { .sc-welcome { grid-template-columns: 1fr; gap: 40px; } }
  .sc-welcome-art {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 16px;
    background: linear-gradient(155deg, var(--plum-700), var(--plum-900));
    overflow: hidden;
    box-shadow: 0 30px 80px -30px rgba(74,28,94,0.5);
  }
  .sc-welcome-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .sc-welcome-art .seal {
    position: absolute; right: -50px; bottom: -50px;
    width: 280px; height: 280px;
    background: var(--cream-50);
    border-radius: 50%;
    border: 6px solid var(--gold-500);
    display: grid; place-items: center;
    box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
  }
  .sc-welcome-art .seal img { width: 70%; height: 70%; object-fit: contain; }

  .sc-welcome-copy p {
    font-size: 17px; line-height: 1.85; color: var(--ink-700); margin: 0 0 18px;
  }
  .sc-welcome-copy p:first-of-type::first-letter {
    font-family: var(--font-serif); font-style: italic;
    font-size: 4.5em; line-height: 0.85; float: left; margin: 6px 14px 0 -2px;
    color: var(--plum-700); font-weight: 600;
  }
  .sc-pillars {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    margin-top: 28px;
  }
  .sc-pillar {
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 12px; padding: 18px;
  }
  .sc-pillar .ic {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--plum-100); color: var(--plum-700);
    display: grid; place-items: center; margin-bottom: 12px;
  }
  .sc-pillar h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--ink-900); margin: 0 0 4px; }
  .sc-pillar p { font-size: 13px; line-height: 1.55; color: var(--ink-500); margin: 0; }

  /* ── Programs ──────────────────────────────────────────────── */
  .sc-programs {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  }
  @media (max-width: 880px) { .sc-programs { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 540px) { .sc-programs { grid-template-columns: 1fr; } }
  .sc-program {
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 16px; padding: 32px 26px;
    position: relative; overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  }
  .sc-program:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px -22px rgba(74,28,94,0.35);
    border-color: var(--gold-500);
  }
  .sc-program-code {
    position: absolute; top: 24px; right: 24px;
    font-family: var(--font-serif); font-style: italic;
    font-size: 80px; font-weight: 600; color: var(--plum-100);
    line-height: 1; user-select: none; pointer-events: none;
    transition: color .3s;
  }
  .sc-program:hover .sc-program-code { color: var(--gold-300); }
  .sc-program-accent {
    font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
    color: var(--gold-700); text-transform: uppercase;
  }
  .sc-program h3 {
    font-family: var(--font-display); font-size: 22px; font-weight: 700;
    color: var(--plum-900); margin: 8px 0 4px;
    position: relative; z-index: 1;
  }
  .sc-program .grades {
    font-family: var(--font-serif); font-style: italic;
    color: var(--plum-700); font-size: 18px;
    margin-bottom: 16px;
  }
  .sc-program .age {
    font-size: 13px; color: var(--ink-500); margin-bottom: 16px;
    padding-bottom: 16px; border-bottom: 1px dashed var(--line);
  }
  .sc-program p { color: var(--ink-700); font-size: 14px; line-height: 1.7; margin: 0; }

  .sc-tracks-wrap {
    margin-top: 70px; padding-top: 60px;
    border-top: 1px solid var(--line);
  }
  .sc-tracks-wrap .lbl {
    text-align: center; font-size: 12px; font-weight: 600;
    letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--gold-700); margin-bottom: 16px;
  }
  .sc-tracks-wrap h3 {
    text-align: center;
    font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px);
    font-weight: 700; color: var(--plum-900);
    margin: 0 0 40px;
  }
  .sc-tracks-wrap h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--plum-600); }
  .sc-tracks {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  }
  @media (max-width: 880px) { .sc-tracks { grid-template-columns: 1fr; } }
  .sc-track {
    display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start;
    padding: 18px;
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 12px;
  }
  .sc-track .num {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--plum-700); color: var(--gold-500);
    font-family: var(--font-display); font-weight: 700;
    display: grid; place-items: center; font-size: 14px;
  }
  .sc-track h5 { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin: 4px 0 4px; color: var(--ink-900); }
  .sc-track p { font-size: 13px; line-height: 1.6; color: var(--ink-500); margin: 0; }

  /* ── Admissions ────────────────────────────────────────────── */
  .sc-adm-grid {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start;
  }
  @media (max-width: 880px) { .sc-adm-grid { grid-template-columns: 1fr; gap: 40px; } }
  .sc-adm-steps { position: relative; }
  .sc-adm-steps::before {
    content: ""; position: absolute; left: 24px; top: 30px; bottom: 30px;
    width: 2px; background: linear-gradient(to bottom, var(--gold-500), var(--plum-700));
    opacity: 0.4;
  }
  .sc-step {
    display: grid; grid-template-columns: 56px 1fr; gap: 24px;
    padding: 14px 0; align-items: start;
    position: relative;
  }
  .sc-step .n {
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--cream-100); border: 2px solid var(--gold-500);
    color: var(--plum-700);
    font-family: var(--font-display); font-weight: 700; font-size: 22px;
    display: grid; place-items: center;
    position: relative; z-index: 1;
    transition: transform .25s ease, background .25s, color .25s;
  }
  .sc-step:hover .n { background: var(--plum-700); color: var(--gold-500); transform: scale(1.06); }
  .sc-step h4 {
    font-family: var(--font-display); font-size: 19px; font-weight: 700;
    margin: 8px 0 6px; color: var(--ink-900);
  }
  .sc-step p { margin: 0; color: var(--ink-700); font-size: 15px; line-height: 1.7; }

  .sc-adm-side {
    background: var(--plum-900); color: var(--cream-100);
    border-radius: 16px; padding: 36px 30px;
    position: sticky; top: 90px;
  }
  .sc-adm-side h4 {
    font-family: var(--font-display); font-size: 20px; font-weight: 700;
    margin: 0 0 6px; color: #fff;
  }
  .sc-adm-side .sub {
    color: var(--gold-500); font-size: 13px; font-weight: 600; letter-spacing: 0.16em;
    text-transform: uppercase; margin-bottom: 20px;
  }
  .sc-adm-side ul { list-style: none; padding: 0; margin: 0 0 24px; }
  .sc-adm-side ul li {
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 14px; line-height: 1.5; color: rgba(255,251,240,0.85);
    display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  }
  .sc-adm-side ul li::before {
    content: "✓"; color: var(--gold-500); font-weight: 700;
  }
  .sc-adm-side ul li:last-child { border-bottom: 0; }
  .sc-adm-side .deadline {
    background: rgba(212,167,44,0.12); border: 1px solid rgba(212,167,44,0.3);
    border-radius: 10px; padding: 14px;
    display: flex; gap: 14px; align-items: center;
    margin-bottom: 20px;
  }
  .sc-adm-side .deadline .ico {
    width: 36px; height: 36px; border-radius: 8px; background: var(--gold-500);
    display: grid; place-items: center; color: var(--plum-900);
    flex-shrink: 0;
  }
  .sc-adm-side .deadline .k { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-300); }
  .sc-adm-side .deadline .v { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; }
  .sc-adm-side button {
    width: 100%; padding: 14px;
    background: var(--gold-500); color: var(--plum-900);
    border: 0; border-radius: 999px;
    font-family: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
    display: inline-flex; justify-content: center; align-items: center; gap: 10px;
    transition: transform .15s, box-shadow .15s;
  }
  .sc-adm-side button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(212,167,44,0.6); }

  /* ── Activities ────────────────────────────────────────────── */
  .sc-act-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  }
  @media (max-width: 880px) { .sc-act-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 540px) { .sc-act-grid { grid-template-columns: 1fr; } }
  .sc-act {
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 14px; padding: 26px;
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex; gap: 18px; align-items: flex-start;
  }
  .sc-act:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(74,28,94,0.3); }
  .sc-act .ic {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, var(--plum-700), var(--plum-500));
    color: var(--gold-500); display: grid; place-items: center;
    flex-shrink: 0;
  }
  .sc-act h4 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin: 0 0 4px; color: var(--ink-900); }
  .sc-act .count {
    display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
    color: var(--gold-700); margin-bottom: 8px;
  }
  .sc-act p { font-size: 13px; line-height: 1.6; color: var(--ink-700); margin: 0; }

  /* ── News & events ─────────────────────────────────────────── */
  .sc-news {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  }
  @media (max-width: 880px) { .sc-news { grid-template-columns: 1fr; } }
  .sc-news-card {
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 14px;
    display: grid; grid-template-columns: 110px 1fr;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    cursor: pointer;
  }
  .sc-news-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(74,28,94,0.3); }
  .sc-news-card .date {
    background: var(--plum-700); color: var(--cream-100);
    padding: 22px 16px; text-align: center;
    display: flex; flex-direction: column; justify-content: center;
    border-right: 4px solid var(--gold-500);
  }
  .sc-news-card .date .d {
    font-family: var(--font-display); font-size: 32px; font-weight: 800;
    color: var(--gold-500); line-height: 1;
  }
  .sc-news-card .date .m { font-size: 13px; margin-top: 6px; letter-spacing: 0.08em; }
  .sc-news-card .date .y { font-size: 11px; color: rgba(255,251,240,0.6); margin-top: 2px; }
  .sc-news-card .body { padding: 22px 24px; }
  .sc-news-card .cat {
    display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--gold-700);
    padding: 3px 10px; background: var(--gold-300); border-radius: 999px;
    margin-bottom: 10px; opacity: 0.7;
  }
  .sc-news-card h4 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink-900); margin: 0 0 6px; line-height: 1.35; }
  .sc-news-card p { font-size: 13px; color: var(--ink-500); line-height: 1.6; margin: 0; }

  /* ── News two-column layout (cards + Facebook feed) ─────────── */
  .sc-news-layout {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start;
  }
  @media (max-width: 980px) { .sc-news-layout { grid-template-columns: 1fr; } }
  .sc-news-col { display: grid; gap: 16px; }
  .sc-news-card { cursor: pointer; }
  .sc-news-card .body .more {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
    font-family: var(--font-display); font-weight: 700; font-size: 13px;
    color: var(--plum-700); transition: gap .2s, color .2s;
  }
  .sc-news-card:hover .body .more { gap: 11px; color: var(--gold-700); }
  .sc-news-empty {
    background: var(--cream-50); border: 1px dashed var(--line);
    border-radius: 14px; padding: 40px 28px; text-align: center;
    color: var(--ink-500); font-size: 15px; line-height: 1.7;
  }

  /* ── Facebook feed column ──────────────────────────────────── */
  .sc-fb-col {
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 16px; padding: 20px; position: sticky; top: 90px;
  }
  .sc-fb-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
  .sc-fb-head .ic {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    background: #1877f2; color: #fff; display: grid; place-items: center;
  }
  .sc-fb-head .t { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink-900); line-height: 1.3; }
  .sc-fb-head .s { font-size: 12.5px; color: var(--gold-700); font-weight: 600; margin-top: 2px; }
  .sc-fb-embed {
    border-radius: 12px; overflow: hidden; background: #fff;
    border: 1px solid var(--line); min-height: 320px;
    display: flex; justify-content: center;
  }
  .sc-fb-embed .fb-page,
  .sc-fb-embed .fb-page span,
  .sc-fb-embed iframe { max-width: 100% !important; }
  .sc-fb-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 16px; padding: 13px 18px; border-radius: 10px;
    background: #1877f2; color: #fff; text-decoration: none;
    font-family: var(--font-display); font-weight: 700; font-size: 14px;
    transition: background .2s, transform .2s;
  }
  .sc-fb-btn:hover { background: #0d63d4; transform: translateY(-2px); }

  /* ── Director-message trigger button ───────────────────────── */
  .sc-dm-trigger {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
    padding: 14px 24px; border-radius: 11px; border: 0; cursor: pointer;
    background: linear-gradient(135deg, var(--plum-700), var(--plum-600));
    color: var(--cream-100); font-family: var(--font-display);
    font-weight: 700; font-size: 15px;
    box-shadow: 0 14px 30px -14px rgba(74,28,94,0.6);
    transition: transform .2s, box-shadow .2s;
  }
  .sc-dm-trigger:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(74,28,94,0.7); }
  .sc-dm-trigger .ic {
    width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
    background: rgba(212,167,44,0.25); color: var(--gold-300);
    display: grid; place-items: center;
  }

  /* ── Modal / popup system ──────────────────────────────────── */
  .pr-modal {
    position: fixed; inset: 0; z-index: 1000;
    display: none; align-items: center; justify-content: center;
    padding: 24px;
  }
  .pr-modal.open { display: flex; }
  .pr-modal-overlay {
    position: absolute; inset: 0;
    background: rgba(20, 8, 28, 0.66); backdrop-filter: blur(3px);
    animation: prFade .25s ease;
  }
  @keyframes prFade { from { opacity: 0; } to { opacity: 1; } }
  .pr-modal-card {
    position: relative; z-index: 1; width: 100%; max-width: 680px;
    max-height: 88vh; background: var(--cream-100);
    border-radius: 20px; overflow: hidden;
    border: 1px solid rgba(212,167,44,0.4);
    box-shadow: 0 50px 100px -30px rgba(0,0,0,0.6);
    animation: prRise .3s cubic-bezier(.2,.7,.3,1);
  }
  @keyframes prRise { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
  .pr-modal-x {
    position: absolute; top: 14px; right: 16px; z-index: 3;
    width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,0.85); color: var(--plum-900);
    font-size: 24px; line-height: 1; display: grid; place-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18); transition: background .2s, transform .2s;
  }
  .pr-modal-x:hover { background: #fff; transform: rotate(90deg); }
  .pr-modal-scroll { max-height: 88vh; overflow-y: auto; }
  .pr-modal-cover { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--plum-900); }
  .pr-modal-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .pr-modal-news-meta { display: flex; align-items: center; gap: 14px; padding: 26px 34px 0; }
  .pr-modal-news-meta .cat {
    font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold-700);
  }
  .pr-modal-news-meta .date { font-size: 13px; color: var(--ink-500); }
  .pr-modal-card h3 {
    font-family: var(--font-display); font-size: 27px; font-weight: 800;
    color: var(--plum-900); margin: 12px 0 0; padding: 0 34px; line-height: 1.3;
  }
  .pr-modal-body { padding: 16px 34px 34px; }
  .pr-modal-body p { font-size: 16px; line-height: 1.85; color: var(--ink-700); margin: 0 0 16px; }
  .pr-modal-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 8px 0; }
  .pr-modal-dm-head {
    display: flex; align-items: center; gap: 18px;
    padding: 40px 34px 0;
  }
  .pr-modal-dm-photo {
    width: 88px; height: 88px; border-radius: 50%; flex-shrink: 0;
    overflow: hidden; border: 3px solid var(--gold-500);
    background: linear-gradient(135deg, var(--plum-700), var(--plum-900));
  }
  .pr-modal-dm-photo img, .pr-modal-dm-photo svg { width: 100%; height: 100%; object-fit: cover; display: block; }
  .pr-modal-dm-head .eyebrow {
    font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold-700); font-weight: 700;
  }
  .pr-modal-dm-head h3 {
    padding: 0; margin: 6px 0 0; font-size: 24px;
  }
  @media (max-width: 560px) {
    .pr-modal-news-meta, .pr-modal-card h3, .pr-modal-body, .pr-modal-dm-head { padding-left: 22px; padding-right: 22px; }
  }

  /* ── Condensed history (ประวัติโดยย่อ) ─────────────────────── */
  .sc-history-rail {
    margin-top: 48px; position: relative;
    display: grid; gap: 8px;
  }
  .sc-history-rail::before {
    content: ""; position: absolute; left: 25px; top: 18px; bottom: 40px;
    width: 2px; background: linear-gradient(to bottom, var(--gold-500), var(--plum-700));
    opacity: 0.35;
  }
  .sc-era {
    display: grid; grid-template-columns: 52px 1fr; gap: 22px;
    align-items: start; padding: 14px 0;
  }
  .sc-era-marker {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--cream-100); border: 2px solid var(--gold-500);
    display: grid; place-items: center; position: relative; z-index: 1;
    box-shadow: 0 8px 20px -10px rgba(74,28,94,0.4);
    transition: transform .25s ease, background .25s, border-color .25s;
  }
  .sc-era-marker span {
    font-family: var(--font-display); font-weight: 800; font-size: 18px;
    color: var(--plum-700);
  }
  .sc-era:hover .sc-era-marker { transform: scale(1.08); background: var(--plum-700); border-color: var(--gold-500); }
  .sc-era:hover .sc-era-marker span { color: var(--gold-500); }
  .sc-era-body {
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 14px; padding: 22px 26px;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .sc-era:hover .sc-era-body { transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(74,28,94,0.35); }
  .sc-era-body .year {
    font-family: var(--font-serif); font-style: italic; font-weight: 600;
    font-size: 19px; color: var(--plum-700); margin-bottom: 4px;
  }
  .sc-era-body h3 {
    font-family: var(--font-display); font-size: 21px; font-weight: 700;
    color: var(--plum-900); margin: 0 0 10px; line-height: 1.3;
  }
  .sc-era-body .era-text p { font-size: 15px; line-height: 1.85; color: var(--ink-700); margin: 0 0 12px; text-wrap: pretty; }
  .sc-era-body .era-text p:last-child { margin-bottom: 0; }
  /* collapsible clamp */
  .sc-era-body .era-text[data-clamp] {
    position: relative; max-height: 6.6em; overflow: hidden;
    transition: max-height .45s ease;
  }
  .sc-era-body .era-text[data-clamp]::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.4em;
    background: linear-gradient(to bottom, rgba(250,246,236,0), var(--cream-50));
    pointer-events: none; transition: opacity .3s;
  }
  .sc-era-body.expanded .era-text[data-clamp] { max-height: 2400px; }
  .sc-era-body.expanded .era-text[data-clamp]::after { opacity: 0; }
  .era-toggle {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
    background: none; border: 0; cursor: pointer; padding: 4px 0;
    font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
    color: var(--plum-700); transition: color .2s;
  }
  .era-toggle:hover { color: var(--gold-700); }
  .era-toggle svg { transition: transform .3s ease; }
  .era-toggle .less-label { display: none; }
  .sc-era-body.expanded .era-toggle .more-label { display: none; }
  .sc-era-body.expanded .era-toggle .less-label { display: inline; }
  .sc-era-body.expanded .era-toggle svg { transform: rotate(180deg); }
  .sc-history-more { margin-top: 30px; text-align: center; }
  .sc-history-more button {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 26px; border-radius: 999px; cursor: pointer;
    background: none; border: 1.5px solid var(--plum-700); color: var(--plum-700);
    font-family: var(--font-display); font-weight: 700; font-size: 14.5px;
    transition: background .2s, color .2s, transform .2s;
  }
  .sc-history-more button:hover { background: var(--plum-700); color: var(--cream-100); transform: translateY(-2px); }
  @media (max-width: 560px) {
    .sc-era { grid-template-columns: 40px 1fr; gap: 14px; }
    .sc-era-marker { width: 40px; height: 40px; }
    .sc-era-marker span { font-size: 15px; }
    .sc-history-rail::before { left: 19px; }
  }

  /* ── Heritage banner ───────────────────────────────────────── */
  .sc-heritage-banner {
    background:
      radial-gradient(800px 400px at 10% 50%, rgba(212,167,44,0.2), transparent 60%),
      linear-gradient(135deg, var(--plum-900), var(--plum-800));
    color: var(--cream-100);
    padding: 80px 0;
    border-top: 1px solid rgba(212,167,44,0.2);
    border-bottom: 1px solid rgba(212,167,44,0.2);
    position: relative; overflow: hidden;
  }
  .sc-heritage-banner::before {
    content: "";
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 10px);
    pointer-events: none;
  }
  .sc-heritage-inner {
    position: relative;
    display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
  }
  @media (max-width: 880px) {
    .sc-heritage-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  }
  .sc-heritage-banner .lbl {
    font-size: 11px; font-weight: 600; letter-spacing: 0.28em;
    text-transform: uppercase; color: var(--gold-500);
  }
  .sc-heritage-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; line-height: 1.2;
    color: #fff; margin: 8px 0 0; letter-spacing: -0.01em;
  }
  .sc-heritage-banner h2 em {
    font-family: var(--font-serif); font-style: italic; font-weight: 500;
    color: var(--gold-500);
  }
  .sc-heritage-banner .years {
    font-family: var(--font-serif); font-style: italic; font-weight: 600;
    font-size: clamp(60px, 8vw, 110px); line-height: 1;
    color: var(--gold-500);
  }
  .sc-heritage-banner .years small {
    display: block; font-family: var(--font-body); font-style: normal; font-weight: 500;
    font-size: 13px; letter-spacing: 0.2em; color: var(--cream-100);
    text-transform: uppercase; margin-top: 8px;
  }

  /* ── Faculty ───────────────────────────────────────────────── */
  .sc-faculty {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    margin-top: 50px;
  }
  @media (max-width: 880px) { .sc-faculty { grid-template-columns: repeat(2, 1fr); } }
  .sc-fac {
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 14px; padding: 28px 22px; text-align: center;
  }
  .sc-fac .av {
    width: 96px; height: 96px; margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--plum-700), var(--plum-500));
    border: 3px solid var(--gold-500);
    display: grid; place-items: center;
    color: var(--gold-500);
    font-family: var(--font-display); font-weight: 700; font-size: 36px;
  }
  .sc-fac h4 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin: 0; color: var(--ink-900); }
  .sc-fac .role { font-size: 13px; color: var(--gold-700); font-weight: 600; letter-spacing: 0.04em; margin-top: 4px; }
  .sc-fac .note { font-size: 12px; color: var(--ink-500); margin-top: 10px; }

  /* ── Calendar ──────────────────────────────────────────────── */
  .sc-cal-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  }
  @media (max-width: 880px) { .sc-cal-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 540px) { .sc-cal-grid { grid-template-columns: 1fr; } }
  .sc-cal {
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 12px; padding: 22px 18px;
    position: relative;
    border-top: 3px solid var(--gold-500);
  }
  .sc-cal[data-tag="exam"] { border-top-color: #b0463a; }
  .sc-cal[data-tag="faith"] { border-top-color: var(--plum-600); }
  .sc-cal[data-tag="holiday"] { border-top-color: #4a7a3a; }
  .sc-cal .m {
    font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold-700);
  }
  .sc-cal .d {
    font-family: var(--font-display); font-size: 36px; font-weight: 800;
    color: var(--plum-900); line-height: 1; margin: 4px 0 10px;
  }
  .sc-cal .t {
    font-size: 13px; color: var(--ink-700); line-height: 1.5;
  }

  /* ── Mission (พันธกิจ) ─────────────────────────────────────── */
  .pr-mission { background: var(--cream); }
  .pr-mission-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
    margin-top: 48px;
  }
  @media (max-width: 880px) { .pr-mission-grid { grid-template-columns: 1fr; } }
  .pr-mission-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 1px 3px rgba(44,14,60,0.04);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .pr-mission-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px -22px rgba(74,28,94,0.35);
  }
  .pr-mission-card .num {
    font-family: var(--font-display);
    font-size: 46px; line-height: 1; font-weight: 700;
    color: var(--plum-700);
    margin-bottom: 18px;
  }
  .pr-mission-card h4 {
    font-size: 19px; font-weight: 700; color: var(--plum-900);
    margin: 0 0 10px; line-height: 1.4;
  }
  .pr-mission-card p {
    font-size: 15px; line-height: 1.7; color: var(--ink-500); margin: 0;
    text-wrap: pretty;
  }

  /* ── Map + visit ───────────────────────────────────────────── */
  .sc-map-grid {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start;
  }
  @media (max-width: 880px) {
    .sc-map-grid { grid-template-columns: 1fr; }
    .sc-map { height: 320px; }
  }
  .sc-map {
    position: relative;
    border-radius: 16px; overflow: hidden;
    height: 440px;
    border: 1px solid rgba(212,167,44,0.3);
    background: var(--plum-800);
  }
  .sc-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .sc-map .marker {
    position: absolute; left: 52%; top: 48%;
    transform: translate(-50%, -100%);
    color: var(--gold-500);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
    pointer-events: none;
  }
  .sc-map .marker svg { width: 56px; height: 56px; position: static; }
  .sc-map .badge {
    position: absolute; left: 24px; top: 24px;
    padding: 8px 14px; border-radius: 999px;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(6px);
    color: var(--cream-100); font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .sc-visit-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,167,44,0.3);
    border-radius: 16px; padding: 32px;
    display: flex; flex-direction: column; gap: 18px;
  }
  .sc-visit-card h3 {
    font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 0; color: var(--gold-500);
  }
  .sc-visit-card p { color: rgba(255,251,240,0.78); font-size: 15px; line-height: 1.7; margin: 0; }
  .sc-visit-card dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 8px 18px; }
  .sc-visit-card dt {
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(255,251,240,0.5); padding-top: 4px;
  }
  .sc-visit-card dd {
    margin: 0 0 6px; color: var(--cream-50); font-size: 15px; line-height: 1.55;
    border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 10px;
  }
  .sc-visit-card dd:last-of-type { border-bottom: 0; }
  .sc-visit-cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 20px; border-radius: 999px;
    background: var(--gold-500); color: var(--plum-900);
    font-weight: 700; font-size: 14px; border: 0;
    font-family: inherit; cursor: pointer; align-self: flex-start;
    transition: transform .15s, box-shadow .15s;
  }
  .sc-visit-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(212,167,44,0.6); }

  /* ── Faculty replaced by Board + Team ──────────────────────── */
  .sc-board {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  }
  @media (max-width: 880px) { .sc-board { grid-template-columns: repeat(2, 1fr); } }
  .sc-board-card {
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 14px; padding: 22px 20px; text-align: center;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  }
  .sc-board-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(74,28,94,0.3); border-color: var(--gold-500); }
  .sc-board-n {
    position: absolute; top: 12px; left: 14px;
    width: 26px; height: 26px; border-radius: 8px;
    background: var(--plum-700); color: var(--gold-500);
    display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 700; font-size: 13px;
  }
  .sc-board-av {
    width: 96px; height: 96px; border-radius: 50%;
    margin: 8px auto 16px;
    overflow: hidden;
    border: 3px solid var(--gold-500);
    background: linear-gradient(135deg, var(--plum-700), var(--plum-900));
  }
  .sc-board-av svg { width: 100%; height: 100%; display: block; }
  .sc-board-card h4 {
    font-family: var(--font-display); font-size: 15px; font-weight: 700;
    color: var(--ink-900); margin: 0 0 4px;
    line-height: 1.3;
  }
  .sc-board-card .role {
    font-size: 12px; color: var(--gold-700); font-weight: 600;
    line-height: 1.4;
  }

  /* Team layout */
  .sc-team-wrap {
    margin-top: 50px;
    display: grid; grid-template-columns: 1fr 2fr; gap: 36px; align-items: start;
  }
  @media (max-width: 880px) { .sc-team-wrap { grid-template-columns: 1fr; } }
  .sc-team-director {
    background: var(--cream-100);
    border: 1px solid var(--gold-500);
    border-radius: 16px;
    padding: 32px 28px; text-align: center;
    box-shadow: 0 20px 40px -22px rgba(212,167,44,0.4);
    position: sticky; top: 90px;
  }
  .sc-team-director .av {
    width: 140px; height: 140px; border-radius: 50%;
    margin: 0 auto 18px;
    overflow: hidden;
    border: 4px solid var(--gold-500);
    box-shadow: 0 10px 24px -8px rgba(74,28,94,0.4);
  }
  .sc-team-director .av svg { width: 100%; height: 100%; display: block; }
  .sc-team-director .badge {
    display: inline-block;
    font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--plum-900); background: var(--gold-500);
    padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
  }
  .sc-team-director h3 {
    font-family: var(--font-display); font-size: 22px; font-weight: 700;
    color: var(--plum-900); margin: 0 0 12px;
  }
  .sc-team-director p { color: var(--ink-700); font-size: 14px; line-height: 1.7; margin: 0; }

  .sc-team-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  }
  @media (max-width: 880px) { .sc-team-grid { grid-template-columns: repeat(2, 1fr); } }
  .sc-team-card {
    background: var(--cream-100); border: 1px solid var(--line);
    border-radius: 14px; padding: 22px 18px; text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .sc-team-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(74,28,94,0.3); }
  .sc-team-card .av {
    width: 76px; height: 76px; border-radius: 50%;
    margin: 0 auto 14px;
    overflow: hidden;
    border: 2px solid var(--gold-500);
  }
  .sc-team-card .av svg { width: 100%; height: 100%; display: block; }
  .sc-team-card h5 {
    font-family: var(--font-display); font-size: 14px; font-weight: 700;
    color: var(--ink-900); margin: 0 0 4px; line-height: 1.35;
  }
  .sc-team-card .role { font-size: 11px; color: var(--gold-700); font-weight: 600; line-height: 1.45; }

  /* ── PRS Character ─────────────────────────────────────────── */
  .sc-prs {
    background:
      radial-gradient(700px 400px at 0% 0%, rgba(212,167,44,0.1), transparent 60%),
      var(--cream-100);
    padding: 110px 0;
  }
  .sc-prs h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.4vw, 56px); font-weight: 800;
    color: var(--plum-900); letter-spacing: -0.015em; line-height: 1.1; margin: 14px 0 0;
  }
  .sc-prs h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--plum-600); }
  .sc-prs-acronym {
    margin: 40px 0; text-align: center;
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(80px, 14vw, 200px); line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--plum-700) 30%, var(--gold-500) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    user-select: none;
  }
  .sc-prs-acronym::after {
    content: "CHARACTER";
    display: block;
    font-size: 16px; letter-spacing: 0.6em;
    color: var(--gold-700); margin-top: 8px;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
  }
  .sc-prs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  @media (max-width: 880px) { .sc-prs-grid { grid-template-columns: 1fr; } }
  .sc-prs-card {
    background: var(--cream-50);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  }
  .sc-prs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -30px rgba(74,28,94,0.4);
    border-color: var(--gold-500);
  }
  .sc-prs-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(to right, var(--plum-700), var(--gold-500));
  }
  .sc-prs-letter {
    position: absolute; top: 12px; right: 22px;
    font-family: var(--font-display); font-weight: 800;
    font-size: 160px; line-height: 1;
    color: var(--plum-100);
    pointer-events: none; user-select: none;
    transition: color .3s;
  }
  .sc-prs-card:hover .sc-prs-letter { color: var(--gold-300); }
  .sc-prs-card .eng {
    font-family: var(--font-display); font-size: 12px; font-weight: 700;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold-700); margin-bottom: 6px;
    position: relative; z-index: 1;
  }
  .sc-prs-card h3 {
    font-family: var(--font-display); font-size: 24px; font-weight: 700;
    color: var(--plum-900); margin: 0 0 6px;
    position: relative; z-index: 1;
  }
  .sc-prs-card .th {
    font-size: 15px; color: var(--ink-700); margin-bottom: 22px;
    padding-bottom: 18px; border-bottom: 1px solid var(--line);
    line-height: 1.55;
    position: relative; z-index: 1;
  }
  .sc-prs-card ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
    position: relative; z-index: 1;
  }
  .sc-prs-card ul li {
    display: grid; grid-template-columns: 20px 1fr; gap: 12px;
    font-size: 14px; color: var(--ink-700); line-height: 1.6;
  }
  .sc-prs-card ul li::before {
    content: "✦"; color: var(--gold-600); font-size: 12px; line-height: 1.6;
  }

  /* ── Teachers by department ────────────────────────────────── */
  .sc-dept-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    margin-top: 50px;
  }
  @media (max-width: 880px) { .sc-dept-grid { grid-template-columns: 1fr; } }
  .sc-dept {
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 16px; padding: 30px 26px;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  }
  .sc-dept:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px -24px rgba(74,28,94,0.35);
    border-color: var(--gold-500);
  }
  .sc-dept .en {
    font-family: var(--font-serif); font-style: italic; font-weight: 600;
    font-size: 56px; line-height: 1; color: var(--plum-100);
    position: absolute; top: 16px; right: 22px;
    user-select: none; pointer-events: none; transition: color .3s;
  }
  .sc-dept:hover .en { color: var(--gold-300); }
  .sc-dept .accent {
    font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold-700);
  }
  .sc-dept h3 {
    font-family: var(--font-display); font-size: 22px; font-weight: 700;
    color: var(--plum-900); margin: 8px 0 16px; position: relative; z-index: 1;
  }
  .sc-dept .head {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 0; margin-bottom: 14px;
    border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line);
  }
  .sc-dept .head .av {
    width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
    overflow: hidden; border: 2px solid var(--gold-500);
    background: linear-gradient(135deg, var(--plum-700), var(--plum-900));
    display: grid; place-items: center;
  }
  .sc-dept .head .av img { width: 100%; height: 100%; object-fit: cover; }
  .sc-dept .head .nm { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink-900); line-height: 1.3; }
  .sc-dept .head .rl { font-size: 11.5px; color: var(--gold-700); font-weight: 600; margin-top: 2px; }
  .sc-dept p { font-size: 13.5px; line-height: 1.7; color: var(--ink-700); margin: 0 0 20px; }
  .sc-dept .roster {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display); font-weight: 700; font-size: 14px;
    color: var(--plum-700); cursor: pointer; text-decoration: none;
    transition: gap .2s, color .2s;
  }
  .sc-dept .roster:hover { gap: 14px; color: var(--gold-700); }

  /* ── Objectives ────────────────────────────────────────────── */
  .sc-obj-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    margin-top: 50px;
  }
  @media (max-width: 880px) { .sc-obj-grid { grid-template-columns: 1fr; } }
  .sc-obj {
    background: var(--cream-50); border: 1px solid var(--line);
    border-radius: 14px; padding: 28px;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .sc-obj:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(74,28,94,0.25); }
  .sc-obj .n {
    font-family: var(--font-serif); font-style: italic;
    font-size: 60px; line-height: 1; color: var(--plum-700); font-weight: 600;
    margin-bottom: 8px;
  }
  .sc-obj h4 {
    font-family: var(--font-display); font-size: 18px; font-weight: 700;
    color: var(--plum-900); margin: 0 0 10px;
  }
  .sc-obj p { color: var(--ink-700); font-size: 14px; line-height: 1.7; margin: 0; }
  .sc-footer {
    background: var(--plum-900); color: rgba(255,251,240,0.6);
    padding: 50px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .sc-footer-inner {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  }
  @media (max-width: 880px) { .sc-footer-inner { grid-template-columns: 1fr 1fr; } }
  .sc-footer-brand { display: flex; flex-direction: column; gap: 12px; }
  .sc-footer-brand .mark {
    width: 60px; height: 60px; border-radius: 50%; background: var(--cream-50);
    border: 2px solid var(--gold-500); display: grid; place-items: center;
    padding: 6px;
  }
  .sc-footer-brand .mark img { width: 100%; height: 100%; object-fit: contain; }
  .sc-footer-brand .name {
    font-family: var(--font-display); color: #fff; font-weight: 700; font-size: 17px;
  }
  .sc-footer-brand .name small { display: block; font-weight: 400; color: var(--gold-500); font-size: 12px; letter-spacing: 0.12em; margin-top: 2px; }
  .sc-footer-brand .tag { font-size: 14px; line-height: 1.7; max-width: 280px; }
  .sc-footer h5 {
    color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px;
    margin: 4px 0 16px; letter-spacing: 0.06em;
  }
  .sc-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
  .sc-footer ul li { font-size: 14px; cursor: pointer; transition: color .15s; }
  .sc-footer ul li:hover { color: var(--gold-500); }
  .sc-footer-bottom {
    margin-top: 40px; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between; gap: 20px;
    font-size: 12px;
  }
  @media (max-width: 720px) { .sc-footer-bottom { flex-direction: column; text-align: center; } }

