:root {
  --forest: #17231c;
  --forest-soft: #26392b;
  --moss: #6f8565;
  --glow: #b9c892;
  --paper: #eee8d8;
  --paper-deep: #ddd3bd;
  --ink: #20231f;
  --muted: #6f6b60;
  --rust: #823f2e;
  --line: rgba(32, 35, 31, 0.2);
  --display: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
  --sans: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
a { color: inherit; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(22px, 5vw, 76px);
  color: var(--paper);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 18px;
  text-decoration: none;
}
.wordmark__mark {
  width: 17px;
  height: 26px;
  border: 1px solid currentColor;
  border-width: 0 1px;
  transform: skew(-13deg);
}
.status,
.eyebrow,
.work-card__state,
.caption {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.status { opacity: 0.68; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 120px clamp(24px, 8vw, 140px) 80px;
  background:
    radial-gradient(circle at 64% 32%, rgba(185, 200, 146, 0.23), transparent 18%),
    linear-gradient(112deg, #0f1914 0%, #1b2c20 48%, #26362a 100%);
  color: var(--paper);
}
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(3, 9, 6, 0.66), transparent 58%);
}
.hero__mist {
  position: absolute;
  left: 24%;
  bottom: 5%;
  width: 75%;
  height: 40%;
  border-radius: 50%;
  background: rgba(220, 225, 201, 0.09);
  filter: blur(42px);
  transform: rotate(-8deg);
}
.hero__trees { position: absolute; inset: 0; }
.hero__trees i {
  position: absolute;
  bottom: -8%;
  width: 10px;
  height: 112%;
  background: linear-gradient(90deg, #09110c, #1c2a20 60%, #0b130e);
  box-shadow: 0 0 42px rgba(0, 0, 0, 0.3);
  transform-origin: bottom;
}
.hero__trees i::before,
.hero__trees i::after {
  position: absolute;
  content: "";
  width: 180px;
  height: 44%;
  border-radius: 70% 10% 65% 10%;
  background: #101b14;
  filter: blur(1px);
}
.hero__trees i::before { top: 2%; left: -128px; transform: rotate(-20deg); }
.hero__trees i::after { top: 15%; left: 5px; transform: rotate(17deg); }
.hero__trees i:nth-child(1) { left: 4%; transform: rotate(-2deg) scale(1.25); }
.hero__trees i:nth-child(2) { left: 22%; transform: rotate(2deg) scale(0.78); opacity: 0.7; }
.hero__trees i:nth-child(3) { left: 45%; transform: rotate(-1deg) scale(1.05); opacity: 0.55; }
.hero__trees i:nth-child(4) { left: 67%; transform: rotate(2deg) scale(1.15); opacity: 0.75; }
.hero__trees i:nth-child(5) { left: 84%; transform: rotate(-3deg) scale(1.35); }
.hero__trees i:nth-child(6) { left: 94%; transform: rotate(2deg) scale(0.86); opacity: 0.7; }
.hero__trees i:nth-child(7) { left: 57%; transform: rotate(-2deg) scale(0.67); opacity: 0.45; }
.hero__copy { position: relative; z-index: 2; max-width: 760px; }
.eyebrow { color: var(--moss); margin-bottom: 26px; }
.hero .eyebrow { color: var(--glow); }
.hero h1 {
  margin-bottom: 26px;
  font-family: var(--display);
  font-size: clamp(78px, 13vw, 190px);
  font-weight: 400;
  line-height: 0.7;
  letter-spacing: -0.065em;
}
.hero h1 em { margin-left: 0.28em; color: var(--glow); font-weight: 400; }
.hero__lead {
  max-width: 590px;
  margin: 38px 0 32px;
  font-family: var(--display);
  font-size: clamp(21px, 2.4vw, 32px);
  line-height: 1.38;
}
.text-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(238, 232, 216, 0.45);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}
.hero__note {
  position: absolute;
  right: clamp(22px, 5vw, 76px);
  bottom: 28px;
  z-index: 2;
  margin: 0;
  opacity: 0.55;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.threshold,
.map-section,
.workbench,
.closing,
footer {
  padding-right: clamp(24px, 8vw, 140px);
  padding-left: clamp(24px, 8vw, 140px);
}
.threshold {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(42px, 9vw, 150px);
  padding-top: clamp(90px, 12vw, 170px);
  padding-bottom: clamp(90px, 12vw, 170px);
}
.section-number {
  position: absolute;
  top: 48px;
  left: clamp(24px, 4vw, 70px);
  color: var(--rust);
  font-family: var(--display);
  font-size: 18px;
}
h2 {
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.threshold__copy { padding-top: 74px; }
.threshold__copy p,
.map-copy > p {
  max-width: 580px;
  font-family: var(--display);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.62;
}
.threshold__copy p + p { color: var(--muted); }

.map-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  padding-top: clamp(72px, 9vw, 130px);
  padding-bottom: clamp(72px, 9vw, 130px);
  background: var(--forest);
  color: var(--paper);
}
.map-frame {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(238, 232, 216, 0.28);
  background: #101712;
}
.map-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(145deg, rgba(23, 35, 28, 0.05), rgba(23, 35, 28, 0.64));
}
.map-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 28% center;
  filter: grayscale(1) sepia(0.35) contrast(1.15) brightness(0.9);
}
.map-button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 34px;
  padding: 13px 16px;
  border: 1px solid rgba(238, 232, 216, 0.5);
  background: rgba(16, 23, 18, 0.78);
  color: var(--paper);
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.map-button:hover { background: var(--paper); color: var(--forest); }
.map-copy .eyebrow { color: var(--glow); }
.map-copy h2 { font-size: clamp(40px, 5vw, 72px); }
.map-copy > p { color: rgba(238, 232, 216, 0.78); }
.map-copy .caption { margin-top: 34px; color: rgba(238, 232, 216, 0.42); font-family: var(--sans); font-size: 9px; line-height: 1.5; }

