/* ABC English School — Sumy. Demo. */
:root {
  --navy: #114275;
  --navy-deep: #0b2e52;
  --ink: #17324c;
  --sky: #e7f2fa;
  --sky-deep: #c5e2f4;
  --cream: #f6f1ea;
  --paper: #fbf8f4;
  --white: #fffdfb;
  --coral: #c06259;
  --coral-deep: #a34e46;
  --muted: #5c6e80;
  --line: rgba(17, 66, 117, 0.12);
  --shadow: 0 16px 40px rgba(17, 66, 117, 0.08);
  --serif: "Cormorant Garamond", "Times New Roman", "Liberation Serif", Georgia, serif;
  --sans: Manrope, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
  --radius: 28px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
  background: var(--cream);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 40% at 100% -8%, rgba(197, 226, 244, 0.7), transparent 52%),
    radial-gradient(ellipse 40% 30% at -8% 18%, rgba(192, 98, 89, 0.07), transparent 46%),
    var(--cream);
  overflow-x: clip;
}

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

button, input { font: inherit; color: inherit; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--coral-deep); }

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

::selection { background: #c5e2f4; color: var(--navy-deep); }

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--navy);
  color: white;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
}
.skip:focus { top: 12px; color: white; }

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

.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 80;
  pointer-events: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section { padding: clamp(72px, 9vw, 112px) 0; }

.section-head { max-width: 680px; margin-bottom: 36px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

.eyebrow::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--coral);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy-deep); }

h1 {
  margin: 0 0 16px;
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--coral);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h3 { margin: 0; font-size: 32px; line-height: 1.1; }

.lead {
  margin: 0;
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.6;
  color: #3e5366;
}

