/* =============================================================================
   European Fraternity — CCMP application page (/ccmp)
   Loaded on ccmp.html only, after main.css. It borrows the event site's
   signature (ccmp-rome.com): the five days of the programme read as one sky,
   Wednesday arriving at dusk and Sunday sending at dawn.
   Everything here is prefixed cx- so nothing leaks into the other pages.
   ========================================================================== */

:root {
  /* the week's sky, band by band; each day's end is the next day's start */
  --cx-night: #070C16;
  --cx-wed:   #0A1220;
  --cx-wed-b: #0E1A30;
  --cx-thu-b: #16304F;
  --cx-fri-b: #2C4A6B;
  --cx-sat-b: #44607E;
  --cx-sun-a: #DAD5CC;
  --cx-sun-b: #F1EDE6;
  --cx-head: 4.5rem;          /* header height, measured by ccmp.js */
  --cx-tabs: 3.5rem;
}

.cx-num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- 1. Header: event lockup + Apply ------------------------------ */
.cx-brand { display: inline-flex; align-items: center; gap: .9rem; }
.cx-brand__event {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  padding-left: .9rem;
  border-left: 1px solid rgba(255,255,255,.22);
  color: var(--ink-on-dark-soft);
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.cx-brand__event b { font-weight: 600; font-size: .78rem; letter-spacing: .2em; color: var(--ink-on-dark); transition: color .5s var(--ease); }
.cx-brand__event span { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; margin-top: .22rem; }
.site-header.is-light .cx-brand__event { color: var(--ink-on-light-soft); border-left-color: rgba(0,51,102,.25); }
.site-header.is-light .cx-brand__event b { color: var(--navy); }

.cx-apply {
  margin-left: auto;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .62rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(227,195,108,.55);
  color: var(--gold-lt);
  transition: background .35s, color .35s, border-color .35s;
}
.cx-apply:hover { background: var(--gold); border-color: var(--gold); color: #17130A; }
.site-header.is-light .cx-apply { color: var(--navy); border-color: rgba(0,51,102,.35); }
.site-header.is-light .cx-apply:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (max-width: 620px) {
  .cx-brand__event { padding-left: .65rem; }
  .cx-brand__event span { display: none; }
  .cx-apply { padding: .5rem .85rem; font-size: .64rem; }
}

/* ---------- 2. Hero ------------------------------------------------------ */
.cx-hero { align-items: stretch; }
.cx-hero .hero__media { inset: 0; }
.cx-hero .hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: cx-drift 46s var(--ease) forwards;
}
@keyframes cx-drift { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.cx-hero .hero__scrim {
  background:
    linear-gradient(100deg, rgba(5,9,16,.82) 0%, rgba(5,9,16,.5) 40%, rgba(5,9,16,.16) 72%),
    radial-gradient(70% 50% at 70% 30%, rgba(255,214,150,.08) 0%, transparent 70%),
    linear-gradient(180deg, rgba(5,9,16,.72) 0%, rgba(5,9,16,.2) 28%, rgba(5,9,16,.64) 66%, var(--cx-night) 100%);
}
.cx-hero .hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  align-self: end;
  padding-bottom: clamp(8rem, 18vh, 11rem);
}
.cx-hero h1 { max-width: none; font-size: clamp(2.5rem, 1rem + 3.6vw, 4.1rem); margin-bottom: 1.3rem; }
.cx-hero .lede { max-width: 44ch; margin-bottom: 2.2rem; }
.cx-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin: 0 0 1.4rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #F0DCA8;
  text-shadow: 0 1px 12px rgba(5,9,16,.7);
}
.cx-kicker span + span::before { content: "\00B7"; margin-right: 1.4rem; opacity: .6; }

