/* ==========================================================================
   Spellbound Journeys — Main Stylesheet
   BEM naming · Mobile-first · 12-column grid
   ========================================================================== */

/* --- Design Tokens ------------------------------------------------------- */
:root {
  --color-navy: #1a2744;
  --color-navy-dark: #0f1829;
  --color-pumpkin: #c45c26;
  --color-pumpkin-light: #e07840;
  --color-cream: #faf6f0;
  --color-cream-dark: #f0e8dc;
  --color-gold: #c9a227;
  --color-gold-light: #dfc04a;
  --color-white: #ffffff;
  --color-text: #2c3344;
  --color-text-muted: #5a6272;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(26, 39, 68, 0.08);
  --shadow-md: 0 8px 24px rgba(26, 39, 68, 0.12);
  --shadow-lg: 0 16px 48px rgba(26, 39, 68, 0.16);

  --header-height: 72px;
  --max-width: 1200px;
  --transition: 0.25s ease;
}

/* --- Reset & Base -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-pumpkin);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--color-pumpkin-light);
}

ul {
  list-style: none;
}

/* --- Typography Scale ---------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-pumpkin));
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: calc(var(--space-sm) * -1) auto var(--space-lg);
}

/* --- 12-Column Grid ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
}

.col-12 { grid-column: span 12; }
.col-6  { grid-column: span 12; }
.col-4  { grid-column: span 12; }
.col-3  { grid-column: span 12; }

@media (min-width: 768px) {
  .col-6-md { grid-column: span 6; }
  .col-4-md { grid-column: span 4; }
  .col-3-md { grid-column: span 3; }
  .col-6    { grid-column: span 6; }
  .col-4    { grid-column: span 4; }
  .col-3    { grid-column: span 3; }
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background-color: var(--color-pumpkin);
  color: var(--color-white);
  border-color: var(--color-pumpkin);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--color-pumpkin-light);
  border-color: var(--color-pumpkin-light);
  color: var(--color-white);
}

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

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn--gold {
  background-color: var(--color-gold);
  color: var(--color-navy-dark);
  border-color: var(--color-gold);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background-color: var(--color-gold-light);
  border-color: var(--color-gold-light);
  color: var(--color-navy-dark);
}

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.site-header__logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
  white-space: nowrap;
}

.site-header__logo span {
  color: var(--color-pumpkin);
}

.site-header__nav {
  display: none;
}

.site-header__nav-list {
  display: flex;
  gap: var(--space-md);
}

.site-header__nav-link {
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-xs) 0;
  position: relative;
}

.site-header__nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--transition);
}

.site-header__nav-link:hover,
.site-header__nav-link:focus-visible,
.site-header__nav-link--active {
  color: var(--color-pumpkin);
}

.site-header__nav-link:hover::after,
.site-header__nav-link:focus-visible::after,
.site-header__nav-link--active::after {
  width: 100%;
}

.site-header__cta {
  display: none;
}

.site-header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.site-header__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-navy);
  transition: transform var(--transition), opacity var(--transition);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide-in nav */
.site-header__mobile-nav {
  position: fixed;
  top: var(--header-height);
  right: 0;
  width: min(320px, 85vw);
  height: calc(100vh - var(--header-height));
  background-color: var(--color-white);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--transition);
  padding: var(--space-lg) var(--space-md);
  z-index: 99;
}

.site-header__mobile-nav--open {
  transform: translateX(0);
}

.site-header__mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.site-header__mobile-nav-link {
  display: block;
  padding: var(--space-sm);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-navy);
  border-radius: var(--radius-sm);
}

.site-header__mobile-nav-link:hover,
.site-header__mobile-nav-link:focus-visible {
  background-color: var(--color-cream);
  color: var(--color-pumpkin);
}

.site-header__overlay {
  position: fixed;
  inset: 0;
  top: var(--header-height);
  background-color: rgba(26, 39, 68, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 98;
}

.site-header__overlay--visible {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 992px) {
  .site-header__nav {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .site-header__cta {
    display: inline-flex;
  }

  .site-header__toggle,
  .site-header__mobile-nav,
  .site-header__overlay {
    display: none;
  }
}

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-navy);
  color: var(--color-cream);
  padding-top: var(--space-xl);
}

.site-footer a {
  color: var(--color-cream-dark);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--color-gold-light);
}

.site-footer__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
  padding-bottom: var(--space-lg);
}

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

