@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff8eb;
  --ink: #241a2b;
  --muted: #605060;
  --line: #dfcfc5;
  --marigold: #ffbf4e;
  --pink: #ffabc3;
  --plum: #642b52;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(3.3rem, 5.7vw, 5.65rem); line-height: .9; letter-spacing: -.026em; }
h2 em { color: var(--plum); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ab426b; outline-offset: 5px; }
#main:focus { outline: none; }
.wrap { width: min(100% - 112px, 1264px); margin-inline: auto; }
.section { padding-block: clamp(64px, 7vw, 108px); }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--paper);
}
.eyebrow {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .105em;
  line-height: 1.4;
  text-transform: uppercase;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.button-primary { color: var(--ink); background: var(--marigold); }
.button-primary:hover { background: #ffdb8b; }
.text-link {
  display: inline-block;
  width: fit-content;
  color: inherit;
  font-size: .95rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .35em;
}
.text-link:hover { text-decoration-thickness: 2px; }

.masthead {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  color: var(--paper);
  background: linear-gradient(#201721b8, transparent);
}
.masthead-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  min-height: 86px;
  border-bottom: 1px solid #fff8eb43;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 12px;
  font: 400 2.1rem/.82 var(--serif);
  white-space: nowrap;
  text-decoration: none;
}
.brand-flower {
  font: 400 2.15rem/1 Georgia, serif;
  color: var(--marigold);
}
.wordmark small {
  display: block;
  margin-top: 8px;
  font: 700 .72rem/1 var(--sans);
  letter-spacing: .18em;
}
.nav { display: flex; align-items: center; gap: clamp(22px, 3.4vw, 56px); }
.nav a { font-size: .95rem; font-weight: 600; text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: .35em; }
.button-header { justify-self: end; border-color: #fff8eb9b; color: var(--paper); background: #21192265; }
.button-header:hover { color: var(--ink); background: var(--paper); }
.mobile-nav { display: none; }
.masthead :focus-visible, .opening :focus-visible, .destinations :focus-visible, .plan :focus-visible, .footer :focus-visible {
  outline-color: var(--marigold);
}

.opening {
  position: relative;
  isolation: isolate;
  color: var(--paper);
  background: #2c202e;
}
.hero-photo, .hero-photo::after { position: absolute; inset: 0; z-index: -1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.hero-photo::after {
  content: "";
  z-index: auto;
  background:
    linear-gradient(90deg, #221828f5 0%, #251a29db 20%, #251a2998 39%, #251a2928 61%, transparent 82%),
    linear-gradient(0deg, #2619298c, transparent 25%);
}
.hero {
  position: relative;
  display: grid;
  align-content: center;
  min-height: clamp(620px, 52vw, 760px);
  padding-block: 136px 68px;
}
.hero-kicker { display: flex; align-items: center; gap: 11px; color: #ffe0a6; }
.hero-kicker span { display: inline-block; width: 28px; height: 1px; background: currentColor; }
.hero h1 {
  margin: 22px 0 24px;
  font-size: clamp(6rem, 10.35vw, 10.4rem);
  line-height: .79;
  letter-spacing: -.04em;
}
.hero h1 em { color: var(--pink); }
.hero-intro { max-width: 375px; font-size: 1.08rem; line-height: 1.6; color: #fff4eb; }
.hero .button { margin-top: 26px; min-height: 52px; }
.photo-location {
  position: absolute;
  right: 0;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #fff8eb60;
  border-radius: 999px;
  background: #231a2abf;
  font-size: .82rem;
  font-weight: 600;
}
.location-dot { width: 7px; height: 7px; border: 1px solid var(--marigold); border-radius: 50%; }
.ribbon { color: #311c2c; background: #f6ae40; }
.ribbon-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(15px, 5.2vw, 85px);
  min-height: 66px;
  line-height: 1.15;
}
.ribbon a { padding-block: 10px; font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2.15rem); text-decoration: none; white-space: nowrap; }
.ribbon a:hover { text-decoration: underline; text-underline-offset: .15em; }
.ribbon span { color: #72314a; font-size: .8rem; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px 36px;
  margin-bottom: 32px;
}
.section-heading .eyebrow, .about-copy .eyebrow, .plan-copy .eyebrow { margin-bottom: 13px; }
.section-heading > .text-link { flex: none; margin-bottom: 5px; }
.journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.journey {
  display: flex;
  flex-direction: column;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffaf1;
}
.journey-image {
  position: relative;
  display: block;
  aspect-ratio: 1.5;
  overflow: hidden;
  background: #d9aa9e;
}
.journey-image:focus-visible { outline-offset: -4px; z-index: 1; }
.journey-image img, .destination img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.journey-image:hover img, .destination:hover img { transform: scale(1.045); }
.journey-image span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--paper);
  font-size: .875rem;
  font-weight: 700;
}
.journey-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: clamp(18px, 2vw, 28px); }
.journey-body .eyebrow { color: var(--plum); letter-spacing: .065em; }
.journey-body h3 { margin: 8px 0; font-size: clamp(2rem, 3.05vw, 3.15rem); line-height: 1; }
.journey-body > p:not(.eyebrow) { color: var(--muted); line-height: 1.55; padding-bottom: 20px; }
.journey-body .text-link { margin-top: auto; }

.destinations { color: var(--paper); background: #2e2037; }
.destinations h2 em { color: var(--pink); }
.destinations .eyebrow, .plan .eyebrow { color: #ffd18a; }
.destinations .section-heading > p { max-width: 305px; color: #eddee9; line-height: 1.55; margin-bottom: 5px; }
.destination-grid {
  display: grid;
  grid-template-columns: 1.27fr 1fr 1fr;
  grid-auto-rows: clamp(180px, 18vw, 245px);
  gap: 12px;
}
.destination {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  overflow: clip;
  border-radius: 3px;
  background: #62486c;
  text-decoration: none;
  scroll-margin-block: 18px;
}
.destination-india { grid-row: span 2; }
.destination img, .destination::after { position: absolute; inset: 0; z-index: -2; }
.destination::after { content: ""; z-index: -1; background: linear-gradient(0deg, #1d1425f5, #21182d12 66%, transparent); }
.destination span { display: grid; gap: 4px; padding: clamp(15px, 2vw, 24px); }
.destination strong { font: 400 clamp(2.2rem, 4vw, 3.6rem)/.9 var(--serif); }
.destination-india strong { font-size: clamp(3rem, 5.7vw, 5.5rem); }
.destination small { font-size: .88rem; font-weight: 600; }
.rail-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px 24px;
  padding: 20px 0 0;
  margin-top: 28px;
  border-top: 1px solid #fff8eb45;
}
.rail-callout div { display: flex; align-items: center; gap: 12px; }
.rail-mark { color: var(--marigold); font-size: 1.4rem; }
.rail-callout .text-link { color: #ffd18a; }

.about { display: grid; grid-template-columns: 1fr .94fr; gap: clamp(34px, 7vw, 108px); align-items: center; }
.about-image { position: relative; }
.about-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.15;
  object-fit: cover;
  object-position: center;
  border-radius: 48% 48% 3px 3px / 28% 28% 3px 3px;
  background: #d3a7a4;
}
.about-image figcaption { margin-top: 9px; color: var(--muted); font-size: .875rem; }
.about-copy > p:not(.eyebrow) { max-width: 480px; margin-top: 18px; color: var(--muted); line-height: 1.65; }
.link-row { display: flex; flex-wrap: wrap; gap: 13px 23px; margin-top: 22px; }

.plan {
  color: var(--paper);
  background: radial-gradient(ellipse at 12% 35%, #743c62 0%, transparent 68%), #4e294c;
}
.plan-inner { display: grid; grid-template-columns: .83fr 1fr; align-items: center; gap: clamp(30px, 8vw, 120px); }
.plan h2 em { color: var(--pink); }
.plan-copy > p:not(.eyebrow) { max-width: 365px; margin: 20px 0; color: #fff1ed; line-height: 1.6; }
.plan-copy .text-link { color: #ffd18a; }
.trip-form {
  padding: clamp(20px, 3.2vw, 43px);
  border: 1px solid #fff8eb65;
  border-radius: 4px;
  background: #271a2a4d;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trip-form label { display: grid; gap: 6px; margin-bottom: 14px; font-size: .875rem; font-weight: 700; }
.trip-form input, .trip-form select, .trip-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #fff8eb45;
  border-radius: 3px;
  color: var(--ink);
  background: var(--paper);
  font-size: 1rem;
  font-weight: 400;
}
.trip-form select {
  appearance: none;
  padding-right: 30px;
  background:
    linear-gradient(45deg, transparent 50%, #642b52 50%) calc(100% - 17px) 20px / 5px 5px no-repeat,
    linear-gradient(135deg, #642b52 50%, transparent 50%) calc(100% - 12px) 20px / 5px 5px no-repeat,
    var(--paper);
}
.trip-form textarea { resize: vertical; }
.form-note { margin-top: 11px; color: #f3e0ed; font-size: .875rem; }

.footer { color: var(--paper); background: #241a2b; padding-block: 48px 22px; }
.footer-grid { display: grid; grid-template-columns: 1.08fr 1fr 1fr; gap: 24px; }
.footer-brand { display: flex; flex-direction: column; align-items: start; gap: 18px; }
.footer h2 { font: 700 1rem/1.3 var(--sans); letter-spacing: 0; margin-bottom: 9px; }
.footer-grid > div:not(.footer-brand) a { display: block; width: fit-content; margin-bottom: 5px; overflow-wrap: anywhere; }
.footer p, .footer-grid > div > a:not(.wordmark) { color: #eddee9; font-size: .95rem; line-height: 1.5; }
.footer p { margin-top: 9px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
  padding-top: 17px;
  border-top: 1px solid #fff8eb41;
  color: #eddee9;
  font-size: .875rem;
}

.itinerary {
  position: fixed;
  width: min(615px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
}
.itinerary::backdrop { background: #1f1423b5; }
.itinerary .eyebrow { padding-right: 40px; color: var(--plum); }
.itinerary h2 { font-size: clamp(3rem, 7vw, 4.5rem); margin: 10px 0 12px; }
.itinerary h3 { margin-top: 15px; font-size: 1.7rem; }
.itinerary p, .itinerary li { line-height: 1.5; }
.itinerary ul { padding-left: 20px; margin-top: 6px; }
.dialog-dismiss { position: absolute; top: 12px; right: 12px; }
.dialog-dismiss button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.dialog-dismiss button:hover { background: #f3e2d8; }
.dialog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 24px; }
.credits-page main { max-width: 800px; }
.credits-page h1 { margin-block: 20px; font-size: clamp(3.5rem, 9vw, 6rem); line-height: .9; }
.credits-page h2 { margin: 30px 0 12px; font-size: clamp(2.4rem, 6vw, 3.8rem); }
.credits-page li { margin-block: 10px; line-height: 1.5; }

@media (max-width: 1040px) {
  .wrap { width: calc(100% - 72px); }
  .hero { min-height: 620px; }
  .hero h1 { font-size: clamp(6rem, 12vw, 8rem); }
  .journey-grid { gap: 15px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .masthead-inner { display: flex; justify-content: space-between; min-height: 70px; }
  .wordmark { font-size: 1.82rem; gap: 8px; }
  .brand-flower { font-size: 1.8rem; }
  .nav, .button-header { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { cursor: pointer; padding: 10px 13px; border: 1px solid #fff8eb90; border-radius: 999px; list-style: none; font-weight: 700; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    min-width: 180px;
    padding: 8px;
    border: 1px solid #fff8eb65;
    border-radius: 4px;
    color: var(--paper);
    background: #2e2037;
  }
  .mobile-nav nav a { padding: 11px 12px; text-decoration: none; font-weight: 600; }
  .mobile-nav nav a:hover { background: #fff8eb24; }
  .hero { min-height: 640px; padding-block: 119px 80px; }
  .hero-photo img { object-position: 57% 35%; }
  .hero-photo::after {
    background: linear-gradient(90deg, #241925ca, #2b192d45),
      linear-gradient(0deg, #28192df5, #23192a48 82%);
  }
  .hero h1 { font-size: clamp(5.65rem, 14vw, 7.5rem); }
  .photo-location { bottom: 16px; }
  .ribbon-inner { flex-wrap: wrap; gap: 0 12px; justify-content: space-between; min-height: 54px; }
  .ribbon a { font-size: 1.35rem; }
  .ribbon span { font-size: .56rem; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 24px; }
  .journey-grid { grid-template-columns: 1fr 1fr; }
  .journey-body h3 { font-size: 2.45rem; }
  .destination-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .destination-india { grid-column: span 2; grid-row: auto; }
  .about, .plan-inner { grid-template-columns: 1fr; }
  .about-image { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 480px) {
  .hero { min-height: 590px; }
  .hero h1 { margin-top: 18px; font-size: clamp(4.7rem, 23.1vw, 6rem); }
  .hero-kicker { font-size: .78rem; letter-spacing: .08em; gap: 7px; }
  .hero-kicker span { width: 17px; }
  .hero-intro { max-width: 320px; }
  .ribbon-inner { column-gap: 4px; }
  .ribbon a { font-size: 1.17rem; }
  .journey-grid { grid-template-columns: 1fr; }
  .destination-grid { gap: 8px; grid-auto-rows: 155px; }
  .destination span { padding: 12px; }
  .destination small { font-size: .8rem; line-height: 1.15; }
  .rail-callout { flex-direction: column; align-items: start; }
  .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-grid { gap: 0; }
  .footer-brand { grid-column: auto; }
}
@media (max-width: 350px) {
  .masthead-inner { gap: 10px; }
  .wordmark { font-size: 1.65rem; }
  .ribbon span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
