:root {
  color-scheme: light;
  --paper: #f2eee6;
  --paper-deep: #e8e1d5;
  --surface: #fbfaf6;
  --ink: #17221f;
  --ink-soft: #52605b;
  --line: #d8d2c7;
  --line-dark: #b9b2a6;
  --accent: #d55335;
  --accent-dark: #ae3e25;
  --moss: #334e45;
  --moss-light: #dbe3dc;
  --white: #fff;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-soft: 0 18px 55px rgba(23, 34, 31, 0.08);
  --radius-small: 10px;
  --radius: 18px;
  --radius-large: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h1 { font-size: clamp(3.2rem, 7vw, 7.1rem); }
h2 { font-size: clamp(2.35rem, 4.4vw, 4.4rem); }
h3 { font-size: 1.55rem; }

:focus-visible {
  outline: 3px solid rgba(213, 83, 53, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.section-shell,
.header-inner,
.footer-inner {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(185, 178, 166, 0.55);
  background: rgba(242, 238, 230, 0.92);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.brand-mark { width: 43px; height: 22px; overflow: visible; }
.brand-mark path {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}
.brand-mark circle { fill: var(--accent); }
.primary-nav,
.account-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
}
.primary-nav a,
.account-link,
.text-button {
  color: var(--ink-soft);
  transition: color 160ms ease;
}
.primary-nav a:hover,
.account-link:hover,
.text-button:hover { color: var(--ink); }
.account-nav { justify-content: flex-end; }
.account-nav form { margin: 0; }
.text-button {
  padding: 0;
  border: 0;
  background: none;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--moss);
  color: var(--white);
  font-weight: 650;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn:hover { transform: translateY(-1px); background: #263f37; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); }
.btn-light { background: var(--surface); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-small { min-height: 38px; padding: 9px 15px; font-size: 0.83rem; }
.btn-large { min-height: 56px; padding: 15px 24px; }
.btn-full { width: 100%; }
.btn[disabled] { cursor: not-allowed; opacity: 0.55; transform: none; }

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.back-link,
.arrow-link,
.filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}
.back-link:hover,
.arrow-link:hover,
.filter-reset:hover { color: var(--accent-dark); }

/* Home */
.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  padding-block: 72px 86px;
}
.hero-copy h1 {
  max-width: 820px;
  margin-bottom: 28px;
}
.hero-lead {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.7;
}
.signature-line { margin: 44px 0 32px; }
.signature-line svg { width: 100%; height: 76px; overflow: visible; }
.signature-line path {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1050;
  stroke-dashoffset: 1050;
  animation: draw-route 2.4s cubic-bezier(0.65, 0, 0.35, 1) 180ms forwards;
}
.signature-line circle {
  fill: var(--accent);
  opacity: 0;
  animation: reveal-point 280ms ease 2.4s forwards;
}
@keyframes draw-route { to { stroke-dashoffset: 0; } }
@keyframes reveal-point { to { opacity: 1; } }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.hero-proof span {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.86rem;
}
.hero-proof span:not(:first-child)::before {
  position: absolute;
  left: -17px;
  content: "·";
}

.walk-planner {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.planner-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.planner-step { font-family: var(--display); font-size: 1.45rem; }
.planner-time { color: var(--ink-soft); font-size: 0.76rem; }
.planner-field {
  min-height: 82px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.field-number { color: var(--accent); font-family: var(--display); font-size: 0.92rem; }
.field-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.field-label { color: var(--ink-soft); font-size: 0.72rem; font-weight: 650; letter-spacing: 0.05em; }
.planner-field input,
.planner-field select {
  width: 100%;
  padding: 0 28px 0 0;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.25rem;
}
.planner-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 11px) 50%, calc(100% - 6px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}
.walk-planner .btn { margin-top: 22px; }
.planner-note { margin: 12px 0 0; color: var(--ink-soft); text-align: center; font-size: 0.76rem; }

.manifesto {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr 0.8fr;
  align-items: start;
  gap: 48px;
  padding-block: 120px;
  border-top: 1px solid var(--line-dark);
}
.manifesto blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.3rem, 4vw, 4.7rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.manifesto > p:last-child { color: var(--ink-soft); line-height: 1.8; }

.featured,
.how-it-works { padding-block: 110px; }
.featured { border-top: 1px solid var(--line); }
.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}
.section-heading-row h2 { margin-bottom: 0; }
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.story-card,
.location-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.story-card:hover,
.location-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-soft);
}
.story-card-media,
.location-media { position: relative; display: block; overflow: hidden; background: var(--moss-light); }
.story-card-media { aspect-ratio: 4 / 3; }
.story-card-media img,
.location-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.story-card:hover img,
.location-card:hover img { transform: scale(1.025); }
.story-card-city,
.location-city {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.92);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 650;
  backdrop-filter: blur(8px);
}
.story-card-body { padding: 24px; }
.story-card-body h3 { margin-bottom: 12px; }
.story-card-body p { min-height: 75px; margin-bottom: 24px; color: var(--ink-soft); }
.story-card-action { font-size: 0.86rem; font-weight: 700; }

