:root {
  --red: #d92b35;
  --red-dark: #b51f27;
  --navy: #101723;
  --navy-soft: #1b2434;
  --navy-deep: #0c111a;
  --white: #ffffff;
  --off-white: #f6f8fc;
  --off-white-2: #eef2f8;
  --text: #1f2430;
  --muted: #60697a;
  --border: #e5e8f0;
  --success: #1f8f63;
  --shadow-sm: 0 12px 30px rgba(16, 23, 35, 0.08);
  --shadow: 0 18px 45px rgba(16, 23, 35, 0.12);
  --shadow-lg: 0 28px 70px rgba(16, 23, 35, 0.16);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1240px;
  --header-height: 92px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

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

iframe {
  border: 0;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.section {
  padding: 5.25rem 0;
}

.section-light {
  background: var(--white);
}

.section-soft {
  background: var(--off-white);
}

.section-dark {
  background:
    linear-gradient(rgba(11, 17, 27, 0.9), rgba(11, 17, 27, 0.9)),
    url("wood.jpg") center / cover;
  color: var(--white);
}

.section-heading {
  margin-bottom: 2rem;
}

.center-text {
  text-align: center;
}

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

h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.25;
  margin-bottom: 0.7rem;
}

.lead-text,
.section-subtitle {
  max-width: 760px;
  margin-inline: auto;
  color: var(--muted);
}

.section-dark .section-subtitle,
.section-dark .lead-text {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow-light {
  color: #ffacb2;
}

.left-eyebrow {
  text-align: left;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.badge-soft {
  background: rgba(217, 43, 53, 0.08);
  border-color: rgba(217, 43, 53, 0.16);
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(217, 43, 53, 0.24);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-outline {
  background: var(--white);
  color: var(--red);
  border-color: rgba(217, 43, 53, 0.25);
}

.btn-outline:hover {
  border-color: rgba(217, 43, 53, 0.45);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-large {
  min-height: 54px;
  padding-inline: 1.4rem;
}

.text-link {
  color: var(--red);
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

.top-strip {
  background: var(--red);
  color: var(--white);
}

.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 46px;
}

.top-strip-message {
  margin: 0;
  font-weight: 700;
}

.top-strip-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.top-strip-links a:hover {
  opacity: 0.9;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.header-row {
  display: grid;
  grid-template-columns: minmax(320px, 360px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-height);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.site-brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.site-brand-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
}

.site-brand-location {
  font-size: 0.82rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.15rem;
  padding-left: 0.75rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.site-nav a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #293241;
  white-space: nowrap;
  padding: 0.4rem 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--red);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-actions .btn {
  min-height: 44px;
  padding: 0.75rem 1rem;
  font-size: 0.93rem;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - 138px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #1d2230;
}

.hero-slides,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slides {
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 5.5s ease;
}

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

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 13, 21, 0.82) 0%, rgba(9, 13, 21, 0.56) 48%, rgba(9, 13, 21, 0.74) 100%),
    linear-gradient(180deg, rgba(9, 13, 21, 0.16) 0%, rgba(9, 13, 21, 0.62) 100%);
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 390px);
  align-items: end;
  gap: 2rem;
  padding: 7rem 0 4.75rem;
}

.hero-content {
  max-width: 760px;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 1.6rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-notice-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}

.notice-label {
  margin-bottom: 0.6rem;
  color: #ffbec3;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-notice-card h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.hero-notice-card p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.86);
}

.stats-strip {
  margin-top: -2rem;
  position: relative;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  padding: 1.25rem 1.3rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 24, 39, 0.04);
  box-shadow: var(--shadow);
}

.stat-card strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--navy);
}

.stat-card span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(11, 17, 27, 0.78), rgba(11, 17, 27, 0.82)),
    url("Testing3.jpg") center / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(217, 43, 53, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 45%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
}

.page-hero h1 {
  margin-bottom: 0.9rem;
}

.page-hero p {
  max-width: 760px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

.page-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
}

.feature-image-card,
.feature-copy-card,
.contact-image-card,
.contact-copy-card,
.panel-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-image-card img,
.contact-image-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.feature-copy-card,
.contact-copy-card,
.panel-card {
  padding: 2rem;
}

.check-list {
  margin: 1.15rem 0 1.5rem;
  padding-left: 1.1rem;
}

.check-list li + li {
  margin-top: 0.55rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.info-card {
  padding: 1.55rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.info-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.info-card strong {
  color: var(--white);
}

.surface-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.surface-card {
  padding: 1.55rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.surface-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.teacher-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  padding: 1.1rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.teacher-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.teacher-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.teacher-card-copy p:last-of-type {
  margin-bottom: 0;
  color: var(--muted);
}

.teacher-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.1rem 0 0.85rem;
}

.teacher-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--off-white);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
}

.teacher-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.schedule-showcase {
  padding-top: 4.5rem;
}

