/* ==========================================================================
   Sovereign Airways — design system
   A More Mindful Way to Fly
   ========================================================================== */

:root {
  --purple: #2e1a47;
  --purple-deep: #241337;
  --purple-soft: #4a3268;
  --sage: #52796f;
  --sage-dark: #3f5f57;
  --sage-light: #8aa79e;
  --sage-pale: #e4ede9;
  --sage-mist: #eef3f0;
  --canvas: #f4f7f5;
  --white: #ffffff;
  --ink: #2a2433;
  --ink-soft: #54506040;
  --muted: #6c6a75;
  --line: #e3e8e4;
  --line-strong: #d3dbd5;
  --gold: #c9a96a;
  --amber: #a9741f;
  --amber-pale: #fdf4e4;
  --green-pale: #e8f1ec;

  --serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 2px 10px -4px rgba(46, 26, 71, 0.16);
  --shadow-md: 0 18px 46px -30px rgba(46, 26, 71, 0.5);
  --shadow-lg: 0 40px 90px -50px rgba(46, 26, 71, 0.55);
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1180px;
  --nav-height: 76px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--purple);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.12rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.1em; color: var(--muted); }
p:last-child { margin-bottom: 0; }

a { color: var(--sage-dark); text-decoration: none; }
a:hover { color: var(--sage); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}

.container--narrow { max-width: 860px; }

.section {
  padding: clamp(64px, 8vw, 118px) 0;
  position: relative;
}

