/* =========================================================
   GlobalFutureNetwork
   Colours: WLPI brand palette
   Type: General Sans (headings), Switzer (body)
   ========================================================= */
:root {
  /* WLPI palette */
  --night: #080A12;
  --dark: #0C0E15;
  --dark-card: #151925;
  --maroon: #D62B2B;      /* brand red (buttons, bands) */
  --maroon-2: #C8232A;    /* red for text and accents on light */
  --gold: #C9A84C;
  --gold-light: #F4D47A;
  --cream: #F8F5F0;
  --cream-text: #F0EDE8;
  --btn-text: #FFFFFF;
  --ink: #1A1208;
  --text: #231F20;

  --muted: #6E6862;
  --muted-dark: rgba(240, 237, 232, .62);
  --line: #E4DED5;
  --line-dark: rgba(255, 255, 255, .1);
  --white: #FFFFFF;

  --f-head: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Switzer", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
html.motion-init .hero h1, html.motion-init .hero-side, html.motion-init .hero-facts, html.motion-init .hero-bg { opacity: 0; }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -.03em; line-height: 1.04; }
h1 em, h2 em { font-style: normal; color: var(--maroon-2); }
.hero h1 em { color: var(--gold-light); }
p { margin: 0 0 1em; }
figure, dl, dd { margin: 0; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- Buttons & links ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; padding: 15px 28px; border-radius: var(--r); font-family: var(--f-head); font-weight: 600; font-size: 15px; letter-spacing: -.005em; line-height: 1.2; border: 0; cursor: pointer; transition: color .45s cubic-bezier(.7,0,.2,1); white-space: nowrap; will-change: transform; }
.btn-sm { padding: 11px 19px; font-size: 14px; }
.btn-fill { position: absolute; z-index: -1; left: var(--fx, 50%); top: var(--fy, 50%); width: 260%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) scale(0); transition: transform .6s cubic-bezier(.7,0,.2,1); pointer-events: none; }
.btn:hover .btn-fill { transform: translate(-50%, -50%) scale(1); }
.btn-label { position: relative; display: inline-flex; overflow: hidden; pointer-events: none; }
.btn-label > span { display: block; transition: transform .55s cubic-bezier(.7,0,.2,1); }
.btn-label > span + span { position: absolute; inset: 0; transform: translateY(105%); }
.btn:hover .btn-label > span:first-child { transform: translateY(-105%); }
.btn:hover .btn-label > span + span { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--maroon); color: var(--btn-text); }
.btn-primary .btn-fill { background: var(--night); }
.btn-primary:hover { color: var(--white); }
.btn-light { background: var(--white); color: var(--maroon-2); }
.btn-light .btn-fill { background: var(--night); }
.btn-light:hover { color: var(--white); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold .btn-fill { background: var(--maroon); }
.btn-gold:hover { color: var(--btn-text); }

.text-link { font-family: var(--f-head); font-weight: 600; color: var(--maroon); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size .25s; }
.text-link:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.band-dark .text-link, .hero .text-link { color: var(--gold-light); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-white { background: var(--white); }
.section h2 { font-size: clamp(34px, 4.6vw, 56px); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 48px; }
.head-row h2 { flex: 1 1 420px; }
.head-row > p { flex: 0 1 400px; margin: 0; color: var(--muted); font-size: 17px; }
.band-dark { background: var(--dark); color: var(--muted-dark); }
.band-dark h2, .band-dark h3 { color: var(--cream-text); }
.band-dark .head-row > p { color: var(--muted-dark); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: transform .55s cubic-bezier(.7,0,.2,1); }
.site-header.is-hidden { transform: translateY(-100%); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--maroon-2); transform: scaleX(0); transform-origin: left; }
.main-nav > a { position: relative; }
.main-nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--maroon-2); transform: scaleX(0); transition: transform .45s cubic-bezier(.7,0,.2,1); }
.main-nav > a:hover::after, .main-nav > a.active::after { transform: scaleX(1); }

/* Split headline words */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.swi { display: inline-block; will-change: transform; }
.header-inner { display: flex; align-items: center; gap: 28px; height: 96px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-img { display: block; height: 74px; width: auto; }
.logo-footer .logo-img { height: 84px; }
.lp-logo { display: block; height: 26px; width: auto; }
.logo-mark { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--gold); }
.logo-mark::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--maroon-2); }
.logo-text { font-family: var(--f-head); font-weight: 500; font-size: 18px; letter-spacing: -.03em; color: var(--ink); }
.logo-text b { font-weight: 700; color: var(--maroon-2); }
.logo-light .logo-text { color: var(--cream-text); }
.logo-light .logo-text b { color: var(--gold-light); }

.main-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.main-nav > a, .nav-drop-btn { font-family: var(--f-head); font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s; }
.main-nav > a:hover, .main-nav > a.active, .nav-drop-btn:hover { color: var(--maroon-2); }
.nav-drop { position: relative; }
.nav-drop-btn { background: none; border: 0; cursor: pointer; padding: 0; }
.nav-drop-btn::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; }
.nav-drop-menu { position: absolute; top: calc(100% + 24px); left: -16px; width: 300px; background: var(--dark-card); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 6px; opacity: 0; visibility: hidden; transition: opacity .15s; }
.nav-drop:hover .nav-drop-menu, .nav-drop.open .nav-drop-menu { opacity: 1; visibility: visible; }
.nav-drop-menu a { display: block; padding: 12px 14px; border-radius: 4px; }
.nav-drop-menu a:hover { background: rgba(255,255,255,.05); }
.nav-drop-menu b { display: block; font-family: var(--f-head); color: var(--cream-text); font-weight: 600; }
.nav-drop-menu small { color: var(--muted-dark); font-size: 13px; }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); transition: .25s; }
.nav-toggle span:first-child { top: 15px; } .nav-toggle span:last-child { top: 23px; }
.nav-open .nav-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: rgba(240,237,232,.8); padding: 120px 0 0; background: var(--night); }
.hero-bg { position: absolute; inset: -14% 0 -14% 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,10,18,.55) 0%, rgba(8,10,18,.72) 55%, rgba(8,10,18,.92) 100%); }
.hero-content { position: relative; z-index: 2; }
.hero-side p { color: rgba(240,237,232,.85); }
.hero-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: 56px; }
.hero h1 { color: var(--cream-text); font-size: clamp(44px, 7.2vw, 100px); line-height: .96; letter-spacing: -.045em; font-weight: 600; }
.hero-side p { font-size: 18px; line-height: 1.55; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero-strip { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 12px; height: 420px; }
.hs { overflow: hidden; border-radius: var(--r); background: var(--dark-card); }
.hs img { width: 100%; height: 100%; object-fit: cover; }
.hs-2 { margin-top: 48px; }

.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.2); margin-top: 96px; }
.hero-facts > div { padding: 24px 24px 32px 0; }
.hero-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-facts > div > span { display: block; font-size: 13px; color: var(--muted-dark); margin-bottom: 4px; }
.hero-facts b { font-family: var(--f-head); font-weight: 500; font-size: 18px; color: var(--cream-text); letter-spacing: -.01em; }

