/* Skydivers Federation of India. Phase 1 design system, version 3.

   Modelled on the Aero Club of India homepage, in SFI's own colours:
   - one type family, Hanken Grotesk, from 400 to 900
   - a dark site that scrolls over one fixed, full screen photograph which
     crossfades between SFI's own photos with a slow zoom (site.js)
   - every section content sits in frosted glass, under a pill label and a
     heavy centred heading
   Neutrals lean navy. The accent is the orange from the SFI crest. */

:root {
  --night:    #05090f;
  --ink-900:  #0a1524;
  --ink-800:  #112340;
  --ink-600:  #2c4671;

  --text:     #eef2f8;
  --text-2:   #c7d2e3;
  --muted:    #93a2bb;
  --sky:      #bcd3f2;

  --glass:        rgba(13, 24, 42, 0.46);
  --glass-strong: rgba(10, 19, 34, 0.66);
  --glass-line:   rgba(255, 255, 255, 0.13);
  --glass-line-2: rgba(255, 255, 255, 0.24);

  --flame:      #e2661b;
  --flame-deep: #b9510f;
  --flame-soft: #f5c9a6;

  --radius: 18px;
  --radius-sm: 12px;

  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.15rem, 1.06rem + 0.4vw, 1.4rem);
  --step-2:  clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  --step-3:  clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  --step-4:  clamp(2.6rem, 1.7rem + 4vw, 4.6rem);
  --step-5:  clamp(3rem, 1.6rem + 6vw, 6.4rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.022em; line-height: 1.04; color: #fff; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1240px, 100% - (var(--gut) * 2)); margin-inline: auto; }
.narrow { width: min(820px, 100%); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: #fff; color: var(--ink-900); padding: 0.8rem 1.2rem; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Fixed photo backdrop ----------
   One layer fixed behind the whole page. site.js cycles the slides. */
.backdrop { position: fixed; inset: 0; z-index: -2; background: var(--night); overflow: hidden; pointer-events: none; }
.backdrop img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.02);
  transition: opacity 1.6s var(--ease), transform 9s linear;
}
.backdrop img.is-on { opacity: 1; transform: scale(1.1); }
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 15, 0.62) 0%, rgba(5, 9, 15, 0.42) 38%, rgba(5, 9, 15, 0.7) 100%);
}

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
}

