/* ==========================================================================
   Steply — brand stylesheet
   Ported from the Steply Design System (Claude Design canvas export).
   Tokens below are copied verbatim from tokens/*.css; component classes
   are hand-translated from the system's React components (Button, Card,
   Nav, Footer, SectionHeading, PriceRow, Tag, Badge, Input, Select,
   Checkbox, Radio, Tabs, Dialog, Toast, Tooltip) so the plain-PHP site
   matches the design pixel-for-pixel without needing React.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Figtree:wght@300;400;500;600;700&display=swap");

:root {
  /* This site only ever ships light-themed colors (no dark mode is built),
     so tell mobile browsers not to auto-invert/darken it. Some Android
     browsers (Chrome's "Force dark", Samsung Internet's web dark mode)
     otherwise apply their own dark-mode heuristics to pages that don't
     declare a color-scheme, which can wash out or hide hardcoded-color
     elements like the burgundy payment box — exactly matching reports of
     text such as the IBAN "disappearing" on some phones while looking
     fine everywhere else. */
  color-scheme: light;
  /* ---- Palette ---- */
  --burgundy-100: #f6e9ea; --burgundy-200: #e8c9ce; --burgundy-300: #d19ea7;
  --burgundy-400: #a9646f; --burgundy-500: #7d3542; --burgundy-600: #571f2a;
  --burgundy-700: #491a23; --burgundy-800: #3a141b; --burgundy-900: #260d12;

  --gold-100: #faf2e2; --gold-200: #f1e2c4; --gold-300: #e3c795;
  --gold-400: #d9b878; --gold-500: #a8884f; --gold-600: #8a6a35;
  --gold-700: #6d5228; --gold-800: #4f3b1c; --gold-900: #332612;

  --cream-100: #ffffff; --cream-200: #fbf7ee; --cream-300: #f5eddd;
  --cream-400: #efe6d4; --cream-500: #e2d5bd;

  --ink-100: #efeae5; --ink-200: #cfc7bf; --ink-300: #a1968d;
  --ink-400: #6b5e54; --ink-500: #3f3733; --ink-600: #2a2321; --ink-700: #1c1715;

  --brand: var(--burgundy-600);
  --brand-deep: var(--burgundy-800);
  --brand-soft: var(--burgundy-100);
  --accent: var(--gold-500);
  --accent-ink: var(--gold-600);
  --accent-light: var(--gold-400);

  --surface-page: var(--cream-200);
  --surface-card: var(--cream-100);
  --surface-sunken: var(--cream-400);
  --surface-invert: var(--burgundy-600);
  --surface-invert-deep: var(--burgundy-800);

  --text-heading: var(--burgundy-600);
  --text-body: var(--ink-500);
  --text-ink: var(--ink-600);
  --text-muted: var(--ink-400);
  --text-kicker: var(--gold-600);
  --text-on-invert: var(--cream-200);
  --text-on-invert-muted: var(--gold-300);
  --text-on-invert-kicker: var(--gold-400);
  --text-link: var(--burgundy-600);
  --text-link-hover: var(--gold-600);

  --border-hairline: rgba(168, 136, 79, 0.35);
  --border-rule: rgba(168, 136, 79, 0.5);
  --border-strong: var(--gold-500);
  --border-on-invert: rgba(217, 184, 120, 0.45);
  --focus-ring: var(--gold-500);

  --status-success: #5f6f45; --status-success-soft: #eceedf;
  --status-warning: var(--gold-600); --status-warning-soft: var(--gold-100);
  --status-error: var(--burgundy-500); --status-error-soft: var(--burgundy-100);

  /* ---- Type ---- */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --weight-light: 300; --weight-regular: 400; --weight-medium: 500;
  --weight-semibold: 600; --weight-bold: 700;

  /* Bumped one notch across the board (Sept 2026) — the exported scale read
     small in the browser, especially --text-sm (used for most body copy:
     card descriptions, footer lines, dialog and form text), which sat
     below the ~16px minimum recommended for comfortable web reading. */
  --text-display-xl: 4.75rem; --text-display-lg: 3.5rem; --text-display-md: 2.375rem;
  --text-display-sm: 1.75rem; --text-display-xs: 1.375rem;
  --text-lg: 1.25rem; --text-md: 1.0625rem; --text-sm: 1rem;
  --text-xs: 0.875rem; --text-2xs: 0.75rem;

  --leading-tight: 1.08; --leading-display: 1.15; --leading-snug: 1.35; --leading-body: 1.6;
  --tracking-kicker: 0.2em; --tracking-caps: 0.14em; --tracking-wordmark: 0.22em; --tracking-normal: 0;

  /* ---- Shape ---- */
  --radius-none: 0; --radius-xs: 2px; --radius-sm: 4px; --radius-md: 8px;
  --radius-lg: 14px; --radius-pill: 999px; --radius-arch: 180px 180px 14px 14px;
  --border-thin: 1px; --border-medium: 2px;
  --shadow-sm: 0 1px 2px rgba(87,31,42,.06), 0 2px 6px rgba(87,31,42,.05);
  --shadow-md: 0 2px 4px rgba(87,31,42,.06), 0 8px 20px rgba(87,31,42,.08);
  --shadow-lg: 0 4px 8px rgba(87,31,42,.07), 0 20px 44px rgba(87,31,42,.12);
  --photo-filter: sepia(.12) saturate(.9) contrast(.95) brightness(1.02);

  /* ---- Spacing ---- */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --gutter: var(--space-5); --section-y: var(--space-9); --section-y-tight: var(--space-8);
  --page-pad: var(--space-6); --measure: 62ch; --measure-tight: 46ch;
  --container: 1200px; --container-narrow: 820px;

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(.2,.7,.3,1); --duration-fast: 120ms; --duration-base: 200ms;
  --transition-base: all var(--duration-base) var(--ease-standard);
}