.band-paper { background: rgba(255, 253, 251, 0.72); }
.band-sky {
  background: linear-gradient(180deg, #e8f3fb 0%, #d5e9f6 100%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-coral,
.btn-coral:visited { background: var(--coral); color: white; }
.btn-coral:hover { background: var(--coral-deep); color: white; }
.btn-navy,
.btn-navy:visited { background: var(--navy); color: #f6f1ea; }
.btn-navy:hover { background: var(--navy-deep); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(17, 66, 117, 0.28);
}
.btn-ghost:hover { background: var(--navy); color: white; border-color: var(--navy); }
.btn-light,
.btn-light:visited { background: #f6f1ea; color: var(--navy-deep); }
.btn-light:hover { background: white; color: var(--navy-deep); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-stuck {
  background: rgba(246, 241, 234, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(17, 66, 117, 0.08);
}
.header-inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 8px 0;
}
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 50px; width: auto; }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin-left: 0;
}
.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav a.is-active { color: var(--coral-deep); }
.header-cta { flex: none; }
.nav-toggle {
  display: none;
  margin-left: 8px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy);
  position: relative;
  border-radius: 2px;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { padding: 28px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy .lead { margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-note { margin: 0; color: var(--muted); font-size: 14.5px; }
.hero-note a { font-weight: 700; }

.hero-art { position: relative; }
.hero-frame {
  background: var(--white);
  padding: 12px;
  border-radius: 32px;
  border: 1px solid rgba(17, 66, 117, 0.08);
  box-shadow: 0 22px 50px rgba(17, 66, 117, 0.1);
}
.hero-frame img {
  width: 100%;
  border-radius: 22px;
  background: #fbf6ee;
}
.seal {
  position: absolute;
  right: -8px;
  top: -14px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d27870, #c06259 46%, #a34e46);
  color: #fbf8f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-8deg);
  box-shadow:
    0 0 0 5px rgba(246, 241, 234, 0.9),
    0 14px 28px rgba(163, 78, 70, 0.28);
  border: 1.5px dashed rgba(251, 248, 244, 0.75);
}
.seal strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 0.9;
  color: white;
}
.seal span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.flag { width: 22px; height: 14px; display: inline-block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(17, 66, 117, 0.12); flex: none; }

/* Facts */
.facts { padding: 8px 0 10px; }
.facts ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts li {
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.facts li + li { border-left: 1px solid var(--line); }
.facts strong {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.05;
}
.facts span { color: var(--muted); font-size: 14px; }

/* Formats */
.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.format-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(17, 66, 117, 0.08);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow);
}
.format-card h3 { font-size: 30px; margin: 14px 0 4px; }
.format-size { margin: 0; color: var(--muted); font-size: 14px; }
.mode-pill {
  align-self: flex-start;
  border: 1.5px solid var(--coral);
  color: var(--coral-deep);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(192, 98, 89, 0.06);
}
.format-list { list-style: none; padding: 0; margin: 16px 0 0; }
.format-list li {
  position: relative;
  padding-left: 18px;
  margin: 10px 0;
}
.format-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  position: absolute;
  left: 0;
  top: 0.55em;
}
.format-card .more {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 700;
  text-decoration: none;
}

/* Ticket */
.ticket-wrap { padding-top: 8px; }
.ticket {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  background: var(--navy);
  color: #f6f1ea;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(11, 46, 82, 0.16);
}
.ticket-main { padding: 40px 40px 34px; }
.ticket h2 { color: #f6f1ea; }
.ticket .eyebrow { color: #f0b2ab; }
.ticket .eyebrow::after { background: #f0b2ab; }
.ticket p { margin: 0 0 12px; color: rgba(246, 241, 234, 0.88); }
.ticket blockquote {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.25;
  color: white;
}
.ticket-side {
  position: relative;
  background: #0b2e52;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border-left: 2px dashed rgba(246, 241, 234, 0.28);
}
.page-hero .hero-frame img {
  max-height: 320px;
  object-fit: cover;
  object-position: center 62%;
}
.ticket-kicker {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: #f0b2ab;
}
.ticket-price {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 0.95;
  color: white;
}
.ticket-side p { margin: 0 0 14px; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
}
.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}
.steps span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  font-weight: 700;
  font-size: 14px;
}
.steps strong { display: block; }
.steps p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }

/* Learning */
.learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.qa-card, .online-panel {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(17, 66, 117, 0.08);
  padding: 26px 26px 24px;
  box-shadow: var(--shadow);
}
.qa-card h3, .online-panel h3 { font-size: 28px; margin-bottom: 10px; }
.qa-index {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--coral);
}
.brand-pill {
  display: inline;
  background: var(--coral);
  color: white;
  border-radius: 8px;
  padding: 1px 8px 2px;
  font-weight: 700;
  box-decoration-break: clone;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--navy-deep);
  font-size: 13.5px;
  font-weight: 700;
}
.online-panel { grid-column: 1 / -1; }
.online-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
}
.duration {
  background: var(--sky);
  border-radius: 22px;
  padding: 22px;
}
.duration strong {
  display: block;
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  color: var(--navy);
  font-weight: 600;
}
.duration span { color: #3e5366; }

/* Prices */
.price-head-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 8px;
}
.price-switch {
  display: none;
  background: white;
  padding: 4px;
  border-radius: 999px;
  gap: 4px;
  margin: 8px 0 18px;
  width: fit-content;
  border: 1px solid rgba(17, 66, 117, 0.1);
}
.price-switch button {
  border: 0;
  background: transparent;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  color: var(--navy);
}
.price-switch button[aria-pressed="true"] {
  background: var(--navy);
  color: white;
}
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.price-card {
  background: rgba(255, 253, 251, 0.88);
  border-radius: 30px;
  padding: 26px 24px 22px;
  border: 1px solid rgba(17, 66, 117, 0.08);
  box-shadow: var(--shadow);
}
.price-card h3 {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 4px;
}
.price-word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 58px);
  letter-spacing: 0.04em;
  line-height: 0.9;
  margin: 8px 0 0;
  color: var(--navy);
}
.phead, .prow {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.95fr;
  gap: 8px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(17, 66, 117, 0.1);
}
.phead {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.prow .name { font-weight: 700; }
.who { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.sum {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--navy-deep);
  font-size: 18px;
}
.save {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--coral-deep);
}
.price-note {
  margin: 18px 0 0;
  color: #3e5366;
  font-size: 15px;
}

