/* ==========================================================================
   Jus' Dance - mockup stylesheet
   Implements 03-design/design-system.md exactly.
   border-radius:0 everywhere. No backdrop-filter. No ambient animation.
   ========================================================================== */

/* ===== Tokens (Section 10 of the design system) ===== */
:root {
  /* ===== Fonts ===== */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* ===== Type scale (fluid) ===== */
  --fs-display:  clamp(2.5rem, 1.2rem + 5.8vw, 4.5rem);
  --fs-h1:       clamp(2.125rem, 1.4rem + 3.2vw, 3.25rem);
  --fs-h2:       clamp(1.75rem, 1.3rem + 2.0vw, 2.375rem);
  --fs-h3:       clamp(1.375rem, 1.15rem + 1.0vw, 1.625rem);
  --fs-h4:       clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --fs-h5:       clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-h6:       0.9375rem;
  --fs-lead:     clamp(1.1875rem, 1.05rem + 0.6vw, 1.375rem);
  --fs-body:     clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-small:    clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --fs-xs:       0.8125rem;
  --fs-overline: clamp(0.75rem, 0.72rem + 0.1vw, 0.8125rem);

  --lh-display: 1.02;  --lh-tight: 1.1;  --lh-snug: 1.2;
  --lh-normal: 1.4;    --lh-relaxed: 1.65;
  --ls-display: -0.02em; --ls-h: -0.01em; --ls-overline: 0.16em; --ls-wide: 0.04em;

  /* ===== Raw palette ===== */
  --floor-light: #FBF7F0;  --warm-paper: #F4ECE0;  --oat: #EADFCF;
  --roast: #241A14;        --roast-soft: #4A3A30;  --timber-muted: #7A6A5C;
  --claret: #7C2233;       --claret-deep: #5E1726; --claret-wash: #F0E0E0;
  --brass: #B98A3C;        --brass-deep: #8C6526;  --brass-wash: #F2E8D4;
  --line-soft: #D8C9B6;    --line-strong: #B8A48C;
  --cream: #FCFAF6;        --success: #2E5E3A;     --error: #9A2A20;

  /* ===== Semantic tokens ===== */
  --bg: var(--floor-light);   --surface: var(--cream);
  --surface-alt: var(--warm-paper); --surface-sunk: var(--oat);
  --ink: var(--roast);        --ink-soft: var(--roast-soft); --muted: var(--timber-muted);
  --accent: var(--claret);    --accent-strong: var(--claret-deep); --accent-wash: var(--claret-wash);
  --metal: var(--brass);      --metal-ink: var(--brass-deep); --metal-wash: var(--brass-wash);
  --line: var(--line-soft);   --line-bold: var(--line-strong);
  --on-dark-ink: var(--floor-light); --on-dark-muted: #D9C7B6; --on-dark-line: rgba(251,247,240,0.18);

  /* ===== Spacing & layout ===== */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem;  --space-6: 2rem;   --space-7: 3rem;     --space-8: 4rem;
  --space-9: 6rem;    --space-10: 8rem;
  --maxw: 1200px; --maxw-narrow: 760px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3rem, 7vw, 6rem);

  /* ===== Borders (radius is ALWAYS 0) ===== */
  --radius: 0; --bw: 1px; --bw-2: 2px; --bw-4: 4px;

  /* ===== Elevation (flat, warm) ===== */
  --shadow-1: 0 1px 0 var(--line);
  --shadow-2: 0 2px 0 var(--line-bold);
  --shadow-card: 0 14px 28px -20px rgba(36, 26, 20, 0.45);

  /* ===== Motif (Count Strip) ===== */
  --tick-h: 10px; --tick-h-strong: 16px; --tick-w: 2px; --tick-gap: 14px;
  --tick-color: var(--metal);

  /* ===== Motion ===== */
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --dur-fast: 120ms; --dur: 200ms;
}

/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; border-radius: var(--radius); }

