:root {
  --ink: #211b18;
  --muted: #756b63;
  --paper: #fff8ef;
  --cream: #f7ebda;
  --sun: #ffbf4d;
  --tomato: #e95438;
  --ocean: #0f7475;
  --pink: #f6b0a6;
  --line: rgba(33, 27, 24, 0.14);
  --shadow: 0 24px 60px rgba(56, 36, 22, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::selection { color: var(--paper); background: var(--tomato); }

a { color: inherit; text-decoration: none; }

button, input, select { font: inherit; }

img, svg { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: -4rem;
  left: 1rem;
  padding: .65rem 1rem;
  border-radius: .4rem;
  color: white;
  background: var(--ink);
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 239, .92);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 2.5rem));
  min-height: 76px;
  margin: auto;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.05em;
}

.brand-mark {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50% 50% 46% 46%;
  background: conic-gradient(from 145deg, var(--tomato), var(--sun), var(--ocean), var(--tomato));
  box-shadow: inset 0 0 0 5px var(--paper);
}

.nav-toggle {
  display: none;
  border: 0;
  padding: .45rem;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .88rem;
  font-weight: 700;
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: .45rem 0;
  color: var(--muted);
}

.nav-list a::after {
  position: absolute;
  right: 0;
  bottom: .1rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--tomato);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .24s ease;
}

.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--ink); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.page-main { overflow: hidden; }

.hero, .inner-hero { width: min(1180px, calc(100% - 2.5rem)); margin: auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
  align-items: center;
  min-height: 670px;
  gap: clamp(2rem, 6vw, 7rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  color: var(--ocean);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow::before { width: 28px; height: 2px; content: ""; background: currentColor; }

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

h1, h2, h3, .serif { font-family: Georgia, "Times New Roman", serif; }

h1 {
  max-width: 720px;
  margin-bottom: 1.3rem;
  font-size: clamp(3.5rem, 7.3vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: .9;
}

h1 em { color: var(--tomato); font-style: italic; }

.hero-copy > p:not(.eyebrow), .inner-hero p {
  max-width: 560px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: .78rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 800;
  transition: transform .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink); }
.button:focus-visible, .filter-button:focus-visible, .nav-toggle:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.button-primary { color: var(--paper); background: var(--ink); }
.button-primary:hover { color: var(--ink); background: var(--sun); }
.button-ghost { color: var(--ink); background: transparent; }
.button-ghost:hover { color: var(--paper); background: var(--ocean); border-color: var(--ocean); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 3.3rem;
  color: var(--muted);
  font-size: .77rem;
  font-weight: 700;
}

.hero-meta b { display: block; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; }

.hero-art {
  position: relative;
  min-height: 500px;
  margin: 0;
  overflow: hidden;
  border-radius: 1.7rem 1.7rem 0 0;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.hero-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(13, 11, 10, .06) 22%, rgba(13, 11, 10, .7) 100%);
}

.hero-art > img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; object-position: center; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.hero-art:hover > img { transform: scale(1.04); }

.hero-tag {
  position: absolute;
  z-index: 1;
  right: 1.2rem;
  bottom: 1.25rem;
  max-width: 185px;
  padding: .85rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
  font-size: .78rem;
  font-weight: 800;
  transform: rotate(3deg);
  animation: float 5s .5s ease-in-out infinite;
}

.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--tomato); color: var(--paper); }
.ticker-track { display: flex; width: max-content; padding: .72rem 0; white-space: nowrap; font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-style: italic; animation: ticker 28s linear infinite; }
.ticker-track span { margin: 0 1.3rem; }
.ticker-track b { color: var(--sun); }

.section { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; padding: clamp(4.8rem, 8vw, 8rem) 0; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-title { max-width: 610px; margin-bottom: 0; font-size: clamp(2.45rem, 5vw, 4.6rem); font-weight: 500; letter-spacing: -.065em; line-height: .94; }
.section-intro { max-width: 350px; margin-bottom: 0; color: var(--muted); font-size: .94rem; }

.feature-grid, .story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }

.feature-card, .story-card, .guide-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 1.2rem;
  background: var(--cream);
  transition: transform .28s ease, box-shadow .28s ease;
}

.feature-card:hover, .story-card:hover, .guide-card:hover { box-shadow: var(--shadow); transform: translateY(-8px); }
.feature-card h3, .story-card h3, .guide-card h3 { margin-bottom: .35rem; font-size: 2rem; font-weight: 500; letter-spacing: -.055em; }
.feature-card p, .story-card p, .guide-card p { margin-bottom: 0; color: rgba(33, 27, 24, .78); font-size: .9rem; }
.card-content { position: relative; z-index: 1; }
.card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.photo-card { color: var(--paper); background: var(--ink); isolation: isolate; }
.photo-card::after { position: absolute; z-index: 0; inset: 0; content: ""; background: linear-gradient(180deg, rgba(9, 8, 7, .02) 12%, rgba(9, 8, 7, .86) 100%); }
.photo-card:hover .card-image { transform: scale(1.06); }
.photo-card .eyebrow { color: #ffd66f; }
.photo-card p, .photo-card .detail { color: rgba(255,248,239,.84); }
.photo-card .tag { color: var(--ink); background: rgba(255,248,239,.9); }
.card-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.3rem; font-size: .79rem; font-weight: 800; }
.card-link::after { content: "↗"; font-size: 1.15rem; transition: transform .2s ease; }
.feature-card:hover .card-link::after, .story-card:hover .card-link::after { transform: translate(3px, -3px); }

