:root,
[data-theme="light"] {
  color-scheme: light;
  --navy: #071a33;
  --navy2: #0c2b50;
  --gold: #d8ad55;
  --cream: #f7f5ef;
  --bg: #ffffff;
  --soft-bg: #f7f8fa;
  --surface-alt: #f7f5ef;
  --card-bg: #ffffff;
  --ink: #17243a;
  --heading: #071a33;
  --muted: #64748b;
  --white: #ffffff;
  --border: #e7eaf0;
  --stat-border: #ddd6c8;
  --stats-border: #e8e3d7;
  --btn-dark-bg: #071a33;
  --btn-dark-hover: #0e2c52;
  --btn-dark-ink: #ffffff;
  --btn-dark-border: transparent;
  --accent: #d8ad55;
  --accent-hover: #edc66f;
  --on-accent: #071a33;
  --kicker: #a47b2e;
  --accent-text: #9b742d;
  --header-bg: rgba(7, 26, 51, 0.97);
  --header-border: rgba(255, 255, 255, 0.125);
  --header-ink: #ffffff;
  --header-muted: #cbd5e1;
  --header-link: #e5e7eb;
  --hero-bg: radial-gradient(circle at 80% 20%, #244b70 0, transparent 35%), linear-gradient(120deg, #071a33, #0d3158);
  --hero-ink: #ffffff;
  --hero-muted: #d4deeb;
  --hero-note: #aebed0;
  --panel-bg: #071a33;
  --panel-ink: #ffffff;
  --panel-muted: #cbd5e1;
  --panel-check: #e5edf6;
  --study-bg: linear-gradient(120deg, #0a2443, #123e65);
  --study-ink: #ffffff;
  --study-muted: #d2deeb;
  --study-highlight: #f0dcae;
  --icon-bg: #f7eedc;
  --icon-ink: #8b6727;
  --shadow: 0 8px 28px rgba(11, 30, 54, 0.06);
  --shadow-hover: 0 16px 34px rgba(11, 30, 54, 0.12);
  --input-bg: #ffffff;
  --input-border: #d9dee7;
  --footer-bg: #061326;
  --footer-ink: #cbd5e1;
  --gallery-1: linear-gradient(145deg, #193c5c, #071a33);
  --gallery-2: linear-gradient(145deg, #8e754e, #273b50);
  --gallery-3: linear-gradient(145deg, #315a68, #10273f);
  --orbit-color: #e4bd69;
  --orbit-glow: rgba(228, 189, 105, 0.44);
  --visual-label-bg: rgba(7, 26, 51, 0.91);
  --popover-bg: #ffffff;
  --popover-ink: #17243a;
  --popover-border: #e2e8f0;
  --popover-hover: #f1f5f9;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1220;
  --soft-bg: #10192b;
  --surface-alt: #0e1627;
  --card-bg: #152036;
  --ink: #e2e8f0;
  --heading: #f8fafc;
  --muted: #94a3b8;
  --border: #24324d;
  --stat-border: #24324d;
  --stats-border: #1e2b44;
  --btn-dark-bg: #1f3557;
  --btn-dark-hover: #2b4775;
  --btn-dark-ink: #f8fafc;
  --btn-dark-border: #3a5685;
  --accent: #e5be67;
  --accent-hover: #f2cf80;
  --on-accent: #081426;
  --kicker: #e5be67;
  --accent-text: #e5be67;
  --header-bg: rgba(8, 13, 24, 0.96);
  --header-border: rgba(255, 255, 255, 0.1);
  --hero-bg: radial-gradient(circle at 80% 20%, #1c3b61 0, transparent 38%), linear-gradient(125deg, #070d18, #0f223d);
  --panel-bg: #14223a;
  --study-bg: linear-gradient(120deg, #102442, #183a61);
  --icon-bg: rgba(229, 190, 103, 0.15);
  --icon-ink: #e5be67;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 18px 36px rgba(0, 0, 0, 0.52);
  --input-bg: #0d1525;
  --input-border: #2b3c5c;
  --footer-bg: #050912;
  --visual-label-bg: rgba(8, 13, 24, 0.92);
  --popover-bg: #152036;
  --popover-ink: #f1f5f9;
  --popover-border: #2a3b5c;
  --popover-hover: #1e2d4a;
}

[data-theme="ocean"] {
  color-scheme: light;
  --bg: #ffffff;
  --soft-bg: #f0f7fc;
  --surface-alt: #e8f3fb;
  --card-bg: #ffffff;
  --ink: #102a43;
  --heading: #0a3254;
  --muted: #486581;
  --border: #d6e6f2;
  --stat-border: #c5ddf0;
  --stats-border: #cde2f2;
  --btn-dark-bg: #0b4f7c;
  --btn-dark-hover: #0e6299;
  --btn-dark-ink: #ffffff;
  --btn-dark-border: transparent;
  --accent: #38bdf8;
  --accent-hover: #67cdfa;
  --on-accent: #062038;
  --kicker: #0284c7;
  --accent-text: #0369a1;
  --header-bg: rgba(6, 40, 70, 0.96);
  --hero-bg: radial-gradient(circle at 80% 20%, #0284c7 0, transparent 36%), linear-gradient(120deg, #062846, #0b4f7c);
  --panel-bg: #08385e;
  --study-bg: linear-gradient(120deg, #063052, #0d5b8a);
  --study-highlight: #bae6fd;
  --icon-bg: #e0f2fe;
  --icon-ink: #0369a1;
  --footer-bg: #041e36;
  --gallery-1: linear-gradient(145deg, #0284c7, #062846);
  --gallery-2: linear-gradient(145deg, #0ea5e9, #0c4a6e);
  --gallery-3: linear-gradient(145deg, #14b8a6, #083344);
  --orbit-color: #38bdf8;
  --orbit-glow: rgba(56, 189, 248, 0.45);
  --visual-label-bg: rgba(6, 40, 70, 0.92);
}

[data-theme="emerald"] {
  color-scheme: light;
  --bg: #ffffff;
  --soft-bg: #f2faf6;
  --surface-alt: #eaf6ef;
  --card-bg: #ffffff;
  --ink: #112a22;
  --heading: #0b382a;
  --muted: #47685c;
  --border: #d4eadf;
  --stat-border: #c1e0d0;
  --stats-border: #cbe6d8;
  --btn-dark-bg: #0d4a38;
  --btn-dark-hover: #126149;
  --btn-dark-ink: #ffffff;
  --btn-dark-border: transparent;
  --accent: #34d399;
  --accent-hover: #5ee2b1;
  --on-accent: #052e22;
  --kicker: #059669;
  --accent-text: #047857;
  --header-bg: rgba(7, 46, 35, 0.96);
  --hero-bg: radial-gradient(circle at 80% 20%, #059669 0, transparent 36%), linear-gradient(120deg, #072e23, #0f4d3b);
  --panel-bg: #0b3d2e;
  --study-bg: linear-gradient(120deg, #083427, #105641);
  --study-highlight: #a7f3d0;
  --icon-bg: #dcfce7;
  --icon-ink: #047857;
  --footer-bg: #052118;
  --gallery-1: linear-gradient(145deg, #059669, #072e23);
  --gallery-2: linear-gradient(145deg, #10b981, #064e3b);
  --gallery-3: linear-gradient(145deg, #0d9488, #0f3a36);
  --orbit-color: #34d399;
  --orbit-glow: rgba(52, 211, 153, 0.45);
  --visual-label-bg: rgba(7, 46, 35, 0.92);
}

[data-theme="royal"] {
  color-scheme: light;
  --bg: #ffffff;
  --soft-bg: #f7f4fc;
  --surface-alt: #f1ecfa;
  --card-bg: #ffffff;
  --ink: #21173a;
  --heading: #2a1454;
  --muted: #5c527a;
  --border: #e3daf5;
  --stat-border: #d4c7ef;
  --stats-border: #ddd3f3;
  --btn-dark-bg: #3c1d75;
  --btn-dark-hover: #4f2896;
  --btn-dark-ink: #ffffff;
  --btn-dark-border: transparent;
  --accent: #c084fc;
  --accent-hover: #d3a7fd;
  --on-accent: #1d0c3d;
  --kicker: #7c3aed;
  --accent-text: #6d28d9;
  --header-bg: rgba(34, 15, 68, 0.96);
  --hero-bg: radial-gradient(circle at 80% 20%, #7c3aed 0, transparent 36%), linear-gradient(120deg, #220f44, #3b1c73);
  --panel-bg: #2c1457;
  --study-bg: linear-gradient(120deg, #26114d, #442182);
  --study-highlight: #e9d5ff;
  --icon-bg: #f3e8ff;
  --icon-ink: #6d28d9;
  --footer-bg: #170930;
  --gallery-1: linear-gradient(145deg, #6d28d9, #220f44);
  --gallery-2: linear-gradient(145deg, #9333ea, #3b0764);
  --gallery-3: linear-gradient(145deg, #4f46e5, #1e1b4b);
  --orbit-color: #c084fc;
  --orbit-glow: rgba(192, 132, 252, 0.45);
  --visual-label-bg: rgba(34, 15, 68, 0.92);
}

[data-theme="crimson"] {
  color-scheme: light;
  --bg: #ffffff;
  --soft-bg: #fdf6f5;
  --surface-alt: #faece9;
  --card-bg: #ffffff;
  --ink: #2e1518;
  --heading: #4d121d;
  --muted: #755258;
  --border: #f2d8d5;
  --stat-border: #e7c2bd;
  --stats-border: #edd0cc;
  --btn-dark-bg: #6e1829;
  --btn-dark-hover: #8a1f34;
  --btn-dark-ink: #ffffff;
  --btn-dark-border: transparent;
  --accent: #f59e0b;
  --accent-hover: #fbbf24;
  --on-accent: #3b0b14;
  --kicker: #be123c;
  --accent-text: #9f1239;
  --header-bg: rgba(68, 12, 24, 0.96);
  --hero-bg: radial-gradient(circle at 80% 20%, #be123c 0, transparent 36%), linear-gradient(120deg, #440c18, #70162b);
  --panel-bg: #541120;
  --study-bg: linear-gradient(120deg, #4a0e1b, #7a182f);
  --study-highlight: #fde68a;
  --icon-bg: #ffe4e6;
  --icon-ink: #be123c;
  --footer-bg: #2b070f;
  --gallery-1: linear-gradient(145deg, #be123c, #440c18);
  --gallery-2: linear-gradient(145deg, #d97706, #5c1623);
  --gallery-3: linear-gradient(145deg, #9f1239, #3b0d18);
  --orbit-color: #fbbf24;
  --orbit-glow: rgba(251, 191, 36, 0.45);
  --visual-label-bg: rgba(68, 12, 24, 0.92);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  transition: background-color .25s ease, color .25s ease
}

a {
  text-decoration: none;
  color: inherit
}

.wrap {
  width: min(1160px, 92%);
  margin: auto
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  color: var(--header-ink);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(8px);
  transition: background-color .25s ease
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  flex-shrink: 0
}

.mark {
  width: 42px;
  height: 42px;
  border: 2px solid var(--accent);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 900;
  font-size: 20px
}

.brand small {
  display: block;
  color: var(--header-muted);
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600
}

.links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 13px;
  color: var(--header-link)
}

.links a:hover {
  color: var(--accent)
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  flex-shrink: 0
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  font-size: 13px;
  border: 0;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 20px rgba(0, 0, 0, .22);
  background: var(--accent-hover)
}

.btn.outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .45);
  color: var(--hero-ink)
}

.btn.outline:hover {
  background: rgba(255, 255, 255, .12)
}

.btn.dark {
  background: var(--btn-dark-bg);
  color: var(--btn-dark-ink);
  border: 1px solid var(--btn-dark-border)
}

.btn.dark:hover {
  background: var(--btn-dark-hover);
  color: var(--btn-dark-ink)
}

/* Theme Switcher */
.theme-switcher {
  position: relative
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .08);
  color: var(--header-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, .16);
  border-color: var(--accent)
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px
}

.theme-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 50%, var(--btn-dark-bg) 50%);
  border: 2px solid rgba(255, 255, 255, .85);
  flex-shrink: 0
}

.theme-chevron {
  font-size: 10px;
  opacity: .75;
  transition: transform .2s ease
}

.theme-toggle[aria-expanded="true"] .theme-chevron {
  transform: rotate(180deg)
}

.theme-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 252px;
  padding: 12px;
  border-radius: 14px;
  background: var(--popover-bg);
  color: var(--popover-ink);
  border: 1px solid var(--popover-border);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
  z-index: 50;
  display: none
}

.theme-menu.open {
  display: block;
  animation: menuPop .18s ease-out
}

@keyframes menuPop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.97)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

.theme-menu-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2px 4px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.theme-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid var(--popover-border);
  background: transparent;
  color: var(--popover-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: background .15s ease, border-color .15s ease, transform .15s ease
}

.theme-option:hover {
  background: var(--popover-hover);
  transform: translateY(-1px)
}

.theme-option[aria-checked="true"] {
  border-color: var(--accent);
  background: var(--popover-hover);
  box-shadow: inset 0 0 0 1px var(--accent)
}

.swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(128, 128, 128, .3);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35)
}

.swatch-light {
  background: linear-gradient(135deg, #ffffff 50%, #071a33 50%)
}

.swatch-dark {
  background: linear-gradient(135deg, #0b1220 50%, #e5be67 50%)
}

.swatch-ocean {
  background: linear-gradient(135deg, #0b4f7c 50%, #38bdf8 50%)
}

.swatch-emerald {
  background: linear-gradient(135deg, #0b3d2e 50%, #34d399 50%)
}

.swatch-royal {
  background: linear-gradient(135deg, #3c1d75 50%, #c084fc 50%)
}

.swatch-crimson {
  background: linear-gradient(145deg, #6e1829 50%, #f59e0b 50%)
}

.hero {
  background: var(--hero-bg);
  color: var(--hero-ink);
  overflow: hidden
}

.hero-grid {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  padding: 70px 0
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px
}

h1 {
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -2px;
  margin: 18px 0
}

h1 span {
  color: var(--accent)
}

.hero p {
  color: var(--hero-muted);
  max-width: 570px;
  font-size: 17px
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px
}

.hero-note {
  font-size: 12px !important;
  color: var(--hero-note) !important;
  margin-top: 22px
}

.visual {
  width: 100%;
  max-width: 520px;
  justify-self: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  position: relative
}

.director-frame {
  width: 100%;
  aspect-ratio: 1024 / 887;
  overflow: hidden;
  animation: directorFloat 5.5s ease-in-out infinite;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 91%, transparent 100%);
  mask-composite: intersect
}

.director-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), filter .5s ease
}

.visual:hover .director-photo {
  transform: scale(1.03);
  filter: brightness(1.04) contrast(1.02)
}

.stats {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--stats-border);
  transition: background-color .25s ease
}

.statgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 23px 0;
  gap: 15px
}

.stat {
  text-align: center;
  border-right: 1px solid var(--stat-border)
}

.stat:last-child {
  border: 0
}

.stat strong {
  display: block;
  color: var(--heading);
  font-size: 18px
}

.stat span {
  font-size: 11px;
  color: var(--muted)
}

section {
  padding: 82px 0;
  transition: background-color .25s ease
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 42px
}

.section-head h2 {
  font-size: 36px;
  line-height: 1.2;
  margin: 10px 0;
  color: var(--heading)
}

.section-head p {
  color: var(--muted)
}

.kicker {
  color: var(--kicker);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center
}

.about-heading {
  font-size: 36px;
  line-height: 1.2;
  color: var(--heading)
}

.about-lead-tag {
  color: var(--accent-text);
  font-weight: 800;
  letter-spacing: .2px
}

.about-muted {
  color: var(--muted)
}

.about-panel {
  background: var(--panel-bg);
  color: var(--panel-ink);
  padding: 36px;
  border-radius: 18px;
  position: relative;
  overflow: hidden
}

.about-panel:after {
  content: "K";
  position: absolute;
  right: 15px;
  bottom: -80px;
  font-size: 260px;
  color: rgba(255, 255, 255, .04);
  font-weight: 900
}

.about-panel h3 {
  font-size: 27px;
  line-height: 1.2;
  margin: 8px 0 15px
}

.about-panel p {
  color: var(--panel-muted)
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 25px
}

.check {
  font-size: 13px;
  color: var(--panel-check)
}

.check:before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
  margin-right: 8px
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.card {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card-bg);
  box-shadow: var(--shadow)
}

.icon {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: var(--icon-bg);
  color: var(--icon-ink);
  display: grid;
  place-items: center;
  font-size: 21px;
  margin-bottom: 16px
}

.card h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 18px
}

.card p {
  color: var(--muted);
  font-size: 13px;
  margin: 0
}

.soft {
  background: var(--soft-bg)
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px
}

.facility {
  background: var(--card-bg);
  border-radius: 13px;
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow)
}

.facility b {
  display: block;
  color: var(--heading);
  margin: 9px 0 4px
}

.facility p {
  font-size: 12px;
  color: var(--muted);
  margin: 0
}

.study {
  background: var(--study-bg);
  color: var(--study-ink);
  border-radius: 20px;
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 25px
}

.study h2 {
  font-size: 30px;
  margin: 5px 0
}

.study p {
  color: var(--study-muted);
  margin: 0
}

.study-note {
  margin-top: 12px !important;
  color: var(--study-highlight) !important;
  font-size: 13px
}

.hours {
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  padding: 18px 22px;
  text-align: center;
  min-width: 170px
}

.hours strong {
  font-size: 24px;
  color: var(--accent);
  display: block
}

.hours span {
  font-size: 12px;
  color: var(--study-muted)
}

.gallery-grid {
  display: grid;
  grid-template-columns: .84fr 1fr;
  gap: 16px;
  align-items: stretch
}

.gallery-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  font-weight: 800;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--gallery-1)
}

.gallery-tile:first-child {
  grid-row: 1 / span 2;
  aspect-ratio: 837 / 1024;
  height: 100%
}

.gallery-tile:nth-child(2) {
  aspect-ratio: 1024 / 472;
  background: var(--gallery-2)
}

.gallery-tile:nth-child(3) {
  aspect-ratio: 1024 / 576;
  background: var(--gallery-3)
}

.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease
}

.gallery-tile:first-child img {
  object-position: center top
}

.gallery-tile:nth-child(2) img {
  object-position: center center
}

.gallery-tile:nth-child(3) img {
  object-position: center 22%
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 12, 24, .78) 0%, rgba(4, 12, 24, .22) 38%, transparent 65%);
  pointer-events: none;
  z-index: 1
}

.gallery-tile span {
  position: relative;
  z-index: 2;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55)
}

.contact {
  background: var(--surface-alt)
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px
}

.contact-info {
  background: var(--panel-bg);
  color: var(--panel-ink);
  border-radius: 16px;
  padding: 30px
}

.contact-info p {
  color: var(--panel-muted);
  font-size: 14px
}

.contact-line {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  font-size: 13px
}

.form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow)
}

.form h3 {
  margin-top: 0;
  color: var(--heading)
}

label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 12px 0 5px;
  color: var(--ink)
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--input-border);
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
  background: var(--input-bg);
  color: var(--ink);
  transition: border-color .2s ease, background-color .25s ease
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: .8
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent)
}

textarea {
  min-height: 90px;
  resize: vertical
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none
}

.form-actions {
  margin-top: 16px
}

.form-actions .btn {
  width: 100%
}

.btn[disabled] {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none
}

.form small,
.form-note {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
  min-height: 18px
}

.form-note.is-success {
  color: #15803d;
  font-weight: 700
}

[data-theme="dark"] .form-note.is-success {
  color: #4ade80
}

.form-note.is-error {
  color: #b91c1c;
  font-weight: 700
}

[data-theme="dark"] .form-note.is-error {
  color: #f87171
}

footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 30px 0;
  font-size: 12px;
  transition: background-color .25s ease
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  transition: color .2s ease, border-color .2s ease, transform .2s ease
}

.social-link:hover {
  color: var(--accent)
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap
}

.footer-social {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  font-weight: 700
}

.footer-social:hover {
  border-color: var(--accent);
  transform: translateY(-1px)
}

@media(max-width:850px) {
  .links {
    display: none
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 55px 0
  }

  .visual {
    max-width: 460px
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .cards {
    grid-template-columns: repeat(2, 1fr)
  }

  .facility-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:560px) {
  section {
    padding: 60px 0
  }

  .nav {
    height: 68px;
    gap: 8px
  }

  .brand {
    gap: 8px
  }

  .brand-logo {
    width: 38px;
    height: 38px
  }

  .brand span {
    font-size: 12px
  }

  .brand small {
    font-size: 8.5px;
    letter-spacing: 1px
  }

  .nav-actions {
    gap: 6px
  }

  .theme-switcher {
    position: static
  }

  .theme-menu {
    right: 0;
    width: min(252px, calc(100vw - 24px))
  }

  .theme-label {
    display: none
  }

  .theme-toggle {
    padding: 7px 9px;
    gap: 5px
  }

  .nav-actions .btn {
    padding: 9px 11px;
    font-size: 11.5px;
    white-space: nowrap
  }

  .statgrid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stat:nth-child(2) {
    border: 0
  }

  .cards,
  .gallery-grid {
    grid-template-columns: 1fr
  }

  .gallery-tile:first-child {
    grid-row: auto;
    height: auto
  }

  .facility-grid {
    grid-template-columns: 1fr 1fr
  }

  .study {
    grid-template-columns: 1fr;
    padding: 25px
  }

  .hours {
    text-align: left
  }

  .section-head h2,
  .about-heading {
    font-size: 29px
  }

  .hero-grid {
    min-height: auto
  }

  .hero p {
    font-size: 15px
  }
}

/* Brand identity and motion */
.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
  box-shadow: 0 0 0 2px var(--accent);
  transition: transform .45s ease, box-shadow .45s ease
}

.brand:hover .brand-logo {
  transform: rotate(-7deg) scale(1.06);
  box-shadow: 0 0 0 3px var(--accent), 0 8px 22px rgba(0, 0, 0, .3)
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.footer-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 2px
}

.card,
.facility,
.gallery-tile {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background-color .25s ease
}

.card:hover,
.facility:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent)
}

.gallery-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent)
}

.gallery-tile:hover img {
  transform: scale(1.03)
}

.hero .eyebrow {
  animation: fadeUp .8s both
}

.hero h1 {
  animation: fadeUp .9s .12s both
}

.hero p,
.hero .actions {
  animation: fadeUp .9s .24s both
}

.visual {
  animation: floatIn 1s .2s both
}

.mark {
  transition: transform .3s ease
}

section .section-head,
section .about-grid,
section .cards,
section .facility-grid,
section .study,
section .gallery-grid,
section .contact-grid {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease
}

section .is-visible {
  opacity: 1;
  transform: translateY(0)
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateX(25px) scale(.98)
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1)
  }
}

@keyframes directorFloat {
  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }
}

.program-photo {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 0 15px;
  display: block
}

.facility-photo {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 9px;
  margin: 0 0 13px;
  display: block
}

.card,
.facility {
  overflow: hidden
}