:root {
  --navy: #092a38;
  --navy-deep: #071f2a;
  --ink: #123746;
  --muted: #58717b;
  --teal: #0c8d84;
  --teal-deep: #087269;
  --aqua: #55cfbf;
  --mint: #d8f5ed;
  --sky: #dceff7;
  --paper: #ffffff;
  --line: rgba(19, 92, 101, 0.16);
  --shadow: 0 38px 65px -28px rgba(22, 62, 80, 0.3), 0 8px 18px -10px rgba(22, 62, 80, 0.16);
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  color: var(--ink);
  background:
    radial-gradient(ellipse at 8% 20%, rgba(105, 219, 204, 0.14), transparent 45%),
    radial-gradient(ellipse at 94% 10%, rgba(123, 181, 232, 0.16), transparent 40%),
    radial-gradient(ellipse at 70% 96%, rgba(167, 144, 223, 0.1), transparent 40%),
    linear-gradient(135deg, #ffffff 0%, #fbfdfd 50%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  content: "";
}

body::before {
  inset: 0;
  opacity: 0.1;
  background-image:
    radial-gradient(ellipse at 50% 100%, transparent 58%, rgba(24, 139, 132, 0.13) 60%, transparent 64%),
    radial-gradient(ellipse at 50% 0%, transparent 58%, rgba(35, 133, 166, 0.1) 60%, transparent 64%);
  background-position: 0 0, 24px 18px;
  background-size: 48px 36px;
  mask-image: linear-gradient(115deg, transparent 10%, black 50%, transparent 92%);
}

body::after {
  width: min(50vw, 680px);
  height: min(50vw, 680px);
  right: -18vw;
  bottom: -35vw;
  border-radius: 50%;
  border: 1px solid rgba(16, 133, 126, 0.12);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.22), 0 0 0 140px rgba(65, 182, 172, 0.04);
}

button,
a { -webkit-tap-highlight-color: transparent; }

button,
input,
select,
textarea { font: inherit; }

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

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(18, 142, 133, 0.46);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.72rem 1rem;
  border-radius: 12px;
  color: white;
  background: var(--navy);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.page-shell {
  display: grid;
  width: min(100% - 3rem, 1240px);
  height: 100svh;
  margin-inline: auto;
  grid-template-rows: 92px minmax(0, 1fr) 48px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  padding: 4px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(173, 131, 52, 0.38);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 224, 187, 0.7));
  box-shadow: 0 10px 28px rgba(103, 79, 31, 0.12), inset 0 0 0 3px rgba(255, 255, 255, 0.55);
}

.brand-mark::after {
  position: absolute;
  inset: 3px;
  pointer-events: none;
  border: 1px solid rgba(224, 192, 121, 0.43);
  border-radius: 12px;
  content: "";
}

.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 0.2rem;
  line-height: 1;
}

.brand-copy strong {
  color: var(--navy);
  font-size: 1.02rem;
  letter-spacing: -0.025em;
}

.brand-copy small {
  color: #6b7c82;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.92rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 9px 30px rgba(28, 101, 108, 0.06);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-link:hover {
  border-color: rgba(15, 135, 126, 0.28);
  background: white;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  padding: clamp(1.75rem, 4.4vh, 3.5rem) clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  border: 1px solid #ffffff;
  border-radius: 34px;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(105, 219, 204, 0.1), transparent 48%),
    linear-gradient(135deg, #ffffff 0%, #ffffff 45%, #f4f9fd 100%);
  box-shadow: var(--shadow), inset 0 2px 0 #ffffff, inset 0 -5px 0 rgba(125, 151, 168, 0.09);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  top: -12rem;
  left: 34%;
  border-radius: 50%;
  background: rgba(132, 226, 208, 0.23);
  filter: blur(35px);
  content: "";
}