/* ---- Base ---- */
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0; background: var(--surface-page); color: var(--text-body);
  font-family: var(--font-body); font-size: var(--text-md); font-weight: var(--weight-regular);
  line-height: var(--leading-body);
}
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: var(--weight-semibold); color: var(--text-heading);
  line-height: var(--leading-display); margin: 0 0 var(--space-3);
}
h1 { font-size: var(--text-display-lg); line-height: var(--leading-tight); }
h2 { font-size: var(--text-display-md); }
h3 { font-size: var(--text-display-sm); }
h4 { font-size: var(--text-display-xs); }
p { margin: 0 0 var(--space-4); max-width: var(--measure); }
a { color: var(--text-link); text-decoration: none; transition: color var(--duration-fast) var(--ease-standard); }
a:hover { color: var(--text-link-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: var(--border-medium) solid var(--focus-ring); outline-offset: 2px;
}
::selection { background: var(--gold-200); color: var(--burgundy-700); }
hr { border: 0; height: 1px; background: var(--border-rule); margin: var(--space-6) 0; }
img { max-width: 100%; display: block; }

.kicker {
  font-family: var(--font-body); font-size: var(--text-2xs); font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--text-kicker);
}
.subtitle-nl { font-family: var(--font-display); font-style: italic; font-size: var(--text-display-xs); color: var(--accent-ink); }
.copy-nl { font-size: var(--text-xs); font-style: italic; color: var(--text-muted); }
.lead { font-size: var(--text-lg); color: var(--text-body); }
.washed { filter: var(--photo-filter); }
.rule-short { height: 2px; width: 64px; background: var(--accent); border: 0; margin: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--page-pad); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--page-pad); }
.on-invert { background: var(--surface-invert); color: var(--text-on-invert); }
.on-invert h1, .on-invert h2, .on-invert h3, .on-invert h4 { color: var(--text-on-invert); }
.on-invert .kicker { color: var(--text-on-invert-kicker); }
.on-invert a { color: var(--gold-300); }
.on-invert a:hover { color: var(--cream-100); }

