/* ==========================================================================
   RUN NATION — DESIGN SYSTEM
   Brand: navy #003B85 · orange #FF5C00
   ========================================================================== */

/* ---------- 1. TOKENS ---------------------------------------------------- */
:root {
  /* brand */
  --navy-950: #041027;
  --navy-900: #07193A;
  --navy-800: #0A2455;
  --navy-700: #003B85;
  --navy-600: #0B52AE;
  --navy-100: #E8F0FB;

  --orange:     #FF5C00;
  --orange-600: #E04E00;
  --orange-100: #FFEDE2;

  /* neutrals */
  --ink:     #0B1B33;
  --ink-2:   #35486A;
  --muted:   #6B7C99;
  --line:    #E4EAF3;
  --line-2:  #EFF3F9;
  --bg:      #FFFFFF;
  --surface: #F5F8FC;
  --surface-2: #EDF2F9;

  /* semantic */
  --green:  #10925C;
  --green-bg: #E4F6ED;
  --amber:  #B07000;
  --amber-bg: #FFF3DC;
  --red:    #C42B2B;
  --red-bg: #FDEAEA;

  /* type */
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* shape */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(7,25,58,.06), 0 2px 8px rgba(7,25,58,.05);
  --shadow:    0 2px 4px rgba(7,25,58,.05), 0 12px 28px rgba(7,25,58,.08);
  --shadow-lg: 0 8px 20px rgba(7,25,58,.09), 0 30px 60px rgba(7,25,58,.13);

  --wrap: 1200px;
  --gutter: 20px;
  --header-h: 72px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. RESET ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* `clip` prevents the body becoming a scroll container (which breaks
   position:sticky and scroll measurement); `hidden` above is the fallback. */
@supports (overflow: clip) { body { overflow-x: clip; } }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

::selection { background: var(--orange); color: #fff; }

/* ---------- 3. TYPE ------------------------------------------------------ */
h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.15rem; letter-spacing: .01em; }

p { text-wrap: pretty; }
strong { font-weight: 650; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.eyebrow.on-dark { color: #FF8A47; }
.eyebrow.on-dark::before { background: #FF8A47; }

.lede { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-2); line-height: 1.7; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- 4. LAYOUT ---------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }

.section-head { max-width: 680px; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; }

.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.stack   { display: flex; flex-direction: column; gap: 14px; }
.row     { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-end { justify-content: flex-end; }
.spread  { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.bg-surface { background: var(--surface); }
.bg-dark { background: var(--navy-900); color: #fff; }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .lede, .bg-dark p { color: rgba(255,255,255,.76); }

/* ---------- 5. BUTTONS --------------------------------------------------- */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: 100px;
  font-size: .94rem; font-weight: 650; letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .18s, color .18s, border-color .18s;
  box-shadow: 0 4px 14px rgba(255,92,0,.26);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,92,0,.34); background: var(--orange-600); }
.btn:active { transform: translateY(0); }

.btn-navy { --btn-bg: var(--navy-700); box-shadow: 0 4px 14px rgba(0,59,133,.24); }
.btn-navy:hover { background: var(--navy-800); box-shadow: 0 8px 22px rgba(0,59,133,.3); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); box-shadow: none; }

.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); box-shadow: none; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; box-shadow: none; }

.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 650; font-size: .92rem; color: var(--navy-700);
}
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. PILLS / BADGES -------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  background: var(--surface-2); color: var(--ink-2);
  white-space: nowrap;
}
.pill-open    { background: var(--green-bg);  color: var(--green); }
.pill-soon    { background: var(--amber-bg);  color: var(--amber); }
.pill-closed  { background: var(--red-bg);    color: var(--red); }
.pill-live    { background: var(--orange-100); color: var(--orange-600); }
.pill-dot::before { content:''; width:7px; height:7px; border-radius:50%; background: currentColor; }
.pill-live.pill-dot::before { animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.chip {
  display: inline-flex; align-items: center;
  padding: 6px 13px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  background: #fff;
  font-size: .82rem; font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.chip-accent { border-color: var(--orange); color: var(--orange-600); background: var(--orange-100); }

/* ---------- 7. CARDS ----------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-pad { padding: clamp(20px, 3vw, 30px); }
.card-hover { transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s; }
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #D6E0EE; }

/* ---------- 8. HEADER ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(7,25,58,.07); }

.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display); font-weight: 800; font-size: 1.28rem;
  letter-spacing: .01em; text-transform: uppercase; color: var(--navy-700);
}
.brand-tag { font-size: .58rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 550;
  color: var(--ink-2);
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--navy-700); font-weight: 680; }
.nav a[aria-current="page"]::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2.5px; border-radius: 2px; background: var(--orange);
}

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle:hover { background: var(--surface); }

@media (max-width: 1040px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 22px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-header.nav-open .nav a { padding: 13px 14px; font-size: 1rem; }
  .site-header.nav-open .nav a[aria-current="page"]::after { display: none; }
  .site-header.nav-open .nav a[aria-current="page"] { background: var(--navy-100); }
}

/* ---------- 9. HERO ------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 78% 12%, rgba(255,92,0,.32), transparent 62%),
    radial-gradient(760px 620px at 12% 88%, rgba(11,82,174,.55), transparent 65%),
    linear-gradient(160deg, #041027 0%, #07193A 48%, #0A2455 100%);
}
/* diagonal stride lines */
.hero::after {
  content: ''; position: absolute; inset: -20%; z-index: -1;
  background: repeating-linear-gradient(
    -62deg,
    rgba(255,255,255,.055) 0px, rgba(255,255,255,.055) 2px,
    transparent 2px, transparent 26px
  );
  mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
}

.hero-inner {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(56px, 9vw, 112px);
}
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; padding-block: 52px 56px; } }

