/* ==========================================================================
   TOURING TOURS — Design System
   "The Road Is the Destination"
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Core palette */
  --ink:        #16161A;
  --ink-2:      #1D1D22;
  --ink-3:      #26262C;
  --ink-4:      #32323A;

  --bone:       #F4F0E8;
  --bone-2:     #E9E3D7;
  --bone-3:     #D9D1C1;

  --sand:       #C9884A;
  --sand-lt:    #E3A96D;
  --sand-dk:    #A66A33;
  --clay:       #8A4B2A;
  --sage:       #5F6F5C;

  /* Semantic */
  --bg:         var(--ink);
  --fg:         var(--bone);
  --muted:      rgba(244, 240, 232, 0.68);
  /* 0.38 measured 3.2:1 on --ink; 0.50 clears WCAG AA (4.5:1) for the
     12px supporting text that uses it (stat notes, counters, captions). */
  --muted-2:    rgba(244, 240, 232, 0.50);
  --line:       rgba(244, 240, 232, 0.12);
  --line-2:     rgba(244, 240, 232, 0.06);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluid scale */
  --step--2: clamp(0.69rem, 0.67rem + 0.11vw, 0.75rem);
  --step--1: clamp(0.83rem, 0.79rem + 0.19vw, 0.94rem);
  --step-0:  clamp(1rem, 0.95rem + 0.24vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.39vw, 1.5rem);
  --step-2:  clamp(1.44rem, 1.31rem + 0.65vw, 2rem);
  --step-3:  clamp(1.73rem, 1.53rem + 1.01vw, 2.66rem);
  --step-4:  clamp(2.07rem, 1.77rem + 1.52vw, 3.55rem);
  --step-5:  clamp(2.49rem, 2.03rem + 2.28vw, 4.73rem);
  --step-6:  clamp(2.99rem, 2.32rem + 3.35vw, 6.31rem);
  --step-7:  clamp(3.58rem, 2.6rem + 4.9vw, 8.41rem);

  /* Space */
  --gutter:  clamp(1.25rem, 0.9rem + 1.7vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 7vw, 10rem);
  --maxw:    1440px;

  /* Motion */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:   cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --dur:       0.7s;

  --radius:    2px;
  --header-h:  84px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-synthesis-weight: none;
}

body.is-locked { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--sand); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--sand-lt);
  outline-offset: 3px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink-2); }
::-webkit-scrollbar-thumb { background: var(--ink-4); }
::-webkit-scrollbar-thumb:hover { background: var(--sand-dk); }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

.display-xl { font-size: var(--step-7); }
.display-l  { font-size: var(--step-6); }
.display-m  { font-size: var(--step-5); }
.display-s  { font-size: var(--step-4); }

em, .italic {
  font-style: italic;
  color: var(--sand-lt);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  flex: none;
}

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

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 300;
  max-width: 56ch;
  text-wrap: pretty;
}

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

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide { max-width: 1720px; }
.container--narrow { max-width: 980px; }

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 4rem;
  }
}

.section-head__title { margin-top: 1.25rem; }

/* Light surface.
   Redefines the semantic tokens rather than patching individual classes, so
   ANY descendant using var(--muted) / var(--line) / var(--fg) inverts with it.
   Patching class-by-class silently breaks components that use the tokens
   directly (e.g. .jcard__text rendering bone-on-bone). */
.surface-light {
  background: var(--bone);
  color: var(--ink);

  --fg:      var(--ink);
  --muted:   rgba(10, 10, 11, 0.68);
  --muted-2: rgba(10, 10, 11, 0.60);
  --line:    rgba(10, 10, 11, 0.14);
  --line-2:  rgba(10, 10, 11, 0.07);
}
.surface-light .eyebrow { color: var(--clay); }
.surface-light em { color: var(--clay); }

/* --sand is tuned for dark ground (~2.5:1 on bone). Anything that carries the
   accent as TEXT on a light surface steps down to --clay for legibility. */
.surface-light .tlink,
.surface-light .member__role,
.surface-light .rating__stars,
.surface-light .pillar__n { color: var(--clay); }

.surface-alt { background: var(--ink-2); }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--sand);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 2rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease), transform 0.45s var(--ease);
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bone);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
  z-index: -1;
}

.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn:active { transform: scale(0.97); }

.btn svg { width: 16px; height: 16px; transition: transform 0.45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  border: 1px solid var(--line);
}
.btn--ghost::before { background: var(--sand); }
.btn--ghost:hover { color: var(--ink); border-color: var(--sand); }

