/* SFTAK Events — public styles. Design spec: docs/design/design-spec.md. Mobile first. */

:root {
  --blue: #195FA3;
  --blue-tint: #EEF4FA;
  --orange: #F47D23;
  --green: #336330;
  --cream: #F3E6D7;
  --cream-deep: #E4D3BF;
  --navy: #1A2538;
  --navy-2: #2F3F5C;
  --text: #333333;
  --muted: #555F70;
  --grey-bg: #F5F8FB;
  --border: #E6EBF1;
  --input: #C9D3DF;
  --pale: #DCE6F0;
  --on-navy: #D5DDE8;
  --radius: 6px;
  --radius-lg: 8px;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; /* clear the sticky header on #anchor jumps */ }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: #FFFFFF; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { color: var(--navy); margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 19px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
[hidden] { display: none !important; }
[data-hidden-by-tabs].is-hidden { display: none; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 50; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }

/* Layout helpers */
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 680px; }
.stack-sm > * + * { margin-top: 8px; }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 28px; }
.spacer { flex: 1 1 0; }
.muted { color: var(--muted); }
.ink { color: var(--navy); }
.optional { font-weight: 400; color: var(--muted); }
.h-small { font-family: var(--sans); font-size: 17px; margin-bottom: 8px; }
.h-panel { font-size: 26px; }
.h-page { font-size: clamp(30px, 4vw, 44px); }
.link-strong { font-weight: 700; color: var(--navy); }
.empty { color: var(--muted); padding: 24px; background: var(--grey-bg); border-radius: var(--radius-lg); }