html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight);  letter-spacing: var(--ls-h); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-snug);   letter-spacing: var(--ls-h); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-normal); }

h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h5 { font-size: var(--fs-h5); line-height: var(--lh-normal); }
h6 { font-size: var(--fs-h6); line-height: var(--lh-normal); letter-spacing: 0.01em; }

p { margin: 0 0 1rem; max-width: 68ch; }

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-snug);
  color: var(--ink-soft);
  max-width: 60ch;
}

.overline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-overline);
  font-weight: 700;
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 0.75rem;
}

small, .text-small { font-size: var(--fs-small); }
.text-xs { font-size: var(--fs-xs); }

a { color: var(--claret); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--claret-deep); }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

/* ===== Layout helpers ===== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-alt); }
.section--sunk { background: var(--surface-sunk); }

.band-dark {
  background: var(--accent-strong);
  color: var(--on-dark-ink);
}
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: var(--on-dark-ink); }
.band-dark .overline { color: var(--brass); }
.band-dark p { color: var(--on-dark-muted); }
.band-dark a { color: var(--on-dark-ink); }
.band-dark a:hover { color: var(--brass); }

.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 480px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.flow > * + * { margin-top: var(--space-4); }

/* ===== Count Strip motif ===== */
.count-strip {
  position: relative;
  height: var(--tick-h-strong);
  margin: var(--space-8) 0;
  border: 0;
  background:
    repeating-linear-gradient(
      90deg,
      var(--tick-color) 0 var(--tick-w),
      transparent var(--tick-w) calc(var(--tick-gap) * 4)
    ),
    repeating-linear-gradient(
      90deg,
      var(--tick-color) 0 var(--tick-w),
      transparent var(--tick-w) var(--tick-gap)
    ),
    linear-gradient(var(--line), var(--line));
  background-size:
    100% var(--tick-h-strong),
    100% var(--tick-h),
    100% 1px;
  background-position:
    0 0,
    0 calc(var(--tick-h-strong) - var(--tick-h)),
    0 calc(var(--tick-h-strong) - 1px);
  background-repeat: no-repeat;
}

.count-rule {
  display: block;
  width: 64px;
  height: 8px;
  margin-top: var(--space-3);
  background:
    repeating-linear-gradient(
      90deg,
      var(--metal) 0 2px,
      transparent 2px 12px
    );
}

.band-dark .count-strip { --line: var(--on-dark-line); }
.band-dark .count-rule  { --metal: var(--brass); }

/* ===== Skip link + focus ===== */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 1000;
  background: var(--accent-strong);
  color: var(--on-dark-ink);
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--space-4); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.band-dark :focus-visible { outline-color: var(--brass); }

/* ===== Header / nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: var(--bw) solid var(--line);
  transition: box-shadow var(--dur) var(--ease), min-height var(--dur) var(--ease);
}
.site-header.is-condensed { box-shadow: var(--shadow-card); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 72px;
  transition: min-height var(--dur) var(--ease);
}
.site-header.is-condensed .nav { min-height: 60px; }

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.nav__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
}
.nav__mark img { width: 40px; height: 40px; display: block; }
.nav__wordmark {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.nav__right { display: flex; align-items: center; gap: var(--space-4); }

.nav__links {
  display: none;
  list-style: none;
  margin: 0; padding: 0;
  gap: var(--space-5);
  align-items: center;
}
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding-inline: var(--space-1);
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--brass);
}

.nav__phone {
  display: none;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  font-size: var(--fs-small);
  transition: color var(--dur) var(--ease);
}
.nav__phone:hover { color: var(--accent); }

.nav__cta { display: none; }

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: var(--bw) solid var(--line-bold);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__toggle:hover { border-color: var(--accent); color: var(--accent); }

@media (min-width: 920px) {
  .nav__links { display: flex; }
  .nav__phone { display: inline-flex; align-items: center; min-height: 44px; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}

/* Mobile panel */
.nav__panel {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg);
  border-top: var(--bw) solid var(--line);
  padding: var(--space-5) var(--gutter) var(--space-7);
  flex-direction: column;
  gap: var(--space-2);
  overflow-y: auto;
  z-index: 99;
}
.nav__panel[data-open="true"] { display: flex; }
.nav__panel a {
  display: flex; align-items: center;
  min-height: 52px;
  font-size: var(--fs-h4);
  font-family: var(--font-display);
  color: var(--ink);
  text-decoration: none;
  border-bottom: var(--bw) solid var(--line);
}
.nav__panel a[aria-current="page"] { color: var(--accent); }
.nav__panel-phone {
  display: flex; align-items: center;
  min-height: 52px;
  font-weight: 700; color: var(--ink);
  text-decoration: none;
  border-bottom: var(--bw) solid var(--line);
}
.nav__panel .btn { margin-top: var(--space-5); }