.surface-light .btn--ghost {
  --btn-fg: var(--ink);
  border-color: rgba(10, 10, 11, 0.18);
}

.btn--lg { padding: 1.25rem 2.5rem; }

/* Text link with sweep */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
  padding-bottom: 6px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.6s var(--ease-out), color 0.3s;
}
.tlink:hover { background-size: 100% 1px; }
.tlink svg { width: 15px; height: 15px; transition: transform 0.45s var(--ease); }
.tlink:hover svg { transform: translate(3px, -3px); }

/* --------------------------------------------------------------------------
   6. REVEAL SYSTEM
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 1s var(--ease-out) var(--d, 0s),
    transform 1s var(--ease-out) var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal="fade"] { transform: none; }
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.94); }

/* Image mask reveal */
[data-reveal="mask"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.25s var(--ease-out) var(--d, 0s);
}
[data-reveal="mask"].is-in { clip-path: inset(0 0 0% 0); }

/* Split text words */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.word__i {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.95s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 45ms + var(--wd, 0s));
}
.is-in .word__i,
.is-active .word__i { transform: translateY(0); }

/* --------------------------------------------------------------------------
   7. HEADER
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.5s var(--ease), height 0.5s var(--ease),
              border-color 0.5s var(--ease), backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  height: 68px;
  background: rgba(22, 22, 26, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line-2);
}

.header.is-hidden { transform: translateY(-100%); transition: transform 0.5s var(--ease); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.brand {
  display: grid;
  row-gap: 2px;
  flex: none;
  z-index: 2;
}
.brand__home {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--sand);
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 0.6s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(180deg); }
.brand__mark svg { width: 17px; height: 17px; color: var(--sand); }

.brand__name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand__sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-top: 0.3rem;
  color: var(--muted);
  transition: color 0.3s;
}
.brand__sub:hover { color: var(--sand); }

.nav { display: none; }

@media (min-width: 1200px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}
/* Roomier tracking once there is width to spare. */
@media (min-width: 1500px) { .nav { gap: 2.4rem; } }

.nav__link {
  position: relative;
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.02em;
  padding-block: 4px;
  color: var(--fg);
  opacity: 0.75;
  transition: opacity 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease-out);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after,
.nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-current { opacity: 1; color: var(--sand); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: none;
}


/* Secondary header links (Pay, Driving Permits) — kept out of the main nav so the
   primary five stay uncluttered, but still reachable from every page. */
.header__link {
  display: none;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 3px;
  background-image: linear-gradient(var(--sand), var(--sand));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: color 0.3s, background-size 0.5s var(--ease-out);
}
.header__link:hover { color: var(--sand); background-size: 100% 1px; }
.header__link.is-current { color: var(--sand); background-size: 100% 1px; }
@media (min-width: 1200px) { .header__link { display: block; } }

.header__cta {
  display: none;
  padding: 0.72rem 1.3rem;
  font-size: 0.72rem;
  gap: 0.5rem;
}
.header__cta svg { width: 13px; height: 13px; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }

/* Currency switch */
.cur {
  display: none;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}
@media (min-width: 900px) { .cur { display: flex; } }

.cur__btn {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 100px;
  color: var(--muted-2);
  transition: color 0.3s, background 0.3s;
}
.cur__btn.is-on { background: var(--sand); color: var(--ink); }

/* Burger */
.burger {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  gap: 5px;
  z-index: 2;
  flex: none;
}
@media (min-width: 1200px) { .burger { display: none; } }

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.5s var(--ease), opacity 0.3s;
}
.burger span:nth-child(1) { transform: translateY(-3.5px); }
.burger span:nth-child(2) { transform: translateY(3.5px); }
.burger.is-open span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(0) rotate(-45deg); }