@media (min-width: 992px) {
  .site-footer__columns {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.site-footer__logo {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.site-footer__logo span {
  color: var(--color-gold);
}

.site-footer__desc {
  color: var(--color-cream-dark);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.site-footer__heading {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.site-footer__links li {
  margin-bottom: var(--space-xs);
}

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
  font-size: 0.9375rem;
  color: var(--color-cream-dark);
}

.site-footer__social {
  display: flex;
  gap: var(--space-sm);
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-cream);
  transition: background-color var(--transition);
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  background-color: var(--color-pumpkin);
  color: var(--color-white);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-cream-dark);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--space-md);
  }
}

/* --- Cards --------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

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

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

.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-navy), var(--color-pumpkin));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.card__title {
  margin-bottom: var(--space-xs);
}

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

.card__link {
  display: inline-block;
  margin-top: var(--space-sm);
  font-weight: 600;
  font-size: 0.9375rem;
}

.card--featured {
  overflow: hidden;
  padding: 0;
}

.card--featured .card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background-color: var(--color-cream-dark);
}

.card--featured .card__body {
  padding: var(--space-md);
}

/* --- Sections ------------------------------------------------------------ */
.section {
  padding-block: var(--space-xl);
}

.section--cream {
  background-color: var(--color-cream);
}

.section--white {
  background-color: var(--color-white);
}

.section--navy {
  background-color: var(--color-navy);
  color: var(--color-cream);
}

.section--navy h2,
.section--navy h3 {
  color: var(--color-white);
}

.section--navy .section-title::after {
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 39, 68, 0.88) 0%,
    rgba(26, 39, 68, 0.65) 50%,
    rgba(196, 92, 38, 0.35) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: var(--space-xl) var(--space-md);
  color: var(--color-white);
}

.hero__title {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  max-width: 720px;
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  max-width: 560px;
  margin-bottom: var(--space-lg);
  opacity: 0.92;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero--page {
  min-height: 40vh;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
}

.hero--page .hero__content {
  text-align: center;
}

.hero--page .hero__title,
.hero--page .hero__subtitle {
  margin-inline: auto;
}

/* --- Steps (How It Works) ------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

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

.step {
  text-align: center;
  padding: var(--space-md);
  position: relative;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-pumpkin));
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step__title {
  margin-bottom: var(--space-xs);
}

.step__text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.steps__cta {
  text-align: center;
}

/* --- Split Layout -------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

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

  .split--reverse .split__media {
    order: 2;
  }
}

.split__media img,
.split__media .placeholder-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.split__content h2 {
  margin-bottom: var(--space-sm);
}

.split__content p {
  margin-bottom: var(--space-sm);
  color: var(--color-text-muted);
}

/* --- Badges -------------------------------------------------------------- */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 1rem;
  background-color: var(--color-cream);
  border: 1px solid var(--color-cream-dark);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
}

.badge::before {
  content: "✦";
  color: var(--color-gold);
}

/* --- Placeholder Images -------------------------------------------------- */
.placeholder-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-cream-dark), var(--color-cream));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  text-align: center;
  padding: var(--space-md);
}

/* --- Service Cards ------------------------------------------------------- */
.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-height) + var(--space-md));
}

.service-card__title {
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
}

.service-card__desc {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.service-card__list {
  margin-bottom: var(--space-md);
}

.service-card__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
  font-size: 0.9375rem;
}

.service-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-pumpkin);
  font-weight: 700;
}

/* --- Timeline / Map ------------------------------------------------------ */
.timeline {
  position: relative;
  padding-left: var(--space-lg);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-gold), var(--color-pumpkin));
}

.timeline__item {
  position: relative;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-lg) + 4px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-gold);
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.timeline__location {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.timeline__desc {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* --- Blog / Inspiration -------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid var(--color-cream-dark);
  border-radius: 999px;
  background-color: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn:focus-visible {
  border-color: var(--color-pumpkin);
  color: var(--color-pumpkin);
}

.filter-btn--active {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.post-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.post-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: var(--color-cream-dark);
}

.post-card__body {
  padding: var(--space-md);
}

.post-card__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-pumpkin);
  margin-bottom: var(--space-xs);
}

.post-card__title {
  margin-bottom: var(--space-xs);
  font-size: 1.25rem;
}

.post-card__excerpt {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-sm);
}

.post-card--hidden {
  display: none;
}

/* --- Form ---------------------------------------------------------------- */
.form {
  max-width: 720px;
  margin-inline: auto;
}

