/* ==========================================================================
   Rihlaya — rihlaya.com
   Shared stylesheet for index.html and contact.html

   Structural language borrowed from the Airbnb design system: a generous
   marketplace canvas, soft rounding everywhere, one shadow tier, 1px
   hairline cards, a pill-shaped finder bar, a light footer + legal band.
   The voltage is swapped from Rausch to a deep terracotta, the canvas
   from pure white to bone, and the type from a modest sans to an
   elegant serif set at real reading size with wide leading.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Ground */
  --bone: #fbf7f0;
  --bone-2: #f5ede1;
  --bone-3: #efe4d3;
  --card: #ffffff;

  /* Ink */
  --ink: #1e1a14;
  --body: #453d33;
  --muted: #6b6154;

  /* Voltage — deep terracotta. Fill tone and text tone are different. */
  --terracotta: #b4462a;
  --terracotta-deep: #93341b;
  --terracotta-press: #7e2b15;
  --terracotta-wash: #f6e6de;

  /* Indigo — the structural second colour */
  --indigo: #2e3f72;
  --indigo-deep: #26355f;
  --indigo-wash: #e6e8f0;

  /* Ochre — sun-bleached. FILLS AND RULES ONLY. Never text on bone. */
  --ochre: #d19a3c;
  --ochre-soft: #e4be79;
  --ochre-deep: #7b5512; /* the text-safe ochre */
  --ochre-wash: #f7ecd8;

  /* Olive, used sparingly in illustration foliage */
  --olive: #6f7a4e;
  --olive-deep: #4c5334;

  /* Lines */
  --hairline: #e3d9c9;
  --hairline-soft: #efe7da;
  --hairline-strong: #cdbfa9;

  /* On dark */
  --on-dark: #f7f1e6;
  --on-dark-soft: #d9cfc0;
  --on-dark-mute: #c0b5a3;

  /* Semantic */
  --error: #a3301b;
  --success: #3f6141;

  /* Radii — the soft shape language, unchanged from the source system */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Spacing */
  --s-xxs: 2px;
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-base: 16px;
  --s-lg: 24px;
  --s-xl: 32px;
  --s-xxl: 48px;
  --s-section: 64px;

  /* The single shadow tier */
  --shadow: rgba(30, 26, 20, 0.03) 0 0 0 1px, rgba(30, 26, 20, 0.05) 0 2px 6px 0,
    rgba(30, 26, 20, 0.09) 0 4px 12px 0;
  --shadow-lift: rgba(30, 26, 20, 0.04) 0 0 0 1px, rgba(30, 26, 20, 0.07) 0 6px 14px 0,
    rgba(30, 26, 20, 0.11) 0 12px 28px 0;

  /* Type */
  --font-display: "Fraunces", "Hoefler Text", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Spectral", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  --measure: 66ch;
  --container: 1200px;
  --container-wide: 1320px;
  --container-tight: 860px;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.012em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1.15em;
  padding-left: 1.15em;
}

li {
  margin-bottom: 0.4em;
}