/* --------------------------------------------------------------------------
   8. MOBILE MENU
   -------------------------------------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s var(--ease-out);
  overflow-y: auto;
}
.menu.is-open { clip-path: inset(0 0 0% 0); }

.menu__list { display: flex; flex-direction: column; gap: 0.25rem; }

.menu__item { overflow: hidden; }

.menu__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 1.25;
  padding-block: 0.15em;
  transform: translateY(105%);
  transition: transform 0.8s var(--ease-out), color 0.3s;
}
.menu.is-open .menu__link {
  transform: translateY(0);
  transition-delay: calc(var(--i, 0) * 70ms + 150ms);
}
.menu__link:hover { color: var(--sand); }
.menu__link span {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

.menu__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  font-size: var(--step--1);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   9. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s var(--ease-io);
}
.hero__slide.is-active { opacity: 1; }

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  filter: brightness(1.08) saturate(1.04);
  transition: transform 9s linear;
}
.hero__slide.is-active img { transform: scale(1); }

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(22,22,26,0.44) 0%, rgba(22,22,26,0.02) 34%, rgba(22,22,26,0.26) 72%, rgba(22,22,26,0.78) 100%),
    linear-gradient(95deg, rgba(22,22,26,0.66) 0%, rgba(22,22,26,0.1) 52%, transparent 84%);
}

.hero__inner {
  width: 100%;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  padding-top: calc(var(--header-h) + 3rem);
  display: grid;
  gap: 3rem;
}

@media (min-width: 1060px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 4rem;
  }
}

/* Hero copy panels */
.hero__copy { position: relative; }

.hero__panel {
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s var(--ease);
}
.hero__panel.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.hero__eyebrow {
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand-lt);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  text-shadow: 0 1px 16px rgba(22, 22, 26, 0.9);
}
.hero__eyebrow i {
  font-style: normal;
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.8s var(--ease-out) 0.1s;
}
.hero__panel.is-active .hero__eyebrow i { transform: translateY(0); }
.hero__eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--sand);
  flex: none;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-out) 0.15s;
}
.hero__panel.is-active .hero__eyebrow::before { transform: scaleX(1); }

.hero__title {
  font-size: var(--step-7);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 15ch;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 28px rgba(22, 22, 26, 0.82);
}

.hero__lede {
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(244, 240, 232, 0.9);
  max-width: 46ch;
  margin-bottom: 2.25rem;
  text-shadow: 0 1px 18px rgba(22, 22, 26, 0.9);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out) 0.5s, transform 0.9s var(--ease-out) 0.5s;
}
.hero__panel.is-active .hero__lede { opacity: 1; transform: none; }

.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out) 0.65s, transform 0.9s var(--ease-out) 0.65s;
}
.hero__panel.is-active .hero__row { opacity: 1; transform: none; }

.hero__facts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 16px rgba(22, 22, 26, 0.9);
}
.hero__facts b {
  font-weight: 500;
  color: var(--bone);
  font-size: var(--step-0);
}
.hero__facts span { width: 4px; height: 4px; border-radius: 50%; background: var(--sand); }

/* Hero slide switcher */
.hero__nav {
  display: none;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--line);
  padding-left: 1.75rem;
  min-width: 250px;
}
@media (min-width: 1060px) { .hero__nav { display: flex; } }

.hero__tab {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.85rem 0;
  text-align: left;
  color: var(--muted-2);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 16px rgba(22, 22, 26, 0.9);
  transition: color 0.4s var(--ease), padding-left 0.5s var(--ease);
  border-bottom: 1px solid var(--line-2);
}
.hero__tab:last-child { border-bottom: 0; }
.hero__tab i {
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  opacity: 0.6;
}
.hero__tab:hover { color: var(--bone); padding-left: 8px; }
.hero__tab.is-on { color: var(--bone); }
.hero__tab.is-on i { color: var(--sand); opacity: 1; }

.hero__tab::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 1px);
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--sand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.hero__tab.is-on::before { transform: scaleY(1); }

.hero__progress {
  margin-top: 1.5rem;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.hero__progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__progress i.is-running {
  animation: heroBar var(--hero-dur, 7s) linear forwards;
}
@keyframes heroBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Scroll cue */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-2);
  z-index: 3;
}
@media (min-width: 760px) { .hero__cue { display: flex; } }
.hero__cue::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--sand), transparent);
  animation: cue 2.4s var(--ease-io) infinite;
  transform-origin: top;
}
@keyframes cue {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(46px); opacity: 0; }
}

/* --------------------------------------------------------------------------
   10. MARQUEE
   -------------------------------------------------------------------------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 1.4rem;
  overflow: hidden;
  background: var(--ink-2);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 44s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

.marquee__group {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding-right: 3.5rem;
}
.marquee__item {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand);
  flex: none;
}
.marquee__item em { font-style: italic; color: var(--sand-lt); }

/* --------------------------------------------------------------------------
   11. SIGNATURE PANELS (expanding accordion)
   -------------------------------------------------------------------------- */
.panels {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: auto;
}

@media (min-width: 1000px) {
  .panels {
    flex-direction: row;
    height: 640px;
  }
}