/* the glass panel: the facts an applicant needs before reading on */
.cx-panel {
  position: relative;
  border-radius: calc(var(--r) + 2px);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(10,17,30,.46);
  -webkit-backdrop-filter: saturate(140%) blur(22px);
  backdrop-filter: saturate(140%) blur(22px);
  padding: clamp(1.3rem, 2.2vw, 1.8rem);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.8);
  overflow: hidden;
}
.cx-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(90% 60% at 100% 0%, rgba(227,195,108,.14), transparent 60%);
  pointer-events: none;
}
.cx-panel > * { position: relative; }
.cx-panel__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: .4rem;
}
.cx-panel__head span:first-child::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-lt); margin-right: .55rem; vertical-align: 1px;
  animation: cx-pulse 2.4s ease-out infinite;
}
@keyframes cx-pulse { from { box-shadow: 0 0 0 0 rgba(227,195,108,.6); } to { box-shadow: 0 0 0 9px rgba(227,195,108,0); } }
.cx-panel__count { color: var(--ink-on-dark-soft); letter-spacing: .12em; }
.cx-panel__count b { font-weight: 600; color: var(--ink-on-dark); }
.cx-panel dl { margin: 0; }
.cx-panel__row { display: grid; grid-template-columns: 4.2rem 1fr; gap: .1rem 1rem; padding: .85rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.cx-panel__row:first-child { border-top: 0; }
.cx-panel dt { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-on-dark-mute); padding-top: .42rem; }
.cx-panel dd { margin: 0; }
.cx-panel dd b { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.2; }
.cx-panel dd span { font-size: .8rem; color: var(--ink-on-dark-mute); }