.form__group {
  margin-bottom: var(--space-md);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

.form__label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.form__label--optional {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 2px solid var(--color-cream-dark);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-pumpkin);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__range-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.form__range {
  flex: 1;
  accent-color: var(--color-pumpkin);
}

.form__range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.form__range-value {
  font-weight: 600;
  color: var(--color-pumpkin);
  min-width: 100px;
  text-align: right;
}

.form__fieldset {
  border: 2px solid var(--color-cream-dark);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.form__legend {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-navy);
  padding: 0 var(--space-xs);
}

.form__submit {
  width: 100%;
  margin-top: var(--space-sm);
}

.form__success {
  display: none;
  text-align: center;
  padding: var(--space-lg);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form__success--visible {
  display: block;
}

.form__success-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}

/* --- Auth Page ----------------------------------------------------------- */
.auth-page .site-header__cta { display: none; }

.auth-main {
  min-height: calc(100vh - var(--header-height) - 200px);
  display: flex;
  align-items: center;
  padding: var(--space-xl) var(--space-md);
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 960px;
  margin-inline: auto;
  width: 100%;
  align-items: center;
}

@media (min-width: 900px) {
  .auth-container {
    grid-template-columns: 1fr 1fr;
  }
}

.auth-intro h1 {
  margin-bottom: var(--space-sm);
}

.auth-intro p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.auth-benefits {
  list-style: none;
}

.auth-benefits li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.auth-benefits li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--color-gold);
}

.auth-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.auth-tabs {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 4px;
}

.auth-tab {
  flex: 1;
  padding: 0.625rem 1rem;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.auth-tab--active {
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: var(--shadow-sm);
}

.auth-form__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
}

.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  cursor: pointer;
}

.auth-checkbox--block {
  display: flex;
  margin-bottom: var(--space-md);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-cream-dark);
}

.auth-demo-btn {
  width: 100%;
}

.auth-demo-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

.form-feedback {
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
}

.form-feedback--error {
  color: #b42318;
}

.form-feedback--success {
  color: #067647;
}

/* --- Profile Dashboard --------------------------------------------------- */
.profile-page .site-header__cta { display: none; }

.profile-main {
  padding: var(--space-lg) 0 var(--space-xl);
  background: var(--color-cream);
  min-height: calc(100vh - var(--header-height));
}

.profile-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 992px) {
  .profile-layout {
    grid-template-columns: 260px 1fr;
  }
}

.profile-sidebar {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-height) + var(--space-md));
}

.profile-sidebar__user {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-cream-dark);
}

.profile-sidebar__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-navy), var(--color-pumpkin));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.profile-sidebar__name {
  font-weight: 700;
  color: var(--color-navy);
  font-size: 0.9375rem;
}

.profile-sidebar__email {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  word-break: break-all;
}

.profile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--space-md);
}

.profile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: background var(--transition);
}

.profile-nav__link:hover,
.profile-nav__link:focus-visible,
.profile-nav__link--active {
  background: var(--color-cream);
  color: var(--color-pumpkin);
}

.profile-nav__badge {
  background: var(--color-pumpkin);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.profile-sidebar__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.profile-content {
  min-width: 0;
}

.profile-panel__header {
  margin-bottom: var(--space-lg);
}

.profile-panel__header h1 {
  margin-bottom: var(--space-xs);
}

.profile-panel__header p {
  color: var(--color-text-muted);
}

.profile-section-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  margin-top: var(--space-md);
}

.profile-section-title:first-child {
  margin-top: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.stat-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-card__value {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
}

.stat-card__label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .profile-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.empty-state {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
}

.empty-state .btn {
  margin-top: var(--space-sm);
}

/* Trip card */
.trip-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.trip-card--featured {
  border-left: 4px solid var(--color-gold);
}

.trip-card__countdown {
  display: inline-block;
  background: var(--color-navy);
  color: var(--color-gold-light);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}

.trip-card__title {
  margin-bottom: var(--space-xs);
}

.trip-card__meta,
.trip-card__code {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.trip-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

/* Request status tracker */
.status-tracker {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.status-tracker__header h3 {
  margin-bottom: var(--space-xs);
}

.status-tracker__meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.status-tracker__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 768px) {
  .status-tracker__steps {
    flex-direction: row;
    justify-content: space-between;
    position: relative;
  }

  .status-tracker__steps::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--color-cream-dark);
    z-index: 0;
  }
}

.status-tracker__step {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .status-tracker__step {
    flex-direction: column;
    text-align: center;
    flex: 1;
    padding: 0 var(--space-xs);
  }
}

.status-tracker__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--color-cream-dark);
  background: var(--color-white);
  flex-shrink: 0;
}

.status-tracker__step--complete .status-tracker__dot {
  background: var(--color-pumpkin);
  border-color: var(--color-pumpkin);
}