.panel {
  position: relative;
  flex: 1;
  min-height: 260px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: flex-grow 1s var(--ease-out);
  background: var(--ink-3);
}

@media (min-width: 1000px) {
  .panel { min-height: 0; flex: 1 1 0; }
  .panel.is-open { flex-grow: 4.6; }
}

.panel__img {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.panel__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.16);
  filter: grayscale(0.12) brightness(0.84);
  transition: transform 1.4s var(--ease-out), filter 1.1s var(--ease);
}
.panel.is-open .panel__img img,
.panel:hover .panel__img img {
  transform: scale(1);
  filter: grayscale(0) brightness(1);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(22,22,26,0.1) 0%, rgba(22,22,26,0.06) 28%, rgba(22,22,26,0.62) 62%, rgba(22,22,26,0.94) 100%);
}

.panel__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  gap: 1rem;
}

.panel__idx {
  position: absolute;
  top: clamp(1.25rem, 2.5vw, 2.25rem);
  left: clamp(1.5rem, 2.5vw, 2.5rem);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--sand);
  opacity: 0.85;
}

.panel__title {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Below the accordion breakpoint the panel is always open, so the
   vertical label would duplicate the heading inside .panel__reveal */
@media (max-width: 999px) {
  .panel__title { display: none; }
}

/* Vertical title when collapsed (desktop) */
@media (min-width: 1000px) {
  .panel__title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    position: absolute;
    left: clamp(1.5rem, 2.5vw, 2.5rem);
    bottom: clamp(1.5rem, 2.5vw, 2.5rem);
    transition: opacity 0.4s var(--ease), transform 0.7s var(--ease);
  }
  .panel.is-open .panel__title {
    opacity: 0;
    transform: rotate(180deg) translateY(-20px);
    pointer-events: none;
  }
}

.panel__reveal {
  max-width: 46ch;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 1000px) {
  .panel__reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--ease) 0.15s, transform 0.8s var(--ease-out) 0.15s;
    pointer-events: none;
  }
  .panel.is-open .panel__reveal { opacity: 1; transform: none; pointer-events: auto; }
}

.panel__reveal h3 {
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  line-height: 1;
  text-shadow: 0 2px 20px rgba(22, 22, 26, 0.85);
}

.panel__reveal p {
  color: rgba(244, 240, 232, 0.88);
  text-shadow: 0 1px 14px rgba(22, 22, 26, 0.85);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.55;
}

.panel__stats {
  display: flex;
  gap: 1.75rem;
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 14px rgba(22, 22, 26, 0.85);
}
.panel__stats b { display: block; color: var(--bone); font-weight: 500; font-size: var(--step-0); }

/* --------------------------------------------------------------------------
   12. WIDE TOUR CARDS
   -------------------------------------------------------------------------- */
.jlist {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 5rem);
}

.jcard {
  position: relative;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 900px) {
  .jcard {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(2rem, 4vw, 4.5rem);
  }
  .jcard:nth-child(even) .jcard__media { order: 2; }
}

.jcard__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink-3);
}

@media (min-width: 900px) {
  .jcard__media { aspect-ratio: 4 / 3; }
}

.jcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease-out), filter 0.9s var(--ease);
  filter: brightness(1);
}
.jcard:hover .jcard__media img { transform: scale(1.08); filter: brightness(1.06); }

.jcard__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  z-index: 2;
}

.chip {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 100px;
  background: rgba(10, 10, 11, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 240, 232, 0.16);
  color: var(--bone);
}
.chip--accent { background: var(--sand); color: var(--ink); border-color: transparent; }

.jcard__body {
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}
@media (min-width: 900px) { .jcard__body { padding-top: 0; } }

.jcard__meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: var(--step--2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
}
.jcard__meta s { width: 18px; height: 1px; background: currentColor; opacity: 0.5; }

.jcard__title {
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

/* Title sweep on hover */
.jcard__title a {
  background-image: linear-gradient(var(--sand), var(--sand));
  background-size: 0% 2px;
  background-position: 0 92%;
  background-repeat: no-repeat;
  transition: background-size 0.75s var(--ease-out);
}
.jcard:hover .jcard__title a { background-size: 100% 2px; }

.jcard__text {
  color: var(--muted);
  font-weight: 300;
  max-width: 52ch;
  line-height: 1.6;
}

.jcard__feats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
}
.jcard__feats li {
  font-size: var(--step--2);
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 100px;
  transition: border-color 0.5s var(--ease), color 0.5s var(--ease);
}
.jcard:hover .jcard__feats li { border-color: rgba(201, 136, 74, 0.42); color: var(--bone-3); }

