/* ==========================================================================
   London Scrap Metal Company — stylesheet
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Layout primitives
   4.  Typography
   5.  Buttons
   6.  Cards & surfaces
   7.  Header & navigation
   8.  Hero
   9.  Booking wizard
   10. Marquee
   11. Sections (services, process, why, areas, compliance, FAQ)
   12. Forms
   13. Footer
   14. Floating UI (WhatsApp, mobile action bar, back to top)
   15. Motion & reveal
   16. Utilities
   ========================================================================== */

/* 1. Tokens ================================================================ */

:root {
  /* Brand */
  --gold-900: #685012;
  --gold-700: #83661b;
  --gold-600: #b28b2a;
  --gold-500: #cda235;
  --gold-400: #d8b764;
  --gold-300: #e8d29c;
  --gold-200: #f3e8ce;
  --gold-tint: rgba(205, 162, 53, 0.12);
  --gold-tint-strong: rgba(205, 162, 53, 0.22);

  --ink-900: #0b0b0c;
  --ink-800: #121214;
  --ink-700: #1a1a1e;
  --ink-600: #26262c;
  --ink-500: #3a3a42;

  --paper: #ffffff;
  --paper-2: #f7f7f5;
  --paper-3: #efeeea;

  /* Text */
  --text: #0b0b0c;
  --text-2: #4a4a52;
  --text-3: #6e6e78;
  --text-inv: #ffffff;
  --text-inv-2: #b6b6bf;
  --text-inv-3: #8a8a96;

  /* Lines */
  --line: rgba(11, 11, 12, 0.1);
  --line-2: rgba(11, 11, 12, 0.16);
  --line-inv: rgba(255, 255, 255, 0.12);
  --line-inv-2: rgba(255, 255, 255, 0.2);

  /* Status */
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --success: #17794a;
  --error: #bb2124;

  /* Gradients */
  --grad-gold: linear-gradient(135deg, var(--gold-600) 0%, var(--gold-400) 45%, var(--gold-300) 100%);
  --grad-gold-soft: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-300) 100%);
  --grad-ink: linear-gradient(160deg, var(--ink-800) 0%, var(--ink-900) 100%);

  /* Spacing — 4px base */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 2.5rem;
  --s-8: 3rem;
  --s-9: 4rem;
  --s-10: 5rem;
  --s-11: 6.5rem;
  --s-12: 8rem;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(11, 11, 12, 0.06), 0 1px 3px rgba(11, 11, 12, 0.04);
  --sh-2: 0 2px 6px rgba(11, 11, 12, 0.06), 0 8px 20px rgba(11, 11, 12, 0.06);
  --sh-3: 0 4px 12px rgba(11, 11, 12, 0.07), 0 18px 44px rgba(11, 11, 12, 0.1);
  --sh-4: 0 8px 20px rgba(11, 11, 12, 0.09), 0 32px 72px rgba(11, 11, 12, 0.16);
  --sh-gold: 0 8px 26px rgba(205, 162, 53, 0.32);

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --header-h: 88px;

  /* Type */
  --font-display: "Oxanium", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Roboto", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* Easing — spring-adjacent curves */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.42, 0.64, 1);
  --dur-1: 140ms;
  --dur-2: 260ms;
  --dur-3: 420ms;
  --dur-4: 680ms;
}

/* 2. Reset & base ========================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

/* The attribute must beat any class that sets display. */
[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--gold-300);
  color: var(--ink-900);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ink-900);
  color: var(--text-inv);
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* 3. Layout primitives ===================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section--dark {
  background: var(--ink-900);
  color: var(--text-inv);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--text-inv);
}

.section--muted {
  background: var(--paper-2);
}

/* Fine gold hairline used to separate bands. */
.section--hairline {
  border-top: 1px solid var(--line);
}

.section--dark.section--hairline {
  border-top: 1px solid var(--line-inv);
}

/* Grain overlay lifts the flat black off the page. */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: overlay;
  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.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.grid {
  display: grid;
  gap: var(--s-5);
}

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--3-wide { grid-template-columns: repeat(3, 1fr); }
}

/* Cards sized to their own content rather than stretched to match the row —
   for grids whose items hold lists of noticeably different lengths. */
.grid--top { align-items: start; }

.stack > * + * {
  margin-top: var(--s-4);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

/* 4. Typography ============================================================ */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.002em;
  color: var(--text);
  text-wrap: balance;
  overflow-wrap: break-word;
}

h1, .h1 {
  font-size: clamp(2rem, 1.24rem + 3.3vw, 3.6rem);
  letter-spacing: -0.012em;
  text-transform: uppercase;
}

h2, .h2 {
  font-size: clamp(1.62rem, 1.15rem + 2.1vw, 2.55rem);
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

h3, .h3 {
  font-size: clamp(1.05rem, 0.95rem + 0.56vw, 1.32rem);
  line-height: 1.24;
  letter-spacing: 0.012em;
  text-transform: uppercase;
}

h4, .h4 {
  font-size: 1rem;
  line-height: 1.38;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

p {
  text-wrap: pretty;
}

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-2);
}

.section--dark .lede {
  color: var(--text-inv-2);
}

.muted {
  color: var(--text-3);
}

.section--dark .muted {
  color: var(--text-inv-3);
}

