/* Shared visual language: ink canvas, pearl surfaces, fine blue accents. */
:root {
  color-scheme: dark;
  --bg: #101c26;
  --panel: #182e3e;
  --panel2: #234254;
  --text: #f0f6fa;
  --muted: #b0c3d0;
  --accent: #add5ef;
  --accent-hover: #d4eafb;
  --line: rgba(178, 215, 239, .22);
  --paper: #edf3f6;
  --ink: #182f40;
  --ink-muted: #526a7b;
  --ink-accent: #245e80;
  --primary-bg: #add5ef;
  --primary-hover: #cce7f9;
  --primary-text: #102d42;
  --field-bg: #182e3e;
  --field-border: #6c879b;
  --placeholder: #b0c3d0;
  --error: #ffb9ad;
  --success: #b1e2cc;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: .9375rem;
  --text-lg: 1rem;
  --title-page: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --title-section: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --title-card: 1.125rem;
  --title-panel: clamp(1.125rem, 1rem + .4vw, 1.375rem);
  --weight-regular: 400;
  --weight-medium: 500;
  --space-1: .5rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --section-space: clamp(2rem, 4vw, 3.5rem);
  --gutter: clamp(1rem, 3vw, 2rem);
  --edge-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  --edge-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  --max: 1120px;
  --control-height: 3rem;
  --header-height: calc(3.75rem + env(safe-area-inset-top, 0px));
  --radius: .75rem;
}
* { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; margin: 0; background: var(--bg); color: var(--text); font: var(--weight-regular) var(--text-base)/1.7 var(--sans); font-synthesis: none; }
body > main { flex: 1; width: 100%; }
a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { max-width: 100%; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, blockquote, figure { margin-top: 0; }
h1, h2, h3, h4 { font-weight: var(--weight-regular); overflow-wrap: normal; hyphens: none; }
h1, h2, h3 { text-wrap: balance; }
b, strong { font-weight: var(--weight-medium); }
em { color: inherit; font-style: normal; font-weight: inherit; }
main, section, article, form, label { min-width: 0; }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 4px; }
.hidden, [hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: var(--text-xs); line-height: 1.65; }

/* Light content surfaces share local ink and control tokens, including the quiz. */
:is(.casting-card, .destination-card, .detail-layout, .contact-form-wrap, .quiz-card, .legal-copy, .cta, .geography-dialog) {
  color-scheme: light;
  --panel: var(--paper);
  --panel2: #f9fcfe;
  --text: var(--ink);
  --muted: var(--ink-muted);
  --accent: var(--ink-accent);
  --accent-hover: #153f5a;
  --line: rgba(34, 70, 93, .2);
  --primary-bg: #173e59;
  --primary-hover: #245774;
  --primary-text: #f3f8fc;
  --field-bg: #f9fcfe;
  --field-border: #7c91a0;
  --placeholder: #586f7f;
  --error: #a13739;
  --success: #23664f;
  background: var(--panel);
  color: var(--text);
}
.cta { --panel: #d7e7f1; }

/* One header for every template. */
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); flex-shrink: 0; min-height: var(--header-height); padding: calc(.4375rem + env(safe-area-inset-top, 0px)) max(var(--edge-right), calc((100vw - var(--max)) / 2 + var(--gutter))) .4375rem max(var(--edge-left), calc((100vw - var(--max)) / 2 + var(--gutter))); border-bottom: 1px solid var(--line); background: var(--bg); transition: background-color .18s ease, border-color .18s ease; }
.site-header.is-scrolled { border-bottom-color: transparent; background: rgba(16, 28, 38, .18); text-shadow: 0 1px 3px #07121b, 0 0 1px #07121b; }
.site-header:is(:hover, :focus-within), .site-header:has(.nav.open, .language.open) { border-bottom-color: var(--line); background: var(--bg); text-shadow: none; }
@media (hover: none), (pointer: coarse) {
  .site-header.is-scrolled { border-bottom-color: var(--line); background: var(--bg); text-shadow: none; }
}
.brand { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; flex-shrink: 0; white-space: nowrap; font-size: .75rem; font-weight: var(--weight-medium); letter-spacing: .08em; line-height: 1.4; }
.brand img { flex-shrink: 0; width: 1.5rem; height: 1.5rem; }
.brand i { color: var(--accent); font-style: normal; }
.nav { display: flex; align-items: center; gap: var(--space-4); min-width: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted); font-size: var(--text-sm); }
.nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .5rem; }
.nav a:hover, .footer a:hover, .text-link:hover { color: var(--accent-hover); }
.language { position: relative; flex-shrink: 0; }
.lang-toggle, .menu-toggle { min-width: 3rem; min-height: 2.75rem; padding: .5rem .625rem; border: 1px solid var(--line); border-radius: .625rem; background: transparent; color: var(--text); font-size: var(--text-xs); font-weight: var(--weight-regular); line-height: 1.25; }
.lang-menu { display: none; position: absolute; top: calc(100% + .5rem); right: 0; width: min(11rem, calc(100vw - 2rem)); padding: .375rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--panel); box-shadow: 0 .75rem 2rem #0c151d66; }
.language.open .lang-menu { display: grid; }
.lang-menu button { min-height: 2.75rem; padding: .5rem .75rem; border: 0; border-radius: .375rem; background: transparent; color: var(--text); text-align: left; font-size: var(--text-sm); }
.lang-menu button:hover { background: rgba(169, 197, 216, .07); }
.menu-toggle { display: none; font-size: 1.25rem; }