.schedule-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.schedule-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.schedule-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.schedule-preview {
  padding: 1rem;
  background: linear-gradient(180deg, #f8f9fd, #eef2f8);
  border-bottom: 1px solid var(--border);
}

.schedule-preview img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  border-radius: 18px;
  background: var(--white);
}

.schedule-content {
  padding: 1.5rem;
}

.schedule-tag {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.schedule-content h3 {
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.schedule-content p:last-of-type {
  margin-bottom: 0;
  color: var(--muted);
}

.schedule-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.schedule-actions .btn {
  width: 100%;
}

.schedule-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.schedule-note {
  padding: 1.3rem;
  border-radius: 20px;
  background: var(--off-white);
  border: 1px solid var(--border);
}

.schedule-note p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.news-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.featured-news-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white);
  border-color: transparent;
}

.featured-news-card p,
.featured-news-card .news-date {
  color: rgba(255, 255, 255, 0.82);
}

.featured-news-card .text-link {
  color: #ffb8bd;
}

.news-date {
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.news-card p:last-child {
  margin-bottom: 0;
}

.section-tight-top {
  padding-top: 0;
}

.album-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.album-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.album-card:hover,
.album-card:focus-visible,
.album-card.is-active {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(217, 43, 53, 0.28);
}

.album-card:focus-visible {
  outline: 3px solid rgba(217, 43, 53, 0.18);
  outline-offset: 3px;
}

.album-card-image {
  position: relative;
  min-height: 240px;
  background: #dde3ee;
  overflow: hidden;
}

.album-card-image img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.album-card:hover .album-card-image img,
.album-card:focus-visible .album-card-image img,
.album-card.is-active .album-card-image img {
  transform: scale(1.05);
}

.album-card-content {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
}

.album-card-kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.album-card-content h3 {
  margin: 0;
}

.album-card-content p {
  margin: 0;
  color: var(--muted);
}

.album-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(16, 23, 35, 0.06);
  color: var(--navy);
  font-weight: 700;
}

.album-summary-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.4rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(16, 23, 35, 0.98), rgba(28, 36, 49, 0.94));
  color: var(--white);
  box-shadow: var(--shadow);
}

.album-summary-panel h2,
.album-summary-panel .section-subtitle,
.album-summary-panel .eyebrow {
  color: inherit;
}

.album-summary-panel .section-subtitle {
  max-width: 760px;
  opacity: 0.88;
}

.album-summary-meta {
  flex-shrink: 0;
}

.album-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 700;
  white-space: nowrap;
}

.album-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.album-filter-pill {
  min-height: 46px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.album-filter-pill:hover,
.album-filter-pill:focus-visible,
.album-filter-pill.is-active {
  transform: translateY(-2px);
  border-color: transparent;
  background: var(--red);
  color: var(--white);
}

.album-empty-note {
  margin: 0;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  border: 1px dashed var(--border);
  color: var(--muted);
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1rem;
}

.gallery-card {
  position: relative;
  margin: 0;
  min-height: 260px;
  border-radius: 22px;
  overflow: hidden;
  background: #dde3ee;
  box-shadow: var(--shadow);
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-card:focus-visible {
  outline: 3px solid rgba(217, 43, 53, 0.18);
  outline-offset: 3px;
}

.gallery-card-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 540px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card-large img {
  min-height: 540px;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(7, 10, 16, 0.82) 100%);
  color: var(--white);
  pointer-events: none;
}

.gallery-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.gallery-view {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: stretch;
}

.contact-copy-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-details {
  margin: 1.2rem 0 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.contact-details p {
  margin: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
  margin: 1.1rem 0 0;
}

.inline-list li {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: var(--off-white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
}

.cta-banner {
  padding: 1.75rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
}

.cta-banner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 3rem 0 2rem;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  color: var(--white);
  font-weight: 800;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-title {
  margin-bottom: 0.85rem;
  font-size: 1rem;
  color: var(--white);
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.footer-list a:hover {
  color: #ffbcc1;
}

.footer-text {
  max-width: 380px;
  margin-bottom: 0;
}

.footer-admin-row {
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-admin-link {
  color: #ffbcc1;
  font-weight: 700;
}

.footer-admin-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Trial page */
.trial-shell {
  padding: 2rem 0 5rem;
}

.trial-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.75rem;
  align-items: start;
}

.trial-copy-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(217, 43, 53, 0.06), rgba(217, 43, 53, 0.02)),
    var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.trial-copy-card p:last-of-type {
  margin-bottom: 0;
}

.trial-points {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0 1.7rem;
}

.trial-point {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--navy);
}

.trial-point::before {
  content: "•";
  color: var(--red);
  font-size: 1.35rem;
  line-height: 1;
}

.trial-form-card {
  padding: 1rem;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.trial-form-frame {
  width: 100%;
  height: 980px;
  border-radius: 22px;
  background: var(--white);
}

.trial-mini-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.trial-mini-card {
  padding: 1rem;
  border-radius: 18px;
  background: var(--off-white);
  border: 1px solid var(--border);
}

.trial-mini-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 22, 0.84);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1120px);
  max-height: 92vh;
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 1rem 3.8rem;
}