.card-boyle .card-image { object-position: center; }
.card-sunset .card-image { object-position: center; }

.photo-band, .city-gallery { display: grid; grid-template-columns: 1.35fr repeat(3, .85fr); gap: 1rem; width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; }
.city-gallery { grid-template-columns: 1.4fr repeat(2, 1fr); margin-top: -1.8rem; }
.photo-tile { position: relative; min-height: 255px; margin: 0; overflow: hidden; border-radius: 1.15rem; background: var(--ink); }
.photo-tile-wide { min-height: 335px; }
.photo-tile-tall { min-height: 335px; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.photo-tile::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 42%, rgba(9, 8, 7, .76) 100%); }
.photo-tile:hover img { transform: scale(1.05); }
.photo-tile figcaption { position: absolute; z-index: 1; right: 1rem; bottom: .9rem; left: 1rem; color: var(--paper); font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; font-style: italic; }

.route-section { background: var(--ink); color: var(--paper); }
.route-section .section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.route-section .section-title { color: var(--sun); }
.route-section .section-intro { color: rgba(255,248,239,.72); }
.route-list { margin: 0; padding: 0; list-style: none; counter-reset: route; }
.route-list li { position: relative; padding: 1.45rem 0 1.45rem 4.3rem; border-top: 1px solid rgba(255,255,255,.2); }
.route-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.route-list li::before { position: absolute; top: 1.35rem; left: 0; color: var(--pink); content: "0" counter(route); counter-increment: route; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; font-style: italic; }
.route-list h3 { margin-bottom: .2rem; font-family: inherit; font-size: 1rem; letter-spacing: 0; }
.route-list p { margin-bottom: 0; color: rgba(255,248,239,.7); font-size: .86rem; }

.quote-panel { display: grid; grid-template-columns: .78fr 1.22fr; gap: 2rem; align-items: start; padding: clamp(2rem, 5vw, 5rem); border-radius: 1.4rem; background: var(--pink); }
.quote-panel span { color: var(--tomato); font-family: Georgia, "Times New Roman", serif; font-size: 6rem; line-height: .5; }
.quote-panel blockquote { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 4vw, 3.45rem); letter-spacing: -.05em; line-height: .99; }
.quote-panel cite { display: block; margin-top: 1.5rem; color: rgba(33,27,24,.65); font-family: inherit; font-size: .85rem; font-style: normal; letter-spacing: .02em; }

.inner-hero { padding: clamp(4.5rem, 10vw, 8.5rem) 0 clamp(3.3rem, 7vw, 5.8rem); }
.inner-hero h1 { max-width: 900px; font-size: clamp(3.4rem, 7.4vw, 6.8rem); }
.inner-hero .title-note { color: var(--tomato); font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; font-style: italic; }

.neighborhood-list { display: grid; gap: 1px; border-top: 1px solid var(--line); }
.neighborhood-row { display: grid; grid-template-columns: 60px 92px 1fr minmax(180px, .6fr) 40px; align-items: center; gap: 1.2rem; padding: 1rem .5rem; border-bottom: 1px solid var(--line); transition: padding .24s ease, background .24s ease; }
.neighborhood-row:hover { padding-right: 1.15rem; padding-left: 1.15rem; background: var(--cream); }
.neighborhood-row .number { color: var(--tomato); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-style: italic; }
.neighborhood-photo { width: 92px; height: 74px; border-radius: .7rem; object-fit: cover; }
.neighborhood-row h2 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 500; letter-spacing: -.055em; }
.neighborhood-row p { margin: 0; color: var(--muted); font-size: .87rem; }
.row-arrow { justify-self: end; font-size: 1.65rem; transition: transform .2s ease; }
.neighborhood-row:hover .row-arrow { transform: translateX(6px); }

.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 8rem); align-items: start; }
.note-card { padding: 1.7rem; border-radius: 1rem; background: var(--ocean); color: white; transform: rotate(-2deg); }
.note-card h3 { margin-bottom: .45rem; font-size: 1.8rem; font-weight: 500; letter-spacing: -.05em; }
.note-card p { margin-bottom: 0; color: rgba(255,255,255,.78); }

