:root {
  --bg: #ececec;
  --olive: #84934a;
  --olive-deep: #656d3f;
  --earth: #492828;
  --text: #1e1e1e;
  --white: #ffffff;
  --font-display: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --radius-sm: 0.4rem;
  --radius-md: 0.8rem;
  --radius-lg: 1.4rem;
  --shadow-soft: 0 0.6rem 1.5rem rgba(73, 40, 40, 0.14);
  --shadow-deep: 0 1rem 2rem rgba(73, 40, 40, 0.22);
  --transition-fast: 220ms ease;
  --transition-mid: 380ms cubic-bezier(0.22, 1, 0.36, 1);
  --content-max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text);
  background: radial-gradient(circle at 8% 12%, rgba(132, 147, 74, 0.24), transparent 38%),
    radial-gradient(circle at 90% 15%, rgba(73, 40, 40, 0.2), transparent 40%), var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

.shell-frame {
  width: min(92%, var(--content-max));
  margin: 0 auto;
}

.site-header {
  width: 100%;
  position: relative;
  z-index: 30;
  border-bottom: 0.06rem solid rgba(132, 147, 74, 0.35);
  background: rgba(236, 236, 236, 0.95);
}

.site-bar {
  width: min(94%, var(--content-max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  gap: var(--space-sm);
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--earth);
}

.menu-toggle {
  background: var(--olive-deep);
  color: var(--white);
  border: 0;
  border-radius: 999rem;
  width: 2.35rem;
  height: 2.35rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.trail-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.trail-nav a {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 999rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.trail-nav a:hover,
.trail-nav a:focus-visible {
  background: var(--olive-deep);
  color: var(--white);
}

.hero-canvas-wrap {
  position: relative;
  min-height: 94svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

#terrainCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-layer {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
  text-align: center;
}

.eyebrow-note {
  display: inline-flex;
  gap: var(--space-xs);
  align-items: center;
  background: rgba(255, 255, 255, 0.74);
  border-radius: 999rem;
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.78rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  margin: 0 0 var(--space-sm);
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.6rem, 4.8vw, 2rem);
  max-width: 16ch;
  margin-inline: auto;
}

h2 {
  font-size: clamp(1rem, 3.5vw, 1.75rem);
}
.hero-copy {
  max-width: 52ch;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
}

.split-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.tiny-button {
  border: 0;
  cursor: pointer;
  border-radius: 999rem;
  padding: 0.62rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.tiny-button:hover,
.tiny-button:focus-visible {
  transform: translateY(-0.1rem);
  box-shadow: var(--shadow-soft);
}

.tiny-button.main-tone {
  background: var(--olive-deep);
  color: var(--white);
}

.tiny-button.soft-tone {
  background: var(--white);
  color: var(--earth);
}

.panel-block {
  padding: var(--space-2xl) 0;
}

.duo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.card-piece {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
}

.image-stack {
  position: relative;
  min-height: 22rem;
}

.image-stack img {
  position: absolute;
  box-shadow: var(--shadow-soft);
}

.image-stack img:nth-child(1) {
  width: 64%;
  left: 0;
  top: 0;
}

.image-stack img:nth-child(2) {
  width: 54%;
  right: 4%;
  top: 38%;
}

.flow-section {
  position: relative;
  width: min(94%, var(--content-max));
  margin: 0 auto var(--space-xl);
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.flow-section.slant {
  transform: rotate(-1.2deg);
}

.flow-section.shift {
  margin-left: auto;
  margin-right: 2%;
  width: min(89%, var(--content-max));
}

.flow-section.rise {
  margin-left: 2%;
  margin-right: auto;
  width: min(87%, var(--content-max));
}

.tri-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.mini-tile {
  background: var(--white);
  border: 0.06rem solid rgba(132, 147, 74, 0.35);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.contact-shell {
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(101, 109, 63, 0.95), rgba(73, 40, 40, 0.95));
  color: var(--white);
  padding: var(--space-xl);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-lg);
}

.compact-form {
  display: grid;
  gap: var(--space-sm);
}

.compact-form input,
.compact-form textarea {
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.8rem;
  font: inherit;
}

.compact-form textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.agree-row {
  display: flex;
  gap: var(--space-xs);
  align-items: start;
  font-size: 0.8rem;
}

.map-wrap iframe {
  border: 0;
  width: 100%;
  min-height: 14rem;
  border-radius: var(--radius-md);
}

.mini-footer {
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
  font-size: 0.78rem;
}

.mini-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.privacy-pop {
  position: fixed;
  inset: auto var(--space-md) var(--space-md) auto;
  width: min(22rem, 92vw);
  background: var(--white);
  border: 0.06rem solid rgba(132, 147, 74, 0.45);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-deep);
  padding: var(--space-md);
  z-index: 50;
  display: none;
}

.privacy-pop.show {
  display: block;
}

.privacy-pop .split-actions {
  justify-content: flex-start;
  margin-top: var(--space-sm);
}

.doc-shell {
  padding-top: 2rem;
}

.doc-shell section {
  margin-bottom: var(--space-lg);
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.thin-hero {
  padding-top: 2rem;
  padding-bottom: var(--space-xl);
}

@media (max-width: 75rem) {
  .shell-frame {
    width: min(94%, var(--content-max));
  }
  .hero-copy {
    max-width: 50ch;
  }
}

@media (max-width: 62rem) {
  .duo-layout,
  .contact-shell {
    grid-template-columns: 1fr;
  }
  .image-stack {
    min-height: 19rem;
  }
  .tri-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 52rem) {
  .flow-section.shift,
  .flow-section.rise {
    width: min(94%, var(--content-max));
    margin-left: auto;
    margin-right: auto;
  }
  .flow-section.slant {
    transform: rotate(-0.6deg);
  }
}

@media (max-width: 48rem) {
  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 120;
  }
  .trail-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(236, 236, 236, 0.98);
    backdrop-filter: blur(0.4rem);
    z-index: 110;
    display: none;
    padding: var(--space-xl);
  }
  .trail-nav.is-open {
    display: flex;
  }
  .trail-nav a {
    width: min(22rem, 100%);
    text-align: center;
    border: 0.06rem solid rgba(132, 147, 74, 0.45);
    background: rgba(255, 255, 255, 0.85);
    padding: 0.95rem var(--space-sm);
    font-size: 0.95rem;
  }
  .image-stack {
    min-height: 17rem;
  }
  .tri-cards {
    grid-template-columns: 1fr;
  }
  .hero-layer {
    padding-top: 5.5rem;
  }
  .hero-copy {
    max-width: 100%;
  }
}

@media (max-width: 36rem) {
  .site-logo {
    font-size: 0.92rem;
  }
  .site-bar {
    width: 96%;
    padding-inline: 0.6rem;
  }
  .trail-nav {
    padding: var(--space-lg);
  }
  .split-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .tiny-button {
    width: 100%;
    text-align: center;
  }
  .hero-canvas-wrap {
    min-height: 88svh;
  }
  .eyebrow-note {
    font-size: 0.72rem;
  }
  .map-wrap iframe {
    min-height: 12rem;
  }
}

@media (max-width: 30rem) {
  .shell-frame {
    width: min(95.5%, var(--content-max));
  }
  body {
    font-size: 0.91rem;
  }
  h1 {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }
  .hero-copy,
  .card-piece,
  .flow-section,
  .contact-shell,
  .doc-shell section {
    padding: var(--space-md);
  }
  .panel-block {
    padding: var(--space-xl) 0;
  }
  .flow-section {
    margin-bottom: var(--space-lg);
  }
  .privacy-pop {
    inset: auto 0.5rem 0.5rem 0.5rem;
    width: auto;
  }
}

@media (max-width: 25rem) {
  body {
    font-size: 0.9rem;
  }
  .site-bar {
    padding: 0.55rem 0.7rem;
  }
  .site-logo {
    font-size: 0.83rem;
    letter-spacing: 0.02em;
  }
  .menu-toggle {
    width: 2.1rem;
    height: 2.1rem;
  }
  .trail-nav {
    padding: var(--space-md);
  }
  .trail-nav a {
    font-size: 0.82rem;
    padding: 0.78rem 0.6rem;
  }
  .hero-layer {
    padding-top: 5.1rem;
  }
  .eyebrow-note {
    padding: 0.35rem 0.52rem;
  }
  .tiny-button {
    font-size: 0.76rem;
    padding: 0.56rem 0.74rem;
  }
  .agree-row {
    font-size: 0.74rem;
  }
  .mini-footer {
    font-size: 0.72rem;
  }
}

@media (max-width: 20rem) {
  html {
    font-size: 96%;
  }
  .shell-frame {
    width: 96%;
  }
  .flow-section,
  .card-piece,
  .contact-shell,
  .doc-shell section,
  .hero-copy {
    border-radius: var(--radius-md);
    padding: 0.78rem;
  }
  .hero-canvas-wrap {
    min-height: 84svh;
  }
  .map-wrap iframe {
    min-height: 10.4rem;
  }
  .privacy-pop {
    padding: 0.78rem;
  }
}