.workbench { padding-top: clamp(90px, 11vw, 150px); padding-bottom: clamp(90px, 11vw, 150px); }
.workbench__heading { max-width: 780px; }
.workbench__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.work-card { position: relative; min-height: 320px; padding: 34px 30px 30px 0; }
.work-card + .work-card { padding-left: 30px; border-left: 1px solid var(--line); }
.work-card__index { color: var(--rust); font-family: var(--display); font-size: 14px; }
.work-card h3 { margin: 68px 0 18px; font-family: var(--display); font-size: 36px; font-weight: 400; }
.work-card p { max-width: 310px; color: var(--muted); font-family: var(--display); font-size: 18px; line-height: 1.55; }
.work-card__state { position: absolute; bottom: 30px; left: 0; color: var(--moss); }
.work-card + .work-card .work-card__state { left: 30px; }

.closing {
  position: relative;
  min-height: 76vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--paper-deep);
  text-align: center;
}
.closing__ring {
  position: absolute;
  width: min(72vw, 780px);
  aspect-ratio: 1;
  border: 1px solid rgba(130, 63, 46, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(130, 63, 46, 0.03), 0 0 0 16vw rgba(130, 63, 46, 0.025);
}
.closing__copy { position: relative; max-width: 900px; padding: 90px 0; }
.closing__quote { margin-bottom: 36px; font-family: var(--display); font-size: clamp(38px, 6vw, 80px); line-height: 1.08; }
.closing__small { max-width: 570px; margin: 0 auto; color: var(--muted); line-height: 1.65; }

footer {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 26px;
  background: var(--forest);
  color: rgba(238, 232, 216, 0.72);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
footer a { text-underline-offset: 4px; }

.map-dialog {
  width: min(1200px, calc(100vw - 36px));
  max-width: none;
  height: min(780px, calc(100vh - 36px));
  padding: 0;
  border: 1px solid rgba(238, 232, 216, 0.35);
  background: var(--forest);
  color: var(--paper);
}
.map-dialog::backdrop { background: rgba(5, 10, 7, 0.84); backdrop-filter: blur(8px); }
.map-dialog__bar { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; }
.map-dialog__bar .eyebrow { margin: 0 0 4px; color: var(--glow); }
.map-dialog__bar h2 { margin: 0; font-size: 34px; }
.map-dialog__bar button { width: 44px; height: 44px; border: 1px solid rgba(238, 232, 216, 0.35); border-radius: 50%; background: transparent; color: var(--paper); cursor: pointer; font-size: 28px; }
.map-dialog__canvas { height: calc(100% - 98px); overflow: auto; background: #0c120e; }
.map-dialog__canvas img { width: max(100%, 1400px); max-width: none; min-height: 100%; object-fit: contain; filter: grayscale(0.35) sepia(0.18) brightness(0.86); }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms ease, transform 800ms ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

button:focus-visible,
a:focus-visible { outline: 3px solid var(--glow); outline-offset: 4px; }

@media (max-width: 860px) {
  .status { display: none; }
  .hero h1 { font-size: clamp(72px, 22vw, 130px); }
  .threshold,
  .map-section { grid-template-columns: 1fr; }
  .threshold__copy { padding-top: 0; }
  .map-copy { order: -1; }
  .workbench__grid { grid-template-columns: 1fr; }
  .work-card { min-height: 250px; padding-left: 0 !important; }
  .work-card + .work-card { border-top: 1px solid var(--line); border-left: 0; }
  .work-card + .work-card .work-card__state { left: 0; }
}

@media (max-width: 540px) {
  .site-header { padding-top: 20px; }
  .hero { min-height: 92svh; padding-top: 106px; }
  .hero h1 { font-size: 23vw; line-height: 0.76; }
  .hero h1 em { margin-left: 0.12em; }
  .hero__lead { margin-top: 28px; font-size: 21px; }
  .hero__note { display: none; }
  .map-frame,
  .map-frame img { min-height: 330px; }
  footer { gap: 18px; align-items: flex-start; flex-direction: column; }
}

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