/* the five-day strip along the bottom of the hero */
.cx-strip {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
}
.cx-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .18rem;
  padding: 1rem clamp(.8rem, 1.6vw, 1.5rem) 1.05rem;
  min-height: 5rem;
  color: var(--ink-on-dark);
  background: linear-gradient(90deg, var(--a), var(--b));
  transition: filter .4s var(--ease);
  overflow: hidden;
}
.cx-tab + .cx-tab { border-left: 1px solid rgba(255,255,255,.1); }
.cx-tab--wed { --a: var(--cx-night);  --b: var(--cx-wed-b); }
.cx-tab--thu { --a: var(--cx-wed-b);  --b: var(--cx-thu-b); }
.cx-tab--fri { --a: var(--cx-thu-b);  --b: var(--cx-fri-b); }
.cx-tab--sat { --a: var(--cx-fri-b);  --b: #8C97A4; }
.cx-tab--sun { --a: var(--cx-sun-a);  --b: #F8F6F2; color: var(--ink-on-light); }
.cx-tab:hover { filter: brightness(1.12); }
.cx-tab__d { font-size: .64rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.cx-tab__d i { font-style: normal; display: none; }
.cx-tab__n { font-family: var(--f-display); font-size: clamp(1.2rem, 1rem + .8vw, 1.7rem); font-weight: 500; line-height: 1; letter-spacing: -.01em; }
.cx-tab__n small { font-family: var(--f-body); font-size: .62rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-left: .45rem; opacity: .8; vertical-align: .28em; }
.cx-tab__t { font-size: .78rem; opacity: .84; margin-top: .1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* a small sun travels along the sky as the reader scrolls through the week */
.cx-tab__sun {
  position: absolute;
  top: 0;
  left: var(--x, 0%);
  width: 1px; height: 100%;
  background: linear-gradient(180deg, rgba(227,195,108,.95), rgba(227,195,108,.1));
  opacity: 0;
  transition: opacity .5s;
}
.cx-tab__sun::before {
  content: ""; position: absolute; top: -4px; left: -4px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold-lt); box-shadow: 0 0 14px 3px rgba(227,195,108,.55);
}
.cx-tab--sun .cx-tab__sun { background: linear-gradient(180deg, rgba(200,153,1,.95), rgba(200,153,1,.1)); }
.cx-tab--sun .cx-tab__sun::before { background: var(--gold); box-shadow: 0 0 14px 3px rgba(200,153,1,.45); }
.cx-tab.is-active .cx-tab__sun { opacity: 1; }
.cx-tab.is-active::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--gold); }
.cx-tab.is-past { filter: saturate(.7); }
.cx-tab.is-past .cx-tab__n, .cx-tab.is-past .cx-tab__t, .cx-tab.is-past .cx-tab__d { opacity: .55; }

/* stacked on a phone, so a wrapped line never starts with the separator */
@media (max-width: 620px) {
  .cx-kicker { flex-direction: column; gap: .35rem; }
  .cx-kicker span + span::before { content: none; }
}
@media (max-width: 960px) {
  .cx-hero .hero__inner { grid-template-columns: 1fr; align-items: start; padding-bottom: clamp(7.5rem, 16vh, 10rem); }
  .cx-panel { max-width: 30rem; }
}
@media (max-width: 720px) {
  .cx-tab { padding: .7rem .5rem .8rem; min-height: 4rem; gap: .1rem; }
  .cx-tab__t, .cx-tab__n small { display: none; }
  .cx-tab__d { font-size: .56rem; letter-spacing: .12em; }
  .cx-tab__d b { display: none; }
  .cx-tab__d i { display: inline; }
  .cx-tab__d b, .cx-tab__d i { font-weight: 500; }
}
.cx-tab__d b { font-weight: 500; }

/* ---------- 3. Night bands before the week ------------------------------- */
.cx-b1 { --from: var(--cx-night); --to: var(--cx-night); }
.cx-b2 { --from: var(--cx-night); --to: var(--cx-wed); }
.cx-b3 { --from: var(--cx-wed);   --to: var(--cx-wed); }

.cx-stat { min-height: 9.5rem; }
.cx-stat .stat__num { font-size: clamp(2.75rem, 1.8rem + 3.4vw, 4.25rem); }
/* on a phone the three figures share one row instead of stacking three cards */
@media (max-width: 900px) {
  .bento .cx-stat { grid-column: span 2; }
}
@media (max-width: 620px) {
  .bento .cx-stat { min-height: 0; padding: 1.1rem .85rem 1rem; }
  .cx-stat .stat__num { font-size: 2.3rem; }
  .cx-stat .stat__label { margin-top: .55rem; font-size: .58rem; letter-spacing: .1em; line-height: 1.45; }
}

/* four things, numbered, two by two */
.cx-takes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 6vw, 6rem);
  margin-top: clamp(2.5rem, 5vh, 4rem);
  counter-reset: take;
}
.cx-take {
  counter-increment: take;
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0 1rem;
  padding: clamp(1.5rem, 3.4vh, 2.2rem) 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.cx-take::before {
  content: counter(take, upper-roman);
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold-lt);
  line-height: 1.25;
}
.cx-take h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.65rem); margin-bottom: .6rem; }
.cx-take p { margin: 0; color: var(--ink-on-dark-soft); font-size: .97rem; max-width: 46ch; }
@media (max-width: 800px) { .cx-takes { grid-template-columns: 1fr; } }

/* Rome: text beside three photographs */
.cx-rome {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.cx-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(.6rem, 1.2vw, 1rem);
  aspect-ratio: 5 / 4.4;
}
.cx-mosaic figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid rgba(255,255,255,.12); min-height: 0; }
.cx-mosaic figure:first-child { grid-row: span 2; }
.cx-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.cx-mosaic figure:hover img { transform: scale(1.04); }
@media (max-width: 860px) {
  .cx-rome { grid-template-columns: 1fr; }
  .cx-mosaic { aspect-ratio: 5 / 4; }
}

/* ---------- 4. The week --------------------------------------------------- */
.cx-weekhead { background: var(--cx-wed); padding-block: clamp(3.5rem, 8vh, 6rem) clamp(2.25rem, 5vh, 3.5rem); }
.cx-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 1.75rem 0 0; padding: 0; list-style: none; font-size: .8rem; color: var(--ink-on-dark-mute); }
.cx-legend li { display: inline-flex; align-items: center; gap: .55rem; }

