:root {
  color-scheme: light;
  --ink: #13201b;
  --muted: #61706a;
  --paper: #f7f3ea;
  --surface: #fffdf8;
  --line: #d8d0c2;
  --accent: #1f6f8b;
  --accent-dark: #174f63;
  --green: #2f7d55;
  --shadow: 0 18px 45px rgba(44, 55, 48, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  border-bottom: 1px solid rgba(19, 32, 27, 0.1);
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar-inner {
  width: min(1120px, calc(100% - 32px));
  height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.topnav a {
  border-radius: 8px;
  padding: 8px 10px;
  text-decoration: none;
}

.topnav a:hover {
  background: rgba(31, 111, 139, 0.1);
  color: var(--accent-dark);
}

.hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1d2e2b;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 20, 18, 0.2) 0%, rgba(9, 20, 18, 0.76) 100%),
    var(--hero-image, linear-gradient(135deg, #1f6f8b, #2f7d55));
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 48px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: #c9efe3;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 64px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-head p {
  margin: 6px 0 0;
  max-width: 58ch;
  color: var(--muted);
}

.trip-group-head {
  margin-top: 30px;
  margin-bottom: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(19, 32, 27, 0.1);
}

.trip-group-head h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}

.tile {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(19, 32, 27, 0.12);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(44, 55, 48, 0.06);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tile:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 111, 139, 0.45);
  box-shadow: var(--shadow);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 24, 21, 0.08) 0%, rgba(11, 24, 21, 0.76) 100%),
    var(--tile-image, linear-gradient(135deg, #1f6f8b, #2f7d55));
  background-position: center;
  background-size: cover;
}

.tile-body {
  position: relative;
  padding: 22px;
  color: #fff;
}

.tile-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  padding: 5px 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 800;
}

.tile-title {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.tile-meta {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

.tile-description {
  margin: 10px 0 0;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.empty-tile {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px dashed rgba(19, 32, 27, 0.22);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.6);
  padding: 22px;
  color: var(--muted);
}

.empty-tile strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.25rem;
}

.crumbs {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--accent-dark);
}

@media (max-width: 720px) {
  .topbar-inner {
    height: auto;
    min-height: 58px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
    gap: 6px;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 2px;
  }

  .topnav a {
    padding-left: 0;
  }

  .hero {
    min-height: 50vh;
  }

  .section-head {
    display: block;
  }
}