.route-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--moss-light);
}
.route-placeholder svg { width: 76%; }
.route-placeholder path { fill: none; stroke: var(--moss); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.route-placeholder circle { fill: var(--accent); }

.how-it-works { border-top: 1px solid var(--line); }
.steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}
.steps-list li { padding: 28px 42px 32px 0; border-bottom: 1px solid var(--line); }
.steps-list li + li { padding-left: 42px; border-left: 1px solid var(--line); }
.steps-list span { color: var(--accent-dark); font-family: var(--display); font-size: 0.9rem; }
.steps-list h3 { margin: 48px 0 14px; }
.steps-list p { max-width: 290px; margin: 0; color: var(--ink-soft); }

.closing-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 110px;
  padding: clamp(32px, 6vw, 72px);
  border-radius: var(--radius-large);
  background: var(--moss);
  color: var(--white);
}
.closing-cta .eyebrow { color: #e8a998; }
.closing-cta h2 { max-width: 760px; margin: 0; }

/* Catalog */
.catalog-hero { padding-block: 56px 48px; }
.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin: 50px 0 44px;
}
.catalog-heading h1,
.page-heading h1 { max-width: 880px; margin-bottom: 18px; font-size: clamp(3rem, 6.5vw, 6.2rem); }
.catalog-heading p,
.page-heading > p:last-child { margin-bottom: 0; color: var(--ink-soft); font-size: 1.08rem; }
.context-badge,
.quiet-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 650;
  white-space: nowrap;
}
.context-badge::before {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
.catalog-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.7fr) auto auto;
  align-items: end;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 246, 0.7);
}
.catalog-filter label { display: flex; flex-direction: column; gap: 6px; }
.catalog-filter label span { color: var(--ink-soft); font-size: 0.69rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.catalog-filter input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  outline: none;
}
.catalog-filter input:focus { border-color: var(--accent); }
.filter-reset { min-height: 46px; padding-inline: 12px; }
.catalog-results { padding-bottom: 110px; }
.result-count { margin-bottom: 18px; color: var(--ink-soft); font-size: 0.78rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.location-card { display: grid; grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.2fr); min-height: 320px; }
.location-media { min-height: 100%; }
.location-body { display: flex; flex-direction: column; padding: 28px; }
.location-title-row { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.location-title-row h2 { margin-bottom: 14px; font-size: clamp(1.8rem, 3vw, 2.45rem); }
.location-body > p { margin-bottom: 20px; color: var(--ink-soft); }
.location-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; color: var(--ink-soft); font-size: 0.76rem; }
.location-actions { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.location-actions form { margin: 0; }
.save-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
}
.save-button:hover,
.save-button.is-saved { border-color: var(--accent); color: var(--accent-dark); }

.empty-state {
  grid-column: 1 / -1;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}