@media (min-width: 920px) {
  .nav__panel { display: none !important; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-5);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: var(--bw-2) solid transparent;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: var(--cream);
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--cream); }
.btn--primary:active { background: var(--claret-deep); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-bold);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--on-dark {
  background: var(--cream);
  color: var(--accent-strong);
  border-color: var(--cream);
}
.btn--on-dark:hover { background: transparent; color: var(--cream); border-color: var(--cream); }

.btn-link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 44px;
  font-weight: 700; color: var(--accent);
  text-decoration: underline; text-underline-offset: 0.2em;
}
.btn-link::after { content: "\2192"; transition: transform var(--dur-fast) var(--ease); }
.btn-link:hover::after { transform: translateX(3px); }
.band-dark .btn-link { color: var(--on-dark-ink); }
.band-dark .btn-link:hover { color: var(--brass); }

.btn:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-5); }

/* ===== Hero ===== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-block: var(--space-8);
}
.hero__media {
  order: -1;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-top: var(--bw-4) solid var(--claret);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__title { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); margin-bottom: var(--space-2); }
.hero__sub { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 52ch; line-height: var(--lh-snug); }

@media (min-width: 1080px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: var(--space-8); }
  .hero__media { order: 0; aspect-ratio: 4 / 5; }
}

/* Page hero (interior pages) */
.page-hero { padding-block: var(--space-8) var(--space-7); }
.page-hero h1 { margin-bottom: var(--space-3); }
.page-hero .lead { margin-top: var(--space-4); }

/* ===== Section head ===== */
.section-head { max-width: var(--maxw-narrow); margin-bottom: var(--space-7); }
.section-head h2 { margin-bottom: var(--space-2); }
.section-head .count-rule { margin-top: var(--space-3); }
.section-head p { color: var(--ink-soft); }

.divider { border: 0; border-top: var(--bw) solid var(--line); margin: var(--space-8) 0; }

/* ===== Trust / fact strip ===== */
.factstrip {
  display: grid; gap: var(--space-5);
  grid-template-columns: 1fr;
  padding: var(--space-6) 0;
  border-top: var(--bw) solid var(--line);
  border-bottom: var(--bw) solid var(--line);
}
@media (min-width: 480px) { .factstrip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .factstrip { grid-template-columns: repeat(4, 1fr); } }
.fact { text-align: left; }
.fact__num { font-family: var(--font-display); font-size: var(--fs-h2); color: var(--accent); line-height: 1; }
.fact__label { color: var(--ink-soft); font-size: var(--fs-small); margin-top: var(--space-2); margin-bottom: 0; }

/* Trust list (under hero, inline) */
.trust-list {
  list-style: none; margin: 0; padding: var(--space-5) 0;
  display: grid; gap: var(--space-3);
  border-top: var(--bw) solid var(--line);
}
@media (min-width: 768px) { .trust-list { grid-template-columns: repeat(2, 1fr); gap: var(--space-3) var(--space-7); } }
.trust-list li {
  position: relative; margin: 0; padding-left: var(--space-5);
  color: var(--ink-soft); font-size: var(--fs-small);
}
.trust-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 10px; height: 2px; background: var(--brass);
}

