:root {
  --ink: #132024;
  --muted: #5c686a;
  --line: #d7dfdd;
  --field: #f5f8f6;
  --paper: #ffffff;
  --water: #12606b;
  --water-dark: #0c434b;
  --reed: #6f8b45;
  --gold: #c79b45;
  --coral: #c26045;
  --sky: #ddecf0;
  --shadow: 0 18px 45px rgba(19, 32, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--field);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 64px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(245, 248, 246, 0.92);
  border-bottom: 1px solid rgba(19, 32, 36, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--water);
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 730;
  text-decoration: none;
}

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

.language-menu {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.language-menu select,
.language-menu .goog-te-combo {
  min-height: 36px;
  max-width: 178px;
  margin: 0;
  padding: 0 30px 0 10px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
}

.language-menu .goog-te-gadget {
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 20, 24, 0.86), rgba(5, 20, 24, 0.5) 48%, rgba(5, 20, 24, 0.16)),
    linear-gradient(0deg, rgba(5, 20, 24, 0.58), rgba(5, 20, 24, 0.04) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 9vh 0 13vh;
  color: white;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(50px, 9vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  width: min(790px, 100%);
  margin: 24px 0 28px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-search {
  width: min(790px, 100%);
}

.hero-search label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 850;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.hero-search-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 750;
}

input,
button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
}

input {
  width: 100%;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  outline: none;
}

input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 155, 69, 0.28);
}

button {
  padding: 0 18px;
  color: white;
  background: var(--water);
  font-weight: 850;
  cursor: pointer;
}

button:hover {
  background: var(--water-dark);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-band div {
  display: grid;
  gap: 4px;
  padding: 22px clamp(18px, 4vw, 54px);
  background: var(--paper);
}

.stats-band strong {
  font-size: 30px;
  line-height: 1;
}

.stats-band span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.tool-shell,
.visuals,
.styles,
.tours,
.planning {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(280px, 1fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.image-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 14px;
}

.image-card {
  overflow: hidden;
  min-height: 280px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.image-card:first-child {
  grid-row: span 2;
}

.image-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #dce6e3;
}

.image-card:first-child img {
  height: 542px;
}

.image-caption {
  display: grid;
  gap: 5px;
  padding: 14px;
}

.image-caption strong {
  font-size: 15px;
}

.image-caption span,
.image-caption a {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.filter-group > span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 36px;
  padding: 0 12px;
  color: var(--water-dark);
  background: #edf4f2;
  border: 1px solid #dbe7e4;
  font-size: 13px;
  font-weight: 850;
}

.chip[aria-pressed="true"] {
  color: white;
  background: var(--water);
  border-color: var(--water);
}

.results-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

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

.spot-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 390px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.spot-card:hover {
  border-color: rgba(18, 96, 107, 0.45);
  box-shadow: 0 12px 28px rgba(19, 32, 36, 0.1);
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.rank {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: var(--water-dark);
  border-radius: 8px;
  font-weight: 900;
}

.style-pill {
  height: fit-content;
  padding: 6px 8px;
  color: var(--water-dark);
  background: var(--sky);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.style-pill.big-game {
  color: #7b341d;
  background: #f8dfd4;
}

.style-pill.trout {
  color: #36541c;
  background: #e4efda;
}

.spot-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.15;
}

.place,
.airport,
.airport-secondary,
.drive-note,
.season,
.guide-note,
.why {
  margin: 0;
  line-height: 1.45;
}

.place {
  color: var(--muted);
  font-weight: 750;
}

.airport {
  margin-top: 14px;
  font-weight: 850;
}

.airport-secondary {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 780;
}

.drive-note {
  margin-top: 6px;
  color: #4d5a54;
  font-size: 14px;
}

.season,
.guide-note,
.why {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.guide-note {
  color: var(--water-dark);
  font-weight: 840;
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.card-actions a {
  display: grid;
  min-height: 38px;
  place-items: center;
  padding: 8px;
  color: var(--water-dark);
  background: #edf4f2;
  border: 1px solid #dbe7e4;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.card-actions a:hover {
  color: white;
  background: var(--water);
  border-color: var(--water);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tags span {
  padding: 5px 8px;
  color: #395053;
  background: #edf1f0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.style-grid,
.tour-grid,
.planning-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.style-card,
.tour-card,
.planning-grid article {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.style-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.style-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.style-source-row {
  display: flex;
  gap: 10px;
  min-height: 16px;
  margin: -8px 0 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.style-source-row a {
  color: var(--water-dark);
}

.style-card h3,
.tour-card h3,
.planning-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.style-card p,
.tour-card p,
.planning-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.tour-card ul {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.tour-card strong,
.style-card strong {
  display: block;
  margin-top: 14px;
  color: var(--water-dark);
  font-size: 14px;
}

.source-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: center;
  padding: 28px 18px 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer span {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .spot-grid,
  .style-grid,
  .tour-grid,
  .planning-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .stats-band,
  .image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head,
  .controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero {
    min-height: calc(100vh - 112px);
  }

  .hero-content {
    width: min(100% - 28px, 980px);
    padding-bottom: 10vh;
  }

  .search-row,
  .stats-band,
  .image-grid,
  .spot-grid,
  .style-grid,
  .tour-grid,
  .planning-grid {
    grid-template-columns: 1fr;
  }

  .stats-band div {
    padding: 18px;
  }

  .tool-shell,
  .visuals,
  .styles,
  .tours,
  .planning {
    width: min(100% - 28px, 1240px);
    padding: 52px 0;
  }

  .image-card:first-child {
    grid-row: auto;
  }

  .image-card img,
  .image-card:first-child img {
    height: 240px;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }
}
