:root {
  color-scheme: light;
  --ink: #17342c;
  --ink-soft: #496258;
  --paper: #f2e8d4;
  --paper-light: #f8f1e3;
  --champagne: #d8b47b;
  --candle: #efc98f;
  --night: #142d27;
  --line: rgba(23, 52, 44, 0.22);
  --bronze: #7d5a2f;
  --page: clamp(1.25rem, 5vw, 5rem);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, "TeX Gyre Pagella", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.guide-hero :focus-visible,
.guide-section--dark :focus-visible,
.guide-cta :focus-visible {
  outline-color: var(--candle);
}

.skip-link {
  position: fixed;
  top: max(0.75rem, env(safe-area-inset-top));
  left: max(0.75rem, env(safe-area-inset-left));
  z-index: 40;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.guide-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: max(1.15rem, env(safe-area-inset-top)) max(var(--page), env(safe-area-inset-right)) 1rem max(var(--page), env(safe-area-inset-left));
  color: var(--paper);
}

.site-mark {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-self: start;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.site-mark span {
  color: var(--champagne);
}

.guide-header nav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

.guide-header nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.guide-header > .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--paper);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 150ms ease-out, background-color 150ms ease-out, color 150ms ease-out;
}

.button:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--paper);
}

.button--small {
  padding: 0.5rem 0.9rem;
}

.guide-hero {
  position: relative;
  min-height: 76vh;
  min-height: 76svh;
  overflow: hidden;
  display: grid;
  place-items: end start;
  padding: clamp(7rem, 15vh, 10rem) var(--page) clamp(3rem, 8vh, 6rem);
  color: var(--paper);
}

.guide-hero img,
.guide-hero__wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.guide-hero img {
  z-index: 0;
  object-fit: cover;
  object-position: 58% 52%;
}

.guide-hero__wash {
  z-index: 1;
  background: rgba(20, 45, 39, 0.5);
}

.guide-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 72rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--bronze);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.guide-hero .eyebrow,
.guide-section--dark .eyebrow,
.guide-cta .eyebrow {
  color: var(--candle);
}

h1,
h2,
h3,
.quick-facts dt {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

.guide-hero h1 {
  font-size: clamp(4.5rem, 11vw, 10rem);
  line-height: 0.84;
}

.guide-hero__copy > p:last-child {
  max-width: 44rem;
  margin: 1.5rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.45;
  text-wrap: pretty;
}

.guide-overview,
.guide-section,
.bombay-guide,
.guide-cta,
footer {
  padding-right: var(--page);
  padding-left: var(--page);
}

.guide-overview,
.guide-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 8vw, 8rem);
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.guide-overview {
  grid-template-areas:
    "heading lede"
    "facts facts";
}

.guide-overview .section-heading {
  grid-area: heading;
}

.guide-overview > .section-lede {
  grid-area: lede;
}

.quick-facts {
  grid-area: facts;
}

.section-heading h2,
.bombay-guide h2,
.guide-cta h2 {
  font-size: clamp(3.1rem, 6vw, 6.4rem);
  line-height: 0.92;
}