/* ===== Cards (style cards) ===== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: var(--bw) solid var(--line);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card__media { aspect-ratio: 3 / 2; overflow: hidden; border-top: var(--bw-2) solid var(--claret); }
.card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--dur) var(--ease);
}
.card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.card__title { font-size: var(--fs-h3); margin: 0; }
.card__text { color: var(--ink-soft); font-size: var(--fs-small); margin: 0; }
.card__meta { margin-top: auto; font-size: var(--fs-xs); color: var(--muted); letter-spacing: var(--ls-wide); text-transform: uppercase; }
.card .btn-link { margin-top: auto; }

.card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.card:hover .card__media { border-top-width: var(--bw-4); }
.card:hover .card__media img { transform: scale(1.03); }
.card:focus-within { outline: 3px solid var(--brass); outline-offset: 2px; }

/* ===== Category cards ===== */
.cat-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 480px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }

.cat-card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-5);
  background: var(--surface);
  border: var(--bw) solid var(--line);
  border-left: var(--bw-4) solid var(--claret);
  text-decoration: none;
  min-height: 120px;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cat-card:hover { background: var(--accent-wash); border-left-color: var(--accent-strong); transform: translateY(-2px); }
.cat-card__title { font-family: var(--font-display); font-size: var(--fs-h4); color: var(--ink); margin: 0; }
.cat-card__title + .count-rule { width: 40px; }
.cat-card__hint { color: var(--muted); font-size: var(--fs-small); margin: 0; }

/* ===== Anchor chip strip ===== */
.chips {
  position: sticky; top: 72px; z-index: 50;
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  padding: var(--space-3) var(--gutter);
  margin-inline: calc(-1 * var(--gutter));
  background: var(--bg);
  border-bottom: var(--bw) solid var(--line);
}
.chips a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 var(--space-4);
  font-size: var(--fs-small); font-weight: 600;
  color: var(--ink); text-decoration: none;
  border: var(--bw) solid var(--line-bold);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.chips a[aria-current="true"] { background: var(--accent); color: var(--cream); border-color: var(--accent); }

/* ===== Style sections (Classes page) ===== */
.style {
  display: grid; gap: var(--space-6);
  grid-template-columns: 1fr;
  padding-block: var(--space-7);
  border-bottom: var(--bw) solid var(--line);
  scroll-margin-top: 130px;
}
.style:last-of-type { border-bottom: 0; }
.style__media { aspect-ratio: 3 / 2; overflow: hidden; border-top: var(--bw-2) solid var(--claret); }
.style__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.style__body h2 { margin-bottom: var(--space-3); }
.style__levels { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.style__levels li { position: relative; padding-left: var(--space-5); color: var(--ink-soft); font-size: var(--fs-small); margin: 0; }
.style__levels li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 2px; background: var(--brass); }

@media (min-width: 768px) {
  .style { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-7); align-items: start; }
  .style--reverse .style__media { order: 2; }
}