.small {
  font-size: 0.875rem;
  line-height: 1.55;
}

.xsmall {
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* Eyebrow label with a gold dot. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
}

.section--dark .eyebrow {
  color: var(--gold-400);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  flex: none;
}

.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head > * + * {
  margin-top: var(--s-4);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

/* Brand mark used as a section opener. It carries the visual weight, so the
   section it heads drops its usual top padding and lets the logo sit high. */
.section-logo {
  display: block;
  height: 124px;
  width: auto;
  margin: 0 auto var(--s-5);
}

@media (max-width: 900px) {
  .section-logo { height: 96px; }
}

@media (max-width: 640px) {
  .section-logo { height: 78px; }
}

.section--flush-top { padding-top: clamp(1rem, 2vw, 1.75rem); }

.section:has(+ .section--flush-top) { padding-bottom: clamp(1rem, 2vw, 1.75rem); }

/* Rich text used on legal / long-form pages. */
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 1.15rem; list-style: disc; }
.prose ul li { margin-top: 0.4em; }
.prose a { color: var(--gold-700); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-500); }

/* 5. Buttons =============================================================== */

.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--text-inv);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.55rem;
  min-height: 50px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    transform var(--dur-2) var(--ease-spring),
    box-shadow var(--dur-2) var(--ease-out),
    background-color var(--dur-2) var(--ease-out),
    color var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn svg {
  flex: none;
}

.btn--gold {
  --btn-fg: var(--ink-900);
  background: var(--grad-gold);
  box-shadow: 0 2px 10px rgba(205, 162, 53, 0.28);
}

.btn--gold:hover {
  box-shadow: var(--sh-gold);
}

.btn--ink:hover {
  background: var(--ink-700);
  box-shadow: var(--sh-3);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-2);
}

.btn--ghost:hover {
  border-color: var(--ink-900);
  background: var(--ink-900);
  --btn-fg: var(--text-inv);
}

.section--dark .btn--ghost,
.btn--ghost-inv {
  --btn-fg: var(--text-inv);
  border-color: var(--line-inv-2);
  background: transparent;
}

.section--dark .btn--ghost:hover,
.btn--ghost-inv:hover {
  background: var(--paper);
  --btn-fg: var(--ink-900);
  border-color: var(--paper);
}

.btn--whatsapp {
  --btn-bg: var(--whatsapp);
  --btn-fg: #05261a;
}

.btn--whatsapp:hover {
  --btn-bg: var(--whatsapp-dark);
  --btn-fg: #ffffff;
}

.btn--lg {
  padding: 1.05rem 2rem;
  min-height: 58px;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.6rem 1.1rem;
  min-height: 40px;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

/* Inline text link with an animated gold underline. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gold-700);
}

.section--dark .link-arrow {
  color: var(--gold-400);
}

.link-arrow svg {
  transition: transform var(--dur-2) var(--ease-spring);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* 6. Cards & surfaces ====================================================== */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: clamp(1.5rem, 2.6vw, 2.15rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    transform var(--dur-3) var(--ease-out),
    box-shadow var(--dur-3) var(--ease-out),
    border-color var(--dur-3) var(--ease-out);
}

/* Mouse-tracked spotlight — coordinates come from js/main.js. */
.card--spot::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    var(--gold-tint),
    transparent 68%
  );
  transition: opacity var(--dur-3) var(--ease-out);
}

.card--spot:hover::before,
.card--spot:focus-within::before {
  opacity: 1;
}

a.card:hover,
.card--hover:hover {
  transform: translateY(-4px);
  border-color: var(--gold-tint-strong);
  box-shadow: var(--sh-3);
}

.section--dark .card {
  background: var(--ink-800);
  border-color: var(--line-inv);
  color: var(--text-inv);
}

.section--dark a.card:hover {
  border-color: rgba(205, 162, 53, 0.4);
  box-shadow: none;
  background: var(--ink-700);
}

.card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}

.card__text {
  color: var(--text-2);
  font-size: 0.9375rem;
}

.section--dark .card__text {
  color: var(--text-inv-2);
}

.card__foot {
  margin-top: auto;
  padding-top: var(--s-2);
}

/* Icon tile */
.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--gold-tint);
  color: var(--gold-700);
  flex: none;
  transition: background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}

.section--dark .icon-tile {
  background: rgba(205, 162, 53, 0.14);
  color: var(--gold-400);
}

.card:hover .icon-tile {
  background: var(--ink-900);
  color: var(--gold-400);
}

.section--dark .card:hover .icon-tile {
  background: var(--grad-gold);
  color: var(--ink-900);
}

/* Media placeholder box */
.media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-3);
  border: 1px solid var(--line);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-4) var(--ease-out);
}

.media--zoom:hover img {
  transform: scale(1.04);
}

.media--tall { aspect-ratio: 3 / 4; }
.media--photo { aspect-ratio: 4 / 3; }

/* Two-image pairing on service pages: a staff scene, with a metal close-up
   overlapping its lower corner. Percentages keep the overlap proportional
   at every width, so it needs no breakpoint of its own. */
.duo { position: relative; }

.duo__main { margin-right: 14%; }

