:root {
  --forest: #123c2c;
  --forest-2: #1b503a;
  --leaf: #6f8f45;
  --cream: #f5f0e5;
  --paper: #fffdf7;
  --gold: #d6a447;
  --gold-soft: #ead3a0;
  --ink: #173027;
  --muted: #65736d;
  --line: rgba(18, 60, 44, 0.16);
  --shadow: 0 26px 80px rgba(15, 47, 34, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.55;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  color: white;
  background: var(--forest);
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  min-height: 82px;
  padding: 1rem clamp(1.2rem, 4vw, 4.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 240, 229, .93);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
}
.brand-mark {
  width: 45px;
  height: 45px;
  border: 1px solid var(--forest);
  border-radius: 50% 50% 45% 55%;
  display: grid;
  place-items: center;
  font-family: "Newsreader", serif;
  font-weight: 600;
  transform: rotate(-4deg);
}
.brand strong, .brand small { display: block; }
.brand strong { font-family: "Newsreader", serif; font-size: 1.2rem; letter-spacing: .01em; }
.brand small { color: var(--muted); font-size: .72rem; }
.header-cta {
  font-weight: 700;
  text-decoration: none;
  font-size: .9rem;
  padding-bottom: .25rem;
  border-bottom: 2px solid var(--gold);
}
.hero {
  min-height: 660px;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.2rem, 7vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(310px, .6fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at 76% 24%, rgba(214,164,71,.16) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 27%, rgba(214,164,71,.09) 0 90px, transparent 92px),
    linear-gradient(125deg, #0d3325 0%, #174a35 70%, #315d3c 100%);
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  transform: rotate(-18deg);
}
.hero::before { width: 440px; height: 720px; right: -230px; top: -250px; }
.hero::after { width: 260px; height: 500px; right: -120px; top: -120px; }
.hero-copy, .hero-note { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  font-size: .72rem;
}
h1, h2, h3 { font-family: "Newsreader", Georgia, serif; line-height: 1.03; margin-top: 0; }
h1 { margin-bottom: 1.5rem; max-width: 820px; font-size: clamp(3.3rem, 6.7vw, 7.1rem); font-weight: 500; letter-spacing: -.04em; }
h2 { font-size: clamp(2.2rem, 4vw, 4.1rem); font-weight: 500; letter-spacing: -.025em; }
h3 { font-size: 1.55rem; font-weight: 600; }
.hero-lede { max-width: 670px; margin: 0 0 2rem; color: rgba(255,255,255,.8); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.button {
  min-height: 52px;
  padding: .85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, .goal-card:focus-within { outline: 3px solid rgba(214,164,71,.55); outline-offset: 3px; }
.button-primary { color: #0f3325; background: var(--gold); }
.button-primary:hover { background: #e4b65a; }
.button-quiet { color: white; background: transparent; border-color: rgba(255,255,255,.35); }
.button-quiet.light { border-color: rgba(255,255,255,.5); }
.button-secondary { color: var(--forest); background: transparent; border-color: var(--forest); }
.button-full { width: 100%; }
.microcopy { color: rgba(255,255,255,.55); font-size: .78rem; }
.hero-note { border-left: 1px solid rgba(255,255,255,.24); padding: 2rem 0 2rem 2rem; }
.hero-note h2 { font-size: clamp(2rem, 3.2vw, 3.3rem); }
.hero-note p:last-child { color: rgba(255,255,255,.68); }
.note-number { display: block; margin-bottom: 3rem; color: rgba(255,255,255,.45); font-family: "Newsreader", serif; font-size: 1.2rem; }
.estimator-section { padding: clamp(4rem, 7vw, 7rem) clamp(1.2rem, 5vw, 5.5rem); }
.section-heading {
  max-width: 1320px;
  margin: 0 auto 3rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 480px; color: var(--muted); }
.estimator-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: clamp(1.5rem, 3.5vw, 4rem);
  align-items: start;
}
.estimator-form { display: grid; gap: 1.2rem; }
.form-block {
  margin: 0;
  padding: clamp(1.3rem, 2.5vw, 2.2rem);
  border: 1px solid var(--line);
  background: rgba(255,253,247,.65);
}
.form-block legend { padding: 0 .6rem 0 0; font-weight: 700; font-size: 1.08rem; }
.form-block legend span { margin-right: .55rem; color: var(--gold); font-family: "Newsreader", serif; }
.area-entry { display: grid; grid-template-columns: 1fr auto; gap: .7rem; }
input, select {
  width: 100%;
  min-height: 52px;
  padding: .75rem .95rem;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(18,60,44,.26);
  border-radius: 2px;
}
#area-input { font-size: 1.3rem; font-weight: 700; }
.quick-sizes { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .75rem; }
.quick-sizes button {
  padding: .4rem .7rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font-size: .78rem;
}
.quick-sizes button.active { color: white; border-color: var(--forest); background: var(--forest); }
.scope-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 1rem;
}
.scope-option {
  min-height: 92px;
  padding: .9rem 1rem;
  display: grid;
  align-content: center;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.scope-option.selected {
  border-color: var(--forest);
  background: #edf2e7;
  box-shadow: inset 4px 0 0 var(--forest);
}
.scope-option input { position: absolute; opacity: 0; pointer-events: none; }
.scope-option strong, .scope-option small { display: block; }
.scope-option small { margin-top: .25rem; color: var(--muted); line-height: 1.35; }
.form-help { margin: .65rem 0 0; color: var(--muted); font-size: .84rem; }
.field-error { color: #9b3b27; margin: .5rem 0 0; font-weight: 700; font-size: .84rem; }
.goal-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; margin-top: 1rem; }
.goal-card {
  min-height: 148px;
  padding: 1.05rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  column-gap: .75rem;
  align-items: start;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.goal-card:hover { transform: translateY(-2px); border-color: var(--leaf); }
.goal-card.selected { border-color: var(--forest); background: #edf2e7; box-shadow: inset 4px 0 0 var(--forest); }
.goal-card input { position: absolute; opacity: 0; pointer-events: none; }
.goal-icon { grid-row: 1 / span 2; color: var(--leaf); font-size: 1.3rem; }
.goal-card strong { line-height: 1.25; }
.goal-card small { margin-top: .4rem; color: var(--muted); line-height: 1.4; }
.travel-block label { display: block; margin: .4rem 0 .45rem; font-weight: 600; font-size: .88rem; }
.result-panel {
  position: sticky;
  top: 106px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: white;
  background: var(--forest);
  box-shadow: var(--shadow);
}
.result-topline { display: flex; justify-content: space-between; gap: 1rem; color: var(--gold-soft); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .68rem; }
.result-kicker { margin: 2.1rem 0 .3rem; color: rgba(255,255,255,.65); font-size: .8rem; }
.result-total { margin: 0; color: white; font-family: "Newsreader", serif; font-size: clamp(2.6rem, 4.5vw, 4.25rem); line-height: 1; letter-spacing: -.035em; }
.result-summary { color: rgba(255,255,255,.72); }
.breakdown { margin: 1.8rem 0 1.1rem; border-top: 1px solid rgba(255,255,255,.15); }
.breakdown > div, .timing-row { padding: .9rem 0; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.15); font-size: .82rem; }
.breakdown span, .timing-row span { color: rgba(255,255,255,.62); }
.breakdown strong, .timing-row strong { text-align: right; }
.assumptions { margin: 1rem 0 1.5rem; color: rgba(255,255,255,.78); font-size: .8rem; }
.assumptions summary { cursor: pointer; color: white; font-weight: 700; }
.assumptions ul { margin: .65rem 0 0; padding-left: 1.1rem; }
.assumptions li + li { margin-top: .35rem; }
.phase-toggle {
  width: 100%;
  margin: .2rem 0 1rem;
  padding: .8rem 0;
  color: var(--gold-soft);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}
.phase-panel {
  margin: -.2rem 0 1.2rem;
  padding: 1rem;
  color: var(--ink);
  background: var(--gold-soft);
}
.phase-panel p { margin: .4rem 0 0; font-size: .82rem; }
.result-panel .button + .button { margin-top: .65rem; }
.result-panel .button-secondary { color: white; border-color: rgba(255,255,255,.48); }
.text-action {
  width: 100%;
  margin-top: .9rem;
  padding: .3rem;
  color: rgba(255,255,255,.78);
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: .25rem;
  cursor: pointer;
}
.result-disclaimer { margin: .9rem 0 0; text-align: center; color: rgba(255,255,255,.48); font-size: .7rem; }
.path-section { padding: clamp(4rem, 8vw, 8rem) clamp(1.2rem, 7vw, 8rem) 2rem; background: var(--paper); }
.path-intro { max-width: 900px; }
.path-intro > p:last-child { max-width: 680px; color: var(--muted); }
.path-list { margin: 4rem 0 2rem; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 1rem; }
.path-list li { padding: 1.6rem; border-top: 1px solid var(--forest); background: var(--cream); }
.path-list li > span { display: inline-block; margin-bottom: 3rem; color: var(--gold); font-family: "Newsreader", serif; }
.path-list h3 { margin-bottom: .6rem; }
.path-list p { margin: 0; color: var(--muted); font-size: .9rem; }
.policy-note { max-width: 920px; margin: 2rem 0 5rem; padding: 1.3rem 1.5rem; border-left: 4px solid var(--gold); background: #f2e8d2; }
.policy-note p { display: inline; margin: 0; }
.final-cta { margin: 0 calc(clamp(1.2rem, 7vw, 8rem) * -1); padding: clamp(2.5rem,5vw,5rem) clamp(1.2rem,7vw,8rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: white; background: var(--forest); }
.final-cta h2 { margin: 0; }
.legal-note { max-width: 1000px; margin: 2rem auto 0; color: var(--muted); text-align: center; font-size: .72rem; }
dialog {
  width: min(640px, calc(100% - 2rem));
  padding: 2rem;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(8,31,22,.7); backdrop-filter: blur(4px); }
dialog h2 { font-size: 2.5rem; margin-bottom: 1rem; }
dialog p:not(.eyebrow) { color: var(--muted); }
.dialog-preview {
  padding: .8rem 1rem;
  color: var(--forest) !important;
  background: #edf2e7;
  border-left: 4px solid var(--leaf);
  font-weight: 700;
}
.dialog-close { position: absolute; right: .8rem; top: .7rem; border: 0; background: transparent; color: var(--forest); font-size: 1.8rem; cursor: pointer; }
.contact-form { display: grid; gap: .9rem; margin-top: 1.3rem; }
.contact-form label { display: grid; gap: .35rem; color: var(--ink); font-weight: 700; font-size: .86rem; }
.contact-form label small { color: var(--muted); font-weight: 400; }
.form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  padding: .7rem .8rem;
  border: 1px solid rgba(18,60,44,.26);
  border-radius: 2px;
  background: white;
}
.contact-form textarea { width: 100%; resize: vertical; }
.consent-row { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 500 !important; }
.consent-row input { width: 18px; min-height: 18px; margin-top: .12rem; }
.form-status { min-height: 1.4em; margin: 0 !important; font-size: .8rem; }
.contact-form button:disabled { opacity: .65; cursor: wait; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-note { max-width: 650px; }
  .estimator-grid { grid-template-columns: 1fr; }
  .result-panel { position: static; }
  .path-list { grid-template-columns: 1fr; }
  .path-list li { display: grid; grid-template-columns: 70px 1fr; }
  .path-list li > span { margin: 0; }
}
@media (max-width: 680px) {
  .site-header { min-height: 68px; padding: .75rem 1rem; }
  .brand small { display: none; }
  .header-cta { font-size: .72rem; }
  .hero { padding: 4rem 1.15rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .hero-note { padding-left: 1.3rem; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: 1rem; }
  .goal-grid { grid-template-columns: 1fr; }
  .scope-choice, .form-pair { grid-template-columns: 1fr; }
  .goal-card { min-height: 118px; }
  .area-entry { grid-template-columns: 1fr; }
  .result-total { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .final-cta { align-items: start; flex-direction: column; }
  .final-cta .hero-actions, .final-cta .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
