/* ==========================================================================
   SPL Villas — Travel Documents
   Mobile-first. Hand-written, no framework.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
}

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

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

a {
  color: var(--ink);
  text-decoration-color: rgba(234, 89, 28, 0.4);
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease);
}

a:hover {
  color: var(--orange);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

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

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

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

/* --------------------------------------------------------------------------
   2. Typography primitives
   -------------------------------------------------------------------------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-dark);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--olive);
}

.lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.btn:active {
  transform: translateY(1px);
}

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

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

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

.btn--sm {
  padding: 8px 14px 9px;
  font-size: 13.5px;
}

.btn .icon {
  flex: none;
}

/* Icon sizing — Lucide renders <svg> in place of [data-lucide] */
.icon,
svg.lucide {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}

/* --------------------------------------------------------------------------
   4. Gate — reservation lookup
   -------------------------------------------------------------------------- */

.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  padding: 28px var(--gutter);
  overflow-y: auto;
  /* `safe` keeps the top of the card reachable when it outgrows the viewport,
     which plain centring would clip on short screens. */
  place-content: center;
  place-content: safe center;
  justify-items: center;
  background: var(--olive-deep);
  transition: opacity var(--t-slow) var(--ease), visibility var(--t-slow);
}

.gate__bg {
  position: absolute;
  inset: 0;
  /* Relative to THIS stylesheet, so `../`. app.js overrides it from the booking
     data — a url() set via the CSSOM resolves against the document instead. */
  background-image: url('../assets/villa-sunset-hero.jpg');
  background-size: cover;
  background-position: center 62%;
  transform: scale(1.06);
  animation: gate-drift 26s ease-in-out infinite alternate;
}

@keyframes gate-drift {
  to {
    transform: scale(1.14) translate3d(-1.5%, -1%, 0);
  }
}

/* The villa shot is bright and high-key, so the copy needs a heavy scrim to
   clear AA contrast. The olive layer ties the photo back to the brand. */
.gate__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(20, 22, 10, 0.82) 0%,
      rgba(20, 22, 10, 0.72) 40%,
      rgba(20, 22, 10, 0.92) 100%
    ),
    radial-gradient(120% 75% at 50% 42%, rgba(0, 0, 0, 0) 25%, rgba(16, 18, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(75, 80, 21, 0.35), rgba(75, 80, 21, 0.35));
}

.gate__inner {
  position: relative;
  width: 100%;
  max-width: 430px;
  text-align: center;
  color: #fff;
}

.gate__logo {
  width: 108px;
  height: auto;
  margin: 0 auto 26px;
}

.gate__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 8.5vw, 40px);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 12px;
}

.gate__sub {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 26px;
}

.gate__form {
  display: grid;
  gap: 12px;
  text-align: left;
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.field__input {
  width: 100%;
  padding: 15px 16px;
  font-family: var(--font-sans);
  font-size: 16px; /* 16px min — stops iOS zooming the viewport on focus */
  font-weight: 500;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.field__input::placeholder {
  color: #9a9a9a;
  font-weight: 400;
}

.field__input:focus {
  outline: none;
  background: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(234, 89, 28, 0.22);
}

.field__input--ref {
  font-family: ui-monospace, 'SFMono-Regular', 'SF Mono', Menlo, monospace;
  font-size: 17px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gate__error {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: #ffd9cb;
  background: rgba(201, 73, 15, 0.28);
  border: 1px solid rgba(255, 150, 110, 0.5);
  border-radius: var(--r-sm);
}

.gate__error.is-visible {
  display: flex;
}

.gate__submit {
  margin-top: 4px;
  padding: 14px 20px;
  font-size: 16px;
}

.gate__hint {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.gate__hint-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  padding: 7px 13px;
  font-family: ui-monospace, 'SFMono-Regular', 'SF Mono', Menlo, monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-pill);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.gate__hint-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
}

.gate.is-shaking .gate__inner {
  animation: shake 460ms var(--ease);
}

@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-7px); }
  40%, 60% { transform: translateX(7px); }
}

.gate.is-open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. App shell — sticky header + anchor bar
   -------------------------------------------------------------------------- */

.app {
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
}

.app.is-revealed {
  opacity: 1;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--olive);
  color: #fff;
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: var(--header-h);
}

.masthead__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.masthead__logo {
  width: 46px;
  height: auto;
  flex: none;
}