a {
  color: var(--terracotta-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 160ms var(--ease);
}

a:hover {
  color: var(--terracotta-press);
}

strong,
b {
  font-weight: 600;
  color: var(--ink);
}

em {
  font-style: italic;
}

hr {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: var(--s-xxl) 0;
}

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

/* The header is sticky, so anchored sections need room above them. */
section[id],
div[id],
form[id] {
  scroll-margin-top: 96px;
}

@media (max-width: 940px) {
  section[id],
  div[id],
  form[id] {
    scroll-margin-top: 132px;
  }
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.num,
time,
.price,
td.num,
th.num {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* Focus — visible on everything, always */
:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute;
  left: var(--s-base);
  top: var(--s-base);
  z-index: 200;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: transform 160ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--on-dark);
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

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

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

.band {
  padding-block: clamp(56px, 8vw, 104px);
  position: relative;
}

.band--tight {
  padding-block: clamp(44px, 6vw, 72px);
}

.band--bone2 {
  background: var(--bone-2);
}

.band--card {
  background: var(--card);
}

.band--ink {
  background: var(--ink);
  color: var(--on-dark-soft);
}

.band--ink h2,
.band--ink h3,
.band--ink h4 {
  color: var(--on-dark);
}

.band--indigo {
  background: var(--indigo-deep);
  color: var(--on-dark-soft);
}

.band--indigo h2,
.band--indigo h3,
.band--indigo h4 {
  color: var(--on-dark);
}

.rule-top {
  border-top: 1px solid var(--hairline);
}

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

.measure {
  max-width: var(--measure);
}

.measure-narrow {
  max-width: 54ch;
}

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

.center .measure,
.center .measure-narrow {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   4. Type utilities
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 var(--s-base);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--ochre);
  border-radius: var(--r-full);
  flex: none;
}

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

.eyebrow--indigo {
  color: var(--indigo-deep);
}

.eyebrow--onDark {
  color: var(--ochre-soft);
}

.eyebrow--onDark::before {
  background: var(--terracotta);
}

h1,
.h1 {
  font-size: clamp(2.25rem, 1.15rem + 4.7vw, 4.3rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-weight: 500;
}

h2,
.h2 {
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
}

h3,
.h3 {
  font-size: clamp(1.3rem, 1.08rem + 0.9vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
}

h4,
.h4 {
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.22rem);
  line-height: 1.3;
  letter-spacing: -0.006em;
  font-weight: 600;
}

.lede {
  font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  line-height: 1.65;
  color: var(--body);
}

.band--ink .lede,
.band--indigo .lede {
  color: var(--on-dark-soft);
}

.small {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.micro {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.band--ink .micro,
.band--indigo .micro {
  color: var(--on-dark-mute);
}

.ui {
  font-family: var(--font-ui);
}

.serif-note {
  font-style: italic;
  color: var(--muted);
}

.arabic {
  font-family: var(--font-body);
  font-size: 1.15em;
}

/* --------------------------------------------------------------------------
   5. Buttons, pills, tags
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.005em;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease),
    border-color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}

.btn svg {
  flex: none;
}

.btn--primary {
  background: var(--terracotta);
  color: #fff;
}

.btn--primary:hover {
  background: var(--terracotta-deep);
  color: #fff;
}

.btn--primary:active {
  background: var(--terracotta-press);
  transform: translateY(1px);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--secondary:hover {
  background: var(--ink);
  color: var(--on-dark);
}

.btn--ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--onDark {
  background: var(--on-dark);
  color: var(--ink);
}

.btn--onDark:hover {
  background: #fff;
  color: var(--ink);
}

.btn--onDark-outline {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(247, 241, 230, 0.45);
}

.btn--onDark-outline:hover {
  border-color: var(--on-dark);
  background: rgba(247, 241, 230, 0.08);
  color: var(--on-dark);
}

.btn--sm {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.875rem;
  border-radius: var(--r-full);
}

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

.btn--onDark:focus-visible,
.btn--onDark-outline:focus-visible {
  outline-color: var(--ochre-soft);
}

.textlink {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--terracotta-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1.5px solid var(--ochre);
  padding-bottom: 2px;
}

.textlink:hover {
  color: var(--terracotta-press);
  border-bottom-color: var(--terracotta);
}

.textlink--onDark {
  color: var(--ochre-soft);
  border-bottom-color: rgba(228, 190, 121, 0.5);
}

.textlink--onDark:hover {
  color: #fff;
  border-bottom-color: var(--ochre-soft);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-full);
  background: var(--ochre-wash);
  color: var(--ochre-deep);
  border: 1px solid rgba(209, 154, 60, 0.4);
  line-height: 1.3;
  white-space: nowrap;
}

.tag--indigo {
  background: var(--indigo-wash);
  color: var(--indigo-deep);
  border-color: rgba(46, 63, 114, 0.25);
}

.tag--terracotta {
  background: var(--terracotta-wash);
  color: var(--terracotta-deep);
  border-color: rgba(180, 70, 42, 0.28);
}

.tag--plain {
  background: var(--card);
  color: var(--body);
  border-color: var(--hairline-strong);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 16px 8px 12px;
  border-radius: var(--r-full);
  background: var(--card);
  border: 1px solid var(--hairline);
  color: var(--body);
  box-shadow: var(--shadow);
}

.status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--terracotta);
  flex: none;
}

/* --------------------------------------------------------------------------
   6. Header and navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
  min-height: 78px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--ink);
}

.brand__tail {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-full);
  padding: 9px 16px 9px 14px;
  cursor: pointer;
  min-height: 44px;
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  flex-wrap: wrap;
}

.site-nav a {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--ochre);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--terracotta);
}

.site-header__cta {
  flex: none;
}

/* Progressive enhancement: only collapse the nav once JS is confirmed. */
@media (max-width: 940px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    order: 3;
    gap: 6px 20px;
    padding-top: 4px;
    padding-bottom: 10px;
    border-top: 1px solid var(--hairline-soft);
    margin-top: 4px;
  }

  .site-header__cta {
    margin-left: auto;
  }

  [data-js] .nav-toggle {
    display: inline-flex;
  }

  [data-js] .site-nav {
    display: none;
  }

  [data-js] .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 14px;
    background: var(--bone);
  }

  [data-js] .site-nav.is-open a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--hairline-soft);
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 96px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--hairline);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__title {
  margin-bottom: 0.42em;
}

.hero__title .flare {
  color: var(--terracotta-deep);
  font-style: italic;
  font-weight: 400;
}

.hero__lede {
  max-width: 46ch;
}

.hero__cta {
  margin-top: var(--s-xl);
}

.hero__meta {
  margin-top: var(--s-xl);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-base);
}

