/* Signal look, /registration/ only (loads after look.css and looks/signal/reg.css). Contract: theme/LOOK-SIGNAL.md.
   Behaviour hooks kept: .toggle__btn.is-active (reg-fees.js), .secnav__link.is-active (reg-secnav.js),
   .faq__item.is-open (faq.js), .reveal.is-visible (reveal.js). */

/* ---- Early-bird banner: an amber tile (dates and deadlines are amber) ---- */
.reg-page .eb-banner {
  margin: 32px 0 0; padding: 20px 24px; gap: 16px 24px;
  background: linear-gradient(160deg, #fff 0%, var(--amber-tint) 120%);
  border: 1px solid color-mix(in srgb, var(--amber) 28%, transparent); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.reg-page .eb-banner__l { gap: 16px; }
.reg-page .eb-banner__ic {
  width: 44px; height: 44px; border-radius: 14px; color: var(--amber); background: var(--amber-tint);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--amber) 18%, transparent);
}
.reg-page .eb-banner p { color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.reg-page .eb-banner b { color: var(--sg-amber-ink); }

/* ---- Early-bird / standard: a pill segmented control ---- */
.regbar { margin: 32px 0 40px; }
.toggle { padding: 4px; gap: 2px; border: 1px solid var(--sg-line); box-shadow: var(--shadow-sm); }
.toggle__btn {
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2);
}
.toggle__btn:hover { color: var(--blue); background: var(--blue-tint); }
.toggle__btn.is-active, .toggle__btn.is-active:hover { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(29, 47, 111, .7); }

/* ---- Fee cards: tiles on the ground; the featured pass leads, larger and raised ---- */
.reg-page #fees .price-grid { display: flex; align-items: stretch; gap: 16px; padding-block: 14px; }
.reg-page #fees .tier {
  --hue: var(--blue);
  flex: 1 1 0; min-width: 0; padding: 24px; border: 1px solid var(--sg-line); border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--sg-ease), box-shadow .35s var(--sg-ease), border-color .35s var(--sg-ease), opacity .8s var(--spring), filter .8s var(--spring);
}
.reg-page #fees .tier:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--hue) 55%, transparent); }
.reg-page #fees .tier--featured {
  flex-grow: 1.35; margin-block: -14px; padding: 32px 28px;
  background: linear-gradient(165deg, #fff 30%, var(--blue-tint) 130%);
  border: 1.5px solid var(--blue); box-shadow: var(--shadow);
}
.reg-page #fees .tier--featured:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.reg-page #fees .tier__name { font: 700 20px/1.2 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.reg-page #fees .tier--featured .tier__name { font-size: 24px; font-weight: 800; }
.reg-page #fees .tier__for { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.reg-page #fees .tier__price { margin: 18px 0 2px; gap: 2px; }
.reg-page #fees .tier__cur { margin-top: 6px; font: 800 22px/1 var(--serif); color: var(--blue); }
.reg-page #fees .tier__num { font: 800 48px/1 var(--serif); letter-spacing: -.04em; color: var(--ink); }
.reg-page #fees .tier--featured .tier__num { font-size: 60px; color: var(--blue); }
.reg-page #fees .tier--featured .tier__cur { font-size: 26px; margin-top: 8px; }
.reg-page #fees .tier__per { margin: 8px 0 20px; font: 500 13px/1.3 var(--sans); letter-spacing: 0; color: var(--muted); }
.reg-page #fees .tier__list { gap: 10px; padding-top: 18px; border-top: 1px solid var(--sg-line); }
.reg-page #fees .tier__list li { gap: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.reg-page #fees .tier__list .ci {
  width: 22px; height: 22px; margin-top: 0; border-radius: 50%; display: grid; place-items: center;
  color: var(--sg-forest-ink); background: var(--sg-forest-tint);
}
.reg-page #fees .tier__list .ci svg { width: 14px; height: 14px; }
/* The other passes: the white pill with a line */
.reg-page #fees .btn--ghost.btn--blue {
  background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1px var(--sg-line-strong), var(--shadow-sm);
}
.reg-page #fees .btn--ghost.btn--blue:hover { background: var(--blue-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 55%, transparent), var(--shadow-sm); }
/* The page's one coral action (white on #C43D22 is 5.2:1) */
.reg-page #fees .tier--featured .btn--onfilled {
  --bc: var(--coral); min-height: 48px; background: var(--coral); color: #fff; filter: none;
  box-shadow: 0 8px 18px -8px rgba(196, 61, 34, .7);
}
.reg-page #fees .tier--featured .btn--onfilled:hover { --bc: var(--sg-coral-deep); background: var(--sg-coral-deep); filter: none; }
.reg-page #fees .tier--featured .btn--onfilled .mo-ripple__dot { background: rgba(255, 255, 255, .3); }
.reg-page #fees .tier--featured :focus-visible { outline-color: var(--blue); }
/* In person: the venue line and the add-ons label follow the left-aligned section head */
.acc-venue { text-align: left; margin: 12px 0 0; color: var(--ink-2); }
.acc-subhead { text-align: left; font: 600 12px/1 var(--sans); letter-spacing: .14em; color: var(--ink-2); }
.reg-page .regfoot { margin-top: 28px; padding-top: 24px; border-top-color: var(--sg-line); }