.cx-dot { width: 9px; height: 9px; border-radius: 50%; box-sizing: border-box; flex: none; border: 1px solid rgba(255,255,255,.5); background: transparent; }
.cx-dot--prayer { background: var(--gold); border-color: var(--gold-lt); }
.cx-dot--talk   { background: #E7E2D6; border-color: #fff; }
.cx-dot--city   { background: #7D93AB; border-color: #B9C6D4; }
.cx-dot--table  { background: transparent; }

/* sticky day tabs: the same strip as in the hero, pinned under the header */
.cx-week { position: relative; }
.cx-tabs {
  position: -webkit-sticky;
  position: sticky;
  top: var(--cx-head);
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-block: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 30px -22px rgba(0,0,0,.7);
}
.cx-tabs .cx-tab { min-height: var(--cx-tabs); padding-block: .6rem; }
.cx-tabs .cx-tab__t { display: none; }
@media (max-width: 720px) { .cx-tabs { --cx-tabs: 3.1rem; } .cx-tabs .cx-tab { min-height: 3.1rem; } }

.cx-day {
  --soft: var(--ink-on-dark-soft);
  --mute: var(--ink-on-dark-mute);
  --line: rgba(255,255,255,.2);
  --num: var(--gold-lt);
  position: relative;
  padding-block: clamp(3.5rem, 9vh, 6.5rem);
  background: linear-gradient(180deg, var(--from), var(--to));
  scroll-margin-top: calc(var(--cx-head) + var(--cx-tabs));
}
.cx-day--wed { --from: var(--cx-wed);   --to: var(--cx-wed-b); }
.cx-day--thu { --from: var(--cx-wed-b); --to: var(--cx-thu-b); }
.cx-day--fri { --from: var(--cx-thu-b); --to: var(--cx-fri-b); }
.cx-day--sat { --from: var(--cx-fri-b); --to: var(--cx-sat-b); --soft: rgba(244,241,234,.92); --mute: rgba(244,241,234,.8); --num: #FFF1C7; --line: rgba(255,255,255,.3); }
.cx-day--sun {
  --from: var(--cx-sun-a); --to: var(--cx-sun-b);
  --soft: var(--ink-on-light-soft); --mute: var(--ink-on-light-mute); --line: rgba(0,51,102,.25); --num: var(--gold-dk);
  color: var(--ink-on-light);
}
.cx-day--sun h3 { color: var(--ink-on-light); }

.cx-day__grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.cx-day__head { display: flex; align-items: flex-end; gap: 1.1rem; margin-bottom: 1.4rem; }
.cx-day__n {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(4.5rem, 3rem + 6vw, 8rem);
  line-height: .8;
  letter-spacing: -.04em;
  color: var(--num);
}
.cx-day__wd { font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); line-height: 1.7; padding-bottom: .35rem; }
.cx-day__wd b { display: block; font-weight: 500; color: inherit; }
.cx-day h3 { font-size: clamp(1.7rem, 1.3rem + 1.7vw, 2.6rem); font-weight: 300; line-height: 1.1; }
.cx-day__p { margin: 1.1rem 0 0; color: var(--soft); max-width: 44ch; }
.cx-day__fig { margin: clamp(1.75rem, 4vh, 2.5rem) 0 0; max-width: 30rem; }
.cx-day__fig div { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: var(--ar, 4 / 3); }
.cx-day__fig img { width: 100%; height: 100%; object-fit: cover; }
.cx-day__fig figcaption { margin-top: .7rem; font-size: .76rem; letter-spacing: .04em; color: var(--mute); }

.cx-tl { list-style: none; margin: 0; padding: 0; position: relative; --tcol: 4.4rem; }
.cx-tl::before {
  content: ""; position: absolute; top: 1.4rem; bottom: 1.4rem; left: calc(var(--tcol) + 1.25rem);
  width: 1px; background: var(--line);
}
.cx-tl li { display: grid; grid-template-columns: var(--tcol) 2.5rem 1fr; align-items: start; padding: .95rem 0; }
.cx-tl time { font-size: .86rem; font-weight: 500; padding-top: .28rem; font-variant-numeric: tabular-nums lining-nums; }
.cx-tl .cx-dot { margin: .62rem auto 0; position: relative; z-index: 1; }
.cx-day--sun .cx-dot { border-color: rgba(0,51,102,.5); }
.cx-day--sun .cx-dot--prayer { border-color: var(--gold-dk); }
.cx-day--sun .cx-dot--talk { background: var(--navy); border-color: var(--navy); }
.cx-day--sun .cx-dot--table { background: var(--cx-sun-a); }
.cx-day:not(.cx-day--sun) .cx-dot--table { background: var(--from); }
.cx-tl h4 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.45rem); line-height: 1.25; }
.cx-tl p { margin: .25rem 0 0; font-size: .88rem; color: var(--soft); max-width: 44ch; }