.hero__meta dt {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.hero__meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.hero__meta dd span {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  display: block;
  margin-top: 4px;
  letter-spacing: 0;
  text-transform: none;
}

.hero__art {
  position: relative;
}

.hero__plate {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bone-2);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
}

.hero__plate svg {
  width: 100%;
  height: auto;
}

.hero__caption {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.hero__caption::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--hairline-strong);
  margin-top: 10px;
  flex: none;
}

/* The finder pill — the source system's signature search bar, repurposed as
   an honest index into the page rather than a fake availability search. */
.finder {
  margin-top: clamp(32px, 5vw, 52px);
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  padding: 6px 6px 6px 4px;
}

.finder__seg {
  flex: 1 1 0;
  min-width: 0;
  display: block;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: var(--r-full);
  border-right: 1px solid var(--hairline-soft);
  transition: background-color 160ms var(--ease);
}

.finder__seg:last-of-type {
  border-right: 0;
}

.finder__seg:hover {
  background: var(--bone-2);
}

.finder__seg .k {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 2px;
}

.finder__seg .v {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.finder__orb {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: var(--r-full);
  background: var(--terracotta);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-left: 6px;
  transition: background-color 160ms var(--ease);
}

.finder__orb:hover {
  background: var(--terracotta-deep);
  color: #fff;
}

.finder__orb svg {
  width: 22px;
  height: 22px;
}

.finder__orb .orb-label {
  display: none;
}

/* --------------------------------------------------------------------------
   8. Section headers
   -------------------------------------------------------------------------- */

.sec-head {
  max-width: 62ch;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.sec-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.sec-head--split .sec-head__aside {
  padding-bottom: 6px;
}

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

.sec-head p {
  margin-bottom: 0;
}

.sec-head h2 + p {
  margin-top: var(--s-base);
}

/* --------------------------------------------------------------------------
   9. Cards — the marketplace rhythm
   -------------------------------------------------------------------------- */

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

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

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

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--s-lg);
  display: flex;
  flex-direction: column;
}

.card--flat {
  background: transparent;
  border: 0;
  padding: 0;
}

.card h3,
.card h4 {
  margin-bottom: 10px;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Problem cards — two honest columns */
.problem {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-lg);
  margin-bottom: var(--s-xl);
}