/* Compact typography and outlines shared with the quiz. */
.hero h1, .page-hero h1, .contact-intro h1, .legal-page h1, .detail-copy h1 { margin: 0 0 var(--space-3); font-size: var(--title-page); font-weight: var(--weight-regular); line-height: 1.3; letter-spacing: -.025em; }
.section-heading h2, .feature-copy h2, .cta h2 { margin: 0; font-size: var(--title-section); line-height: 1.35; letter-spacing: -.02em; }
.eyebrow { margin: 0 0 var(--space-2); color: var(--accent); font-size: var(--text-xs); font-weight: var(--weight-regular); line-height: 1.5; letter-spacing: .075em; text-transform: uppercase; }
.section-wrap, .inner-page { width: 100%; max-width: var(--max); margin-inline: auto; padding: var(--section-space) var(--edge-right) var(--section-space) var(--edge-left); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.section-heading > div { min-width: 0; }
.section-heading .eyebrow { margin-bottom: .375rem; }
.intro { max-width: 60ch; margin: var(--space-2) 0 var(--space-4); color: var(--muted); font-size: var(--text-sm); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--control-height); max-width: 100%; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: .625rem; background: transparent; color: var(--text); font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: 1.5; letter-spacing: 0; text-align: center; }
.button span { flex-shrink: 0; font-size: var(--text-lg); font-weight: var(--weight-regular); line-height: 1; }
.button.button-primary { border-color: var(--primary-bg); background: var(--primary-bg); color: var(--primary-text); }
.button.button-primary:hover { border-color: var(--primary-hover); background: var(--primary-hover); }
.button-ghost { border-color: var(--accent); background: transparent; color: var(--accent); }
.button-ghost:hover { border-color: var(--accent-hover); background: var(--panel); color: var(--accent-hover); }
.text-link, .back-link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 2.75rem; max-width: 100%; color: var(--accent); font-size: var(--text-sm); font-weight: var(--weight-regular); line-height: 1.5; }
.text-link { border-bottom: 1px solid var(--line); }
.text-link span { flex-shrink: 0; }
.back-link { margin-bottom: var(--space-4); }