.duo__inset {
  position: relative;
  width: 48%;
  margin: -22% 0 0 auto;
  border: 6px solid var(--paper);
  box-shadow: var(--sh-3);
}
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1 / 1; }

/* Badge / pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.375rem 0.8rem;
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: -0.005em;
  background: var(--gold-tint);
  color: var(--gold-700);
  border: 1px solid rgba(205, 162, 53, 0.24);
}

.section--dark .badge {
  background: rgba(205, 162, 53, 0.12);
  color: var(--gold-300);
  border-color: rgba(205, 162, 53, 0.28);
}

.badge--live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulse-dot 2.2s var(--ease-out) infinite;
}

@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65); }
  70%  { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Tick list */
.ticks {
  display: grid;
  gap: 0.7rem;
}

.ticks li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.9688rem;
  color: var(--text-2);
}

.section--dark .ticks li {
  color: var(--text-inv-2);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b28b2a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.section--dark .ticks li::before {
  background-color: rgba(205, 162, 53, 0.16);
}

.ticks--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .ticks--2 { grid-template-columns: repeat(2, 1fr); }
}

/* Stat block */
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.4;
}

.section--dark .stat__label {
  color: var(--text-inv-3);
}

/* 7. Header & navigation =================================================== */

.topbar {
  background: var(--ink-900);
  color: var(--text-inv-2);
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--line-inv);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 40px;
  flex-wrap: wrap;
  padding-block: 0.4rem;
  text-align: center;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.topbar__item svg { color: var(--gold-400); flex: none; }

.topbar a:hover { color: var(--gold-300); }

.topbar__sep {
  width: 1px;
  height: 14px;
  background: var(--line-inv-2);
}

@media (max-width: 767px) {
  .topbar__sep,
  .topbar__item--optional { display: none; }
}

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow var(--dur-3) var(--ease-out),
    border-color var(--dur-3) var(--ease-out),
    background-color var(--dur-3) var(--ease-out);
}

.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(11, 11, 12, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: var(--header-h);
  transition: min-height var(--dur-3) var(--ease-out);
}

.header.is-stuck .header__inner {
  min-height: 68px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
  margin-right: auto;
}

.logo--img img {
  height: 64px;
  width: auto;
  transition: height var(--dur-3) var(--ease-out);
}

.header.is-stuck .logo--img img { height: 50px; }

@media (max-width: 900px) {
  .logo--img img { height: 54px; }
  .header.is-stuck .logo--img img { height: 46px; }
}

@media (max-width: 560px) {
  .logo--img img { height: 46px; }
  .header.is-stuck .logo--img img { height: 42px; }
}

/* The footer lockup is wordmark-only, so it takes its own scale. Declared
   after the header sizes because they share its specificity — source order
   is what decides the tie. */
.logo--footer img { height: 58px; }

@media (max-width: 640px) {
  .logo--footer img { height: 50px; }
}

/* Desktop nav */
.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}

.nav__link:hover,
.nav__link[aria-expanded="true"] {
  color: var(--ink-900);
  background: var(--paper-2);
}

.nav__link[aria-current="page"] {
  color: var(--ink-900);
  font-weight: 600;
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
}

.nav__caret {
  transition: transform var(--dur-2) var(--ease-out);
}

.nav__link[aria-expanded="true"] .nav__caret {
  transform: rotate(180deg);
}

/* Mega menu */
.nav__item {
  position: relative;
}

.mega {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  translate: -50% 0;
  width: min(760px, 86vw);
  padding: 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out),
    visibility var(--dur-2);
}

.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem 1.25rem;
}

@media (min-width: 900px) {
  .mega__grid { grid-template-columns: repeat(3, 1fr); }
}

.mega__link {
  display: block;
  padding: 0.6rem 0.7rem;
  border-radius: var(--r-sm);
  font-size: 0.9063rem;
  font-weight: 500;
  color: var(--text-2);
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}

.mega__link:hover {
  background: var(--paper-2);
  color: var(--ink-900);
}

.mega__foot {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}

.header__phone {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.5rem;
  border-radius: var(--r-sm);
}

@media (min-width: 768px) {
  .header__phone { display: inline-flex; }
}

.header__phone:hover { background: var(--paper-2); }

.header__phone-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-700);
  flex: none;
}

.header__phone-text { display: flex; flex-direction: column; line-height: 1.15; }
.header__phone-label { font-size: 0.6875rem; color: var(--text-3); }
.header__phone-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.header .btn--gold { display: none; }

@media (min-width: 560px) {
  .header .btn--gold { display: inline-flex; }
}

/* Burger */
.burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  flex: none;
}

@media (min-width: 1024px) {
  .burger { display: none; }
}

.burger:hover { background: var(--paper-2); }

.burger__box {
  display: grid;
  gap: 4px;
  width: 18px;
}

.burger__bar {
  height: 2px;
  border-radius: 2px;
  background: var(--ink-900);
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1) var(--ease-out);
}

.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr;
  pointer-events: none;
}

.drawer.is-open { pointer-events: auto; }

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 12, 0.5);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
}

.drawer.is-open .drawer__scrim { opacity: 1; }

.drawer__panel {
  position: relative;
  margin-left: auto;
  width: min(420px, 90vw);
  height: 100%;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur-3) var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--s-5);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
}

.drawer__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}