.jcard__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-2);
  margin-top: 0.5rem;
}

.price { display: flex; align-items: baseline; gap: 0.5rem; }
.price s {
  text-decoration: none;
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.price b {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--bone);
}
.price i { font-style: normal; font-size: var(--step--1); color: var(--muted); }

.surface-light .price b { color: var(--ink); }
.surface-light .jcard { border-top-color: rgba(22,22,26,0.14); }
.surface-light .jcard__foot { border-top-color: rgba(22,22,26,0.08); }
.surface-light .jcard__feats li { border-color: rgba(22,22,26,0.16); color: rgba(22,22,26,0.6); }
.surface-light .jcard__meta { color: var(--clay); }

/* --------------------------------------------------------------------------
   13. GRID CARDS (compact)
   -------------------------------------------------------------------------- */
.grid-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.gcard {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  isolation: isolate;
  background: var(--ink-3);
}

.gcard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.03);
  transition: transform 1.5s var(--ease-out);
}
.gcard:hover img { transform: scale(1.12); }

.gcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(22,22,26,0.42) 62%, rgba(22,22,26,0.88) 100%);
  transition: opacity 0.7s var(--ease);
}

.gcard__in {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  gap: 0.65rem;
}

.gcard__kicker {
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand-lt);
}

.gcard__title {
  font-size: var(--step-2);
  line-height: 1.05;
}

/* Same max-height approach as .acc__panel — see the note there. */
.gcard__hidden {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.7s var(--ease-out), opacity 0.5s var(--ease);
}
.gcard:hover .gcard__hidden,
.gcard:focus-visible .gcard__hidden { max-height: 16rem; opacity: 1; }
.gcard__hidden p {
  font-size: var(--step--1);
  color: var(--muted);
  padding-top: 0.65rem;
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   14. STICKY PILLARS
   -------------------------------------------------------------------------- */
.pillars { display: grid; gap: 3rem; }

@media (min-width: 1000px) {
  .pillars {
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: start;
  }
}

.pillars__sticky {
  display: none;
  position: sticky;
  top: calc(var(--header-h) + 3rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-3);
}
@media (min-width: 1000px) { .pillars__sticky { display: block; } }

.pillars__img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.1s var(--ease), transform 1.6s var(--ease-out);
}
.pillars__img.is-on { opacity: 1; transform: scale(1); }
.pillars__img img { width: 100%; height: 100%; object-fit: cover; }

.pillars__list { display: flex; flex-direction: column; }

.pillar {
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.9rem;
  transition: opacity 0.7s var(--ease);
}
.pillar:first-child { padding-top: 0; }
@media (min-width: 1000px) { .pillar { opacity: 0.4; } .pillar.is-on { opacity: 1; } }

.pillar__n {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--sand);
}

.pillar h3 {
  font-size: var(--step-3);
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.pillar p {
  color: var(--muted);
  font-weight: 300;
  max-width: 54ch;
  line-height: 1.65;
}

.surface-light .pillar { border-bottom-color: rgba(22,22,26,0.12); }

/* --------------------------------------------------------------------------
   15. STATS
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stat {
  background: var(--ink);
  padding: clamp(1.75rem, 3.5vw, 3rem) clamp(1.25rem, 2.5vw, 2rem);
  display: grid;
  gap: 0.5rem;
  transition: background 0.6s var(--ease);
}
.stat:hover { background: var(--ink-3); }

.stat__num {
  font-family: var(--font-display);
  font-size: var(--step-5);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sand);
  font-weight: 400;
}
.stat__num sup { font-size: 0.45em; vertical-align: super; margin-left: 2px; }

.stat__label {
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--bone);
}
.stat__note { font-size: var(--step--2); color: var(--muted-2); line-height: 1.5; }

/* --------------------------------------------------------------------------
   16. TESTIMONIALS
   -------------------------------------------------------------------------- */
.quotes { position: relative; }

.quotes__stage {
  position: relative;
  min-height: 340px;
}
@media (min-width: 760px) { .quotes__stage { min-height: 300px; } }

.quote {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s var(--ease);
  display: grid;
  gap: 1.75rem;
  align-content: start;
}
.quote.is-on { opacity: 1; pointer-events: auto; position: relative; }

.quote__mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--sand);
  opacity: 0.55;
}