/* ===== Timetable ===== */
.timetable-wrap { overflow-x: auto; border: var(--bw) solid var(--line); margin-bottom: var(--space-6); }
table.timetable {
  width: 100%; border-collapse: collapse;
  font-size: var(--fs-small); min-width: 640px;
}
.timetable caption {
  text-align: left; padding: var(--space-4);
  font-family: var(--font-display); font-size: var(--fs-h4); color: var(--ink);
  background: var(--surface);
  border-bottom: var(--bw) solid var(--line);
}
.timetable th, .timetable td {
  padding: var(--space-3) var(--space-4);
  text-align: left; vertical-align: top;
  border-bottom: var(--bw) solid var(--line);
}
.timetable thead th {
  font-family: var(--font-body); font-weight: 700;
  text-transform: uppercase; letter-spacing: var(--ls-wide);
  font-size: var(--fs-xs); color: var(--ink);
  border-bottom: var(--bw-2) solid var(--brass);
  background: var(--surface-alt);
}
.timetable tbody th[scope="row"] {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h4);
  color: var(--ink); background: var(--surface-alt);
  white-space: nowrap;
}
.timetable tbody tr:nth-child(odd) td { background: var(--surface-sunk); }
.timetable .time { white-space: nowrap; font-weight: 700; color: var(--ink); }
.timetable .level { color: var(--muted); font-size: var(--fs-xs); }
.timetable .price { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ===== Price list ===== */
.pricelist { display: grid; gap: 0; border-top: var(--bw-2) solid var(--brass); margin: 0; padding: 0; list-style: none; max-width: var(--maxw-narrow); }
.price-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: var(--bw) solid var(--line);
  margin: 0;
}
.price-row__main { display: flex; flex-direction: column; gap: var(--space-1); }
.price-row__name { font-weight: 600; color: var(--ink); }
.price-row__note { color: var(--muted); font-size: var(--fs-small); }
.price-row__amount { font-family: var(--font-display); font-size: var(--fs-h4); color: var(--accent); white-space: nowrap; text-align: right; }

/* ===== Testimonials / quotes ===== */
.quote {
  position: relative;
  padding: var(--space-7) var(--space-5) var(--space-5) var(--space-6);
  background: var(--surface);
  border: var(--bw) solid var(--line);
  border-left: var(--bw-4) solid var(--claret);
  margin: 0;
}
.quote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 3rem; line-height: 1; color: var(--brass);
  position: absolute; top: var(--space-3); left: var(--space-4);
}
.quote p { font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1.4; color: var(--ink); margin: 0 0 var(--space-4); max-width: none; }
.quote cite { font-style: normal; font-weight: 700; color: var(--accent-strong); font-size: var(--fs-small); }
.quote cite span { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-xs); }

/* ===== Teacher cards ===== */
.teacher {
  background: var(--surface);
  border: var(--bw) solid var(--line);
  border-bottom: var(--bw-4) solid var(--claret);
  display: flex; flex-direction: column;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.teacher__media { aspect-ratio: 1 / 1; overflow: hidden; }
.teacher__media img { width: 100%; height: 100%; object-fit: cover; display: block; object-position: top center; }
.teacher__body { padding: var(--space-4) var(--space-5) var(--space-5); }
.teacher__name { font-family: var(--font-display); font-size: var(--fs-h4); margin: 0 0 var(--space-1); }
.teacher__role { color: var(--metal-ink); font-weight: 700; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--ls-wide); }
.teacher__cred { color: var(--ink-soft); font-size: var(--fs-small); margin: var(--space-2) 0 0; }
.teacher:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }

/* Featured principal */
.principal {
  display: grid; gap: var(--space-6);
  grid-template-columns: 1fr;
  background: var(--surface);
  border: var(--bw) solid var(--line);
  border-left: var(--bw-4) solid var(--claret);
}
.principal__media { aspect-ratio: 4 / 5; overflow: hidden; }
.principal__media img { width: 100%; height: 100%; object-fit: cover; display: block; object-position: top center; }
.principal__body { padding: var(--space-6); }
.principal__role { color: var(--metal-ink); font-weight: 700; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--ls-wide); }
@media (min-width: 768px) {
  .principal { grid-template-columns: 0.8fr 1.2fr; gap: 0; align-items: stretch; }
  .principal__media { aspect-ratio: auto; }
}

/* ===== Forms ===== */
.field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); }
.field label { font-weight: 700; font-size: var(--fs-small); color: var(--ink); }
.field .req { color: var(--accent); }
.field .hint { color: var(--muted); font-size: var(--fs-xs); }

.input, .select, .textarea {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--cream);
  border: var(--bw) solid var(--line-bold);
  padding: var(--space-3) var(--space-4);
  min-height: 48px;
  width: 100%;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.textarea { min-height: 140px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--muted); }

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