.drawer__close:hover { background: var(--paper-2); }

.drawer__body { padding: var(--s-5); flex: 1; }

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  color: var(--ink-900);
}

.drawer__link:hover { color: var(--gold-700); }

.drawer__sub {
  display: grid;
  gap: 0.1rem;
  padding: 0.5rem 0 0.9rem;
  border-bottom: 1px solid var(--line);
}

.drawer__sub a {
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.drawer__sub a:hover { color: var(--gold-700); }

.drawer__foot {
  padding: var(--s-5);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.65rem;
  background: var(--paper-2);
}

/* 8. Hero ================================================================== */

.hero {
  position: relative;
  background: var(--ink-900);
  color: var(--text-inv);
  overflow: hidden;
  isolation: isolate;
}

/* Background media layer — a still image with an optional looping video
   fading over the top of it. Used by the hero and the closing CTA. */
.bgmedia {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero .bgmedia,
.pagehero .bgmedia { z-index: -2; }

.pagehero > .container { position: relative; z-index: 1; }

.bgmedia img,
.bgmedia video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bgmedia img {
  opacity: 0.28;
  filter: grayscale(0.4) contrast(1.1);
  transition: opacity 800ms var(--ease-out);
}

/* js/main.js sets the target opacity at the start and end of each clip; this
   transition does the fading (its duration is set per clip from there). */
.bgmedia video {
  opacity: 0;
  filter: grayscale(0.35) contrast(1.08);
  transition: opacity 1s var(--ease-in-out);
  will-change: opacity;
}

.bgmedia.is-playing img { opacity: 0; }

/* Keeps white text readable over whatever frame is on screen. */
.bgmedia__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 420px at 12% 8%, rgba(205, 162, 53, 0.16), transparent 62%),
    linear-gradient(95deg, rgba(11, 11, 12, 0.86) 0%, rgba(11, 11, 12, 0.74) 34%, rgba(11, 11, 12, 0.24) 64%, rgba(11, 11, 12, 0.2) 100%),
    linear-gradient(180deg, rgba(11, 11, 12, 0.24) 0%, rgba(11, 11, 12, 0.38) 100%);
}

/* Below 1024px the copy runs full width, so a left-weighted scrim would
   leave text sitting over bright video. Go back to a flat vertical one. */
@media (max-width: 1023px) {
  .bgmedia__scrim {
    background:
      radial-gradient(600px 360px at 15% 10%, rgba(205, 162, 53, 0.14), transparent 62%),
      linear-gradient(180deg, rgba(11, 11, 12, 0.74) 0%, rgba(11, 11, 12, 0.86) 100%);
  }

  .hero::before {
    background:
      radial-gradient(600px 400px at 12% 6%, rgba(205, 162, 53, 0.18), transparent 62%),
      linear-gradient(180deg, rgba(11, 11, 12, 0.72) 0%, rgba(11, 11, 12, 0.84) 100%) !important;
  }
}

/* Section content sits above the media layer. */
.section > .container { position: relative; z-index: 1; }

/* Gold glow + vignette. */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(760px 460px at 12% 6%, rgba(205, 162, 53, 0.2), transparent 62%),
    radial-gradient(680px 520px at 88% 96%, rgba(205, 162, 53, 0.1), transparent 60%),
    linear-gradient(95deg, rgba(11, 11, 12, 0.84) 0%, rgba(11, 11, 12, 0.72) 32%, rgba(11, 11, 12, 0.2) 62%, rgba(11, 11, 12, 0.16) 100%),
    linear-gradient(180deg, rgba(11, 11, 12, 0.28) 0%, rgba(11, 11, 12, 0.44) 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
  padding-block: clamp(2.5rem, 6vw, 4.75rem) clamp(3rem, 7vw, 5.5rem);
}

/* Mobile order is copy -> wizard -> supporting detail, so the form is the
   first thing a phone user meets. Desktop pulls it back into two columns. */
.hero__aside > * + * { margin-top: var(--s-5); }

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 480px);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2rem 4rem;
  }

  .hero__copy  { grid-column: 1; grid-row: 1; }
  .hero__aside { grid-column: 1; grid-row: 2; }

  .hero__inner > [data-hero-card] {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

.hero__copy > * + * { margin-top: var(--s-5); }

.hero h1 {
  color: var(--text-inv);
}

.hero__lede {
  max-width: 46ch;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  color: var(--text-inv-2);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-inv);
}

.hero__proof .stat__num { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.05rem); }
.hero__proof .stat__label { color: var(--text-inv-3); font-size: 0.8125rem; }

/* Simple page hero used on interior pages. */
.pagehero {
  position: relative;
  background: var(--ink-900);
  color: var(--text-inv);
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

.pagehero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(680px 420px at 8% 0%, rgba(205, 162, 53, 0.18), transparent 60%),
    radial-gradient(560px 380px at 96% 100%, rgba(205, 162, 53, 0.09), transparent 58%);
}

.pagehero__inner { display: grid; gap: clamp(2rem, 4vw, 3rem); }

@media (min-width: 1024px) {
  .pagehero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 3.5rem;
  }
}

.pagehero h1 { color: var(--text-inv); }
.pagehero__copy > * + * { margin-top: var(--s-4); }