.masthead__divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.3);
  flex: none;
}

.masthead__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

.masthead__ref {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.masthead__ref-value {
  font-family: ui-monospace, 'SFMono-Regular', 'SF Mono', Menlo, monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--r-sm);
}

.masthead__exit {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, 0.8);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.masthead__exit:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* Anchor bar ------------------------------------------------------------- */

.anchorbar {
  position: sticky;
  top: var(--header-h);
  z-index: 55;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.5) blur(10px);
  -webkit-backdrop-filter: saturate(1.5) blur(10px);
  border-bottom: 1px solid var(--border);
}

.anchorbar__scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  height: var(--anchorbar-h);
  padding-inline: var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  /* Fade the overflow edges so it reads as scrollable */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 26px), transparent 100%);
}

.anchorbar__scroll::-webkit-scrollbar {
  display: none;
}

.anchorbar__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.anchorbar__link .icon {
  width: 15px;
  height: 15px;
  opacity: 0.65;
}

.anchorbar__link:hover {
  color: var(--ink);
  background: var(--blush);
}

.anchorbar__link.is-active {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.anchorbar__link.is-active .icon {
  opacity: 1;
}

/* Reading progress ------------------------------------------------------- */

.progressbar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--olive);
  transition: width 90ms linear;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  color: #fff;
  isolation: isolate;
}

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

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(20, 22, 10, 0.42) 0%,
    rgba(20, 22, 10, 0.3) 35%,
    rgba(20, 22, 10, 0.88) 100%
  );
}

.hero__inner {
  padding-block: 54px 30px;
  display: grid;
  gap: 18px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Grid item: `justify-self` is the inline axis. `align-self` would only
     control the block axis and leave the pill stretched to the column. */
  justify-self: start;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 12vw, 76px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__meta .icon {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.hero__villa-link {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.hero__villa-link:hover {
  color: #fff;
  text-decoration-color: #fff;
}

/* Countdown -------------------------------------------------------------- */

.countdown {
  margin-top: 6px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.countdown__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 12px;
}

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.countdown__cell {
  text-align: center;
  padding: 10px 4px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: var(--r-md);
}

.countdown__num {
  font-family: var(--font-display);
  font-size: clamp(24px, 7vw, 34px);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: block;
}

.countdown__unit {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.countdown__msg {
  font-family: var(--font-display);
  font-size: clamp(22px, 6vw, 30px);
  line-height: 1.2;
}

.countdown__msg-sub {
  margin-top: 7px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------------------------------
   7. Sections
   -------------------------------------------------------------------------- */

.section {
  padding-block: 48px;
  scroll-margin-top: calc(var(--header-h) + var(--anchorbar-h) + 8px);
}

.section--tinted {
  background: var(--blush);
}

.section--olive {
  background: var(--olive-tint);
}

.section__head {
  margin-bottom: 26px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 7.5vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin-block: 10px 10px;
}

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}

.card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.card__title .icon {
  color: var(--orange);
  flex: none;
}

.card__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 14px;
}

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

/* Callout ---------------------------------------------------------------- */

.callout {
  display: flex;
  gap: 12px;
  padding: 15px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--rose-tint);
  border: 1px solid rgba(204, 171, 154, 0.55);
  border-radius: var(--r-md);
}

.callout .icon {
  flex: none;
  color: var(--rose);
  margin-top: 1px;
}

.callout--teal {
  background: rgba(184, 220, 220, 0.32);
  border-color: rgba(56, 118, 117, 0.28);
}

.callout--teal .icon {
  color: var(--teal);
}

/* --------------------------------------------------------------------------
   9. Timeline
   -------------------------------------------------------------------------- */

.timeline {
  position: relative;
  padding-left: 44px;
}

/* The rail and its fill */
.timeline__rail {
  position: absolute;
  left: 17px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--border);
  border-radius: 2px;
}

.timeline__fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--olive) 0%, var(--olive-dark) 100%);
  border-radius: 2px;
  transition: height var(--t-slow) var(--ease);
}

.tl-item {
  position: relative;
  padding-bottom: 22px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item__dot {
  position: absolute;
  left: -44px;
  top: 8px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 50%;
  color: var(--muted-light);
  transition: border-color var(--t-med) var(--ease), color var(--t-med) var(--ease),
    background var(--t-med) var(--ease);
}

.tl-item__dot .icon {
  width: 17px;
  height: 17px;
}

.tl-item__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 15px 17px;
  transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.tl-item__when {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 5px;
}

.tl-item__time {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.tl-item__date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.tl-item__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 3px;
}

.tl-item__meta {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--olive-dark);
  margin-bottom: 7px;
}