/* ---------- Countdown ---------- */

/* ---------- Countdown card (red) ---------- */
.hero { padding-bottom: 150px; }
.countdown { position: relative; z-index: 3; margin-top: -110px; }
.cd-card { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px 56px; padding: 40px 48px; border-radius: 16px; color: var(--white); overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255,255,255,.16), transparent 45%), linear-gradient(135deg, #E03636 0%, #D62B2B 45%, #B91E24 100%);
  box-shadow: 0 40px 70px -34px rgba(185, 30, 36, .65); }
.cd-card::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); pointer-events: none; }
.cd-info { position: relative; z-index: 1; }
.cd-kicker { margin: 0 0 6px; font-size: 15px; color: rgba(255,255,255,.8); }
.cd-date { margin: 0 0 22px; font-family: var(--f-head); font-size: 17px; color: rgba(255,255,255,.85); }
.cd-date b { display: block; font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--white); margin-bottom: 2px; }
.cd-units { position: relative; z-index: 1; display: flex; gap: 22px; }
.cd-unit { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cd-unit + .cd-unit { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.22); }
.cd-tiles { display: flex; gap: 6px; }
.cd-label { font-family: var(--f-head); font-weight: 500; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.82); }

/* Split-flap tile, white face with red digits */
.ft { --th: 80px; position: relative; display: block; width: calc(var(--th) * .74); height: var(--th); border-radius: 8px; perspective: 340px; box-shadow: 0 12px 20px -12px rgba(70, 0, 5, .6); }
.ft-half { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: #FFFFFF; backface-visibility: hidden; }
.ft-top { top: 0; border-radius: 8px 8px 0 0; transform-origin: 50% 100%; }
.ft-bottom { bottom: 0; border-radius: 0 0 8px 8px; transform-origin: 50% 0; background: #F4F1EE; }
.ft-half b { display: block; height: var(--th); line-height: var(--th); text-align: center; font-family: var(--f-head); font-weight: 600; font-size: calc(var(--th) * .6); letter-spacing: -.03em; color: #C8232A; font-variant-numeric: tabular-nums; }
.ft-bottom b { transform: translateY(-50%); }
.ft::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(120, 20, 25, .18); z-index: 4; }
.ft-fold-top { z-index: 3; animation: ftFoldTop .26s cubic-bezier(.55,0,.9,.45) forwards; }
.ft-fold-bottom { z-index: 3; transform: rotateX(90deg); animation: ftFoldBottom .3s .26s cubic-bezier(.15,.6,.35,1) forwards; }
@keyframes ftFoldTop { to { transform: rotateX(-90deg); } }
@keyframes ftFoldBottom { to { transform: rotateX(0deg); } }
/* ---------- Ticker ---------- */
.ticker { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-group { display: flex; align-items: center; flex: none; }
.ticker-group span { font-family: var(--f-head); font-weight: 500; font-size: 21px; letter-spacing: -.015em; line-height: 1.2; color: var(--ink); white-space: nowrap; padding: 0 26px; }
.ticker-group span:nth-child(4n+3) { color: var(--maroon-2); }
.ticker-group span b { font-weight: 600; }
.ticker-group i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--maroon-2); }


/* ---------- Overview ---------- */
.overview { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: stretch; }
#summit.section { padding-top: 72px; }
.overview-img { height: 100%; min-height: 420px; overflow: hidden; border-radius: var(--r); }
.overview-img img { width: 100%; height: 100%; object-fit: cover; }
.overview-info { padding: 4px 0; }
.overview-info h2 { margin: 8px 0 20px; }
.overview-info > p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.overview-info dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; border-top: 1px solid var(--line); margin-bottom: 32px; }
.overview-info dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.overview-info dt { font-size: 13px; color: var(--muted); }
.overview-info dd { font-family: var(--f-head); font-weight: 500; font-size: 18px; letter-spacing: -.01em; color: var(--ink); }
.overview-info .dl-wide { grid-column: 1 / -1; }
.overview-info dd small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 14px; letter-spacing: 0; color: var(--muted); margin-top: 2px; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--line); }
.timeline li { position: relative; padding: 28px 24px 0 0; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--cream); border: 2px solid var(--maroon-2); }
.timeline li.is-now::before { background: var(--maroon-2); }
.timeline { position: relative; }
.timeline span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.timeline li.is-now span { color: var(--maroon-2); font-weight: 600; }
.timeline b { font-family: var(--f-head); font-weight: 600; font-size: 22px; letter-spacing: -.02em; color: var(--ink); }

