/* ============================================================
   Odeno — Place of Many Hearts
   Dreamlike, elegant, Anishinaabe-rooted
   Palette: deep forest, copper, cream, warm white
   Fonts: Fraunces (display serif), Satoshi (sans body)
   ============================================================ */

:root {
  /* ---- Palette ---- */
  --ink: #1B1A17;             /* near-black, slightly warm */
  --ink-soft: #2F2C26;
  --ink-mute: #6B665B;
  --paper: #F4EFE5;           /* warm cream */
  --paper-deep: #ECE5D6;
  --paper-soft: #FAF6EE;
  --line: #D6CDB8;
  --line-soft: #E5DDCC;

  --forest: #1E3A2E;          /* deep forest green */
  --forest-deep: #142822;
  --moss: #4F6B4C;
  --sage: #8AA088;

  --copper: #B25D2E;          /* warm copper accent — used sparingly */
  --copper-deep: #8C4520;
  --copper-soft: #D78A5C;
  --gold: #C28B3D;

  /* ---- Type ---- */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:  "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ---- Layout ---- */
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-pad: clamp(72px, 10vw, 140px);

  /* ---- Motion ---- */
  --ease: cubic-bezier(.2, .65, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

::selection { background: var(--copper); color: var(--paper-soft); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(34px, 6vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 .8em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.display em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--forest);
}
.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 28px;
  padding-left: 28px;
  position: relative;
}
.kicker::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 1px;
  background: var(--copper);
}
.lead {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 1.2em;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all .35s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--solid {
  background: var(--forest);
  color: var(--paper-soft);
}
.btn--solid:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -10px rgba(20, 40, 34, .5);
}
.btn--ghost {
  background: transparent;
  color: var(--paper-soft);
  border-color: rgba(244, 239, 229, .35);
}
.btn--ghost:hover {
  background: rgba(244, 239, 229, .08);
  border-color: rgba(244, 239, 229, .65);
}
.btn--lg { padding: 18px 36px; font-size: 15px; }

/* ============================================================
   TOP RIBBON + NAV
   ============================================================ */
