:root {
  --paper: #eef0eb;
  --paper-strong: #e3e7df;
  --ink: #17211f;
  --muted: #5c6864;
  --line: #c8cec7;
  --accent: #315c55;
  --light: #f8faf7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.shell {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--light);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(238, 240, 235, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 16px;
  display: inline-block;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: skewX(-28deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 680px;
  height: calc(100svh - 72px);
  max-height: 860px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero > img,
.hero-tint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img {
  z-index: -2;
  object-fit: cover;
  object-position: 52% center;
  animation: reveal-photo 900ms ease-out both;
}

.hero-tint {
  z-index: -1;
  background: rgba(7, 17, 20, 0.28);
}

.hero-copy {
  height: 100%;
  padding-block: 90px 76px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  animation: reveal-copy 700ms 120ms ease-out both;
}

.eyebrow,
.section-label {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 400;
  line-height: 0.98;
}

.hero-text {
  max-width: 580px;
  margin: 28px 0 0;
  font-size: 20px;
  line-height: 1.5;
}

.hero-meta {
  margin: 36px 0 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro {
  padding-block: 120px 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 80px;
  align-items: end;
}

.section-label {
  color: var(--accent);
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 400;
  line-height: 1.08;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.notes-grid {
  padding-bottom: 120px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.note {
  min-height: 260px;
  padding: 34px 34px 34px 0;
  border-right: 1px solid var(--line);
}

.note + .note {
  padding-left: 34px;
}

.note:last-child {
  border-right: 0;
}

.note > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.note h3 {
  margin: 54px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

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

.route {
  padding-block: 92px;
  background: var(--ink);
  color: var(--light);
}

.route .section-label {
  color: #9eb9b2;
}

.route-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 100px;
  align-items: end;
}

.route-facts {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.route-facts p {
  margin: 0;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.route-facts strong {
  font-size: 18px;
}

.route-facts span {
  color: #b7c0bd;
  text-align: right;
}

.about {
  max-width: 920px;
  padding-block: 120px;
}

.about p:last-child {
  max-width: 680px;
  margin: 36px 0 0 auto;
  color: var(--muted);
  font-size: 19px;
}

.site-footer {
  padding-block: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-content {
  flex: 1;
  padding-block: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.error-code {
  margin: 0 0 28px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.error-content h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 400;
  line-height: 1;
}

.error-content > p:not(.error-code) {
  max-width: 520px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.home-link {
  margin-top: 42px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
  text-decoration: none;
}

@keyframes reveal-photo {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes reveal-copy {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 32px, 620px);
  }

  .header-row {
    min-height: 64px;
  }

  .brand {
    font-size: 14px;
  }

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

  .nav a:last-child {
    display: none;
  }

  .hero {
    min-height: 600px;
    height: calc(100svh - 64px);
  }

  .hero > img {
    object-position: 58% center;
  }

  .hero-copy {
    padding-block: 64px 48px;
  }

  .hero h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .hero-text {
    max-width: 440px;
    font-size: 17px;
  }

  .intro,
  .route-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .intro {
    padding-block: 82px 58px;
  }

  .notes-grid {
    grid-template-columns: 1fr;
    padding-bottom: 82px;
  }

  .note,
  .note + .note {
    min-height: 0;
    padding: 28px 0 32px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .note h3 {
    margin-top: 24px;
  }

  .route {
    padding-block: 72px;
  }

  .about {
    padding-block: 82px;
  }

  .about p:last-child {
    margin-left: 0;
  }

  .footer-row {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 430px) {
  .nav a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-meta {
    margin-top: 28px;
    font-size: 11px;
  }

  h2 {
    font-size: 36px;
  }

  .route-facts p {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .route-facts span {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero > img,
  .hero-copy {
    animation: none;
  }
}