.problem__card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: clamp(24px, 3vw, 34px);
  position: relative;
}

.problem__card svg {
  width: 100%;
  height: auto;
  max-width: 210px;
  margin-bottom: var(--s-base);
}

.problem__card h3 {
  font-size: 1.35rem;
}

.problem__note {
  border-left: 3px solid var(--terracotta);
  padding: 4px 0 4px 22px;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.55rem);
  font-family: var(--font-display);
  line-height: 1.35;
  color: var(--ink);
  max-width: 40ch;
}

/* Step cards — how a journey is built */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--card);
}

.step {
  padding: clamp(22px, 2.6vw, 32px);
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
}

.step:last-child {
  border-right: 0;
}

.step__ico {
  width: 46px;
  height: 46px;
  margin-bottom: var(--s-base);
}

.step__n {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 8px;
}

.step h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9375rem;
  line-height: 1.62;
  margin-bottom: 0;
  color: var(--body);
}

/* Journey cards */
.journeys {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 30px);
}

.journey {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}

.journey:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.journey__plate {
  background: var(--bone-2);
  border-bottom: 1px solid var(--hairline);
  position: relative;
}

.journey__plate svg {
  width: 100%;
  height: auto;
  display: block;
}

.journey__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow);
}

.journey__body {
  padding: var(--s-lg);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.journey__region {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.journey h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.journey__desc {
  font-size: 0.9688rem;
  line-height: 1.62;
  color: var(--body);
  margin-bottom: var(--s-base);
}

.journey__lead {
  background: var(--bone);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  margin-bottom: var(--s-base);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--body);
  font-family: var(--font-ui);
}

.journey__lead b {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--indigo-deep);
  margin-bottom: 4px;
}

.journey__facts {
  margin: 0 0 var(--s-base);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hairline-soft);
}

.journey__facts li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--hairline-soft);
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.8438rem;
}

.journey__facts dt,
.journey__facts .k {
  color: var(--muted);
}

.journey__facts .v {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.journey__foot {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-md);
  flex-wrap: wrap;
}

.journey__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.journey__price small {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   10. Where the money goes
   -------------------------------------------------------------------------- */

.money {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}

.money__panel {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}

.money__basis {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-base) var(--s-xl);
  padding-bottom: var(--s-base);
  margin-bottom: var(--s-lg);
  border-bottom: 1px solid var(--hairline);
}

.money__basis div {
  min-width: 0;
}

.money__basis dt {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.money__basis dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.chart-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.chart-scroll svg {
  min-width: 460px;
  width: 100%;
  height: auto;
}

.money__table {
  margin-top: var(--s-lg);
  font-family: var(--font-ui);
  font-size: 0.875rem;
}

.money__table caption {
  text-align: left;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
}

.money__table th,
.money__table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--hairline-soft);
  vertical-align: baseline;
}

.money__table thead th {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--hairline-strong);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.money__table td.num,
.money__table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.money__table tbody th {
  font-weight: 500;
  color: var(--ink);
}

.money__table tfoot th,
.money__table tfoot td {
  font-weight: 700;
  color: var(--ink);
  border-bottom: 0;
  border-top: 1px solid var(--hairline-strong);
}

.swatch {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  margin-right: 9px;
  vertical-align: baseline;
  flex: none;
}

.money__points {
  list-style: none;
  padding: 0;
  margin: var(--s-lg) 0 0;
}

.money__points li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

.money__points li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.money__points svg {
  width: 26px;
  height: 26px;
  flex: none;
  margin-top: 2px;
}

.money__points b {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}

.money__points span {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--body);
}

.callout {
  background: var(--ochre-wash);
  border: 1px solid rgba(209, 154, 60, 0.42);
  border-radius: var(--r-md);
  padding: 18px 20px;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--body);
}

.callout b {
  color: var(--ochre-deep);
}

.callout--indigo {
  background: var(--indigo-wash);
  border-color: rgba(46, 63, 114, 0.28);
}

.callout--indigo b {
  color: var(--indigo-deep);
}