.ribbon {
  background: var(--forest-deep);
  color: var(--paper-deep);
  font-size: 13px;
  border-bottom: 1px solid rgba(244, 239, 229, .08);
}
.ribbon__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.ribbon__phrase { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ribbon__phrase em {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  color: var(--paper-soft);
  letter-spacing: 0.01em;
}
.ribbon__pronounce {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-soft);
}
.ribbon__divider { color: rgba(244,239,229, .35); }
.ribbon__meaning {
  font-style: italic;
  color: rgba(244, 239, 229, .8);
}
.ribbon__contact {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.ribbon__contact:hover { color: var(--copper-soft); }

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244, 239, 229, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--forest);
}
.nav__wordmark {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex; gap: 36px;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.nav__links a {
  padding: 8px 0;
  color: var(--ink-soft);
  position: relative;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 4px;
  width: 0; height: 1px; background: var(--copper);
  transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--forest); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  padding: 11px 22px; border-radius: 999px;
  background: var(--forest); color: var(--paper-soft);
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  transition: background .35s var(--ease);
}
.nav__cta:hover { background: var(--forest-deep); }
.nav__menu {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 8px;
}
.nav__menu span {
  width: 22px; height: 1.5px; background: var(--ink); display: block;
  transition: transform .3s var(--ease);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
  color: var(--paper-soft);
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: scale(1.04);
  animation: heroDrift 30s var(--ease) infinite alternate;
}
/* Illustrated scene hero — no drift, no dark veil, centered content */
.hero__bg--scene {
  animation: none;
  transform: none;
  object-position: center top;
}
.hero__content--center {
  text-align: center;
  padding-top: 72px !important;
  padding-bottom: 96px !important;
}
.hero__content--center .hero__eyebrow {
  color: var(--forest);
  opacity: 0.85;
  margin-bottom: 18px;
}
.hero__content--center .hero__lede {
  color: var(--ink);
  opacity: 0.9;
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
  text-shadow: none;
  margin-top: clamp(280px, 42vw, 520px);
}
.hero__content--center .hero__cta {
  justify-content: center;
}
.hero__title--sr {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate(0, 0); }
  to   { transform: scale(1.08) translate(-1.5%, -1%); }
}
.hero__veil {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(20,40,34,.72) 0%, rgba(20,40,34,.45) 45%, rgba(20,40,34,.15) 75%, rgba(20,40,34,.05) 100%),
    linear-gradient(180deg, rgba(20,40,34,.35) 0%, rgba(20,40,34,.15) 40%, rgba(20,40,34,.55) 100%);
}
.hero__content {
  position: relative; z-index: 3;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 120px var(--gutter) 120px;
}
.hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 0 32px;
  font-weight: 500;
  text-shadow: 0 1px 14px rgba(0,0,0,.55);
}
.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--copper-soft);
  vertical-align: middle;
  margin-right: 14px;
  transform: translateY(-2px);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 8.2vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  max-width: 14ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero__title em {
  font-style: italic;
  color: var(--copper-soft);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

/* Typography-only hero title — quiet, editorial */
.hero__title--type {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(80px, 14vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  max-width: none;
  text-shadow: 0 2px 40px rgba(0,0,0,.45);
}
.hero__title--type em {
  font-style: italic;
  color: var(--paper);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.hero__pronounce {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin: 0 0 40px;
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.hero__pronounce span {
  color: var(--paper);
  opacity: 0.82;
  font-style: italic;
  font-family: var(--serif);
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 400;
  margin-left: 6px;
}
@media (max-width: 720px) {
  .hero__title--type { font-size: clamp(64px, 18vw, 120px); }
  .hero__pronounce { font-size: 11px; letter-spacing: 0.2em; }
  .hero__pronounce span { font-size: 13px; }
}

/* Custom SVG logotype */
.hero__logotype-title {
  margin: 12px 0 28px;
  max-width: none;
  line-height: 0;
}
.hero__logotype {
  display: block;
  width: min(760px, 82%);
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,.55));
}
.hero__logotype--badge {
  width: min(480px, 62%);
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 18px 48px rgba(0,0,0,.55));
}
@media (max-width: 720px) {
  .hero__logotype--badge { width: min(360px, 80%); }
}

/* Badge hero title — dark green squircle badge with moon, pines, and ODENO wordmark */
.hero__badge-title {
  margin: 12px 0 28px;
  max-width: none;
  line-height: 0;
  text-shadow: none;
}
.hero__badge-img {
  display: block;
  width: min(760px, 92%);
  height: auto;
  filter: drop-shadow(0 2px 14px rgba(244, 239, 229, 0.55)) drop-shadow(0 0 32px rgba(244, 239, 229, 0.35));
}
@media (max-width: 720px) {
  .hero__badge-img { width: 100%; }
}

/* Editorial layered forest title — wide composition, trees + wordmark + claw seal */
.hero__editorial-title {
  margin: 12px 0 28px;
  max-width: none;
  width: 100%;
  line-height: 0;
  text-shadow: none;
}
.hero__editorial {
  display: block;
  width: min(1180px, 96%);
  height: auto;
  filter: drop-shadow(0 18px 60px rgba(0,0,0,.55));
}
@media (max-width: 720px) {
  .hero__editorial { width: 100%; }
}

/* Hero wordmark — Odeno in forest green with tree silhouettes */
.hero__wordmark {
  max-width: none;
  width: 100%;
  margin: 0 0 28px;
  text-shadow: none;
  line-height: 1;
}
.hero__wordmark .wordmark-svg {
  display: block;
  width: 100%;
  max-width: 980px;
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.45));
}
@media (max-width: 720px) {
  .hero__wordmark .wordmark-svg { max-width: 100%; }
}