.desk-only { display: none !important; }
@media (min-width: 900px) {
  .desk-only { display: flex !important; }
  .mob-only { display: none !important; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 18px;
  border-radius: var(--radius); font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; line-height: 1.2; text-align: center; }
.btn--lg { min-height: 48px; padding: 13px 26px; }
.btn--block { width: 100%; min-height: 50px; }
.btn--cta { background: var(--orange); color: var(--navy); }
.btn--cta:hover { background: #E86F14; }
.btn--primary { background: var(--blue); color: #FFFFFF; }
.btn--primary:hover { background: #144F89; }
.btn--outline-light { border-color: #FFFFFF; color: #FFFFFF; font-weight: 600; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.badge { display: inline-block; font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 4px; line-height: 1.4; }
.badge--cta { background: var(--orange); color: var(--navy); }
.badge--light { background: rgba(255,255,255,.14); color: #FFFFFF; margin-right: 8px; }
.label { font-size: 15px; font-weight: 600; color: var(--muted); }
.label--muted { color: var(--muted); }

/* Header */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.site-header__bar { display: flex; align-items: center; gap: 12px; padding-block: 12px; }
.site-header__logo img { height: clamp(38px, 4vw, 46px); width: auto; }
.site-header .btn { white-space: nowrap; }
.site-nav { gap: 28px; padding-left: 28px; }
.site-nav a, .site-header__home { font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none; }
.site-header__home { color: var(--muted); }
.site-nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.site-nav a:hover, .site-header__home:hover { color: var(--blue); }
.menu-btn { width: 44px; height: 44px; border: 1px solid var(--input); border-radius: var(--radius); background: #FFFFFF; color: var(--navy);
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.mobile-menu { background: #FFFFFF; padding-bottom: 12px; }
.mobile-menu a { display: block; font-size: 18px; font-weight: 600; color: var(--navy); text-decoration: none; padding: 14px 20px; border-top: 1px solid var(--border); }
.mobile-menu .mobile-menu__back { color: var(--blue); }
@media (max-width: 380px) { .site-header .btn--cta { padding-inline: 12px; } }

/* Notices & flashes */
.notice { background: var(--cream); color: var(--navy); font-size: 15px; padding: 10px 0; }
.notice--warn { background: #FFF3E3; }
.offer-bar { background: var(--orange); color: var(--navy); font-size: 15px; padding: 10px 0; }
.offer-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; }
.offer-bar__text { margin: 0; }
.offer-bar__left { font-weight: 700; white-space: nowrap; }
.event-card__offer { margin: 0; padding: 8px 12px; background: var(--cream); color: var(--navy); border-left: 4px solid var(--orange); border-radius: 4px; font-size: 15px; }
.offer-bar__link { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.notice-box { background: var(--cream); color: var(--navy); padding: 16px 18px; border-radius: var(--radius); font-weight: 600; }
.notice-box--warn { background: #FFF3E3; font-weight: 400; font-size: 15px; }
.soon-box { background: var(--cream); color: var(--navy); padding: 20px 22px; border-radius: var(--radius); border-left: 4px solid var(--orange); }
.soon-box p { margin: 0; }
.soon-box p + p { margin-top: 6px; }
.soon-box__title { font-size: 20px; font-weight: 700; }
.soon-box__contact { font-size: 15px; }
.soon-box a { color: var(--navy); font-weight: 600; }
.flashes { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 8px; font-weight: 600; }
.flash--success { background: #E7F1E6; color: #24461F; }
.flash--error { background: #FBE9E7; color: #8A1F11; }
.flash--info { background: var(--blue-tint); color: var(--navy); }

/* Sections */
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }
.section--grey { background: var(--grey-bg); }
.section--cream { background: var(--cream); }
.band { padding-block: 24px; }
.band--blue { background: var(--blue); color: #FFFFFF; }
.band--blue h2 { color: #FFFFFF; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }

.page-head { background: var(--navy); color: #FFFFFF; padding-block: clamp(36px, 6vw, 72px); }
.page-head h1 { color: #FFFFFF; font-size: clamp(32px, 4.6vw, 52px); }
.page-head__lead { color: var(--on-navy); font-size: clamp(16px, 1.6vw, 19px); max-width: 640px; }

/* Hero */
.hero { background: var(--navy); color: #FFFFFF; }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-block: clamp(40px, 7vw, 88px); }
.hero__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero__meta { font-size: 17px; font-weight: 600; color: var(--orange); }
.hero h1 { color: #FFFFFF; font-size: clamp(34px, 5.2vw, 60px); line-height: 1.08; }
.hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--on-navy); max-width: 560px; }
.hero__media { flex: 1 1 380px; min-width: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-2); }
.hero__media > img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: var(--pale); }
.media-placeholder--dark { background: var(--navy-2); }
.media-placeholder--dark img { width: 45%; max-width: 200px; opacity: .85; }

/* Countdown */
.countdown { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.countdown__title { font-family: var(--serif); font-size: 22px; font-weight: 600; flex: 1 1 260px; }
.countdown__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; flex: 1 1 300px; max-width: 460px; }
.countdown__cell { background: rgba(255,255,255,.12); border-radius: var(--radius); padding: 12px 6px; text-align: center; }
.countdown__cell span { display: block; font-size: 28px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown__cell small { font-size: 15px; color: #D5E3F2; }

/* About */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split__text { flex: 1 1 420px; min-width: 0; }
.split__text h2 { font-size: clamp(28px, 3.4vw, 40px); }
.split__media { flex: 1 1 380px; min-width: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.prose { color: var(--muted); line-height: 1.7; max-width: 70ch; }
.prose > * + * { margin-top: 14px; }
.prose h2, .prose h3 { font-family: var(--sans); font-size: 19px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0; }
.facts { margin: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; border-top: 1px solid var(--border); padding-top: 18px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; color: var(--navy); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: .45em; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* Grids & cards */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.grid--tickets { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.card { background: #FFFFFF; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card__media { aspect-ratio: 16 / 9; background: var(--cream-deep); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.card__body p { font-size: 15px; color: var(--muted); }

/* Event cards (listing) */
.event-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #FFFFFF; }
.event-card__media { display: block; aspect-ratio: 16 / 9; background: var(--navy-2); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__media .media-placeholder img { width: 40%; height: auto; object-fit: contain; }
.event-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.event-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 14px; font-weight: 600; color: var(--green); }
.event-card__title { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.event-card__title a { color: var(--navy); text-decoration: none; }
.event-card__title a:hover { color: var(--blue); }
.event-card__when { font-weight: 600; color: var(--navy); font-size: 15px; }
.event-card__desc { color: var(--muted); font-size: 15px; }
.event-card__foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
@media (min-width: 900px) {
  .event-card--featured { flex-direction: row; }
  .event-card--featured .event-card__media { flex: 0 0 52%; aspect-ratio: auto; min-height: 340px; }
  .event-card--featured .event-card__body { padding: 32px; justify-content: center; }
  .event-card--featured .event-card__title { font-size: 32px; }
  .event-card--featured .event-card__foot { margin-top: 8px; justify-content: flex-start; gap: 20px; }
}

/* Category filter: underlined tabs, no pills */
.filter { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.filter a { font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.filter a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--blue); }
.filter a:hover { color: var(--blue); }

/* Speakers */
.speakers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 18px; }
@media (min-width: 600px) { .speakers { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); } }
.speaker { display: flex; flex-direction: column; gap: 10px; }
.speaker__photo { aspect-ratio: 4 / 5; background: var(--pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: #6B7A90; overflow: hidden; }
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; }
.speaker__name { font-family: var(--sans); font-size: 16px; font-weight: 700; }
.speaker__tag { font-size: 14px; font-weight: 600; color: var(--green); }
.speaker__role { font-size: 15px; color: var(--muted); }
.speaker__bio summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--blue); min-height: 44px; display: flex; align-items: center; }
.speaker__bio p { font-size: 15px; color: var(--muted); }

/* Programme */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { font: inherit; font-size: 16px; font-weight: 700; padding: 11px 20px; min-height: 44px; border-radius: var(--radius); cursor: pointer;
  border: 1.5px solid var(--input); background: #FFFFFF; color: var(--navy); }
.tab[aria-selected="true"] { border-color: var(--blue); background: var(--blue); color: #FFFFFF; }
.agenda { display: flex; flex-direction: column; gap: 12px; }
.agenda__day-title { font-size: 18px; }
.tabs ~ .agenda .agenda__day-title { position: absolute; left: -9999px; }
.agenda__item { background: #FFFFFF; border-radius: var(--radius); padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; border: 1px solid var(--border); }
.agenda__time { flex: 0 0 130px; font-weight: 700; color: var(--blue); font-size: 15px; }
.agenda__main { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.agenda__type { font-size: 15px; font-weight: 600; color: var(--green); }
.agenda__title { font-size: 17px; font-weight: 600; color: var(--navy); }
.agenda__desc { font-size: 15px; color: var(--muted); }
.agenda__who { font-size: 15px; color: var(--muted); }

/* Tickets */
.ticket { border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; background: #FFFFFF; border: 1px solid var(--border); }
.ticket--highlight { background: var(--blue-tint); border: 2px solid var(--blue); }
.ticket .badge { align-self: flex-start; }
.ticket h3 { font-size: 20px; }
.ticket__price { display: flex; flex-direction: column; gap: 2px; }
.ticket__amount { font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.ticket__price .muted { font-size: 15px; }
.ticket__desc { font-size: 14px; color: var(--muted); }
.ticket__btn { margin-top: auto; }
.pay-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; font-size: 15px; color: var(--muted); }
.pay-note__secure { display: inline-flex; align-items: center; gap: 8px; }
.pay-note__secure svg { color: var(--green); }

.plan-note { margin: 16px 0 0; padding: 12px 16px; background: var(--cream); color: var(--navy); border-left: 4px solid var(--orange); border-radius: 4px; font-size: 15px; }
.plan-note a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Call for presenters */
.cfp { display: grid; gap: 28px; align-items: center; }
.cfp__text { max-width: 640px; }
.cfp__intro { font-size: 17px; color: var(--navy); }
.cfp__steps { margin: 0; padding-left: 22px; color: var(--navy); }
.cfp__steps li + li { margin-top: 8px; }
.cfp__steps a { overflow-wrap: anywhere; font-weight: 600; }
.cfp__card { background: #FFFFFF; border-radius: var(--radius-lg); padding: 24px; border-top: 4px solid var(--orange); }
.cfp__label { font-size: 15px; font-weight: 600; color: var(--muted); }
.cfp__date { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--navy); margin-bottom: 18px; }
.cfp__meta { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.cfp__send { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 15px; color: var(--muted); }
.cfp__send a { font-weight: 700; overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .cfp { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; }
}

/* Prices and deadlines */
.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; }
.price-plan { margin-top: 32px; display: grid; gap: 14px; }
.price-plan h3 { margin: 0; }
.price-plan__note { margin: 0; font-size: 15px; }
.price-plan__table { overflow-x: auto; background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table th, .price-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table thead th { color: var(--navy); font-weight: 700; }
.price-table thead small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.price-table tbody th { color: var(--navy); font-weight: 600; }
.price-table td { font-weight: 600; color: var(--navy); white-space: nowrap; }
.price-table .is-current { background: var(--blue-tint); }
.price-table thead th.is-current { box-shadow: inset 0 3px 0 var(--orange); }
.price-table .is-past, .price-table .is-past small { color: #8A93A3; font-weight: 400; }
.price-table__now { font-size: 14px; color: var(--blue); font-weight: 700; margin-left: 4px; }
.price-table__flat { white-space: normal; }
.price-plan__list { display: none; }
.price-list { background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.price-list + .price-list { margin-top: 10px; }
.price-list h4 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.price-list p { margin: 0; font-weight: 600; color: var(--navy); }
.price-list ul { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px solid var(--border); }
.price-list li:first-child { border-top: 0; }
.price-list li small { display: block; color: var(--muted); font-size: 14px; }
.price-list li.is-current { background: var(--blue-tint); margin: 0 -10px; padding-inline: 10px; border-radius: 4px; }
.price-list li.is-past, .price-list li.is-past small { color: #8A93A3; }
.price-list__amount { font-weight: 700; color: var(--navy); white-space: nowrap; }
.price-list li.is-past .price-list__amount { font-weight: 400; color: #8A93A3; }
@media (max-width: 700px) {
  .price-plan__table { display: none; }
  .price-plan__list { display: block; }
}

/* Registration form */
.register { display: flex; flex-wrap: wrap; gap: 40px; }
.register__intro { flex: 1 1 300px; min-width: 0; }
.steps { margin: 8px 0 0; padding-left: 20px; line-height: 2; color: var(--navy); }
.form-card { flex: 1 1 480px; min-width: 0; background: #FFFFFF; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; border: 1px solid var(--border); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; color: var(--navy); border: 0; padding: 0; margin: 0; min-width: 0; }
.field--full, .form-card > .btn { grid-column: 1 / -1; }
.field legend { padding: 0; margin-bottom: 6px; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--text); padding: 11px 14px; border: 1px solid var(--input);
  border-radius: var(--radius); min-height: 46px; background: #FFFFFF; width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field .help { font-weight: 400; color: var(--muted); font-size: 14px; }
.field-error { color: #8A1F11; font-size: 14px; font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C0392B; }
.choice { display: flex; align-items: center; gap: 10px; font-weight: 400; min-height: 44px; }
.choice input { width: 20px; height: 20px; accent-color: var(--blue); }

/* Partners */
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding-block: clamp(20px, 4vw, 48px); }
.partners__text { flex: 1 1 300px; }
.partners__text h2 { font-size: clamp(24px, 2.8vw, 32px); }
.partners__text p { font-size: 17px; }
.partners__grid { flex: 2 1 420px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.partner { height: 84px; background: #FFFFFF; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 12px;
  font-size: 16px; font-weight: 600; color: var(--muted); text-decoration: none; }
.partner img { max-height: 60px; width: auto; object-fit: contain; }

/* Order / ticket status page */
.page-head--slim { padding-block: clamp(28px, 5vw, 48px); }
.page-head__back a { color: var(--on-navy); font-weight: 600; font-size: 15px; }
.order { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.order__main { flex: 2 1 420px; min-width: 0; }
.order__side { flex: 1 1 280px; min-width: 0; }
.status { padding: 16px 18px; border-radius: var(--radius); font-size: 16px; }
.status--ok { background: #E7F1E6; color: #24461F; border-left: 4px solid var(--green); }
.status--wait { background: #FFF3E3; color: #5C3300; border-left: 4px solid var(--orange); }
.status--muted { background: #ECEEF1; color: var(--muted); }
.small-print { font-size: 14px; }
.checking { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--blue-tint); color: var(--navy); font-weight: 600; }
.checking__dot { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--blue); border-right-color: transparent; animation: spin 1s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .checking__dot { animation: none; } }
.ticket-card { border: 1px dashed var(--input); border-radius: var(--radius-lg); padding: 20px; background: #FFFFFF; }
.ticket-card--ok { border: 2px solid var(--green); }
.ticket-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 14px; font-size: 18px; }
.ticket-card__head strong { color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.ticket-card__qr { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 14px; }
.ticket-card__qr img { width: 200px; height: 200px; image-rendering: pixelated; }
.facts--plain { border-top: 0; padding-top: 0; margin-top: 0; }
.facts--stack { grid-template-columns: 1fr; gap: 10px; }
.facts dd { overflow-wrap: anywhere; }
.form-errors { grid-column: 1 / -1; background: #FBE9E7; color: #8A1F11; padding: 12px 16px; border-radius: var(--radius); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.testimonial { margin: 0; background: #FFFFFF; border-radius: var(--radius); border-left: 4px solid var(--blue); padding: 24px 26px;
  display: flex; flex-direction: column; gap: 18px; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 20px); line-height: 1.55; color: var(--navy); }
.testimonial figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 15px; }
.testimonial figcaption > span { display: flex; flex-direction: column; }
.testimonial figcaption strong { color: var(--navy); }
.testimonial figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* Highlights gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 10px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* Panels: last year + venue */
.panel { border-radius: var(--radius-lg); padding: 28px; }
.panel--cream { background: var(--cream); }
.panel--grey { background: var(--grey-bg); }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.thumbs img, .thumbs span { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--radius-lg); background: var(--cream-deep); display: block; }
.map { width: 100%; height: 200px; border: 0; border-radius: var(--radius-lg); background: var(--pale); }
.map--placeholder { display: flex; align-items: center; justify-content: center; color: #4D5B70; font-size: 15px; text-align: center; padding: 16px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: 40px; }
.site-footer img { height: 50px; width: auto; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; }
.site-footer__nav a { color: var(--on-navy); min-height: 44px; display: inline-flex; align-items: center; }
.site-footer__copy { font-size: 15px; color: #C3CEDC; }

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