:root {
  --ink: #18201d;
  --muted: #60706a;
  --line: #dbe3dd;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --jade: #176b5b;
  --jade-dark: #0d4138;
  --cinnabar: #b84a33;
  --gold: #d2a84f;
  --sky: #d9e8ee;
  --shadow: 0 18px 55px rgba(25, 32, 29, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(24, 32, 29, 0.08);
  background: rgba(247, 245, 239, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--jade);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.nav a:hover {
  color: var(--jade);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(34px, 6vw, 72px) clamp(20px, 5vw, 64px) 48px;
}

.hero-copy {
  max-width: 720px;
}

.hero h1,
.page-title h1,
.city-hero h1 {
  margin: 0;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0;
}

.hero p,
.page-title p,
.city-hero-panel > p,
.intro-band p {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 760;
}

.button.primary {
  background: var(--jade);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.hero-media {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  grid-template-rows: 250px 250px;
  gap: 14px;
  min-height: 514px;
}

.hero-media a {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media a:first-child {
  grid-row: span 2;
}

.hero-media img,
.city-card img,
.city-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--jade-dark);
  font-weight: 800;
}

.intro-band,
.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  margin: 0 clamp(20px, 5vw, 64px) clamp(52px, 8vw, 96px);
  padding: clamp(26px, 5vw, 54px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

.intro-band h2,
.section-head h2,
.guide-section h2,
.split-band h2,
.phrases h2,
.basics h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-band ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.75;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px, 5vw, 64px) 20px;
}

.section-head a,
.back-link {
  color: var(--cinnabar);
  font-weight: 800;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 64px) clamp(56px, 8vw, 104px);
}

.city-card {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(24, 32, 29, 0.08);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(25, 32, 29, 0.08);
}

.city-card a {
  display: grid;
  grid-template-rows: 210px 1fr;
  height: 100%;
}

.city-card div {
  padding: 18px;
}

.city-card span {
  color: var(--cinnabar);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.city-card h3 {
  margin: 8px 0;
  font-size: 24px;
}

.city-card small,
.food-item small {
  color: var(--muted);
  font-size: 0.7em;
  font-weight: 600;
}

.city-card p,
.guide-section p,
.faq p,
.basics p,
.food-item p,
.phrase span,
.food-row p {
  color: var(--muted);
  line-height: 1.62;
}

.page-title {
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 64px) clamp(28px, 5vw, 56px);
}

.page-title.narrow,
.guide-section.narrow {
  max-width: 880px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 clamp(20px, 5vw, 64px) 28px;
}

.filter {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 760;
}

.filter.active {
  border-color: var(--jade);
  background: var(--jade);
  color: #fff;
}

.city-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 0;
  min-height: calc(100vh - 72px);
  background: var(--jade-dark);
}

.city-hero > img {
  min-height: calc(100vh - 72px);
}

.city-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 70px);
  background: var(--paper);
}

.facts {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-weight: 760;
}

.facts dd {
  margin: 0;
  font-weight: 800;
}

.photo-credit {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  padding: clamp(48px, 7vw, 82px) clamp(20px, 5vw, 64px);
}

.guide-section,
.phrases,
.faq {
  padding: clamp(34px, 5vw, 54px) clamp(20px, 5vw, 64px);
}

.food-list {
  display: grid;
  gap: 14px;
}

.food-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.food-item h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.ad-panel {
  position: sticky;
  top: 94px;
  min-height: 280px;
  align-self: start;
  padding: 18px;
  border: 1px dashed #aebbb4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
}

.ad-panel span {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.rank-list,
.timeline,
.note-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  line-height: 1.7;
}

.note-list {
  max-width: 760px;
}

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

.phrase,
.basics article,
.faq article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.faq h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.faq h3 {
  margin: 0 0 10px;
}

.phrase p {
  margin: 0 0 12px;
  color: var(--muted);
}

.phrase strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.food-table {
  display: grid;
  gap: 10px;
  padding: 0 clamp(20px, 5vw, 64px) clamp(56px, 8vw, 104px);
}

.food-row {
  display: grid;
  grid-template-columns: 120px 190px 120px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.food-row span {
  color: var(--cinnabar);
  font-weight: 850;
}

.food-row p {
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--jade-dark);
  color: #fff;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 760;
}

@media (max-width: 980px) {
  .hero,
  .city-hero,
  .intro-band,
  .split-band,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    grid-template-rows: 210px 210px;
    min-height: 434px;
  }

  .city-grid,
  .phrase-grid,
  .basics,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-hero > img {
    min-height: 420px;
  }

  .ad-panel {
    position: static;
  }

  .food-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero h1,
  .page-title h1,
  .city-hero h1 {
    font-size: 42px;
  }

  .hero-media {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 190px);
  }

  .hero-media a:first-child {
    grid-row: auto;
  }

  .city-grid,
  .phrase-grid,
  .basics,
  .faq-list,
  .food-row {
    grid-template-columns: 1fr;
  }

  .city-hero > img {
    min-height: 320px;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