.section { max-width: var(--container); margin: 0 auto; padding: var(--section-y) var(--page-pad); }
.section-tight { max-width: var(--container); margin: 0 auto; padding: var(--section-y-tight) var(--page-pad); }
.section-sunken { background: var(--surface-sunken); border-top: var(--border-thin) solid var(--border-hairline); border-bottom: var(--border-thin) solid var(--border-hairline); }

/* ---- Section heading ---- */
.section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.section-heading.center { align-items: center; text-align: center; }
.section-heading .kicker-row { display: flex; align-items: center; gap: var(--space-3); }
.section-heading h2, .section-heading h1 { margin: 0; text-wrap: balance; }
.section-heading .subtitle-nl { margin: 0; }

/* ---- Buttons ---- */
.btn {
  font-family: var(--font-body); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; border-radius: var(--radius-pill); border: var(--border-thin) solid transparent;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  text-decoration: none; transition: var(--transition-base); white-space: nowrap;
  font-size: var(--text-xs); padding: 12px 26px;
}
.btn-sm { font-size: var(--text-2xs); padding: 8px 18px; }
.btn-lg { font-size: var(--text-sm); padding: 16px 34px; }
.btn-primary { background: var(--brand); color: var(--text-on-invert); border-color: var(--brand); }
.btn-primary:hover { background: var(--burgundy-700); border-color: var(--burgundy-700); color: var(--text-on-invert); }
.btn-secondary { background: transparent; color: var(--brand); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--gold-100); color: var(--burgundy-700); }
.btn-gold { background: var(--accent); color: var(--cream-100); border-color: var(--accent); }
.btn-gold:hover { background: var(--gold-600); border-color: var(--gold-600); }
.btn-ghost { background: transparent; color: var(--accent-ink); border-color: transparent; }
.btn-ghost:hover { color: var(--brand); background: var(--gold-100); }
.btn-on-invert, .on-invert a.btn-on-invert { background: var(--cream-200); color: var(--brand); border-color: var(--cream-200); }
.btn-on-invert:hover, .on-invert a.btn-on-invert:hover { background: var(--gold-200); border-color: var(--gold-200); color: var(--brand); }
.btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn-block { width: 100%; }

/* ---- Cards ---- */
.card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--surface-card); color: var(--text-body); border: var(--border-thin) solid var(--border-hairline); }
.card-sand { background: var(--surface-sunken); border-color: var(--cream-500); }
.card-invert { background: var(--surface-invert); color: var(--text-on-invert); border-color: var(--burgundy-600); }
.card-body { padding: var(--space-5); }
.card-kicker { font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--text-kicker); }
.card-invert .card-kicker { color: var(--text-on-invert-kicker); }
.card h3.card-title { font-family: var(--font-display); font-size: var(--text-display-sm); font-weight: var(--weight-semibold); line-height: var(--leading-display); color: var(--text-heading); margin: var(--space-2) 0 0; }
.card-invert h3.card-title { color: var(--text-on-invert); }
.card .card-subtitle-nl { font-family: var(--font-display); font-style: italic; font-size: var(--text-display-xs); color: var(--accent-ink); margin-top: 2px; }
.card-invert .card-subtitle-nl { color: var(--text-on-invert-muted); }
.card .card-text { margin-top: var(--space-3); font-size: var(--text-sm); line-height: var(--leading-body); }
.card .card-meta { margin-top: var(--space-4); font-size: var(--text-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-muted); }
.card-invert .card-meta { color: var(--text-on-invert-muted); }