/* ---------- Summits ---------- */
.summit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.summit-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s; }
.summit-card:hover { border-color: var(--maroon-2); }
.summit-card figure { aspect-ratio: 16 / 9; overflow: hidden; }
.summit-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.summit-card:hover img { transform: scale(1.03); }
.summit-info { padding: 28px 28px 30px; }
.summit-city { font-size: 14px; color: var(--maroon-2); font-weight: 500; }
.summit-info h3 { font-size: 28px; margin: 6px 0 22px; }
.summit-info dl { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-bottom: 24px; }
.summit-info dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.summit-info dt { font-size: 13px; color: var(--muted); }
.summit-info dd { font-family: var(--f-head); font-weight: 500; font-size: 17px; color: var(--ink); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-text h2 { margin-bottom: 28px; }
.split-text > p { color: var(--muted); font-size: 17px; }
.band-dark .split-text > p { color: var(--muted-dark); }
.split-text .btn, .split-text .text-link { margin-top: 12px; display: inline-block; }
.split-text .btn { display: inline-flex; }
.split-img { aspect-ratio: 4 / 3.4; overflow: hidden; border-radius: var(--r); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Programme ---------- */
.programme { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; border-top: 1px solid var(--line); }
.programme li { position: relative; display: flex; align-items: baseline; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); cursor: default; transition: color .4s, padding .5s cubic-bezier(.7,0,.2,1); }
.programme li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--maroon-2); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.7,0,.2,1); }
.programme li:hover { color: var(--maroon-2); padding-left: 12px; }
.programme li:hover::after { transform: scaleX(1); }
.programme span { font-size: 14px; font-weight: 600; color: var(--maroon-2); width: 22px; flex: none; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cat-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 36px; display: flex; flex-direction: column; transition: border-color .3s, box-shadow .4s; }
.cat-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(214, 43, 43, .08), transparent 60%); opacity: 0; transition: opacity .4s; }
.cat-card:hover { border-color: var(--maroon-2); box-shadow: 0 24px 50px -30px rgba(214, 43, 43, .35); }
.cat-card:hover::before { opacity: 1; }
.cat-card > * { position: relative; }
.cat-card.wide { grid-column: 1 / -1; }
.cat-card.featured { border: 2px solid var(--maroon-2); }
.cat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.cat-card h3 { font-size: 26px; }
.cat-badge { font-size: 13px; font-weight: 600; color: var(--maroon-2); background: #FDECEC; padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.cat-sub { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.cat-price { display: flex; align-items: baseline; gap: 10px; }
.cat-price b { font-family: var(--f-head); font-size: 52px; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.cat-price s { font-size: 18px; color: #A9A29A; }
.cat-fee { font-size: 13px; color: var(--muted); margin: 8px 0 28px; }
.cat-list { list-style: none; padding: 26px 0 0; margin: 0 0 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.cat-card.wide .cat-list { grid-template-columns: repeat(3, 1fr); }
.cat-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.35; color: var(--text); }
.cat-list li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #FDECEC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='%23C8232A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.cat-list li.is-out { color: #A39C95; }
.cat-list li.is-out::before { background: #F1EEEA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='%23A39C95' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.cat-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Invitation letter card ---------- */
.cat-letter { display: grid; grid-template-columns: 1.15fr 1fr; padding: 0; overflow: hidden; }
.letter-body { padding: 44px 48px; display: flex; flex-direction: column; }
.letter-body h3 { font-size: 30px; margin-bottom: 12px; }
.letter-desc { color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 46ch; margin-bottom: 26px; }
.cat-card.cat-letter .cat-list { grid-template-columns: 1fr 1fr; }
.letter-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: auto; }
.letter-eta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.letter-eta svg { width: 18px; height: 18px; fill: none; stroke: var(--maroon-2); stroke-width: 1.8; stroke-linecap: round; }

.letter-visual { position: relative; display: grid; place-items: center; padding: 48px 40px; overflow: hidden;
  background: radial-gradient(80% 70% at 70% 30%, rgba(214, 43, 43, .16), transparent 70%), linear-gradient(160deg, #FCEDEA 0%, #F7E1DC 100%); }
.letter-visual::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(200,35,42,.05) 0 1px, transparent 1px 14px); }
.letter-paper { position: relative; width: min(100%, 360px); aspect-ratio: 1 / 1.22; background: #FFFFFF; border-radius: 6px; padding: 26px 26px 22px; display: flex; flex-direction: column;
  box-shadow: 0 30px 50px -24px rgba(120, 20, 25, .45), 0 2px 6px rgba(0,0,0,.05); transform: rotate(-4deg) translateY(4px); transition: transform .8s cubic-bezier(.2,.8,.2,1), box-shadow .8s; }
.letter-snap { padding: 0; overflow: hidden; aspect-ratio: 1 / 1.414; width: min(100%, 380px); }
.letter-snap-img { width: 100%; height: 100%; background-size: cover; background-position: top center; background-repeat: no-repeat; }
.letter-visual { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.letter-watermark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-30deg); font-family: var(--f-head); font-weight: 700; font-size: clamp(54px, 6vw, 84px); letter-spacing: .12em; text-transform: uppercase; color: rgba(200, 35, 42, .16); border: 4px solid rgba(200, 35, 42, .16); border-radius: 10px; padding: 2px 22px; white-space: nowrap; pointer-events: none; }
.letter-back { position: absolute; aspect-ratio: 1 / 1.414; width: min(100%, 380px); transform: rotate(5deg) translate(18px, 10px); background: #FBF8F5; box-shadow: 0 20px 40px -24px rgba(120, 20, 25, .35); }
.cat-letter:hover .letter-paper:not(.letter-back) { transform: rotate(0) translateY(-8px); box-shadow: 0 44px 70px -28px rgba(120, 20, 25, .5), 0 2px 6px rgba(0,0,0,.05); }
.cat-letter:hover .letter-back { transform: rotate(8deg) translate(30px, 16px); }
.lp-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 2px solid var(--maroon-2); margin-bottom: 18px; }
.lp-brand { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-size: 12px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.lp-brand b { color: var(--maroon-2); }
.lp-brand .logo-mark { width: 14px; height: 14px; border-width: 1.5px; }
.lp-brand .logo-mark::after { inset: 2.5px; }
.lp-head small { font-size: 9px; letter-spacing: .08em; color: var(--muted); }
.lp-title { margin: 0 0 4px; font-family: var(--f-head); font-weight: 600; font-size: 19px; letter-spacing: -.02em; color: var(--ink); }
.lp-meta { margin: 0 0 18px; font-size: 10px; line-height: 1.4; color: var(--muted); }
.lp-lines { display: grid; gap: 9px; }
.lp-line { display: block; height: 5px; border-radius: 3px; background: #ECE7E1; }
.lp-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; }
.lp-sign { width: 110px; height: 36px; fill: none; stroke: #1F2A55; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 0; }
.cat-letter:hover .lp-sign { animation: sign 1.4s cubic-bezier(.6,0,.3,1); }
@keyframes sign { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
.lp-seal { position: relative; display: grid; place-items: center; align-content: center; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--maroon-2); color: var(--maroon-2); transform: rotate(-14deg); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(200,35,42,.5); }
.lp-seal b { font-family: var(--f-head); font-size: 15px; font-weight: 700; line-height: 1; }
.lp-seal small { font-size: 7px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-top: 2px; }

/* ---------- Criteria ---------- */
.criteria { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.criteria-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.criteria-tabs button { position: relative; display: grid; grid-template-columns: 34px 1fr 14px; align-items: center; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 18px 0; font: 500 18px var(--f-head); letter-spacing: -.015em; color: var(--muted); cursor: pointer; transition: color .25s; }
.criteria-tabs .ct-num { font-size: 13px; font-weight: 600; letter-spacing: 0; color: #B9B1A8; transition: color .25s; }
.criteria-tabs .ct-label { display: inline-block; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.criteria-tabs .ct-arrow { width: 8px; height: 8px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: translateX(-8px) rotate(45deg); opacity: 0; transition: opacity .3s, transform .45s cubic-bezier(.2,.7,.2,1); }
.criteria-tabs .ct-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--maroon-2); transform: scaleX(0); transform-origin: left; }
.criteria-tabs button:hover { color: var(--ink); }
.criteria-tabs button:hover .ct-label { transform: translateX(6px); }
.criteria-tabs button:hover .ct-num { color: var(--maroon-2); }
.criteria-tabs button:hover .ct-arrow { opacity: .5; transform: translateX(0) rotate(45deg); }
.criteria-tabs button.is-active { color: var(--maroon); }
.criteria-tabs button.is-active .ct-num { color: var(--maroon-2); }
.criteria-tabs button.is-active .ct-label { transform: translateX(6px); }
.criteria-tabs button.is-active .ct-arrow { opacity: 1; transform: translateX(0) rotate(45deg); }
.criteria-tabs button.is-active .ct-bar { animation: ctFill var(--ct-time, 6s) linear forwards; }
.criteria-tabs.is-paused button.is-active .ct-bar { animation-play-state: paused; }
.criteria-tabs.is-manual button.is-active .ct-bar { animation: none; transform: scaleX(1); }
.criteria-tabs button:focus-visible { outline: 0; box-shadow: inset 3px 0 0 var(--maroon-2); }
@keyframes ctFill { to { transform: scaleX(1); } }
.criteria-panel { display: grid; grid-template-columns: 1.1fr 1fr; height: 460px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.criteria-panel figure { position: relative; overflow: hidden; height: 100%; }
.criteria-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.criteria-body { padding: 44px 40px; display: flex; flex-direction: column; justify-content: flex-end; }
.criteria-body > span { font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--maroon-2); margin-bottom: auto; }
.criteria-body h3 { font-size: 32px; margin-bottom: 14px; }
.criteria-body p { color: var(--muted); margin: 0; font-size: 17px; }

/* ---------- Tags ---------- */
.tag-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: var(--r); padding: 8px 14px; font-size: 14.5px; cursor: default; transition: background .3s, color .3s, border-color .3s; }
.tag-list li:hover { background: var(--maroon); border-color: var(--maroon); color: var(--btn-text); }

/* ---------- Dates ---------- */
.dates-table { border-top: 2px solid var(--ink); }
.dates-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.dates-row > * { padding: 24px 20px 24px 0; }
.dates-head span { font-size: 13px; color: var(--muted); padding-top: 14px; padding-bottom: 14px; }
.dates-row b { font-family: var(--f-head); font-weight: 600; font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.dates-row > span:not(:empty) { font-family: var(--f-head); font-weight: 500; font-size: 20px; letter-spacing: -.015em; color: var(--ink); }
.dates-head > span { font-family: var(--f-body) !important; font-size: 13px !important; color: var(--muted) !important; font-weight: 400 !important; }
.dates-row .hl { color: var(--maroon-2); }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.why-img { position: sticky; top: 120px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.why-img img { width: 100%; height: 100%; object-fit: cover; }
.why h2 { margin-bottom: 36px; }
.why-list { border-top: 1px solid var(--line); }
.why-list div { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; transition: padding .5s cubic-bezier(.7,0,.2,1); }
.why-list div:hover { padding-left: 12px; }
.why-list dt { font-family: var(--f-head); font-weight: 600; font-size: 19px; letter-spacing: -.02em; color: var(--ink); transition: color .3s; }
.why-list div:hover dt { color: var(--maroon-2); }
.why-list dd { color: var(--muted); font-size: 15.5px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps li { padding: 28px 28px 36px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.steps li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.steps > li > span:first-child { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--maroon); font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--btn-text); margin-bottom: 24px; transition: transform .5s cubic-bezier(.7,0,.2,1), background .3s, color .3s; }
.steps > li:hover > span:first-child { transform: scale(1.18) rotate(-8deg); background: var(--gold-light); color: var(--night); }
.steps time { color: var(--ink); font-weight: 500; }
.steps b { display: block; font-family: var(--f-head); font-weight: 600; font-size: 21px; letter-spacing: -.02em; color: var(--ink); margin-bottom: 6px; }
.apply-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding: 24px 28px; background: var(--cream); border-radius: var(--r); }
.apply-bar p { margin: 0; color: var(--text); }

/* ---------- Speakers ---------- */
.speaker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.speaker-card b { display: block; font-family: var(--f-head); font-weight: 600; font-size: 18px; color: var(--ink); margin-top: 14px; }
.speaker-card span { font-size: 14px; color: var(--muted); }
.speaker-ph { aspect-ratio: 4 / 5; border-radius: var(--r); background: #EAE4DB; position: relative; overflow: hidden; }
.speaker-ph::before { content: ""; position: absolute; left: 50%; top: 26%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: #DCD4C8; transform: translateX(-50%); }
.speaker-ph::after { content: ""; position: absolute; left: 50%; bottom: -12%; width: 64%; aspect-ratio: 1; border-radius: 50%; background: #DCD4C8; transform: translateX(-50%); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); transition: filter .5s, border-radius .5s; }
.gallery:hover img { filter: grayscale(.7) brightness(.85); }
.gallery img:hover { filter: none; border-radius: 18px; }
.gallery img:first-child { grid-row: span 2; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.55fr; gap: 72px; align-items: start; }
.faq-aside { position: sticky; top: 130px; }
.faq-aside h2 { margin-bottom: 18px; }
.faq-aside .muted { font-size: 17px; max-width: 34ch; }
.faq-help { position: relative; margin-top: 32px; min-height: 320px; border-radius: 12px; overflow: hidden; display: flex; align-items: flex-end; }
.faq-help img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.faq-help:hover img { transform: scale(1.05); }
.faq-help::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,18,.05) 20%, rgba(8,10,18,.88) 100%); }
.faq-help-body { position: relative; z-index: 1; padding: 28px; color: var(--white); }
.faq-help-kicker { margin: 0 0 4px; font-size: 14px; color: rgba(255,255,255,.75); }
.faq-help h3 { color: var(--white); font-size: 26px; margin-bottom: 18px; }
.faq-help-mail { display: block; margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.8); }
.faq-help-mail:hover { color: var(--white); }

.faq-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.faq-filter button { border: 1px solid var(--line); background: var(--white); color: var(--text); border-radius: var(--r); padding: 9px 16px; font: 500 14px var(--f-head); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.faq-filter button:hover { border-color: var(--maroon-2); color: var(--maroon-2); }
.faq-filter button.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--cream); border: 1px solid transparent; border-radius: 10px; transition: background .3s, border-color .3s, box-shadow .4s; }
.faq-list details:hover { border-color: var(--line); }
.faq-list details.is-open, html:not(.lenis) .faq-list details[open] { background: var(--white); border-color: var(--line); box-shadow: inset 3px 0 0 var(--maroon-2), 0 18px 40px -28px rgba(26,18,8,.28); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 20px 22px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-n { flex: none; width: 24px; font-family: var(--f-head); font-weight: 600; font-size: 13px; color: var(--maroon-2); }
.faq-q { flex: 1; font-family: var(--f-head); font-weight: 500; font-size: 18px; letter-spacing: -.015em; line-height: 1.3; color: var(--ink); transition: color .25s; }
.faq-list summary:hover .faq-q { color: var(--maroon-2); }
.faq-icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .4s cubic-bezier(.7,0,.2,1); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--maroon-2); transition: transform .4s cubic-bezier(.7,0,.2,1), background .3s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-list details.is-open .faq-icon, html:not(.lenis) .faq-list details[open] .faq-icon { background: var(--maroon); border-color: var(--maroon); transform: rotate(180deg); }
.faq-list details.is-open .faq-icon::before, .faq-list details.is-open .faq-icon::after, html:not(.lenis) .faq-list details[open] .faq-icon::before, html:not(.lenis) .faq-list details[open] .faq-icon::after { background: var(--white); }
.faq-list details.is-open .faq-icon::after, html:not(.lenis) .faq-list details[open] .faq-icon::after { transform: rotate(0deg); }
.faq-list details p { color: var(--muted); padding: 0 70px 22px 64px; margin: 0; overflow: hidden; font-size: 15.5px; }
/* ---------- CTA ---------- */
.cta { background: var(--maroon); padding: 88px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: var(--btn-text); font-size: clamp(36px, 5vw, 64px); max-width: 640px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-note { margin: 0; font-size: 15px; color: rgba(255,255,255,.82); }
.cta-note b { font-weight: 600; color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--muted-dark); padding: 72px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin-top: 16px; }
.site-footer h4 { font-size: 14px; font-weight: 600; color: var(--cream-text); letter-spacing: -.01em; margin-bottom: 16px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 8px; }
.site-footer a:hover { color: var(--cream-text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); padding-top: 22px; padding-bottom: 26px; font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-open .main-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0; position: absolute; top: 96px; left: 0; right: 0; background: var(--white); padding: 8px 16px 24px; border-bottom: 1px solid var(--line); }
  .nav-open .main-nav > a, .nav-open .nav-drop-btn { padding: 12px 0; font-size: 18px; }
  .nav-open .nav-drop-menu { position: static; opacity: 1; visibility: visible; width: auto; background: none; border: 0; padding: 0 0 0 4px; }
  .hero-top { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .overview { grid-template-columns: 1fr; gap: 40px; }
  .overview-img { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .cat-letter { grid-template-columns: 1fr; }
  .letter-visual { order: -1; padding: 40px 24px; }
  .letter-paper { width: min(100%, 300px); }
  .cd-card { grid-template-columns: 1fr; padding: 36px 32px; }
  .ft { --th: 72px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .programme { grid-template-columns: 1fr 1fr; }
  .criteria { grid-template-columns: 1fr; }
  .criteria-tabs { flex-direction: row; overflow-x: auto; border-top: 0; gap: 24px; border-bottom: 1px solid var(--line); }
  .criteria-tabs button { display: flex; gap: 8px; border-bottom: 0; white-space: nowrap; padding: 14px 0; }
  .criteria-tabs .ct-arrow { display: none; }
  .criteria-tabs button:hover .ct-label, .criteria-tabs button.is-active .ct-label { transform: none; }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .why-img { position: static; aspect-ratio: 16 / 9; }
  .speaker-grid { grid-template-columns: 1fr 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .faq-aside { position: static; }
  .faq-help { min-height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 44px; }
  .hero-top { margin-bottom: 36px; }
  .hero-strip { grid-template-columns: 1fr 1fr; height: auto; }
  .hs { aspect-ratio: 4 / 5; }
  .hs-1 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .hs-2 { margin-top: 0; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 32px; }
  .hero-facts > div, .hero-facts > div + div { padding: 16px 0; border-left: 0; }
  .hero-facts > div + div { border-top: 1px solid var(--line-dark); }
  .overview-info dl { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--line); row-gap: 28px; }
  .timeline li { padding: 0 0 0 24px; }
  .hero { padding-bottom: 120px; }
  .header-inner { height: 76px; }
  .logo-img { height: 56px; }
  .nav-open .main-nav { top: 76px; }
  .countdown { margin-top: -84px; }
  .cd-card { padding: 28px 20px; gap: 24px; }
  .cd-units { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .cd-unit + .cd-unit { padding-left: 0; border-left: 0; }
  .cd-tiles { gap: 4px; }
  .cd-label { font-size: 11px; letter-spacing: .12em; }
  .ft { --th: 58px; border-radius: 6px; }
  .ticker { padding: 14px 0; }
  .ticker-group span { padding: 0 18px; font-size: 17px; }
  .timeline li::before { top: 4px; left: -7px; }
  .summit-grid, .split { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .split-reverse .split-img { order: 2; }
  .summit-info { padding: 22px; }
  .programme { grid-template-columns: 1fr; }
  .programme li { font-size: 18px; padding: 16px 0; }
  .head-row { margin-bottom: 32px; }
  .summit-switch { width: 100%; }
  .summit-switch button { flex: 1; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { padding: 28px 20px; }
  .cat-letter { padding: 0; }
  .letter-body { padding: 28px 20px 30px; }
  .letter-body h3 { font-size: 26px; }
  .cat-list, .cat-card.wide .cat-list { grid-template-columns: 1fr; }
  .criteria-panel { grid-template-columns: 1fr; grid-template-rows: 240px auto; height: auto; }
  .criteria-body { min-height: 230px; }
  .criteria-body { padding: 28px 22px; gap: 10px; }
  .dates-head { display: none; }
  .dates-row { grid-template-columns: 1fr; padding: 18px 0; }
  .dates-row > * { padding: 2px 0; }
  .dates-row b { margin-bottom: 8px; }
  .dates-row [data-k] { font-size: 16px !important; }
  .dates-row [data-k]::before { font-family: var(--f-body); font-weight: 400; font-size: 13px; color: var(--muted); margin-right: 8px; }
  .dates-row [data-k="deadlineLabel"]::before { content: "Applications close"; }
  .dates-row [data-k="results"]::before { content: "Results"; }
  .dates-row [data-k="dates"]::before { content: "Summit"; }
  .why-list div { grid-template-columns: 1fr; gap: 6px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:not(:nth-child(3n+1)) { padding: 22px 0 26px; border-left: 0; }
  .steps > li > span:first-child { margin-bottom: 12px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-auto-rows: 160px; }
  .gallery img:first-child { grid-row: auto; grid-column: span 2; height: 220px; }
  .cta { padding: 64px 0; }
  .faq-list summary { padding: 16px 16px; gap: 12px; }
  .faq-q { font-size: 16px; }
  .faq-list details p { padding: 0 16px 18px 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =========================================================
   Inner pages
   ========================================================= */
html.motion-init .page-hero h1, html.motion-init .page-hero-bg img { opacity: 0; }
.page-hero { position: relative; overflow: hidden; background: var(--night); color: rgba(240,237,232,.82); padding: 88px 0 132px; }
.page-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.page-hero-bg img { width: 100%; height: 115%; object-fit: cover; object-position: center 30%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,10,18,.9) 0%, rgba(8,10,18,.72) 45%, rgba(8,10,18,.35) 100%), linear-gradient(0deg, rgba(8,10,18,.6), transparent 50%); }
@media (min-width: 1081px) { .page-hero-bg { left: 34%; overflow: hidden; } .page-hero-bg::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; background: linear-gradient(90deg, var(--night), transparent); } }
.page-hero-inner { position: relative; z-index: 2; max-width: var(--container); }
.page-hero h1 { color: var(--cream-text); font-size: clamp(40px, 6vw, 80px); line-height: .98; letter-spacing: -.045em; max-width: 820px; }
.page-hero h1 em { color: var(--gold-light); }
.page-hero-inner > p { font-size: 19px; line-height: 1.55; max-width: 560px; margin: 22px 0 0; }
.crumb { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-size: 14px; font-weight: 500; color: rgba(240,237,232,.7); margin-bottom: 26px; transition: color .2s; }
.crumb::before { content: ""; width: 7px; height: 7px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.crumb:hover { color: var(--white); }
.page-facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 14px 44px; }
.page-facts li { display: flex; flex-direction: column; gap: 2px; padding-left: 16px; border-left: 2px solid var(--maroon); }
.page-facts span { font-size: 13px; color: var(--muted-dark); }
.page-facts b { font-family: var(--f-head); font-weight: 500; font-size: 17px; color: var(--cream-text); }

/* ---------- Application ---------- */
.apply-section { padding: 0 0 112px; position: relative; z-index: 3; }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; margin-top: -72px; }
.apply-summary { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 14px; }
.apply-note { background: var(--white); padding: 24px; border-radius: var(--r); }

.stepper { list-style: none; margin: 0; padding: 22px 28px 18px; display: flex; gap: 8px; background: var(--white); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; overflow-x: auto; scrollbar-width: none; }
.stepper::-webkit-scrollbar { display: none; }
.stepper li { flex: 1 0 auto; display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-size: 14px; color: var(--muted); }
.stepper li + li::before { content: ""; flex: 1 1 16px; min-width: 16px; height: 1px; background: var(--line); margin-right: 2px; }
.stepper span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; border: 1.5px solid var(--line); color: var(--muted); transition: .3s; }
.stepper b { font-weight: 500; white-space: nowrap; }
.stepper .is-now span { background: var(--maroon); border-color: var(--maroon); color: var(--white); }
.stepper .is-now b { color: var(--ink); font-weight: 600; }
.stepper .is-done span { background: #FDECEC; border-color: #FDECEC; color: var(--maroon-2); font-size: 0; }
.stepper .is-done span::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--maroon-2); border-bottom: 2px solid var(--maroon-2); transform: translateY(-1px) rotate(-45deg); }
.step-bar { height: 3px; background: var(--line); }
.step-bar i { display: block; height: 100%; background: var(--maroon); transform-origin: left; transition: transform .6s cubic-bezier(.7,0,.2,1); }

.step-card { background: var(--white); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r); padding: 40px 40px 32px; }
.step-title { font-size: clamp(28px, 3vw, 38px); margin-bottom: 26px; }
.step-title span { display: block; font-family: var(--f-body); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--maroon-2); margin-bottom: 10px; }
.step-intro { color: var(--muted); font-size: 16px; max-width: 620px; margin: -10px 0 28px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--f-head); font-size: 15px; font-weight: 500; color: var(--ink); padding: 0; }
.field label i, .field legend i, .check i { font-style: normal; font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 6px; }
.field input, .field select, .field textarea { width: 100%; font: 16px/1.4 var(--f-body); color: var(--text); background: var(--cream); border: 1.5px solid transparent; border-radius: var(--r); padding: 14px 16px; transition: border-color .2s, background .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236E6862' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: var(--white); border-color: var(--maroon-2); box-shadow: 0 0 0 4px rgba(214,43,43,.1); }
.fhint { font-size: 13px; color: var(--muted); }
.fmeta { display: flex; justify-content: space-between; gap: 12px; }
.wc { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wc.over { color: var(--maroon-2); font-weight: 600; }
.ferr { font-style: normal; font-size: 13.5px; color: var(--maroon-2); }
.ferr:empty { display: none; }
.has-err input, .has-err select, .has-err textarea { border-color: var(--maroon-2); background: #FFF7F7; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 11px 18px; border-radius: 40px; background: var(--cream); border: 1.5px solid transparent; font-size: 15px; transition: .2s; }
.chip:hover span { border-color: var(--line); }
.chip input:checked + span { background: #FDECEC; border-color: var(--maroon-2); color: var(--maroon-2); font-weight: 500; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(214,43,43,.15); }

.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.btn-back { background: none; border: 0; padding: 10px 0; font: 600 15px var(--f-head); color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.btn-back::before { content: ""; width: 7px; height: 7px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.btn-back:hover { color: var(--ink); }
.btn.is-busy { pointer-events: none; opacity: .7; }
.save-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; text-align: right; }

.review-group { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin-bottom: 14px; }
.review-group header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.review-group h3 { font-size: 18px; }
.review-group .text-link { border: 0; background-color: transparent; cursor: pointer; font-size: 14px; }
.review-group dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.review-group dl > div { min-width: 0; }
.review-group dl > .rv-wide { grid-column: 1 / -1; }
.review-group dt { font-size: 13px; color: var(--muted); }
.review-group dd { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; white-space: pre-line; }
.consent { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.promise { background: var(--cream); border-left: 3px solid var(--gold); padding: 14px 18px; border-radius: 0 var(--r) var(--r) 0; font-size: 15px; margin: 0 0 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--maroon); }

.done-card { padding: 56px 48px; border-top: 1px solid var(--line); border-radius: var(--r); }
.done-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #FDECEC; margin-bottom: 24px; }
.done-icon svg { width: 30px; fill: none; stroke: var(--maroon-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.done-card h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 14px; }
.done-card > p { font-size: 17px; color: var(--muted); }
.done-card > p b { color: var(--ink); font-family: var(--f-head); letter-spacing: .02em; }
.done-next { list-style: none; counter-reset: dn; padding: 0; margin: 30px 0 36px; display: grid; gap: 16px; }
.done-next li { counter-increment: dn; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
.done-next li::before { content: counter(dn); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--maroon); color: var(--white); display: grid; place-items: center; font: 600 14px var(--f-head); }
.done-next b { font-family: var(--f-head); color: var(--ink); }
.done-next span { color: var(--muted); font-size: 15px; }

.sum-card { background: var(--white); border: 2px solid var(--maroon-2); border-radius: var(--r); padding: 30px 28px 26px; }
.sum-card .cat-badge { display: inline-block; margin-bottom: 14px; }
.sum-card h3 { font-size: 26px; margin-bottom: 18px; }
.sum-card .cat-price b { font-size: 46px; }
.sum-card .cat-fee { margin-bottom: 22px; }
.sum-card .cat-list { grid-template-columns: 1fr; gap: 11px; margin-bottom: 22px; padding-top: 20px; }
.sum-card .cat-list li { font-size: 14.5px; }
.sum-deadline { background: var(--cream); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.sum-deadline span { font-size: 12.5px; color: var(--muted); }
.sum-deadline b { font-family: var(--f-head); font-weight: 600; color: var(--ink); }
.sum-deadline small { font-size: 13px; color: var(--maroon-2); font-weight: 600; }
.sum-switch { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.sum-switch label { font-size: 13px; color: var(--muted); }
.sum-switch select { font: 500 15px var(--f-head); color: var(--ink); border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236E6862' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right center / 12px; padding: 0 22px 0 0; -webkit-appearance: none; appearance: none; cursor: pointer; }
.sum-help { font-size: 14px; color: var(--muted); margin: 4px 2px 0; }

@media (max-width: 1080px) {
  .apply-grid { grid-template-columns: minmax(0, 1fr); }
  .apply-summary { position: static; order: -1; }
  .sum-card .cat-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding: 48px 0 104px; }
  .page-hero-inner > p { font-size: 17px; }
  .page-facts { gap: 14px 28px; margin-top: 30px; }
  .apply-section { padding-bottom: 72px; }
  .apply-grid { margin-top: -64px; gap: 16px; }
  .stepper { padding: 16px; }
  .stepper li:not(.is-now) b { display: none; }
  .step-card { padding: 28px 20px 24px; }
  .fields { grid-template-columns: 1fr; }
  .review-group dl { grid-template-columns: 1fr; }
  .review-group { padding: 18px; }
  .done-card { padding: 36px 22px; }
  .sum-card { padding: 24px 20px; }
  .sum-card .cat-list { grid-template-columns: 1fr; }
  .save-note { text-align: left; }
}

/* ---------- Legal pages ---------- */
.page-hero-plain { padding: 80px 0 72px; background: var(--night) radial-gradient(900px 400px at 85% 0%, rgba(214,43,43,.28), transparent 70%); }
.page-hero-plain::before { display: none; }
.legal-section { padding: 72px 0 112px; }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.legal-toc b { font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: 14px; }
.legal-toc nav { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.legal-toc nav a { padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.35; transition: color .2s, border-color .2s; }
.legal-toc nav a:hover, .legal-toc nav a.is-active { color: var(--maroon-2); border-left-color: var(--maroon-2); }
.legal-other { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal-other a { color: var(--muted); }
.legal-other a:hover { color: var(--maroon-2); }
.legal-body { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 56px 64px; max-width: 860px; }
.legal-body section + section { margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--line); }
.legal-body h2 { display: flex; align-items: baseline; gap: 14px; font-size: 26px; margin-bottom: 18px; }
.legal-body h2 span { font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--maroon-2); letter-spacing: 0; }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.7; color: var(--text); }
.legal-body ul { padding-left: 20px; margin: 0 0 1em; display: flex; flex-direction: column; gap: 8px; }
.legal-body li::marker { color: var(--maroon-2); }
.legal-body a { color: var(--maroon-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-body b { color: var(--ink); font-weight: 600; }
.legal-table { overflow-x: auto; margin: 4px 0 18px; border: 1px solid var(--line); border-radius: var(--r); }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-table th { text-align: left; font-family: var(--f-head); font-weight: 600; color: var(--ink); background: var(--cream); padding: 12px 16px; }
.legal-table td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.legal-table td:first-child { font-weight: 500; color: var(--ink); width: 42%; }
mark.todo { background: #FFF1C2; color: var(--ink); padding: 0 4px; border-radius: 3px; }
@media (max-width: 1080px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .legal-toc { display: none; }
}
@media (max-width: 760px) {
  .page-hero-plain { padding: 48px 0 44px; }
  .legal-section { padding: 24px 0 72px; }
  .legal-body { padding: 30px 20px; }
  .legal-body h2 { font-size: 22px; }
  .legal-table td:first-child { width: auto; }
}

/* ---------- About ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillars article { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 36px 32px 34px; transition: border-color .3s, transform .4s cubic-bezier(.2,.7,.2,1); }
.pillars article:hover { border-color: var(--maroon-2); transform: translateY(-4px); }
.pillars span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #FDECEC; color: var(--maroon-2); font: 600 15px var(--f-head); margin-bottom: 28px; }
.pillars h3 { font-size: 26px; margin-bottom: 12px; }
.pillars p { color: var(--muted); margin: 0; }
.involve-list { list-style: none; padding: 0; margin: 8px 0 0; border-top: 1px solid var(--line); }
.involve-list a { display: grid; grid-template-columns: 140px 1fr 20px; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .35s cubic-bezier(.2,.7,.2,1), color .2s; }
.involve-list a::after { content: ""; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); justify-self: end; }
.involve-list b { font-family: var(--f-head); font-size: 20px; font-weight: 600; color: var(--ink); }
.involve-list span { color: var(--muted); font-size: 15px; }
.involve-list a:hover { padding-left: 10px; color: var(--maroon-2); }
.involve-list a:hover b { color: var(--maroon-2); }

/* ---------- Contact ---------- */
.contact-card { border-top: 1px solid var(--line); border-radius: var(--r); }
.contact-card .step-actions { flex-wrap: wrap; }
.contact-card .step-actions .fhint { margin: 0; max-width: 340px; }
.contact-card > .ferr { display: block; margin-top: 12px; }
.contact-info { border-width: 1px; border-color: var(--line); }
.contact-info dl { display: flex; flex-direction: column; gap: 18px; }
.contact-info dt { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.contact-info dd { font-size: 15.5px; color: var(--ink); line-height: 1.5; }
.contact-faq b { font-family: var(--f-head); color: var(--ink); }
.contact-faq p { margin: 0; font-size: 14.5px; color: var(--muted); }

@media (max-width: 1080px) {
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .involve-list a { grid-template-columns: 1fr 20px; row-gap: 2px; }
  .involve-list span { grid-column: 1; }
  .involve-list a::after { grid-row: 1 / span 2; grid-column: 2; }
  .pillars article { padding: 28px 22px; }
}

/* ---------- Custom dropdowns ---------- */
.cs-native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0 !important; opacity: 0; pointer-events: none; }
.cs { position: relative; }
.cs-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; font: 16px/1.4 var(--f-body); color: var(--text); background: var(--cream); border: 1.5px solid transparent; border-radius: var(--r); padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.cs-btn:hover { border-color: var(--line); }
.cs-btn:focus-visible, .cs.is-open .cs-btn { outline: 0; background: var(--white); border-color: var(--maroon-2); box-shadow: 0 0 0 4px rgba(214,43,43,.1); }
.cs-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs.is-empty .cs-value { color: #9A928A; }
.cs-chev { flex: none; width: 8px; height: 8px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: translateY(-2px) rotate(45deg); transition: transform .3s cubic-bezier(.7,0,.2,1); }
.cs.is-open .cs-chev { transform: translateY(2px) rotate(-135deg); border-color: var(--maroon-2); }
.has-err .cs-btn { border-color: var(--maroon-2); background: #FFF7F7; }

.cs-panel { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 8px); background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 24px 48px -18px rgba(26,18,8,.28), 0 2px 6px rgba(26,18,8,.06); padding: 6px; transform-origin: top center; animation: csIn .22s cubic-bezier(.2,.7,.2,1); }
.cs.is-up .cs-panel { top: auto; bottom: calc(100% + 8px); transform-origin: bottom center; }
@keyframes csIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.cs-search { padding: 4px 4px 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.cs-search input { width: 100%; font: 15px var(--f-body); color: var(--text); border: 1.5px solid var(--line); border-radius: 8px; padding: 10px 12px 10px 36px; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='5.5' fill='none' stroke='%236E6862' stroke-width='1.6'/%3E%3Cpath d='M13 13l4 4' stroke='%236E6862' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 12px center / 16px; }
.cs-search input:focus { outline: 0; border-color: var(--maroon-2); background-color: var(--white); }
.cs-list { list-style: none; margin: 0; padding: 0; max-height: 264px; overflow-y: auto; overscroll-behavior: contain; outline: 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.cs-list li { position: relative; padding: 10px 36px 10px 12px; border-radius: 6px; font-size: 15px; line-height: 1.35; color: var(--text); cursor: pointer; transition: background .12s; }
.cs-list li.is-active { background: var(--cream); }
.cs-list li[aria-selected="true"] { color: var(--maroon-2); font-weight: 500; }
.cs-list li[aria-selected="true"]::after { content: ""; position: absolute; right: 14px; top: 50%; width: 10px; height: 5px; border-left: 2px solid var(--maroon-2); border-bottom: 2px solid var(--maroon-2); transform: translateY(-70%) rotate(-45deg); }
.cs-empty { margin: 0; padding: 12px; font-size: 14px; color: var(--muted); }

/* Quiet variant (category switcher in the summary) */
.cs-quiet .cs-btn { background: transparent; border: 0; padding: 2px 0; font: 500 15px var(--f-head); color: var(--ink); box-shadow: none; }
.cs-quiet .cs-btn:focus-visible { box-shadow: none; text-decoration: underline; }
.cs-quiet.is-open .cs-btn { background: transparent; box-shadow: none; }
.cs-quiet .cs-panel { left: -18px; right: -18px; top: calc(100% + 14px); }
.cs-quiet.is-up .cs-panel { bottom: calc(100% + 14px); }

/* ---------- Get involved ---------- */
.contact-info h3 { font-size: 20px; margin-bottom: 18px; }
.contact-info .cat-list { grid-template-columns: 1fr; border-top: 0; padding-top: 0; margin: 0; gap: 12px; }
.contact-info .cat-list li { align-items: flex-start; font-size: 14.5px; }
.contact-info .done-next { margin: 0; gap: 14px; }
.contact-info .done-next li { align-items: center; grid-template-columns: 32px 1fr; }
.contact-info .done-next li::before { grid-row: auto; width: 26px; height: 26px; font-size: 12.5px; }
.contact-info .done-next span { font-size: 14.5px; color: var(--text); }
[data-involve-form] .consent { margin-top: 28px; }

/* ---------- Custom checkbox ---------- */
.check input { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid #CFC7BD; border-radius: 6px; background: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.check input::after { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .25s cubic-bezier(.2,.9,.3,1.4); }
.check input:hover { border-color: var(--maroon-2); }
.check input:checked { background: var(--maroon); border-color: var(--maroon); }
.check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(214,43,43,.15); }

/* ---------- 404 ---------- */
.nf { background: var(--night) radial-gradient(900px 500px at 80% 10%, rgba(214,43,43,.3), transparent 70%); color: rgba(240,237,232,.8); min-height: calc(100vh - 96px); display: flex; align-items: center; padding: 80px 0; }
.nf-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.nf-code { display: flex; font-family: var(--f-head); font-weight: 600; font-size: clamp(140px, 22vw, 300px); line-height: .8; letter-spacing: -.06em; color: var(--cream-text); }
.nf-code .nf-0 { color: var(--maroon); display: inline-block; animation: nfSpin 7s cubic-bezier(.7,0,.2,1) infinite; }
@keyframes nfSpin { 0%, 70% { transform: rotate(0); } 85% { transform: rotate(-14deg); } 100% { transform: rotate(0); } }
.nf h1 { color: var(--cream-text); font-size: clamp(36px, 4.6vw, 60px); line-height: 1; letter-spacing: -.04em; margin-bottom: 18px; }
.nf h1 em { color: var(--gold-light); }
.nf-text > p { font-size: 18px; max-width: 480px; }
.nf-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin: 30px 0 40px; }
.nf .text-link { color: var(--gold-light); }
.nf-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.nf-links a { display: grid; grid-template-columns: 110px 1fr 16px; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); transition: padding .35s cubic-bezier(.2,.7,.2,1); }
.nf-links a::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.nf-links b { font-family: var(--f-head); font-weight: 600; color: var(--cream-text); font-size: 18px; }
.nf-links span { color: var(--muted-dark); font-size: 15px; }
.nf-links a:hover { padding-left: 10px; color: var(--gold-light); }
@media (max-width: 860px) {
  .nf { min-height: 0; padding: 56px 0 72px; }
  .nf-inner { grid-template-columns: 1fr; gap: 24px; }
  .nf-links a { grid-template-columns: 1fr 16px; row-gap: 2px; }
  .nf-links span { grid-column: 1; }
  .nf-links a::after { grid-row: 1 / span 2; grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .nf-code .nf-0 { animation: none; } }

/* =========================================================
   Mobile hardening (audit 13 Oct 2026)
   ========================================================= */
.footer-grid > div { min-width: 0; }
.site-footer a, .site-footer span, .contact-info dd, .faq-help-mail { overflow-wrap: anywhere; }
.cs-search input { font-size: 16px; } /* 16px stops iOS zooming into the field */
/* Bigger touch areas without changing the look */
.text-link, .crumb, .faq-help-mail { position: relative; }
.text-link::before, .crumb::after, .faq-help-mail::before { content: ""; position: absolute; inset: -10px -6px; }
.crumb::before { position: static; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid > div:not(.footer-brand) { gap: 0; }
  .footer-grid > div:not(.footer-brand) > a, .footer-grid > div:not(.footer-brand) > span { padding: 9px 0; }
  .site-footer h4 { margin-bottom: 6px; }
  .footer-bottom nav { gap: 4px 20px; }
  .footer-bottom nav a { padding: 8px 0; }
  .cs-quiet .cs-btn { padding: 10px 0; }
  .cd-label { font-size: 12px; }
  .crumb { padding: 6px 0; margin-bottom: 18px; }
}

/* Collapsible inclusions (open on desktop, collapsed on phones) */
.sum-inc > summary { display: none; }
.sum-inc > summary::-webkit-details-marker { display: none; }
.legal-toc-m { display: none; }
@media (max-width: 1080px) {
  .sum-card .cat-fee { margin-bottom: 16px; }
  .sum-inc { border-top: 1px solid var(--line); margin-bottom: 16px; }
  .sum-inc > summary { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; padding: 14px 0 2px; font: 600 15px var(--f-head); color: var(--ink); }
  .sum-inc > summary span { font: 400 13px var(--f-body); color: var(--muted); }
  .sum-inc > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: translateY(-2px) rotate(45deg); transition: transform .3s; }
  .sum-inc[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
  .sum-inc .cat-list { border-top: 0; padding-top: 12px; margin-bottom: 4px; }
  .apply-summary .sum-switch, .apply-summary .sum-help { display: none; }
  body[data-involve] .apply-summary { order: 2; }
  body[data-involve] .apply-summary .sum-help { display: block; }
  .legal-toc-m { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; }
  .legal-toc-m > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; font: 600 15px var(--f-head); color: var(--ink); }
  .legal-toc-m > summary::-webkit-details-marker { display: none; }
  .legal-toc-m > summary::after { content: ""; width: 8px; height: 8px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: translateY(-2px) rotate(45deg); transition: transform .3s; }
  .legal-toc-m[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
  .legal-toc-m nav { display: flex; flex-direction: column; padding: 0 20px 12px; border-top: 1px solid var(--line); }
  .legal-toc-m nav a { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text); }
  .legal-toc-m nav a:last-child { border-bottom: 0; }
  .legal-toc-m nav span { font: 600 12.5px var(--f-head); color: var(--maroon-2); min-width: 20px; padding-top: 2px; }
}
@media (max-width: 760px) {
  .letter-visual { padding: 28px 20px 8px; }
  .letter-paper { width: min(78%, 240px); }
}

.wc { white-space: nowrap; flex: none; }
@media (max-width: 1080px) {
  .footer-grid > div:not(.footer-brand) { gap: 0; }
  .footer-grid > div:not(.footer-brand) > a, .footer-grid > div:not(.footer-brand) > span { padding: 9px 0; }
  .footer-bottom nav a { padding: 8px 0; }
}

/* Company disclosure (UK trading disclosure rules) */
.footer-legal { padding-bottom: 28px; }
.footer-legal p { margin: 0; font-size: 12.5px; line-height: 1.6; color: rgba(240,237,232,.45); max-width: 900px; }