.tl-item__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* Past */
.tl-item.is-past .tl-item__dot {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
}

.tl-item.is-past .tl-item__card {
  opacity: 0.62;
}

/* Now */
.tl-item.is-now .tl-item__dot {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.tl-item.is-now .tl-item__dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  animation: pulse-ring 2.1s var(--ease-out) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.86); opacity: 0.85; }
  70% { transform: scale(1.28); opacity: 0; }
  100% { opacity: 0; }
}

.tl-item.is-now .tl-item__card {
  border-color: var(--orange);
  box-shadow: 0 4px 22px rgba(234, 89, 28, 0.16);
}

.tl-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--orange);
  border-radius: var(--r-pill);
}

/* --------------------------------------------------------------------------
   10. Copyable code chips
   -------------------------------------------------------------------------- */

.codes {
  display: grid;
  gap: 12px;
}

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

.code {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.code:hover {
  border-color: var(--rose);
  box-shadow: var(--shadow-md);
}

.code__head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.code__head .icon {
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.code__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: var(--olive-tint);
  border: 1px dashed rgba(147, 154, 50, 0.55);
  border-radius: var(--r-md);
  text-align: left;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.code__btn:hover {
  background: #fff;
  border-color: var(--olive);
}

.code__value {
  font-family: ui-monospace, 'SFMono-Regular', 'SF Mono', Menlo, monospace;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: var(--olive-deep);
  transition: filter var(--t-med) var(--ease);
}

.code.is-masked .code__value {
  filter: blur(7px);
  user-select: none;
}

.code__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
}

.code__hint {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-light);
}

/* --------------------------------------------------------------------------
   11. Boarding-pass flight cards
   -------------------------------------------------------------------------- */

.flights {
  display: grid;
  gap: 14px;
}

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

.pass {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.pass__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--olive);
  color: #fff;
}

.pass__dir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pass__no {
  font-family: ui-monospace, 'SFMono-Regular', 'SF Mono', Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pass__body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
}

.pass__point {
  min-width: 0;
}

.pass__point--to {
  text-align: right;
}

.pass__code {
  font-family: var(--font-display);
  font-size: clamp(26px, 8vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
}

.pass__place {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted-light);
  line-height: 1.35;
}

.pass__time {
  margin-top: 8px;
  font-size: 19px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.pass__day {
  font-size: 12px;
  color: var(--muted-light);
  margin-top: 1px;
}

.pass__mid {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--rose);
}

.pass__line {
  position: relative;
  width: 54px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--rose) 0 5px, transparent 5px 10px);
}

.pass__dur {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted-light);
  white-space: nowrap;
}

.pass__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 12px 18px;
  border-top: 1px dashed var(--border);
  background: var(--canvas);
  font-size: 12.5px;
  color: var(--muted);
}

.pass__foot strong {
  color: var(--ink);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   12. Accordion
   -------------------------------------------------------------------------- */

.accordion {
  display: grid;
  gap: 8px;
}

.acc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.acc__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 16px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  transition: background var(--t-fast) var(--ease);
}

.acc__btn:hover {
  background: var(--canvas);
}

.acc__btn > .icon:first-child {
  flex: none;
  color: var(--orange);
}

.acc__label {
  flex: 1;
  min-width: 0;
}

.acc__chev {
  flex: none;
  color: var(--muted-light);
  transition: transform var(--t-med) var(--ease);
}

.acc.is-open .acc__chev {
  transform: rotate(180deg);
}

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-med) var(--ease);
}

.acc.is-open .acc__panel {
  grid-template-rows: 1fr;
}

.acc__inner {
  overflow: hidden;
}

.acc__content {
  padding: 0 16px 16px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

.acc__content a {
  font-weight: 600;
  color: var(--orange);
}

/* --------------------------------------------------------------------------
   13. Directions stepper
   -------------------------------------------------------------------------- */

.steps {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.steps__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--olive);
  color: #fff;
}

.steps__route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  min-width: 0;
}

.steps__route .icon {
  flex: none;
  opacity: 0.85;
}

.steps__count,
.steps__total {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--r-pill);
}

.steps__total {
  display: none;
}