/* .pagehero is a dark surface but is not a .section--dark, so descendants
   would otherwise inherit the light-mode greys and drop to ~2:1 contrast. */
.pagehero .lede { color: var(--text-inv-2); }
.pagehero .muted { color: var(--text-inv-3); }
.pagehero .eyebrow { color: var(--gold-400); }
.pagehero .link-arrow { color: var(--gold-400); }

.pagehero .badge,
.hero .badge {
  background: rgba(205, 162, 53, 0.12);
  color: var(--gold-300);
  border-color: rgba(205, 162, 53, 0.28);
}

.hero .muted { color: var(--text-inv-3); }

/* Breadcrumbs */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--text-inv-3);
  margin-bottom: var(--s-4);
}

.crumbs a:hover { color: var(--gold-300); }
.crumbs li { display: inline-flex; align-items: center; gap: 0.45rem; }
.crumbs li + li::before { content: "/"; color: var(--line-inv-2); }
.crumbs [aria-current="page"] { color: var(--text-inv-2); }

/* 9. Booking wizard ======================================================== */

.wizard {
  position: relative;
  background: var(--paper);
  color: var(--text);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-4);
  overflow: hidden;
  isolation: isolate;
}

/* Gold cap along the top edge. */
.wizard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--grad-gold);
  z-index: 3;
}

.wizard__head {
  padding: 1.4rem clamp(1.25rem, 3vw, 1.85rem) 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.wizard__title {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.wizard__sub {
  margin-top: 0.3rem;
  font-size: 0.875rem;
  color: var(--text-3);
}

.wizard__progress {
  margin-top: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.wizard__track {
  position: relative;
  flex: 1;
  height: 5px;
  border-radius: var(--r-pill);
  background: var(--paper-3);
  overflow: hidden;
}

.wizard__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 20%;
  border-radius: var(--r-pill);
  background: var(--grad-gold);
  transition: width var(--dur-4) var(--ease-out);
}

.wizard__count {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-3);
  white-space: nowrap;
  flex: none;
}

.wizard__body {
  position: relative;
  padding: clamp(1.25rem, 3vw, 1.85rem);
  min-height: 316px;
}

.wizard__step > * + * { margin-top: var(--s-4); }

.wizard__legend {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  padding: 0;
  display: block;
}

.wizard__hint {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--text-3);
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

/* Option grid — the tappable choice cards. */
.opts {
  display: grid;
  gap: 0.55rem;
}

.opts--2 { grid-template-columns: repeat(2, 1fr); }
.opts--3 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 420px) {
  .opts--3 { grid-template-columns: repeat(3, 1fr); }
}

.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--paper);
  cursor: pointer;
  font-size: 0.9063rem;
  font-weight: 500;
  line-height: 1.3;
  transition:
    border-color var(--dur-2) var(--ease-out),
    background-color var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-spring),
    box-shadow var(--dur-2) var(--ease-out);
}

.opt:hover {
  border-color: var(--gold-400);
  background: rgba(205, 162, 53, 0.05);
}

.opt:active { transform: scale(0.985); }

.opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.opt__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--paper-2);
  color: var(--text-2);
  flex: none;
  transition: background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}

.opt__label { flex: 1; }

.opt__note {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-3);
  margin-top: 0.1rem;
}

/* Custom check indicator */
.opt__check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  flex: none;
  transition: all var(--dur-2) var(--ease-spring);
}

.opt__check svg { opacity: 0; transform: scale(0.5); transition: all var(--dur-2) var(--ease-spring); }

.opt:has(input:checked) {
  border-color: var(--gold-500);
  background: rgba(205, 162, 53, 0.08);
  box-shadow: 0 0 0 3px rgba(205, 162, 53, 0.14);
}

.opt:has(input:checked) .opt__icon {
  background: var(--ink-900);
  color: var(--gold-400);
}

.opt:has(input:checked) .opt__check {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--gold-400);
}

.opt:has(input:checked) .opt__check svg { opacity: 1; transform: scale(1); }

.opt:has(input:focus-visible) {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

/* Compact chip style for multi-select metals. */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.95rem;
  min-height: 44px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--paper);
  transition:
    border-color var(--dur-2) var(--ease-out),
    background-color var(--dur-2) var(--ease-out),
    color var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-spring);
}

.chip:hover { border-color: var(--gold-400); }
.chip:active { transform: scale(0.96); }

.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chip:has(input:checked) {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--text-inv);
}

.chip:has(input:checked)::before {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d8b764' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.chip:has(input:focus-visible) {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

/* Wizard footer */
.wizard__foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem clamp(1.25rem, 3vw, 1.85rem);
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.wizard__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text-2);
  transition: color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out);
}

.wizard__back:hover { color: var(--ink-900); background: var(--paper-3); }
.wizard__next { margin-left: auto; }

.wizard__reassure {
  padding: 0.7rem clamp(1.25rem, 3vw, 1.85rem);
  background: var(--ink-900);
  color: var(--text-inv-3);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.wizard__reassure svg { color: var(--gold-400); flex: none; }

/* Summary review list on the final step */
.review {
  display: grid;
  gap: 0.1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper-2);
  font-size: 0.875rem;
}

.review__row {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--line);
}