.section--tight { padding: clamp(48px, 6vw, 82px) 0; }
.section--white { background: var(--white); }
.section--mist { background: var(--sage-mist); }
.section--purple { background: var(--purple); color: #fff; }
.section--purple h2, .section--purple h3, .section--purple h4 { color: #fff; }
.section--purple p { color: rgba(255, 255, 255, 0.74); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.688rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section--purple .eyebrow { color: var(--sage-light); }

.section-head { max-width: 620px; margin-bottom: clamp(36px, 5vw, 58px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head p { font-size: 1.05rem; }

.lede { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); }

/* ------------------------------ buttons --------------------------------- */
.btn {
  --btn-bg: var(--purple);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  box-shadow: 0 14px 30px -20px rgba(46, 26, 71, 0.85);
  text-align: center;
}
.btn:hover {
  background: var(--sage);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -18px rgba(82, 121, 111, 0.7);
}
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--purple);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn--sage { --btn-bg: var(--sage); }
.btn--sage:hover { background: var(--purple); }
.btn--light { background: #fff; color: var(--purple); box-shadow: none; }
.btn--light:hover { background: var(--sage-pale); color: var(--purple-deep); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 0.8125rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sage-dark);
}
.link-arrow svg { transition: transform 0.25s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------- header --------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(227, 232, 228, 0.9);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-stuck { box-shadow: 0 12px 34px -28px rgba(46, 26, 71, 0.7); }

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 30px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  color: var(--purple);
}
.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand__mark img { width: 100%; height: 100%; display: block; }
.brand__mark svg { width: 21px; height: 21px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
/* the wordmark mirrors the logo lockup: spaced capitals above the tagline */
.brand__name {
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--purple);
  white-space: nowrap;
}
.brand__tag {
  font-size: 0.5rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 6px;
  font-weight: 600;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 24px);
  margin-left: auto;
}
.nav__link {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding: 8px 2px;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav__link:hover { color: var(--purple); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--purple); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--purple);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.profile-chip:hover {
  border-color: var(--sage-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  color: var(--purple);
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sage-pale);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.avatar svg { width: 100%; height: 100%; }
.avatar--lg { width: 52px; height: 52px; }
.avatar--xl { width: 100%; height: 100%; border-radius: 0; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--purple);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.burger span + span { margin-top: 4px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 10px clamp(16px, 4vw, 28px) 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-menu.is-open { max-height: 520px; overflow-y: auto; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--purple);
  font-size: 0.95rem;
  font-weight: 500;
}
.mobile-menu__link.is-active { color: var(--sage-dark); font-weight: 600; }
.mobile-menu__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 14px;
  background: var(--sage-mist);
  border: 1px solid var(--line);
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: var(--sans);
}
.mobile-menu__profile strong { display: block; color: var(--purple); font-size: 0.9rem; }
.mobile-menu__profile span { font-size: 0.75rem; color: var(--muted); }

/* -------------------------------- hero ---------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(72px, 11vw, 132px) 0 clamp(150px, 16vw, 200px);
  background: var(--purple-deep);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.02);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(36, 19, 55, 0.82) 0%, rgba(36, 19, 55, 0.52) 38%, rgba(36, 19, 55, 0.32) 62%, rgba(244, 247, 245, 0.96) 100%),
    radial-gradient(120% 80% at 15% 10%, rgba(46, 26, 71, 0.55), transparent 60%);
}
.hero__inner { max-width: 760px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.688rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero__eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sage-light); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 1.04;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
}
.hero h1 em { font-style: italic; color: #dfe9e4; }
.hero__sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  max-width: 540px;
  margin-bottom: 0;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 14px; height: 14px; opacity: 0.75; }

/* --------------------------- search widget ------------------------------ */
.search-shell {
  position: relative;
  z-index: 3;
  margin-top: clamp(-140px, -12vw, -110px);
}
.search-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 3vw, 30px);
}
.search-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.search-card__title {
  font-family: var(--serif);
  font-size: 1.28rem;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.search-card__note { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.02em; }

.search-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.search-grid .field--wide { grid-column: span 2; }
.search-grid .btn { grid-column: span 2; align-self: end; min-height: 52px; }
.search-grid .field--date { grid-column: span 1; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label,
.field__label {
  font-size: 0.688rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 13px 14px;
  min-height: 50px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2352796f' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(82, 121, 111, 0.12);
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.field__hint { font-size: 0.72rem; color: var(--muted); }

/* language combobox */
.lang-bar {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.lang-bar__label {
  font-size: 0.8rem;
  color: var(--purple);
  font-weight: 500;
  line-height: 1.35;
  max-width: 340px;
  padding-top: 10px;
}
.lang-bar__label span { display: block; color: var(--muted); font-size: 0.7rem; font-weight: 400; margin-top: 2px; }
.combo { position: relative; flex: 1 1 300px; min-width: 240px; }
.combo__input {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.85rem;
  padding: 11px 38px 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--ink);
}
.combo__input:focus { outline: none; border-color: var(--sage); background: #fff; box-shadow: 0 0 0 4px rgba(82, 121, 111, 0.1); }
.combo__icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--sage);
}
.combo__list {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: 300px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  margin: 0;
  list-style: none;
  display: none;
}
.combo__list.is-open { display: block; }
.combo__group {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  padding: 12px 12px 6px;
}
.combo__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.85rem;
  color: var(--ink);
  cursor: pointer;
}
.combo__option[aria-selected="true"],
.combo__option.is-highlighted { background: var(--sage-mist); color: var(--purple); }
.combo__option .glyph { font-size: 0.95rem; width: 20px; text-align: center; }
.combo__empty { padding: 16px 12px; font-size: 0.85rem; color: var(--muted); }
.lang-bar__chosen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--sage-dark);
  background: var(--sage-pale);
  border-radius: 999px;
  padding: 5px 12px;
  margin-top: 8px;
}