.empty-state h2,
.empty-state h3 { margin-bottom: 14px; }
.empty-state p:not(.eyebrow) { max-width: 620px; margin-inline: auto; color: var(--ink-soft); }

/* Route preview */
.route-preview-hero {
  padding-block: 48px 104px;
}
.route-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.7fr);
  align-items: center;
  gap: clamp(52px, 9vw, 130px);
  margin-top: 54px;
}
.route-preview-copy h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(4rem, 7.5vw, 7.8rem);
}
.route-preview-copy { min-width: 0; overflow-wrap: anywhere; }
.route-summary {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.7;
}
.route-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 38px 0;
  border-block: 1px solid var(--line-dark);
}
.route-stats div { padding: 18px 18px 18px 0; }
.route-stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.route-stats dt { color: var(--ink-soft); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }
.route-stats dd { margin: 4px 0 0; font-family: var(--display); font-size: 1.2rem; }
.route-adjustment { max-width: 620px; margin: -18px 0 28px; color: var(--ink-soft); font-size: 0.78rem; }
.route-start-info { margin-bottom: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.route-start-info .eyebrow { margin-bottom: 10px; }
.route-start-info h2 { margin-bottom: 12px; font-size: 1.65rem; overflow-wrap: anywhere; }
.route-start-info p:not(.eyebrow) { margin-bottom: 12px; font-size: 0.9rem; }
.route-start-info .route-start-note { color: var(--ink-soft); font-size: 0.82rem; }
.map-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; color: var(--accent-dark); font-size: 0.82rem; font-weight: 650; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.map-link > span { flex-shrink: 0; }
.itinerary-map-link { margin-top: 12px; }
.route-map-card {
  padding: 22px;
  border-radius: var(--radius-large);
  background: var(--moss);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.route-map-topline { display: flex; align-items: start; justify-content: space-between; gap: 12px; color: #c8d2ce; font-size: 0.72rem; }
.route-map-topline > span { min-width: 0; overflow-wrap: anywhere; }
.route-map-card :focus-visible { outline-color: #f0b2a3; }
.route-map-line { position: relative; min-height: 510px; margin-top: 8px; }
.route-map-line > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-map-line > svg path {
  fill: none;
  stroke: #f0b2a3;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 7 9;
}
.route-map-line > svg .verified-route-path {
  stroke-dasharray: none;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}
.verified-route-marker circle {
  fill: var(--moss);
  stroke: #f0b2a3;
  stroke-width: 2.5;
}
.verified-route-marker text {
  fill: var(--white);
  font-family: var(--display);
  font-size: 10px;
}
.route-map-point { position: absolute; display: flex; align-items: center; gap: 9px; }
.route-map-point b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 2px solid #f0b2a3;
  border-radius: 50%;
  background: var(--moss);
  color: var(--white);
  font-family: var(--display);
  font-size: 0.8rem;
}
.route-map-point em { max-width: 130px; font-size: 0.72rem; font-style: normal; line-height: 1.25; }
.route-map-point.point-1 { left: 12%; top: 1%; }
.route-map-point.point-2 { left: 20%; top: 47%; }
.route-map-point.point-3 { right: 3%; bottom: 0; flex-direction: row-reverse; text-align: right; }
.route-map-point.point-4 { right: 8%; top: 26%; }
.route-map-point.point-5 { left: 43%; top: 61%; }
.route-map-point.point-6 { left: 10%; bottom: 8%; }
.route-map-point.point-7 { right: 5%; top: 8%; }
.route-map-point.point-8 { left: 45%; top: 17%; }
.route-map-note { margin: 10px 0 0; color: #c8d2ce; text-align: center; font-size: 0.7rem; }
.route-map-legend { list-style: none; margin: 22px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.2); }
.route-map-legend a { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 12px; padding-block: 10px; font-size: 0.85rem; line-height: 1.45; overflow-wrap: anywhere; }
.route-map-legend a:hover { text-decoration: underline; text-underline-offset: 4px; }
.route-map-legend a > span { color: #f0b2a3; font-family: var(--display); }
.route-stop-card { scroll-margin-top: 100px; }
.route-stop-copy { min-width: 0; overflow-wrap: anywhere; }

.itinerary-section { padding-block: 108px; border-top: 1px solid var(--line); }
.itinerary-walk-total { margin: 0; color: var(--ink-soft); font-size: 0.8rem; }
.route-timeline { margin: 0; padding: 0; list-style: none; }
.route-stop-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(220px, 0.68fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 30px;
  padding: 26px 0;
  border-top: 1px solid var(--line-dark);
}
.route-stop-number { align-self: start; padding-top: 6px; color: var(--accent-dark); font-family: var(--display); }
.route-stop-media { overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--moss-light); }
.route-stop-media img { width: 100%; height: 100%; object-fit: cover; }
.route-stop-copy h3 { margin: 10px 0 12px; font-size: clamp(2rem, 3.4vw, 3.3rem); }
.route-stop-copy > p { color: var(--ink-soft); }
.route-stop-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-soft); font-size: 0.72rem; }
.observation-preview { margin: 18px 0 0; padding-left: 16px; border-left: 2px solid var(--accent); font-size: 0.84rem; }
.observation-preview strong { color: var(--ink); }
.walk-connector {
  position: absolute;
  left: 13px;
  top: -17px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.68rem;
}
.route-start-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 110px;
  padding: clamp(34px, 6vw, 74px);
  border-radius: var(--radius-large);
  background: var(--accent);
  color: var(--white);
}
.route-start-cta .eyebrow { color: #ffd8ce; }
.route-start-cta h2 { max-width: 760px; margin: 0; }

/* Walking mode */
.walk-mode { background: #ede8de; }
.walk-mode :focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 4px; }
.walk-mode .walk-player :focus-visible { outline-color: #f0b2a3; }
.walk-mode .site-header,
.walk-mode .site-footer { display: none; }
.walk-mode .site-main { min-height: 100svh; }
.walk-shell { width: min(980px, 100%); min-height: 100svh; margin: 0 auto; background: var(--surface); box-shadow: 0 0 70px rgba(23, 34, 31, 0.09); }
.walk-header {
  min-height: 76px;
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 42px);
}
.walk-exit {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  font-size: 1.4rem;
}
.walk-route-name { min-width: 0; display: flex; flex-direction: column; text-align: center; }
.walk-route-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-soft); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.1em; }
.walk-route-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.walk-step-count { color: var(--ink-soft); text-align: right; font-family: var(--display); }
.walk-progress { height: 3px; background: var(--line); }
.walk-progress span { height: 100%; display: block; background: var(--accent); transition: width 400ms ease; }
.walk-stop { display: grid; grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr); min-height: 650px; }
.walk-stop-cover { position: relative; min-width: 0; min-height: 100%; background: var(--moss-light); }
.walk-stop-cover > img { width: 100%; height: 100%; object-fit: cover; }
.walk-stop-marker {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.92);
  font-size: 0.7rem;
  font-weight: 700;
}
.walk-stop-content { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 6vw, 64px); }
.walk-stop-content .eyebrow { overflow-wrap: anywhere; }
.walk-stop-content h1 { margin-bottom: 28px; overflow-wrap: anywhere; font-size: clamp(2.8rem, 4.5vw, 4.2rem); }
.walk-completion-label { margin: -8px 0 16px; color: var(--moss); font-size: 0.8rem; }
.walk-arrival { margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius-small); }
.walk-arrival summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 14px; color: var(--ink-soft); font-size: 0.82rem; line-height: 1.5; list-style: none; cursor: pointer; }
.walk-arrival summary::-webkit-details-marker { display: none; }
.walk-arrival summary > span { color: var(--accent-dark); }
.walk-arrival[open] summary > span { transform: rotate(180deg); }
.walk-arrival-content { padding: 0 14px 14px; }
.walk-arrival-content p { margin-bottom: 12px; color: var(--ink-soft); font-size: 0.82rem; overflow-wrap: anywhere; }
.look-around { display: grid; grid-template-columns: 34px 1fr; gap: 12px; margin: 20px 0 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.look-around > span { color: var(--accent); font-size: 1.5rem; }
.look-around strong { font-family: var(--display); font-size: 1.1rem; font-weight: 500; }
.look-around p { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.82rem; }
.walk-player.player { color: var(--white); background: var(--ink); }
.walk-player.player.is-playing { background: var(--moss); }
.walk-player .player-topline { margin-bottom: 24px; }
.walk-full-story { width: fit-content; margin-top: 18px; color: var(--ink-soft); font-size: 0.78rem; text-decoration: underline; text-underline-offset: 4px; }
.walk-story-fallback { padding: 22px; border-radius: var(--radius); background: var(--paper); overflow-wrap: anywhere; }
.walk-story-fallback p { color: var(--ink-soft); }
.walk-story-fallback a { color: var(--accent-dark); font-weight: 700; }
.walk-navigation {
  min-height: 132px;
  display: grid;
  grid-template-columns: minmax(80px, 0.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 22px clamp(18px, 4vw, 42px);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.walk-previous { color: var(--ink-soft); font-size: 0.82rem; }
.next-stop-copy { min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.next-stop-copy span { color: var(--accent-dark); font-size: 0.68rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; }
.next-stop-copy strong { font-family: var(--display); font-size: 1.3rem; font-weight: 500; }
.walk-navigation-hint { grid-column: 2; margin: -8px 0 0; color: var(--ink-soft); font-size: 0.82rem; line-height: 1.5; overflow-wrap: anywhere; }
.walk-navigation-map { grid-column: 2; width: fit-content; }
.walk-stop-action { grid-column: 2; margin: 0; }
.walk-stop-action .btn { min-height: 48px; font-size: 0.85rem; }
.walk-finish { width: min(680px, calc(100% - 36px)); margin: 0 auto; padding-block: clamp(48px, 10vh, 100px); }
.walk-finish h1 { margin-bottom: 24px; font-size: clamp(2.7rem, 7vw, 4.6rem); overflow-wrap: anywhere; }
.walk-finish-route { font-family: var(--display); font-size: 1.4rem; overflow-wrap: anywhere; }
.walk-finish-count { color: var(--ink-soft); font-size: 0.9rem; }
.walk-finish-reflection { margin: 28px 0; font-family: var(--display); font-size: 1.65rem; line-height: 1.4; }
.walk-finish-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.walk-finish-actions form { margin: 0; }
.walk-finish-actions .text-button { min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }

/* Location */
.location-hero { padding-block: 48px 96px; }
.location-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  margin-top: 38px;
}
.location-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-large);
  background: var(--moss-light);
}
.location-cover > img { width: 100%; height: 100%; object-fit: cover; }
.route-placeholder-large { min-height: 100%; }
.cover-index {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.9);
  font-size: 0.7rem;
  font-weight: 700;
}
.location-intro h1 { margin-bottom: 24px; font-size: clamp(3.5rem, 6.5vw, 6.8rem); }
.location-summary { max-width: 560px; color: var(--ink-soft); font-size: 1.1rem; }
.location-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.location-tags span { padding: 7px 11px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--ink-soft); font-size: 0.72rem; }
.intro-actions { display: flex; align-items: center; gap: 12px; }
.intro-actions form { margin: 0; }
.save-button-large { min-height: 56px; padding: 15px 22px; }