.review__row:last-child { border-bottom: 0; }
.review__key { color: var(--text-3); flex: none; }
.review__val { font-weight: 600; text-align: right; }

/* Success panel */
.wizard__done {
  display: grid;
  gap: var(--s-4);
  place-items: center;
  text-align: center;
  padding: var(--s-5) 0;
}

.wizard__tick {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-700);
}

/* 10. Marquee ============================================================== */

.marquee {
  position: relative;
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 0.75rem;
  padding-right: 0.75rem;
  flex: none;
  min-width: 100%;
  animation: marquee 46s linear infinite;
}

.marquee__track--reverse { animation-direction: reverse; }

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line-inv);
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-inv-2);
  background: rgba(255, 255, 255, 0.03);
}

.marquee__item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  flex: none;
}

/* 11. Sections ============================================================= */

/* Trust strip */
.trustbar {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .trustbar { grid-template-columns: repeat(4, 1fr); }
}

.trustbar__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.trustbar__item svg { color: var(--gold-600); flex: none; margin-top: 2px; }
.trustbar__title { font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; letter-spacing: -0.01em; }
.trustbar__text { font-size: 0.8125rem; color: var(--text-3); line-height: 1.45; }

/* Process steps */
.steps {
  display: grid;
  gap: var(--s-6);
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
}

.step {
  position: relative;
  padding-top: var(--s-5);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-600);
  margin-bottom: 0.65rem;
}

/* Connecting hairline across the row. */
.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
}

.step:first-child::after { background: var(--grad-gold); }

.section--dark .step::after { background: var(--line-inv); }
.section--dark .step:first-child::after { background: var(--grad-gold); }

.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9375rem; color: var(--text-2); }
.section--dark .step p { color: var(--text-inv-2); }

/* Split layout */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, 1fr); }
  .split--media-first > :first-child { order: -1; }
}

.split__copy > * + * { margin-top: var(--s-4); }

/* Areas grid */
.areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

@media (min-width: 640px) { .areas { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .areas { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .areas { grid-template-columns: repeat(5, 1fr); } }

.area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  color: var(--text-2);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: all var(--dur-2) var(--ease-out);
}

.section--dark .area {
  border-color: var(--line-inv);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-inv-2);
}

a.area:hover {
  border-color: var(--gold-400);
  color: var(--ink-900);
  background: var(--gold-tint);
  transform: translateY(-2px);
}

.section--dark a.area:hover { color: var(--gold-300); background: rgba(205, 162, 53, 0.1); }

.area::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
  flex: none;
}

/* Compliance band */
.compliance {
  display: grid;
  gap: var(--s-5);
}

@media (min-width: 768px) {
  .compliance { grid-template-columns: repeat(3, 1fr); }
}

.compliance__item {
  padding: var(--s-5);
  border: 1px solid var(--line-inv);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.02);
}

.compliance__item h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.compliance__item p { font-size: 0.9063rem; color: var(--text-inv-2); }

/* Quote / testimonial */
.quote {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: 0.35rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold-tint-strong);
}

.quote__text {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.012em;
  position: relative;
}

.quote__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}

.quote__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper-3);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-2);
  flex: none;
}

.quote__name { font-weight: 600; font-size: 0.9063rem; }
.quote__role { font-size: 0.8125rem; color: var(--text-3); }

/* Placeholder marker so unfinished content is obvious in review. */
.placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-xs);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: repeating-linear-gradient(45deg, #fdf3d8, #fdf3d8 6px, #f8e6b4 6px, #f8e6b4 12px);
  color: var(--gold-900);
  border: 1px dashed var(--gold-500);
}

/* FAQ accordion */
.faq {
  border-top: 1px solid var(--line);
}

.section--dark .faq { border-top-color: var(--line-inv); }

.faq__item { border-bottom: 1px solid var(--line); }
.section--dark .faq__item { border-bottom-color: var(--line-inv); }

.faq__q {
  text-transform: uppercase;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.35rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.0313rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.4;
  color: inherit;
  transition: color var(--dur-2) var(--ease-out);
}

.faq__q:hover { color: var(--gold-700); }
.section--dark .faq__q:hover { color: var(--gold-300); }

.faq__icon {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  margin-top: 2px;
  transition: all var(--dur-2) var(--ease-out);
}

.section--dark .faq__icon { border-color: var(--line-inv-2); }

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 50% 6px auto;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform var(--dur-3) var(--ease-spring), opacity var(--dur-2) var(--ease-out);
}

.faq__icon::after { transform: translateY(-50%) rotate(90deg); }

.faq__q[aria-expanded="true"] .faq__icon {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--gold-400);
  transform: rotate(180deg);
}

.faq__q[aria-expanded="true"] .faq__icon::after { opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-3) var(--ease-out);
}

.faq__a > div { overflow: hidden; }

.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.faq__a p {
  padding-bottom: 1.35rem;
  color: var(--text-2);
  font-size: 0.9688rem;
  max-width: 72ch;
}

.section--dark .faq__a p { color: var(--text-inv-2); }

/* CTA band */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.75rem);
  background: var(--grad-ink);
  color: var(--text-inv);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(560px 320px at 20% 0%, rgba(205, 162, 53, 0.22), transparent 62%),
    radial-gradient(460px 300px at 88% 100%, rgba(205, 162, 53, 0.12), transparent 60%);
}

