/* ============================================================
   Chirbirey River Fest — chirbireyriverfest.com
   Design System v1.2 · Sanctorum for the Sikkim Anglers' Association
   Palette locked from the final logo. Do not adjust.
   ============================================================ */

:root {
  --river:   #1a5796;  /* River Blue — primary */
  --current: #20578d;  /* Deep Current — secondary blue */
  --gold:    #c7943a;  /* Riverbed Gold — accent, one per composition */
  --cream:   #f7f4ec;  /* Canvas */
  --wall:    #10345c;  /* Dark backgrounds, scrims */
  --ink:     #132c4a;  /* Body text on cream */
  --wash:    #8fb3d9;  /* Light tint bands */
  --wash-bg: #e9eef5;  /* Wash section background (wash tinted toward cream) */

  --display: "Space Grotesk", sans-serif;
  --body:    "Nunito Sans", sans-serif;
  --mono:    "Space Mono", monospace;

  /* base-8 spacing ladder: 8 / 16 / 24 / 40 / 64 / 104 */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--river); }

/* ---------- type roles ---------- */

.mono-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--river);
}

.field-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--current);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--river);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* one oversized moment per section */
.display-xl { font-size: clamp(44px, 7.5vw, 96px); }
.display-lg { font-size: clamp(34px, 5vw, 64px); }
h3 { font-size: 22px; }

p { max-width: 62ch; }

/* ---------- section rhythm (layout L) ---------- */

.section {
  padding: clamp(72px, 10vw, 152px) 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px; /* web gutters: 24 min mobile */
}

@media (min-width: 900px) {
  .container { padding: 0 64px; } /* 64+ desktop */
}

.bg-cream { background: var(--cream); }
.bg-wash  { background: var(--wash-bg); }
.bg-wall  { background: var(--wall); color: var(--cream); }
.bg-wall h2, .bg-wall h3 { color: var(--cream); }
.bg-wall .mono-label { color: var(--wash); }
.bg-wall .field-note { color: var(--wash); }

/* grain on wall surfaces — craft cue */
.bg-wall {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* headline underline treatment (current-lines) */
.underline-current {
  margin-top: var(--s2);
  width: min(180px, 50%);
  height: auto;
}

/* ---------- nav (layout K) ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s3) 0;
}

.nav .wordmark img { height: 104px; width: auto; }

.nav-links {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--river);
}

.nav-links a.nav-register { color: var(--gold); }

@media (max-width: 700px) {
  .nav-links a:not(.nav-register) { display: none; }
  .nav .wordmark img { height: 72px; }
}

/* ---------- hero (layout K: asymmetric split, band crossing the seam) ---------- */

.hero { position: relative; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
  align-items: center;
  padding: var(--s4) 0 var(--s6);
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 58% 42%; gap: var(--s5); }
}

.hero-copy .mono-label { display: block; margin-bottom: var(--s3); }

.hero-copy h1 { color: var(--river); }
.hero-copy h1 .gold-word { color: var(--gold); }

.hero-venue {
  margin-top: var(--s3);
  font-size: 18px;
  max-width: 40ch;
}

.hero-cta-row {
  margin-top: var(--s4);
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
}

/* duotone image treatment: grayscale + River Blue multiply + cream screen */
.duotone {
  position: relative;
  overflow: hidden;
}
.duotone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.duotone::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--river);
  mix-blend-mode: multiply;
  z-index: 1;
}
.duotone::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--cream);
  mix-blend-mode: screen;
  opacity: 0.25;
  z-index: 2;
}

.hero-image { aspect-ratio: 4 / 5; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 78%; }
@media (max-width: 899px) { .hero-image { aspect-ratio: 16 / 10; } }

/* single field-journal image: slight tilt, mono caption */
.journal-img {
  margin-top: var(--s5);
  max-width: 520px;
  transform: rotate(-1.2deg);
}
.journal-img img { border: 1px solid var(--wash); }
.journal-img figcaption { margin-top: var(--s1); }