.listening-section {
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--radius-large);
  background: var(--ink);
  color: var(--white);
}
.listening-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.listening-heading h2 { margin-bottom: 0; }
.listening-heading > p { color: #aab7b2; font-size: 0.82rem; }
.listening-section .eyebrow { color: #e8a998; }
.players-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.player {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  transition: border-color 180ms ease, background 180ms ease;
}
.player.is-playing { border-color: #e8a998; background: rgba(255, 255, 255, 0.11); }
.player-topline { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.player-topline > div { display: flex; flex-direction: column; }
.player-kicker { color: #aab7b2; font-size: 0.72rem; }
.player-topline strong { font-family: var(--display); font-size: 1.35rem; font-weight: 500; }
.rate-control { color: #aab7b2; font-size: 0.7rem; }
.rate-control select { margin-left: 5px; border: 0; background: transparent; color: var(--white); }
.rate-control option { color: var(--ink); }
.player-controls { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 18px; }
.play-button {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
}
.player-timeline { min-width: 0; }
.player input[type="range"] { display: block; width: 100%; margin: 0; accent-color: var(--accent); }
.player-meta { display: flex; justify-content: space-between; color: #aab7b2; font-size: 0.7rem; }
.empty-state-dark { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.05); }
.empty-state-dark p:not(.eyebrow) { color: #aab7b2; }

.gallery-section,
.story-text-section { padding-block: 110px; }
.gallery-section { border-bottom: 1px solid var(--line); }
.photo-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.photo-grid figure { grid-column: span 4; margin: 0; }
.photo-grid figure:nth-child(5n + 1) { grid-column: span 7; }
.photo-grid figure:nth-child(5n + 2) { grid-column: span 5; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); object-fit: cover; }
.photo-grid figcaption { margin-top: 8px; color: var(--ink-soft); font-size: 0.72rem; }
.story-text-section { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 72px; }
.story-text-heading h2 { margin: 0; }
.story-details { border-top: 1px solid var(--line-dark); }
.story-details summary {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.story-details summary::-webkit-details-marker { display: none; }
.guide-text { max-width: 70ch; padding-top: 18px; }
.guide-text p { margin-bottom: 1.2em; color: #34413d; font-family: var(--display); font-size: 1.16rem; line-height: 1.85; }
.guide-text h2,
.guide-text h3 { margin: 2em 0 0.7em; font-size: 1.8rem; }

/* Auth, profile, plans, metrics */
.auth-layout {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: 1fr minmax(340px, 0.72fr);
  align-items: center;
  gap: 90px;
  padding-block: 72px;
}
.auth-intro h1 { margin-bottom: 24px; font-size: clamp(3.6rem, 6.5vw, 6.8rem); }
.auth-intro > p:last-child { max-width: 570px; color: var(--ink-soft); font-size: 1.08rem; }
.auth-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.auth-form h2 { margin-bottom: 28px; font-size: 2.3rem; }
.auth-form p { margin-bottom: 18px; }
.auth-form label { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 0.78rem; font-weight: 650; }
.auth-form input,
.auth-form textarea,
.auth-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--white);
}
.auth-form .helptext,
.auth-form ul { color: var(--ink-soft); font-size: 0.72rem; }
.auth-form .errorlist { color: #9d2d20; }
.auth-switch { margin: 18px 0 0 !important; color: var(--ink-soft); text-align: center; font-size: 0.82rem; }
.auth-switch a { color: var(--accent-dark); font-weight: 700; }

.profile-layout,
.metrics-page { padding-block: 72px 110px; }
.page-heading { margin-bottom: 54px; }
.page-heading-narrow { max-width: 800px; }
.profile-grid { display: grid; grid-template-columns: minmax(300px, 0.65fr) minmax(0, 1.35fr); gap: 48px; align-items: start; }
.profile-avatar { width: 90px; height: 90px; margin-bottom: 22px; border-radius: 50%; object-fit: cover; }
.saved-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.saved-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.saved-item span:first-child { display: flex; flex-direction: column; }
.saved-item small { color: var(--ink-soft); }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 110px; }
.plan-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.plan-card-featured { border-color: var(--moss); }
.plan-name { color: var(--ink-soft); }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price strong { font-family: var(--display); font-size: 2.8rem; font-weight: 500; }
.plan-price span { color: var(--ink-soft); font-size: 0.78rem; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric-grid article { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.metric-grid span { color: var(--ink-soft); font-size: 0.78rem; }
.metric-grid strong { margin-top: 12px; font-family: var(--display); font-size: 3rem; font-weight: 500; }
.data-table-wrap { margin-top: 48px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th,
.data-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: right; }
.data-table th:first-child,
.data-table td:first-child { text-align: left; }
.data-table th { color: var(--ink-soft); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }

.site-footer { border-top: 1px solid var(--line-dark); }
.footer-inner { min-height: 220px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand-footer { font-family: var(--display); font-size: 1.4rem; }
.footer-inner p { margin: 8px 0 0; color: var(--ink-soft); font-size: 0.85rem; }
.footer-mission { font-family: var(--display); font-size: 1.8rem !important; font-style: italic; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 820px; }
  .walk-planner { max-width: 720px; }
  .manifesto { grid-template-columns: 1fr 2fr; }
  .manifesto > p:last-child { grid-column: 2; }
  .catalog-grid { grid-template-columns: 1fr; }
  .location-card { min-height: 300px; }
  .location-hero-grid { grid-template-columns: 1fr; }
  .location-cover { max-height: 620px; }
  .auth-layout { gap: 48px; }
  .route-preview-grid { grid-template-columns: 1fr; }
  .route-map-card { max-width: 620px; }
}

@media (max-width: 760px) {
  .section-shell,
  .header-inner,
  .footer-inner { width: min(100% - 32px, 1200px); }
  .site-header { position: relative; }
  .header-inner { min-height: 64px; grid-template-columns: 1fr auto; gap: 14px; }
  .primary-nav { display: none; }
  .account-nav { gap: 12px; }
  .account-nav .btn { display: none; }
  .hero { padding-block: 58px 72px; gap: 46px; }
  .hero-copy h1 { font-size: clamp(3rem, 16vw, 5.2rem); }
  .hero-lead { font-size: 1rem; }
  .signature-line { margin: 30px 0 24px; }
  .hero-proof { gap: 8px 20px; }
  .hero-proof span:not(:first-child)::before { left: -12px; }
  .walk-planner { padding: 22px; border-radius: 22px; }
  .manifesto { grid-template-columns: 1fr; gap: 22px; padding-block: 78px; }
  .manifesto > p:last-child { grid-column: auto; }
  .featured,
  .how-it-works,
  .gallery-section,
  .story-text-section { padding-block: 78px; }
  .section-heading-row { align-items: start; flex-direction: column; margin-bottom: 30px; }
  .story-grid,
  .steps-list,
  .players-stack,
  .profile-grid,
  .plan-grid,
  .metric-grid { grid-template-columns: 1fr; }
  .steps-list li,
  .steps-list li + li { padding: 24px 0 28px; border-left: 0; }
  .steps-list h3 { margin-top: 28px; }
  .closing-cta { align-items: stretch; flex-direction: column; margin-bottom: 72px; padding: 30px; }
  .catalog-heading { align-items: start; flex-direction: column; margin-top: 36px; }
  .catalog-filter { grid-template-columns: 1fr; }
  .filter-reset { justify-content: center; }
  .location-card { grid-template-columns: 1fr; }
  .location-media { min-height: 240px; aspect-ratio: 16 / 10; }
  .location-title-row { flex-direction: column; }
  .location-actions { align-items: stretch; flex-direction: column; }
  .location-actions .btn,
  .location-actions form,
  .location-actions .save-button { width: 100%; }
  .location-hero { padding-block: 34px 72px; }
  .location-hero-grid { margin-top: 28px; gap: 36px; }
  .location-cover { border-radius: 22px; }
  .location-intro h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .intro-actions { align-items: stretch; flex-direction: column; }
  .intro-actions .btn,
  .intro-actions form,
  .intro-actions .save-button { width: 100%; }
  .listening-section { width: 100%; border-radius: 0; padding: 48px 16px; }
  .listening-heading { align-items: start; flex-direction: column; }
  .player-topline { align-items: start; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid figure,
  .photo-grid figure:nth-child(5n + 1),
  .photo-grid figure:nth-child(5n + 2) { grid-column: auto; }
  .story-text-section { grid-template-columns: 1fr; gap: 34px; }
  .auth-layout { grid-template-columns: 1fr; min-height: auto; padding-block: 58px 72px; }
  .auth-intro h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .auth-form { padding: 24px; }
  .profile-layout,
  .metrics-page { padding-block: 52px 78px; }
  .footer-inner { min-height: 190px; align-items: start; flex-direction: column; justify-content: center; }
  .route-preview-hero { padding-block: 34px 78px; }
  .route-preview-grid { margin-top: 36px; gap: 44px; }
  .route-preview-copy h1 { font-size: clamp(3.5rem, 16vw, 5.5rem); }
  .route-stats { grid-template-columns: repeat(2, 1fr); }
  .route-stats div:nth-child(3) { border-left: 0; }
  .route-stats div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .route-map-line { min-height: 440px; }
  .itinerary-section { padding-block: 76px; }
  .route-stop-card { grid-template-columns: 34px 1fr; gap: 18px; padding-block: 32px; }
  .route-stop-media,
  .route-stop-copy { grid-column: 2; }
  .route-stop-number { grid-row: 1 / span 2; }
  .walk-connector { left: -1px; }
  .route-start-cta { align-items: stretch; flex-direction: column; margin-bottom: 72px; }
  .walk-shell { width: 100%; }
  .walk-stop { grid-template-columns: 1fr; min-height: 0; }
  .walk-stop-cover { height: clamp(88px, 14svh, 120px); min-height: 0; overflow: hidden; }
  .walk-stop-cover .route-placeholder { height: 100%; min-height: 0; aspect-ratio: auto; }
  .walk-stop-cover .route-placeholder svg { width: auto; height: 100%; max-width: 76%; }
  .walk-stop-content { justify-content: start; padding: 22px 18px 28px; }
  .walk-stop-content .eyebrow { margin-bottom: 10px; }
  .walk-stop-content h1 { margin-bottom: 18px; font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.08; }
  .walk-player .player-topline { margin-bottom: 18px; }
  .walk-player .player-topline strong { font-size: 1.15rem; }
  .look-around { grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 14px; }
  .look-around p { overflow-wrap: anywhere; }
  .walk-navigation { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; padding: 18px; }
  .walk-navigation-hint { grid-column: 1 / -1; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
  .walk-navigation-map { grid-column: 1 / -1; }
  .walk-stop-action { grid-column: 1 / -1; }
  .walk-finish-actions { align-items: stretch; flex-direction: column; }
}

@media (max-width: 430px) {
  .brand-mark { width: 36px; }
  .account-nav { font-size: 0.8rem; }
  .hero-proof span { width: 100%; }
  .hero-proof span::before { display: none; }
  .planner-field { grid-template-columns: 34px 1fr; }
  .story-card-body,
  .location-body { padding: 22px; }
  .player { padding: 18px; }
  .player-topline { flex-direction: column; }
  .player-controls { grid-template-columns: 46px 1fr; gap: 12px; }
  .play-button { width: 46px; height: 46px; }
  .walk-player .player-controls { grid-template-columns: 52px minmax(0, 1fr); }
  .walk-player .play-button { width: 52px; height: 52px; }
  .data-table-wrap { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .signature-line path { stroke-dashoffset: 0; }
  .signature-line circle { opacity: 1; }
}
.walk-resume { margin: 16px 0; padding: 20px; border: 1px solid var(--border, #d8d4cb); border-radius: 16px; overflow-wrap: anywhere; }
.walk-resume[hidden], .walk-resume [hidden] { display: none; }
.walk-resume p { margin: 0 0 12px; }
.walk-resume-note { font-size: 14px; }
.walk-resume-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.walk-resume-actions > * { max-width: 100%; }
.walk-resume .btn { white-space: normal; }
.player-status { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: inherit; overflow-wrap: anywhere; }
.player-status[hidden] { display: none; }
.player[data-playback-state="error"] .player-status { color: #ffd2b8; }