/* ---- Tags & badges ---- */
.tag { display: inline-flex; align-items: center; gap: var(--space-1); padding: 5px 12px; border-radius: var(--radius-pill); border: var(--border-thin) solid; font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.tag-gold { background: var(--gold-100); color: var(--gold-700); border-color: var(--gold-200); }
.tag-burgundy { background: var(--burgundy-100); color: var(--burgundy-700); border-color: var(--burgundy-200); }
.tag-sand { background: var(--surface-sunken); color: var(--ink-600); border-color: var(--cream-500); }
.tag-outline { background: transparent; color: var(--accent-ink); border-color: var(--border-strong); }

.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--radius-sm); font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: .04em; }
.badge-success { background: var(--status-success-soft); color: var(--status-success); }
.badge-warning { background: var(--status-warning-soft); color: var(--status-warning); }
.badge-error { background: var(--status-error-soft); color: var(--status-error); }

/* ---- Price row ---- */
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-5); padding-bottom: var(--space-3); border-bottom: var(--border-thin) solid var(--border-on-invert); }
.price-row.no-divider { border-bottom: none; padding-bottom: 0; }
.price-row .price-row-title { font-size: var(--text-md); font-weight: var(--weight-semibold); color: var(--text-on-invert); }
.price-row .price-row-note { font-size: var(--text-xs); color: var(--text-on-invert-muted); }
.price-row .price-row-amount { font-family: var(--font-display); font-size: var(--text-display-sm); font-weight: var(--weight-semibold); color: var(--cream-100); white-space: nowrap; }
.price-row.on-page .price-row-title, .price-row.on-page .price-row-amount { color: var(--text-heading); }
.price-row.on-page .price-row-note { color: var(--text-muted); }
.price-row.on-page { border-bottom-color: var(--border-rule); }

/* ---- Bank-transfer instructions (temporary, while Mollie isn't connected) ---- */
.pay-instructions { border: var(--border-thin) solid var(--border-rule); border-radius: var(--radius-lg); padding: var(--space-5); background: var(--surface-card); }
.pay-instructions .pay-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding: 7px 0; border-bottom: var(--border-thin) solid var(--border-hairline); }
.pay-instructions .pay-row:last-child { border-bottom: 0; }
.pay-instructions .pay-label { font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-kicker); flex: none; }
.pay-instructions .pay-value { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--text-heading); text-align: right; }
.pay-instructions .pay-iban { font-family: var(--font-display); letter-spacing: .04em; font-size: var(--text-md); }
.pay-instructions .pay-row-ref { flex-direction: column; align-items: flex-start; gap: 6px; }
.pay-instructions .pay-ref { display: block; width: 100%; box-sizing: border-box; background: var(--brand-soft); color: var(--brand); padding: 9px 12px; border-radius: var(--radius-sm); font-family: var(--font-body); font-weight: var(--weight-semibold); letter-spacing: .02em; text-align: left; }
.card-invert .pay-instructions { background: rgba(251,247,238,.07); border-color: var(--border-on-invert); }
.card-invert .pay-instructions .pay-row { border-bottom-color: var(--border-on-invert); }
.card-invert .pay-instructions .pay-label { color: var(--text-on-invert-kicker); }
.card-invert .pay-instructions .pay-value { color: var(--text-on-invert); }
.card-invert .pay-instructions .pay-ref { background: rgba(0,0,0,.22); color: var(--cream-100); }