.callout--onDark {
  background: rgba(247, 241, 230, 0.07);
  border-color: rgba(247, 241, 230, 0.22);
  color: var(--on-dark-soft);
}

.callout--onDark b {
  color: var(--ochre-soft);
}

/* --------------------------------------------------------------------------
   11. Itinerary timeline
   -------------------------------------------------------------------------- */

.itin {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.itin__head {
  padding: clamp(22px, 3vw, 32px);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-base) var(--s-xl);
  align-items: flex-end;
  justify-content: space-between;
}

.itin__head h3 {
  margin-bottom: 6px;
}

.itin__stats {
  display: flex;
  gap: var(--s-xl);
  flex-wrap: wrap;
  margin: 0;
}

.itin__stats dt {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.itin__stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.itin__rail {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(22px, 3vw, 32px);
  background: var(--bone-2);
  border-bottom: 1px solid var(--hairline);
}

.itin__rail svg {
  min-width: 720px;
  width: 100%;
  height: auto;
}

.itin__bases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.base {
  padding: clamp(22px, 2.6vw, 30px);
  border-right: 1px solid var(--hairline);
}

.base:last-child {
  border-right: 0;
}

.base__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.base__glyph {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--bone-2);
  border: 1px solid var(--hairline);
}

.base__n {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.base h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.base__days {
  list-style: none;
  margin: 0;
  padding: 0;
}

.base__days li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--hairline-soft);
  margin: 0;
  font-size: 0.9063rem;
  line-height: 1.55;
  color: var(--body);
}

.base__days .d {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.itin__foot {
  padding: clamp(20px, 2.4vw, 26px) clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--hairline);
  background: var(--bone);
  font-size: 0.9375rem;
  color: var(--body);
  display: flex;
  gap: var(--s-base);
  align-items: flex-start;
}

.itin__foot svg {
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   12. Leaders (role-shaped, deliberately unnamed)
   -------------------------------------------------------------------------- */

.leaders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 28px);
}

.leader {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
}

.leader__silhouette {
  width: 72px;
  height: 72px;
  margin-bottom: var(--s-base);
  border-radius: var(--r-full);
  background: var(--bone-2);
  border: 1px dashed var(--hairline-strong);
  padding: 6px;
}

.leader h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}

.leader__role {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-deep);
  margin-bottom: 10px;
}

.leader p {
  font-size: 0.9375rem;
  line-height: 1.62;
}

.leader__slot {
  margin-top: auto;
  padding-top: var(--s-base);
  border-top: 1px dashed var(--hairline-strong);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   13. Pricing
   -------------------------------------------------------------------------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 28px);
  align-items: stretch;
}

.tier {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
}

.tier--feature {
  border-color: var(--terracotta);
  box-shadow: var(--shadow);
  position: relative;
}

.tier--feature::before {
  content: "Most journeys";
  position: absolute;
  top: -11px;
  left: clamp(24px, 3vw, 34px);
  background: var(--terracotta);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
}

.tier h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.tier__sub {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: var(--s-base);
}

/* Keep the price rows and their rules on one line across the three cards. */
@media (min-width: 1081px) {
  .tier__sub {
    min-height: 50px;
  }

  .tier__price {
    min-height: 2.1em;
  }

  .tier__unit {
    min-height: 46px;
  }
}

.tier__price {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.tier__unit {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 8px;
  padding-bottom: var(--s-base);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: var(--s-base);
}

.tier__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-lg);
}

.tier__list li {
  display: flex;
  gap: 11px;
  padding: 7px 0;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--body);
}

.tier__list svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 5px;
}

.tier .btn {
  margin-top: auto;
}

.incl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 48px);
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(28px, 3.5vw, 42px);
  border-top: 1px solid var(--hairline);
}

.incl h3 {
  font-size: 1.15rem;
  margin-bottom: var(--s-md);
}

.incl ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: var(--s-lg);
}

.incl li {
  font-size: 0.9375rem;
  line-height: 1.5;
  padding: 6px 0 6px 20px;
  position: relative;
  break-inside: avoid;
  color: var(--body);
}