/* ---------- Pill label ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--glass-line-2); border-radius: 999px;
  padding: 0.5rem 1.05rem; margin: 0 0 1.4rem;
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--flame); font-style: normal; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  font: inherit; font-size: 0.95rem; font-weight: 700;
  padding: 0.95rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--flame); color: #fff; text-decoration: none; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--flame-deep); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--light { background: #fff; color: var(--ink-900); }
.btn--light:hover, .btn--light:focus-visible { background: var(--flame); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, 0.06); border-color: var(--glass-line-2); color: #fff; }
.btn--ghost:hover, .btn--ghost:focus-visible { background: rgba(255, 255, 255, 0.16); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 80; padding: 1.1rem 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.is-stuck {
  background: rgba(5, 9, 15, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--glass-line); padding: 0.6rem 0;
}
.site-head .wrap { display: flex; align-items: center; gap: 1.75rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; margin-right: auto; }
.brand img { width: 56px; height: 56px; object-fit: contain; transition: width 0.3s var(--ease), height 0.3s var(--ease); }
.is-stuck .brand img { width: 44px; height: 44px; }
.brand b { display: block; font-size: 1.15rem; font-weight: 900; letter-spacing: 0.04em; color: #fff; line-height: 1; }
.brand small { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); margin-top: 0.3rem; }
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a { font-size: 0.93rem; font-weight: 600; color: var(--text); text-decoration: none; padding: 0.35rem 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.nav a:hover { color: #fff; border-bottom-color: var(--flame); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }
.nav .btn { padding: 0.7rem 1.25rem; font-size: 0.9rem; border-bottom: 1px solid transparent; }
.nav .btn:hover { border-bottom-color: transparent; }
.nav-toggle { display: none; }

/* ---------- Sections ---------- */
section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.sec-head { text-align: center; max-width: 52rem; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); }
.sec-head h2 { font-size: var(--step-3); }
.sec-head h2 span { color: var(--sky); }
.sec-head p { color: var(--text-2); font-size: var(--step-1); line-height: 1.55; margin: 1.1rem auto 0; max-width: 44rem; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 9rem 0 6rem; text-align: center; }
.hero h1 { font-size: var(--step-5); font-weight: 900; letter-spacing: -0.035em; line-height: 0.98; }
.hero h1 span { display: block; color: var(--sky); }
.hero__lead { font-size: var(--step-1); color: var(--text-2); max-width: 46rem; margin: 1.6rem auto 0; line-height: 1.55; }
.hero__lead b { color: #fff; font-weight: 700; }
.quick { list-style: none; padding: 0; margin: 2.4rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; max-width: 52rem; }
.quick a {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.7rem 1.15rem; border-radius: 999px; text-decoration: none;
  font-size: 0.92rem; font-weight: 700; color: #fff;
  background: rgba(13, 24, 42, 0.5); border: 1px solid var(--glass-line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.quick a:hover, .quick a:focus-visible { background: rgba(226, 102, 27, 0.2); border-color: rgba(245, 201, 166, 0.55); transform: translateY(-2px); }
.quick svg { width: 1.05rem; height: 1.05rem; stroke: var(--flame-soft); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.scroll-cue { margin-top: 3.25rem; display: inline-flex; flex-direction: column; align-items: center; gap: 0.8rem; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.3em; color: var(--text-2); text-decoration: none; }
.scroll-cue::after { content: ""; width: 1px; height: 3rem; background: linear-gradient(var(--text-2), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Aviation readout, bottom corner of the hero */
.readout { position: absolute; right: var(--gut); bottom: 2rem; text-align: right; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; line-height: 2; color: var(--text-2); margin: 0; }
.readout p { margin: 0; }
.readout .gap { margin-top: 0.8rem; }
.readout .hot { color: var(--flame-soft); }

/* ---------- Cards (pillars and benefits) ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.card {
  height: 100%; display: flex; flex-direction: column;
  padding: 1.6rem 1.5rem 1.8rem;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--glass-line-2); background: rgba(16, 29, 50, 0.58); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.6rem; }
.card__icon { width: 2.9rem; height: 2.9rem; border-radius: var(--radius-sm); display: grid; place-items: center; flex: none; border: 1px solid var(--glass-line); }
.card__icon svg { width: 1.3rem; height: 1.3rem; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cards li:nth-child(3n+1) .card__icon { background: rgba(226, 102, 27, 0.22); color: var(--flame-soft); }
.cards li:nth-child(3n+2) .card__icon { background: rgba(126, 170, 222, 0.2); color: #d3e3f7; }
.cards li:nth-child(3n+3) .card__icon { background: rgba(255, 255, 255, 0.1); color: #eef2f8; }
.card__badge { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--glass-line-2); border-radius: 999px; padding: 0.3rem 0.7rem; white-space: nowrap; }
.card h3 { font-size: var(--step-1); font-weight: 800; margin-bottom: 0.6rem; line-height: 1.15; }
.card p { margin: 0; color: var(--text-2); font-size: 0.96rem; line-height: 1.6; }

/* ---------- Statement panel ---------- */
.statement { max-width: 60rem; margin: clamp(2.5rem, 5vw, 4rem) auto 0; text-align: center; padding: clamp(2rem, 5vw, 3.75rem) clamp(1.5rem, 5vw, 4rem); }
.statement h2 { font-size: var(--step-2); text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 1.6rem; }
.statement p { color: var(--text-2); line-height: 1.8; max-width: 62ch; margin: 0 auto 1.1rem; }
.statement p:last-child { margin-bottom: 0; }
.statement strong { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(245, 201, 166, 0.45); text-underline-offset: 0.22em; }

/* ---------- Photo strip ---------- */
.strip { padding: 0 0 clamp(4.5rem, 9vw, 7.5rem); overflow: hidden; }
.strip__track { display: grid; grid-template-columns: 1.1fr 0.75fr 1.35fr 0.75fr 1.2fr; gap: 12px; width: 116%; height: clamp(15rem, 28vw, 25rem); will-change: transform; }
.strip__track figure { margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--glass-line); }
.strip__track img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.strip__track figure:hover img { transform: scale(1.05); }

/* ---------- Membership ---------- */
.member-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
.tier { padding: clamp(1.75rem, 3.5vw, 2.6rem); display: flex; flex-direction: column; }
.tier__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; }
.tier h3 { font-size: var(--step-2); }
.tier__sub { color: var(--muted); margin: 0.4rem 0 0; font-size: 0.95rem; }
.tier__label { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 1.6rem 0 0.9rem; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.5rem; }
.perks li { position: relative; padding-left: 1.15rem; color: var(--text-2); font-size: 0.93rem; line-height: 1.5; }
.perks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: var(--flame); transform: rotate(45deg); }
.price {
  margin-top: auto; padding-top: 1.75rem; border-top: 1px solid var(--glass-line); margin-top: 2rem;
  display: grid; grid-template-columns: repeat(3, auto) 1fr; align-items: end; gap: 1.5rem 2rem;
}
.price dt { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.price dd { margin: 0.35rem 0 0; font-size: var(--step-1); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price .total dd { font-size: var(--step-3); font-weight: 900; color: var(--flame-soft); letter-spacing: -0.03em; line-height: 1; }
.price .renew { grid-column: 1 / -1; font-size: 0.92rem; color: var(--text-2); }
.price .renew b { color: #fff; }
.tier .btn { margin-top: 1.75rem; align-self: flex-start; }

.apply-card { padding: clamp(1.75rem, 3.5vw, 2.6rem); display: flex; flex-direction: column; }
.apply-card h3 { font-size: var(--step-2); margin: 1.6rem 0 0.6rem; }
.apply-card > p { color: var(--text-2); }
.steps3 { list-style: none; margin: 1.3rem 0 1.8rem; padding: 0; counter-reset: s; display: grid; gap: 0.9rem; }
.steps3 li { display: grid; grid-template-columns: 2.1rem 1fr; gap: 0.9rem; align-items: start; color: var(--text-2); font-size: 0.95rem; }
.steps3 li::before { counter-increment: s; content: counter(s); width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 50%; background: rgba(226, 102, 27, 0.18); border: 1px solid rgba(245, 201, 166, 0.4); color: var(--flame-soft); font-weight: 800; font-size: 0.85rem; }
.steps3 b { color: #fff; display: block; }
.apply-card .btn { margin-top: auto; }
.apply-card small { display: block; text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 0.9rem; }

/* The SFI member card. Tilts gently towards the pointer (site.js). */
.mcard {
  position: relative; aspect-ratio: 1.586; border-radius: 16px; overflow: hidden;
  padding: 1.3rem 1.4rem; display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(226, 102, 27, 0.55), transparent 55%),
    linear-gradient(135deg, #16294a 0%, #0b1628 60%, #0a1322 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  transform-style: preserve-3d; transition: transform 0.5s var(--ease);
}
.mcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.16) 48%, transparent 60%); transform: translateX(var(--shine, -60%)); transition: transform 0.6s var(--ease); pointer-events: none; }
.mcard__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; position: relative; z-index: 1; }
.mcard img { width: 54px; height: 54px; }
.mcard__org { text-align: right; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); line-height: 1.6; }
.mcard__tier { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--flame-soft); }
.mcard__name { font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.mcard__meta { font-size: 0.7rem; color: var(--text-2); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }

/* Fee table */
.fee-table { margin-top: 1.5rem; padding: clamp(1.5rem, 3vw, 2.25rem); overflow-x: auto; }
.fee-table h3 { font-size: var(--step-2); text-align: center; text-transform: uppercase; }
.fee-table > p { text-align: center; color: var(--muted); margin: 0.6rem 0 1.5rem; }
.fee-table table { width: 100%; border-collapse: collapse; min-width: 34rem; }
.fee-table th, .fee-table td { padding: 1rem 0.75rem; text-align: left; border-bottom: 1px solid var(--glass-line); font-size: 0.95rem; }
.fee-table thead th { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.fee-table td { color: var(--text-2); }
.fee-table td.num, .fee-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.fee-table td.num { color: #fff; font-weight: 700; }
.fee-table tr:last-child td { border-bottom: 0; }

/* ---------- Member duties ---------- */
.duties { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: d; }
.duties li { padding: 1.6rem 1.5rem; }
.duties li::before { counter-increment: d; content: counter(d, decimal-leading-zero); display: block; font-size: var(--step-2); font-weight: 900; color: var(--flame-soft); margin-bottom: 0.7rem; letter-spacing: -0.02em; }
.duties h3 { font-size: var(--step-1); margin-bottom: 0.45rem; }
.duties p { margin: 0; color: var(--text-2); font-size: 0.95rem; }

/* ---------- Join band ---------- */
.join { text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem); max-width: 56rem; margin: 0 auto; }
.join h2 { font-size: var(--step-3); }
.join p { color: var(--text-2); font-size: var(--step-1); max-width: 40rem; margin: 1rem auto 2rem; line-height: 1.55; }
.join .btns { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem; }
.contact > div { padding: clamp(1.75rem, 3.5vw, 2.6rem); }
.contact h3 { font-size: var(--step-2); margin-bottom: 0.8rem; }
.contact > div > p { color: var(--text-2); }
.info { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.info li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; }
.info .ico { width: 2.6rem; height: 2.6rem; border-radius: var(--radius-sm); display: grid; place-items: center; background: rgba(226, 102, 27, 0.18); color: var(--flame-soft); }
.info .ico svg { width: 1.15rem; height: 1.15rem; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info b { display: block; color: #fff; margin-bottom: 0.2rem; }
.info span { color: var(--text-2); font-size: 0.95rem; }
.info .tbc { color: var(--flame-soft); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; }
label, .label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.req { color: var(--flame-soft); }
.hint { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 0.45rem; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #fff;
  background: rgba(5, 10, 20, 0.45); border: 1px solid var(--glass-line-2); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  color-scheme: dark;
}
input::placeholder, textarea::placeholder { color: rgba(199, 210, 227, 0.45); }
input:hover, select:hover, textarea:hover { border-color: rgba(255, 255, 255, 0.38); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--flame); background: rgba(5, 10, 20, 0.65); box-shadow: 0 0 0 4px rgba(226, 102, 27, 0.2); }
select option { background: var(--ink-900); color: #fff; }
textarea { min-height: 7.5rem; resize: vertical; }
[aria-invalid="true"] { border-color: #ff8a5b !important; box-shadow: 0 0 0 4px rgba(255, 138, 91, 0.15); }
.error { display: none; color: #ffb08e; font-size: 0.85rem; font-weight: 600; margin: 0.45rem 0 0; }
.error.is-shown { display: block; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.5rem; }
.full { grid-column: 1 / -1; }

/* ---------- Registration page ---------- */
.page-head { padding: 10.5rem 0 3rem; text-align: center; }
.page-head h1 { font-size: var(--step-4); font-weight: 900; letter-spacing: -0.03em; }
.page-head p { color: var(--text-2); font-size: var(--step-1); max-width: 40rem; margin: 1.1rem auto 0; line-height: 1.55; }

.reg { padding-top: 0; }
.reg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 1.5rem; align-items: start; }
.wizard { padding: clamp(1.5rem, 3.5vw, 2.5rem); }

.progress { margin: 0 0 2.2rem; }
.progress ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; position: relative; }
.progress li { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; text-align: center; font-size: 0.74rem; font-weight: 700; color: var(--muted); position: relative; z-index: 1; }
.progress li span {
  width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center;
  background: rgba(5, 10, 20, 0.85); border: 1px solid var(--glass-line-2); color: var(--text-2); font-size: 0.85rem; font-weight: 800;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.progress li.is-done span { background: rgba(226, 102, 27, 0.25); border-color: rgba(245, 201, 166, 0.6); color: var(--flame-soft); }
.progress li.is-current { color: #fff; }
.progress li.is-current span { background: var(--flame); border-color: var(--flame); color: #fff; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(226, 102, 27, 0.2); }
.progress__bar { height: 3px; background: rgba(255, 255, 255, 0.1); border-radius: 3px; margin-top: 1.1rem; overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--flame), var(--flame-soft)); border-radius: 3px; transition: width 0.5s var(--ease); }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step + .step { margin-top: 3rem; }
.step legend { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; padding: 0; margin-bottom: 0.4rem; color: #fff; }
.step__intro { color: var(--text-2); margin: 0 0 1.8rem; }
.js .step { display: none; }
.js .step.is-active { display: block; animation: stepIn 0.45s var(--ease); }
.js .step + .step { margin-top: 0; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* Choice tiles for licence, organisation and gender */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 0.75rem; }
.tiles--wide { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.tile { position: relative; margin: 0; font-weight: 400; cursor: pointer; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile span {
  display: flex; flex-direction: column; gap: 0.2rem; height: 100%;
  padding: 1rem 1.05rem; border-radius: var(--radius-sm);
  background: rgba(5, 10, 20, 0.4); border: 1px solid var(--glass-line-2);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.tile b { color: #fff; font-size: 1rem; font-weight: 800; }
.tile small { color: var(--muted); font-size: 0.78rem; line-height: 1.35; }
.tile:hover span { border-color: rgba(255, 255, 255, 0.42); transform: translateY(-2px); }
.tile input:checked + span { background: rgba(226, 102, 27, 0.2); border-color: var(--flame); box-shadow: inset 0 0 0 1px var(--flame); }
.tile input:checked + span b { color: var(--flame-soft); }
.tile input:focus-visible + span { outline: 3px solid var(--flame); outline-offset: 3px; }

/* Upload drop zones */
.drops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.drop { position: relative; margin: 0; cursor: pointer; font-weight: 400; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop > span {
  display: flex; align-items: center; gap: 0.9rem; min-height: 5.2rem;
  padding: 1rem 1.1rem; border-radius: var(--radius-sm);
  border: 1.5px dashed rgba(255, 255, 255, 0.28); background: rgba(5, 10, 20, 0.35);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.drop svg { width: 1.6rem; height: 1.6rem; flex: none; stroke: var(--flame-soft); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.drop b { display: block; color: #fff; font-size: 0.95rem; }
.drop em { display: block; font-style: normal; color: var(--muted); font-size: 0.8rem; margin-top: 0.15rem; word-break: break-all; }
.drop:hover > span, .drop.is-over > span { border-color: var(--flame); background: rgba(226, 102, 27, 0.12); }
.drop.has-file > span { border-style: solid; border-color: rgba(245, 201, 166, 0.6); background: rgba(226, 102, 27, 0.14); }
.drop.has-file em { color: var(--flame-soft); }
.drop input:focus-visible + span { outline: 3px solid var(--flame); outline-offset: 3px; }

/* Review list */
.review { display: grid; gap: 1rem; margin-bottom: 2rem; }
.review section { padding: 1.2rem 1.3rem; border-radius: var(--radius-sm); background: rgba(5, 10, 20, 0.35); border: 1px solid var(--glass-line); }
.review header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.7rem; }
.review h4 { font-size: 1rem; font-weight: 800; }
.review button { font: inherit; font-size: 0.85rem; font-weight: 700; color: var(--flame-soft); background: none; border: 0; cursor: pointer; padding: 0.2rem 0; text-decoration: underline; text-underline-offset: 3px; }
.review dl { margin: 0; display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 0.4rem 1rem; font-size: 0.9rem; }
.review dt { color: var(--muted); }
.review dd { margin: 0; color: #fff; word-break: break-word; }
.review dd.empty { color: var(--muted); font-style: italic; }

.declaration { max-height: 17rem; overflow-y: auto; padding: 1.3rem 1.4rem; border-radius: var(--radius-sm); background: rgba(5, 10, 20, 0.45); border: 1px solid var(--glass-line); font-size: 0.9rem; line-height: 1.75; color: var(--text-2); }
.declaration p { margin: 0 0 0.9rem; }
.declaration strong { color: #fff; }
.read-note { font-size: 0.82rem; color: var(--flame-soft); margin: 0.6rem 0 1rem; }
.agree { display: flex; gap: 0.8rem; align-items: flex-start; margin-top: 0.4rem; }
.agree input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; flex: none; accent-color: var(--flame); }
.agree label { font-weight: 500; margin: 0; }

.wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--glass-line); }
.wizard__nav .count { font-size: 0.85rem; color: var(--muted); }
.no-js-submit { margin-top: 2rem; }
.js .no-js-submit { display: none; }
.wizard__nav { display: none; }
.js .wizard__nav { display: flex; }

.form-alert { display: none; margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: rgba(255, 138, 91, 0.12); border: 1px solid rgba(255, 138, 91, 0.45); color: #ffd0bc; font-weight: 600; }
.form-alert.is-shown { display: block; }

/* Summary side panel */
.summary { position: sticky; top: 6.5rem; padding: 1.5rem; display: grid; gap: 1.3rem; }
.summary h2 { font-size: var(--step-1); }
.summary .mcard { padding: 1.1rem 1.2rem; }
.summary .mcard img { width: 44px; height: 44px; }
.summary .mcard__name { font-size: 1.1rem; }
.sum-lines { margin: 0; display: grid; gap: 0.55rem; font-size: 0.92rem; }
.sum-lines div { display: flex; justify-content: space-between; gap: 1rem; }
.sum-lines dt { color: var(--text-2); }
.sum-lines dd { margin: 0; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.sum-lines .tot { padding-top: 0.7rem; border-top: 1px solid var(--glass-line); font-size: 1.05rem; }
.sum-lines .tot dd { color: var(--flame-soft); font-size: 1.25rem; font-weight: 900; }
.summary .note { font-size: 0.84rem; color: var(--muted); margin: 0; }
.summary .note b { color: var(--text); }

.privacy-card { margin-top: 1.5rem; padding: clamp(1.5rem, 3vw, 2.1rem); }
.privacy-card h2 { font-size: var(--step-1); margin-bottom: 0.7rem; }
.privacy-card p { color: var(--text-2); font-size: 0.93rem; max-width: 70ch; }

/* ---------- Application received ---------- */
.received { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 9rem 0 5rem; }
.received .glass { padding: clamp(2rem, 5vw, 3.5rem); max-width: 50rem; margin: 0 auto; text-align: center; }
.tick { width: 4.5rem; height: 4.5rem; margin: 0 auto 1.6rem; border-radius: 50%; display: grid; place-items: center; background: rgba(226, 102, 27, 0.2); border: 1px solid rgba(245, 201, 166, 0.55); }
.tick svg { width: 2rem; height: 2rem; stroke: var(--flame-soft); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.7s 0.3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.received h1 { font-size: var(--step-4); font-weight: 900; letter-spacing: -0.03em; }
.received .lead { color: var(--text-2); font-size: var(--step-1); margin: 1rem auto 2.4rem; max-width: 36rem; line-height: 1.55; }
.timeline { list-style: none; margin: 0 auto 2.4rem; padding: 0; text-align: left; max-width: 34rem; }
.timeline li { position: relative; padding: 0 0 1.6rem 3.2rem; }
.timeline li::before { content: ""; position: absolute; left: 0.95rem; top: 2rem; bottom: 0; width: 1px; background: var(--glass-line-2); }
.timeline li:last-child::before { display: none; }
.timeline i { position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 0.8rem; font-weight: 800; background: rgba(5, 10, 20, 0.8); border: 1px solid var(--glass-line-2); color: var(--text-2); }
.timeline li.is-done i { background: var(--flame); border-color: var(--flame); color: #fff; }
.timeline li.is-now i { border-color: var(--flame); color: var(--flame-soft); box-shadow: 0 0 0 5px rgba(226, 102, 27, 0.18); }
.timeline b { display: block; color: #fff; font-size: 1.05rem; }
.timeline span { color: var(--text-2); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-foot { position: relative; padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem; background: rgba(5, 9, 15, 0.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--glass-line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.1fr); gap: 2.5rem; }
.foot-grid img { width: 72px; height: 72px; margin-bottom: 1.2rem; }
.site-foot p { color: var(--muted); font-size: 0.92rem; max-width: 34ch; }
.site-foot h4 { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.site-foot li { color: var(--muted); font-size: 0.92rem; }
.site-foot a { color: var(--text-2); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--glass-line); display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: space-between; color: var(--muted); font-size: 0.85rem; }
.foot-base p { margin: 0; max-width: none; }

/* ---------- Floating apply pill ---------- */
.fab {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 70;
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--flame); color: #fff; text-decoration: none;
  font-size: 0.88rem; font-weight: 800; padding: 0.85rem 1.35rem; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  opacity: 0; transform: translateY(1rem); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.25s var(--ease);
}
.fab.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover, .fab:focus-visible { background: var(--flame-deep); }
.fab svg { width: 1.05em; height: 1.05em; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(2) { transition-delay: 0.07s; }
.stagger.is-in > *:nth-child(3) { transition-delay: 0.14s; }
.stagger.is-in > *:nth-child(4) { transition-delay: 0.21s; }
.stagger.is-in > *:nth-child(5) { transition-delay: 0.28s; }
.stagger.is-in > *:nth-child(6) { transition-delay: 0.35s; }
.stagger.is-in > *:nth-child(7) { transition-delay: 0.42s; }
.stagger.is-in > *:nth-child(8) { transition-delay: 0.49s; }
.hero .rise { opacity: 0; transform: translateY(30px); animation: rise 1s var(--ease) forwards; }
.hero .rise:nth-child(2) { animation-delay: 0.12s; }
.hero .rise:nth-child(3) { animation-delay: 0.24s; }
.hero .rise:nth-child(4) { animation-delay: 0.36s; }
.hero .rise:nth-child(5) { animation-delay: 0.5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reg-layout { grid-template-columns: 1fr; }
  .summary { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .summary h2, .summary .note { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .member-grid, .contact { grid-template-columns: 1fr; }
  .duties { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .strip__track { width: 170%; }
  .readout { position: static; text-align: center; margin-top: 2.5rem; }
}
@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex; align-items: center; font: inherit; font-size: 0.9rem; font-weight: 700;
    color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--glass-line-2);
    border-radius: 999px; padding: 0.6rem 1.1rem; cursor: pointer;
  }
  .nav {
    position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem var(--gut) 1.4rem; background: rgba(5, 9, 15, 0.94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-line); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--glass-line); }
  .nav .btn { margin-top: 1rem; }
  .brand small { display: none; }
}
@media (max-width: 640px) {
  .cards, .duties, .grid, .drops, .perks { grid-template-columns: 1fr; }
  .summary { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr 1fr; }
  .price .total { grid-column: 1 / -1; }
  .strip__track { width: 260%; height: 14rem; }
  .progress li { font-size: 0; gap: 0; }
  .progress li span { font-size: 0.85rem; }
  .review dl { grid-template-columns: 1fr; gap: 0.1rem; }
  .review dd { margin-bottom: 0.5rem; }
  .fab { left: 1rem; right: 1rem; justify-content: center; }
  .site-foot { padding-bottom: 6.5rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .quick a { font-size: 0.85rem; padding: 0.6rem 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .stagger > *, .hero .rise { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .backdrop img { transition: none; transform: none !important; }
  .scroll-cue::after, .tick svg { animation: none; stroke-dashoffset: 0; }
  .strip__track, .mcard { transform: none !important; }
  .card:hover, .quick a:hover, .tile:hover span { transform: none; }
}

/* ---------- Fixes from the first browser review ---------- */

/* .nav a outranks .btn--light, so the header button's dark text is restated. */
.nav .btn--light { color: var(--ink-900); }
.nav .btn--light:hover, .nav .btn--light:focus-visible { color: #fff; }

/* The crest is navy, which vanishes on a dark page. A pale disc behind it keeps
   it readable until SFI supplies a reversed version. */
.brand img, .foot-grid img {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

/* The chip is a paragraph, so paragraph rules inside these blocks outranked it. */
.sec-head .chip, .join .chip, .statement .chip, .glass .chip {
  font-size: 0.7rem; line-height: 1.2; color: #fff; margin: 0 auto 1.4rem; max-width: none;
}

/* Six hero pills sat five and one. Three and three reads as a set. */
.quick { max-width: 36rem; }

/* The hidden attribute loses to any class that sets display, such as .btn. */
[hidden] { display: none !important; }

/* On the registration page the header button is also the current page link. */
.nav .btn--light[aria-current="page"] { color: var(--ink-900); border-bottom-color: transparent; }

/* The hero stacks its content. On small screens the readout drops into the flow
   below the words instead of sitting beside them. */
.hero { flex-direction: column; justify-content: center; }
.hero > .wrap { width: min(1240px, 100% - (var(--gut) * 2)); }

/* ---------- Page heading, registration ----------
   The chip is a paragraph, so .page-head p outranked it: restated here.
   A soft dark pool sits behind the words so they read over any photo,
   including faces, without darkening the whole screen. */
.page-head { position: relative; isolation: isolate; padding: 11rem 0 3.5rem; }
.page-head::before {
  content: ""; position: absolute; inset: 4rem 0 -2rem; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 50% 55%, rgba(5, 9, 15, 0.72) 0%, rgba(5, 9, 15, 0.45) 45%, transparent 75%);
}
.page-head .chip { font-size: 0.7rem; line-height: 1.2; color: #fff; margin: 0 auto 1.4rem; max-width: none; }
.page-head h1 { text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45); }
.page-head p { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5); color: var(--text); }
.page-head h1 span { color: var(--sky); }

/* ---------- Bigger logo ---------- */
.brand { gap: 1rem; }
.brand img { width: 78px; height: 78px; padding: 5px; }
.is-stuck .brand img { width: 58px; height: 58px; }
.brand b { font-size: 1.45rem; }
.brand small { font-size: 0.72rem; margin-top: 0.4rem; }
.site-head { padding: 1.3rem 0; }
.site-head.is-stuck { padding: 0.55rem 0; }
@media (max-width: 760px) {
  .brand img { width: 62px; height: 62px; }
  .is-stuck .brand img { width: 50px; height: 50px; }
  .brand b { font-size: 1.3rem; }
}

/* A faint shade under the transparent header, so the wordmark reads over any photo. */
.site-head::before {
  content: ""; position: absolute; inset: 0 0 -2.5rem; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 9, 15, 0.6), transparent);
  transition: opacity 0.35s var(--ease);
}
.site-head.is-stuck::before { opacity: 0; }

/* =====================================================================
   Header v4: logo centred, navigation split either side of it.
   ===================================================================== */
.head-bar { position: relative; display: flex; align-items: center; min-height: 96px; transition: min-height 0.35s var(--ease); }
.is-stuck .head-bar { min-height: 64px; }
.nav-panel { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-panel .nav { display: flex; align-items: center; gap: 2.1rem; }
.brand {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  margin: 0; z-index: 2;
}
/* No disc. A soft light edge follows the crest's own outline so it reads on dark. */
.brand img, .foot-grid img {
  background: none; border-radius: 0; padding: 0; box-shadow: none;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.22)) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}
.brand img { width: 104px; height: 104px; transition: width 0.35s var(--ease), height 0.35s var(--ease); }
.is-stuck .brand img { width: 66px; height: 66px; }
.brand:hover img { filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 20px rgba(245, 201, 166, 0.45)) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45)); }
.site-head { padding: 0.9rem 0; }
.site-head.is-stuck { padding: 0.35rem 0; }
.nav-toggle { margin-left: auto; }

@media (max-width: 1100px) { .nav-panel .nav { gap: 1.4rem; } .nav a { font-size: 0.88rem; } }
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; font: inherit; font-size: 0.9rem; font-weight: 700;
    color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--glass-line-2);
    border-radius: 999px; padding: 0.6rem 1.1rem; cursor: pointer; position: relative; z-index: 3;
  }
  .head-bar { min-height: 76px; }
  .brand img { width: 76px; height: 76px; }
  .is-stuck .brand img { width: 56px; height: 56px; }
  .nav-panel {
    position: absolute; left: calc(var(--gut) * -1); right: calc(var(--gut) * -1); top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; width: auto;
    padding: 0.5rem var(--gut) 1.5rem; margin-top: 0.9rem;
    background: rgba(5, 9, 15, 0.95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-line); display: none;
  }
  .nav-panel.is-open { display: flex; }
  .nav-panel .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-panel .nav a { padding: 1rem 0; border-bottom: 1px solid var(--glass-line); }
  .nav-panel .nav .btn { margin-top: 1.1rem; border-bottom: 0; }
}

/* =====================================================================
   Buttons v4
   Primary: warm orange with a lit top edge and the icon in its own small
   disc. On hover the aircraft climbs away and the arrow runs on.
   ===================================================================== */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  gap: 0.75rem; padding: 0.55rem 0.6rem 0.55rem 1.5rem; min-height: 3.25rem;
  font-weight: 700; letter-spacing: 0.005em;
  background: linear-gradient(180deg, #ee7427 0%, var(--flame) 55%, #c9560f 100%);
  border: 1px solid rgba(255, 190, 150, 0.45);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 24px -8px rgba(226, 102, 27, 0.65);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:not(:has(svg)) { padding: 0.8rem 1.6rem; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(120%); }
.btn:hover, .btn:focus-visible {
  background: linear-gradient(180deg, #f07c30 0%, #e56a1d 55%, #c9560f 100%);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 16px 30px -10px rgba(226, 102, 27, 0.8);
}
.btn:active { transform: translateY(0); }
.btn svg {
  width: 2.15rem; height: 2.15rem; padding: 0.55rem; flex: none;
  border-radius: 50%; background: rgba(255, 255, 255, 0.2); box-sizing: border-box;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.btn:hover svg { transform: translate(3px, -3px) rotate(-8deg); background: rgba(255, 255, 255, 0.3); }

.btn--light {
  background: #fff; color: var(--ink-900); border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
}
.btn--light svg { background: var(--ink-900); color: #fff; }
.btn--light:hover, .btn--light:focus-visible { background: #fff; color: var(--flame-deep); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6); }
.btn--light:hover svg { background: var(--flame); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.06); border-color: var(--glass-line-2); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: none;
}
.btn--ghost:hover, .btn--ghost:focus-visible { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.45); box-shadow: none; }
.btn--ghost svg { background: rgba(255, 255, 255, 0.12); }

.nav .btn { min-height: 2.8rem; padding: 0.6rem 1.35rem; font-size: 0.9rem; }
.fab { padding: 0.45rem 0.5rem 0.45rem 1.3rem; gap: 0.7rem; background: linear-gradient(180deg, #ee7427, var(--flame) 55%, #c9560f); border: 1px solid rgba(255, 190, 150, 0.45); }
.fab svg { width: 2rem; height: 2rem; padding: 0.5rem; border-radius: 50%; background: rgba(255, 255, 255, 0.22); box-sizing: border-box; transition: transform 0.4s var(--ease); }
.fab:hover svg { transform: translate(3px, -3px) rotate(-8deg); }
.btn[disabled], .btn[disabled]:hover { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .btn::after { display: none; }
  .btn:hover, .btn:hover svg, .fab:hover svg { transform: none; }
}

/* The old single-nav phone rules must not reach the new link groups. */
.nav-panel .nav { position: static; inset: auto; background: none; border: 0; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* =====================================================================
   Motion v4
   ===================================================================== */

/* Headline mask reveal. site.js wraps each word; each rises out of its own line. */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.split .w > span { display: inline-block; transform: translateY(108%); transition: transform 1s cubic-bezier(0.2, 0.7, 0.1, 1); transition-delay: calc(var(--i, 0) * 60ms); }
.split.is-in .w > span { transform: none; }

/* Smooth scrolling with Lenis. */
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; }

/* Scroll-linked depth. The backdrop has spare height to drift into. */
.backdrop { inset: -7vh 0; will-change: transform; }
.depth { will-change: translate; }

/* Thin orange progress line along the top edge. */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90; pointer-events: none;
  background: linear-gradient(90deg, var(--flame), var(--flame-soft));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* Page transitions between Home, Registration and the confirmation page. */
@view-transition { navigation: auto; }
.site-head { view-transition-name: site-head; }
::view-transition-old(root) { animation: vt-out 0.35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  .split .w > span { transform: none !important; transition: none; }
  .backdrop, .depth { transform: none !important; translate: none !important; }
  .scroll-progress { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Highlighted words in big headings. Only spans with .hl are recoloured, so the
   word spans added by the reveal keep the heading's own colour and flow. */
.hero h1 span, .sec-head h2 span, .page-head h1 span { display: inline; color: inherit; }
.hero h1 .hl { display: block; color: var(--sky); }
.sec-head h2 .hl, .page-head h1 .hl { color: var(--sky); }

/* More room between the membership cards and the fee table. */
.fee-table { margin-top: clamp(2rem, 4vw, 3rem); }

/* =====================================================================
   Header v5
   Text links on the left, buttons on the right, and the crest in the centre
   on a white shield plate that hangs from the top edge. The plate echoes the
   shield of the SFI crest, and white is what the crest was drawn for.
   ===================================================================== */
.site-head { --pad: 0.9rem; padding: var(--pad) 0; }
.site-head.is-stuck { --pad: 0.4rem; }
.head-bar { min-height: 64px; }
.is-stuck .head-bar { min-height: 56px; }
.nav-panel .nav--left { gap: 1.9rem; }
.nav-panel .nav--right { gap: 0.9rem; }
.nav .btn, .nav .btn:hover, .nav .btn:focus-visible, .nav a.btn[aria-current="page"] { border-bottom: 0; }

.brand {
  top: calc(var(--pad) * -1); transform: translateX(-50%);
  width: 132px; height: 150px; padding-top: 20px;
  display: grid; justify-items: center; align-content: start;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 150' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23e9eef6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 0H132V96C132 122 104 138 66 150C28 138 0 122 0 96Z' fill='url(%23g)'/%3E%3Cpath d='M3 97C3 119 30 134 66 146C102 134 129 119 129 97' fill='none' stroke='%23e2661b' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.5));
  transform-origin: 50% 0;
  transition: transform 0.4s var(--ease), top 0.35s var(--ease);
}
.brand img { width: 94px; height: 94px; filter: none; background: none; padding: 0; box-shadow: none; }
.is-stuck .brand img { width: 94px; height: 94px; }
.is-stuck .brand { transform: translateX(-50%) scale(0.68); }
.brand:hover { transform: translateX(-50%) translateY(3px); }
.is-stuck .brand:hover { transform: translateX(-50%) scale(0.68) translateY(3px); }
.brand:hover img { filter: none; }
.foot-grid img { filter: none; background: #fff; border-radius: 14px; padding: 8px; width: 84px; height: 84px; }

/* The links and the plate need room: below 1080px the menu takes over. */
@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex; align-items: center; font: inherit; font-size: 0.9rem; font-weight: 700;
    color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--glass-line-2);
    border-radius: 6px; padding: 0.6rem 1.1rem; cursor: pointer; position: relative; z-index: 3; margin-left: auto;
  }
  .nav-panel {
    position: absolute; left: calc(var(--gut) * -1); right: calc(var(--gut) * -1); top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; width: auto;
    margin-top: 0; padding: 3.5rem var(--gut) 1.6rem;
    background: rgba(5, 9, 15, 0.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-line); display: none;
  }
  .nav-panel.is-open { display: flex; }
  .nav-panel .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-panel .nav--left a { padding: 1rem 0; border-bottom: 1px solid var(--glass-line); }
  .nav-panel .nav--right { flex-direction: row; gap: 1.2rem; margin-top: 1.4rem; padding: 0 0.5rem; }
  .nav-panel .nav--right .btn { flex: 1; }
  .brand { width: 100px; height: 114px; padding-top: 15px; }
  .brand img, .is-stuck .brand img { width: 70px; height: 70px; }
  .is-stuck .brand { transform: translateX(-50%) scale(0.8); }
}

/* =====================================================================
   Buttons v5: the wing
   A swept parallelogram, like the italic SFI lettering and a wing's sweep.
   The slanted shape lives on ::before so the text stays upright. The icon sits
   behind a slanted divider, and the aircraft climbs away on hover.
   ===================================================================== */
.btn, .btn:hover, .btn:focus-visible,
.btn--light, .btn--light:hover, .btn--light:focus-visible,
.btn--ghost, .btn--ghost:hover, .btn--ghost:focus-visible {
  background: none; border-color: transparent; box-shadow: none; border-radius: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.btn { overflow: visible; padding: 0.8rem 1.75rem; gap: 0.85rem; min-height: 3.15rem; color: #fff; }
.btn:not(:has(svg)) { padding: 0.8rem 1.9rem; }
.btn::after { display: none; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: skewX(-16deg); border-radius: 5px;
  background:
    linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.34) 50%, transparent 62%) 170% 0 / 260% 100% no-repeat,
    linear-gradient(180deg, #ef772a 0%, var(--flame) 55%, #c8550f 100%);
  border: 1px solid rgba(255, 196, 158, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 12px 26px -10px rgba(226, 102, 27, 0.75);
  transition: background-position 0.9s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before {
  background-position: -70% 0, 0 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 18px 32px -10px rgba(226, 102, 27, 0.9);
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn:focus-visible { outline: none; }
.btn:focus-visible::before { outline: 3px solid #fff; outline-offset: 3px; }

.btn svg {
  width: 1.2rem; height: 1.2rem; padding: 0 0 0 1rem; margin: 0; box-sizing: content-box;
  border-radius: 0;
  background: linear-gradient(74deg, transparent 46%, rgba(255, 255, 255, 0.5) 46% 52%, transparent 52%) left center / 12px 150% no-repeat;
  transition: transform 0.45s var(--ease);
}
.btn:hover svg, .btn:focus-visible svg { transform: translate(4px, -4px) rotate(-10deg); }

.btn--light { color: var(--ink-900); }
.btn--light::before {
  background: linear-gradient(105deg, transparent 38%, rgba(226, 102, 27, 0.18) 50%, transparent 62%) 170% 0 / 260% 100% no-repeat, #fff;
  border-color: #fff; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.55);
}
.btn--light svg { background-image: linear-gradient(74deg, transparent 46%, rgba(10, 21, 36, 0.35) 46% 52%, transparent 52%); color: var(--ink-900); }
.btn--light:hover, .btn--light:focus-visible { color: var(--flame-deep); }

.btn--ghost { color: #fff; }
.btn--ghost::before { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.3); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost:hover::before, .btn--ghost:focus-visible::before { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.55); box-shadow: none; }

.nav .btn { min-height: 2.75rem; padding: 0.55rem 1.3rem; font-size: 0.9rem; color: #fff; }
.nav .btn svg { width: 1.05rem; height: 1.05rem; padding-left: 0.85rem; }

/* Hero quick links: the same swept shape, in glass. */
.quick a, .quick a:hover, .quick a:focus-visible {
  position: relative; isolation: isolate; background: none; border: 0; border-radius: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0.7rem 1.35rem;
}
.quick a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-16deg); border-radius: 4px;
  background: rgba(13, 24, 42, 0.52); border: 1px solid var(--glass-line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.quick a:hover::before, .quick a:focus-visible::before { background: rgba(226, 102, 27, 0.22); border-color: rgba(245, 201, 166, 0.6); }
.quick { gap: 0.9rem 1.1rem; }

/* Floating apply button: a wing too. */
.fab, .fab:hover, .fab:focus-visible { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0.85rem 1.6rem; gap: 0.8rem; isolation: isolate; }
.fab::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-16deg); border-radius: 5px;
  background: linear-gradient(180deg, #ef772a 0%, var(--flame) 55%, #c8550f 100%);
  border: 1px solid rgba(255, 196, 158, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 14px 30px -8px rgba(0, 0, 0, 0.55);
}
.fab svg {
  width: 1.1rem; height: 1.1rem; padding: 0 0 0 0.9rem; border-radius: 0; box-sizing: content-box;
  background: linear-gradient(74deg, transparent 46%, rgba(255, 255, 255, 0.5) 46% 52%, transparent 52%) left center / 12px 150% no-repeat;
}
.fab:hover svg { transform: translate(4px, -4px) rotate(-10deg); }
@media (max-width: 640px) { .fab { left: 1.4rem; right: 1.4rem; } }

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:hover svg, .fab:hover svg, .brand:hover { transform: translateX(0); }
  .brand:hover { transform: translateX(-50%); }
  .is-stuck .brand:hover { transform: translateX(-50%) scale(0.68); }
  .btn::before { transition: none; }
}

/* Narrow phones: stack the two menu buttons so neither label wraps. */
@media (max-width: 520px) {
  .nav-panel .nav--right { flex-direction: column; gap: 0.9rem; padding: 0 0.6rem; }
}

/* ---------- The aircraft takes off (site.js) ---------- */
.fly-plane {
  position: fixed; z-index: 300; pointer-events: none; margin: 0; padding: 0; background: none;
  transform-origin: 50% 50%; will-change: transform, opacity;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 8px rgba(245, 201, 166, 0.45));
}
.fly-trail {
  position: fixed; z-index: 299; pointer-events: none; height: 2px; margin-top: -1px;
  transform-origin: 0 50%; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 35%, rgba(255, 236, 222, 0.85) 100%);
  box-shadow: 0 0 10px rgba(245, 201, 166, 0.55);
}

/* An older hover rule gave the icon a translucent box, which showed as a tilted
   rectangle on hover and click and also wiped the slanted divider. Restate the
   icon background for every hover, focus and press state. */
.btn:hover svg, .btn:focus-visible svg, .btn:active svg,
.fab:hover svg, .fab:focus-visible svg, .fab:active svg {
  background: linear-gradient(74deg, transparent 46%, rgba(255, 255, 255, 0.5) 46% 52%, transparent 52%) left center / 12px 150% no-repeat;
  border-radius: 0;
}
.btn--light:hover svg, .btn--light:focus-visible svg, .btn--light:active svg {
  background: linear-gradient(74deg, transparent 46%, rgba(10, 21, 36, 0.35) 46% 52%, transparent 52%) left center / 12px 150% no-repeat;
}
.btn:active::before { filter: brightness(0.94); }

/* =====================================================================
   Loading screen
   The crest on its shield plate, a horizon line that fills while a small
   aircraft runs along it and lifts off, then the whole screen rises away.
   Shown once per visit. The head script adds .is-loading only on the first
   page of a visit; later pages get .seen and never show it.
   Fail safe: if JavaScript never finishes, the screen clears itself after
   six seconds, and the hero appears on its own.
   ===================================================================== */
.loader { display: none; }
.js.is-loading .loader {
  position: fixed; inset: 0; z-index: 500;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.8rem;
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(44, 70, 113, 0.45), transparent 70%),
    var(--night);
  animation: loader-failsafe 0.6s ease 6s forwards;
}
.loader.is-done {
  display: flex; position: fixed; inset: 0; z-index: 500; flex-direction: column; align-items: center; justify-content: center; gap: 1.8rem;
  background: var(--night);
  transform: translateY(-100%);
  transition: transform 0.95s cubic-bezier(0.76, 0, 0.24, 1);
}
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }

.loader__plate {
  width: 150px; height: 170px; padding-top: 24px;
  display: grid; justify-items: center; align-content: start;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 150' preserveAspectRatio='none'%3E%3Cpath d='M0 0H132V96C132 122 104 138 66 150C28 138 0 122 0 96Z' fill='%23ffffff'/%3E%3Cpath d='M3 97C3 119 30 134 66 146C102 134 129 119 129 97' fill='none' stroke='%23e2661b' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.55));
  animation: plate-in 0.8s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}
.loader__plate img { width: 104px; height: 104px; }
@keyframes plate-in { from { opacity: 0; transform: translateY(-24px) scale(0.94); } }

.loader__track { --tw: min(280px, 64vw); position: relative; width: var(--tw); height: 2px; background: rgba(255, 255, 255, 0.12); border-radius: 2px; }
.loader__track i {
  position: absolute; inset: 0; border-radius: 2px; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--flame), var(--flame-soft));
  box-shadow: 0 0 12px rgba(226, 102, 27, 0.6);
  animation: track-fill 1.25s cubic-bezier(0.45, 0, 0.2, 1) 0.25s forwards;
}
.loader__track svg {
  position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; color: #fff;
  filter: drop-shadow(0 0 8px rgba(245, 201, 166, 0.7));
  animation: plane-run 1.25s cubic-bezier(0.45, 0, 0.2, 1) 0.25s forwards;
}
@keyframes track-fill { to { transform: scaleX(1); } }
@keyframes plane-run {
  0%   { transform: translateX(0) rotate(40deg); }
  75%  { transform: translateX(calc(var(--tw) * 0.8)) rotate(40deg); }
  100% { transform: translateX(var(--tw)) translateY(-14px) rotate(18deg); }
}
.loader__name { margin: 0; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-2); animation: plate-in 0.8s 0.2s cubic-bezier(0.2, 0.7, 0.1, 1) both; }

/* While the loader is up, the hero waits. If the script never removes
   .is-loading, the late fallback animation shows the hero anyway. */
@keyframes rise-late { to { opacity: 1; transform: none; } }
.is-loading .hero .rise { animation: rise-late 0.6s ease 6s forwards; }
.is-loading .split .w > span { transform: translateY(108%) !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .loader.is-done { transform: none; opacity: 0; transition: opacity 0.3s linear; }
  .loader__plate, .loader__name, .loader__track i, .loader__track svg { animation: none; }
  .loader__track i { transform: scaleX(1); }
}

/* Stagger the page change: the old page is gone before the new one arrives,
   so the two never show on top of each other. */
::view-transition-old(root) { animation: vt-out 0.22s ease-in both; }
::view-transition-new(root) { animation: vt-in 0.5s var(--ease) 0.18s both; }

/* ---------- Photos: shade only where the words are ----------
   The overall shade is lighter so the photos read, and a soft dark pool sits
   behind each block of text so the words stay clear over any face or cloud. */
.backdrop::after {
  background: linear-gradient(180deg, rgba(5, 9, 15, 0.5) 0%, rgba(5, 9, 15, 0.26) 40%, rgba(5, 9, 15, 0.58) 100%);
}
.sec-head, .hero > .wrap { position: relative; isolation: isolate; }
.sec-head::before, .hero > .wrap::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -3rem -6rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(5, 9, 15, 0.62), rgba(5, 9, 15, 0.3) 60%, transparent);
}
.hero > .wrap::before { inset: -4rem 0; }

/* ---------- Signature moments (site.js) ---------- */
.sky-plane {
  position: fixed; left: 0; z-index: 70; pointer-events: none;
  width: 52px; height: 17px; color: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
}
.sky-trail {
  position: fixed; left: -60px; z-index: 69; height: 1.5px; pointer-events: none;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.18) 45%, rgba(255, 255, 255, 0.6) 100%);
}
.jump-layer { position: fixed; inset: 0; z-index: 400; pointer-events: none; overflow: hidden; }
.jump-layer svg, .jump-canopy.land { position: absolute; left: 0; top: 0; overflow: visible; }
.jump-canopy.land { position: fixed; z-index: 400; pointer-events: none; }
.jump-plane { width: 76px; height: 24px; color: #fff; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5)); }
.jump-fall { width: 38px; height: 29px; color: #fff; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); }
.jump-canopy { width: 84px; height: 84px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45)); }
/* The tick waits for the canopy to land before it draws itself. */
.tick.wait svg { animation: none; stroke-dashoffset: 30; }

/* =====================================================================
   Direction B, Refined (applied 29 Sep 2026)
   Same Aero Club structure, with the AI tells taken out:
   - no pale blue two-tone: highlighted words are warm cream from the crest orange
   - calmer heading weights, 700 to 800 instead of 900
   - section labels are plain small type, not a pill on every heading
   - glass is calmer: less blur, softer edge, warmer text
   ===================================================================== */
:root {
  --text:   #f1f3f7;
  --text-2: #cdd4df;
  --muted:  #9aa6b8;
  --warm:   #f5c9a6;
  --glass:  rgba(14, 26, 45, 0.58);
  --radius: 14px;
}
.glass { -webkit-backdrop-filter: blur(10px) saturate(115%); backdrop-filter: blur(10px) saturate(115%); }

/* Headings */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.022em; }
.hero h1 { font-weight: 800; letter-spacing: -0.03em; }
.sec-head h2, .join h2, .page-head h1, .received h1 { font-weight: 700; letter-spacing: -0.025em; }
.hero h1 .hl, .sec-head h2 .hl, .page-head h1 .hl { color: var(--warm); }
.card h3, .duties h3, .tier h3, .apply-card h3 { font-weight: 700; }
.statement h2 { font-weight: 700; letter-spacing: 0.02em; }

/* Section labels: plain small type with the orange dot, no pill. */
.chip, .sec-head .chip, .join .chip, .statement .chip, .glass .chip, .page-head .chip {
  background: none; border: 0; padding: 0; border-radius: 0;
  color: var(--warm); letter-spacing: 0.2em; font-weight: 700;
}
.chip i { width: 6px; height: 6px; }

/* Price and numbers pick up the same warm tone. */
.price .total dd, .sum-lines .tot dd, .duties li::before { color: var(--warm); }
.price .total dd { font-weight: 800; }

/* ===== UI/UX audit fixes (29 Sep 2026) ===== */

/* A. Contrast: lighter grey so small text reads over bright photos. */
:root { --muted: #b8c2d0; }

/* B. Footer titles are now h2.foot-title. Same look as the old h4. */
.site-foot .foot-title {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: #fff; margin: 0 0 1.1rem; line-height: 1.3;
}

/* C. Touch targets: footer links at least 44px tall on phones. */
@media (max-width: 900px) {
  .site-foot li a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-foot ul { gap: 0; }
}

/* D. No text under 12px. */
.chip, .sec-head .chip, .join .chip, .statement .chip, .glass .chip, .page-head .chip,
.card__badge, .tier__label, .price dt, .fee-table thead th,
.mcard__org, .mcard__tier, .mcard__meta, .loader__name, .progress li {
  font-size: 0.75rem;
}
/* Bigger badge text needs a little less padding and spacing to still fit. */
.card__badge { padding: 0.3rem 0.7rem; letter-spacing: 0.1em; }

/* E. Faster taps: no double-tap zoom delay on controls. */
a, button, input, select, textarea, label { touch-action: manipulation; }

/* F. Loader skip hint, and show the whole loader can be clicked. */
.loader__skip {
  margin: 0; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--muted);
  opacity: 0; animation: plate-in 0.6s 0.9s ease both;
}
.js.is-loading .loader { cursor: pointer; }

/* G. Review headings are now h3. */
.review h3 { font-size: 1rem; font-weight: 800; margin: 0; }

/* H. Snappier motion: entrances around 0.55s. */
.reveal { transition-duration: 0.55s; }
.stagger > * { transition-duration: 0.5s; }
.stagger.is-in > *:nth-child(2) { transition-delay: 0.04s; }
.stagger.is-in > *:nth-child(3) { transition-delay: 0.08s; }
.stagger.is-in > *:nth-child(4) { transition-delay: 0.12s; }
.stagger.is-in > *:nth-child(5) { transition-delay: 0.16s; }
.stagger.is-in > *:nth-child(6) { transition-delay: 0.2s; }
.stagger.is-in > *:nth-child(7) { transition-delay: 0.24s; }
.stagger.is-in > *:nth-child(8) { transition-delay: 0.28s; }

.split .w > span { transition-duration: 0.6s; transition-delay: calc(var(--i, 0) * 40ms); }
/* Keep words hidden while the loader is up. Must come after the rule above. */
.is-loading .split .w > span { transform: translateY(108%) !important; transition: none !important; }

.hero .rise { animation-duration: 0.6s; }
.hero .rise:nth-child(2) { animation-delay: 0.08s; }
.hero .rise:nth-child(3) { animation-delay: 0.16s; }
.hero .rise:nth-child(4) { animation-delay: 0.24s; }
.hero .rise:nth-child(5) { animation-delay: 0.32s; }
/* Fail-safe restated: the delay rules above have the same weight and would
   cancel the 6s wait, so the hero would show under the loading screen. */
.is-loading .hero .rise { animation: rise-late 0.6s ease 6s forwards; }

/* I. Reduced motion: show the skip hint at once, no animation. */
@media (prefers-reduced-motion: reduce) {
  .loader__skip { animation: none; opacity: 1; }
}

/* Error list with links in the form alert (form.js builds it). */
.form-alert p { margin: 0 0 0.5rem; }
.form-alert ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; font-weight: 500; }
.form-alert a { color: #ffe3d4; text-decoration: underline; text-underline-offset: 3px; }
.form-alert a:hover, .form-alert a:focus-visible { color: #fff; }
