:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #52615b;
  --paper: #f4f7f4;
  --white: #ffffff;
  --forest: #153d30;
  --moss: #6f8c65;
  --line: #cfd8d2;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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;
}
a { color: inherit; }

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(calc(100% - 40px), var(--content));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

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

.brand-mark {
  width: 18px;
  height: 24px;
  display: block;
  background: currentColor;
  clip-path: polygon(50% 0, 72% 34%, 60% 34%, 82% 70%, 61% 70%, 61% 100%, 39% 100%, 39% 70%, 18% 70%, 40% 34%, 28% 34%);
}

nav { display: flex; align-items: center; gap: 24px; }
nav a { font-size: 0.9rem; font-weight: 650; text-decoration: none; }
nav a:hover,
nav a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }

.hero {
  position: relative;
  min-height: min(780px, 88vh);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: var(--forest);
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: center 56%; }
.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 23, 20, 0.78) 0%, rgba(7, 23, 20, 0.28) 54%, rgba(7, 23, 20, 0.06) 100%);
}

.hero-content {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 150px 0 84px;
}

.eyebrow,
.index {
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 8vw, 7rem);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: 0;
}
.hero-content > p:not(.eyebrow) { max-width: 570px; margin: 28px 0 24px; font-size: 1.12rem; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; text-underline-offset: 5px; }

.intro,
.closing {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 104px 0;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

.intro h2,
.facts h2,
.closing h2,
.landscape h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}
.intro h2,
.facts h2,
.closing h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); }
.intro > p,
.closing > p { max-width: 620px; margin: 6px 0 0; color: var(--muted); font-size: 1.08rem; }

.landscape-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--white);
  border-top: 1px solid var(--line);
}
.landscape { min-width: 0; border-bottom: 1px solid var(--line); }
.landscape:nth-child(odd) { border-right: 1px solid var(--line); }
.landscape-image {
  aspect-ratio: 16 / 9;
  background-image: url("/assets/northern-landscape.webp");
  background-repeat: no-repeat;
  background-size: 165%;
}
.landscape-forest .landscape-image { background-position: 12% 62%; }
.landscape-lake .landscape-image { background-position: 55% 96%; }
.landscape-mountain .landscape-image { background-position: 56% 60%; }
.landscape-aurora .landscape-image { background-position: 84% 8%; }
.landscape-copy { min-height: 250px; padding: clamp(28px, 5vw, 64px); }
.landscape .index { color: var(--moss); }
.landscape h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.landscape-copy > p:last-child { max-width: 520px; margin: 18px 0 0; color: var(--muted); }

.facts {
  padding: 112px max(20px, calc((100% - var(--content)) / 2));
  background: var(--forest);
  color: var(--white);
}
.facts-heading { max-width: 720px; margin-bottom: 70px; }
.facts dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}
.facts dl > div { padding: 30px 32px 12px 0; }
.facts dl > div + div { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, 0.35); }
.facts dt { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.facts dd { margin: 12px 0 0; color: rgba(255, 255, 255, 0.78); }

.closing { border-bottom: 1px solid var(--line); }
footer {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}
footer p { margin: 0; }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid #9fe0bf; outline-offset: 4px; }

.error-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
}
.error-media,
.error-media img,
.error-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.error-media { z-index: -2; }
.error-media img { object-fit: cover; }
.error-shade { z-index: -1; background: rgba(7, 23, 20, 0.68); }
.error-copy { width: min(calc(100% - 40px), 780px); margin: 0 auto; padding: 80px 0; }
.error-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}
.error-copy > p:not(.eyebrow) { margin: 22px 0; font-size: 1.08rem; }

@media (max-width: 760px) {
  .site-header { min-height: 66px; }
  nav { display: none; }
  .hero { min-height: 82vh; }
  .hero-shade { background: linear-gradient(0deg, rgba(7, 23, 20, 0.82) 0%, rgba(7, 23, 20, 0.18) 75%); }
  .hero-content { padding-bottom: 52px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 5.2rem); }
  .intro,
  .closing { padding: 76px 0; grid-template-columns: 1fr; gap: 28px; }
  .landscape-grid { grid-template-columns: 1fr; }
  .landscape:nth-child(odd) { border-right: 0; }
  .landscape-image { background-image: url("/assets/northern-landscape-960.webp"); background-size: 175%; }
  .landscape-copy { min-height: auto; }
  .facts { padding-top: 78px; padding-bottom: 78px; }
  .facts-heading { margin-bottom: 42px; }
  .facts dl { grid-template-columns: 1fr; }
  .facts dl > div,
  .facts dl > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
