:root {
  --bg: #f6f2ea;
  --bg-soft: #fbf8f2;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --line: rgba(73, 93, 111, 0.16);
  --text: #20303d;
  --muted: #62707a;
  --accent: #4d718a;
  --accent-soft: #d9e4ea;
  --sand: #dfd2be;
  --shadow: 0 22px 60px rgba(47, 64, 79, 0.08);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 228, 234, 0.9), transparent 34rem),
    linear-gradient(180deg, #fbf8f2 0%, #f4efe6 44%, #f8f4ed 100%);
}

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

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(246, 242, 234, 0.78);
  border-bottom: 1px solid rgba(73, 93, 111, 0.08);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-inner {
  min-height: 78px;
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(77, 113, 138, 0.26);
  border-radius: 50%;
  background:
    linear-gradient(140deg, rgba(77, 113, 138, 0.06), rgba(77, 113, 138, 0)),
    linear-gradient(180deg, transparent 0 32%, rgba(77, 113, 138, 0.72) 33% 44%, transparent 45%),
    radial-gradient(circle at 62% 35%, rgba(223, 210, 190, 0.96), transparent 26%);
}

.site-nav {
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.hero-link:hover,
.hero-link:focus-visible {
  color: var(--accent);
}

.hero {
  padding: clamp(38px, 6vw, 72px) 0 clamp(64px, 9vw, 96px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

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

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.95;
}

.hero-subtitle {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.1vw, 1.4rem);
  line-height: 1.65;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(77, 113, 138, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 600;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.hero-link:hover,
.hero-link:focus-visible {
  border-color: rgba(77, 113, 138, 0.42);
  transform: translateY(-1px);
}

.hero-media {
  margin: 0;
}

.hero-media img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(60px, 8vw, 92px) 0;
  scroll-margin-top: 92px;
}

.section-soft {
  background: rgba(255, 255, 255, 0.34);
  border-top: 1px solid rgba(73, 93, 111, 0.08);
  border-bottom: 1px solid rgba(73, 93, 111, 0.08);
}

.section-river {
  border-top: 1px solid rgba(73, 93, 111, 0.08);
}

.split-section,
.section-heading {
  display: grid;
  gap: 18px;
}

.split-section {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  align-items: start;
}

.section-heading {
  max-width: 700px;
}

.section-heading-wide {
  margin-bottom: 30px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
}

.section-copy,
.city-card p,
.feature-item p,
.note-item p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.card-grid,
.feature-grid,
.notes-list {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.notes-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.city-card,
.feature-item,
.note-item {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.card-tag {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.feature-item {
  background:
    linear-gradient(180deg, rgba(217, 228, 234, 0.32), rgba(255, 255, 255, 0.86)),
    var(--surface);
}

.note-item {
  background:
    linear-gradient(180deg, rgba(223, 210, 190, 0.18), rgba(255, 255, 255, 0.88)),
    var(--surface);
}

.site-footer {
  padding: 26px 0 34px;
  border-top: 1px solid rgba(73, 93, 111, 0.08);
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .hero-grid,
  .split-section,
  .card-grid,
  .feature-grid,
  .notes-list {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100%, calc(100% - 28px));
  }

  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner {
    padding: 16px 0;
  }

  .site-nav {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-link {
    width: 100%;
    justify-content: center;
  }

  .city-card,
  .feature-item,
  .note-item {
    padding: 20px;
  }
}
