:root {
  --ink: #17332c;
  --forest: #12352c;
  --forest-2: #1e5141;
  --cream: #f4efe5;
  --paper: #fffdf8;
  --gold: #d9a54b;
  --terracotta: #b85d3e;
  --sage: #90a78e;
  --line: rgba(23, 51, 44, .16);
  --muted: #5f6e68;
  --shadow: 0 24px 70px rgba(30, 57, 48, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.55;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }

.site-header {
  height: 78px;
  padding: 0 clamp(22px, 4vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--cream); font: 600 12px/1 "DM Sans"; letter-spacing: .08em; }
nav { display: flex; gap: 32px; }
nav a { text-decoration: none; font-size: 14px; color: var(--muted); }
nav a:hover { color: var(--ink); }
.nav-cta { border: 0; background: transparent; color: var(--ink); font-weight: 700; padding: 10px 0; border-bottom: 2px solid var(--gold); }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: stretch; background: var(--cream); overflow: hidden; }
.hero-copy { padding: clamp(72px, 9vw, 135px) clamp(24px, 7vw, 108px); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: 11px; color: var(--terracotta); margin: 0 0 18px; }
.eyebrow.light { color: #f0c878; }
h1, h2, h3 { margin-top: 0; }
h1, h2 { font-family: "Playfair Display", serif; font-weight: 600; line-height: .99; letter-spacing: -.035em; }
h1 { font-size: clamp(52px, 6.2vw, 94px); max-width: 800px; margin-bottom: 28px; }
h1 em { color: var(--terracotta); font-weight: 500; }
.hero-text { color: var(--muted); font-size: 18px; max-width: 610px; margin: 0 0 34px; }
.hero-actions { display: flex; align-items: center; gap: 27px; flex-wrap: wrap; }
.button { border: 0; border-radius: 3px; padding: 15px 20px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 26px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(18, 53, 44, .14); }
.button-primary { background: var(--forest); color: white; }
.button-light { background: var(--cream); color: var(--forest); }
.button-gold { background: var(--gold); color: #182f29; }
.text-link { font-weight: 700; border: 0; background: transparent; text-underline-offset: 4px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 50px; font-size: 12px; color: var(--muted); }
.trust-row span::before { content: "✓"; color: var(--forest-2); font-weight: 700; margin-right: 7px; }

.hero-scene { position: relative; min-height: 560px; background: #9fbbba; overflow: hidden; }
.sun { position: absolute; width: 120px; height: 120px; border-radius: 50%; background: #f4c86d; right: 13%; top: 12%; }
.cloud { position: absolute; height: 20px; width: 90px; border-radius: 30px; background: rgba(255,255,255,.65); }
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.cloud::before { width: 38px; height: 38px; left: 15px; top: -17px; }
.cloud::after { width: 48px; height: 48px; right: 12px; top: -25px; }
.cloud-one { left: 10%; top: 17%; transform: scale(.7); }
.cloud-two { right: 3%; top: 31%; transform: scale(.45); }
.hill { position: absolute; left: -15%; width: 130%; border-radius: 50% 50% 0 0; }
.hill-back { height: 42%; bottom: 18%; background: #709487; transform: rotate(-3deg); }
.hill-front { height: 35%; bottom: 0; background: #426d5a; transform: rotate(4deg); }
.deck { position: absolute; width: 74%; height: 26%; right: -2%; bottom: 0; background: #c59161; transform: skewX(-15deg); box-shadow: inset 0 12px rgba(65,55,40,.08); }
.deck::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 40px, rgba(75,44,22,.17) 41px 43px); }
.sauna { position: absolute; width: 42%; height: 36%; right: 9%; bottom: 23%; border-radius: 48% 48% 8px 8px; background: #8c4f33; border: 8px solid #723c27; box-shadow: var(--shadow); z-index: 2; }
.sauna::before { content: ""; position: absolute; inset: 8px; border-radius: 48% 48% 3px 3px; background: repeating-linear-gradient(90deg, #b8734d 0 22px, #965a3b 23px 26px); }
.sauna i { position: absolute; width: 30%; height: 59%; left: 18%; bottom: 7%; background: #d7b576; border: 4px solid #653623; z-index: 2; }
.sauna b { position: absolute; width: 28%; height: 40%; right: 14%; bottom: 26%; background: #315b59; border: 4px solid #653623; z-index: 2; }
.pergola { position: absolute; left: 5%; bottom: 16%; width: 48%; height: 35%; border: 8px solid #ded1b1; border-bottom: 0; z-index: 3; }
.pergola::before { content: ""; position: absolute; left: -5%; top: -14px; width: 110%; height: 9px; background: repeating-linear-gradient(90deg, #eadfc4 0 18px, transparent 19px 31px); }
.pergola span { position: absolute; width: 6px; height: 100%; background: rgba(245,236,211,.6); top: 0; }
.pergola span:nth-child(1) { left: 20%; }.pergola span:nth-child(2) { left: 40%; }.pergola span:nth-child(3) { left: 60%; }.pergola span:nth-child(4) { left: 80%; }
.plunge { position: absolute; left: 21%; bottom: 7%; width: 25%; height: 17%; background: #d7d2c2; border: 7px solid #ede9da; border-radius: 4px; z-index: 5; box-shadow: inset 0 -17px #4d898f; }
.scene-label { position: absolute; z-index: 7; background: rgba(255,253,248,.92); padding: 8px 12px; border-radius: 30px; font-weight: 700; font-size: 11px; box-shadow: 0 8px 20px rgba(19,46,40,.14); }
.label-one { right: 5%; bottom: 52%; }.label-two { left: 2%; bottom: 49%; }.label-three { right: 2%; bottom: 14%; }

.section { padding: 108px clamp(24px, 6vw, 92px); }
.section-heading { max-width: 730px; margin-bottom: 50px; }
.section-heading.compact { margin-bottom: 38px; }
.section-heading h2, .decision-panel h2, .closing h2 { font-size: clamp(42px, 5vw, 72px); margin-bottom: 20px; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; max-width: 620px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.project-card { min-height: 390px; padding: 32px; position: relative; border-right: 1px solid var(--line); transition: background .2s ease, transform .2s ease; }
.project-card:last-child { border-right: 0; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); z-index: 2; }
.project-card.wellness:hover { background: #e7efea; }.project-card.entertain:hover { background: #f4e8d8; }.project-card.space:hover { background: #e8edee; }
.project-number { position: absolute; top: 25px; right: 25px; color: #8c9b96; font-size: 12px; }
.project-icon { width: 62px; height: 62px; border-radius: 50%; background: var(--forest); color: white; display: grid; place-items: center; font-size: 26px; margin: 45px 0 50px; }
.project-card h3 { font-family: "Playfair Display", serif; font-size: 31px; margin-bottom: 14px; }
.project-card p { color: var(--muted); min-height: 75px; }
.project-card button { padding: 10px 0; border: 0; background: transparent; font-weight: 700; color: var(--ink); text-align: left; }

.decision-section { background: #e9e2d4; display: grid; grid-template-columns: 1.55fr .75fr; gap: 28px; }
.decision-panel { background: var(--forest); color: white; padding: clamp(38px, 6vw, 78px); }
.decision-panel h2 { max-width: 760px; }
.decision-steps { margin: 46px 0; border-top: 1px solid rgba(255,255,255,.18); }
.decision-steps > div { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.decision-steps b { color: #edc77f; }
.decision-steps strong { display: block; font-size: 15px; margin-bottom: 3px; }
.decision-steps span { color: rgba(255,255,255,.7); font-size: 13px; }
.cost-card { background: var(--paper); padding: 45px 34px; align-self: end; box-shadow: 0 20px 70px rgba(50,45,35,.12); }
.cost-card h3 { font: 600 34px/1.08 "Playfair Display", serif; }
.cost-card ul { padding: 0; margin: 34px 0 26px; list-style: none; }
.cost-card li { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.cost-card li b { text-align: right; }
.fine-print { font-size: 11px; color: var(--muted); }

.principles { background: var(--paper); }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principle-grid > div { background: var(--paper); padding: 32px 26px; min-height: 245px; }
.principle-grid span { font-size: 11px; color: var(--terracotta); font-weight: 700; }
.principle-grid h3 { font-size: 18px; margin: 55px 0 12px; }
.principle-grid p { color: var(--muted); font-size: 13px; margin: 0; }
.closing { text-align: center; color: white; background: #153f35; padding: 105px 24px; }
.closing h2 { margin: 0 auto 38px; }
.closing .button { margin: auto; }
footer { background: #0d2822; color: rgba(255,255,255,.65); padding: 52px clamp(24px, 6vw, 92px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; font-size: 12px; }
.footer-brand { color: white; }.footer-brand .brand-mark { background: #f0c878; color: #153f35; }
.disclosure { max-width: 720px; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.guide-card { padding: 32px; background: var(--cream); border: 1px solid var(--line); text-decoration: none; }
.guide-card h3 { font: 600 32px/1.12 Georgia, serif; margin: 24px 0 16px; }
.guide-card p { color: var(--muted); }
.article { max-width: 900px; margin: auto; padding: 75px 24px; }
.article h1 { font-size: clamp(42px, 6vw, 70px); }
.article h2 { font: 600 30px/1.2 Georgia, serif; margin-top: 45px; margin-bottom: 16px; }
.article p { line-height: 1.8; }
.article-intro { font-size: 20px; color: var(--muted); }
.notice { background: var(--cream); padding: 20px; border-left: 4px solid var(--gold); font-size: 14px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th,td { border: 1px solid var(--line); padding: 16px; text-align: left; vertical-align: top; }
th { background: var(--cream); }
.article-cta { margin-top: 40px; }
[hidden] { display: none !important; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7,27,22,.76); backdrop-filter: blur(6px); }
.matcher { position: relative; z-index: 2; width: min(850px, 100%); max-height: 92vh; overflow-y: auto; background: var(--paper); padding: clamp(28px, 5vw, 54px); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.close { position: absolute; top: 16px; right: 20px; border: 0; background: transparent; font-size: 29px; color: var(--muted); }
.matcher-header { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.matcher-header h2 { font-size: clamp(35px, 5vw, 52px); margin-bottom: 0; }
#step-count { color: var(--muted); font-size: 12px; white-space: nowrap; }
.progress { height: 4px; background: #e5dfd3; margin: 28px 0 34px; }
.progress span { display: block; height: 100%; width: 20%; background: var(--terracotta); transition: width .25s ease; }
.step { display: none; border: 0; padding: 0; margin: 0; }
.step.active { display: block; }
.step legend { font: 600 clamp(26px, 4vw, 39px)/1.12 "Playfair Display", serif; padding: 0; }
.step-help { color: var(--muted); margin: 8px 0 25px; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option-grid label { position: relative; display: block; }
.option-grid input { position: absolute; opacity: 0; }
.option-grid label span { display: block; min-height: 92px; padding: 18px; border: 1px solid var(--line); transition: .18s ease; }
.option-grid label:hover span { border-color: var(--sage); background: #f7f4ec; }
.option-grid input:focus-visible + span { outline: 3px solid #8eb3ff; }
.option-grid input:checked + span { border-color: var(--forest); background: #e8efe9; box-shadow: inset 0 0 0 1px var(--forest); }
.option-grid b, .option-grid small { display: block; }.option-grid b { margin-bottom: 5px; }.option-grid small { color: var(--muted); }
.matcher-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.button-back { border: 0; background: transparent; font-weight: 700; visibility: hidden; }
.form-error { color: #a53d2c; font-size: 13px; min-height: 20px; margin: 12px 0 0; }
.results { text-align: left; }
.result-kicker { color: var(--terracotta); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.results h3 { font: 600 clamp(36px, 5vw, 58px)/1.02 "Playfair Display", serif; margin-bottom: 17px; }
#result-summary { color: var(--muted); font-size: 17px; max-width: 650px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 27px 0; }
.result-grid div { padding: 17px; background: #efe9dd; }.result-grid span, .result-grid b { display: block; }.result-grid span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }.result-grid b { margin-top: 5px; }
.result-note { border-left: 4px solid var(--gold); padding: 12px 18px; background: #faf5e8; }.result-note p { margin: 5px 0 0; color: var(--muted); }
.result-actions { display: flex; align-items: center; gap: 20px; margin-top: 26px; }.restart { text-decoration: underline; }
.save-message { color: var(--forest-2); font-size: 13px; min-height: 20px; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-scene { min-height: 500px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }
  .decision-section { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .site-header { height: 68px; }.nav-cta { font-size: 12px; }.brand > span:last-child { display: none; }
  .hero-copy { padding-top: 75px; padding-bottom: 70px; }
  .hero-scene { min-height: 420px; }
  .trust-row { flex-direction: column; gap: 8px; }
  .section { padding-top: 75px; padding-bottom: 75px; }
  .principle-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  .option-grid, .result-grid { grid-template-columns: 1fr; }
  .matcher { padding-top: 50px; max-height: 96vh; }
  .matcher-header { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
