﻿:root {
  --ink: #0b4f60;
  --ink-deep: #073d49;
  --teal: #159da3;
  --teal-dark: #087e87;
  --teal-soft: #eaf6f5;
  --wood: #c98745;
  --walnut: #7b4327;
  --gold: #e5b66c;
  --cream: #fff7ea;
  --paper: #fcfefe;
  --muted: #60767b;
  --line: #d7e6e4;
  --shadow: 0 22px 64px rgba(24, 68, 72, 0.11);
  --shadow-soft: 0 10px 30px rgba(24, 68, 72, 0.075);
  --radius-lg: 26px;
  --radius-md: 16px;
  --shell: min(1540px, calc(100% - 120px));
  --section-frame: min(1800px, calc(100% - 48px));
  --display-font: "Microsoft JhengHei UI", "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", system-ui, sans-serif;
  --body-font: "Microsoft JhengHei UI", "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", system-ui, sans-serif;
  --utility-font: "Segoe UI", Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink-deep);
  background: var(--paper);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0.012em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  color: white;
  background: var(--ink-deep);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(8, 126, 135, 0.18);
  box-shadow: 0 8px 30px rgba(7, 61, 73, 0.07);
  backdrop-filter: blur(20px);
}

.header-inner {
  width: var(--shell);
  min-height: 92px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(310px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  gap: 28px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 0.7vw, 12px);
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 12px 14px;
  border-radius: 999px;
  font-family: "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", sans-serif;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.045em;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 5px;
  left: 18px;
  height: 3px;
  background: var(--teal);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-current::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-current {
  color: var(--teal-dark);
  background: rgba(8, 126, 135, 0.08);
  transform: translateY(-1px);
}

.header-cta {
  justify-self: end;
  min-height: 58px;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, #0b596c 0%, #087e87 100%);
  border: 1px solid rgba(7, 61, 73, 0.18);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(7, 86, 106, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.055em;
  white-space: nowrap;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.header-cta:hover {
  color: white;
  background: linear-gradient(135deg, #087e87 0%, #159da3 100%);
  box-shadow: 0 14px 30px rgba(7, 86, 106, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transform: translateY(-2px) scale(1.015);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 92px));
  overflow: hidden;
  isolation: isolate;
  background: #f7fcfb;
}

.hero-media,
.hero-shade,
.wood-ribbon {
  position: absolute;
  inset: 0;
}

.hero-media {
  left: 36%;
  z-index: -3;
  animation: hero-arrive 1100ms cubic-bezier(.2,.72,.2,1) both;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 900ms ease, transform 6.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide-promo {
  background-color: #eff6fb;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero-shade {
  z-index: -2;
  /* Hide the photo edge before the long fade; soften the lower photo too. */
  background:
    linear-gradient(0deg, rgba(247, 252, 251, 0.48), rgba(247, 252, 251, 0) 58%),
    linear-gradient(90deg,
      #f7fcfb 0%,
      #f7fcfb 40%,
      rgba(247, 252, 251, 0.98) 46%,
      rgba(247, 252, 251, 0.88) 54%,
      rgba(247, 252, 251, 0.60) 64%,
      rgba(247, 252, 251, 0.28) 78%,
      rgba(247, 252, 251, 0.22) 100%);
}

.wood-ribbon {
  display: none;
  z-index: -1;
  top: auto;
  right: 37%;
  bottom: -420px;
  left: -260px;
  height: 590px;
  background: linear-gradient(105deg, rgba(123, 67, 39, 0.93), rgba(201, 135, 69, 0.77) 56%, rgba(229, 182, 108, 0.08));
  border-top: 1px solid rgba(255, 239, 207, 0.86);
  border-radius: 0 100% 0 0;
  transform: rotate(7deg);
  transform-origin: left top;
  box-shadow: 0 -20px 60px rgba(154, 94, 45, 0.18);
}

.wood-ribbon::after {
  content: "";
  position: absolute;
  top: -12px;
  right: 10%;
  width: 11px;
  height: 11px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 16px rgba(229, 182, 108, 0.18);
}

.hero-content {
  width: var(--shell);
  margin-inline: auto;
  padding-top: clamp(92px, 12vh, 142px);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--teal-dark);
  font-family: var(--utility-font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.hero h1,
.section-heading h2,
.section-visit h2 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(46px, 4.4vw, 70px);
}

.hero-description {
  max-width: 600px;
  margin: 24px 0 32px;
  color: #4d666c;
  font-size: 16px;
  line-height: 1.85;
}

.hero-actions,
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 50px;
  padding: 12px 23px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  color: white;
  background: var(--teal-dark);
  box-shadow: 0 10px 24px rgba(8, 126, 135, 0.2);
}

.button-primary:hover {
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(8, 126, 135, 0.32);
  backdrop-filter: blur(8px);
}

.button-light:hover,
.button-outline:hover {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--teal);
}

.hero-carousel-controls {
  position: absolute;
  z-index: 3;
  bottom: 34px;
  left: max(60px, calc((100vw - 1540px) / 2));
  display: flex;
  gap: 9px;
}

.hero-carousel-arrow {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(8, 126, 135, 0.25);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(7, 61, 73, 0.16);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-family: var(--utility-font);
  font-size: 21px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-carousel-arrow:hover {
  color: white;
  background: var(--teal-dark);
  transform: translateY(-2px) scale(1.04);
}

.hero-note {
  position: absolute;
  right: max(40px, calc((100vw - 1560px) / 2));
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-note div {
  min-width: 150px;
  padding: 22px 28px;
  display: grid;
  text-align: center;
}

.hero-note div + div {
  border-left: 1px solid var(--line);
}

.hero-note strong {
  color: var(--teal-dark);
  font-family: var(--body-font);
  font-size: 22px;
  font-weight: 800;
}

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

.trust-strip {
  position: relative;
  z-index: 2;
  width: var(--section-frame);
  margin: 0 auto 28px;
  padding: 38px 0 36px;
  background: linear-gradient(135deg, #f6f9f8, #f2f6f4);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.quick-heading {
  margin: 0 auto 26px;
  text-align: center;
}

.quick-heading p {
  margin: 0 0 5px;
  color: var(--teal-dark);
  font-family: var(--utility-font);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.quick-heading h2 {
  margin: 0;
  color: #304a50;
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 750;
  line-height: 1.5;
}

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

.quick-card {
  min-height: 132px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 18px;
  background: white;
  border: 1px solid #e1e9e7;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(24, 68, 72, 0.06);
}

.quick-card:first-child {
  border-radius: var(--radius-md);
}

.quick-card:last-child {
  border-radius: var(--radius-md);
}

.quick-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--teal);
  border-radius: 13px 4px 13px 4px;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(8, 126, 135, 0.18);
}

.quick-card-wood .quick-icon {
  background: var(--wood);
}

.quick-card-gold .quick-icon {
  color: var(--ink-deep);
  background: var(--gold);
}

.quick-card h2 {
  margin: -3px 0 2px;
  font-size: 17px;
  font-weight: 800;
}

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

.quick-card a,
.text-link,
.program-footer a {
  color: var(--teal-dark);
  font-weight: 800;
}

.section {
  width: var(--section-frame);
  margin: 28px auto 0;
  padding: 104px 0;
}

.section-news,
.section-videos,
.section-programs,
.section-faq {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading h2,
.section-visit h2 {
  font-size: clamp(35px, 3vw, 50px);
}

.home-page .section-heading h2,
.home-page .section-visit h2 {
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.section-heading > p:not(.eyebrow),
.split-heading > p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: end;
  gap: clamp(64px, 10vw, 160px);
}

.split-heading > div h2 {
  max-width: 780px;
}

.row-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}

.text-link {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--teal);
}

.space-carousel-toolbar {
  margin: -22px 0 18px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.space-carousel-count {
  min-width: 72px;
  margin: 0;
  color: var(--muted);
  font-family: var(--utility-font);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
}

.space-carousel-count strong {
  color: var(--ink-deep);
  font-size: 15px;
}

.space-carousel-toolbar > div {
  display: flex;
  gap: 8px;
}

.space-carousel-toolbar button {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  color: white;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  font-family: var(--utility-font);
  font-size: 20px;
  transition: color 180ms ease, background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.space-carousel-toolbar button:hover:not(:disabled) {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.space-carousel-toolbar button:disabled {
  color: #8aa2a5;
  background: transparent;
  border-color: #c7d9d8;
  cursor: default;
  opacity: 0.7;
}

.space-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.space-grid::-webkit-scrollbar {
  display: none;
}

.space-card {
  min-width: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(24, 68, 72, 0.055);
  scroll-snap-align: start;
}

.space-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  padding: 0;
  display: block;
  background-image: linear-gradient(0deg, rgba(7, 61, 73, 0.18), transparent 55%), url("../assets/images/hero-lobby.png");
  background-size: cover;
  border: 0;
  cursor: zoom-in;
  transition: transform 500ms cubic-bezier(.2,.72,.2,1);
}

.space-card:hover .space-image {
  transform: scale(1.025);
}

.space-copy {
  position: relative;
  z-index: 1;
  min-height: 158px;
  padding: 20px 22px 22px;
  background: white;
}

.space-copy span,
.program-label {
  color: var(--wood);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.space-copy h3,
.program-card h3 {
  margin: 6px 0 7px;
  font-family: var(--display-font);
  font-size: 20px;
  font-weight: 600;
}

.space-copy p,
.program-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.space-copy p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.space-dialog {
  width: min(1040px, calc(100% - 40px));
  max-height: calc(100vh - 40px);
  padding: 0;
  color: var(--ink-deep);
  background: white;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 100px rgba(7, 61, 73, 0.34);
}

.space-dialog::backdrop {
  background: rgba(4, 31, 37, 0.72);
  backdrop-filter: blur(8px);
}

.space-dialog-inner {
  position: relative;
}

.space-dialog-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(7, 61, 73, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}

.space-dialog img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 190px);
  display: block;
  object-fit: contain;
  background: white;
}

.space-dialog-copy {
  padding: 24px 30px 28px;
}

.space-dialog-copy > span {
  color: var(--wood);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.space-dialog-copy h2 {
  margin: 5px 0 6px;
  font-family: var(--display-font);
  font-size: 25px;
}

.space-dialog-copy p {
  margin: 0;
  color: var(--muted);
}

.section-news {
  background: white;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-item {
  min-height: 74px;
  padding: 17px 6px;
  display: grid;
  grid-template-columns: 120px 120px 1fr auto;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.news-item:hover {
  padding-inline: 18px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.72);
}

.news-item time {
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.news-category {
  padding: 4px 10px;
  color: var(--teal-dark);
  border: 1px solid rgba(21, 157, 163, 0.4);
  border-radius: 999px;
  text-align: center;
  font-size: 12px;
}

.news-arrow {
  font-size: 19px;
}

.section-videos {
  padding-top: 84px;
  padding-bottom: 84px;
  background: white;
  border: 1px solid rgba(201, 135, 69, 0.14);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 18px;
}

.video-card {
  min-width: 0;
}

.video-card-featured {
  grid-row: auto;
}

.video-card button {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 250px;
  padding: 0;
  display: block;
  overflow: hidden;
  color: white;
  background: var(--ink-deep);
  border: 0;
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
}

.video-card-featured button {
  min-height: 250px;
  border-radius: var(--radius-md);
}

.video-card:last-child button {
  border-radius: var(--radius-lg);
}

.video-poster {
  position: absolute;
  inset: 0;
  display: block;
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 61, 73, 0.9), rgba(7, 61, 73, 0.04) 72%);
}

.video-poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(.2,.72,.2,1), filter 520ms ease;
}

.video-card button:hover .video-poster img {
  filter: saturate(1.08);
  transform: scale(1.035);
}

.video-play {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  padding-left: 4px;
  display: grid;
  place-items: center;
  color: var(--ink-deep);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  font-size: 17px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.video-card button:hover .video-play {
  color: white;
  background: var(--wood);
  transform: scale(1.06);
}

.video-duration {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  padding: 5px 11px;
  background: rgba(7, 61, 73, 0.76);
  border-radius: 999px;
  font-size: 11px;
  backdrop-filter: blur(8px);
}

.video-copy {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
}

.video-copy > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.video-copy strong {
  margin-top: 4px;
  font-family: var(--display-font);
  font-size: clamp(19px, 1.75vw, 27px);
  font-weight: 800;
  line-height: 1.4;
}

.video-copy small {
  max-width: 590px;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.65;
}

.video-card .video-copy small {
  display: none;
}

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

.video-actions .button {
  min-width: 190px;
  justify-content: center;
}

.video-dialog {
  width: min(880px, calc(100% - 40px));
  max-height: calc(100vh - 40px);
  padding: 0;
  color: var(--ink-deep);
  background: white;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 100px rgba(7, 61, 73, 0.34);
}

.video-dialog::backdrop {
  background: rgba(4, 31, 37, 0.72);
  backdrop-filter: blur(8px);
}

.video-dialog-inner {
  position: relative;
}

.video-dialog-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(7, 61, 73, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}

.video-player {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(135deg, rgba(7, 61, 73, 0.9), rgba(123, 67, 39, 0.76)),
    url("../assets/images/hero-lobby.png") center / cover;
}

.video-player video,
.video-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-pending {
  padding: 30px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.video-pending > span {
  width: 68px;
  height: 68px;
  padding-left: 5px;
  display: grid;
  place-items: center;
  color: var(--ink-deep);
  background: var(--gold);
  border-radius: 50%;
  font-size: 20px;
}

.video-pending strong {
  margin-top: 18px;
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 800;
}

.video-pending p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.video-dialog-copy {
  padding: 28px 34px 34px;
}

.video-dialog-copy > span {
  color: var(--wood);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.video-dialog-copy h2 {
  margin: 5px 0 7px;
  font-family: var(--display-font);
  font-size: 26px;
  font-weight: 800;
}

.video-dialog-copy p {
  margin: 0;
  color: var(--muted);
}

.section-programs {
  background: #fbfcfa;
}

.program-toolbar {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr minmax(250px, 300px);
  align-items: start;
  gap: 24px;
}

.program-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.program-filters button {
  min-height: 44px;
  padding: 9px 17px;
  color: var(--muted);
  background: white;
  border: 1px solid #c7dcda;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border 180ms ease, transform 180ms ease;
}

.program-filters button:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
  transform: translateY(-1px);
}

.program-filters button.is-active {
  color: white;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  box-shadow: 0 8px 20px rgba(8, 126, 135, 0.16);
}

.program-search {
  position: relative;
  display: block;
}

.program-search svg {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  transform: translateY(-50%);
}

.program-search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 18px 10px 46px;
  color: var(--ink-deep);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #c7dcda;
  border-radius: 999px;
}

.program-search input::placeholder {
  color: #829598;
}

.program-count {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

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

.program-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: border 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.program-card:hover {
  border-color: rgba(21, 157, 163, 0.6);
  box-shadow: 0 22px 48px rgba(24, 68, 72, 0.13);
  transform: translateY(-4px);
}

.program-card.program-featured {
  border-color: var(--gold);
}

.program-image {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--teal-soft);
}

.program-image-button {
  padding: 0;
  color: inherit;
  border: 0;
  cursor: zoom-in;
  text-align: left;
}

.program-image-button:focus-visible {
  outline: 4px solid rgba(21, 157, 163, 0.72);
  outline-offset: -4px;
}

.program-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 61, 73, 0.22), transparent 65%);
}

.program-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(.2,.72,.2,1);
}

.program-card:hover .program-image img {
  transform: scale(1.03);
}

.program-image-label,
.program-recommend {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 16px;
  padding: 6px 12px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.93);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.program-recommend {
  top: 16px;
  right: 16px;
  bottom: auto;
  left: auto;
  color: var(--walnut);
  background: var(--gold);
}

.program-image-zoom {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  padding: 7px 11px;
  color: white;
  background: rgba(7, 61, 73, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(7, 61, 73, 0.2);
  backdrop-filter: blur(8px);
  transition: background 180ms ease, transform 180ms ease;
}

.program-image-button:hover .program-image-zoom,
.program-image-button:focus-visible .program-image-zoom {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.program-body {
  min-height: 340px;
  padding: 22px 20px 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.program-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.program-title-row h3 {
  margin: 0;
  color: var(--ink-deep);
  font-family: var(--display-font);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
}

.program-price {
  flex: 0 0 auto;
  color: #b66d14;
  font-size: 15px;
  white-space: nowrap;
}

.program-body > p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.program-card ul {
  margin: 18px 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.program-card li {
  color: var(--muted);
  font-size: 13px;
}

.program-card li::before {
  content: "▪";
  margin-right: 9px;
  color: var(--teal);
  font-weight: 900;
}

.program-link {
  margin-top: auto;
  min-height: 58px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  color: white;
  background: var(--teal-dark);
  border: 1px solid var(--teal-dark);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(7, 93, 105, 0.18);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.program-link:hover,
.program-link:focus-visible {
  color: white;
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(7, 93, 105, 0.25);
  transform: translateY(-2px);
}

.program-link-icon,
.program-dialog-link > span {
  padding: 5px 7px;
  color: var(--teal-dark);
  background: white;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.program-link small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 700;
}

.program-dialog {
  width: min(1220px, calc(100% - 40px));
}

.program-dialog img {
  max-height: calc(100vh - 150px);
}

.program-dialog-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.program-dialog-copy h2 {
  margin-bottom: 0;
}

.program-dialog-link {
  min-height: 52px;
  padding: 10px 18px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: white;
  background: var(--teal-dark);
  border-radius: 12px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(7, 93, 105, 0.2);
}

.program-dialog-link:hover,
.program-dialog-link:focus-visible {
  color: white;
  background: var(--teal);
}

.program-empty {
  grid-column: 1 / -1;
  padding: 70px 24px;
  color: var(--muted);
  background: white;
  border: 1px dashed #bfd4d2;
  border-radius: var(--radius-md);
  text-align: center;
}

.program-empty strong {
  display: block;
  color: var(--ink-deep);
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 800;
}

.program-empty p {
  margin: 5px 0 0;
}

.section-action {
  margin-top: 42px;
  text-align: center;
}

/* The homepage intentionally previews only three concise plans. */
.home-page .program-image {
  height: auto;
  aspect-ratio: 16 / 9;
}

.home-page .program-body {
  min-height: 286px;
  padding: 22px 24px 24px;
}

.home-page .program-card ul {
  display: none;
}

.home-page .program-title-row h3 {
  font-size: 21px;
  font-weight: 600;
}

.home-page .program-body > p {
  margin-top: 12px;
  line-height: 1.8;
}

.home-page .program-link {
  margin-top: auto;
  border-top: 0;
}

.catalog-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 252, 251, 0.97) 0%, rgba(247, 252, 251, 0.76) 38%, rgba(247, 252, 251, 0.04) 58%),
    url("../assets/images/programs-hero.png?v=20261006-2") center / cover;
}

.catalog-hero-inner {
  position: relative;
  z-index: 1;
}

.catalog-hero-inner > div {
  max-width: 720px;
}

.catalog-hero h1,
.catalog-help h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(42px, 4vw, 64px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.catalog-hero p:last-child {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
}

.catalog-section {
  margin-top: 28px;
}

.catalog-help {
  width: var(--section-frame);
  margin: 28px auto;
  padding: 74px 0;
  color: white;
  background: var(--ink);
  border-radius: var(--radius-lg);
}

.catalog-help-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.catalog-help .eyebrow {
  color: var(--gold);
}

.catalog-help h2 {
  font-size: clamp(34px, 3vw, 48px);
}

.catalog-help p {
  max-width: 540px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
}

.catalog-help .button-primary {
  color: var(--ink-deep);
  background: var(--gold);
  box-shadow: none;
}

.news-hero {
  position: relative;
  min-height: 390px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 252, 251, 0.96) 0%, rgba(247, 252, 251, 0.76) 35%, rgba(247, 252, 251, 0.04) 56%),
    url("../assets/images/news-hero.png?v=20261007-2") center / cover;
}

.news-hero-inner {
  position: relative;
  z-index: 1;
}

.news-hero h1 {
  margin: 0;
  font-size: clamp(46px, 4.2vw, 66px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.news-hero-inner > div:first-child > p:last-child {
  max-width: 600px;
  margin: 22px 0 0;
  color: var(--muted);
}

.news-hero-mark {
  width: 220px;
  height: 150px;
  padding: 26px;
  display: grid;
  align-content: end;
  color: white;
  background: linear-gradient(145deg, rgba(7, 61, 73, 0.94), rgba(8, 126, 135, 0.85));
  border-radius: 70px 16px 70px 16px;
  box-shadow: var(--shadow);
}

.news-hero-mark span {
  color: var(--gold);
  font-family: var(--utility-font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.news-hero-mark strong {
  margin-top: 5px;
  font-size: 18px;
}

.news-catalog-section {
  background: #fbfcfb;
}

.news-toolbar {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 1fr minmax(270px, 330px);
  gap: 24px;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.news-filters button {
  min-height: 44px;
  padding: 9px 18px;
  color: var(--muted);
  background: white;
  border: 1px solid #c7dcda;
  border-radius: 999px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border 180ms ease, transform 180ms ease;
}

.news-filters button:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
  transform: translateY(-1px);
}

.news-filters button.is-active {
  color: white;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.news-search {
  position: relative;
  display: block;
}

.news-search svg {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  transform: translateY(-50%);
}

.news-search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 18px 10px 46px;
  color: var(--ink-deep);
  background: white;
  border: 1px solid #c7dcda;
  border-radius: 999px;
}

.news-count {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.news-catalog-list {
  background: white;
  border-top: 1px solid var(--line);
}

.news-catalog-item {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.news-catalog-item summary {
  min-height: 112px;
  padding: 24px 12px;
  display: grid;
  grid-template-columns: 120px 120px 1fr auto;
  align-items: center;
  gap: 26px;
  cursor: pointer;
  list-style: none;
  transition: background 180ms ease, padding 180ms ease;
}

.news-catalog-item summary::-webkit-details-marker {
  display: none;
}

.news-catalog-item summary:hover {
  padding-inline: 22px;
  background: rgba(234, 246, 245, 0.42);
}

.news-catalog-item time {
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.news-catalog-title {
  display: grid;
  gap: 5px;
}

.news-catalog-title strong {
  font-size: 17px;
}

.news-catalog-title small {
  color: var(--muted);
  font-size: 13px;
}

.news-expand {
  color: var(--teal-dark);
  font-size: 24px;
  font-weight: 300;
  transition: transform 180ms ease;
}

.news-catalog-item details[open] .news-expand {
  transform: rotate(45deg);
}

.news-detail {
  margin: 0 0 24px 266px;
  padding: 22px 26px;
  color: var(--muted);
  background: linear-gradient(90deg, var(--teal-soft), rgba(255, 247, 234, 0.5));
  border-left: 3px solid var(--wood);
}

.news-detail p {
  margin: 0;
  line-height: 1.9;
}

.news-detail a {
  margin-top: 14px;
  display: inline-block;
  color: var(--teal-dark);
  font-weight: 800;
}

.news-empty {
  padding: 72px 24px;
  color: var(--muted);
  border: 1px dashed #bfd4d2;
  text-align: center;
}

.news-empty strong {
  display: block;
  color: var(--ink-deep);
  font-size: 22px;
}

.news-empty p {
  margin: 5px 0 0;
}

.news-help {
  width: var(--section-frame);
  margin: 28px auto;
  padding: 72px 0;
  color: white;
  background: var(--ink);
  border-radius: var(--radius-lg);
}

.news-help-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.news-help .eyebrow {
  color: var(--gold);
}

.news-help h2 {
  margin: 0;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
}

.news-help p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.72);
}

.news-help .button-primary {
  color: var(--ink-deep);
  background: var(--gold);
  box-shadow: none;
}

.section-faq {
  background: #f1f8f7;
}

.faq-heading {
  align-items: center;
}

.home-page .faq-heading h2 {
  font-size: clamp(40px, 3.25vw, 52px);
  font-weight: 760;
  letter-spacing: -0.045em;
}

.faq-panel {
  width: min(920px, 76%);
  margin-inline: auto;
}

.faq-list {
  background: white;
  border: 1px solid rgba(215, 230, 228, 0.86);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  min-height: 78px;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--ink-deep);
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}

.faq-item button:hover {
  color: var(--teal-dark);
}

.faq-plus {
  color: var(--teal-dark);
  font-size: 24px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq-item button[aria-expanded="true"] .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 64px 24px 24px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.faq-footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

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

.faq-footer .button {
  min-height: 46px;
  padding: 9px 18px;
  background: white;
  font-size: 13px;
}

.section-visit {
  background: linear-gradient(180deg, #f5fbfa, #edf8f7);
}

.visit-intro {
  margin: 0 auto 46px;
  text-align: center;
}

.visit-intro .eyebrow {
  margin-bottom: 14px;
}

.visit-intro h2 {
  font-size: clamp(36px, 3vw, 50px);
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.visit-intro p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.visit-intro > span {
  width: 48px;
  height: 3px;
  margin: 22px auto 0;
  display: block;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 999px;
}

.visit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 26px;
}

.visit-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #cfe3e1;
  border-radius: 24px;
}

.visit-info {
  padding: 32px;
}

.visit-card h3 {
  margin: 0;
  color: var(--ink-deep);
  font-size: 20px;
  font-weight: 800;
}

.visit-address {
  margin: 22px 0 24px;
  padding: 18px 20px;
  display: grid;
  gap: 2px;
  color: var(--ink-deep);
  background: linear-gradient(90deg, var(--teal-soft), #fff8f1);
  border-left: 4px solid var(--wood);
  border-radius: 0 16px 16px 0;
}

.visit-address strong {
  font-size: 16px;
}

.visit-address span {
  color: var(--muted);
  font-size: 14px;
}

.transport-list {
  display: grid;
  gap: 14px;
}

.transport-list div {
  min-height: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 12px;
  background: transparent;
  border: 0;
  transition: transform 180ms ease;
}

.transport-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #f3f7f4;
  border-radius: 13px;
  font-size: 18px;
}

.transport-list p {
  margin: 0;
  display: grid;
  gap: 2px;
}

.transport-list div:hover {
  transform: translateX(4px);
}

.transport-list strong {
  color: var(--ink-deep);
  font-size: 16px;
}

.transport-list p span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.visit-info > small {
  margin-top: 22px;
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.map-card {
  display: flex;
  flex-direction: column;
}

.map-visual {
  position: relative;
  width: 100%;
  min-height: 390px;
  flex: 1;
  overflow: hidden;
  background: #e9f0ef;
}

.map-card iframe {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.map-fallback {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(104deg, transparent 47%, rgba(255, 255, 255, 0.92) 48% 51%, transparent 52%),
    linear-gradient(14deg, transparent 41%, rgba(255, 255, 255, 0.95) 42% 46%, transparent 47%),
    repeating-linear-gradient(90deg, rgba(126, 156, 158, 0.2) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(126, 156, 158, 0.16) 0 1px, transparent 1px 58px),
    #e7efed;
}

.map-fallback::before {
  content: "";
  position: absolute;
  top: -18%;
  bottom: -18%;
  left: 18%;
  width: 88px;
  background: #a9dbe0;
  border-inline: 8px solid rgba(255, 255, 255, 0.7);
  transform: rotate(9deg);
}

.map-fallback::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 12%;
  width: 190px;
  height: 120px;
  background: rgba(136, 196, 156, 0.28);
  border-radius: 48% 52% 34% 66%;
}

.map-place,
.map-pin {
  position: absolute;
  z-index: 1;
  padding: 5px 9px;
  color: #48666b;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.map-place-hospital { right: 10%; bottom: 24%; }
.map-place-metro { right: 14%; top: 18%; }
.map-place-school { left: 35%; bottom: 16%; }

.map-pin {
  right: 24%;
  bottom: 37%;
  padding: 0;
  color: #d35d3d;
  background: transparent;
  font-size: 34px;
  text-shadow: 0 5px 12px rgba(111, 53, 37, 0.3);
}

.map-copy {
  padding: 25px 28px 28px;
}

.map-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.map-official-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
}

.map-official-link:hover {
  color: var(--ink-deep);
}

.visit-actions {
  margin-top: 20px;
}

.action-dock {
  position: fixed;
  z-index: 80;
  right: 0;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  transform: translateY(-50%);
  transition: right 180ms ease;
}

.action-dock.is-open {
  right: 18px;
}

.dock-toggle {
  width: 48px;
  height: 64px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--teal-dark);
  border: 0;
  border-radius: 18px 0 0 18px;
  box-shadow: -8px 10px 24px rgba(7, 61, 73, 0.18);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.dock-toggle:hover {
  width: 54px;
  background: var(--ink);
}

.action-dock.is-open .dock-toggle {
  width: 36px;
  height: 36px;
  color: var(--muted);
  background: white;
  border: 1px solid #bfd4d2;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(7, 61, 73, 0.15);
}

.action-dock.is-open .dock-toggle:hover {
  width: 36px;
  color: var(--ink);
  background: white;
}

.dock-close {
  display: none;
  font-family: var(--utility-font);
  font-size: 21px;
  font-weight: 300;
  line-height: 1;
}

.action-dock.is-open .dock-close {
  display: block;
}

.dock-chevron {
  display: block;
  font-family: var(--utility-font);
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
  transition: transform 180ms ease;
}

.action-dock.is-open .dock-chevron {
  display: none;
}

.dock-actions {
  display: grid;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.dock-actions.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.dock-actions a {
  width: 80px;
  height: 80px;
  display: grid;
  place-content: center;
  color: white;
  background: var(--teal-dark);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  text-align: center;
  line-height: 1.05;
}

.dock-actions a:first-child {
  background: #00aa32;
}

.dock-actions a:nth-child(2) {
  background: #46968f;
}

.dock-actions a:nth-child(3) {
  background: #d1a640;
}

.dock-actions a:nth-child(4) {
  background: #df9275;
}

.dock-actions a:nth-child(5) {
  background: #159aaa;
}

.dock-actions strong {
  font-size: 24px;
}

.dock-actions a:first-child strong {
  font-family: var(--utility-font);
  font-size: 18px;
}

.dock-actions .dock-calendar-icon {
  height: 27px;
  display: grid;
  place-items: center;
}

.dock-calendar-icon img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.dock-actions span {
  margin-top: 4px;
  font-size: 12px;
}

.mobile-actions {
  display: none;
}

.site-footer {
  padding: 76px 0 26px;
  color: rgba(255, 255, 255, 0.86);
  background: var(--ink-deep);
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  gap: 80px;
}

.footer-brand strong {
  display: block;
  color: white;
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 800;
}

.footer-brand span {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.footer-brand p {
  max-width: 430px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer h2 {
  margin: 0 0 16px;
  color: white;
  font-size: 16px;
}

.site-footer p {
  margin: 5px 0;
  font-size: 14px;
}

.site-footer > .footer-grid > div:last-child a {
  display: block;
  margin: 5px 0;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 54px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.48);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

.empty-state,
.noscript {
  padding: 24px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  text-align: center;
}

.noscript {
  position: fixed;
  z-index: 300;
  right: 20px;
  bottom: 20px;
  left: 20px;
}

@keyframes hero-arrive {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1180px) {
  :root {
    --shell: min(100% - 48px, 1080px);
    --section-frame: calc(100% - 32px);
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .site-nav {
    position: fixed;
    top: 81px;
    right: 0;
    bottom: 0;
    width: min(420px, 88vw);
    padding: 40px;
    display: grid;
    align-content: start;
    justify-content: stretch;
    gap: 4px;
    background: white;
    box-shadow: -24px 30px 60px rgba(7, 61, 73, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .site-nav a {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 11px;
    display: grid;
    align-content: center;
    gap: 5px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    height: 2px;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-note {
    right: 24px;
  }

  .hero-note div {
    min-width: 126px;
    padding: 18px 20px;
  }

  .space-image {
    height: auto;
  }

  .program-body {
    padding: 22px 20px 24px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: calc(100% - 32px);
    --section-frame: calc(100% - 16px);
  }

  html {
    scroll-padding-top: 76px;
  }

  .header-inner {
    min-height: 76px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .brand-logo {
    width: min(270px, 68vw);
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    top: 76px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-media {
    left: 0;
  }

  .hero-slide {
    background-position: 62% center !important;
  }

  .hero-slide-promo {
    background-position: 68% center !important;
    background-size: cover;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(247, 252, 251, 0.96), rgba(247, 252, 251, 0.76) 60%, rgba(247, 252, 251, 0.22));
  }

  .wood-ribbon {
    right: 10%;
    bottom: -465px;
  }

  .hero-content {
    padding-top: 76px;
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 62px);
  }

  .hero-description {
    max-width: 520px;
  }

  .hero-note {
    right: 16px;
    left: 16px;
  }

  .hero-carousel-controls {
    right: auto;
    bottom: 108px;
    left: 16px;
  }

  .hero-carousel-arrow {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .hero-note div {
    min-width: 0;
    padding: 15px 8px;
  }

  .hero-note strong {
    font-size: 20px;
  }

  .quick-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-toolbar {
    grid-template-columns: 1fr;
  }

  .news-hero-inner {
    grid-template-columns: 1fr;
  }

  .news-hero-mark {
    display: none;
  }

  .news-toolbar,
  .news-help-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .news-filters {
    margin-right: -16px;
    padding: 2px 16px 8px 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .news-filters::-webkit-scrollbar {
    display: none;
  }

  .news-catalog-item summary {
    grid-template-columns: 100px 108px 1fr auto;
    gap: 16px;
  }

  .news-detail {
    margin-left: 224px;
  }

  .news-help {
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 58px 0;
  }

  .program-filters {
    margin-right: -16px;
    padding: 2px 16px 9px 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .program-filters::-webkit-scrollbar {
    display: none;
  }

  .quick-card,
  .quick-card:first-child,
  .quick-card:last-child {
    border-radius: var(--radius-md);
  }

  .section {
    margin-top: 12px;
    padding: 84px 0;
  }

  .trust-strip {
    margin-top: 12px;
  }

  .split-heading,
  .visit-layout,
  .catalog-help-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .map-visual {
    min-height: 340px;
  }

  .catalog-hero {
    min-height: 390px;
    background-position: 62% center;
  }

  .catalog-help {
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 58px 0;
  }

  .split-heading {
    align-items: start;
  }

  .space-grid {
    margin-right: -16px;
    padding-right: 16px;
    grid-auto-columns: min(82vw, 360px);
  }

  .video-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .video-card-featured {
    grid-row: auto;
  }

  .video-card button,
  .video-card-featured button,
  .video-card:last-child button {
    min-height: 240px;
    border-radius: var(--radius-md);
  }

  .video-card:not(.video-card-featured) .video-copy small {
    display: none;
  }

  .space-carousel-toolbar {
    margin-top: -12px;
  }

  .program-card,
  .program-card:first-child,
  .program-card:last-child {
    min-height: auto;
    border-radius: var(--radius-md);
  }

  .program-card.program-featured {
    transform: none;
  }

  .faq-panel {
    width: 100%;
  }

  .action-dock {
    display: none;
  }

  .mobile-actions {
    position: fixed;
    z-index: 90;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 6px;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 6px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 46px rgba(7, 61, 73, 0.24);
    backdrop-filter: blur(14px);
  }

  .mobile-actions a {
    padding: 11px 12px;
    color: var(--ink);
    border-radius: 13px;
    text-align: center;
    font-weight: 800;
  }

  .mobile-actions a:last-child {
    color: white;
    background: var(--teal-dark);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    padding-bottom: 70px;
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: min(238px, 67vw);
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    padding-top: 58px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions,
  .visit-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-note span {
    font-size: 10px;
  }

  .quick-card {
    padding: 22px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .section-visit h2 {
    font-size: 36px;
  }

  .catalog-hero h1 {
    font-size: 40px;
  }

  .row-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .space-image {
    height: auto;
  }

  .space-carousel-toolbar {
    justify-content: space-between;
  }

  .space-dialog {
    width: calc(100% - 24px);
  }

  .space-dialog-copy {
    padding: 21px 20px 24px;
  }

  .program-dialog-copy {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .program-dialog-link {
    justify-content: center;
  }

  .video-card button,
  .video-card-featured button,
  .video-card:last-child button {
    min-height: 220px;
  }

  .video-play {
    top: 18px;
    left: 18px;
    width: 48px;
    height: 48px;
  }

  .video-duration {
    top: 18px;
    right: 18px;
  }

  .video-copy {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .video-dialog-copy {
    padding: 23px;
  }

  .news-item {
    padding: 18px 4px;
    grid-template-columns: auto 1fr auto;
    gap: 11px;
  }

  .news-hero {
    min-height: 330px;
  }

  .news-catalog-item summary {
    min-height: 0;
    padding: 20px 4px;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .news-catalog-item time {
    grid-column: 1 / 2;
  }

  .news-catalog-item .news-category {
    grid-column: 2 / 3;
    justify-self: start;
  }

  .news-catalog-title {
    grid-column: 1 / 3;
  }

  .news-expand {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .news-detail {
    margin: 0 0 18px;
    padding: 18px;
  }

  .news-item time {
    grid-column: 1 / 2;
  }

  .news-category {
    grid-column: 2 / 3;
    justify-self: start;
  }

  .news-item strong {
    grid-column: 1 / 3;
  }

  .news-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .program-body {
    min-height: 0;
    padding: 22px 20px 24px;
  }

  .program-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .faq-item button {
    min-height: 74px;
    padding-inline: 18px;
  }

  .faq-answer {
    padding-inline: 18px 36px;
  }

  .faq-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .faq-footer .button {
    width: 100%;
  }

  .visit-info {
    padding: 24px 20px;
  }

  .visit-address {
    padding: 16px;
  }

  .transport-list div {
    grid-template-columns: 40px 1fr;
    gap: 10px;
  }

  .transport-icon {
    width: 40px;
    height: 40px;
  }

  .map-visual {
    min-height: 290px;
  }

  .map-copy {
    padding: 22px 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.content-status-notice { margin: 0; padding: 14px 24px; background: #fff4d9; color: #57411b; text-align: center; font-size: 14px; }

.video-description p + p { margin-top: 14px; }
.video-player { min-height: 200px; }

/* Expandable announcements */
.news-accordion{border-top:1px solid #cfe3e6}.news-accordion:last-child{border-bottom:1px solid #cfe3e6}.news-accordion>.news-item{list-style:none;cursor:pointer;border:0;margin:0;grid-template-columns:130px 140px minmax(0,1fr) 24px}.news-accordion>.news-item::-webkit-details-marker{display:none}.news-accordion>.news-item::marker{content:""}.news-accordion>.news-item:hover{background:#f6fbfb}.news-accordion>.news-item:focus-visible{outline:2px solid #078690;outline-offset:-2px;border-radius:4px}.news-toggle-icon{text-align:center;color:#00838e;font-size:22px;line-height:1}.news-toggle-icon:before{content:"＋"}.news-accordion[open] .news-toggle-icon:before{content:"−"}.news-accordion[open]>.news-item{background:#f4faf9}.news-accordion-content{padding:6px 35px 28px 298px;color:#557580;font-size:15px;line-height:1.95;background:#f4faf9}.news-accordion-content p{margin:0 0 15px;white-space:pre-line;overflow-wrap:anywhere}.news-accordion-content p:last-child{margin-bottom:0}.news-detail-link{display:inline-block;color:#07818c;border-bottom:1px solid #90c7cb;text-decoration:none;font-size:13px}.news-detail-link:hover{color:#064d5a}
@media(max-width:760px){.news-accordion>.news-item{grid-template-columns:90px 100px minmax(0,1fr) 22px;gap:12px}.news-accordion-content{padding:4px 20px 24px 20px;font-size:14px}}
@media(max-width:540px){.news-accordion>.news-item{grid-template-columns:1fr 100px 24px;gap:10px;padding:18px 12px}.news-accordion>.news-item>strong{grid-column:1/3;grid-row:2;font-size:15px}.news-accordion>.news-item>.news-toggle-icon{grid-column:3;grid-row:1/3;align-self:center}.news-accordion>.news-item>.news-category{width:auto;justify-self:end}.news-accordion-content{padding:0 12px 20px}}

/* Mobile navigation: size the panel independently of the header's backdrop filter. */
@media (max-width: 1180px) {
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    width: 100%;
    height: calc(100vh - var(--site-header-height, 92px));
    height: calc(100dvh - var(--site-header-height, 92px));
    padding: 16px 24px max(24px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
    grid-auto-rows: min-content;
    background: #fff;
    z-index: 1;
    opacity: 0;
    transform: translateX(100%);
  }
  .site-nav.is-open { opacity: 1; transform: translateX(0); }
  .site-nav a { white-space: normal; }
  body.menu-open { position: fixed; top: var(--menu-scroll-top, 0px); width: 100%; overflow: hidden; }
  body.menu-open .mobile-actions, body.menu-open .action-dock { visibility: hidden; }
}
@media (max-width: 1180px) { body.menu-open .site-header { position: fixed; top: 0; right: 0; left: 0; } }

/* Keep the seven navigation entries clear beside the reservation buttons. */
@media (min-width: 1181px) {
  .site-header .site-nav { gap: 4px; }
  .site-header .site-nav a { padding-inline: 10px; }
  .site-nav a[href*="/TPMIC/"] span { font-size: .75em; }
}
@media (min-width: 1181px) and (max-width: 1600px) {
  .site-header .header-inner { grid-template-columns: minmax(160px, 1fr) auto auto; gap: 12px; }
  .site-header .site-nav { gap: 2px; }
  .site-header .site-nav a { font-size: 16px; padding-inline: 8px; }
}