.quote__text {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.28;
  letter-spacing: -0.015em;
  font-weight: 300;
  max-width: 30ch;
  text-wrap: pretty;
}
@media (min-width: 900px) { .quote__text { max-width: 26ch; } }

.quote__by {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--step--1);
}
.quote__by b { font-weight: 500; }
.quote__by span { color: var(--muted-2); }
.quote__by s { text-decoration: none; width: 24px; height: 1px; background: var(--sand); }

.quotes__ctrl {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.qbtn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s, color 0.4s, transform 0.4s;
}
.qbtn:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.qbtn:active { transform: scale(0.93); }
.qbtn svg { width: 16px; height: 16px; }

.qcount { font-size: var(--step--1); letter-spacing: 0.14em; color: var(--muted-2); }
.qcount b { color: var(--bone); font-weight: 500; }

.surface-light .qbtn { border-color: rgba(22,22,26,0.18); }
.surface-light .qcount b { color: var(--ink); }

/* Rating block */
.rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.rating__stars { display: flex; gap: 3px; color: var(--sand); }
.rating__stars svg { width: 16px; height: 16px; }
.rating__txt { font-size: var(--step--1); line-height: 1.4; }
.rating__txt b { display: block; font-weight: 500; }
.rating__txt span { color: var(--muted-2); font-size: var(--step--2); }
.surface-light .rating { border-color: rgba(22,22,26,0.14); }

/* --------------------------------------------------------------------------
   17. GALLERY
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 780px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gitem {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--ink-3);
}
.gitem--tall { aspect-ratio: 1; }
@media (min-width: 780px) {
  .gitem--tall { grid-row: span 2; aspect-ratio: 1 / 2.04; }
  .gitem--wide { grid-column: span 2; aspect-ratio: 2.04 / 1; }
}

.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out), filter 0.8s;
  filter: brightness(1);
}
.gitem:hover img { transform: scale(1.09); filter: brightness(1.06); }

.gitem__cap {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(22,22,26,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 7px 12px;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out);
}
.gitem:hover .gitem__cap { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   18. CTA BAND
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding-block: clamp(5rem, 10vw, 9rem);
}

.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(22,22,26,0.74), rgba(22,22,26,0.6));
}

.cta__title {
  font-size: var(--step-6);
  line-height: 0.98;
  max-width: 18ch;
  margin: 1.5rem auto 1.75rem;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.footer__top {
  display: grid;
  gap: 3rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1.4fr repeat(3, 0.85fr); gap: 3rem 2rem; }
}

.footer__intro { max-width: 40ch; display: grid; gap: 1.25rem; align-content: start; }
.footer__intro p { color: var(--muted); font-weight: 300; font-size: var(--step--1); }

.fcol h4 {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.25rem;
}
.fcol ul { display: grid; gap: 0.7rem; }
.fcol a {
  font-size: var(--step--1);
  color: var(--muted);
  transition: color 0.35s, padding-left 0.45s var(--ease);
  display: inline-block;
}
.fcol a:hover { color: var(--sand); padding-left: 6px; }

.footer__bar {
  border-top: 1px solid var(--line);
  padding-block: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--step--2);
  color: var(--muted-2);
  letter-spacing: 0.04em;
}
.footer__bar a:hover { color: var(--sand); }

.socials { display: flex; gap: 0.6rem; }
.social {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: background 0.4s var(--ease), color 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.social:hover { background: var(--sand); color: var(--ink); border-color: var(--sand); transform: translateY(-3px); }
.social svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   20. PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */
.phero {
  position: relative;
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kb 22s var(--ease-io) infinite alternate;
}
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.12); } }

/* Two gradients, matching .hero__veil. The vertical pass alone bottoms out
   around 0.35 in the middle — exactly where the h1 sits — which left bone
   text unreadable over bright images (sunlit rock, snow, pale savanna).
   The horizontal pass guarantees contrast behind left-aligned copy
   whatever the photograph underneath happens to be. */
.phero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(22,22,26,0.58) 0%, rgba(22,22,26,0.20) 45%, rgba(22,22,26,0.84) 100%),
    linear-gradient(95deg, rgba(22,22,26,0.82) 0%, rgba(22,22,26,0.46) 42%, rgba(22,22,26,0.08) 78%, transparent 100%);
}

.phero__title { font-size: var(--step-6); line-height: 0.98; max-width: 16ch; margin-top: 1.5rem; }
.phero__lede { margin-top: 1.5rem; }

.crumbs {
  display: flex;
  gap: 0.6rem;
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 2rem;
}
.crumbs a:hover { color: var(--sand); }