.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent {
  color: transparent;
  background: linear-gradient(100deg, #FF8A47, var(--orange) 55%, #FFB37A);
  -webkit-background-clip: text; background-clip: text;
}
.hero-sub { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: rgba(255,255,255,.78); max-width: 52ch; line-height: 1.68; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* hero visual: stacked event cards */
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; border-radius: var(--r-lg);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-float {
  position: absolute;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r);
  padding: 13px 17px;
  box-shadow: 0 14px 34px rgba(0,0,0,.3);
}
.hero-float .n { font-family: var(--display); font-size: 1.7rem; font-weight: 800; line-height: 1; color: #fff; }
.hero-float .l { font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 4px; }
.hero-float.f1 { bottom: 22px; left: -18px; }
.hero-float.f2 { top: 22px; right: -14px; }
@media (max-width: 600px) { .hero-float.f1 { left: 8px; } .hero-float.f2 { right: 8px; } }

/* stat strip */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.14);
  border-top: 1px solid rgba(255,255,255,.14);
}
.stat-strip > div { background: var(--navy-950); padding: 26px 20px; text-align: center; }
.stat-strip .n { font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; color: #fff; line-height: 1; }
.stat-strip .n span { color: var(--orange); }
.stat-strip .l { font-size: .73rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 8px; }
@media (max-width: 720px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

/* page hero (inner pages) */
.page-hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(255,92,0,.26), transparent 60%),
    linear-gradient(150deg, #07193A, #0A2455);
}
.page-hero::after {
  content: ''; position: absolute; inset: -20%; z-index: -1;
  background: repeating-linear-gradient(-62deg, rgba(255,255,255,.05) 0 2px, transparent 2px 24px);
  mask-image: linear-gradient(to bottom, #000, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 95%);
}
.page-hero-inner { padding-block: clamp(42px, 6vw, 74px); max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.8rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.76); font-size: clamp(1rem, 1.5vw, 1.12rem); }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- 10. EVENT CARD ----------------------------------------------- */
.event-card { display: flex; flex-direction: column; height: 100%; }
.event-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--surface-2); }
.event-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-hover:hover .event-media img { transform: scale(1.05); }
.event-media .pill { position: absolute; top: 14px; left: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.16); }
.event-accent { position: absolute; inset: auto 0 0 0; height: 4px; }

.event-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.event-body h3 { color: var(--ink); }
.event-body h3 + .tagline { font-size: .9rem; color: var(--orange-600); font-weight: 600; margin-top: -8px; }
.event-meta { display: grid; gap: 9px; font-size: .86rem; }
.event-meta > div { display: flex; align-items: flex-start; gap: 9px; color: var(--ink-2); }
.event-meta svg { flex-shrink: 0; margin-top: 3px; color: var(--muted); }
.event-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-from { font-size: .74rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.price-val { font-family: var(--display); font-size: 1.6rem; font-weight: 800; color: var(--ink); line-height: 1; }

/* timeline progress bar on card */
.timeline-bar { height: 6px; border-radius: 100px; background: var(--surface-2); overflow: hidden; }
.timeline-bar span { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--navy-600), var(--orange)); transition: width .8s var(--ease); }

