/* We Know Land — marketing site
   Values here come from design_handoff_weknow_land_site/README.md, which
   states every colour, size and radius the design actually uses. Where the
   handoff called something out as load-bearing (the width:100% on
   containers, min() around flex min-widths, minmax(min(),1fr) on grids),
   the reason is repeated inline so a later edit does not undo it. */

:root {
  --ground:        #f5ead8;
  --forest:        #3d472b;
  --deep:          #272e1b;
  --rust:          #8c491a;
  --rust-hover:    #733a13;
  --rust-light:    #b2622d;
  --sand:          #ebddc5;
  --card:          #fffaf2;
  --ink:           #201e1d;
  --ink-para:      #3f3a33;
  --ink-card:      #4a453d;
  --muted:         #645c50;
  --rule:          #dcd3c4;
  --rule-light:    #e3d7c1;
  --rule-forest:   #4a5636;
  --sage-light:    #ccdbb2;
  --sage:          #aebf92;
  --sage-dark:     #8fa06e;
  --on-dark:       #f9f4ed;
  --on-dark-body:  #e6dfd2;
  --on-dark-lead:  #f2ece1;

  --gutter: clamp(18px, 5vw, 28px);
  --display: "Caprasimo", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
}

::selection { background: var(--sand); }

/* Never fall back to the browser default focus ring — the handoff calls
   for this specific one, and on the sand/forest grounds the default is
   nearly invisible. */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

img { max-width: 100%; display: block; }

p { text-wrap: pretty; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; }

/* width:100% alongside max-width is load-bearing: without a definite
   width, percentage min-widths on flex children resolve against an
   indefinite width and the row overflows on phones. */
.container {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  padding-inline: var(--gutter);
}

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
}
.kicker--on-dark { color: var(--rust-light); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary {
  background: var(--rust);
  color: var(--on-dark);
  padding: 15px 30px;
}
.btn--primary:hover { background: var(--rust-hover); }

.btn--forest {
  background: var(--forest);
  color: var(--on-dark);
  padding: 15px 30px;
}
.btn--forest:hover { background: var(--deep); }

.btn--outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
  padding: 13.5px 28px;
}
.btn--outline:hover { background: var(--sand); }
/* On a sand ground the outline button's hover must differ from the ground
   it sits on, or the hover reads as nothing happening. */
.on-sand .btn--outline:hover { background: var(--ground); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 234, 216, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-light);
}
.nav__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-block: 12px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--forest);
  min-width: 0;          /* lets the lockup shrink instead of forcing overflow */
}
.nav__badge { width: clamp(44px, 12vw, 56px); height: clamp(44px, 12vw, 56px); flex: none; }
.nav__wordmark {
  font-family: var(--display);
  font-size: clamp(18px, 4.8vw, 23px);
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.nav__spacer { flex: 1; min-width: 0; }
.nav__links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; }
.nav__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
}
.nav__link:hover { color: var(--rust); }
.nav__cta {
  background: var(--rust);
  color: var(--on-dark);
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.nav__cta:hover { background: var(--rust-hover); }

/* ---------------------------------------------------------------- layout */

.section { padding-top: clamp(48px, 8vw, 76px); }
.section--last { padding-bottom: clamp(56px, 9vw, 96px); }

.band {
  background: var(--deep);
  color: var(--on-dark);
  padding-block: clamp(44px, 7.5vw, 72px);
  margin-top: clamp(48px, 8vw, 76px);
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}
/* min() around every fixed min-width: a bare 340px inside a 334px content
   box forces horizontal scroll on a 390px phone. */
.row > .col { flex: 1; min-width: min(340px, 100%); }

h2.section-title { font-size: clamp(27px, 5vw, 36px); color: var(--forest); }
.band h2 { font-size: clamp(27px, 5.4vw, 38px); line-height: 1.12; color: var(--on-dark); }

.lead { font-size: 18px; line-height: 1.58; color: var(--ink-para); }
.body { font-size: 17px; line-height: 1.62; color: var(--ink-para); }
.band .body { color: var(--on-dark-body); }
.fine { font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------------ hero */

.hero { padding-top: clamp(40px, 7vw, 76px); padding-bottom: clamp(40px, 7vw, 64px); }
.hero__row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__col { flex: 1; min-width: min(340px, 100%); }
.hero__text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 {
  font-size: clamp(33px, 7.4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--forest);
}
.hero__para { max-width: 30em; }
.hero__media { position: relative; }
.hero__photo {
  width: 100%;
  height: clamp(240px, 58vw, 400px);
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(46, 43, 37, 0.14);
}
.hero__medallion {
  position: absolute;
  left: clamp(-34px, -3.2vw, -14px);
  bottom: clamp(-34px, -3.2vw, -14px);
  width: clamp(96px, 25vw, 148px);
  height: clamp(96px, 25vw, 148px);
  border-radius: 50%;
  background: var(--ground);
  padding: 10px;
  box-shadow: 0 8px 24px rgba(46, 43, 37, 0.18);
  pointer-events: none;
}

/* --------------------------------------------------- why this exists band */

.why__row { display: flex; flex-wrap: wrap; gap: 56px; }
.why__label { width: 200px; flex: none; }
.why__body {
  flex: 1;
  min-width: min(300px, 100%);
  font-size: clamp(17px, 2.7vw, 21px);
  line-height: 1.6;
  color: var(--on-dark-lead);
}

/* ---------------------------------------------------------- who it's for */

.cards {
  display: grid;
  /* min() inside minmax: plain minmax(240px,1fr) lets the grid overflow. */
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
  margin-top: 28px;
}
.card {
  background: var(--card);
  border-radius: 20px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  box-shadow: 0 2px 8px rgba(46, 43, 37, 0.06);
}
.card h3 { font-size: 18px; color: var(--forest); }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-card); }