.hero-image-note { margin-top: var(--s1); text-align: right; }

/* typographic hero (layout D energy: oversized stack, band as the energy line) */
.hero-grid.hero-typo { grid-template-columns: 1fr; padding-top: var(--s5); }
.hero-typo .display-xl { font-size: clamp(58px, 10.5vw, 150px); }
.hero-typo .hero-copy { max-width: 920px; }
.hero-typo .hero-venue { font-size: 19px; max-width: 44ch; }

/* band crossing the seam between hero columns */
.hero-band {
  position: relative;
  margin-top: calc(-1 * var(--s5));
  pointer-events: none;
}
.hero-band img { width: min(640px, 78%); }

/* ---------- buttons (gold = the single primary action, square corners) ---------- */

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 34px;
  border: none;
  cursor: pointer;
}

.btn-gold { background: var(--gold); color: var(--cream); }
.btn-gold:hover { background: #b5842f; }

.btn-ghost {
  background: transparent;
  color: var(--river);
  border: 1px solid var(--river);
}
.bg-wall .btn-ghost { color: var(--cream); border-color: var(--wash); }
/* ghost buttons sitting on a CREAM card inside a wall section must not inherit
   the cream-on-wall colours -- they'd be invisible (found live 21 Aug: the
   "Pay via WhatsApp" button rendered as an empty box) */
.bg-wall .register-card .btn-ghost { color: var(--river); border-color: var(--river); }

/* ---------- section headers ---------- */

.section-head { margin-bottom: var(--s5); }
.section-head .mono-label { display: block; margin-bottom: var(--s2); }

/* asymmetric margin trick: shift content block left of centre */
.shift-left { max-width: 860px; }

/* ---------- three days ---------- */

.days {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--wash);
}

.day {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s2);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--wash);
}

@media (min-width: 800px) {
  .day { grid-template-columns: 220px 1fr; gap: var(--s5); }
}

.day-date .mono-label { color: var(--current); }
.day-date h3 { margin-top: var(--s1); font-size: 26px; }
.day p { margin-top: var(--s1); }

.day-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* eddy corner bleed (layout: corner element, must run off the edge) */
.corner-bleed {
  position: absolute;
  right: -4%;
  bottom: -2%;
  width: clamp(160px, 22vw, 300px);
  opacity: 0.9;
  pointer-events: none;
}
.section-relative { position: relative; overflow: hidden; }

/* ---------- image band (window cut into the page) ---------- */

.image-band {
  position: relative;
  height: clamp(260px, 38vw, 460px);
  overflow: visible;
}
.image-band .duotone { height: 100%; }

/* rapids band overlapping the image edge — signature move */
.image-band .band-overlap {
  position: absolute;
  left: 0;
  bottom: -22px;
  width: min(520px, 64%);
  z-index: 3;
}

.image-band-caption {
  position: absolute;
  right: 24px;
  bottom: -34px;
  z-index: 3;
}

/* ---------- the river (watermark field) ---------- */

.watermark-field {
  position: relative;
}
.watermark-field::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("assets/pattern-flow.svg");
  background-size: 900px auto;
  background-repeat: repeat;
  opacity: 0.05;
  pointer-events: none;
}
.watermark-field > * { position: relative; }

.fish-accent { width: 64px; margin-bottom: var(--s3); }

/* ---------- getting there ---------- */

.routes {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
  margin-top: var(--s4);
}
@media (min-width: 800px) {
  .routes { grid-template-columns: 1fr 1fr; gap: var(--s5); }
}
.route { border-top: 2px solid var(--river); padding-top: var(--s3); }
.route h3 { font-size: 19px; }
.route p { margin-top: var(--s1); font-size: 16px; }

.carry-list {
  margin-top: var(--s2);
  list-style: none;
}
.carry-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--wash);
  font-size: 16px;
  display: flex;
  gap: var(--s2);
  align-items: baseline;
}
.carry-list li::before {
  content: "·";
  color: var(--gold);
  font-family: var(--mono);
}