.hero__lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  max-width: 52ch;
  margin: 0 0 44px;
  color: var(--paper);
  text-shadow: 0 1px 20px rgba(0,0,0,.6), 0 0 40px rgba(20,40,34,.4);
}
.hero__lede em { color: var(--copper-soft); font-style: italic; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 4;
  width: 1px; height: 64px;
  overflow: hidden;
}
.hero__scroll span {
  display: block;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(244,239,229,.85) 50%, transparent 100%);
  animation: scrollLine 2.6s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ============================================================
   STORY
   ============================================================ */
.story {
  background: var(--paper);
  padding: var(--section-pad) var(--gutter);
}
.story__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.story__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
  margin: 56px 0 88px;
}
.story__text p { margin: 0 0 1.2em; color: var(--ink-soft); font-size: 17px; }
.story__text p:last-child { margin-bottom: 0; }
.story__quote {
  position: relative;
  border-left: 1px solid var(--copper);
  padding: 8px 0 8px 28px;
  margin: 0;
}
.story__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--forest);
  margin: 0;
}
.story__quote-mark {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-size: 84px;
  line-height: 1;
  top: -16px; left: -10px;
  color: var(--copper);
  opacity: .25;
}

.story__pillars {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story__pillars li {
  background: var(--paper);
  padding: 36px 28px;
}
.pillar__num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  color: var(--forest);
  margin-bottom: 8px;
  font-variation-settings: "SOFT" 50;
}
.pillar__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
  font-weight: 500;
}
.pillar__copy { font-size: 14px; line-height: 1.55; color: var(--ink-mute); }

/* ============================================================
   COMMUNITY
   ============================================================ */
.community {
  background: var(--paper-deep);
  padding: var(--section-pad) var(--gutter);
}
.community__inner { max-width: var(--max); margin: 0 auto; }
.community__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 20px;
  margin: 64px 0 64px;
}
.comm-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  grid-column: span 2;
}
.comm-card--tall { grid-column: span 3; grid-row: span 2; }
.comm-card--wide { grid-column: span 3; }
.comm-card:not(.comm-card--tall):not(.comm-card--wide) { grid-column: span 3; }
.comm-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.comm-card:hover img { transform: scale(1.04); }
.comm-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 24px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 40, 34, .85) 100%);
  color: var(--paper-soft);
}
.comm-card__label {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  margin-bottom: 6px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.comm-card__detail {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(244, 239, 229, .82);
  max-width: 48ch;
}

.community__icons {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.community__icons li {
  background: var(--paper-deep);
  padding: 24px 28px;
  font-size: 14px;
  color: var(--ink-mute);
}
.community__icons span {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--forest);
  margin-right: 12px;
  font-variation-settings: "SOFT" 100;
}

/* ============================================================
   PLANS
   ============================================================ */
.plans {
  background: var(--paper);
  padding: var(--section-pad) var(--gutter);
}
.plans__inner { max-width: var(--max); margin: 0 auto; }
.plans__lede {
  font-size: 17px;
  max-width: 64ch;
  color: var(--ink-mute);
  margin: 16px 0 56px;
}
.plans__filters {
  display: flex; flex-wrap: wrap;
  gap: 32px;
  padding: 28px;
  background: var(--paper-soft);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  margin-bottom: 24px;
}
.filter-group {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.filter-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-right: 8px;
  font-weight: 500;
}
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--forest); color: var(--forest); }
.chip.is-on {
  background: var(--forest);
  color: var(--paper-soft);
  border-color: var(--forest);
}
.plans__count {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 36px;
  letter-spacing: 0.05em;
}
.plans__count span { color: var(--ink); font-weight: 600; }

