:root {
  --ink: #17201d;
  --muted: #64706a;
  --paper: #f5f0e7;
  --paper-strong: #fffaf1;
  --line: #d7cdbb;
  --sea: #143945;
  --sea-soft: #dce9e8;
  --olive: #556846;
  --clay: #b5523d;
  --saffron: #c59a4a;
  --night: #102323;
  --shadow: 0 24px 60px rgba(17, 28, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(20, 57, 69, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #fcf8ef 0%, #ece8dc 44%, #f8f3e8 100%);
  background-size: 74px 74px, auto;
  color: var(--ink);
  font-family: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(23, 32, 29, 0.12) 0.7px, transparent 0.7px);
  background-size: 5px 5px;
  opacity: 0.16;
  z-index: 3;
}

h1,
h2,
h3,
.brand-lockup strong {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration-color: rgba(181, 82, 61, 0.55);
  text-underline-offset: 0.18em;
}

button,
input {
  font: inherit;
}

button,
.hero-actions a {
  min-height: 42px;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -80px;
  z-index: 10;
  background: var(--night);
  color: var(--paper-strong);
  padding: 12px 16px;
}

.skip-link:focus {
  top: 18px;
}

.side-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  z-index: 2;
  padding: 28px 22px;
  background: rgba(16, 35, 35, 0.96);
  color: #f8eedc;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.brand-lockup {
  display: grid;
  gap: 4px;
  text-decoration: none;
}

.brand-lockup span,
.eyebrow,
.section-heading p,
.anchor-panel > span,
.strategy-card > span,
.vendor-topline,
.search-box span {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-lockup span {
  color: rgba(248, 238, 220, 0.64);
}

.brand-lockup strong {
  font-size: 1.58rem;
}

.side-nav nav {
  display: grid;
  gap: 7px;
}

.side-nav nav a {
  border-left: 2px solid rgba(248, 238, 220, 0.18);
  color: rgba(248, 238, 220, 0.72);
  padding: 9px 0 9px 13px;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.side-nav nav a:hover,
.side-nav nav a.is-active {
  border-color: var(--saffron);
  color: #fff9ec;
  transform: translateX(2px);
}

main {
  margin-left: 236px;
}

main > section,
.hero {
  padding: clamp(48px, 7vw, 96px);
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(440px, 1fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  background:
    linear-gradient(110deg, rgba(255, 250, 241, 0.95), rgba(245, 240, 231, 0.82)),
    linear-gradient(145deg, rgba(20, 57, 69, 0.2), rgba(197, 154, 74, 0.14));
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: 7vw;
  bottom: 28px;
  left: 7vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 32, 29, 0.24), transparent);
}

.eyebrow,
.section-heading p {
  color: var(--clay);
  margin-bottom: 12px;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3.25rem, 8.8vw, 7.6rem);
  line-height: 0.9;
  margin-bottom: 24px;
}

.hero-route {
  max-width: 680px;
  color: var(--sea);
  font-size: clamp(1.06rem, 1.6vw, 1.32rem);
  line-height: 1.45;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions a,
.filter-row button,
.toolbar-actions button {
  border: 1px solid rgba(23, 32, 29, 0.18);
  background: var(--paper-strong);
  color: var(--ink);
  padding: 11px 16px;
  text-decoration: none;
  cursor: pointer;
}

.hero-actions a:first-child,
.filter-row button.is-active,
.toolbar-actions button:hover {
  background: var(--night);
  border-color: var(--night);
  color: #fff8e9;
}

.route-map {
  display: grid;
  gap: 16px;
}

.route-map svg {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(23, 32, 29, 0.12);
  box-shadow: var(--shadow);
}

.map-stop circle {
  fill: var(--paper-strong);
  stroke: var(--clay);
  stroke-width: 3;
}

.map-stop .final-ring {
  fill: transparent;
  stroke: var(--saffron);
  opacity: 0.8;
}

.map-stop text {
  fill: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-anchor: middle;
}

.map-label {
  fill: #fff7e6;
  font-size: 20px;
  font-weight: 700;
}

.route-map ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 250, 241, 0.74);
  border: 1px solid var(--line);
}

.route-map li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 13px 12px;
  border-right: 1px solid var(--line);
}

.route-map li:last-child {
  border-right: 0;
}

.route-index {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--sea);
  color: #fff7e6;
  font-size: 0.8rem;
  font-weight: 800;
}

.route-map strong,
.route-map em {
  display: block;
}

