:root {
  --ink: #1b2422;
  --muted: rgba(27, 36, 34, 0.68);
  --paper: #f4f2ea;
  --paper-2: #fffaf0;
  --line: rgba(27, 36, 34, 0.14);
  --sage: #748d74;
  --lake: #5c91a5;
  --wood: #b7773a;
  --deep: #1f302b;
  --cream: #fffaf0;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 90svh;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(18px, 3.2vw, 42px);
  background: #dfece8;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(248, 246, 236, 0.94) 0%, rgba(248, 246, 236, 0.72) 40%, rgba(248, 246, 236, 0.28) 76%),
    linear-gradient(180deg, rgba(248, 246, 236, 0.04), rgba(244, 242, 234, 0.66)),
    url("./assets/hero-morning.jpg");
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8rem;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--paper));
}

.nav {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.wordmark,
.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  font-weight: 760;
}

.wordmark {
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(31, 48, 43, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 18px 50px rgba(31, 48, 43, 0.08);
}

.nav-links a {
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(31, 48, 43, 0.72);
  font-size: 0.9rem;
}

.nav-links a:last-child {
  background: var(--deep);
  color: var(--cream);
}

.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
  padding: clamp(78px, 11vw, 148px) 0 clamp(66px, 8vw, 104px);
}

.hero-copy {
  max-width: 740px;
  min-width: 0;
}

.eyebrow,
.section-label,
.card-kicker,
.detail {
  margin: 0;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 860;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1 {
  max-width: 8ch;
  margin-top: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.3rem, 9.2vw, 8.6rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  margin-top: 26px;
  color: rgba(27, 36, 34, 0.8);
  font-size: clamp(1.24rem, 2.2vw, 1.82rem);
  line-height: 1.34;
  font-weight: 540;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 840;
}

.button.primary {
  background: var(--deep);
  color: var(--cream);
  box-shadow: 0 20px 60px rgba(31, 48, 43, 0.18);
}

.button.ghost {
  border: 1px solid rgba(31, 48, 43, 0.16);
  background: rgba(255, 250, 240, 0.62);
  color: rgba(31, 48, 43, 0.78);
}

.route-card {
  width: 100%;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(31, 48, 43, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 24px 70px rgba(31, 48, 43, 0.14);
}

.route-card h2 {
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.02;
}

.route-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin-top: 24px;
  list-style: none;
}

.route-card li {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.route-card strong {
  color: var(--wood);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-card span {
  color: rgba(27, 36, 34, 0.76);
  line-height: 1.38;
}

.morning-section,
.walk-section,
.people-section,
.closing-cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) 0;
}

.morning-grid,
.closing-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
}

.morning-grid h2,
.section-head h2,
.people-card h2,
.closing-cta h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
}

.morning-grid p,
.people-card p,
.walk-card p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
  line-height: 1.6;
}

.section-label {
  margin-bottom: 14px;
}

.walk-section {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head .eyebrow,
.people-card .eyebrow,
.closing-cta .eyebrow {
  margin-bottom: 12px;
}

.walk-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.94fr 0.94fr;
  gap: 14px;
}

.walk-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.2vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: 0 18px 55px rgba(31, 48, 43, 0.08);
}

.walk-card.feature {
  background: #21372f;
  color: var(--cream);
}

.walk-card.feature p {
  color: rgba(255, 250, 240, 0.76);
}

.date {
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--wood);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature .date {
  border-color: rgba(255, 250, 240, 0.22);
}

.walk-card h3 {
  margin-top: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.5vw, 2.62rem);
  font-weight: 500;
  line-height: 1;
}

.walk-card p {
  margin-top: 16px;
}

.detail {
  display: block;
  margin-top: 22px;
  color: color-mix(in srgb, var(--lake) 74%, var(--ink));
}

.feature .detail {
  color: #d9b170;
}

.people-section {
  padding-top: 0;
}

.people-card {
  padding: clamp(28px, 5vw, 64px);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(244, 242, 234, 0.96), rgba(244, 242, 234, 0.72)),
    url("./assets/hero-morning.jpg");
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px var(--line);
}

.people-card p:last-child {
  max-width: 760px;
  margin-top: 22px;
}

.closing-cta {
  align-items: center;
  padding-top: 0;
}

.closing-cta .button.primary {
  justify-self: end;
}

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
}

.footer a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(27, 36, 34, 0.62);
  font-size: 0.9rem;
  font-weight: 740;
}

.footer img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links a:not(:last-child) {
    display: none;
  }

  .hero-inner,
  .morning-grid,
  .closing-cta,
  .walk-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 86px;
  }

  .hero-photo {
    background-image:
      linear-gradient(90deg, rgba(248, 246, 236, 0.96) 0%, rgba(248, 246, 236, 0.82) 54%, rgba(248, 246, 236, 0.34) 100%),
      linear-gradient(180deg, rgba(248, 246, 236, 0.04), rgba(244, 242, 234, 0.66)),
      url("./assets/hero-morning.jpg");
  }

  .route-card {
    max-width: 440px;
  }

  .closing-cta .button.primary {
    justify-self: start;
  }
}

@media (max-width: 540px) {
  .hero {
    padding: 16px;
  }

  .hero-photo {
    background-position: 60% center;
  }

  .wordmark {
    font-size: 1rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(4rem, 18vw, 5.7rem);
  }

  .route-card {
    max-width: 100%;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .morning-section,
  .walk-section,
  .people-section,
  .closing-cta,
  .footer {
    width: min(100% - 28px, 1180px);
  }
}