/* ---------- passes (layout M: wall bg, cream cards, mono prices) ---------- */

.passes {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s2);
  margin-bottom: var(--s5);
  max-width: 1040px;
}
@media (min-width: 700px) { .passes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .passes { grid-template-columns: 1fr 1fr 1fr; } }

.pass-card {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--wash);
  padding: var(--s3);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pass-price {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--river);
  font-variant-numeric: tabular-nums;
}

.pass-per {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--current);
}

.bg-wall .pass-card h3, .pass-card h3 { font-size: 18px; margin-top: 4px; color: var(--river); }

.pass-card ul { list-style: none; margin-top: 6px; }
.pass-card li {
  font-size: 14.5px;
  padding: 6px 0;
  border-top: 1px solid var(--wash);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.pass-card li::before { content: "·"; color: var(--gold); font-family: var(--mono); }

.pass-note-card { background: transparent; color: var(--cream); border-color: rgba(143,179,217,0.45); }
.pass-note-card li { color: var(--cream); border-top-color: rgba(143,179,217,0.35); font-size: 15px; }
.pass-note-card .pass-per { color: var(--wash); }
.pass-note-card .form-note { color: var(--wash); margin-top: var(--s2); }

/* ---------- daily rhythm (Three Days) ---------- */

.rhythm { margin-top: var(--s5); max-width: 860px; }
.rhythm-list { list-style: none; margin-top: var(--s3); }
@media (min-width: 800px) { .rhythm-list { columns: 2; column-gap: var(--s5); } }
.rhythm-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--wash);
  font-size: 15.5px;
  break-inside: avoid;
  display: flex;
  gap: var(--s2);
  align-items: baseline;
}
.rhythm-list li span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--river);
  font-variant-numeric: tabular-nums;
  flex: 0 0 44px;
}

/* ---------- activities (Eleven ways in): 50/50 rows, visual + sell ---------- */

.act-rows { margin-top: var(--s4); }
.act-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s3);
  align-items: center;
  padding: var(--s4) 0;
  border-top: 1px solid rgba(26, 87, 150, 0.18);
}
.act-row:first-child { border-top: none; padding-top: 0; }
@media (min-width: 800px) {
  .act-row { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .act-row:nth-child(even) .act-visual { order: 2; }
}
.act-visual .act-photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.act-visual .act-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.act-visual .field-note { display: block; margin-top: var(--s1); }
.act-cta { margin-top: var(--s3); }
.act-cta .btn { padding: 12px 22px; font-size: 13px; }
.addon-grid label { font-size: 15px; }
.order-line { white-space: pre-line; }
.act-text .mono-label { display: block; margin-bottom: var(--s1); color: var(--gold); }
.act-text h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.15;
  color: var(--river);
  max-width: 18ch;
}
.act-text p { margin-top: var(--s2); max-width: 46ch; }

/* non-photo visual: wall panel, watermark linework, oversized numeral */
.act-panel {
  aspect-ratio: 3 / 2;
  background: var(--wall);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.act-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: url("assets/pattern-flow.svg") center / 460px repeat;
  opacity: 0.08;
}
.act-panel .panel-no {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(90px, 10vw, 140px);
  line-height: 1;
  color: var(--gold);
  position: relative;
}
.act-panel .panel-motif {
  position: absolute;
  right: var(--s3);
  bottom: var(--s3);
  height: 52px;
  width: auto;
}

/* ---------- register (layout M: wall bg, cream cards, square corners) ---------- */

.register-card {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--wash);
  padding: clamp(24px, 5vw, 64px);
  max-width: 720px;
}
.register-card h3 { color: var(--river); }

.form-grid { display: grid; gap: var(--s3); margin-top: var(--s4); }

.form-field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--current);
  margin-bottom: 6px;
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field input[type="number"],
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--wash);
  border-radius: 0;
  padding: 14px;
}
.form-field textarea { min-height: 90px; resize: vertical; }

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--river);
  outline-offset: 0;
}