.lightbox-content img {
  width: auto;
  max-width: 100%;
  max-height: 72vh;
  border-radius: 20px;
  display: block;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-close,
.lightbox-nav {
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  transform: scale(1.05);
}

.lightbox-close {
  position: absolute;
  top: 0.15rem;
  right: 0.3rem;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.lightbox-prev {
  left: 0;
}

.lightbox-next {
  right: 0;
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.lightbox-footer {
  width: min(100%, 900px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.lightbox-meta {
  min-width: 0;
}

.lightbox-caption,
.lightbox-counter {
  margin: 0;
}

.lightbox-caption {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}

.lightbox-counter {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 600;
}

.lightbox-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(217, 43, 53, 0.24);
}

.lightbox-download:hover {
  background: var(--red-dark);
}

body.lightbox-open {
  overflow: hidden;
}

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

@media (max-width: 1180px) {
  .header-row {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.nav-open .header-row {
    grid-template-columns: 1fr auto;
    align-items: start;
    padding-top: 0.8rem;
    padding-bottom: 0.9rem;
  }

  .site-header.nav-open .site-brand {
    grid-column: 1 / 2;
  }

  .site-header.nav-open .menu-toggle {
    grid-column: 2 / 3;
  }

  .site-header.nav-open .site-nav {
    display: grid;
    grid-column: 1 / -1;
    justify-content: start;
    gap: 0.8rem;
    padding: 0.85rem 0 0.9rem;
  }

  .site-header.nav-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    padding-bottom: 0.35rem;
  }

  .hero-content-wrap,
  .feature-grid,
  .contact-grid,
  .footer-grid,
  .cta-banner-grid,
  .trial-layout,
  .teacher-card {
    grid-template-columns: 1fr;
  }

  .teacher-card-image img {
    min-height: 340px;
  }

  .stats-grid,
  .card-grid,
  .surface-card-grid,
  .schedule-note-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-cards,
  .teacher-grid,
  .news-grid,
  .gallery-grid,
  .trial-mini-card-grid,
  .album-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card-large {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 360px;
  }

  .gallery-card-large img {
    min-height: 360px;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .hero-content-wrap {
    padding: 5rem 0 3.75rem;
  }

  .stats-strip {
    margin-top: 0;
  }

  .stats-grid,
  .card-grid,
  .surface-card-grid,
  .schedule-cards,
  .schedule-note-grid,
  .teacher-grid,
  .news-grid,
  .gallery-grid,
  .trial-mini-card-grid,
  .album-card-grid {
    grid-template-columns: 1fr;
  }

  .album-summary-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-card-large {
    grid-column: span 1;
  }

  .gallery-card,
  .gallery-card img,
  .gallery-card-large,
  .gallery-card-large img {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4rem 0;
  }

  .container {
    width: min(var(--max-width), calc(100% - 1.1rem));
  }

  .top-strip-inner {
    flex-direction: column;
    justify-content: center;
    padding: 0.6rem 0;
  }

  .site-brand {
    gap: 0.65rem;
  }

  .site-brand img {
    width: 62px;
    height: 62px;
  }

  .site-brand-name {
    font-size: 0.92rem;
  }

  .site-brand-location {
    font-size: 0.76rem;
  }

  .hero-actions,
  .header-actions,
  .contact-actions,
  .teacher-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-notice-card,
  .feature-copy-card,
  .contact-copy-card,
  .panel-card,
  .trial-copy-card {
    padding: 1.5rem;
  }

  .page-hero-inner {
    padding: 4rem 0 3.25rem;
  }

  .schedule-preview img {
    height: 280px;
  }

  .feature-image-card img,
  .contact-image-card img {
    min-height: 300px;
  }

  .teacher-card-image img {
    min-height: 280px;
  }

  .lightbox {
    padding: 0.7rem;
  }

  .lightbox-content {
    width: 100%;
    padding: 0.5rem 0;
  }

  .lightbox-content img {
    max-height: 62vh;
  }

  .lightbox-close {
    top: -0.15rem;
    right: 0;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    top: calc(50% - 1.8rem);
  }

  .lightbox-prev {
    left: 0.15rem;
  }

  .lightbox-next {
    right: 0.15rem;
  }

  .lightbox-footer {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 0.9rem;
  }

  .lightbox-download {
    width: 100%;
  }

  .trial-form-frame {
    height: 900px;
  }
}

@media (max-width: 520px) {
  .btn,
  .btn-large {
    width: 100%;
  }

  .page-pill-row,
  .inline-list,
  .album-filter-row {
    gap: 0.55rem;
  }

  .page-pill,
  .inline-list li,
  .album-filter-pill {
    width: 100%;
    justify-content: center;
  }

  .gallery-overlay {
    flex-direction: column;
    align-items: flex-start;
  }

  .trial-form-frame {
    height: 820px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