/* on wide screens the timetable stays in view while the photograph passes */
@media (min-width: 861px) {
  .cx-tl { position: -webkit-sticky; position: sticky; top: calc(var(--cx-head) + var(--cx-tabs) + 1.5rem); }
}
@media (max-width: 860px) {
  .cx-day__grid { grid-template-columns: 1fr; }
  .cx-day__fig { max-width: none; }
}
@media (max-width: 520px) {
  .cx-tl { --tcol: 3.4rem; }
  .cx-tl li { grid-template-columns: var(--tcol) 1.7rem 1fr; }
  .cx-tl::before { left: calc(var(--tcol) + .85rem); }
  .cx-tl time { font-size: .8rem; }
}

/* the silent stretch where Saturday night becomes Sunday morning */
.cx-dawn {
  height: clamp(8rem, 22vh, 14rem);
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--cx-sat-b) 0%, #8C97A4 46%, #C9C6BF 80%, var(--cx-sun-a) 100%);
}
.cx-dawn svg { width: 26px; height: 38px; opacity: .6; }
.cx-dawn svg path { stroke: rgba(255,255,255,.9); stroke-width: 1.4; fill: none; stroke-linecap: round; }

/* ---------- 5. Daylight: who, cost, how, questions, form ------------------ */
.cx-l1 { --from: var(--cx-sun-b); --to: var(--l-300); }
.cx-l2 { --from: var(--l-300); --to: var(--l-300); }
.cx-l3 { --from: var(--l-300); --to: var(--l-200); }
.cx-l4 { --from: var(--l-200); --to: var(--l-300); }

.cx-who { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.cx-card {
  border-radius: var(--r);
  border: 1px solid rgba(0,51,102,.13);
  background: rgba(255,255,255,.66);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.cx-card .eyebrow { margin-bottom: .6rem; }
.cx-kv { margin: 0; }
.cx-kv div { display: grid; grid-template-columns: 6.2rem 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid rgba(0,51,102,.12); }
.cx-kv div:first-child { border-top: 0; }
.cx-kv dt { font-size: .66rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-on-light-mute); padding-top: .28rem; }
.cx-kv dd { margin: 0; font-family: var(--f-display); font-size: 1.22rem; font-weight: 500; line-height: 1.25; color: var(--ink-on-light); }
@media (max-width: 860px) { .cx-who { grid-template-columns: 1fr; } }

/* the cost, drawn to scale: a quarter is yours, three quarters are given */
.cx-cost { margin-top: clamp(2rem, 5vh, 3rem); }
.cx-cost__total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-on-light-mute); margin-bottom: .8rem; }
.cx-cost__bar { display: flex; height: 3.4rem; border-radius: 999px; overflow: hidden; border: 1px solid rgba(0,51,102,.22); background: rgba(0,51,102,.05); }
.cx-cost__you, .cx-cost__don { height: 100%; transform-origin: left; transform: scaleX(0); transition: transform 1.3s var(--ease); }
.cx-cost__you { width: 25%; background: linear-gradient(90deg, var(--gold), var(--gold-lt)); }
.cx-cost__don {
  width: 75%;
  background:
    repeating-linear-gradient(135deg, rgba(0,51,102,.14) 0 1px, transparent 1px 9px),
    rgba(0,51,102,.08);
  transition-delay: .5s;
}
.cx-cost.is-in .cx-cost__you, .cx-cost.is-in .cx-cost__don { transform: none; }
.cx-cost__keys { display: grid; grid-template-columns: 25% 1fr; margin-top: .9rem; }
.cx-cost__keys div { padding-right: 1rem; }
.cx-cost__keys span { display: block; font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-on-light-mute); }
.cx-cost__keys b { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.15; color: var(--ink-on-light); }
.cx-cost__keys div:first-child b { color: var(--gold-dk); }
@media (max-width: 520px) {
  .cx-cost__keys { grid-template-columns: 1fr 1fr; }
  .cx-cost__bar { height: 2.6rem; }
}