.route-map em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  margin-top: 2px;
}

.brief-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--paper-strong);
}

.brief-copy h2,
.section-heading h2,
.toolbar h2,
.philosophy h2 {
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 0.98;
  margin-bottom: 18px;
}

.brief-copy p,
.section-lede,
.philosophy p {
  color: #293531;
  font-size: 1.08rem;
  line-height: 1.72;
}

.anchor-panel {
  background: var(--night);
  color: #fff8e9;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--saffron);
}

.anchor-panel h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 0.95;
  margin-bottom: 24px;
}

.anchor-panel dl {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}

.anchor-panel dl div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  border-top: 1px solid rgba(255, 248, 233, 0.18);
  padding-top: 12px;
}

.anchor-panel dt {
  color: rgba(255, 248, 233, 0.56);
}

.anchor-panel dd {
  margin: 0;
}

.strategy,
.concierge,
.sources {
  background: #f2eadb;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(260px, 1fr);
  column-gap: 48px;
  align-items: end;
  border-top: 1px solid rgba(23, 32, 29, 0.2);
  padding-top: 24px;
}

.section-heading p,
.section-heading h2 {
  grid-column: 1;
}

.section-heading span {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.section-lede {
  max-width: 940px;
  margin: 0 0 28px;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.strategy-card,
.vendor-card,
.priority-row,
.question-bank {
  background: rgba(255, 250, 241, 0.76);
  border: 1px solid rgba(23, 32, 29, 0.13);
}

.strategy-card {
  padding: 24px;
}

.strategy-card > span,
.vendor-topline {
  color: var(--clay);
}

.strategy-card h3,
.vendor-card h3 {
  font-size: 1.45rem;
  line-height: 1.12;
  margin-bottom: 12px;
}

.strategy-card p,
.strategy-card li,
.vendor-card p,
.vendor-card li {
  color: #34413c;
  line-height: 1.55;
}

.small,
.priority-row small {
  color: var(--muted);
  font-size: 0.9rem;
}

.itinerary-shell {
  background: linear-gradient(180deg, #fbf7ef, #ece5d7);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}

.toolbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.region-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding: 44px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 28px;
}

.region-section .section-heading {
  display: block;
  border-top: 0;
  padding-top: 0;
}

.region-section .section-heading h2 {
  font-size: clamp(1.9rem, 3.7vw, 3.5rem);
}

.region-section .section-lede {
  grid-column: 1;
  color: var(--muted);
  font-size: 1rem;
}

.day-stack {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.day-card {
  border-top: 1px solid rgba(23, 32, 29, 0.16);
}

.day-card:last-child {
  border-bottom: 1px solid rgba(23, 32, 29, 0.16);
}

.day-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) minmax(180px, 0.38fr) 26px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.day-date {
  color: var(--clay);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.day-main strong,
.day-main em {
  display: block;
}

.day-main strong {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.24rem;
  font-weight: 500;
}

.day-main em,
.day-meta {
  color: var(--muted);
  font-style: normal;
  line-height: 1.42;
}

.day-meta {
  font-size: 0.9rem;
}

.chevron {
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--sea);
  border-bottom: 2px solid var(--sea);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.day-toggle[aria-expanded="true"] .chevron {
  transform: rotate(225deg);
}

.day-detail {
  padding: 0 0 22px 126px;
  color: #34413c;
}

.day-detail ul,
.strategy-card ul,
.source-list,
.question-bank ul {
  margin-top: 0;
}

.anchor-day {
  background: linear-gradient(90deg, rgba(197, 154, 74, 0.18), transparent 48%);
}

.filter-panel {
  margin: 28px 0;
  display: grid;
  gap: 14px;
}

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

.filter-row button {
  min-height: 38px;
  padding: 9px 12px;
  cursor: pointer;
}

.search-box {
  display: grid;
  gap: 7px;
  max-width: 560px;
}

.search-box input {
  width: 100%;
  border: 1px solid rgba(23, 32, 29, 0.2);
  background: var(--paper-strong);
  padding: 13px 14px;
  color: var(--ink);
}

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.vendor-card {
  min-height: 268px;
  padding: 20px;
}

.vendor-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.vendor-topline span:last-child {
  color: var(--muted);
  text-align: right;
}

.vendor-card details {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.vendor-card summary {
  cursor: pointer;
  color: var(--sea);
  font-weight: 700;
}

.empty-state {
  color: var(--muted);
  padding: 24px;
  border: 1px dashed var(--line);
}

.priorities {
  background: var(--night);
  color: #fff8e9;
}

.priorities .section-heading {
  border-color: rgba(255, 248, 233, 0.18);
}

.priorities .section-heading p {
  color: var(--saffron);
}

.priorities .section-heading span {
  color: rgba(255, 248, 233, 0.66);
}

.priority-list {
  display: grid;
  gap: 12px;
}

.priority-row {
  display: grid;
  grid-template-columns: auto 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  color: var(--ink);
  cursor: pointer;
}

.priority-row input {
  margin-top: 6px;
  accent-color: var(--clay);
}

.priority-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--sea);
  color: #fff8e9;
  font-weight: 800;
}

.priority-row strong,
.priority-row em,
.priority-row small {
  display: block;
}

.priority-row strong {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.priority-row em {
  color: #38443f;
  font-style: normal;
  margin: 5px 0;
}

.priority-row:has(input:checked) {
  opacity: 0.64;
}

.priority-row:has(input:checked) strong {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.philosophy {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 70px);
  background: var(--paper-strong);
}

.source-list {
  columns: 2 320px;
  column-gap: 44px;
  padding-left: 20px;
}

.source-list li {
  break-inside: avoid;
  margin-bottom: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.question-bank {
  margin-top: 28px;
  padding: 24px;
}

@media (max-width: 1180px) {
  .side-nav {
    position: sticky;
    top: 0;
    width: auto;
    min-height: 0;
    inset: auto;
    padding: 12px 16px;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
  }

  .side-nav nav {
    display: flex;
    gap: 2px;
    white-space: nowrap;
  }

  .side-nav nav a {
    border-left: 0;
    border-bottom: 2px solid rgba(248, 238, 220, 0.18);
    padding: 10px 11px;
  }

  main {
    margin-left: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .route-map ol,
  .strategy-grid,
  .vendor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  main > section,
  .hero {
    padding: 36px 20px;
  }

  .brand-lockup {
    min-width: 132px;
  }

  .brand-lockup strong {
    font-size: 1.2rem;
  }

  .brief-grid,
  .section-heading,
  .region-section,
  .philosophy {
    grid-template-columns: 1fr;
  }

  .section-heading p,
  .section-heading h2,
  .section-heading span,
  .region-section .section-lede,
  .day-stack {
    grid-column: auto;
    grid-row: auto;
  }

  .toolbar {
    display: grid;
    align-items: start;
  }

  .toolbar-actions {
    justify-content: start;
  }

  .route-map ol,
  .strategy-grid,
  .vendor-grid {
    grid-template-columns: 1fr;
  }

  .route-map li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .day-toggle {
    grid-template-columns: 1fr 26px;
    gap: 10px;
  }

  .day-date,
  .day-main,
  .day-meta {
    grid-column: 1;
  }

  .chevron {
    grid-column: 2;
    grid-row: 1;
  }

  .day-detail {
    padding-left: 0;
  }

  .anchor-panel dl div,
  .priority-row {
    grid-template-columns: 1fr;
  }

  .priority-number {
    display: none;
  }
}

@media print {
  html {
    scroll-behavior: auto;
  }

  body {
    background: white;
    color: #111;
    font-size: 10pt;
  }

  body::before,
  .side-nav,
  .skip-link,
  .hero-actions,
  .toolbar-actions,
  .filter-panel,
  .chevron,
  script {
    display: none !important;
  }

  main {
    margin: 0;
  }

  main > section,
  .hero {
    padding: 0.45in 0.5in;
    page-break-after: always;
    background: white !important;
    min-height: auto;
  }

  .hero,
  .brief-grid,
  .section-heading,
  .region-section,
  .philosophy,
  .strategy-grid,
  .vendor-grid {
    display: block;
  }

  .route-map svg {
    box-shadow: none;
    max-width: 6.9in;
  }

  .route-map ol {
    display: block;
  }

  .route-map li,
  .strategy-card,
  .vendor-card,
  .priority-row,
  .anchor-panel,
  .day-card {
    break-inside: avoid;
    box-shadow: none;
    margin-bottom: 10px;
  }

  .anchor-panel,
  .priorities {
    background: white;
    color: #111;
    border: 1px solid #aaa;
  }

  .day-detail[hidden] {
    display: block;
  }

  .day-toggle {
    grid-template-columns: 0.9in 1fr 1.6in;
    padding: 9px 0;
  }

  a {
    color: #111;
  }
}