/* Homepage: an introduction and concise text sections. */
.hero { width: 100%; max-width: var(--max); margin-inline: auto; padding: clamp(3rem, 6vw, 5rem) var(--edge-right) clamp(3rem, 6vw, 5rem) var(--edge-left); }
.hero-copy { max-width: 40rem; margin-inline: auto; text-align: center; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 4.5rem); line-height: 1.15; }
.hero-text { max-width: 42ch; margin: 0 auto var(--space-4); color: var(--muted); font-size: clamp(1.125rem, .95rem + .8vw, 1.5rem); line-height: 1.5; }
.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); width: 100%; max-width: 26rem; margin-inline: auto; }
.hero-footnote { margin: var(--space-4) 0 0; color: var(--muted); font-size: var(--text-xs); line-height: 1.5; }
.featured { border-top: 1px solid var(--line); }
.casting-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.casting-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.casting-card:hover { border-color: var(--accent); background: var(--panel2); }
.casting-card:focus-visible { outline-offset: .25rem; }
.card-arrow { position: absolute; top: var(--space-3); right: var(--space-3); display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--accent); font-size: var(--text-lg); line-height: 1; }
/* Intrinsic dimensions and an aspect ratio reserve space before image decoding.
   Native image loading keeps these decorative covers independent of JavaScript. */