.field--check { flex-direction: row; align-items: center; gap: var(--space-3); }
.field--check input { width: 22px; height: 22px; min-height: 22px; accent-color: var(--claret); flex-shrink: 0; }
.field--check label { font-weight: 400; }

.form__note { font-size: var(--fs-small); color: var(--muted); }
.form {
  background: var(--surface);
  border: var(--bw) solid var(--line);
  padding: var(--space-6);
}

/* ===== Info / contact cards ===== */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.info-list li { margin: 0; padding-bottom: var(--space-4); border-bottom: var(--bw) solid var(--line); }
.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list__label { display: block; font-weight: 700; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--metal-ink); margin-bottom: var(--space-1); }
.info-list a { font-weight: 600; }

.map-frame {
  width: 100%; aspect-ratio: 16 / 9; border: var(--bw) solid var(--line);
  display: block;
}

/* ===== Events / callout box ===== */
.callout {
  background: var(--surface);
  border: var(--bw) solid var(--line);
  border-top: var(--bw-4) solid var(--brass);
  padding: var(--space-6);
}
.callout__date { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--accent); margin: 0 0 var(--space-2); }

/* ===== Services band rows ===== */
.service-row {
  display: grid; gap: var(--space-4);
  grid-template-columns: 1fr;
  padding-block: var(--space-6);
  border-bottom: var(--bw) solid var(--on-dark-line);
  scroll-margin-top: 120px;
}
.service-row:last-child { border-bottom: 0; }
.service-row h3 { margin-bottom: var(--space-2); }
@media (min-width: 768px) {
  .service-row { grid-template-columns: 0.4fr 0.6fr; gap: var(--space-7); }
}

/* ===== Two-column prose layout ===== */
.split { display: grid; gap: var(--space-7); grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8); align-items: start; } }
.split--even { grid-template-columns: 1fr; }
@media (min-width: 900px) { .split--even { grid-template-columns: 1fr 1fr; } }

.aside-card {
  background: var(--surface);
  border: var(--bw) solid var(--line);
  border-top: var(--bw-4) solid var(--claret);
  padding: var(--space-6);
}
.aside-card h3 { font-size: var(--fs-h4); }

/* ===== Footer ===== */
.site-footer {
  background: var(--accent-strong);
  color: var(--on-dark-ink);
  border-top: 6px solid transparent;
  border-image: repeating-linear-gradient(90deg, var(--brass) 0 2px, transparent 2px 12px) 6;
  padding-block: var(--space-8) var(--space-6);
}
.site-footer a { color: var(--on-dark-ink); text-decoration: none; }
.site-footer a:hover { color: var(--brass); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--space-7); grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-col h4 { color: var(--brass); font-family: var(--font-body); font-size: var(--fs-h6); text-transform: uppercase; letter-spacing: var(--ls-wide); margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer-col li { color: var(--on-dark-muted); margin: 0; }
.footer-col a { display: inline-flex; min-height: 32px; align-items: center; }
.footer-base {
  margin-top: var(--space-7); padding-top: var(--space-5);
  border-top: var(--bw) solid var(--on-dark-line);
  color: var(--on-dark-muted); font-size: var(--fs-small);
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: space-between;
}
.footer-base p { margin: 0; max-width: none; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Utilities ===== */
.eyebrow-rule { display: flex; flex-direction: column; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lede-block { max-width: var(--maxw-narrow); }
.tag {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: var(--ls-wide);
  color: var(--metal-ink); padding: var(--space-1) 0;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover, .card:hover .card__media img,
  .cat-card:hover, .teacher:hover { transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Print ===== */
@media print {
  .site-header, .nav__panel, .chips, .hero__actions, .btn, .btn-row { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .timetable, .pricelist { page-break-inside: avoid; }
  .count-strip, .count-rule { background: #000; }
}