/* ---- Long-form document pages (club rules, etc.) ---- */
.doc-page { max-width: 720px; }
.doc-page h2 { font-size: var(--text-display-sm); color: var(--text-heading); margin: var(--space-8) 0 var(--space-3); }
.doc-page > .doc-section:first-of-type h2 { margin-top: var(--space-7); }
.doc-page p { font-size: var(--text-md); color: var(--text-ink); line-height: 1.7; margin: 0 0 var(--space-3); }
.doc-page ul, .doc-page ol { margin: 0 0 var(--space-3); padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.doc-page li { font-size: var(--text-md); color: var(--text-ink); line-height: 1.6; }
.doc-page .doc-note { background: var(--surface-sunken); border-radius: var(--radius-lg); padding: var(--space-5); font-size: var(--text-sm); color: var(--text-ink); line-height: 1.6; margin: var(--space-3) 0; }
.doc-page .doc-meta { font-size: var(--text-xs); color: var(--text-muted); margin-top: var(--space-8); padding-top: var(--space-4); border-top: var(--border-thin) solid var(--border-rule); }

/* ---- Grids ---- */
.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* ---- Navigation ---- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251,247,238,.92); backdrop-filter: blur(8px); border-bottom: var(--border-thin) solid var(--border-hairline); }
.site-header .nav-inner { max-width: var(--container); margin: 0 auto; padding: var(--space-3) var(--page-pad); display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.site-header .brand { display: flex; align-items: center; gap: var(--space-3); flex: none; }
.site-header .brand img { height: 108px; width: auto; }
.site-header .brand span { font-family: var(--font-display); font-size: var(--text-display-sm); letter-spacing: var(--tracking-wordmark); text-transform: uppercase; color: var(--brand); }
.site-header .nav-panel { display: contents; }
.site-header nav.links { display: flex; gap: var(--space-5); margin-left: auto; align-items: center; flex-wrap: wrap; }
.site-header nav.links a { font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-muted); padding-bottom: 3px; border-bottom: 2px solid transparent; }
.site-header nav.links a.active { color: var(--brand); border-bottom-color: var(--accent); }
.site-header .nav-right { display: flex; align-items: center; gap: var(--space-4); flex: none; }
.site-header .lang-switch { display: flex; gap: 2px; font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: .1em; text-transform: uppercase; align-items: center; }
.site-header .lang-switch a { padding: 0 4px; color: var(--text-muted); }
.site-header .lang-switch a.active { color: var(--brand); }
.site-header .lang-switch span { color: var(--border-strong); }

/* ---- Mobile hamburger toggle ---- */
.site-header .nav-toggle { display: none; flex: none; width: 40px; height: 40px; padding: 0; margin-left: auto; border: 0; background: none; cursor: pointer; position: relative; }
.site-header .nav-toggle span { position: absolute; left: 8px; right: 8px; height: 2px; border-radius: 2px; background: var(--brand); transition: transform var(--duration-fast) var(--ease-standard), opacity var(--duration-fast) var(--ease-standard); }
.site-header .nav-toggle span:nth-child(1) { top: 13px; }
.site-header .nav-toggle span:nth-child(2) { top: 19px; }
.site-header .nav-toggle span:nth-child(3) { top: 25px; }
.site-header .nav-toggle.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.site-header .nav-toggle.open span:nth-child(2) { opacity: 0; }
.site-header .nav-toggle.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ---- Footer ---- */
.site-footer { background: var(--surface-invert); color: var(--text-on-invert); }
.site-footer .footer-grid { max-width: var(--container); margin: 0 auto; padding: var(--space-8) var(--page-pad) var(--space-5); display: grid; grid-template-columns: minmax(0,1.2fr) repeat(auto-fit, minmax(0,1fr)); gap: var(--space-7); }
.site-footer .footer-brand { font-family: var(--font-display); font-size: var(--text-display-sm); letter-spacing: var(--tracking-wordmark); text-transform: uppercase; color: var(--cream-200); }
.site-footer .footer-tagline { font-family: var(--font-display); font-style: italic; font-size: var(--text-md); color: var(--text-on-invert-muted); margin-top: 4px; }
.site-footer .footer-col-title { font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--text-on-invert-kicker); margin-bottom: var(--space-3); }
.site-footer .footer-col-lines { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-sm); color: var(--cream-300); }
.site-footer .footer-bottom { max-width: var(--container); margin: 0 auto; padding: var(--space-4) var(--page-pad) var(--space-6); border-top: var(--border-thin) solid var(--border-on-invert); display: flex; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; font-size: var(--text-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-on-invert-muted); }