.incl li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--ochre);
}

.incl--out li::before {
  background: transparent;
  border: 1px solid var(--hairline-strong);
}

/* --------------------------------------------------------------------------
   14. Q&A
   -------------------------------------------------------------------------- */

.qa {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 4vw, 56px);
}

.qa__item {
  padding: var(--s-lg) 0;
  border-top: 1px solid var(--hairline);
}

.qa__item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.qa__item p {
  font-size: 0.9688rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   15. Mosaic divider + closing CTA
   -------------------------------------------------------------------------- */

.mosaic-rule {
  height: 26px;
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26' viewBox='0 0 52 26'%3E%3Cg fill='none' stroke='%23cdbfa9' stroke-width='1'%3E%3Cpath d='M0 13h52'/%3E%3C/g%3E%3Cg fill='none' stroke='%23d19a3c' stroke-width='1.2'%3E%3Cpath d='M26 4l9 9-9 9-9-9z'/%3E%3Cpath d='M26 8.4l4.6 4.6L26 17.6 21.4 13z'/%3E%3C/g%3E%3Cg fill='%23b4462a'%3E%3Ccircle cx='0' cy='13' r='1.7'/%3E%3Ccircle cx='52' cy='13' r='1.7'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.85;
}

.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.cta-band__art svg {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--bone-2);
  border-top: 1px solid var(--hairline);
  padding-block: clamp(44px, 5vw, 64px) 0;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 48px);
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--hairline);
}

.footer__about .brand {
  margin-bottom: var(--s-base);
}

.footer__about p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--body);
  max-width: 38ch;
}

.footer__meaning {
  margin-top: var(--s-base);
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
  max-width: 40ch;
}

.footer__col h2,
.footer__col h3 {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-md);
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__col li {
  margin-bottom: 9px;
}

.footer__col a,
.footer__col span {
  font-family: var(--font-ui);
  font-size: 0.9063rem;
  color: var(--body);
  text-decoration: none;
  line-height: 1.5;
}

.footer__col a:hover {
  color: var(--terracotta-deep);
  text-decoration: underline;
}

.footer__legal {
  padding-block: var(--s-lg) var(--s-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md) var(--s-lg);
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer__legal p {
  margin: 0;
}

.footer__legal ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-base) var(--s-lg);
  margin: 0;
  padding: 0;
}

.footer__legal li {
  margin: 0;
}

.footer__legal a {
  color: var(--muted);
  text-decoration: none;
}

.footer__legal a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   17. Forms — contact page
   -------------------------------------------------------------------------- */

.contact-hero {
  padding-block: clamp(40px, 5vw, 72px) clamp(28px, 3.5vw, 44px);
  border-bottom: 1px solid var(--hairline);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.2vw, 40px);
  box-shadow: var(--shadow);
}

.form-card > h2 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.95rem);
  margin-bottom: 10px;
}

.form-intro {
  font-size: 0.9688rem;
  line-height: 1.65;
  color: var(--body);
  padding-bottom: var(--s-lg);
  margin-bottom: var(--s-lg);
  border-bottom: 1px solid var(--hairline-soft);
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--s-lg);
}

legend {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
  margin-bottom: var(--s-base);
}

.field {
  margin-bottom: var(--s-lg);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-base) var(--s-lg);
}

label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
  line-height: 1.4;
}

.label-hint {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.45;
}

.req {
  color: var(--terracotta-deep);
  font-weight: 700;
  margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-sm);
  padding: 14px 14px;
  min-height: 54px;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

textarea {
  min-height: 148px;
  resize: vertical;
  font-family: var(--font-body);
  font-size: 1.0313rem;
  line-height: 1.65;
  padding-top: 13px;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%236b6154' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

input::placeholder,
textarea::placeholder {
  color: #6b6154;
  opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(46, 63, 114, 0.16);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 2px;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error);
  border-width: 2px;
}

.err {
  display: none;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--error);
  margin-top: 7px;
}