/* four steps on one line */
.cx-steps { list-style: none; margin: clamp(2.5rem, 5vh, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.25rem); counter-reset: step; }
.cx-steps li { counter-increment: step; position: relative; padding-top: 3.1rem; }
.cx-steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 1.15rem; font-weight: 500;
  color: var(--navy);
  border: 1px solid rgba(0,51,102,.35);
  background: var(--l-300);
  z-index: 1;
}
.cx-steps li::after { content: ""; position: absolute; top: 1.05rem; left: 2.1rem; right: calc(-1 * clamp(1.25rem, 2.5vw, 2.25rem)); height: 1px; background: rgba(0,51,102,.2); }
.cx-steps li:last-child::after { display: none; }
.cx-steps li:last-child::before { background: var(--gold); border-color: var(--gold); color: #17130A; }
.cx-steps h3 { font-size: clamp(1.25rem, 1.12rem + .45vw, 1.5rem); font-weight: 500; margin-bottom: .5rem; }
.cx-steps p { margin: 0; font-size: .94rem; color: var(--ink-on-light-soft); }
@media (max-width: 900px) {
  .cx-steps { grid-template-columns: 1fr; gap: 0; }
  .cx-steps li { padding: 0 0 1.9rem 3.4rem; }
  .cx-steps li::after { top: 2.1rem; bottom: 0; left: 1.05rem; right: auto; width: 1px; height: auto; }
}

/* questions */
.cx-faq { margin-top: clamp(2rem, 4vh, 3rem); border-top: 1px solid rgba(0,51,102,.16); }
.cx-faq details { border-bottom: 1px solid rgba(0,51,102,.16); }
.cx-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.25rem 0;
  font-family: var(--f-display);
  font-size: clamp(1.22rem, 1.1rem + .5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink-on-light);
}
.cx-faq summary::-webkit-details-marker { display: none; }
.cx-faq summary::after {
  content: "";
  flex: none;
  width: .7rem; height: .7rem;
  border-right: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .4s var(--ease);
}
.cx-faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.cx-faq summary:hover { color: var(--navy); }
.cx-faq details p { margin: 0; padding: 0 2.5rem 1.4rem 0; color: var(--ink-on-light-soft); max-width: 60ch; }

.cx-charter-close { margin-top: 2rem; font-family: var(--f-display); font-size: 1.3rem; font-style: italic; line-height: 1.4; color: var(--ink-on-light); }
.cx-note a { color: var(--navy); border-bottom: 1px solid rgba(0,51,102,.3); }
.cx-note { margin-top: 1.75rem; padding-left: 1.1rem; border-left: 2px solid var(--gold); color: var(--ink-on-light-soft); font-size: .95rem; max-width: 60ch; }
.cx-help { margin-top: 1.5rem; font-size: .9rem; color: var(--ink-on-light-mute); }
.cx-help a { color: var(--navy); border-bottom: 1px solid rgba(0,51,102,.3); }

@media (prefers-reduced-motion: reduce) {
  .cx-hero .hero__media img { animation: none; transform: scale(1.02); }
  .cx-cost__you, .cx-cost__don { transform: none; }
  .cx-panel__head span:first-child::before { animation: none; }
}
@media print {
  .cx-tabs, .cx-strip, .cx-apply { display: none; }
}