.card-media { margin: calc(-1 * var(--space-4)) calc(-1 * var(--space-4)) var(--space-4); overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: #cbdfe9; }
.card-media img, .detail-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.card-meta { margin: 0; padding-right: 1.5rem; color: var(--accent); font-size: var(--text-xs); line-height: 1.5; letter-spacing: .035em; }
.card-meta span { padding-inline: .25rem; }
.casting-card h3 { margin: .625rem 0 var(--space-3); padding-right: .75rem; font-size: var(--title-card); line-height: 1.4; letter-spacing: -.015em; }
.card-bottom { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-1) var(--space-3); margin-top: auto; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; }
.card-bottom > span { flex: 1 1 10ch; min-width: 0; }
.card-bottom b { max-width: 100%; color: var(--accent); font-weight: var(--weight-regular); overflow-wrap: normal; }
/* Native horizontal scrolling keeps the region strip small and touch friendly. */
.geography { padding-block: var(--space-4); }
.geography-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); }
.geography-heading > div { min-width: 0; }
.geography-heading h2 { margin: 0; font-size: var(--title-section); line-height: 1.35; letter-spacing: -.02em; }
.geography-heading p { margin: .375rem 0 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; }
.geography-controls { display: flex; flex-shrink: 0; gap: .5rem; }
.geography-arrow, .geography-close { display: grid; place-items: center; flex-shrink: 0; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text); font-size: 1.25rem; line-height: 1; }
.geography-arrow:hover:not(:disabled), .geography-close:hover { border-color: var(--accent); color: var(--accent); }
.geography-arrow:disabled { opacity: .3; }
.geography-track { display: grid; grid-auto-flow: column; grid-auto-columns: 8.25rem; gap: .875rem; margin: 0; padding: .375rem .25rem .875rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: .25rem; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; list-style: none; }
.geography-track li { min-width: 0; scroll-snap-align: start; }
.geography-region { display: flex; flex-direction: column; align-items: center; gap: .75rem; height: 100%; padding: .25rem; border-radius: .625rem; color: var(--text); text-align: center; font-size: var(--text-sm); line-height: 1.5; overflow-wrap: normal; }
.geography-circle { display: block; flex-shrink: 0; width: 5rem; height: 5rem; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background: #cbdfe9; }
.geography-circle img { width: 100%; height: 100%; object-fit: cover; }
.geography-region:hover .geography-circle, .geography-region[data-active] .geography-circle { border-color: var(--accent); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--accent); }
.geography-region:hover { color: var(--accent-hover); }
.geography-popular { margin-top: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.geography-popular h3 { margin: 0 0 .625rem; color: var(--muted); font-size: var(--text-xs); font-weight: var(--weight-regular); line-height: 1.5; }
.geography-popular-list { display: flex; gap: .5rem; margin: 0; padding: .25rem .25rem .625rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; list-style: none; }
.geography-popular-list li { flex-shrink: 0; }
.geography-popular-list a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem .875rem; border: 1px solid var(--line); border-radius: 2rem; color: var(--accent); font-size: var(--text-sm); line-height: 1.5; white-space: nowrap; }
.geography-popular-list a:hover { border-color: var(--accent); background: var(--bg); }
.geography-modal-open { overflow: hidden; }
.geography-dialog { width: min(30rem, calc(100% - 2rem)); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); margin: auto; padding: clamp(1.25rem, 4vw, 2rem); overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 1rem; font: inherit; }
.geography-dialog:not([open]) { display: none; }
.geography-dialog::backdrop { background: rgba(7, 18, 27, .8); }
.geography-dialog-toolbar { display: flex; justify-content: flex-end; margin: -.5rem -.5rem .25rem 0; }
.geography-dialog h2 { margin: 0 0 var(--space-2); font-size: var(--title-panel); line-height: 1.4; }
.geography-dialog-note, .geography-empty { color: var(--muted); font-size: var(--text-sm); line-height: 1.7; }
.geography-countries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem var(--space-3); margin: var(--space-4) 0; padding: 0; list-style: none; }
.geography-countries li { min-width: 0; padding-block: .625rem; border-bottom: 1px solid var(--line); color: var(--text); font-size: var(--text-sm); line-height: 1.5; }
.geography-countries li.is-selected { padding-inline: .625rem; border-color: var(--accent); border-radius: .375rem; background: #d8e8f2; color: var(--accent); }
.geography-empty { margin-block: var(--space-4); }
.geography-dialog > .button { width: 100%; margin-top: var(--space-2); }
.geography-dialog .button [data-geo-copy] { font: inherit; }
@media (max-width: 40rem) {
  .geography-track { grid-auto-columns: 7rem; gap: .75rem; }
  .geography-circle { width: 4.5rem; height: 4.5rem; }
  .geography-heading { align-items: flex-start; }
  .geography-countries { grid-template-columns: minmax(0, 1fr); }
}
.club-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.feature-section { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); padding-block: var(--space-3); text-align: center; }
.feature-icon { display: grid; place-items: center; flex-shrink: 0; width: 4.5rem; height: 4.5rem; border: 1px solid var(--line); border-radius: 50%; color: var(--text); }
.feature-icon svg { display: block; flex-shrink: 0; }
.feature-copy { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); flex: 1; min-width: 0; width: 100%; }
.feature-copy p { flex: 1; max-width: 32ch; margin: 0 0 var(--space-2); color: var(--muted); font-size: var(--text-sm); line-height: 1.7; }
.testimonial { padding-top: 0; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); padding-top: var(--space-3); }
.quotes figure { min-width: 0; margin: 0; }
.quotes figure + figure { padding-left: var(--space-4); border-left: 1px solid var(--line); }
.quotes blockquote { margin: 0 0 var(--space-3); color: var(--text); font-size: var(--text-base); font-weight: var(--weight-regular); line-height: 1.75; }
.quotes figcaption { color: var(--muted); font-size: var(--text-xs); line-height: 1.5; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); border-top: 1px solid var(--line); }
.cta > div { min-width: 0; }
.cta > .button { flex-shrink: 0; }

/* Compact shared footer. */
.footer { flex-shrink: 0; padding: 0 var(--edge-right) calc(1rem + env(safe-area-inset-bottom, 0px)) var(--edge-left); }
.footer-bottom { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); max-width: calc(var(--max) - 2 * var(--gutter)); margin-inline: auto; padding-top: var(--space-3); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--text-xs); line-height: 1.5; }
.footer-wordmark { display: inline-flex; align-items: center; min-height: 2.75rem; letter-spacing: .08em; white-space: nowrap; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 var(--space-4); min-width: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted); font-size: var(--text-xs); }