/* ---- What every registration includes: a forest bento, the first tile leads ---- */
.reg-page #included .visit-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 32px; grid-auto-flow: row dense; }
.reg-page #included .visit {
  --hue: var(--sg-forest); grid-column: span 3; padding: 24px; display: flex; flex-direction: column;
  border: 1px solid var(--sg-line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--sg-ease), box-shadow .35s var(--sg-ease), border-color .35s var(--sg-ease), opacity .8s var(--spring), filter .8s var(--spring);
}
.reg-page #included .visit:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--hue) 55%, transparent); }
.reg-page #included .visit:nth-child(1) {
  grid-column: span 6; grid-row: span 2; padding: 32px; min-height: 300px;
  background: linear-gradient(160deg, #fff 20%, var(--sg-forest-tint) 130%);
}
.reg-page #included .visit:nth-child(2) { grid-column: span 6; }
.reg-page #included .visit:nth-child(5):last-child { grid-column: 1 / -1; }
.reg-page #included .visit__ic {
  width: 44px; height: 44px; margin-bottom: 16px; border-radius: 14px;
  color: var(--sg-forest); background: var(--sg-forest-tint);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sg-forest) 18%, transparent);
}
.reg-page #included .visit__ic svg { width: 22px; height: 22px; }
.reg-page #included .visit h3 { font: 700 19px/1.25 var(--serif); letter-spacing: -.01em; color: var(--ink); margin: 0 0 6px; }
.reg-page #included .visit p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
/* The lead tile's quiet mark: forest rings, decoration only */
.reg-page #included .visit:nth-child(1)::after {
  content: ""; position: absolute; right: -56px; top: -56px; width: 220px; height: 220px; border-radius: 50%; z-index: -1; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--sg-forest) 22%, transparent);
  box-shadow: 0 0 0 30px color-mix(in srgb, var(--sg-forest) 5%, transparent), 0 0 0 62px color-mix(in srgb, var(--sg-forest) 4%, transparent);
}
.reg-page #included .visit:nth-child(1) { position: relative; overflow: hidden; isolation: isolate; }
.reg-page #included .visit:nth-child(1) .visit__ic { width: 56px; height: 56px; border-radius: 16px; }
.reg-page #included .visit:nth-child(1) .visit__ic svg { width: 28px; height: 28px; }
.reg-page #included .visit:nth-child(1) h3 { margin-top: auto; font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.02em; color: var(--sg-forest-ink); }
.reg-page #included .visit:nth-child(1) p { font-size: 17px; max-width: 40ch; }

