:root {
  color-scheme: light;
  --ink: #1d2a2e;
  --muted: #637176;
  --paper: #fbfaf6;
  --cloud: #eef2ee;
  --sage: #6d8a72;
  --moss: #315447;
  --coral: #d66f55;
  --gold: #c89b45;
  --line: rgba(29, 42, 46, 0.13);
  --shadow: 0 18px 50px rgba(29, 42, 46, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 92px;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(13, 25, 27, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

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

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.nav {
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(18px, 5vw, 72px) 86px;
  color: #fff;
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 24, 25, 0.78), rgba(12, 24, 25, 0.32), rgba(12, 24, 25, 0.12)),
    url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=2200&q=84") center/cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

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

.hero .eyebrow {
  color: #ffd29b;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.6rem, 17vw, 12rem);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 2vw, 1.28rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.quick-bar,
.section,
.post-grid,
.newsletter,
.site-footer {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

.quick-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: -42px;
  position: relative;
  z-index: 2;
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-bar article {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 20px;
  background: #fff;
}

.metric {
  color: var(--moss);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.section {
  padding: 86px 0 28px;
}

.intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
}

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

.filter {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.post-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.post {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 180ms ease, opacity 180ms ease;
}

.post:hover {
  transform: translateY(-3px);
}

.post.hidden {
  display: none;
}

.post.feature {
  grid-row: span 3;
}

.post img {
  height: 230px;
  object-fit: cover;
}

.post.feature img {
  height: 540px;
}

.post-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.post-body p {
  margin: 0;
  color: var(--muted);
}

.post-body a {
  color: var(--moss);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.tag {
  color: var(--coral) !important;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.split p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
}

.route-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: route;
}

.route-list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: var(--cloud);
  counter-increment: route;
}

.route-list span {
  color: var(--moss);
  font-weight: 900;
}

.notes {
  padding-top: 64px;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.note-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.note-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 32px;
  align-items: center;
  margin-top: 58px;
  padding: 34px;
  border-radius: 8px;
  background: var(--moss);
  color: #fff;
}

.newsletter .eyebrow {
  color: #ffd29b;
}

.newsletter h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
}

input {
  flex: 1 1 210px;
  min-height: 46px;
  min-width: 0;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
}

.form-message {
  min-height: 24px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 36px 0;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    gap: 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 86vh;
    padding-bottom: 70px;
  }

  .quick-bar,
  .post-grid,
  .split,
  .note-grid,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .intro,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .post.feature {
    grid-row: auto;
  }

  .post.feature img,
  .post img {
    height: 280px;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
    padding: 14px 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 82vh;
  }

  .quick-bar article {
    min-height: 88px;
  }

  .route-list li {
    grid-template-columns: 1fr;
  }

  .newsletter {
    padding: 24px;
  }

  .button,
  input {
    width: 100%;
  }
}