.hero-copy {
  display: flex;
  min-width: 0;
  align-self: center;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: clamp(0.75rem, 1.6vh, 1.15rem);
  color: #357078;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20ad8f;
  box-shadow: 0 0 0 5px rgba(32, 173, 143, 0.12);
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 770px;
  margin-bottom: clamp(0.85rem, 2vh, 1.25rem);
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 5.25vw, 5.7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

h1 em {
  color: transparent;
  background: linear-gradient(95deg, #0b8179 0%, #1aa491 48%, #337e9c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: italic;
}

.hero-lead {
  max-width: 630px;
  margin-bottom: clamp(1rem, 2.3vh, 1.6rem);
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.62;
}

.program-facts {
  display: flex;
  margin-bottom: clamp(1rem, 2.6vh, 1.8rem);
  gap: clamp(1.25rem, 3vw, 2.6rem);
}

.program-facts > div {
  display: grid;
  gap: 0.15rem;
}

.program-facts strong {
  color: var(--navy);
  font-size: 1.16rem;
  letter-spacing: -0.04em;
}

.program-facts span {
  color: #6a7f87;
  font-size: 0.73rem;
  font-weight: 720;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.hero-actions {
  display: grid;
  width: 100%;
  max-width: 420px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 830;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(1px); }

.button-primary {
  color: white;
  background: linear-gradient(135deg, #0c8f85, #08726e);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 4px 0 #075950, 0 14px 24px -10px rgba(6,116,108,0.4);
}

.button-primary:hover { box-shadow: 0 16px 38px rgba(6, 116, 108, 0.28); }

.button-secondary {
  border-color: rgba(16, 98, 105, 0.17);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 25px rgba(25, 84, 93, 0.07);
}

.button-secondary:hover {
  border-color: rgba(16, 131, 123, 0.3);
  background: white;
}

.button-booking {
  border-color: rgba(18, 137, 130, 0.23);
  color: #0a756e;
  background: rgba(219, 246, 240, 0.72);
}

.button-booking:hover {
  border-color: rgba(18, 137, 130, 0.38);
  background: #e1f8f2;
}

.button-roblox {
  border-color: rgba(123, 63, 184, 0.2);
  color: white;
  background: linear-gradient(135deg, #7b3fc1 0%, #db3c76 55%, #f27c3d 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 4px 0 #803568, 0 14px 24px -10px rgba(164,52,125,0.4);
}

.button-roblox:hover {
  box-shadow: 0 16px 34px rgba(164, 52, 125, 0.3);
}

.roblox-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 4px solid currentColor;
  transform: rotate(12deg);
}

.calendar-icon {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 15px;
  border: 1.8px solid currentColor;
  border-radius: 4px;
}

.calendar-icon::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 100%;
  border-top: 1.8px solid currentColor;
  content: "";
}

.micro-copy {
  margin: clamp(0.9rem, 2vh, 1.3rem) 0 0;
  color: #6b8088;
  font-size: 0.75rem;
  font-weight: 680;
}

.micro-copy span {
  color: var(--teal);
  font-weight: 900;
}

.visual-panel {
  position: relative;
  display: grid;
  min-height: 0;
  align-self: stretch;
  padding: clamp(0.8rem, 1.8vw, 1.25rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  color: white;
  background:
    radial-gradient(circle at 50% 17%, rgba(50, 218, 196, 0.25), transparent 34%),
    linear-gradient(145deg, #123d49 0%, #0b303b 58%, #102f3d 100%);
  box-shadow: 7px 10px 0 -3px #c6d8dc, 12px 22px 30px -14px rgba(8,47,57,0.42), inset 0 2px 0 rgba(255,255,255,0.26), inset 0 -3px 0 rgba(0,0,0,0.16);
  grid-template-rows: minmax(0, 1fr) auto;
}

.visual-panel::before {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(ellipse at 50% 100%, transparent 56%, rgba(91, 227, 208, 0.16) 59%, transparent 63%),
    radial-gradient(ellipse at 50% 0%, transparent 56%, rgba(71, 190, 211, 0.15) 59%, transparent 63%);
  background-position: 0 0, 23px 17px;
  background-size: 46px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  content: "";
}

.visual-glow {
  position: absolute;
  top: 5%;
  left: 50%;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(73, 231, 205, 0.2);
  filter: blur(58px);
  transform: translateX(-50%);
}

.emblem-frame {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 0;
  place-items: center;
}

.emblem-frame img {
  width: min(100%, 465px);
  max-height: 100%;
  border: 1px solid rgba(120, 246, 225, 0.2);
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 22px 15px rgba(0, 0, 0, 0.42));
  transform: perspective(900px) rotateY(-7deg) rotateX(3deg) scale(0.94);
}

.visual-caption {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.45rem 0.2rem;
}

.visual-caption > div {
  display: grid;
  gap: 0.15rem;
}

.visual-caption span {
  color: #a8d7d5;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.visual-caption strong {
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.65rem;
  border: 1px solid rgba(116, 236, 218, 0.18);
  border-radius: 999px;
  color: #d7f8f1 !important;
  background: rgba(1, 24, 31, 0.28);
  letter-spacing: 0.045em !important;
  white-space: nowrap;
}

.status-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #62dfae;
  box-shadow: 0 0 0 4px rgba(98, 223, 174, 0.12);
}

.site-footer {
  color: #71858c;
  font-size: 0.72rem;
  font-weight: 650;
}

.site-footer a { color: #5b747b; }
.site-footer strong { color: var(--navy); }

.modal {
  width: min(92vw, 760px);
  max-height: min(88svh, 760px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 26px;
  color: var(--ink);
  background: transparent;
  box-shadow: 0 35px 110px rgba(4, 35, 45, 0.34);
}

.modal::backdrop {
  background: rgba(7, 38, 48, 0.52);
  backdrop-filter: blur(9px);
}

.modal[open] { animation: modal-in 190ms ease-out; }

.modal-card {
  position: relative;
  max-height: min(88svh, 760px);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(100, 211, 196, 0.18), transparent 35%),
    linear-gradient(145deg, #ffffff, #f2faf8);
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 130, 121, 0.35) transparent;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(11, 94, 101, 0.15);
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.8);
  font-size: 1.65rem;
  font-weight: 350;
  line-height: 1;
  cursor: pointer;
}

.modal-kicker {
  margin-bottom: 0.65rem;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal h2 {
  max-width: 620px;
  margin-bottom: 0.85rem;
  padding-right: 2rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.05rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.modal-intro {
  max-width: 650px;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.modal-stat-grid {
  display: grid;
  margin-bottom: 1.45rem;
  border: 1px solid rgba(18, 116, 116, 0.13);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.66);
  grid-template-columns: repeat(4, 1fr);
}

.modal-stat-grid > div {
  display: grid;
  padding: 1rem;
  gap: 0.22rem;
}

.modal-stat-grid > div + div { border-left: 1px solid rgba(18, 116, 116, 0.1); }

.modal-stat-grid strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.modal-stat-grid span {
  color: #70838a;
  font-size: 0.73rem;
  line-height: 1.35;
}

.modal-columns {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}

.modal-columns h3 {
  margin-bottom: 0.6rem;
  color: var(--navy);
  font-size: 0.92rem;
}

.modal-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-columns li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.25rem;
  color: #57717a;
  font-size: 0.87rem;
  line-height: 1.4;
}

.modal-columns li::before {
  position: absolute;
  top: 0.84rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #29a99a;
  content: "";
}

.modal-actions {
  display: flex;
  margin-top: 1.55rem;
  gap: 0.65rem;
}

.modal-compact {
  width: min(92vw, 560px);
  text-align: center;
}

.modal-compact .modal-card { padding-inline: clamp(1.5rem, 6vw, 3.4rem); }
.modal-compact h2 { padding-right: 0; }
.modal-compact .modal-intro { margin-inline: auto; }

.booking-symbol {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  place-items: center;
  border: 1px solid rgba(11, 130, 120, 0.18);
  border-radius: 17px;
  color: var(--teal);
  background: #e4f8f3;
}

.booking-symbol .calendar-icon {
  width: 22px;
  height: 21px;
}

.roblox-symbol {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 1rem;
  place-items: center;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, #7b3fc1 0%, #dc3c77 55%, #f27c3d 100%);
  box-shadow: 0 14px 30px rgba(164, 52, 125, 0.22);
}

.roblox-symbol .roblox-icon {
  width: 24px;
  height: 24px;
  border-width: 7px;
}

.roblox-kicker { color: #b52f70; }

.roblox-project-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(162, 55, 128, 0.15);
  border-radius: 16px;
  text-align: left;
  background: linear-gradient(135deg, rgba(123, 63, 193, 0.08), rgba(242, 124, 61, 0.1));
}

.roblox-project-card > span {
  padding: 0.45rem 0.52rem;
  border-radius: 9px;
  color: white;
  background: linear-gradient(135deg, #7b3fc1, #da3c77);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.roblox-project-card div { display: grid; gap: 0.18rem; }
.roblox-project-card strong { color: var(--navy); font-size: 0.88rem; }
.roblox-project-card small { color: #71848a; font-size: 0.76rem; line-height: 1.4; }

.booking-status {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(21, 133, 125, 0.13);
  border-radius: 16px;
  text-align: left;
  background: rgba(255, 255, 255, 0.68);
}

.booking-status i {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #e4a43d;
  box-shadow: 0 0 0 5px rgba(228, 164, 61, 0.12);
}

.booking-status span {
  display: grid;
  gap: 0.2rem;
}

.booking-status strong {
  color: var(--navy);
  font-size: 0.85rem;
}

.booking-status small {
  color: #71848a;
  font-size: 0.73rem;
}

.modal-compact .modal-actions { justify-content: center; }

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 960px) {
  .page-shell {
    width: min(100% - 1.5rem, 820px);
    grid-template-rows: 78px minmax(0, 1fr) 38px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(245px, 0.7fr);
    gap: 1.5rem;
    padding: 1.7rem;
    border-radius: 28px;
  }

  h1 { font-size: clamp(2.85rem, 7vw, 4.7rem); }
  .hero-actions { max-width: 420px; }
  .visual-caption { display: grid; }
  .status-pill { width: max-content; }
}

@media (max-width: 720px) {
  .page-shell {
    width: calc(100% - 1rem);
    grid-template-rows: 68px minmax(0, 1fr) 30px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .brand-mark img,
  .brand-mark::after { border-radius: 10px; }
  .brand-copy strong { font-size: 0.9rem; }
  .brand-copy small { font-size: 0.58rem; }

  .header-link {
    min-height: 40px;
    padding: 0.6rem 0.72rem;
    font-size: 0.75rem;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.75rem;
    padding: clamp(1rem, 3.8vw, 1.35rem);
    border-radius: 23px;
  }

  .hero-copy { align-self: start; }

  .eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.65rem;
  }

  h1 {
    margin-bottom: 0.65rem;
    font-size: clamp(2.55rem, 12vw, 4rem);
    line-height: 0.94;
  }

  .hero-lead {
    margin-bottom: 0.72rem;
    font-size: 1rem;
    line-height: 1.45;
  }

  .program-facts {
    margin-bottom: 0.78rem;
    gap: 1.3rem;
  }

  .program-facts strong { font-size: 1rem; }
  .program-facts span { font-size: 0.64rem; }

  .hero-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .button {
    min-height: 46px;
    padding: 0.7rem 0.7rem;
    font-size: 0.875rem;
  }

  .micro-copy { display: none; }

  .visual-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 1fr;
    align-items: center;
    padding: 0.55rem 0.75rem;
    border-radius: 19px;
  }

  .emblem-frame img {
    width: min(34vw, 160px);
    max-height: 100%;
  }

  .visual-caption {
    align-content: center;
    padding: 0;
  }

  .visual-caption > div span { font-size: 0.56rem; }
  .visual-caption strong { font-size: 0.77rem; }

  .status-pill {
    padding: 0.38rem 0.5rem;
    font-size: 0.55rem !important;
  }

  .site-footer > span { display: none; }

  .site-footer {
    justify-content: center;
    font-size: 0.63rem;
  }

  .modal-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-stat-grid > div:nth-child(3) { border-left: 0; }
  .modal-stat-grid > div:nth-child(n + 3) { border-top: 1px solid rgba(18, 116, 116, 0.1); }

  .modal-columns {
    gap: 1rem;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-link span { display: none; }
  .hero-lead { max-width: 96%; }

  .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) and (max-height: 740px) {
  .page-shell { grid-template-rows: 60px minmax(0, 1fr) 24px; }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero {
    gap: 0.5rem;
    padding: 0.85rem 1rem;
  }

  .eyebrow { margin-bottom: 0.4rem; }

  h1 {
    margin-bottom: 0.5rem;
    font-size: clamp(2.2rem, 10.5vw, 3rem);
  }

  .hero-lead {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.35;
  }

  .program-facts { margin-bottom: 0.55rem; }
  .button { min-height: 41px; }
  .emblem-frame img { width: min(26vw, 118px); }
}

@media (max-width: 380px) and (max-height: 640px) {
  .brand-copy small,
  .program-facts,
  .visual-caption > div span,
  .status-pill { display: none; }

  .hero-actions { gap: 0.45rem; }
  .visual-panel { grid-template-columns: 105px 1fr; }
}

@media (max-width: 720px), (max-height: 680px) {
  html, body { height: auto; min-height: 100%; overflow-y: auto; overflow-x: hidden; }
  .page-shell { height: auto; min-height: 100svh; grid-template-rows: 72px auto 40px; }
  .hero { overflow: visible; }
  .visual-panel { min-height: 155px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