/* ---------- 11. STEPS ---------------------------------------------------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--display); font-size: 2.9rem; font-weight: 800; line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px var(--line);
}
.step h4 { margin-bottom: 8px; margin-top: 18px; }
.step p { font-size: .93rem; color: var(--ink-2); }
.bg-dark .step::before { -webkit-text-stroke-color: rgba(255,255,255,.22); }
.bg-dark .step h4 { color: #fff; }

/* ---------- 12. FEATURE / ICON BLOCKS ------------------------------------ */
.feature { display: flex; gap: 16px; }
.feature-ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--orange-100); color: var(--orange-600);
}
.bg-dark .feature-ico { background: rgba(255,92,0,.18); color: #FF9A5C; }
.feature h4 { margin-bottom: 6px; }
.feature p { font-size: .92rem; color: var(--ink-2); }

/* ---------- 13. ACCORDION ------------------------------------------------ */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 4px; text-align: left;
  font-size: 1.02rem; font-weight: 600; color: var(--ink);
  transition: color .18s;
}
.acc-btn:hover { color: var(--navy-700); }
.acc-ico { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.acc-btn[aria-expanded="true"] .acc-ico { transform: rotate(45deg); background: var(--orange); color: #fff; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-btn[aria-expanded="true"] + .acc-panel { grid-template-rows: 1fr; }
.acc-panel p { padding: 0 4px 22px; color: var(--ink-2); font-size: .95rem; max-width: 74ch; }

/* ---------- 14. FORMS ---------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .85rem; font-weight: 650; color: var(--ink); }
.field .hint { font-size: .78rem; color: var(--muted); }
.req { color: var(--orange); }

.input, .select, .textarea {
  width: 100%;
  padding: 12px 15px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-size: .95rem;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.input::placeholder, .textarea::placeholder { color: #A6B3C7; }
.input:hover, .select:hover, .textarea:hover { border-color: #C8D4E5; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(0,59,133,.11);
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7C99' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--red); box-shadow: 0 0 0 4px rgba(196,43,43,.09); }
.err-msg { font-size: .79rem; color: var(--red); font-weight: 550; display: none; }
.field.invalid .err-msg { display: block; }

/* search bar (lookup pages) */
.lookup {
  display: flex; gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}
.lookup .input { border: 0; box-shadow: none !important; padding-left: 16px; font-size: 1rem; }
.lookup .input:focus { border: 0; }
.lookup .btn { flex-shrink: 0; }
@media (max-width: 560px) {
  .lookup { flex-direction: column; border-radius: var(--r-lg); }
  .lookup .btn { width: 100%; }
}

/* radio / checkbox cards */
.opt-grid { display: grid; gap: 10px; }
.opt {
  position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.opt:hover { border-color: #C8D4E5; background: var(--surface); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-mark {
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px;
  border: 2px solid #C2CEDF; border-radius: 50%;
  display: grid; place-items: center;
  transition: border-color .18s, background .18s;
}
.opt input[type="checkbox"] ~ .opt-mark { border-radius: 6px; }
.opt-mark::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .18s var(--ease); }
.opt input[type="checkbox"] ~ .opt-mark::after { border-radius: 2px; }
.opt:has(input:checked) { border-color: var(--navy-700); background: var(--navy-100); box-shadow: 0 0 0 3px rgba(0,59,133,.08); }
.opt:has(input:checked) .opt-mark { border-color: var(--navy-700); background: var(--navy-700); }
.opt:has(input:checked) .opt-mark::after { transform: scale(1); }
.opt-label { font-weight: 600; font-size: .94rem; }
.opt-desc { font-size: .82rem; color: var(--muted); margin-top: 2px; }

/* file drop */
.drop {
  border: 2px dashed #C8D4E5; border-radius: var(--r-lg);
  padding: 34px 20px; text-align: center;
  background: var(--surface);
  transition: border-color .2s, background .2s;
  cursor: pointer;
}
.drop:hover, .drop.over { border-color: var(--orange); background: var(--orange-100); }
.drop svg { margin-inline: auto; color: var(--muted); margin-bottom: 12px; }
.drop.over svg { color: var(--orange-600); }
.drop strong { display: block; font-size: .98rem; margin-bottom: 4px; }
.drop span { font-size: .84rem; color: var(--muted); }

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 14px; }
.thumb { position: relative; aspect-ratio: 3/4; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button {
  position: absolute; top: 5px; right: 5px;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(4,16,39,.78); color: #fff;
  display: grid; place-items: center;
  backdrop-filter: blur(4px);
}
.thumb button:hover { background: var(--red); }

/* stepper */
.stepper { display: flex; align-items: center; gap: 0; margin-bottom: 30px; }
.stepper-item { display: flex; align-items: center; gap: 10px; flex: 1; }
.stepper-item:last-child { flex: 0; }
.stepper-dot {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--muted);
  font-weight: 700; font-size: .85rem;
  border: 2px solid transparent;
  transition: all .25s var(--ease);
}
.stepper-label { font-size: .84rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.stepper-line { flex: 1; height: 2px; background: var(--line); margin: 0 12px; border-radius: 2px; }
.stepper-item.active .stepper-dot { background: var(--navy-700); color: #fff; }
.stepper-item.active .stepper-label { color: var(--ink); }
.stepper-item.done .stepper-dot { background: var(--green); color: #fff; }
.stepper-item.done .stepper-label { color: var(--ink-2); }
@media (max-width: 760px) { .stepper-label { display: none; } .stepper-line { margin: 0 6px; } }

/* ---------- 15. TABS ----------------------------------------------------- */
.tabs {
  display: flex; gap: 6px;
  padding: 5px;
  background: var(--surface-2);
  border-radius: 100px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 9px 18px;
  border-radius: 100px;
  font-size: .88rem; font-weight: 650;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background .2s, color .2s, box-shadow .2s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--navy-700); box-shadow: var(--shadow-sm); }

.tabs-line { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs-line::-webkit-scrollbar { display: none; }
.tab-line {
  position: relative; padding: 13px 18px;
  font-size: .93rem; font-weight: 600; color: var(--muted);
  white-space: nowrap; transition: color .2s;
}
.tab-line:hover { color: var(--ink); }
.tab-line[aria-selected="true"] { color: var(--navy-700); }
.tab-line[aria-selected="true"]::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px;
  height: 3px; border-radius: 3px 3px 0 0; background: var(--orange);
}

/* ---------- 16. TABLE ---------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; -webkit-overflow-scrolling: touch; }
.tbl { min-width: 720px; font-size: .92rem; }
.tbl thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--surface);
  padding: 13px 16px;
  text-align: left;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.tbl thead th.sortable { cursor: pointer; user-select: none; }
.tbl thead th.sortable:hover { color: var(--ink); }
.tbl thead th .sort-ico { display: inline-block; margin-left: 5px; opacity: .35; transition: opacity .2s, transform .2s; }
.tbl thead th[aria-sort] .sort-ico { opacity: 1; color: var(--orange); }
.tbl thead th[aria-sort="descending"] .sort-ico { transform: rotate(180deg); }
.tbl tbody td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: var(--surface); }
.tbl tbody tr.is-me { background: var(--orange-100); box-shadow: inset 3px 0 0 var(--orange); }
.tbl tbody tr.is-me:hover { background: #FFE4D2; }

.rank { font-family: var(--display); font-size: 1.25rem; font-weight: 800; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rank-medal { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .85rem; color: #fff; }
.rank-1 { background: linear-gradient(140deg,#F6C445,#D99A11); }
.rank-2 { background: linear-gradient(140deg,#CBD5E1,#94A3B8); }
.rank-3 { background: linear-gradient(140deg,#D8A177,#A9713F); }

.bib-no { font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: .04em; color: var(--navy-700); font-variant-numeric: tabular-nums; }

.progress { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.progress-bar { flex: 1; height: 7px; border-radius: 100px; background: var(--surface-2); overflow: hidden; }
.progress-bar span { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--navy-600), var(--orange)); transition: width .7s var(--ease); }
.progress-bar.full span { background: linear-gradient(90deg, #12A768, var(--green)); }
.progress-val { font-size: .8rem; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 42px; text-align: right; }

/* podium */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }
@media (max-width: 720px) { .podium { grid-template-columns: 1fr; } }
.podium-card { text-align: center; padding: 26px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.podium-card.p1 { background: linear-gradient(170deg, #FFF8E6, #fff); border-color: #F0DCA4; box-shadow: var(--shadow); transform: translateY(-10px); }
@media (max-width: 720px) { .podium-card.p1 { transform: none; order: -1; } }
.podium-badge { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; font-family: var(--display); font-size: 1.35rem; font-weight: 800; color: #fff; }
.podium-name { font-weight: 700; font-size: 1.04rem; margin-bottom: 3px; }
.podium-km { font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--navy-700); line-height: 1.05; margin-top: 10px; }
.podium-km span { font-size: .95rem; color: var(--muted); }

/* ---------- 17. RESULT CARDS (bib / cert / tracking) --------------------- */
/* race bib */
.bib {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.bib-top { padding: 16px 22px; background: var(--navy-700); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.bib-top .ev { font-family: var(--display); font-size: 1.15rem; font-weight: 700; letter-spacing: .03em; }
.bib-top .yr { font-size: .74rem; font-weight: 700; letter-spacing: .14em; opacity: .75; }
.bib-main { padding: 26px 22px; text-align: center; border-bottom: 2px dashed var(--line); }
.bib-num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(3.4rem, 11vw, 5.6rem); line-height: .9;
  letter-spacing: .02em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.bib-name { font-size: 1.06rem; font-weight: 700; margin-top: 12px; text-transform: uppercase; letter-spacing: .05em; }
.bib-dist { display: inline-block; margin-top: 12px; padding: 5px 16px; border-radius: 100px; background: var(--orange); color: #fff; font-weight: 700; font-size: .88rem; letter-spacing: .05em; }
.bib-foot { padding: 16px 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.bib-foot > div .k { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bib-foot > div .v { font-size: .92rem; font-weight: 600; margin-top: 3px; }
.bib-punch { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); }
.bib-punch.tl { top: 76px; left: 12px; } .bib-punch.tr { top: 76px; right: 12px; }

/* timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 12px; top: 10px; bottom: 10px; width: 2px; background: var(--line); border-radius: 2px; }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -28px; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--line);
  z-index: 1;
}
.tl-item.done::before { background: var(--green); border-color: var(--green); }
.tl-item.current::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 5px rgba(255,92,0,.18); }
.tl-item.done::after, .tl-item.current::after {
  content: ''; position: absolute; left: -22px; top: 19px; bottom: -5px; width: 2px; background: var(--green); z-index: 1;
}
.tl-item.current::after { display: none; }
.tl-item:last-child::after { display: none; }
.tl-title { font-weight: 650; font-size: .98rem; }
.tl-item:not(.done):not(.current) .tl-title { color: var(--muted); }
.tl-note { font-size: .86rem; color: var(--ink-2); margin-top: 3px; }
.tl-time { font-size: .76rem; color: var(--muted); font-weight: 600; margin-top: 5px; letter-spacing: .03em; }

/* copy field */
.copy-field {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 11px 11px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
}
.copy-field code { flex: 1; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .95rem; font-weight: 600; letter-spacing: .04em; overflow-x: auto; }

/* ---------- 18. STATES --------------------------------------------------- */
.state { text-align: center; padding: clamp(40px, 7vw, 72px) 20px; }
.state-ico { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--surface-2); color: var(--muted); }
.state h3 { margin-bottom: 8px; color: var(--ink); }
.state p { color: var(--muted); max-width: 46ch; margin-inline: auto; font-size: .95rem; }
.state-ico.ok { background: var(--green-bg); color: var(--green); }
.state-ico.err { background: var(--red-bg); color: var(--red); }

.note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--r);
  font-size: .88rem; line-height: 1.6;
}
.note svg { flex-shrink: 0; margin-top: 2px; }
/* icons injected into a wrapper span must not be squashed by the flex row */
.note > [data-ico] { flex-shrink: 0; display: flex; margin-top: 2px; }
.note-info  { background: var(--navy-100);  color: #1B4D8E; }
.note-warn  { background: var(--amber-bg);  color: #7A4E00; }
.note-ok    { background: var(--green-bg);  color: #0A6B44; }
.note-demo  { background: var(--orange-100); color: #9A3A00; }

/* skeleton */
.skel { background: linear-gradient(90deg, var(--surface-2) 25%, var(--line-2) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 6px; }
@keyframes shimmer { 0% { background-position: 200% 0 } 100% { background-position: -200% 0 } }

.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.spinner-dark { border-color: rgba(11,27,51,.2); border-top-color: var(--navy-700); }
@keyframes spin { to { transform: rotate(360deg) } }

/* toast */
.toast-host { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 100px;
  background: var(--navy-950); color: #fff;
  font-size: .9rem; font-weight: 550;
  box-shadow: var(--shadow-lg);
  animation: toast-in .3s var(--ease);
}
.toast.ok svg { color: #4ADE80; }
.toast.err { background: var(--red); }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) } }

/* ---------- 19. MODAL ---------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; }
.modal.open { display: block; }
.modal-bg { position: absolute; inset: 0; background: rgba(4,16,39,.62); backdrop-filter: blur(4px); animation: fade .25s; }
@keyframes fade { from { opacity: 0 } }
.modal-panel {
  position: absolute; inset: auto 0 0 0;
  max-height: 92vh; overflow-y: auto;
  background: #fff;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  animation: slide-up .34s var(--ease);
}
@media (min-width: 760px) {
  .modal-panel {
    inset: 50% auto auto 50%; transform: translate(-50%,-50%);
    width: min(880px, calc(100vw - 48px));
    border-radius: var(--r-xl);
    animation: pop .28s var(--ease);
  }
}
@keyframes slide-up { from { transform: translateY(100%) } }
@keyframes pop { from { opacity: 0; transform: translate(-50%,-46%) scale(.97) } }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.modal-close:hover { background: #fff; transform: rotate(90deg); }
.modal-close { transition: transform .25s var(--ease), background .2s; }
body.no-scroll { overflow: hidden; }

/* ---------- 20. FOOTER --------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding-top: clamp(48px, 6vw, 76px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: rgba(255,255,255,.45); }
.footer-about { font-size: .9rem; line-height: 1.7; margin-top: 16px; max-width: 34ch; }
.footer-h { font-family: var(--display); font-size: 1rem; font-weight: 700; color: #fff; letter-spacing: .06em; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: .9rem; transition: color .18s; }
.footer-links a:hover { color: var(--orange); }
.socials { display: flex; gap: 9px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
  transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--orange); transform: translateY(-2px); }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .82rem; color: rgba(255,255,255,.5);
}

/* ---------- 21. CTA BAND ------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 62px);
  background: linear-gradient(120deg, var(--navy-700), var(--navy-800) 60%, var(--navy-950));
  color: #fff;
  text-align: center;
}
.cta-band::before {
  content: ''; position: absolute; inset: -30%; z-index: -1;
  background: radial-gradient(520px 320px at 76% 10%, rgba(255,92,0,.42), transparent 62%);
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 52ch; margin-inline: auto; }
.cta-band .row { justify-content: center; margin-top: 28px; }

/* ---------- 22. UTIL ----------------------------------------------------- */
.hide { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 500;
  padding: 11px 20px; border-radius: var(--r-sm);
  background: var(--navy-700); color: #fff; font-weight: 600; font-size: .9rem;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* Elements are only hidden once JS has armed them, so the page still
   renders in full if JavaScript is blocked or fails to load. */
.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.armed { opacity: 0; transform: translateY(18px); }
.reveal.armed.in { opacity: 1; transform: none; }

@media print {
  .site-header, .site-footer, .nav-toggle, .btn, .no-print { display: none !important; }
  body { background: #fff; }
  .card, .bib { box-shadow: none; border: 1px solid #999; break-inside: avoid; }
}

/* ---------- 23. MOBILE NAV REGISTER BUTTON ------------------------------- */
.nav-register { display: none; }
@media (max-width: 1040px) {
  .site-header.nav-open .nav-register {
    display: block; margin-top: 12px; text-align: center;
    background: var(--orange) !important; color: #fff !important;
    font-weight: 700 !important; border-radius: 100px;
  }
  .site-header.nav-open .nav-register::after { display: none !important; }
}

/* ---------- 24. EVENT DETAIL (modal) ------------------------------------- */
.ed-hero { position: relative; }
.ed-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (max-width: 620px) { .ed-hero img { aspect-ratio: 4/3; } }
.ed-hero-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 44px 26px 22px;
  background: linear-gradient(to top, rgba(4,16,39,.94), rgba(4,16,39,.55) 55%, transparent);
  color: #fff;
}
.ed-hero-cap h2 { color: #fff; margin-bottom: 4px; }
.ed-hero-cap p { color: rgba(255,255,255,.82); font-size: .95rem; font-weight: 550; }
.ed-body { padding: clamp(20px, 3.4vw, 32px); }
.ed-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 26px; }
@media (max-width: 620px) { .ed-facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .ed-facts { grid-template-columns: 1fr; } }
.ed-facts > div { background: #fff; padding: 15px 17px; }
.ed-facts .k { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ed-facts .v { font-size: .95rem; font-weight: 650; margin-top: 4px; }
.ed-body h4 { margin: 26px 0 12px; }
.ed-body p + p { margin-top: 12px; }
.ed-body > p { color: var(--ink-2); font-size: .96rem; }

.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.pkg {
  position: relative; padding: 20px; border: 1.5px solid var(--line);
  border-radius: var(--r); background: #fff; display: flex; flex-direction: column; gap: 10px;
}
.pkg.popular { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,92,0,.1); }
.pkg-tag {
  position: absolute; top: -10px; left: 16px;
  padding: 3px 11px; border-radius: 100px; background: var(--orange); color: #fff;
  font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.pkg-name { font-weight: 700; font-size: .98rem; }
.pkg-price { font-family: var(--display); font-size: 2rem; font-weight: 800; line-height: 1; color: var(--navy-700); }
.pkg ul { list-style: none; padding: 0; display: grid; gap: 7px; margin-top: 2px; }
.pkg li { display: flex; gap: 8px; align-items: flex-start; font-size: .86rem; color: var(--ink-2); }
.pkg li svg { flex-shrink: 0; margin-top: 3px; color: var(--green); }

/* ---------- 25. FILTER BAR ----------------------------------------------- */
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.search-mini { position: relative; min-width: 240px; flex: 1; max-width: 340px; }
.search-mini .input { padding-left: 42px; }
.search-mini svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

/* ---------- 26. CERTIFICATE PREVIEW -------------------------------------- */
.cert-stage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 30px); }
.cert-stage canvas { width: 100%; height: auto; border-radius: var(--r-sm); box-shadow: var(--shadow); background: #fff; display: block; }

/* ---------- 27. SUMMARY ROWS --------------------------------------------- */
.sum-row { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: .92rem; }
.sum-row:last-child { border-bottom: 0; }
.sum-row .k { color: var(--muted); font-weight: 550; flex-shrink: 0; }
.sum-row .v { font-weight: 650; text-align: right; word-break: break-word; }

/* ---------- 28. SIDEBAR LAYOUT ------------------------------------------- */
.with-aside { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,.9fr); gap: clamp(24px, 3.5vw, 44px); align-items: start; }
@media (max-width: 940px) { .with-aside { grid-template-columns: 1fr; } }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 22px); }
@media (max-width: 940px) { .aside-sticky { position: static; } }

/* ---------- 29. BETWEEN EVENTS ------------------------------------------- */
.interlude {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: center;
  padding: clamp(34px, 6vw, 62px) clamp(20px, 4vw, 48px);
  border: 1.5px dashed #C9D6E8;
  border-radius: var(--r-xl);
  background:
    radial-gradient(520px 260px at 50% -10%, rgba(255,92,0,.07), transparent 70%),
    var(--surface);
}
.interlude-ico {
  width: 58px; height: 58px; margin: 0 auto 18px;
  border-radius: 17px; display: grid; place-items: center;
  background: var(--orange-100); color: var(--orange-600);
}
.interlude-ico svg { width: 26px; height: 26px; }
.interlude h3 { margin-bottom: 10px; }
.interlude p { color: var(--ink-2); max-width: 52ch; margin-inline: auto; font-size: .98rem; }

.interlude-tease {
  display: inline-flex; flex-direction: column; gap: 3px;
  margin-top: 24px; padding: 14px 28px;
  border-radius: var(--r);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.interlude-tease .n {
  font-family: var(--display); font-size: 1.5rem; font-weight: 800;
  text-transform: uppercase; color: var(--navy-700); line-height: 1;
}
.interlude-tease .d {
  font-size: .76rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}

/* Archived events read as a record, not an offer */
.event-card.is-past .event-media img { filter: saturate(.72); }
.event-card.is-past:hover .event-media img { filter: saturate(1); }
.event-card.is-past .price-val { color: var(--muted); }