.status-tracker__step--current .status-tracker__dot {
  border-color: var(--color-gold);
  background: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.25);
}

.status-tracker__label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.status-tracker__step--complete .status-tracker__label,
.status-tracker__step--current .status-tracker__label {
  color: var(--color-navy);
  font-weight: 600;
}

/* Request cards */
.request-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-md);
  border-left: 4px solid var(--color-cream-dark);
}

.request-card--active {
  border-left-color: var(--color-gold);
}

.request-card--booked {
  border-left-color: var(--color-pumpkin);
}

.request-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.request-card__status {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--color-cream);
  color: var(--color-navy);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  white-space: nowrap;
}

.request-card__details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xs) var(--space-sm);
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
}

.request-card__details dt {
  color: var(--color-text-muted);
  font-weight: 500;
}

.request-card__notes {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-cream-dark);
}

/* Trip timeline */
.trip-timeline {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-md);
}

.trip-timeline__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.trip-timeline__title {
  margin-bottom: var(--space-xs);
}

.trip-timeline__meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.trip-timeline__badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

.trip-timeline__badge--upcoming {
  background: rgba(201, 162, 39, 0.15);
  color: var(--color-gold);
}

.trip-timeline__badge--completed {
  background: rgba(26, 39, 68, 0.1);
  color: var(--color-navy);
}

.trip-timeline__progress {
  height: 6px;
  background: var(--color-cream-dark);
  border-radius: 999px;
  margin-bottom: var(--space-md);
  overflow: hidden;
}

.trip-timeline__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-pumpkin), var(--color-gold));
  border-radius: 999px;
  transition: width var(--transition);
}

.trip-timeline__milestones {
  list-style: none;
  display: grid;
  gap: var(--space-xs);
}

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

.trip-timeline__milestone {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
}

.trip-timeline__milestone--done {
  background: rgba(6, 118, 71, 0.06);
}

.trip-timeline__milestone--pending {
  color: var(--color-text-muted);
}

.trip-timeline__milestone-icon {
  font-weight: 700;
  width: 1.25rem;
  text-align: center;
}

.trip-timeline__milestone--done .trip-timeline__milestone-icon {
  color: #067647;
}

.trip-timeline__milestone-label {
  flex: 1;
}

.trip-timeline__milestone-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Documents */
.documents-list {
  list-style: none;
}

.documents-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-sm);
}

.documents-list__icon {
  font-size: 1.5rem;
}

.documents-list__name {
  display: block;
  color: var(--color-navy);
}

.documents-list__trip {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.documents-list__item .btn {
  margin-left: auto;
  flex-shrink: 0;
}

/* Messages */
.message-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-sm);
  cursor: pointer;
  border-left: 4px solid transparent;
}

.message-card--unread {
  border-left-color: var(--color-pumpkin);
  background: #fffbf8;
}

.message-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.message-card__header h3 {
  font-size: 1rem;
}

.message-card__header time {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.message-card__from {
  font-size: 0.8125rem;
  color: var(--color-pumpkin);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

/* Wishlist */
.wishlist-form {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.wishlist-form .form__input {
  flex: 1;
}

.wishlist-list {
  list-style: none;
}

.wishlist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-xs);
  box-shadow: var(--shadow-sm);
}

.wishlist-item__remove {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
}

.wishlist-item__remove:hover {
  color: var(--color-pumpkin);
}

/* Quick links & history */
.quick-links {
  list-style: none;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-md);
}

.quick-links li {
  border-bottom: 1px solid var(--color-cream-dark);
}

.quick-links li:last-child {
  border-bottom: none;
}

.quick-links a {
  display: block;
  padding: var(--space-xs) var(--space-sm);
  color: var(--color-text);
  font-size: 0.9375rem;
}

.quick-links a:hover {
  color: var(--color-pumpkin);
}

.history-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-xs);
}

.history-card h3 {
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.history-card p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.history-card__code {
  font-size: 0.75rem;
  color: var(--color-gold);
  font-weight: 600;
}

.site-header__account {
  display: none;
  align-items: center;
  gap: var(--space-sm);
}

.site-header__account--visible {
  display: flex;
}

.site-header__account-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
}

.site-header__account-link:hover {
  color: var(--color-pumpkin);
}

@media (min-width: 992px) {
  .site-header__inner {
    position: relative;
  }

  .site-header__account--visible + .site-header__cta {
    display: none;
  }
}

/* --- Utility ------------------------------------------------------------- */
.text-center { text-align: center; }
.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;
}