.radio-row { display: grid; gap: var(--s1); }
@media (min-width: 640px) { .radio-row { grid-template-columns: 1fr 1fr; } }

.radio-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--wash);
  padding: 13px 14px;
  font-size: 15px;
  cursor: pointer;
  background: #fff;
}
.radio-row input { accent-color: var(--river); }
.radio-row label:has(input:checked) { border-color: var(--river); outline: 1px solid var(--river); }

.branch { display: none; }
.branch.active { display: grid; gap: var(--s3); }

.form-note { font-size: 14px; color: var(--current); max-width: 52ch; }

.thanks { display: none; margin-top: var(--s4); border-top: 2px solid var(--gold); padding-top: var(--s3); }
.thanks.active { display: block; }
.thanks h3 { color: var(--river); }

/* step 2: manual checkout */
.checkout { margin-top: var(--s3); border: 1px solid var(--wash); padding: var(--s3); background: #fff; }
.checkout-amount { font-family: var(--mono); font-size: 15px; color: var(--river); margin-top: var(--s1); font-weight: 700; }
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s2); }
@media (min-width: 640px) { .checkout-grid { grid-template-columns: 220px 1fr; } }
.checkout-qr { width: 100%; max-width: 220px; border: 1px solid var(--wash); }
.checkout-details p { font-size: 15px; max-width: 48ch; }
.checkout-details .mono-detail { font-family: var(--mono); font-size: 12.5px; line-height: 1.8; color: var(--ink); background: var(--cream); padding: 8px 10px; display: inline-block; margin-top: 4px; }
.checkout-details .btn { display: inline-block; }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--wash); }
.faq summary {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--river);
  padding: var(--s3) 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
}
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 var(--s3); }

/* ---------- footer (layout N) ---------- */

footer {
  background: var(--wall);
  color: var(--cream);
  position: relative;
}

.footer-band {
  opacity: 0.2;
  width: 100%;
}
.footer-band img { width: min(560px, 70%); }

.footer-rule {
  position: relative;
  border-top: 1px solid rgba(247, 244, 236, 0.35);
  margin-top: var(--s2);
}
.footer-kingfisher {
  position: absolute;
  right: 0;
  top: -34px;
  width: 44px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
  padding: var(--s5) 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 2;
}
@media (min-width: 800px) { .footer-cols { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer-cols a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(247,244,236,0.3); }
.footer-cols .col-head {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wash);
  display: block;
  margin-bottom: var(--s2);
}

.footer-legal {
  padding-bottom: var(--s4);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--wash);
}

/* ---------- sticky register (slim bar mobile / corner button desktop) ---------- */

.sticky-register {
  position: fixed;
  z-index: 50;
  /* must clear its own height AND the bottom offset it sits on, or a sliver stays on screen */
  transform: translateY(calc(100% + 40px));
  visibility: hidden;
  transition: transform 0.4s ease-in-out, visibility 0s linear 0.4s;
}
.sticky-register.visible {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.4s ease-in-out, visibility 0s;
}

@media (max-width: 799px) {
  .sticky-register {
    left: 0; right: 0; bottom: 0;
    background: var(--wall);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
  }
  .sticky-register .sticky-dates {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--cream);
  }
  .sticky-register .btn { padding: 12px 22px; }
}

@media (min-width: 800px) {
  .sticky-register { right: 40px; bottom: 40px; }
  .sticky-register .sticky-dates { display: none; }
}

/* ---------- policy / document pages (layout C) ---------- */

.doc-page { max-width: 760px; margin: 0 auto; padding: var(--s4) 24px var(--s6); }

.doc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s3);
  padding-bottom: var(--s4);
}
.doc-head img { height: 88px; width: auto; }
.doc-head .mono-label { text-align: right; line-height: 2; }

