/* ASDC v5: photographs, deliberate motion and responsive usability. */
:root { --header: 82px; }
.site-header { background:#fff; }
.nav-row { gap:24px; }
.nav-links { gap:23px; }
.nav-links a, .nav-cta { font-size:.875rem; }
.nav-cta { min-height:46px; }
.nav-links a:nth-child(4) { display:flex; }
.status-strip { font-size:.8125rem; }
.status-strip a { min-height:38px; }
.hero-grid {
  grid-template-columns:.86fr 1.14fr;
  gap:48px;
  padding-block:48px 50px;
  min-height:0;
}
.event-name { font-size:.875rem; letter-spacing:.015em; max-width:440px; }
.hero h1 { font-size:clamp(3.5rem,5.5vw,4.9rem); line-height:1.04; margin:20px 0 22px; }
.hero-lede { font-size:1.0625rem; }
.hero-details { gap:20px; font-size:.875rem; }
.hero-actions { gap:8px 20px; }
.hero-actions .button { min-height:50px; }
.hero-actions + .fine { font-size:.875rem; }

.hero-carousel { min-width:0; align-self:center; position:relative; }
.carousel-viewport {
  overflow:hidden;
  border-radius:8px;
  aspect-ratio:4 / 3;
  background:#e3e7e2;
  touch-action:pan-y pinch-zoom;
  isolation:isolate;
}
.hero-track { height:100%; }
.hero-slide { display:none; height:100%; width:100%; min-width:0; margin:0; }
.hero-slide:first-child { display:block; }
.hero-slide img {
  width:100%; height:100%; max-width:none;
  object-fit:cover; object-position:var(--photo-position,50% 45%);
  user-select:none;
}
.hero-carousel.is-ready .hero-track {
  display:flex;
  transition:transform 640ms cubic-bezier(.22,.68,.16,1);
  will-change:transform;
}
.hero-carousel.is-ready .hero-slide { display:block; flex:0 0 100%; }
.hero-carousel .hero-track.is-resetting { transition:none; }
.carousel-controls {
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; min-height:58px; padding-top:10px;
}
.carousel-controls[hidden], .carousel-controls svg[hidden] { display:none; }
.carousel-dots { display:flex; align-items:center; gap:0; }
.carousel-dot {
  display:grid; place-items:center;
  height:44px; width:28px; padding:0;
  border:0; border-radius:4px; background:transparent;
}
.carousel-dot::after { content:''; width:5px; height:5px; border-radius:50%; background:#8d9b92; transition:width 180ms,background 180ms; }
.carousel-dot[aria-current]::after { width:18px; border-radius:3px; background:var(--green); }
.carousel-dot:hover::after { background:var(--green); }
.carousel-counter { display:none; font-size:.875rem; color:var(--muted); font-variant-numeric:tabular-nums; }
.carousel-buttons { display:flex; align-items:center; gap:5px; }
.carousel-button {
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  width:44px; min-height:44px; padding:10px;
  border:1px solid #cbd5cd; border-radius:5px;
  background:transparent; color:var(--dark); font-size:.875rem; font-weight:650;
}
.carousel-button:hover { background:#fff; border-color:var(--green); }
.carousel-button .icon { width:17px; height:17px; }
.carousel-toggle { width:auto; min-width:83px; padding-inline:12px; }
.countdown-row { min-height:104px; padding-block:20px; }
.countdown strong { font-size:2.125rem; }
.countdown span { font-size:.8125rem; margin-top:5px; }
.countdown-sub { font-size:.875rem; }
.countdown-row .overline { font-size:.8125rem; }
.calendar-link { font-size:.875rem; }
.credit-strip small { font-size:.75rem; }
.overline { font-size:.8125rem; }
.section { padding-block:72px; }
.fine { font-size:.875rem; }
.league-card > p { font-size:1rem; }
.league-bottom span { font-size:.875rem; }
.route-button, .route-guidance a { font-size:.875rem; }
.team-facts small { font-size:.875rem; }
.plain-details > div { font-size:1rem; }
.plain-details summary { font-size:1rem; }
.package-note { font-size:.875rem; }
.presets button { font-size:.875rem; min-height:44px; padding:9px 11px; }
.team-control small, .people-grid span, .estimate-total span, .instalments small { font-size:.875rem; }
.stepper button { width:44px; min-height:44px; }
.stepper input { width:38px; font-size:1rem; }
.calc-tools button, .calculator > .fine, .payment-assurance { font-size:.875rem; }
.date-grid small, .registration-status small { font-size:.875rem; }
.registration-steps p, .programme-items p { font-size:1rem; }
.form-service-note, .form-help, .form-external { font-size:.875rem; }
.resource-card p { font-size:1rem; }
.resource-card small, .footer-bottom, .footer-bottom button { font-size:.8125rem; }

@media (max-width:1160px) and (min-width:1001px) {
  .nav-row { gap:18px; }
  .nav-links { gap:16px; }
  .brand { width:155px; }
  .hero-grid { gap:30px; grid-template-columns:.9fr 1.1fr; }
  .hero h1 { font-size:3.75rem; }
  .hero-details { flex-direction:column; gap:8px; }
  .carousel-dots { gap:0; }
  .carousel-dot { width:25px; }
}

@media (max-width:1000px) {
  :root { --header:76px; }
  .nav-row { flex-wrap:nowrap; min-height:76px; gap:14px; }
  .brand { width:155px; }
  .js .menu-button { display:flex; margin-left:auto; width:44px; height:44px; flex-shrink:0; }
  .nav-cta { margin-left:0; min-height:44px; font-size:.875rem; padding:10px 14px; }
  .nav-cta .icon { display:none; }
  .nav-links { flex-basis:auto; }
  .js .nav-links {
    display:none; position:absolute; top:100%; left:0; right:0;
    margin:0; padding:12px var(--gutter) 20px;
    background:#fff; border-bottom:1px solid var(--line);
    box-shadow:0 12px 22px #0a281a12;
    flex-direction:column; align-items:stretch; gap:0;
  }
  .js .nav-links.is-open { display:flex; }
  .js .nav-links a { font-size:1rem; min-height:48px; padding:10px 0; }
  .nav-links a:nth-child(4) { display:flex; }
  .nav-links a[aria-current='location']::after { display:none; }
  .hero-grid { grid-template-columns:1fr; gap:30px; padding-block:40px; }
  .hero-copy { max-width:650px; }
  .hero h1 { font-size:clamp(3.5rem,7.8vw,4.8rem); }
  .hero h1 br { display:none; }
  .hero-lede { max-width:580px; }
  .hero-details { flex-direction:row; gap:24px; }
  .hero-carousel { width:100%; max-width:none; }
  .carousel-viewport { aspect-ratio:3 / 2; }
  .hero-slide img { object-position:var(--photo-mobile-position,var(--photo-position,50% 45%)); }
  .cost-grid { grid-template-columns:1fr; gap:32px; }
  .cost-copy > .body-copy { max-width:600px; }
  .calculator { max-width:none; }
  .league-bottom { flex-wrap:wrap; gap:14px; }
  .countdown-row { gap:20px; }
  .countdown { gap:16px; }
  .countdown > div { min-width:55px; }
  html:not(.js) .nav-row { flex-wrap:wrap; padding-block:10px; }
  html:not(.js) .nav-cta { margin-left:auto; }
  html:not(.js) .nav-links { order:4; flex-basis:100%; margin:0; flex-wrap:wrap; gap:6px 24px; padding:6px 0; }
  html:not(.js) .nav-links a { font-size:1rem; }
}

@media (max-width:740px) {
  .nav-row { gap:10px; }
  .brand { width:149px; }
  .nav-cta { font-size:.875rem; padding:10px 12px; }
  .status-strip .container { font-size:.8125rem; min-height:36px; }
  .hero-grid { padding-block:30px 32px; gap:25px; }
  .event-name { max-width:340px; font-size:.875rem; }
  .hero h1 { font-size:clamp(3.15rem,12.2vw,4.5rem); margin:18px 0; letter-spacing:-.05em; }
  .hero h1 br { display:block; }
  .hero-lede { font-size:1rem; }
  .hero-details { font-size:.875rem; gap:16px; margin:20px 0; }
  .hero-actions { display:grid; gap:5px; }
  .hero-actions .button { font-size:.9375rem; justify-content:center; }
  .hero-actions .pack-link { font-size:.875rem; }
  .hero-actions + .fine { font-size:.875rem; margin-top:6px; }
  .carousel-viewport { aspect-ratio:4 / 3; }
  .carousel-controls { padding-top:8px; min-height:54px; }
  .carousel-dots { display:none; }
  .carousel-counter { display:block; }
  .countdown-row { grid-template-columns:1fr auto; gap:16px; padding-block:20px; }
  .countdown-row > div:first-child { grid-column:1 / -1; }
  .countdown-row .overline, .countdown-sub { font-size:.875rem; }
  .countdown { gap:9px; }
  .countdown > div { min-width:44px; }
  .countdown strong { font-size:1.875rem; }
  .countdown span { font-size:.8125rem; }
  .countdown-row .calendar-link { font-size:.875rem; max-width:130px; padding:10px; }
  .credit-strip small { font-size:.75rem; }
  .credit-strip span { font-size:.875rem; }
  .section { padding-block:54px; }
  .overline { font-size:.8125rem; }
  .section-heading > p, .league-card > p, .cost-copy > .body-copy { font-size:1rem; }
  .league-card { padding:24px; }
  .league-bottom { flex-direction:column; align-items:flex-start; }
  .league-bottom span, .route-button { font-size:.875rem; }
  .route-guidance, .route-guidance a, .team-facts span, .team-facts small { font-size:.875rem; }
  .calculator { padding:22px 18px; }
  .presets button { font-size:.875rem; min-height:44px; }
  .team-control label { font-size:1rem; }
  .team-control small, .people-grid span, .estimate-total span { font-size:.875rem; }
  .stepper button { width:44px; }
  .stepper input { width:32px; }
  .estimate-total { flex-wrap:wrap; gap:12px; }
  .instalments { gap:12px; }
  .instalments small { font-size:.875rem; }
  .instalments strong { font-size:.9375rem; }
  .calculator > .fine, .calc-tools button, .payment-assurance { font-size:.875rem; }
  .registration-status, .registration-status small { font-size:.875rem; }
  .registration-steps p, .programme-items p { font-size:1rem; }
  .dates-heading .text-button, .date-grid small { font-size:.875rem; }
  .date-grid strong { font-size:1rem; }
  .resource-card p, .travel-row > div > p:not(.overline), .faq-list p { font-size:1rem; }
  .resource-card small, .travel-row .inline-link, .related p { font-size:.875rem; }
  .form-heading p, .form-external, .form-service-note, .form-help, .form-help .text-button { font-size:.875rem; }
  .footer-bottom, .footer-bottom button { font-size:.8125rem; }
}

@media (max-width:380px) {
  .brand { width:128px; }
  .nav-row { gap:8px; }
  .nav-cta { padding-inline:10px; }
  .hero-details { column-gap:14px; font-size:.8125rem; }
  .calculator { padding-inline:16px; }
  .team-control { gap:8px; }
  .team-control label { font-size:.9375rem; }
  .team-control small { font-size:.8125rem; }
  .stepper button { width:40px; }
  .stepper input { width:30px; }
  .instalments { gap:8px; }
  .instalments strong, .instalments small { font-size:.8125rem; }
}

@media (prefers-reduced-motion:reduce) {
  .hero-carousel.is-ready .hero-track, .carousel-dot::after { transition:none; }
}
@media print { .hero-carousel { display:none; } }