/* ------------------------- flight status lookup ------------------------- */
.status-lookup {
  margin-top: 18px;
  background: linear-gradient(120deg, var(--purple) 0%, var(--purple-soft) 58%, var(--sage-dark) 130%);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
  color: #fff;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.05fr 1.3fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.status-lookup h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.status-lookup p { color: rgba(255, 255, 255, 0.72); font-size: 0.875rem; margin: 0; }
.status-lookup__form { display: flex; gap: 10px; flex-wrap: wrap; }
.status-lookup__form .field { flex: 1 1 190px; }
.status-lookup .field > label { color: rgba(255, 255, 255, 0.68); }
.status-lookup input {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  letter-spacing: 0.08em;
  font-weight: 500;
  text-transform: uppercase;
}
.status-lookup input::placeholder { color: rgba(255, 255, 255, 0.45); letter-spacing: 0.04em; text-transform: none; }
.status-lookup input:focus { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.5); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1); }
.lookup-result {
  grid-column: 1 / -1;
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 0.875rem;
}
.lookup-result.is-visible { display: block; }
.lookup-result__top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.lookup-result__flight {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.04em;
}
.lookup-result__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px 18px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.lookup-result__meta div { color: rgba(255, 255, 255, 0.66); font-size: 0.688rem; letter-spacing: 0.12em; text-transform: uppercase; }
.lookup-result__meta strong { display: block; font-size: 0.95rem; letter-spacing: 0; text-transform: none; color: #fff; font-weight: 500; margin-top: 3px; }

/* -------------------------- departure board ----------------------------- */
.board-wrap {
  margin-top: clamp(34px, 5vw, 56px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px clamp(16px, 2.5vw, 26px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.board-head__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--purple);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(82, 121, 111, 0.6);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(82, 121, 111, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(82, 121, 111, 0); }
  100% { box-shadow: 0 0 0 0 rgba(82, 121, 111, 0); }
}
.board-head__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.board-scroll { overflow-x: auto; }
.board {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 760px;
}
.board thead th {
  text-align: left;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 600;
  padding: 12px clamp(10px, 1.6vw, 20px);
  background: var(--sage-mist);
  white-space: nowrap;
}
.board tbody td {
  padding: 13px clamp(10px, 1.6vw, 20px);
  border-top: 1px solid var(--line);
  color: var(--ink);
  vertical-align: middle;
}
.board tbody tr { transition: background 0.2s ease; }
.board tbody tr:hover { background: #fbfdfc; }
.board__flight { font-weight: 600; color: var(--purple); letter-spacing: 0.02em; white-space: nowrap; }
.board__aircraft { font-size: 0.72rem; color: var(--muted); display: block; margin-top: 2px; letter-spacing: 0; }
.board__city { display: block; }
.board__iata { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.1em; }
.board__time { font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.board__gate {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--sage-mist);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.status-select {
  appearance: none;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 26px 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1 5 5l4-4' fill='none' stroke='%2352796f' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: filter 0.2s ease;
}
.status-select:hover { filter: brightness(0.96); }
.status-select:focus { outline: 2px solid var(--sage); outline-offset: 2px; }
.status-select[data-status="scheduled"] { background-color: #efe9f7; color: #4a3268; }
.status-select[data-status="boarding"] { background-color: #dcece5; color: #33604f; }
.status-select[data-status="boarded"] { background-color: #eceef0; color: #4d565f; }
.status-select[data-status="on-time"] { background-color: #e4f2e9; color: #2b6b48; }
.status-select[data-status="delayed"] { background-color: #fbeed8; color: #96641a; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.688rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pill[data-status="scheduled"] { background: #efe9f7; color: #4a3268; }
.status-pill[data-status="boarding"] { background: #dcece5; color: #33604f; }
.status-pill[data-status="boarded"] { background: #eceef0; color: #4d565f; }
.status-pill[data-status="on-time"] { background: #e4f2e9; color: #2b6b48; }
.status-pill[data-status="delayed"] { background: #fbeed8; color: #96641a; }
.status-pill--light { background: rgba(255,255,255,0.14); color: #fff; }

.board__hint {
  padding: 14px clamp(16px, 2.5vw, 26px);
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #fcfdfc;
}

/* --------------------------- destination grid --------------------------- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.dest-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;
  color: #fff;
  isolation: isolate;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.dest-card__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.dest-card:hover .dest-card__img { transform: scale(1.06); }
.dest-card__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(36, 19, 55, 0.12) 0%, rgba(36, 19, 55, 0.35) 48%, rgba(36, 19, 55, 0.92) 100%);
}
.dest-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 400px;
  padding: 22px;
}
.dest-card__index {
  position: absolute;
  top: 20px;
  left: 22px;
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 4px 11px;
  backdrop-filter: blur(4px);
}
.dest-card h3 { color: #fff; font-size: 1.32rem; margin-bottom: 8px; }
.dest-card p { color: rgba(255, 255, 255, 0.76); font-size: 0.82rem; margin-bottom: 14px; }
.dest-card__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.dest-card__cities span {
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
}
.dest-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* --------------------------- experience strip --------------------------- */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 26px);
  margin-top: 6px;
}
.exp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.exp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sage-pale); }
.exp-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sage-pale);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--sage-dark);
}
.exp-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.exp-card p { font-size: 0.9rem; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 5vw, 62px);
  padding-top: clamp(30px, 4vw, 44px);
  border-top: 1px solid var(--line);
}
.stat__value {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--purple);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat__label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------ gallery --------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}
.gallery figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sage-pale);
  box-shadow: var(--shadow-sm);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(28, 17, 40, 0.82));
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.gallery figcaption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2px;
}
.gallery .span-2 { grid-column: span 2; }
.gallery .row-2 { grid-row: span 2; }
.gallery .span-2.row-2 { grid-column: span 2; grid-row: span 2; }

.cabin-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.cabin-feature {
  display: flex;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.cabin-feature strong { display: block; font-size: 0.875rem; color: var(--purple); font-weight: 600; }
.cabin-feature span { font-size: 0.78rem; color: var(--muted); line-height: 1.5; display: block; margin-top: 3px; }
.cabin-feature svg { flex-shrink: 0; color: var(--sage); margin-top: 2px; }

/* ----------------------------- yummy earth ------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tall { aspect-ratio: 4 / 5; }
.split__media--wide { aspect-ratio: 4 / 3; }
.media-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.media-collage img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }
.media-collage__tall { grid-row: span 2; }

.menu-list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.menu-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.menu-list .menu__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage);
  margin-top: 8px;
  flex-shrink: 0;
}
.menu-list strong { display: block; font-size: 0.9rem; color: var(--purple); font-weight: 600; }
.menu-list span { font-size: 0.8rem; color: var(--muted); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--sage-pale);
  color: var(--sage-dark);
}
.badge--purple { background: #efe9f7; color: var(--purple-soft); }
.badge--outline { background: transparent; border: 1px solid var(--line-strong); color: var(--sage-dark); }
.principles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* ------------------------------- wellness ------------------------------- */
.wellness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.wellness-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  overflow: hidden;
}
.wellness-card__num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--sage-pale);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.wellness-card h4 { margin-bottom: 6px; color: var(--purple); }
.wellness-card p { font-size: 0.86rem; margin: 0; }
.wellness-quote {
  margin-top: 30px;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--purple);
  color: #fff;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.wellness-quote p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #fff;
  margin: 0;
  max-width: 640px;
  font-style: italic;
  line-height: 1.45;
}
.wellness-quote span { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-light); white-space: nowrap; }