/* --------------------------------------------------------------------------
   21. FORMS
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.5rem; }

.form__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .form__grid--2 { grid-template-columns: 1fr 1fr; } }

.field { position: relative; display: grid; gap: 0.5rem; }

.field label {
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}
.field label b { color: var(--sand); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  font-size: var(--step-0);
  font-weight: 300;
  color: var(--fg);
  transition: border-color 0.5s var(--ease);
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 120px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--sand);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }

.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--ink-2); color: var(--fg); }

.field--select::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 1.35rem;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}

.check {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: var(--step--1);
  color: var(--muted);
  cursor: pointer;
  font-weight: 300;
}
.check input {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  flex: none;
  margin-top: 2px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  position: relative;
}
.check input:checked { background: var(--sand); border-color: var(--sand); }
.check input:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}

.form__note {
  font-size: var(--step--2);
  color: var(--muted-2);
  line-height: 1.6;
}

.form__status {
  font-size: var(--step--1);
  padding: 1rem 1.25rem;
  border: 1px solid var(--sand);
  color: var(--sand-lt);
  display: none;
}
.form__status.is-shown { display: block; }

/* --------------------------------------------------------------------------
   22. INFO CARDS / CONTACT
   -------------------------------------------------------------------------- */
.icards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .icards { grid-template-columns: repeat(3, 1fr); } }

.icard {
  background: var(--ink);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: grid;
  gap: 0.85rem;
  align-content: start;
  transition: background 0.6s var(--ease);
}
.icard:hover { background: var(--ink-3); }
.icard__ic { width: 26px; height: 26px; color: var(--sand); }
.icard h3 { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); }
.icard p, .icard a { font-size: var(--step-0); font-weight: 300; line-height: 1.6; }
.icard a:hover { color: var(--sand); }

/* Hours table */
.hours { display: grid; gap: 0.65rem; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--step--1);
  color: var(--muted);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line-2);
}
.hours li b { color: var(--bone); font-weight: 400; }
.hours li.is-closed b { color: var(--muted-2); }

/* --------------------------------------------------------------------------
   23. ACCORDION (FAQ)
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.surface-light .acc { border-top-color: rgba(22,22,26,0.14); }

.acc__item { border-bottom: 1px solid var(--line); }
.surface-light .acc__item { border-bottom-color: rgba(22,22,26,0.12); }

.acc__btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.25rem, 2.5vw, 1.85rem) 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.2;
  letter-spacing: -0.015em;
  transition: color 0.4s;
}
.acc__btn:hover { color: var(--sand); }

.acc__ic {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 0.35em;
}
.acc__ic::before,
.acc__ic::after {
  content: "";
  position: absolute;
  background: var(--sand);
  transition: transform 0.5s var(--ease);
}
.acc__ic::before { left: 0; top: 9.5px; width: 20px; height: 1.5px; }
.acc__ic::after { left: 9.5px; top: 0; width: 1.5px; height: 20px; }
.acc__item.is-open .acc__ic::after { transform: rotate(90deg); }

/* NOTE: the 0fr -> 1fr grid-template-rows trick does not interpolate
   reliably (it freezes at the start value once a transition is attached),
   so the open/close animation uses max-height. The cap only needs to
   exceed the tallest answer; it is never the rendered height. */
.acc__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.6s var(--ease-out);
}
.acc__item.is-open .acc__panel { max-height: 48rem; }
.acc__panel p {
  color: var(--muted);
  font-weight: 300;
  max-width: 74ch;
  padding-bottom: 1.85rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   24. TEAM
   -------------------------------------------------------------------------- */
.team { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 820px) { .team { grid-template-columns: 1fr 1fr; } }

.member { display: grid; gap: 1.5rem; align-content: start; }

.member__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-3);
}
.member__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(0.12);
  transition: transform 1.4s var(--ease-out), filter 0.9s;
}
.member:hover .member__img img { transform: scale(1.06); filter: grayscale(0); }

.member__role {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
}
.member h3 { font-size: var(--step-3); line-height: 1; }
.member p { color: var(--muted); font-weight: 300; line-height: 1.7; }