/* Listing, detail, and destination pages. */
.page-hero { max-width: 46rem; margin: 0 0 var(--space-5); text-align: left; }
.page-hero p:not(.eyebrow) { max-width: 64ch; margin-bottom: 0; color: var(--muted); font-size: var(--text-sm); }
.filters { display: flex; gap: var(--space-2); margin-bottom: var(--space-4); }
.search-field { display: flex; align-items: center; flex: 1 1 0; gap: var(--space-2); min-width: 0; padding-inline: .875rem; border: 1px solid var(--line); border-radius: .625rem; background: var(--panel); color: var(--muted); }
.search-field:focus-within { border-color: var(--accent); }
.filters select { width: auto; min-width: 0; flex: 0 1 15rem; }
.notice { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--text-sm); line-height: 1.7; }
.notice b { color: var(--text); font-weight: var(--weight-regular); }
.detail-page { max-width: 800px; }
.detail-layout { --detail-inset: clamp(1.125rem, 3vw, 1.75rem); padding: var(--detail-inset); border: 1px solid var(--line); border-radius: 1rem; background: var(--panel); }
.detail-media { margin: calc(-1 * var(--detail-inset)) calc(-1 * var(--detail-inset)) var(--detail-inset); overflow: hidden; border-radius: calc(1rem - 1px) calc(1rem - 1px) 0 0; background: #cbdfe9; }
.detail-copy { min-width: 0; }
.detail-copy > p:not(.eyebrow) { max-width: 64ch; color: var(--muted); font-size: var(--text-sm); line-height: 1.75; }
.detail-copy > p.small { margin: var(--space-3) 0 0; font-size: var(--text-xs); }
.detail-facts { margin: var(--space-4) 0; border-block: 1px solid var(--line); }
.detail-facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3); padding-block: .75rem; border-bottom: 1px solid var(--line); font-size: var(--text-sm); line-height: 1.5; }
.detail-facts > div:last-child { border-bottom: 0; }
.detail-facts span { color: var(--muted); }
.detail-facts b { color: var(--accent); text-align: right; font-weight: var(--weight-regular); overflow-wrap: anywhere; }
.destination-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.destination-card { min-width: 0; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); scroll-margin-top: 1.5rem; }
.destination-card span { color: var(--muted); font-size: var(--text-xs); line-height: 1.5; letter-spacing: .035em; }
.destination-card h2 { margin: .5rem 0; font-size: var(--title-section); line-height: 1.35; letter-spacing: -.02em; }
.destination-card p { max-width: 48ch; margin-bottom: .5rem; color: var(--muted); font-size: var(--text-sm); line-height: 1.7; }