/* -------------------------------- prayer -------------------------------- */
.prayer-section {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(82, 121, 111, 0.16), transparent 55%),
    var(--purple);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.prayer-section::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.prayer-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 38px);
  backdrop-filter: blur(8px);
}
.prayer-card .field > label { color: rgba(255, 255, 255, 0.72); }
.prayer-card input,
.prayer-card select,
.prayer-card textarea {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.prayer-card input::placeholder,
.prayer-card textarea::placeholder { color: rgba(255, 255, 255, 0.42); }
.prayer-card select { color: #fff; }
.prayer-card select option { color: var(--ink); background: #fff; }
.prayer-card input:focus,
.prayer-card select:focus,
.prayer-card textarea:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--sage-light);
  box-shadow: 0 0 0 4px rgba(138, 167, 158, 0.16);
}
.prayer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prayer-card .field--full { grid-column: 1 / -1; }
.prayer-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 14px;
  line-height: 1.5;
}
.prayer-note svg { flex-shrink: 0; margin-top: 2px; color: var(--sage-light); }
.prayer-aside { display: flex; flex-direction: column; gap: 22px; }
.prayer-aside__quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.35;
  color: #fff;
  font-style: italic;
}
.prayer-aside__cite { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-light); }
.prayer-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px; }
.prayer-figure { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; }
.prayer-figure img { width: 100%; height: 100%; object-fit: cover; }
.success-panel {
  display: none;
  padding: 26px;
  border-radius: 16px;
  background: rgba(82, 121, 111, 0.22);
  border: 1px solid rgba(138, 167, 158, 0.4);
}
.success-panel.is-visible { display: block; }
.success-panel h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.success-panel p { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }

/* ------------------------------ testimonials ---------------------------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 14px; height: 14px; }
.testimonial blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--purple);
  font-style: italic;
}
.testimonial__author { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.testimonial__author strong { display: block; font-size: 0.85rem; color: var(--purple); font-weight: 600; }
.testimonial__author span { font-size: 0.72rem; color: var(--muted); }
.testimonial__initials {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage-dark);
  display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* -------------------------------- footer -------------------------------- */
.site-footer { background: var(--purple); color: rgba(255, 255, 255, 0.7); padding: clamp(52px, 7vw, 84px) 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: clamp(30px, 5vw, 70px);
  padding-bottom: clamp(34px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer h2, .site-footer h3, .site-footer h4 { color: #fff; }
.site-footer .brand__name { color: #fff; }
/* the emblem is purple and sage, so invert it to read on the dark footer */
.site-footer .brand__mark img { filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; margin-top: 18px; max-width: 300px; }
.footer-tagline { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage-light); margin-top: 18px; }
.footer-stations__title { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage-light); margin-bottom: 20px; }
.stations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.station {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.station h4 { color: #fff; font-family: var(--sans); font-size: 0.85rem; margin-bottom: 10px; letter-spacing: 0.01em; }
.station a { display: block; font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); padding: 3px 0; word-break: break-word; }
.station a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 0 30px;
  font-size: 0.75rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a, .footer-legal button {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--sans);
}
.footer-legal a:hover, .footer-legal button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.75);
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* -------------------------------- modal --------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 40px);
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 14, 34, 0.62);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease;
}
.modal__panel {
  position: relative;
  width: min(960px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 60px 120px -40px rgba(20, 10, 30, 0.7);
  animation: rise 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(0.99); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--purple);
  z-index: 3;
}
.modal__close:hover { background: var(--sage-mist); }