/* --------------------------------------------------------------- pricing */

.pricing { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.pricing > * { flex: 1; min-width: min(320px, 100%); }

.price-card {
  background: var(--forest);
  color: var(--on-dark);
  border-radius: 24px;
  padding: clamp(24px, 4.5vw, 36px) clamp(22px, 4.2vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price {
  font-family: var(--display);
  font-size: clamp(40px, 9vw, 52px);
  line-height: 1;
  color: var(--on-dark);
}
.price-note { font-size: 16px; font-weight: 600; color: var(--sage-light); }
.price-card p { margin: 0; font-size: 16px; color: var(--on-dark-body); }
.price-card hr { border: none; border-top: 1px solid var(--rule-forest); margin: 0; width: 100%; }
.price-card .deeper { font-size: 14px; color: var(--sage); }

.side-stack { display: flex; flex-direction: column; gap: 20px; }
.sand-card {
  background: var(--sand);
  border-radius: 24px;
  padding: 30px 28px;
}
.sand-card:last-child { flex: 1; }  /* match the price card's height */
.sand-card h3 { font-size: clamp(22px, 4.4vw, 28px); color: var(--forest); margin-bottom: 8px; }
.sand-card p { margin: 8px 0 0; font-size: 15px; color: var(--ink-card); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill {
  background: var(--forest);
  color: var(--on-dark);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 600;
}

/* --------------------------------------------------------------- contact */

.contact-card {
  background: var(--card);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 44px) clamp(20px, 4.5vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 52px);
  box-shadow: 0 3px 14px rgba(46, 43, 37, 0.08);
  margin-top: 28px;
}
.contact-card__intro { flex: 1; min-width: min(280px, 100%); }
.contact-card__intro h2 { font-size: clamp(26px, 5vw, 34px); line-height: 1.15; color: var(--forest); }
.contact-card__intro p { font-size: 16px; color: var(--ink-para); }

.form { flex: 1; min-width: min(300px, 100%); display: flex; flex-direction: column; gap: 14px; }
.form__pair { display: flex; flex-wrap: wrap; gap: 14px; }
.form__pair > label { flex: 1; min-width: 140px; }
.form label { display: block; }
.form .label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 5px;
}
.form input {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 999px;
  padding: 12px 18px;
}
.form input:focus { border-color: var(--rust); }
.form__note { font-size: 13px; color: var(--muted); }
.form__note--error { color: #8c2f1a; font-weight: 600; }
.form__note--ok { color: var(--forest); font-weight: 600; }
.field-error { border-color: #8c2f1a !important; }

/* --------------------------------------------------- sample report page */

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: 14px 34px;
  margin-top: 24px;
}
.report-item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--rule-light);
}
.report-item__num {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
  color: var(--rust);
  flex: none;
}
.report-item h3 { font-size: 20px; line-height: 1.25; color: var(--forest); margin-bottom: 4px; }
.report-item p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-para); }