/* ---- How to register: one tile, numbered nodes on an ink-blue rail that fills once on reveal ---- */
.reg-page .steps {
  position: relative; gap: 32px; margin-top: 32px; padding: 32px;
  background: #fff; border: 1px solid var(--sg-line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.reg-page .step { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.reg-page .step__n {
  position: relative; z-index: 1; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%;
  background: var(--blue); color: #fff; font: 800 18px/1 var(--serif);
  box-shadow: 0 0 0 6px #fff, 0 8px 18px -8px rgba(29, 47, 111, .7);
}
.reg-page .step h3 { font: 700 19px/1.25 var(--serif); letter-spacing: -.01em; color: var(--ink); margin: 0 0 6px; }
.reg-page .step p { color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 36ch; }
.reg-page .step:not(:last-child)::before, .reg-page .step:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; left: 60px; width: calc(100% + 32px - 72px); height: 4px; border-radius: 4px;
}
.reg-page .step:not(:last-child)::before { background: var(--blue-tint); }
.reg-page .step:not(:last-child)::after {
  background: linear-gradient(90deg, var(--blue), color-mix(in srgb, var(--blue) 45%, #fff));
  transform-origin: left; transition: transform 1.2s var(--sg-ease) .35s;
}
html.js .reg-page .step.reveal:not(.is-visible)::after { transform: scaleX(0); }

/* ---- Group registration: one wide blue-tinted tile ---- */
.reg-group {
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 4vw, 48px);
  background: linear-gradient(160deg, #fff 10%, var(--blue-tint) 120%);
  border: 1px solid var(--sg-line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.reg-group h2 { font-size: clamp(26px, 2.6vw, 34px); max-width: 22ch; }
.reg-group p { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.reg-group .btn { min-height: 48px; }

/* ---- FAQ: the home page's tile, intro on the left ---- */
.reg-faq {
  max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; padding: 32px 48px;
  background: #fff; border: 1px solid var(--sg-line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.reg-faq__head .h2 { font-size: clamp(26px, 2.6vw, 34px); }
.reg-faq .faq { display: block; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.reg-faq .faq__item:nth-child(n) { border-top: 1px solid var(--sg-line); border-bottom: 0; }
.reg-faq .faq__item:first-child { border-top: 0; }

/* ---- Policies: a 2 by 2 bento of different widths, one hue per topic on the icon only ---- */
.reg-page #policies .infogrid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.reg-page #policies .infocard {
  --hue: var(--blue); --tint: var(--blue-tint);
  grid-column: span 6; padding: 32px; border: 1px solid var(--sg-line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--sg-ease), box-shadow .35s var(--sg-ease), border-color .35s var(--sg-ease), opacity .8s var(--spring), filter .8s var(--spring);
}
.reg-page #policies .infocard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--hue) 55%, transparent); }
.reg-page #policies .infocard:nth-child(4n + 1) { grid-column: span 7; --hue: var(--amber); --tint: var(--amber-tint); }
.reg-page #policies .infocard:nth-child(4n + 2) { grid-column: span 5; }
.reg-page #policies .infocard:nth-child(4n + 3) { grid-column: span 5; --hue: var(--violet); --tint: var(--violet-tint); }
.reg-page #policies .infocard:nth-child(4n + 4) { grid-column: span 7; --hue: var(--teal); --tint: var(--teal-tint); }
.reg-page #policies .infocard h3 { gap: 14px; margin: 0 0 16px; font: 700 20px/1.25 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.reg-page #policies .infocard h3 svg {
  box-sizing: border-box; width: 44px; height: 44px; padding: 11px; border-radius: 14px;
  color: var(--hue); background: var(--tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hue) 18%, transparent);
}
.reg-page #policies .infocard p { max-width: 70ch; color: var(--ink-2); font-size: 16px; line-height: 1.65; margin-bottom: 12px; }
.reg-page #policies .infocard p:last-child { margin-bottom: 0; }
.reg-page #policies .infocard a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---- Tablet ---- */
@media (max-width: 1100px) {
  .reg-page #fees .price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); padding-block: 0; }
  .reg-page #fees .tier--featured { margin-block: 0; }
}
@media (max-width: 1024px) {
  .reg-page #included .visit-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .reg-page #included .visit, .reg-page #included .visit:nth-child(2) { grid-column: span 2; }
  .reg-page #included .visit:nth-child(1) { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
  .reg-page #included .visit:nth-child(1) h3 { margin-top: 0; }
  .reg-faq { grid-template-columns: 1fr; gap: 16px; padding: 32px; }
  .reg-page #policies .infocard:nth-child(n) { grid-column: span 6; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  /* Five tiles (in person): the four after the lead pair up */
  .reg-page #included .visit-grid:has(> .visit:nth-child(5):last-child) .visit:not(:first-child) { grid-column: span 3; }
}
@media (max-width: 760px) {
  .reg-page .steps { grid-template-columns: 1fr; gap: 28px; padding: 28px 24px; }
  .reg-page .step { position: relative; padding-left: 68px; min-height: 48px; }
  .reg-page .step__n { position: absolute; left: 0; top: 0; margin: 0; }
  .reg-page .step:not(:last-child)::before, .reg-page .step:not(:last-child)::after {
    top: 60px; left: 22px; width: 4px; height: calc(100% + 28px - 72px);
  }
  .reg-page .step:not(:last-child)::after { background: linear-gradient(180deg, var(--blue), color-mix(in srgb, var(--blue) 45%, #fff)); transform-origin: top; }
  html.js .reg-page .step.reveal:not(.is-visible)::after { transform: scaleY(0); }
  .reg-page #policies .infocard:nth-child(n) { grid-column: 1 / -1; }
}

/* ---- Phone ---- */
@media (max-width: 640px) {
  .reg-page .eb-banner { padding: 20px; }
  .reg-page .eb-banner .btn { width: 100%; }
  .regbar { margin: 24px 0 28px; }
  .reg-page #fees .tier, .reg-page #fees .tier--featured { padding: 24px 20px; }
  .reg-page #included .visit-grid { gap: 12px; }
  .reg-page #included .visit, .reg-page #included .visit:nth-child(n) { grid-column: 1 / -1; padding: 24px 20px; }
  .reg-faq { padding: 24px 20px; }
  .reg-faq .faq { padding: 0; }
  .reg-page #policies .infogrid { gap: 12px; }
  .reg-page #policies .infocard { padding: 24px 20px; }
  .reg-group .btn { white-space: normal; text-align: left; }
}
@media (max-width: 430px) {
  .toggle { display: flex; width: 100%; }
  .toggle__btn { flex: 1 1 0; padding: 0 12px; }
  .reg-page #policies .infocard h3 { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .reg-page #fees .tier, .reg-page #included .visit, .reg-page #policies .infocard, .reg-page .step:not(:last-child)::after { transition: none; }
  .reg-page #fees .tier:hover, .reg-page #included .visit:hover, .reg-page #policies .infocard:hover { transform: none; }
}