.plans__grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}
.plan-card {
  background: var(--paper-soft);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: all .45s var(--ease);
  display: flex; flex-direction: column;
}
.plan-card:hover {
  border-color: var(--forest);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -22px rgba(20, 40, 34, .35);
}
.plan-card__media {
  position: relative;
  aspect-ratio: 4/3;
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.plan-card__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 18px;
  transition: transform 1s var(--ease);
}
.plan-card:hover .plan-card__media img { transform: scale(1.05); }
.plan-card__style {
  position: absolute; top: 14px; left: 14px;
  background: rgba(244, 239, 229, .94);
  color: var(--forest);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.plan-card__body {
  padding: 22px 22px 24px;
  display: flex; flex-direction: column;
  flex: 1;
}
.plan-card__name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 4px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -0.01em;
}
.plan-card__tree {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.plan-card__stats {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  margin-top: auto;
}
.plan-card__stats span { display: flex; flex-direction: column; gap: 2px; }
.plan-card__stats strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--forest);
}
.plan-card__stats small {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.plan-card__price {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--copper);
  font-weight: 500;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: baseline; justify-content: space-between;
}
.plan-card__price small {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

/* ============================================================
   PLAN MODAL
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal__veil {
  position: absolute; inset: 0;
  background: rgba(20, 40, 34, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn .4s var(--ease);
}
.modal__card {
  position: relative;
  max-width: 980px;
  width: 100%;
  max-height: 92vh;
  overflow: auto;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.4);
  animation: cardIn .5s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  font-size: 24px; line-height: 1;
  color: var(--ink-soft);
  z-index: 2;
  transition: all .25s var(--ease);
}
.modal__close:hover { background: var(--forest); color: var(--paper-soft); border-color: var(--forest); }
.modal__body { padding: 0; }

.pm__hero {
  position: relative;
  padding: 56px 56px 32px;
  background: linear-gradient(180deg, var(--paper-deep) 0%, var(--paper) 100%);
}
.pm__style {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 18px; font-weight: 500;
}
.pm__name {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  font-style: italic;
  color: var(--forest);
  margin: 0 0 8px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  line-height: 1;
}
.pm__tree {
  font-size: 14px;
  font-style: italic;
  color: var(--ink-mute);
  margin: 0 0 28px;
  max-width: 60ch;
}
.pm__stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.pm__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  font-weight: 500;
}
.pm__stat small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}
.pm__price {
  margin-left: auto;
  text-align: right;
}
.pm__price strong { color: var(--copper); }

.pm__layout {
  padding: 32px 56px 56px;
}
.pm__layout-label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--copper); font-weight: 500;
  margin-bottom: 18px;
}
.pm__layout-img {
  width: 100%;
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 12px;
}

.pm__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding: 0 56px 56px;
}

/* ============================================================
   LAND
   ============================================================ */
.land {
  background: var(--forest-deep);
  color: var(--paper-soft);
  padding: var(--section-pad) var(--gutter);
}
.land__inner { max-width: var(--max); margin: 0 auto; }
.land .kicker { color: var(--copper-soft); }
.land .kicker::before { background: var(--copper-soft); }
.land .display { color: var(--paper-soft); }
.land .display em { color: var(--copper-soft); }

.land__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
  margin-top: 56px;
}
.land__map { margin: 0; }
.land__map img {
  width: 100%;
  background: var(--paper-soft);
  padding: 18px;
  border-radius: 4px;
  border: 1px solid rgba(244, 239, 229, .08);
}
.land__map figcaption {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(244, 239, 229, .6);
  font-style: italic;
  line-height: 1.55;
  font-family: var(--serif);
}
.land__copy .lead { color: var(--copper-soft); }
.land__steps { list-style: none; padding: 0; margin: 0; }
.land__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  row-gap: 4px;
  padding: 28px 0;
  border-top: 1px solid rgba(244, 239, 229, .12);
}
.land__steps li:last-child { border-bottom: 1px solid rgba(244, 239, 229, .12); }
.step__num {
  grid-row: span 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: 38px;
  color: var(--copper-soft);
  line-height: 1;
  align-self: start;
}
.step__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--paper-soft);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.step__copy {
  font-size: 14px;
  color: rgba(244, 239, 229, .68);
  line-height: 1.55;
}

/* ============================================================
   ACKNOWLEDGE
   ============================================================ */
.acknowledge {
  background: var(--paper);
  padding: clamp(64px, 9vw, 110px) var(--gutter);
  text-align: center;
}
.acknowledge__inner {
  max-width: 720px;
  margin: 0 auto;
}
.acknowledge__mark {
  color: var(--copper);
  margin: 0 auto 28px;
  display: block;
  opacity: .85;
}
.acknowledge p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================================
   INQUIRY
   ============================================================ */