.doc-page h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: var(--s2); }
.doc-page h2 { font-size: 20px; margin: var(--s4) 0 var(--s2); }
.doc-page p, .doc-page li { margin-bottom: var(--s2); max-width: 68ch; }
.doc-page ul { padding-left: 20px; }

.doc-footer-rule { position: relative; border-top: 1px solid var(--wash); margin-top: var(--s5); }
.doc-footer-rule img { position: absolute; right: 0; top: -34px; width: 40px; }
.doc-footer { padding-top: var(--s3); }

/* accessibility */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky-register { transition: none; }
}

/* ---------- group-size stepper ----------
   Big tap targets on a phone, and no reliance on the browser's own spin arrows,
   which are invisible on touch and are what left people typing a group size by
   hand into a field that used to accept 200. */
.stepper { display: flex; align-items: stretch; max-width: 190px; }
.stepper .stepper-btn {
  flex: 0 0 52px;
  font-family: var(--body);
  font-size: 22px; line-height: 1;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--wash);
  cursor: pointer;
  padding: 0;
}
.stepper .stepper-btn:hover { background: var(--wash); }
.stepper .stepper-btn:focus-visible { outline: 2px solid var(--river); outline-offset: -2px; }
.stepper input[type="number"] {
  flex: 1 1 auto;
  width: auto;
  text-align: center;
  border-left: 0;
  border-right: 0;
  /* the native spinners sit under the plus button and get clicked by accident */
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper input[type="number"]::-webkit-outer-spin-button,
.stepper input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.form-field .stepper + .field-note { margin-top: 6px; }

/* ---------- group and family member names ---------- */
.member-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.member-grid input[hidden] { display: none; }

/* ---------- live order summary in the registration form ---------- */
.order-summary {
  border: 1px solid rgba(26,87,150,.28);
  border-left: 3px solid var(--gold);
  padding: 16px 18px;
  margin: var(--s3) 0 var(--s2);
  background: rgba(247,244,236,.55);
}
.order-summary .order-line { font-size: 15px; margin-top: 6px; }
.order-summary .order-total {
  font-family: var(--display); font-weight: 600;
  font-size: 26px; color: var(--river); margin-top: 6px;
}
.order-summary .form-note { margin-top: 8px; }

/* ---------- offline payment option beside the checkout button ---------- */
.pay-offline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid rgba(26,87,150,.18);
}
.pay-offline .btn { padding: 14px 26px; }
.pay-offline .field-note { flex: 1 1 100%; }
.pay-offline .field-note:first-child { flex: 0 0 auto; }

/* ---------- selectable pass cards (choice made on the cards, not in a dropdown) ---------- */
.pass-card.pass-pick {
  display: block;
  cursor: pointer;
  position: relative;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
/* the radio stays in the DOM and focusable — only visually hidden */
.pass-radio {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
  pointer-events: none;
}
.pass-card.pass-pick:hover { border-color: var(--gold); }

/* selected state: gold edge + a filled corner tick, unmistakable at a glance */
.pass-card.pass-pick:has(.pass-radio:checked) {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px var(--gold);
}
.pass-card.pass-pick:has(.pass-radio:checked)::after {
  content: "✓ Selected";
  position: absolute; top: 0; right: 0;
  background: var(--gold); color: var(--cream);
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; padding: 6px 10px;
}
/* keyboard focus must be visible, and on the CARD not the hidden input */
.pass-card.pass-pick:has(.pass-radio:focus-visible) {
  outline: 3px solid var(--current);
  outline-offset: 3px;
}
.pass-pick-cue {
  display: block;
  margin-top: var(--s2);
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
}
.pass-card.pass-pick:has(.pass-radio:checked) .pass-pick-cue { visibility: hidden; }

/* fallback for browsers without :has() — JS also sets .is-picked */
.pass-card.pass-pick.is-picked { border-color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); }
.pass-card.pass-pick.is-picked .pass-pick-cue { visibility: hidden; }

.pass-readback { font-size: 16px; }
.pass-readback strong { color: var(--river); }