/* Forms use the same fine outlines and readable input sizes as the quiz. */
input:not([type="radio"]):not([type="checkbox"]), textarea, select { width: 100%; min-width: 0; min-height: var(--control-height); padding: .75rem; border: 1px solid var(--field-border); border-radius: .625rem; background: var(--field-bg); color: var(--text); font-size: 1rem; font-weight: var(--weight-regular); line-height: 1.5; }
textarea { min-height: 8rem; resize: vertical; }
.search-field input:not([type="radio"]):not([type="checkbox"]) { min-height: calc(var(--control-height) - 2px); padding-left: 0; border: 0; background: transparent; }
input::placeholder, textarea::placeholder { color: var(--placeholder); opacity: 1; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
input[type="radio"], input[type="checkbox"] { flex-shrink: 0; width: 1.125rem; height: 1.125rem; margin: .125rem 0 0; accent-color: var(--accent); }
.contact-layout { display: grid; align-content: start; gap: var(--space-5); max-width: 800px; }
.contact-intro { min-width: 0; }
.contact-intro > p:not(.eyebrow) { max-width: 64ch; margin-bottom: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.7; }
.contact-links { display: grid; margin-top: var(--space-4); border-top: 1px solid var(--line); }
.contact-links a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: var(--control-height); padding-block: .75rem; border-bottom: 1px solid var(--line); font-size: var(--text-sm); line-height: 1.5; }
.contact-links a span { flex-shrink: 0; color: var(--muted); }
.contact-form-wrap { min-width: 0; padding: clamp(1.125rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--panel); }
.contact-form-wrap h2 { margin: 0; font-size: var(--title-panel); font-weight: var(--weight-regular); line-height: 1.35; letter-spacing: -.02em; }
.contact-form { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
.contact-form label { display: grid; gap: .5rem; min-width: 0; color: var(--muted); font-size: var(--text-xs); line-height: 1.5; }
.two-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.consent, .contact-form .consent { display: flex; align-items: flex-start; gap: .625rem; min-height: 2.75rem; margin: 0; padding-block: .75rem; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; }
.consent input { margin-top: .125rem; }
.consent span { min-width: 0; }
.contact-form .button { width: 100%; }
.form-error { margin-top: var(--space-2); color: var(--error); font-size: var(--text-sm); line-height: 1.5; }
.form-error:empty { margin-top: 0; }
.success-message { margin-top: .25rem; padding-top: var(--space-3); border-top: 1px solid var(--line); color: var(--success); font-size: var(--text-sm); line-height: 1.6; overflow-wrap: anywhere; }
.wizard-step { display: none; }
.wizard-step.active { display: block; }

/* Reference pages retain their content in a comfortable reading measure. */
.legal-page { width: 100%; max-width: 800px; margin-inline: auto; padding: var(--section-space) var(--edge-right) var(--section-space) var(--edge-left); }
.legal-page > .muted { font-size: var(--text-sm); }
.legal-copy { margin-top: var(--space-4); padding: clamp(1.125rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: 1rem; }
.legal-copy h2 { margin: var(--space-4) 0 var(--space-2); font-size: var(--title-panel); line-height: 1.4; letter-spacing: -.015em; }
.legal-copy p, .legal-copy li { color: var(--muted); font-size: var(--text-base); line-height: 1.8; overflow-wrap: normal; }
.legal-copy a { color: var(--accent); }
.legal-copy ul { padding-left: var(--space-4); }
.legal-copy li + li { margin-top: .5rem; }
.legal-copy .legal-date { margin-bottom: var(--space-4); color: var(--muted); font-size: var(--text-xs); }
.legal-copy .button { margin-top: var(--space-3); }
.button, .text-link, .nav a, .lang-toggle, .menu-toggle, .casting-card { transition: color .18s ease, border-color .18s ease, background-color .18s ease; }

@media (max-width: 56rem) {
  .site-header { gap: var(--space-1); }
  .menu-toggle { display: inline-grid; place-items: center; min-width: 2.75rem; margin-left: auto; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; padding: var(--space-2) var(--edge-right) var(--space-3) var(--edge-left); border-bottom: 1px solid var(--line); background: var(--panel); }
  .nav.open { display: flex; }
  .nav a { min-height: var(--control-height); padding-block: .75rem; border-bottom: 1px solid var(--line); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .quotes figure + figure { padding: var(--space-4) 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .footer-bottom { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: .25rem; }
  .footer-links { justify-content: flex-start; gap: 0 var(--space-3); }
}
@media (max-width: 48rem) {
  .club-principles { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .feature-copy p { max-width: 38ch; }
}
@media (max-width: 40rem) {
  .casting-grid, .destination-grid, .two-fields { grid-template-columns: minmax(0, 1fr); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .casting-card, .destination-card { padding: 1.125rem; }
  .card-arrow { top: 1.125rem; right: 1.125rem; }
  .filters { flex-direction: column; }
  .filters select { width: 100%; flex: auto; }
  .search-field { flex: auto; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta > .button, .detail-copy > .button { width: 100%; }
}
@media (max-width: 30rem) {
  .hero-actions { grid-template-columns: minmax(0, 1fr); }
  .detail-facts > div { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .detail-facts b { text-align: left; }
}
@media (max-width: 22rem) {
  .brand { gap: .5rem; font-size: var(--text-xs); letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Focused application: a single quiet card, one subject per screen. */
.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; }
body.quiz-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.quiz-page .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .5rem; }
.quiz-shell { display: flex; flex: 1; align-items: center; justify-content: center; width: 100%; padding: clamp(1.5rem, 5vh, 3.5rem) var(--edge-right) clamp(1.5rem, 5vh, 3.5rem) var(--edge-left); }
.quiz-card { position: relative; width: 100%; max-width: 30rem; padding: clamp(1.125rem, 3vw, 1.75rem); overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--panel); box-shadow: 0 .75rem 2.5rem rgba(10, 17, 23, .16); }
.quiz-card [hidden] { display: none !important; }
.quiz-progress { position: absolute; inset: 0 0 auto; height: 2px; background: var(--line); }
.quiz-progress i { display: block; height: 100%; width: 14.2857%; background: var(--accent); transition: width .2s ease; }
.quiz-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; margin-bottom: 1rem; }
.quiz-back { display: inline-flex; align-items: center; justify-content: flex-start; gap: .375rem; min-height: 2.75rem; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: var(--text-sm); font-weight: var(--weight-regular); }
.quiz-back:disabled { visibility: hidden; }
.quiz-back:hover { color: var(--text); }
.quiz-step-label { color: var(--muted); font-size: var(--text-xs); line-height: 1.5; letter-spacing: .025em; white-space: nowrap; }
.quiz-kicker { margin: 0 0 .5rem; color: var(--accent); font-size: var(--text-xs); line-height: 1.5; letter-spacing: .08em; }
.quiz-page .quiz-question { margin: 0 0 1.25rem; color: var(--text); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: var(--weight-regular); line-height: 1.35; letter-spacing: -.02em; overflow-wrap: normal; hyphens: none; text-wrap: balance; }
.quiz-question:focus { outline: none; }
.quiz-options { display: grid; gap: .75rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.quiz-role-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quiz-choice { display: flex; align-items: center; gap: .625rem; min-width: 0; min-height: 3.25rem; padding: .75rem; border: 1px solid var(--field-border); border-radius: .625rem; background: var(--field-bg); color: var(--text); font-size: var(--text-sm); font-weight: var(--weight-regular); line-height: 1.45; cursor: pointer; }
.quiz-choice > span { min-width: 0; overflow-wrap: normal; hyphens: none; }
.quiz-choice:hover { border-color: var(--accent); }
.quiz-choice:has(input:checked) { border-color: var(--accent); background: #d8e8f2; color: var(--text); }
.quiz-choice:focus-within { border-color: var(--accent); }
.quiz-role-choice { display: grid; grid-template-columns: 1rem minmax(0, 1fr); align-content: start; gap: .75rem .625rem; padding: 0 .75rem .875rem; overflow: hidden; }
.quiz-role-choice img { grid-column: 1 / -1; width: calc(100% + 1.5rem); max-width: none; height: auto; aspect-ratio: 4 / 5; margin-inline: -.75rem; object-fit: cover; background: #cbdfe9; }
.quiz-role-choice:has(input:checked) { box-shadow: inset 0 0 0 1px var(--accent); }
.quiz-role-choice:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.quiz-page .quiz-choice input[type="radio"] { display: grid; place-items: center; appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 1rem; height: 1rem; margin: 0; border: 1px solid var(--field-border); border-radius: 50%; background: transparent; color: var(--accent); }
.quiz-page .quiz-choice input[type="radio"]:checked { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 .25rem var(--field-bg); }
.quiz-page .quiz-card input:not([type="radio"]):not([type="checkbox"]), .quiz-page .quiz-card textarea { min-height: 3rem; padding: .75rem; border: 1px solid var(--field-border); border-radius: .625rem; background: var(--field-bg); font-size: 1rem; font-weight: var(--weight-regular); line-height: 1.5; }
.quiz-page .quiz-card input:focus, .quiz-page .quiz-card textarea:focus { border-color: var(--accent); }
.quiz-page .quiz-card input:focus-visible, .quiz-page .quiz-card textarea:focus-visible { outline-width: 1px; outline-offset: 3px; }
.quiz-page .quiz-card input::placeholder, .quiz-page .quiz-card textarea::placeholder { color: var(--placeholder); opacity: 1; }
.quiz-help { margin: .75rem 0 0; color: var(--muted); font-size: var(--text-xs); line-height: 1.5; }
.quiz-fields { display: grid; gap: 1.25rem; }
.quiz-field { display: grid; gap: .5rem; min-width: 0; }
.quiz-field > label { color: var(--muted); font-size: var(--text-xs); line-height: 1.5; }
.quiz-input-prefix { display: flex; align-items: center; min-width: 0; padding-left: .75rem; border: 1px solid var(--field-border); border-radius: .625rem; background: var(--field-bg); color: var(--muted); }
.quiz-input-prefix:focus-within { border-color: var(--accent); }
.quiz-page .quiz-input-prefix input:not([type="radio"]):not([type="checkbox"]) { border: 0; background: transparent; }
.quiz-note { margin-top: 1rem; }
.quiz-note summary { display: list-item; min-height: 2.75rem; padding-block: .75rem; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; cursor: pointer; }
.quiz-note[open] summary { color: var(--text); }
.quiz-page .quiz-note textarea { min-height: 6rem; margin-top: .5rem; }
.quiz-summary { margin: 0; }
.quiz-summary > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: baseline; gap: 1rem; padding-block: .625rem; border-bottom: 1px solid var(--line); }
.quiz-summary > div:first-child { padding-top: 0; }
.quiz-summary > div:last-child { border-bottom: 0; }
.quiz-summary span { color: var(--muted); font-size: var(--text-xs); line-height: 1.5; }
.quiz-summary b { color: var(--text); font-size: var(--text-sm); font-weight: var(--weight-regular); line-height: 1.5; overflow-wrap: anywhere; }
.quiz-consent { display: flex; align-items: flex-start; gap: .625rem; min-height: 2.75rem; margin-top: 1rem; padding-block: .75rem; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; }
.quiz-consent input { margin-top: .125rem; }
.quiz-actions { display: grid; margin-top: 1.5rem; }
.quiz-page .quiz-next { justify-content: space-between; width: 100%; min-height: 3rem; padding: .75rem 1rem; border: 1px solid var(--primary-bg); border-radius: .625rem; background: var(--primary-bg); color: var(--primary-text); font-size: var(--text-sm); font-weight: var(--weight-medium); letter-spacing: 0; }
.quiz-page .quiz-next .quiz-button-label { font-size: inherit; font-weight: inherit; line-height: inherit; }
.quiz-page .quiz-next:hover { border-color: var(--primary-hover); background: var(--primary-hover); }
.quiz-error:not(:empty) { margin-top: 1rem; }
.quiz-disclaimer { margin: 1rem 0 0; color: var(--muted); font-size: var(--text-xs); line-height: 1.5; text-align: center; overflow-wrap: normal; }
.quiz-success { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--success); font-size: var(--text-sm); line-height: 1.5; }
.quiz-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1.5rem; flex-shrink: 0; padding: .5rem var(--edge-right) calc(.75rem + env(safe-area-inset-bottom, 0px)) var(--edge-left); color: var(--muted); font-size: var(--text-xs); line-height: 1.5; }
.quiz-footer > span { letter-spacing: .075em; }
.quiz-footer a { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (max-width: 37.5rem) {
  .quiz-shell { align-items: flex-start; padding-block: 1.5rem; }
  .quiz-card { border-radius: .875rem; }
  .quiz-page .quiz-question { text-wrap: wrap; }
  .quiz-summary > div { gap: .75rem; }
}
@media (max-height: 42rem) { .quiz-shell { align-items: flex-start; padding-top: 1.25rem; } }
@media (prefers-reduced-motion: reduce) { .quiz-progress i { transition: none; } }