/* Schedule */
.sched-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.sched-tabs button {
  border: 1px solid rgba(17, 66, 117, 0.16);
  background: transparent;
  color: var(--navy);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
}
.sched-tabs button[aria-selected="true"] {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.sched-tabs button .count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
}
.sched-tabs button:not([aria-selected="true"]) .count {
  background: var(--sky);
  color: var(--navy);
}
.panel-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.spots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--sky);
  border-radius: 999px;
  padding: 6px 10px;
}
.spots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f7d57;
}
.slot-list { display: grid; gap: 10px; }
.slot {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  background: var(--white);
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(17, 66, 117, 0.08);
}
.slot-index {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--navy);
  line-height: 1;
}
.slot-times { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.slot-times p { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.day {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
}
.slot time {
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  font-weight: 700;
  font-size: 18px;
}
.level {
  justify-self: end;
  min-width: 72px;
  text-align: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 14px;
  background: var(--navy);
  color: white;
}
.level-a1 { background: #d9ebf7; color: var(--navy-deep); }
.level-a2 { background: #f3d2cc; color: #7a3b34; }
.level-a2p { background: var(--coral); color: white; }
.level-age {
  background: transparent;
  color: var(--navy-deep);
  border: 1.5px solid rgba(17, 66, 117, 0.2);
  min-width: 108px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}
.legend b { color: var(--ink); font-weight: 700; }
.sched-cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sched-cta p { margin: 0; color: #3e5366; }

/* Teachers */
.teacher-note {
  margin: -8px 0 22px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(197, 226, 244, 0.55);
  color: var(--navy-deep);
  font-size: 15px;
}
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.teacher {
  background: var(--white);
  border-radius: 26px;
  padding: 22px 18px 20px;
  border: 1px dashed rgba(17, 66, 117, 0.22);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.teacher-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.teacher-photo svg { width: 34px; height: 34px; }
.teacher-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
.teacher h3 { font-size: 26px; color: rgba(17, 66, 117, 0.45); }
.teacher-role { margin: 0; font-weight: 700; color: var(--muted); }
.teacher-bio { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }

/* Teaser */
.teaser {
  background: var(--navy-deep);
  color: #f6f1ea;
  border-radius: 32px;
  padding: 32px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.teaser h2 { color: white; font-size: clamp(30px, 4vw, 42px); }
.teaser p { margin: 6px 0 0; color: rgba(246, 241, 234, 0.8); max-width: 52ch; }
.teaser .eyebrow { color: #f0b2ab; margin-bottom: 6px; }
.teaser .eyebrow::after { background: #f0b2ab; }

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
  align-items: stretch;
}
.location-card {
  background: var(--white);
  border-radius: 30px;
  padding: 28px 26px;
  border: 1px solid rgba(17, 66, 117, 0.08);
  box-shadow: var(--shadow);
}
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.info-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}
.info-list svg { width: 22px; height: 22px; color: var(--navy); margin-top: 2px; }
.info-list a { font-weight: 700; }
.info-list p { margin: 0; }
.muted { color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 4px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.status.is-open .status-dot { background: #2f7d57; box-shadow: 0 0 0 4px rgba(47, 125, 87, 0.15); }
.status.is-closed .status-dot { background: var(--coral); }
.week {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.week li {
  background: var(--sky);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}
.week span { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.rating-box {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rating-num {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  color: var(--navy);
  font-weight: 600;
}
.rating-box p { margin: 0; }
.location-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.media-board {
  min-height: 420px;
  border-radius: 30px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 251, 0.55), rgba(255, 253, 251, 0.2)),
    #e7f3fb;
  border: 1.5px dashed rgba(17, 66, 117, 0.28);
}
.media-board h3 { font-size: clamp(32px, 4vw, 44px); }
.media-board .muted { margin: 0; }
.media-slots {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 18px;
}
.media-slot {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  border: 1.5px dashed rgba(17, 66, 117, 0.22);
  background: rgba(255, 253, 251, 0.55);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(246, 241, 234, 0.82);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 28px;
}
.footer-brand {
  margin: 0;
  font-family: var(--serif);
  font-size: 48px;
  letter-spacing: 0.08em;
  color: #f6f1ea;
  line-height: 0.9;
}
.footer-tag {
  margin: 6px 0 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  color: rgba(246, 241, 234, 0.62);
}
.site-footer a { color: #f6f1ea; text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: #f0b2ab; }
.footer-label {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #f0b2ab;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(246, 241, 234, 0.12);
  font-size: 13.5px;
  color: rgba(246, 241, 234, 0.62);
}
.footer-bottom p { margin: 0; }

.lang-switch {
  display: inline-flex;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}
.lang-switch button {
  border: 0;
  background: transparent;
  min-width: 42px;
  min-height: 36px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy);
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--navy);
  color: white;
}
.inst-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}
.inst-link svg { width: 18px; height: 18px; flex: none; }
.inst-link:hover { text-decoration: underline; }
.icon-hit {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  text-decoration: none;
}
.icon-hit:hover { background: var(--navy); color: white; }
.info-list .icon-hit svg { width: 16px; height: 16px; margin: 0; color: inherit; }
.subq { margin: 22px 0 8px; font-size: 26px; }
.site-header .brand,
.site-header .site-nav,
.site-header .lang-switch { order: 0; }

.mobile-cta { display: none; }

/* Events page */
.page-hero { padding: 36px 0 10px; }
.crumbs { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.crumbs a { font-weight: 700; text-decoration: none; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: end;
}
.event-feature {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  background: var(--white);
  border-radius: 32px;
  padding: 32px;
  border: 1px solid rgba(17, 66, 117, 0.08);
  box-shadow: var(--shadow);
}
.detail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.detail-list span { color: var(--muted); }
.detail-list strong { text-align: right; }
.detail-panel {
  background: var(--sky);
  border-radius: 22px;
  padding: 20px 20px 16px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.chip-coral { background: rgba(192, 98, 89, 0.12); color: var(--coral-deep); }
.season-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.season-card {
  background: var(--white);
  border-radius: 26px;
  padding: 22px;
  border: 1px solid rgba(17, 66, 117, 0.08);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow);
}
.season-card h3 { font-size: 30px; }
.season-en {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
}
.fill-slot {
  margin-top: auto;
  border: 1.5px dashed rgba(17, 66, 117, 0.28);
  border-radius: 16px;
  padding: 14px;
  color: var(--muted);
  font-size: 14.5px;
  background: repeating-linear-gradient(-45deg, transparent, transparent 7px, rgba(17, 66, 117, 0.035) 7px, rgba(17, 66, 117, 0.035) 14px);
}
.season-add {
  background: transparent;
  border-style: dashed;
  box-shadow: none;
  justify-content: center;
}
.template-note {
  margin-top: 22px;
  color: #3e5366;
}

/* Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 8px 0 10px;
  }
  .lang-switch { margin-left: auto; }
  .site-nav {
    flex: 1 0 100%;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { flex-wrap: nowrap; justify-content: flex-start; gap: 8px; }
  .site-nav a {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 12px;
    font-size: 13.5px;
  }
}

@media (max-width: 980px) {
  .hero-grid, .page-hero-grid, .event-feature, .location-grid, .online-split { grid-template-columns: 1fr; }
  .format-grid, .teacher-grid { grid-template-columns: 1fr 1fr; }
  .season-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .teaser { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 860px) {
  .price-switch { display: flex; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card[hidden] { display: none; }
}

@media (min-width: 861px) {
  .price-card[hidden] { display: block; }
}

@media (max-width: 740px) {
  .media-slots { grid-template-columns: 1fr 1fr 1fr; }
  .container, .header-inner { width: min(1120px, calc(100% - 32px)); }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li + li { border-left: 0; }
  .facts li:nth-child(even) { border-left: 1px solid var(--line); }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ticket { grid-template-columns: 1fr; }
  .ticket-main { padding: 28px 22px 22px; }
  .ticket-side { border-left: 0; border-top: 2px dashed rgba(246, 241, 234, 0.28); }
  .ticket-side::before, .ticket-side::after { display: none; }
  .ticket blockquote { font-size: 22px; }
  .steps, .learn-grid { grid-template-columns: 1fr; }
  .format-grid, .teacher-grid, .season-grid, .footer-grid { grid-template-columns: 1fr; }
  .slot { grid-template-columns: 36px 1fr; }
  .level { grid-column: 2; justify-self: start; }
  .seal { width: 88px; height: 88px; right: 8px; top: 8px; }
  .seal strong { font-size: 22px; }
  .rating-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  h1 { font-size: 42px; }
  .phead { display: none; }
  .prow { grid-template-columns: 1fr 1fr; }
  .prow .name { grid-column: 1 / -1; margin-bottom: 4px; }
  .sum::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .hero-actions .btn, .location-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-cta, .progress, .nav-toggle, .hero-art, .seal { display: none !important; }
  .sched-panel { display: block !important; }
  .price-card { display: block !important; }
  body { background: white; padding: 0; }
  .ticket, .site-footer, .teaser { break-inside: avoid; }
}