/* --------------------------------------------------------------------------
   25. FILTER BAR
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-bottom: 2.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.surface-light .filters { border-bottom-color: rgba(22,22,26,0.12); }

.fbtn {
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  transition: background 0.4s var(--ease), color 0.4s, border-color 0.4s;
}
.fbtn:hover { border-color: var(--sand); color: var(--bone); }
.fbtn.is-on { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.surface-light .fbtn { border-color: rgba(22,22,26,0.16); color: rgba(22,22,26,0.6); }
.surface-light .fbtn:hover { color: var(--ink); }
.surface-light .fbtn.is-on { color: var(--ink); }

.jcard.is-hidden { display: none; }

.empty {
  text-align: center;
  padding-block: 4rem;
  color: var(--muted-2);
  display: none;
}
.empty.is-shown { display: block; }

/* --------------------------------------------------------------------------
   26. WHATSAPP FAB
   -------------------------------------------------------------------------- */
.fab {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #25D366;
  color: #062512;
  padding: 13px 18px;
  border-radius: 100px;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
  transform: translateY(120%);
  transition: transform 0.7s var(--ease-out), box-shadow 0.4s;
}
.fab.is-shown { transform: translateY(0); }
.fab:hover { box-shadow: 0 16px 42px rgba(37, 211, 102, 0.32); }
.fab svg { width: 20px; height: 20px; flex: none; }
.fab span { display: none; }
@media (min-width: 560px) { .fab span { display: block; } }

/* --------------------------------------------------------------------------
   27. 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;
}

.skip {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 200;
  background: var(--sand);
  color: var(--ink);
  padding: 0.85rem 1.5rem;
  font-size: var(--step--1);
  transition: top 0.3s;
}
.skip:focus { top: 1rem; }

.stack { display: grid; gap: 1.5rem; align-content: start; }
.stack--sm { gap: 0.75rem; }
.stack--lg { gap: 2.5rem; }

.flex-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.divider { height: 1px; background: var(--line); border: 0; }

/* --------------------------------------------------------------------------
   28. SISTER BRAND CALLOUT
   -------------------------------------------------------------------------- */
.xbrand {
  position: relative;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-2);
}

@media (min-width: 900px) {
  .xbrand { grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
}

.xbrand__media { position: relative; min-height: 260px; overflow: hidden; }
.xbrand__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 1.6s var(--ease-out);
}
.xbrand:hover .xbrand__media img { transform: scale(1.09); }
.xbrand__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22,22,26,0.42), rgba(22,22,26,0.06));
}

.xbrand__body {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  justify-content: center;
}

/* Wordmark lockup for the sister company */
.xmark {
  display: grid;
  gap: 2px;
  padding-bottom: 0.5rem;
}
.xmark b {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.xmark i {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--sand);
}

.xbrand__note {
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.xbrand__note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sand);
  flex: none;
}

/* External-link affordance */
.btn svg.ext, .tlink svg.ext { width: 14px; height: 14px; }

/* Compact safari teaser used on the homepage */
.teaser {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
}
.teaser__bg { position: absolute; inset: 0; z-index: -2; }
.teaser__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.8s var(--ease-out);
  filter: grayscale(0);
}
.teaser:hover .teaser__bg img { transform: scale(1.1); filter: brightness(1.05); }
.teaser::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(22,22,26,0.88) 0%, rgba(22,22,26,0.68) 45%, rgba(22,22,26,0.22) 100%);
}
.teaser__in {
  padding: clamp(2.25rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 62ch;
}
.teaser__title { font-size: var(--step-4); line-height: 1; }

/* Country tiles */
.tiles {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(4, 1fr); } }

.tile {
  position: relative;
  background: var(--ink);
  padding: clamp(1.35rem, 2.5vw, 2rem);
  display: grid;
  gap: 0.4rem;
  align-content: end;
  min-height: 150px;
  transition: background 0.5s var(--ease);
  isolation: isolate;
}
.tile:hover { background: var(--ink-3); }
.tile b {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 400;
  letter-spacing: -0.015em;
}
.tile span { font-size: var(--step--2); color: var(--muted); line-height: 1.5; }
.tile__go {
  position: absolute;
  top: clamp(1.1rem, 2vw, 1.5rem);
  right: clamp(1.1rem, 2vw, 1.5rem);
  width: 15px; height: 15px;
  color: var(--sand);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.tile:hover .tile__go { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   29. MOTION PREFERENCES
   -------------------------------------------------------------------------- */
@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;
  }

  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .word__i { transform: none !important; }
  .hero__lede, .hero__row { opacity: 1 !important; transform: none !important; }
  .hero__slide img { transform: none !important; }
  .panel__reveal { opacity: 1 !important; transform: none !important; }
  .pillar { opacity: 1 !important; }
  .fab { transform: none !important; }
}