.cta-band h2 { color: var(--text-inv); }
.cta-band > * + * { margin-top: var(--s-4); }
.cta-band .cluster { justify-content: center; }

/* Embedded map — same frame as the photography around it. */
.map {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-3);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact cards */
.contact-grid { display: grid; gap: var(--s-4); }

@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: all var(--dur-3) var(--ease-out);
}

a.contact-card:hover {
  border-color: var(--gold-400);
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
}

.contact-card__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-700);
}

.contact-card__value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  word-break: break-word;
}

/* Email addresses have no break opportunities, so give them a smaller
   size rather than letting them split mid-word. */
.contact-card__value--long {
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  overflow-wrap: anywhere;
}

.contact-card__note { font-size: 0.8125rem; color: var(--text-3); }

/* 12. Forms ================================================================ */

.field { display: grid; gap: 0.4rem; }

.field__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-2);
}

.field__req { color: var(--gold-700); }

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font-size: 0.9375rem;
  background: var(--paper);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-md);
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}

.input::placeholder,
.textarea::placeholder { color: #9b9ba4; }

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(205, 162, 53, 0.16);
}

.textarea { min-height: 110px; resize: vertical; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a4a52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
}

.field--error .input,
.field--error .textarea,
.field--error .select {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(187, 33, 36, 0.12);
}

.field__error {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--error);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.field-row { display: grid; gap: var(--s-3); }

@media (min-width: 480px) {
  .field-row--2 { grid-template-columns: repeat(2, 1fr); }
}

/* Error summary — focus lands here after a failed step. */
.errsum {
  display: flex;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  margin-bottom: var(--s-4);
  border: 1.5px solid var(--error);
  border-left-width: 4px;
  border-radius: var(--r-md);
  background: #fdf2f2;
}

.errsum:focus-visible { outline-offset: 1px; }
.errsum svg { color: var(--error); flex: none; margin-top: 2px; }
.errsum__title { font-family: var(--font-display); font-weight: 700; font-size: 0.9063rem; color: #8c1b1d; }

.errsum__list { margin-top: 0.35rem; display: grid; gap: 0.2rem; }

.errsum__list a {
  font-size: 0.8125rem;
  color: #8c1b1d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.errsum__list a:hover { color: var(--error); }

/* Consent checkbox */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.5;
  cursor: pointer;
}

.consent input {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--line-2);
  border-radius: 6px;
  flex: none;
  margin-top: 1px;
  cursor: pointer;
  transition: all var(--dur-2) var(--ease-spring);
}

.consent input:checked {
  background: var(--ink-900);
  border-color: var(--ink-900);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23d8b764' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.consent a { color: var(--gold-700); text-decoration: underline; text-underline-offset: 2px; }

/* Honeypot — never shown, catches naive bots. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* 13. Footer =============================================================== */

.footer {
  background: var(--ink-900);
  color: var(--text-inv-2);
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-600), transparent);
}

.footer__grid {
  display: grid;
  gap: var(--s-7);
}

@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--s-8); } }


.footer .muted { color: var(--text-inv-3); }

.footer__blurb { font-size: 0.9063rem; color: var(--text-inv-3); max-width: 40ch; margin-top: var(--s-4); }

.footer__title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--s-4);
}

.footer__list { display: grid; gap: 0.55rem; }

.footer__list a {
  font-size: 0.9063rem;
  color: var(--text-inv-2);
  transition: color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
  display: inline-block;
}

.footer__list a:hover { color: var(--gold-300); transform: translateX(3px); }

.footer__contact { display: grid; gap: var(--s-4); }

.footer__contact-item { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9063rem; }
.footer__contact-item svg { color: var(--gold-400); flex: none; margin-top: 3px; }
.footer__contact-item a:hover { color: var(--gold-300); }
.footer__contact-item strong { color: var(--text-inv); font-weight: 600; display: block; }

.footer__bottom {
  margin-top: var(--s-8);
  padding-block: var(--s-5);
  border-top: 1px solid var(--line-inv);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-inv-3);
}

.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.footer__legal a:hover { color: var(--gold-300); }

/* Extra bottom room so the mobile action bar never covers content. */
@media (max-width: 767px) {
  .footer { padding-bottom: 76px; }
}

/* 14. Floating UI ========================================================== */

/* WhatsApp widget */
.wa {
  pointer-events: none;
  position: fixed;
  right: clamp(0.85rem, 3vw, 1.5rem);
  bottom: clamp(0.85rem, 3vw, 1.5rem);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

@media (max-width: 767px) {
  .wa { bottom: 76px; }
}

.wa__btn {
  pointer-events: auto;
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(11, 11, 12, 0.16);
  transition: transform var(--dur-3) var(--ease-spring), box-shadow var(--dur-3) var(--ease-out);
}

.wa__btn:hover { transform: scale(1.07); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5); }
.wa__btn:active { transform: scale(0.96); }

.wa__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: wa-ring 2.8s var(--ease-out) infinite;
}