.inquiry {
  background: var(--paper-deep);
  padding: var(--section-pad) var(--gutter);
}
.inquiry__inner { max-width: 880px; margin: 0 auto; }
.inquiry__lede {
  font-size: 17px;
  color: var(--ink-mute);
  max-width: 56ch;
  margin: 8px 0 48px;
}
.inquiry__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: span 2; }
.field span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  outline: none;
  transition: border-color .3s var(--ease);
  border-radius: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: var(--forest); }
.field textarea { resize: vertical; min-height: 80px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%236B665B' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}
.inquiry__submit {
  display: flex; align-items: center; gap: 32px;
  margin-top: 12px; flex-wrap: wrap;
}
.inquiry__direct {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-mute);
  margin: 0;
}
.inquiry__direct a { color: var(--forest); border-bottom: 1px solid var(--copper); }
.inquiry__success {
  grid-column: span 2;
  background: var(--forest);
  color: var(--paper-soft);
  padding: 22px 28px;
  border-radius: 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  margin: 0;
}
.inquiry__success strong { color: var(--copper-soft); font-style: normal; font-family: var(--sans); letter-spacing: 0.04em; font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  background: var(--forest-deep);
  color: var(--paper-deep);
  padding: 80px var(--gutter) 32px;
}
.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.foot__brand { color: var(--copper-soft); }
.foot__mark {
  font-family: var(--serif);
  font-size: 36px;
  font-style: italic;
  font-weight: 500;
  margin: 16px 0 4px;
  color: var(--paper-soft);
}
.foot__phrase {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin: 0;
}
.foot__col h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin: 0 0 18px;
  font-weight: 600;
}
.foot__col p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 12px;
  color: rgba(244, 239, 229, .72);
}
.foot__col a { color: rgba(244, 239, 229, .92); border-bottom: 1px solid rgba(178, 93, 46, .4); }
.foot__col a:hover { color: var(--copper-soft); }
.foot__base {
  max-width: var(--max);
  margin: 64px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(244, 239, 229, .08);
  font-size: 12px;
  color: rgba(244, 239, 229, .45);
  letter-spacing: 0.06em;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.foot__sep { color: rgba(244, 239, 229, .25); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 20px 24px 28px;
    background: var(--paper);
    border-top: 1px solid rgba(30, 58, 46, 0.12);
    box-shadow: 0 12px 32px rgba(20, 25, 20, 0.12);
  }
  #nav.is-open .nav__links { display: flex; }
  .nav__links a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(30, 58, 46, 0.08);
  }
  .nav__links a:last-child { border-bottom: none; }
  .nav__menu { display: flex; }
  #nav.is-open .nav__menu span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  #nav.is-open .nav__menu span:nth-child(2) { opacity: 0; }
  #nav.is-open .nav__menu span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav__cta { padding: 9px 18px; font-size: 12px; }

  .story__grid { grid-template-columns: 1fr; }
  .story__pillars { grid-template-columns: repeat(2, 1fr); }

  .community__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .comm-card, .comm-card--tall, .comm-card--wide {
    grid-column: span 1; grid-row: span 1;
    aspect-ratio: 4/3;
  }
  .community__icons { grid-template-columns: 1fr; }

  .land__grid { grid-template-columns: 1fr; }

  .inquiry__form { grid-template-columns: 1fr; }
  .field--half, .field--full { grid-column: span 1; }
  .inquiry__success { grid-column: span 1; }

  .foot__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .ribbon__inner { font-size: 12px; }
  .ribbon__meaning { display: none; }
  .hero { min-height: 80vh; }
  .story__pillars { grid-template-columns: 1fr; }
  .pm__hero, .pm__layout, .pm__actions { padding-left: 28px; padding-right: 28px; }
  .pm__price { margin-left: 0; text-align: left; }
  .foot__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero__bg { animation: none; }
}
