:root {
  --sand: #EFE6D8;
  --black: #000000;
  --clay: #B78A68;
  --bronze-deep: #7A5C3F;
  --hairline: rgba(0, 0, 0, 0.16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Archivo", system-ui, -apple-system, sans-serif;
  --max-width: 720px;
  --gutter: clamp(20px, 6vw, 48px);
}

* { box-sizing: border-box; }

html {
  /* fluid width, no fixed breakpoints that force horizontal scroll */
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

a { color: var(--bronze-deep); }

/* -- Header: compact, so the hero clears the top third at 390px -- */
.site-header {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 3.2vw, 1.3rem);
}
.phone-link {
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* -- Hero: headline + subhead + CTA visible immediately, no full-height spacer -- */
.hero {
  padding: 28px 0 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 5.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--black);
}
.subhead {
  font-size: 17px;
  margin: 0 0 20px;
  color: var(--black);
}
.cta {
  display: inline-block;
  background: var(--black);
  color: var(--sand);
  text-decoration: none;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 2px;
}

.band, .criteria, .after-reply, .circulated, .relationship, .form-section {
  padding: 28px 0;
}
.band { border-top: 1px solid var(--hairline); }
.criteria { border-top: 1px solid var(--hairline); }
.after-reply { border-top: 1px solid var(--hairline); background: rgba(183,138,104,0.08); }
.circulated { border-top: 1px solid var(--hairline); }
.relationship { border-top: 1px solid var(--hairline); font-size: 15px; color: #1a1a1a; }
.form-section { border-top: 1px solid var(--hairline); }

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 3.6vw, 1.6rem);
  margin: 0 0 14px;
  color: var(--black);
}

p, li { color: var(--black); font-size: 17px; }

.criteria ul, .after-reply ol {
  padding-left: 1.2em;
  margin: 0;
}
.criteria li, .after-reply li { margin-bottom: 8px; }

.not-housing {
  margin-top: 16px;
  font-size: 14px;
  color: #333;
}

/* -- Photo placeholders: labelled boxes, no real imagery yet -- */
.photo-placeholder {
  margin: 0;
  padding: var(--gutter);
}
.ph-box {
  max-width: var(--max-width);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--bronze-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 14px;
  color: var(--bronze-deep);
  background: rgba(183,138,104,0.08);
}

/* -- Form -- */
.form-intro { margin: 0 0 20px; }
#lead-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#lead-form label {
  font-weight: 600;
  font-size: 15px;
  margin-top: 10px;
}
#lead-form .req { font-weight: 400; color: #555; }
#lead-form .opt { font-weight: 400; color: #777; }
#lead-form input[type="text"],
#lead-form input[type="email"],
#lead-form input[type="tel"] {
  font-size: 17px; /* >=16px avoids iOS auto-zoom on focus */
  padding: 12px;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  background: #fff;
  width: 100%;
}
.radio-row { display: flex; gap: 20px; margin-top: 4px; }
.radio-inline { font-weight: 400; font-size: 17px; display: flex; align-items: center; gap: 6px; }

/* Honeypot: visually and structurally hidden, never display:none (some bots skip those) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#lead-form button {
  margin-top: 18px;
  align-self: flex-start;
  background: var(--black);
  color: var(--sand);
  border: none;
  font-size: 17px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 2px;
  cursor: pointer;
}
#form-status { margin-top: 12px; font-size: 15px; }
#form-status[data-state="ok"] { color: #1a5c2e; }
#form-status[data-state="error"] { color: #8a2e2e; }

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 24px 0 40px;
  font-size: 14px;
  color: #333;
}
.site-footer p { margin: 4px 0; font-size: 14px; }