@keyframes wa-ring {
  0%   { transform: scale(1); opacity: 0.75; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.wa__btn .wa__close { position: absolute; opacity: 0; transform: rotate(-90deg) scale(0.6); transition: all var(--dur-2) var(--ease-spring); }
.wa__btn .wa__open  { transition: all var(--dur-2) var(--ease-spring); }

.wa.is-open .wa__btn::after { display: none; }
.wa.is-open .wa__close { opacity: 1; transform: rotate(0) scale(1); }
.wa.is-open .wa__open  { opacity: 0; transform: rotate(90deg) scale(0.6); }

/* Nudge bubble */
.wa__nudge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 244px;
  padding: 0.65rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md) var(--r-md) 4px var(--r-md);
  box-shadow: var(--sh-3);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-2);
  opacity: 0;
  transform: translateY(8px) scale(0.94);
  transition: all var(--dur-3) var(--ease-spring);
  pointer-events: none;
}

.wa__nudge.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.wa__nudge-close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-3);
  flex: none;
}

.wa__nudge-close:hover { background: var(--paper-2); color: var(--ink-900); }

/* Chat panel */
.wa__panel {
  width: min(330px, calc(100vw - 2rem));
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-4);
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.94);
  transition: all var(--dur-3) var(--ease-spring), visibility var(--dur-3);
}

.wa.is-open .wa__panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

.wa__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  background: #075e54;
  color: #fff;
}

.wa__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  flex: none;
}

.wa__who { font-weight: 600; font-size: 0.9063rem; line-height: 1.2; }

.wa__status {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.wa__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  flex: none;
}

.wa__thread {
  padding: 1rem;
  background: #ece5dd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cg fill='%23d9d0c5' fill-opacity='0.5'%3E%3Ccircle cx='8' cy='8' r='1.4'/%3E%3Ccircle cx='28' cy='22' r='1.4'/%3E%3C/g%3E%3C/svg%3E");
}

.wa__bubble {
  position: relative;
  max-width: 92%;
  padding: 0.6rem 0.8rem;
  background: #fff;
  border-radius: 2px 10px 10px 10px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #1f1f1f;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.wa__time { display: block; margin-top: 0.2rem; font-size: 0.6875rem; color: #8a8a8a; text-align: right; }

.wa__quick { padding: 0.85rem 1rem; display: grid; gap: 0.4rem; background: var(--paper); }

.wa__quick-label {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-3);
  margin-bottom: 0.1rem;
}

.wa__quick a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.8438rem;
  font-weight: 500;
  transition: all var(--dur-2) var(--ease-out);
}

.wa__quick a:hover {
  border-color: var(--whatsapp);
  background: rgba(37, 211, 102, 0.07);
  transform: translateX(2px);
}

.wa__quick a svg { color: var(--whatsapp-dark); flex: none; }

.wa__foot { padding: 0 1rem 1rem; }

/* Mobile sticky action bar */
.actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(11, 11, 12, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-inv);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%);
  transition: transform var(--dur-3) var(--ease-out);
}

.actionbar.is-visible { transform: none; }

@media (min-width: 768px) { .actionbar { display: none; } }

.actionbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.6rem 0.3rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-inv-2);
  min-height: 60px;
  border-right: 1px solid var(--line-inv);
}

.actionbar a:last-child { border-right: 0; }
.actionbar a svg { color: var(--gold-400); }
.actionbar a:active { background: var(--ink-700); }

.actionbar a.is-primary { background: var(--grad-gold); color: var(--ink-900); }
.actionbar a.is-primary svg { color: var(--ink-900); }

/* Back to top */
.totop {
  position: fixed;
  left: clamp(0.85rem, 3vw, 1.5rem);
  bottom: clamp(0.85rem, 3vw, 1.5rem);
  z-index: 94;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-900);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--dur-3) var(--ease-spring), visibility var(--dur-3);
}

.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--ink-900); color: var(--gold-400); border-color: var(--ink-900); }

@media (max-width: 767px) { .totop { bottom: 76px; } }

/* 15. Motion & reveal ====================================================== */

/* Base state for scroll reveals — cleared by js/main.js. */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 460ms var(--ease-out),
    transform 460ms var(--ease-out);
}

.reveal.is-in { opacity: 1; transform: none; }

/* Stagger children by index (--i set inline or by JS). */
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 70ms); }

/* If JS never runs, content must still be visible. */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* Light islands ============================================================
   .wizard is a white card that is normally placed inside .section--dark or
   .pagehero. Those contexts restyle .muted, .lede, .badge and friends for a
   dark ground, and at equal specificity the last rule wins — so the light
   values are restated here, after them. */

.wizard .muted { color: var(--text-3); }
.wizard .lede { color: var(--text-2); }
.wizard .eyebrow { color: var(--gold-700); }
.wizard .link-arrow { color: var(--gold-700); }

.wizard .badge {
  background: var(--gold-tint);
  color: var(--gold-700);
  border-color: rgba(205, 162, 53, 0.24);
}

/* 16. Utilities ============================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* A line of text led by a small icon. */
.note-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.note-inline svg {
  flex: none;
  margin-top: 3px;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-5 { margin-bottom: var(--s-5); }
.full { width: 100%; }
.flex-1 { flex: 1; }
.nowrap { white-space: nowrap; }

@media print {
  .header, .topbar, .wa, .actionbar, .totop, .drawer { display: none !important; }
  body { color: #000; background: #fff; }
}