/* ---- Forms ---- */
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field > label { font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-kicker); }
.input, select.input {
  font: inherit; font-size: var(--text-md); color: var(--text-ink); background: var(--cream-100);
  border: var(--border-thin) solid var(--border-strong); border-radius: var(--radius-pill);
  padding: 13px 20px; transition: var(--transition-base); width: 100%;
}
textarea.input { border-radius: var(--radius-lg); padding: 14px 18px; resize: vertical; min-height: 110px; }
select.input { appearance: none; cursor: pointer; }
.field .hint { font-size: var(--text-xs); color: var(--text-muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.checkbox-row, .radio-row { display: flex; gap: var(--space-3); align-items: flex-start; cursor: pointer; }
.checkbox-row input, .radio-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox-row .box { width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: var(--radius-sm); border: var(--border-thin) solid var(--border-strong); background: var(--cream-100); display: inline-flex; align-items: center; justify-content: center; transition: var(--transition-base); }
.checkbox-row input:checked + .box { background: var(--brand); }
.checkbox-row input:checked + .box::after { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--cream-200); border-bottom: 2px solid var(--cream-200); transform: rotate(-45deg) translate(1px,-1px); }
.radio-row .dot { width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: var(--radius-pill); border: var(--border-thin) solid var(--border-strong); background: var(--cream-100); display: inline-flex; align-items: center; justify-content: center; }
.radio-row input:checked + .dot::after { content: ""; width: 11px; height: 11px; border-radius: var(--radius-pill); background: var(--brand); }
.checkbox-row .label, .radio-row .label { font-size: var(--text-sm); color: var(--text-ink); }
.radio-row .note { display: block; font-size: var(--text-xs); color: var(--text-muted); }
.radio-options { display: flex; flex-direction: column; gap: var(--space-3); }

.tabs { display: inline-flex; gap: var(--space-1); padding: 4px; background: var(--surface-sunken); border-radius: var(--radius-pill); }
.tabs a { border: 0; cursor: pointer; font: inherit; font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; padding: 10px 20px; border-radius: var(--radius-pill); color: var(--accent-ink); transition: var(--transition-base); }
.tabs a.active { background: var(--brand); color: var(--text-on-invert); }

/* ---- Dialog / trial booking modal ---- */
.dialog-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(42,35,33,.55); display: flex; align-items: center; justify-content: center; padding: var(--space-5); }
.dialog-backdrop[hidden] { display: none; }
.dialog { background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: var(--border-thin) solid var(--border-hairline); max-width: 520px; width: 100%; padding: var(--space-6); }
.dialog h3 { margin: 0; }
.dialog .dialog-body { margin-top: var(--space-4); font-size: var(--text-sm); display: flex; flex-direction: column; gap: var(--space-4); }
.dialog .dialog-actions { margin-top: var(--space-6); display: flex; gap: var(--space-3); justify-content: flex-end; flex-wrap: wrap; }

/* ---- Toast (confirmation banner) ---- */
.toast { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); max-width: 460px; margin: var(--space-5) auto 0; background: var(--status-success-soft); color: var(--status-success); }
.toast .toast-title { font-weight: var(--weight-semibold); font-size: var(--text-sm); }
.toast .toast-body { font-size: var(--text-xs); opacity: .9; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; border-bottom: var(--border-thin) solid var(--border-hairline); }
.hero .hero-bg { position: absolute; inset: 0; }
.hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); }
.hero .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(251,247,238,.97) 0%, rgba(251,247,238,.92) 42%, rgba(251,247,238,.25) 100%); }
.hero .hero-inner { position: relative; max-width: var(--container); margin: 0 auto; padding: var(--space-9) var(--page-pad); }
.hero .hero-content { max-width: 620px; }
.hero .hero-actions { display: flex; gap: var(--space-3); margin-top: var(--space-6); flex-wrap: wrap; }
.hero .hero-est { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-7); }
.hero .hero-est span.line { height: 2px; width: 40px; background: var(--accent); display: inline-block; }
.hero .hero-est span.text { font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-kicker); }