.steps__track {
  height: 3px;
  background: var(--border-soft);
}

.steps__track-fill {
  height: 100%;
  width: 10%;
  background: var(--orange);
  transition: width var(--t-med) var(--ease);
}

.steps__stage {
  display: grid;
  gap: 14px;
  padding: 24px 18px;
  min-height: 168px;
  align-content: start;
}

.steps__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
}

.steps__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.steps__text mark {
  padding: 2px 7px;
  font-family: ui-monospace, 'SFMono-Regular', 'SF Mono', Menlo, monospace;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--olive-deep);
  background: var(--olive-tint);
  border: 1px dashed rgba(147, 154, 50, 0.6);
  border-radius: 5px;
}

.steps__stage.is-changing .steps__num,
.steps__stage.is-changing .steps__text {
  animation: step-in var(--t-med) var(--ease);
}

@keyframes step-in {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}

.steps__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: var(--canvas);
}

.steps__dots {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
}

.steps__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.steps__dot.is-done {
  background: var(--rose);
}

.steps__dot.is-current {
  background: var(--orange);
  transform: scale(1.5);
}

.steps__btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

.steps__btn:hover:not(:disabled) {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.steps__btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

/* Full list — shown instead of the stepper on wide screens */
.steps__list {
  display: none;
  counter-reset: step;
}

.steps__list li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.steps__list li:last-child {
  border-bottom: 0;
}

.steps__list li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 13px;
  font-weight: 700;
  color: var(--olive-deep);
  background: var(--olive-tint);
  border-radius: 50%;
}

@media (min-width: 900px) {
  .steps__stage,
  .steps__nav,
  .steps__count {
    display: none;
  }
  .steps__total {
    display: inline-block;
  }
  .steps__list {
    display: block;
  }
  .steps__track {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   14. Contacts
   -------------------------------------------------------------------------- */

.contacts {
  display: grid;
  gap: 10px;
}

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

.contact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.contact:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.contact__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  color: var(--orange);
  background: var(--orange-tint);
  border-radius: 50%;
}

.contact__text {
  flex: 1;
  min-width: 0;
}

/* These are spans (they sit inside an <a>, so no block elements allowed) and
   must be forced to stack. */
.contact__label,
.contact__name,
.contact__num {
  display: block;
}

.contact__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.contact__name {
  font-size: 15px;
  font-weight: 700;
  margin-top: 2px;
}

.contact__num {
  font-size: 14px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-top: 1px;
}

.contact__go {
  flex: none;
  color: var(--muted-light);
}

.contact--urgent .contact__icon {
  color: #fff;
  background: #d33a19;
}

.contact--urgent .contact__name {
  color: #b8330f;
}

.contact__wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #0f7a52;
  background: rgba(37, 211, 102, 0.13);
  border-radius: var(--r-pill);
}

.contact__wa:hover {
  background: rgba(37, 211, 102, 0.24);
  color: #0b5c3d;
}

/* --------------------------------------------------------------------------
   15. Checklist
   -------------------------------------------------------------------------- */

.checklist__head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  margin-bottom: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.ring {
  width: 68px;
  height: 68px;
  flex: none;
  transform: rotate(-90deg);
}

.ring__track {
  fill: none;
  stroke: var(--border);
  stroke-width: 7;
}

.ring__bar {
  fill: none;
  stroke: var(--olive);
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset var(--t-slow) var(--ease), stroke var(--t-med) var(--ease);
}

.ring__bar.is-complete {
  stroke: var(--orange);
}

.checklist__ringwrap {
  position: relative;
  flex: none;
}