.err.is-visible {
  display: flex;
  gap: 7px;
  align-items: flex-start;
}

.err svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: var(--bone);
}

.check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--terracotta);
}

.check label {
  margin: 0;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--body);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-base);
  align-items: center;
  padding-top: var(--s-lg);
  border-top: 1px solid var(--hairline-soft);
}

.form-actions .micro {
  flex: 1 1 220px;
}

/* Aside routes on the contact page */
.routes {
  display: flex;
  flex-direction: column;
  gap: var(--s-base);
}

.route {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--s-lg);
}

.route__top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.route__top svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.route h3 {
  font-size: 1.12rem;
  margin: 0;
}

.route p {
  font-size: 0.9063rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.route a {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
}

.after-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.after-list li {
  position: relative;
  padding: 0 0 var(--s-lg) 46px;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--body);
}

.after-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: var(--r-full);
  background: var(--indigo-deep);
  color: var(--on-dark);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.after-list li::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 8px;
  width: 1px;
  background: var(--hairline-strong);
}

.after-list li:last-child {
  padding-bottom: 0;
}

.after-list li:last-child::after {
  display: none;
}

.after-list b {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.contact-plate {
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: var(--bone-2);
  overflow: hidden;
  margin-bottom: var(--s-base);
}

.contact-plate svg {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .journeys,
  .leaders {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(2) {
    border-right: 0;
  }

  .step:nth-child(1),
  .step:nth-child(2) {
    border-bottom: 1px solid var(--hairline);
  }

  .money {
    grid-template-columns: minmax(0, 1fr);
  }

  .tiers {
    grid-template-columns: minmax(0, 1fr);
  }

  .tier--feature::before {
    left: auto;
    right: clamp(24px, 3vw, 34px);
  }
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-xl);
  }

  .hero__art {
    order: -1;
  }

  .sec-head--split {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .cta-band__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-band__art {
    order: -1;
    max-width: 420px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .itin__bases {
    grid-template-columns: minmax(0, 1fr);
  }

  .base {
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .base:last-child {
    border-bottom: 0;
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1.0313rem;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .journeys,
  .leaders,
  .problem,
  .qa,
  .incl,
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .step:nth-child(2) {
    border-bottom: 1px solid var(--hairline);
  }

  .qa__item:first-child + .qa__item {
    border-top: 1px solid var(--hairline);
  }

  .incl ul {
    columns: 1;
  }

  .finder {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--r-lg);
    padding: 8px;
  }

  .finder__seg {
    border-right: 0;
    border-bottom: 1px solid var(--hairline-soft);
    border-radius: var(--r-md);
    padding: 12px 16px;
  }

  .finder__orb {
    width: 100%;
    height: 50px;
    border-radius: var(--r-md);
    margin: 8px 0 0;
    gap: 10px;
    font-family: var(--font-ui);
    font-size: 0.9375rem;
    font-weight: 600;
  }

  .finder__orb .orb-label {
    display: inline;
  }

  .hero__meta {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-base);
  }

  .hero__meta > div {
    padding-bottom: var(--s-base);
    border-bottom: 1px solid var(--hairline-soft);
  }

  .hero__meta > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .itin__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .money__basis {
    gap: var(--s-base);
  }

  .money__basis > div {
    flex: 1 1 130px;
  }
}

@media (max-width: 560px) {
  /* Two rows of header chrome on a phone is one row too many. Every other
     surface on the page carries the same call to action. */
  .site-header__cta {
    display: none;
  }
}

@media (max-width: 460px) {
  .btn {
    width: 100%;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .textlink {
    justify-content: center;
  }

  .site-header__cta .btn {
    width: auto;
  }

  .form-actions .btn {
    width: 100%;
  }

  .journey__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .base__days li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

/* --------------------------------------------------------------------------
   19. Motion and print
   -------------------------------------------------------------------------- */

@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;
  }

  .journey:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .cta-band,
  .finder,
  .skip-link {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card,
  .journey,
  .tier {
    break-inside: avoid;
    box-shadow: none;
  }
}