/* --------------------------- avatar designer ---------------------------- */
.designer { display: grid; grid-template-columns: 0.95fr 1.05fr; }
.designer__stage {
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(90% 70% at 30% 20%, rgba(138, 167, 158, 0.22), transparent 60%),
    linear-gradient(160deg, var(--sage-pale), #f7faf8 55%, #f0eef7);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid var(--line);
}
.designer__stage h2 { font-size: 1.5rem; margin-bottom: 4px; }
.designer__stage p { font-size: 0.82rem; margin: 0; }
.designer__preview {
  flex: 1;
  min-height: 280px;
  display: grid;
  place-items: center;
  position: relative;
}
.designer__preview::after {
  content: "";
  position: absolute;
  bottom: 8%;
  width: 120px;
  height: 14px;
  border-radius: 50%;
  background: rgba(46, 26, 71, 0.16);
  filter: blur(6px);
}
.designer__preview svg { width: min(230px, 62vw); height: auto; position: relative; z-index: 2; }
.designer__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--sage-dark);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 8px 12px;
}
.designer__controls {
  padding: clamp(20px, 3vw, 30px);
  overflow-y: auto;
  max-height: 70vh;
}
.designer__group { margin-bottom: 20px; }
.designer__group:last-of-type { margin-bottom: 8px; }
.designer__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.688rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 600;
  margin-bottom: 9px;
}
.designer__label span { color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; font-size: 0.72rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-family: var(--sans);
  font-size: 0.78rem;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1.2;
}
.chip:hover { border-color: var(--sage); color: var(--sage-dark); }
.chip[aria-pressed="true"] {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  box-shadow: 0 8px 18px -12px rgba(46, 26, 71, 0.9);
}
.chip--swatch { padding: 5px 12px 5px 5px; }
.swatch {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.designer__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
}
.designer__name { flex: 1 1 160px; }
.designer__name input { min-height: 44px; padding: 10px 14px; }

/* -------------------------------- toast --------------------------------- */
.toast-stack {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
  width: min(92vw, 460px);
}
.toast {
  background: var(--purple);
  color: #fff;
  font-size: 0.82rem;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 20px 40px -22px rgba(20, 10, 30, 0.8);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease;
  text-align: center;
}
.toast svg { flex-shrink: 0; color: var(--sage-light); }
.toast--error { background: #6b2b2b; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ----------------------------- page header ------------------------------ */
.page-hero {
  background: linear-gradient(160deg, var(--purple) 0%, var(--purple-soft) 65%, var(--sage-dark) 150%);
  color: #fff;
  padding: clamp(48px, 7vw, 84px) 0 clamp(56px, 8vw, 92px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.1), transparent 42%);
  pointer-events: none;
}
.page-hero--photo {
  background-color: var(--purple);
  background-image:
    linear-gradient(100deg, rgba(36, 19, 55, 0.97) 0%, rgba(40, 22, 60, 0.92) 38%, rgba(46, 26, 71, 0.72) 66%, rgba(46, 26, 71, 0.5) 100%),
    url("../img/hero.jpg");
  background-size: auto, cover;
  background-position: center, 58% 46%;
  background-repeat: no-repeat, no-repeat;
}
.page-hero--photo::after {
  background-image: linear-gradient(180deg, rgba(36, 19, 55, 0) 55%, rgba(36, 19, 55, 0.45) 100%);
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, 0.76); max-width: 560px; font-size: 1.02rem; }
.page-hero .eyebrow { color: var(--sage-light); }
.page-hero .eyebrow::before { background: var(--sage-light); }
.breadcrumb { display: flex; gap: 8px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255, 255, 255, 0.68); }
.breadcrumb a:hover { color: #fff; }

/* ------------------------------- schedule ------------------------------- */
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  align-items: center;
}
.filter-chip {
  font-family: var(--sans);
  font-size: 0.78rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-chip:hover { border-color: var(--sage); color: var(--sage-dark); }
.filter-chip.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }
.schedule-list { display: grid; gap: 14px; }
.flight-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px clamp(16px, 2.4vw, 26px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.flight-row:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--sage-pale); }
.flight-row__id { display: flex; flex-direction: column; gap: 4px; }
.flight-row__number { font-family: var(--serif); font-size: 1.16rem; color: var(--purple); letter-spacing: 0.03em; }
.flight-row__aircraft { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.04em; }
.route-timeline { display: flex; align-items: center; gap: 14px; }
.route-point { flex-shrink: 0; min-width: 90px; }
.route-point__time { font-size: 1rem; font-weight: 600; color: var(--purple); font-variant-numeric: tabular-nums; display: block; }
.route-point__code { font-size: 0.72rem; color: var(--sage-dark); letter-spacing: 0.12em; font-weight: 600; }
.route-point__city { font-size: 0.68rem; color: var(--muted); display: block; }
.route-line { flex: 1; min-width: 60px; position: relative; height: 26px; }
.route-line__track {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--line-strong);
}
.route-line__track::before,
.route-line__track::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage);
  transform: translateY(-50%);
}
.route-line__track::before { left: 0; }
.route-line__track::after { right: 0; }
.route-line__plane {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 0 6px;
  color: var(--sage);
}
.route-line__duration {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
  background: #fff;
  padding: 0 4px;
}
.flight-row__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.flight-row__gate { font-size: 0.7rem; color: var(--muted); }
.flight-row__gate strong { color: var(--purple); }
.aircraft-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 34px; }
.aircraft-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.aircraft-card h4 { color: var(--purple); margin-bottom: 4px; }
.aircraft-card__code { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); margin-bottom: 12px; }
.aircraft-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.aircraft-card li { font-size: 0.8rem; color: var(--muted); display: flex; gap: 8px; }
.aircraft-card li svg { flex-shrink: 0; color: var(--sage); margin-top: 3px; }