/* ---- Teacher portrait (arch) ---- */
.portrait-arch { border-radius: var(--radius-arch); overflow: hidden; background: var(--cream-500); aspect-ratio: 3/4; box-shadow: var(--shadow-md); }
.portrait-arch img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); }
.photo-credit { margin-top: var(--space-2); font-size: var(--text-2xs); color: var(--text-muted); text-align: center; }
.two-col-center { display: grid; grid-template-columns: minmax(0,300px) minmax(0,1fr); gap: var(--space-8); align-items: center; }
@media (max-width: 700px) { .two-col-center { grid-template-columns: 1fr; } }

/* ---- Calendar ---- */
.cal-legend { display: flex; gap: var(--space-6); flex-wrap: wrap; margin-top: var(--space-6); }
.cal-legend-item { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--text-body); }
.cal-dot { width: 10px; height: 10px; border-radius: var(--radius-pill); display: inline-block; flex: none; }
.cal-legend-icon { font-size: 12px; line-height: 1; flex: none; }
.cal-dot-class { background: var(--brand); }
.cal-dot-training { background: var(--accent); }

.cal-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-6); margin-top: var(--space-7); }
.cal-month { background: var(--surface-card); border: var(--border-thin) solid var(--border-hairline); border-radius: var(--radius-lg); padding: var(--space-5); }
.cal-month-title { font-family: var(--font-display); font-size: var(--text-display-sm); font-weight: var(--weight-semibold); color: var(--text-heading); margin-bottom: var(--space-4); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-muted); padding-bottom: 4px; }
.cal-cell { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: var(--text-sm); color: var(--text-body); }
.cal-cell-empty { visibility: hidden; }
.cal-cell-class { background: var(--brand-soft); color: var(--brand); font-weight: var(--weight-semibold); box-shadow: inset 0 0 0 1.5px var(--brand); }
.cal-cell-training { background: var(--gold-100); color: var(--accent-ink); font-weight: var(--weight-semibold); box-shadow: inset 0 0 0 1.5px var(--accent); }
.cal-cell-special { box-shadow: inset 0 0 0 1.5px var(--brand), inset 0 0 0 3px var(--surface-card), inset 0 0 0 4px var(--gold-500); }
.cal-icon { position: absolute; top: -6px; right: -6px; font-size: 12px; line-height: 1; background: var(--surface-card); border-radius: var(--radius-pill); box-shadow: 0 0 0 1px var(--border-rule); width: 17px; height: 17px; display: flex; align-items: center; justify-content: center; }

/* ---- Confirmation / return page ---- */
.confirmation { max-width: var(--container-narrow); margin: 0 auto; padding: var(--space-9) var(--page-pad); text-align: center; }

/* ---- Responsive ---- */
@media (max-width: 780px) {
  :root { --page-pad: var(--space-4); }
  .site-header .nav-inner { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); }
  .site-header .brand img { height: 80px; }
  .site-header .nav-toggle { display: inline-flex; }
  .site-header .nav-panel { display: none; flex-direction: column; align-items: stretch; gap: var(--space-4); width: 100%; order: 3; padding-top: var(--space-4); margin-top: var(--space-1); border-top: var(--border-thin) solid var(--border-hairline); }
  .site-header .nav-panel.open { display: flex; }
  .site-header nav.links { flex-direction: column; align-items: flex-start; margin-left: 0; justify-content: flex-start; gap: var(--space-4); width: 100%; }
  .site-header nav.links a { font-size: var(--text-xs); padding-bottom: 6px; border-bottom: var(--border-thin) solid var(--border-hairline); width: 100%; }
  .site-header .nav-right { width: 100%; justify-content: space-between; }
  .hero .hero-inner { padding: var(--space-7) var(--page-pad); }
  .hero .hero-content { max-width: 100%; }
  .two-col-center { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .cal-months { grid-template-columns: 1fr; }
  .cal-cell { font-size: var(--text-xs); }
}