.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 2rem; }
.filter-button { border: 1px solid var(--line); border-radius: 999px; padding: .52rem .85rem; color: var(--ink); background: transparent; cursor: pointer; font-size: .8rem; font-weight: 800; transition: background .2s ease, color .2s ease, transform .2s ease; }
.filter-button:hover, .filter-button[aria-pressed="true"] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.filter-button:hover { transform: translateY(-2px); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.guide-card { min-height: 295px; border: 1px solid var(--line); }
.guide-card[hidden] { display: none; }
.guide-card .tag { align-self: flex-start; padding: .35rem .55rem; border-radius: 999px; background: rgba(255,255,255,.62); font-size: .7rem; font-weight: 800; }
.guide-card .detail { display: block; margin-top: .8rem; color: rgba(255,248,239,.84); font-size: .75rem; font-weight: 700; }

.story-grid { grid-template-columns: repeat(2, 1fr); }
.story-card { min-height: 405px; }

.planner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 7vw, 8rem); align-items: start; }
.planner-copy h2 { margin-bottom: .8rem; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 500; letter-spacing: -.065em; line-height: .95; }
.planner-copy p { color: var(--muted); }
.planner-steps { margin: 2rem 0 0; padding: 0; list-style: none; }
.planner-steps li { display: flex; gap: .9rem; align-items: baseline; margin: .8rem 0; font-size: .9rem; }
.planner-steps b { color: var(--tomato); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-style: italic; }
.planner-photo { position: relative; height: 210px; margin: 2rem 0 0; overflow: hidden; border-radius: 1rem; background: var(--ink); }
.planner-photo img { width: 100%; height: 100%; object-fit: cover; }
.planner-photo::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 30%, rgba(9,8,7,.74) 100%); }
.planner-photo figcaption { position: absolute; z-index: 1; right: 1rem; bottom: .9rem; left: 1rem; color: var(--paper); font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; font-style: italic; }
.planner-form { padding: clamp(1.4rem, 4vw, 2.7rem); border-radius: 1.25rem; background: var(--cream); box-shadow: var(--shadow); }
.planner-form h2 { margin-bottom: 1.6rem; font-size: 2rem; font-weight: 500; letter-spacing: -.05em; }
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-size: .78rem; font-weight: 800; }
.field input, .field select { width: 100%; min-height: 48px; border: 1px solid rgba(33,27,24,.28); border-radius: .6rem; padding: .65rem .75rem; color: var(--ink); background: rgba(255,255,255,.65); }
.field input:focus, .field select:focus { border-color: var(--ocean); outline: 3px solid rgba(15,116,117,.16); }
.planner-form .button { width: 100%; margin-top: .55rem; cursor: pointer; }
.form-result { min-height: 1.5rem; margin: 1rem 0 0; color: var(--ocean); font-size: .85rem; font-weight: 800; }

.site-footer { padding: 2rem 0; color: var(--paper); background: var(--ink); }
.footer-wrap { display: flex; align-items: end; justify-content: space-between; gap: 2rem; width: min(1180px, calc(100% - 2.5rem)); margin: auto; }
.footer-wrap .brand { color: var(--sun); }
.footer-wrap .brand-mark { box-shadow: inset 0 0 0 5px var(--ink); }
.footer-wrap p { max-width: 370px; margin: .6rem 0 0; color: rgba(255,248,239,.62); font-size: .78rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 1rem; font-size: .78rem; font-weight: 700; }
.footer-links a:hover { color: var(--sun); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 850px) {
  .nav-toggle { display: block; }
  .nav-list { position: absolute; top: 76px; right: 0; left: 0; display: grid; gap: 0; padding: .7rem max(1.25rem, calc((100vw - 1180px) / 2)); border-bottom: 1px solid var(--line); background: var(--paper); clip-path: inset(0 0 100% 0); transition: clip-path .25s ease; }
  .nav-list.is-open { clip-path: inset(0 0 0 0); }
  .nav-list a { display: block; padding: .8rem 0; }
  .hero { grid-template-columns: 1fr; padding: 4.5rem 0 3.6rem; min-height: unset; }
  .hero-art { min-height: 385px; max-width: 510px; width: 100%; margin-left: auto; }
  .hero-art > img { min-height: 385px; }
  .feature-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-band { grid-template-columns: repeat(2, 1fr); }
  .city-gallery { grid-template-columns: repeat(3, 1fr); }
  .route-section .section, .planner, .split-section { grid-template-columns: 1fr; }
  .section-top { align-items: start; flex-direction: column; }
  .section-intro { max-width: 500px; }
}

@media (max-width: 560px) {
  .nav-wrap, .hero, .inner-hero, .section, .footer-wrap, .photo-band, .city-gallery { width: min(100% - 1.5rem, 1180px); }
  .brand { font-size: 1.22rem; }
  h1 { font-size: clamp(3.15rem, 16vw, 4.5rem); }
  .hero-art { min-height: 320px; }
  .hero-art > img { min-height: 320px; }
  .hero-tag { right: .8rem; bottom: .85rem; max-width: 160px; }
  .feature-grid, .guide-grid, .story-grid { grid-template-columns: 1fr; }
  .photo-band, .city-gallery { grid-template-columns: 1fr; }
  .photo-tile, .photo-tile-wide, .photo-tile-tall { min-height: 250px; }
  .feature-card, .story-card { min-height: 310px; }
  .neighborhood-row { grid-template-columns: 36px 64px 1fr 30px; gap: .7rem; }
  .neighborhood-photo { width: 64px; height: 54px; }
  .neighborhood-row p { display: none; }
  .quote-panel { grid-template-columns: 1fr; gap: .6rem; }
  .footer-wrap { align-items: start; flex-direction: column; }
  .footer-links { justify-content: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