/* ------------------------------- itinerary ------------------------------ */
.itinerary-head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: clamp(20px, 3vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.itinerary-head__avatar {
  width: 82px; height: 82px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sage-mist);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.itinerary-head__avatar svg { width: 100%; height: 100%; }
.itinerary-head h2 { font-size: 1.6rem; margin-bottom: 2px; }
.itinerary-head p { font-size: 0.85rem; margin: 0; }
.itinerary-head__actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

.trip-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.trip-card + .trip-card { margin-top: 18px; }
.trip-card__top {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px clamp(18px, 3vw, 28px);
  background: linear-gradient(120deg, var(--purple) 0%, var(--purple-soft) 70%, var(--sage-dark) 145%);
  color: #fff;
}
.trip-card__route { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.trip-card__code { font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: #fff; }
.trip-card__city { font-size: 0.68rem; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.06em; }
.trip-card__arrow { color: rgba(255, 255, 255, 0.4); }
.trip-card__badge { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.trip-card__body { padding: clamp(18px, 3vw, 26px); }
.trip-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.trip-form__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
}
.trip-form__status { font-size: 0.75rem; color: var(--muted); }
.empty-state {
  text-align: center;
  padding: clamp(36px, 6vw, 64px) 24px;
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { max-width: 420px; margin: 0 auto 20px; font-size: 0.9rem; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-sm);
}
.panel h3 { font-size: 1.16rem; }
.panel + .panel { margin-top: 18px; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pref-list { display: grid; gap: 12px; margin: 16px 0 20px; }
.pref-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--sage-mist);
  font-size: 0.82rem;
  color: var(--ink);
}
.pref-item strong { margin-left: auto; color: var(--purple); font-weight: 600; }
.pref-item svg { color: var(--sage); flex-shrink: 0; }
.meal-tag { display: inline-flex; align-items: center; gap: 6px; }

/* cookie + legal modal content */
.legal-body { padding: clamp(24px, 4vw, 38px); }
.legal-body h2 { margin-bottom: 6px; }
.legal-body h3 { font-size: 1.05rem; margin-top: 22px; }
.legal-body p, .legal-body li { font-size: 0.875rem; color: var(--muted); }
.legal-body ul { padding-left: 20px; }
.cookie-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cookie-row__text { flex: 1; }
.cookie-row__text strong { display: block; color: var(--purple); font-size: 0.9rem; }
.cookie-row__text span { font-size: 0.78rem; color: var(--muted); }
.switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background 0.25s ease;
  cursor: pointer;
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.switch input:checked + .switch__track { background: var(--sage); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:disabled + .switch__track { opacity: 0.6; cursor: not-allowed; }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--sage); outline-offset: 2px; }

/* helper 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;
}
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 26px; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.sage { color: var(--sage-dark); }
.cream-band {
  background: linear-gradient(180deg, var(--canvas), #fff);
}

/* ------------------------------ responsive ------------------------------ */
@media (max-width: 1120px) {
  .nav__link { font-size: 0.76rem; }
  .search-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .search-grid .btn { grid-column: span 2; }
  .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: grid; }
  .mobile-menu { display: block; }
  .header-actions .profile-chip span.profile-chip__label { display: none; }
  .status-lookup { grid-template-columns: 1fr; }
  .split, .split--reverse .split__media { grid-template-columns: 1fr; order: 0; }
  .split__media--tall { aspect-ratio: 16 / 10; }
  .designer { grid-template-columns: 1fr; }
  .designer__stage { border-right: 0; border-bottom: 1px solid var(--line); }
  .designer__controls { max-height: none; }
  .designer__preview { min-height: 220px; }
  .designer__preview svg { width: min(190px, 52vw); }
  .experience-grid, .wellness-grid, .testimonials, .cabin-features, .aircraft-legend { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .trip-form { grid-template-columns: 1fr 1fr; }
  .prayer-grid { grid-template-columns: 1fr; }
  .flight-row { grid-template-columns: 1fr; gap: 16px; }
  .flight-row__meta { align-items: flex-start; flex-direction: row; gap: 14px; }
}

@media (max-width: 720px) {
  :root { --nav-height: 68px; }
  .hero { padding-bottom: 120px; }
  .hero__meta { gap: 8px 18px; font-size: 0.68rem; }
  .search-shell { margin-top: -90px; }
  .search-grid { grid-template-columns: 1fr 1fr; }
  .search-grid .field--wide, .search-grid .btn { grid-column: span 2; }
  .search-grid .field--date { grid-column: span 1; }
  .lang-bar { flex-direction: column; align-items: stretch; }
  .lang-bar__label { max-width: none; padding-top: 0; }
  .dest-card, .dest-card__body { min-height: 340px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery .span-2 { grid-column: span 2; }
  .gallery .row-2 { grid-row: span 1; }
  .experience-grid, .wellness-grid, .testimonials, .cabin-features,
  .aircraft-legend, .stations, .stat-row { grid-template-columns: 1fr; }
  .status-lookup__form .field { flex: 1 1 100%; }
  .status-lookup__form .btn { width: 100%; }
  .board-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .board { min-width: 680px; }
  .trip-form { grid-template-columns: 1fr; }
  .itinerary-head { align-items: flex-start; }
  .itinerary-head__actions { margin-left: 0; width: 100%; }
  .itinerary-head__actions .btn { flex: 1; }
  .modal { padding: 0; }
  .modal__panel { max-height: 100vh; border-radius: 0; min-height: 100vh; }
  .designer__controls { max-height: none; }
  .wellness-quote { flex-direction: column; align-items: flex-start; }
  .board__hint { flex-direction: column; }
  .split__media--tall { aspect-ratio: 4 / 3; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .prayer-figures { grid-template-columns: 1fr; }
  .route-timeline { gap: 8px; }
  .route-point { min-width: 72px; }
  .brand { gap: 10px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 0.86rem; letter-spacing: 0.09em; }
  .brand__tag { font-size: 0.44rem; letter-spacing: 0.2em; margin-top: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------- search grid column rhythm ----------------------- */
.search-grid .field--pax { grid-column: span 1; }
.search-grid .field--cabin { grid-column: span 2; }
.search-grid .btn--search { grid-column: span 3; min-height: 52px; align-self: end; }
.itinerary-layout { grid-template-columns: 1.45fr 1fr; align-items: flex-start; gap: 28px; }

@media (max-width: 980px) {
  .itinerary-layout { grid-template-columns: 1fr; }
  .search-grid .btn--search { grid-column: span 2; }
}

@media (max-width: 720px) {
  .search-grid .field--pax,
  .search-grid .field--cabin { grid-column: span 2; }
  .search-grid .btn--search { grid-column: span 2; }
}