.checklist__pct {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.checklist__status {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.checklist__sub {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 3px;
}

.checklist__items {
  display: grid;
  gap: 8px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.check:hover {
  border-color: var(--rose);
}

.check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.check__box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  color: transparent;
  background: #fff;
  border: 1.75px solid var(--border);
  border-radius: 6px;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

.check__box .icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.check input:focus-visible + .check__box {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.check input:checked + .check__box {
  color: #fff;
  background: var(--olive);
  border-color: var(--olive);
}

.check__label {
  font-size: 14.5px;
  line-height: 1.5;
  transition: color var(--t-fast) var(--ease);
}

.check.is-done {
  background: var(--olive-tint);
  border-color: rgba(147, 154, 50, 0.4);
}

.check.is-done .check__label {
  color: var(--muted-light);
  text-decoration: line-through;
  text-decoration-color: rgba(147, 154, 50, 0.7);
}

/* --------------------------------------------------------------------------
   16. Extras / promo
   -------------------------------------------------------------------------- */

.promo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 9px 14px;
  font-family: ui-monospace, 'SFMono-Regular', 'SF Mono', Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--orange);
  background: var(--orange-tint);
  border: 1px dashed rgba(234, 89, 28, 0.5);
  border-radius: var(--r-sm);
  transition: background var(--t-fast) var(--ease);
}

.promo:hover {
  background: #fff;
}

.promo .icon {
  width: 15px;
  height: 15px;
}

.linkout {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--orange);
}

.linkout:hover {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.linkout .icon {
  width: 15px;
  height: 15px;
  transition: transform var(--t-fast) var(--ease);
}

.linkout:hover .icon {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   17. Address card
   -------------------------------------------------------------------------- */

.address {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.address__line {
  font-family: var(--font-display);
  font-size: clamp(19px, 5vw, 24px);
  line-height: 1.35;
}

.address__geo {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  color: var(--muted-light);
  font-variant-numeric: tabular-nums;
}

.address__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.inout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.inout__cell {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.inout__cell--in {
  border-top: 4px solid var(--olive);
}

.inout__cell--out {
  border-top: 4px solid var(--rose);
}

.inout__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.inout__time {
  font-family: var(--font-display);
  font-size: clamp(30px, 9vw, 40px);
  font-weight: 500;
  line-height: 1.05;
  margin-top: 4px;
}

.inout__note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

.footer {
  padding-block: 44px 36px;
  background: var(--olive);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.footer__logo {
  width: 86px;
  height: auto;
  margin: 0 auto 20px;
}

.footer__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 6.5vw, 34px);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.footer__text {
  max-width: 46ch;
  margin: 12px auto 0;
  font-size: 14.5px;
  line-height: 1.6;
}

.footer__tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 10px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--r-pill);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13.5px;
}

.footer__links a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.footer__links a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.footer__note {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   19. Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast .icon {
  color: #8fd694;
}

/* --------------------------------------------------------------------------
   20. Scroll reveals (GSAP ScrollTrigger sets the final state)
   -------------------------------------------------------------------------- */

.reveal {
  will-change: transform, opacity;
}

/* Only hide up-front if JS is running and motion is welcome — the class is
   added by app.js, so a JS-less or reduced-motion visitor sees everything. */
.js-motion .reveal {
  opacity: 0;
  transform: translateY(22px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js-motion .reveal {
    opacity: 1;
    transform: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   21. Desktop refinements
   -------------------------------------------------------------------------- */

@media (min-width: 900px) {
  body {
    font-size: 17px;
  }

  .section {
    padding-block: 76px;
  }

  .section__head {
    margin-bottom: 36px;
  }

  .hero__inner {
    padding-block: 96px 56px;
    /* Constrain the column, not the container — a max-width here would re-centre
       the block and break the left edge shared with every section below. */
    grid-template-columns: minmax(0, 780px);
  }

  /* The mobile scrim is a bottom fade, which leaves the text column sitting over
     open water at this height. Add a left wash to carry the copy instead. */
  .hero__scrim {
    background:
      linear-gradient(90deg, rgba(20, 22, 10, 0.72) 0%, rgba(20, 22, 10, 0.34) 46%, rgba(20, 22, 10, 0) 74%),
      linear-gradient(180deg, rgba(20, 22, 10, 0.34) 0%, rgba(20, 22, 10, 0.18) 40%, rgba(20, 22, 10, 0.8) 100%);
  }

  .countdown {
    /* Hug the four cells rather than stretching across the 780px hero column. */
    justify-self: start;
    padding: 22px 26px;
  }

  .countdown__grid {
    grid-template-columns: repeat(4, 106px);
  }

  .timeline {
    padding-left: 56px;
  }

  .timeline__rail {
    left: 21px;
  }

  .tl-item__dot {
    left: -56px;
    width: 44px;
    height: 44px;
  }

  .tl-item__dot .icon {
    width: 20px;
    height: 20px;
  }

  .tl-item__card {
    padding: 18px 22px;
  }

  .tl-item {
    padding-bottom: 26px;
  }

  .card {
    padding: 24px;
  }

  .inout__cell {
    padding: 22px;
  }

  .address {
    padding: 26px;
  }
}