.maps-grid {
  display: grid;
  /* minmax(0,1fr), not 1fr — 1fr alone lets the grid overflow its column. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.maps-grid img {
  width: 100%;
  height: clamp(140px, 34vw, 230px);
  object-fit: cover;
  border-radius: 18px;
}
.map-caption {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.walk { display: flex; flex-wrap: wrap; gap: 52px; }
.walk__label { width: 230px; flex: none; }
.walk__label h2 { font-size: clamp(25px, 5vw, 32px); line-height: 1.14; color: var(--forest); }
.walk__body { flex: 1; min-width: min(320px, 100%); display: flex; flex-direction: column; gap: 16px; }

.cta-card {
  background: var(--sand);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 40px);
  margin-top: clamp(48px, 8vw, 76px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.cta-card h2 { font-size: clamp(22px, 4.4vw, 28px); color: var(--forest); }
.cta-card p { margin: 0; font-size: 16px; color: var(--ink-card); }

/* ------------------------------------------------------------ about page */

.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.about__text { flex: 1; min-width: min(340px, 100%); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.about__text h1 { font-size: clamp(30px, 6.6vw, 46px); line-height: 1.1; color: var(--forest); }
.about__text p { margin: 0; }
.about__callout {
  background: var(--sand);
  border-radius: 20px;
  padding: 26px 28px;
}
.about__callout p { font-size: 18px; font-weight: 600; color: var(--forest); line-height: 1.55; }
.about__media {
  flex: 1 1 300px;
  min-width: 0;
  /* min(440px,100%) is load-bearing — a plain 440px cap wins over the flex
     line's computed width and the column stops shrinking on phones. */
  max-width: min(440px, 100%);
  position: sticky;
  top: 104px;
}
.about__media img {
  width: 100%;
  height: clamp(430px, 120vw, 724px);
  object-fit: cover;
  border-radius: 24px;
}

/* --------------------------------------------------------------- footer */

.footer {
  background: var(--forest);
  color: var(--on-dark);
  margin-top: clamp(48px, 8vw, 76px);
  padding-top: clamp(36px, 6vw, 48px);
  padding-bottom: 40px;
}
.footer__cols { display: flex; flex-wrap: wrap; gap: 40px; }
.footer__brand { flex: 1; min-width: min(260px, 100%); }
.footer__lockup { display: flex; align-items: center; gap: 14px; }
.footer__badge { width: 76px; height: 76px; flex: none; }
.footer__name { font-family: var(--display); font-size: 22px; line-height: 1.15; }
.footer__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 3px;
}
.footer__disclaimer { font-size: 14px; color: var(--sage); margin-top: 16px; max-width: 34em; }
.footer__col-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { font-size: 15px; color: var(--on-dark-body); text-decoration: none; }
.footer a:hover { color: var(--on-dark); }
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  border-top: 1px solid var(--rule-forest);
  padding-top: 20px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--sage-dark);
}
.footer__meta a { font-size: 13px; color: var(--sage-dark); }
.footer__meta-spacer { flex: 1; min-width: 0; }

/* --------------------------------------------------------------- 404 */

.notfound { padding-block: clamp(64px, 12vw, 140px); text-align: center; }
.notfound h1 { font-size: clamp(32px, 7vw, 50px); color: var(--forest); margin-bottom: 14px; }
.notfound p { color: var(--ink-para); margin-bottom: 24px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* The sticky nav would otherwise cover an anchored section's heading. */
[id] { scroll-margin-top: 80px; }