.section-lede {
  max-width: 38rem;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(2rem, 5vw, 4.5rem) 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-facts div {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.quick-facts div + div {
  border-left: 1px solid var(--line);
}

.quick-facts dt {
  font-size: clamp(2rem, 4vw, 4rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.quick-facts dd {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.45;
}

.guide-section {
  border-top: 1px solid var(--line);
}

.guide-section--dark {
  border-color: rgba(242, 232, 212, 0.18);
  background: var(--night);
  color: var(--paper);
}

.guide-section--dark .section-lede,
.guide-section--dark .quiet-note {
  color: var(--paper);
}

.section-body {
  min-width: 0;
}

.detail-list {
  margin: clamp(2rem, 5vw, 4rem) 0 0;
}

.detail-list div,
.venue-note dl div {
  display: grid;
  grid-template-columns: minmax(7rem, 0.35fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.detail-list dt,
.detail-list dd,
.venue-note dt,
.venue-note dd {
  margin: 0;
  line-height: 1.6;
}

.detail-list dt,
.venue-note dt {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-list dd,
.venue-note dd {
  color: var(--ink-soft);
  font-size: 1rem;
  text-wrap: pretty;
}

.venue-note {
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.venue-note h3 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.celebration-list {
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(242, 232, 212, 0.22);
}

.celebration-list li {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(242, 232, 212, 0.22);
}

.celebration-list__number {
  color: var(--champagne);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-variant-numeric: tabular-nums;
}

.celebration-list h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.celebration-list p,
.quiet-note,
.bombay-guide > p:not(.eyebrow, .status) {
  max-width: 42rem;
  margin: 0.65rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.quiet-note {
  margin-top: 2rem;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
}

.bombay-guide {
  padding-top: clamp(6rem, 13vw, 12rem);
  padding-bottom: clamp(6rem, 13vw, 12rem);
  text-align: center;
}

.bombay-guide h2 {
  font-size: clamp(4rem, 10vw, 10rem);
}

.bombay-guide > p:not(.eyebrow, .status) {
  margin: 2rem auto 0;
  color: var(--ink-soft);
}

.status {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.7rem;
  margin: 2rem 0 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--champagne);
}

.route-ornament {
  display: grid;
  grid-template-columns: auto minmax(1.5rem, 4.5rem) auto minmax(1.5rem, 4.5rem) auto;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0;
  padding: 0 var(--page) clamp(3rem, 7vw, 5rem);
  background: var(--paper);
  color: var(--bronze);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-ornament svg {
  width: 100%;
  height: 0.8rem;
  overflow: visible;
}

.route-ornament path {
  fill: none;
  stroke: currentColor;
  stroke-dasharray: 1 4;
  stroke-linecap: round;
  stroke-width: 1;
}

.guide-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  background: var(--night);
  color: var(--paper);
}

.guide-cta__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

footer {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.25rem;
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  background: var(--paper);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

@media (max-width: 64rem) {
  .guide-header {
    grid-template-columns: 1fr auto;
    gap: 0 1rem;
  }

  .guide-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    gap: clamp(1rem, 5vw, 2rem);
  }

  .guide-overview,
  .guide-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .guide-overview {
    grid-template-areas:
      "heading"
      "lede"
      "facts";
  }
}

@media (max-width: 47.99rem) {
  .guide-header {
    padding-top: max(0.85rem, env(safe-area-inset-top));
  }

  .guide-header nav a {
    font-size: 0.75rem;
  }

  /* Keep section display type dramatic but off the enormous end on phones;
     the serif carries the register without filling the viewport. */
  .section-heading h2,
  .bombay-guide h2,
  .guide-cta h2 {
    font-size: clamp(2.2rem, 9.5vw, 2.9rem);
  }

  .guide-hero h1 {
    font-size: clamp(3.4rem, 15vw, 4.4rem);
  }

  .guide-hero {
    min-height: 72svh;
    padding-top: 8rem;
  }

  .guide-hero img {
    object-position: 66% 50%;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .quick-facts div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .detail-list div,
  .venue-note dl div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .celebration-list li {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .guide-cta {
    display: grid;
    align-items: start;
  }

  .guide-cta__actions,
  footer {
    align-items: flex-start;
  }

  footer {
    display: grid;
  }
}

@media (hover: none), (pointer: coarse) {
  .button:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .guide-header,
  .guide-hero img,
  .guide-hero__wash,
  .guide-cta__actions {
    display: none !important;
  }

  .guide-hero {
    min-height: 0;
    padding-top: 2rem;
    padding-bottom: 2rem;
    color: var(--ink);
  }

  .guide-section--dark,
  .guide-cta {
    background: #fff;
    color: #000;
  }

  .guide-section--dark .section-lede,
  .guide-section--dark .quiet-note {
    color: #000;
  }
}
