/* ==========================================================
   Waypoint Housing Advisory Inc. — site styles
   ========================================================== */

:root {
  --olive-900: #3e4434;
  --olive: #545b49;
  --olive-600: #646b56;
  --olive-light: #7c8064;
  --tan: #b08d63;
  --tan-dark: #9a774d;
  --tan-soft: #e9dfd1;
  --cream: #f6f4f0;
  --cream-2: #efebe4;
  --paper: #ffffff;
  --ink: #23251f;
  --text: #3b3d36;
  --muted: #6a6c63;
  --line: #ddd7cc;

  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(35, 37, 31, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .6em; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.12rem; line-height: 1.3; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--olive); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.45rem;
  border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--olive); color: #fff; }
.btn-primary:hover { background: var(--olive-900); }
.btn-tan { background: var(--tan); color: #fff; }
.btn-tan:hover { background: var(--tan-dark); }
.btn-outline { border-color: var(--olive); color: var(--olive-900); background: transparent; }
.btn-outline:hover { background: var(--olive); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 88px; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav ul { list-style: none; display: flex; gap: 2.2rem; margin: 0; padding: 0; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink);
  padding: .5rem 0; position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--tan); transform: scaleX(0); transition: transform .25s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: .65rem 1.3rem; }
.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Eyebrow / rule ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; font-weight: 600;
  color: var(--olive); margin-bottom: 1rem;
}
.eyebrow svg { width: 24px; height: 24px; color: var(--olive-light); }
.eyebrow.lined::before { content: ""; width: 34px; height: 2px; background: var(--tan); }
.rule { width: 52px; height: 2px; background: var(--tan); border: 0; margin: 1.4rem 0; }
.rule.center { margin-inline: auto; }

/* ---------- Split hero (inner pages) ---------- */
.hero-split {
  display: grid; grid-template-columns: 44% 56%;
  background: var(--cream); min-height: 560px; overflow: hidden;
}
.hero-split .hero-copy {
  padding: 4.5rem 2rem 4.5rem max(1.25rem, calc((100vw - var(--wrap)) / 2));
  align-self: center;
}
.hero-split h1 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); margin-bottom: 0; }
.hero-split .hero-copy p { max-width: 34rem; }
.hero-split .hero-media { position: relative; }
.hero-split .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}

/* ---------- Home hero ---------- */
.hero-home {
  position: relative; min-height: 600px; display: flex; align-items: center;
  background: var(--cream) url("../img/hero-home.jpg") right center / cover no-repeat;
}
.hero-home::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(246,244,240,.97) 0%, rgba(246,244,240,.9) 32%, rgba(246,244,240,.35) 55%, rgba(246,244,240,0) 72%);
}
.hero-home .wrap { position: relative; }
.hero-home h1 { font-size: clamp(2.5rem, 5vw, 3.9rem); max-width: 14ch; }
.hero-home p.lead { font-size: 1.15rem; max-width: 30rem; color: var(--ink); }
.hero-home .tagline { font-family: var(--serif); font-style: italic; color: var(--tan-dark); margin-bottom: 1.2rem; }

/* ---------- Section basics ---------- */
.section { padding: 5rem 0; }
.section-tint { background: var(--cream-2); }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-bottom: 0; }
.section-head p { max-width: 40rem; margin: 1rem auto 0; color: var(--muted); }

/* ---------- Feature columns ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { text-align: center; padding: 0 1.6rem; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature p { font-size: .93rem; color: var(--text); margin: 0; }
.icon-circle {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--tan-soft); display: grid; place-items: center;
  margin: 0 auto 1.2rem; color: var(--olive);
}
.icon-circle svg { width: 38px; height: 38px; }
.icon-circle.alt { color: var(--tan-dark); }
.features.plain .icon-circle { background: none; width: auto; height: 56px; }
.features.plain .icon-circle svg { width: 46px; height: 46px; }
.features.plain h3 { font-size: 1.3rem; }

/* ---------- Approach split ---------- */
.approach { display: grid; grid-template-columns: 44% 56%; background: var(--cream-2); }
.approach .approach-copy {
  padding: 4.5rem 2.5rem 4.5rem max(1.25rem, calc((100vw - var(--wrap)) / 2));
}
.approach h2 { font-size: 1.65rem; }
.steps { list-style: none; margin: 1.8rem 0 0; padding: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 92px; top: 10px; bottom: 10px; width: 1px; background: var(--tan);
  opacity: .55;
}
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 1.1rem 3.2rem; margin-bottom: 1.5rem; position: relative; }
.steps li::after {
  content: ""; position: absolute; left: 89px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--tan);
}
.steps .step-icon {
  width: 54px; height: 54px; border-radius: 50%; background: var(--tan-soft);
  display: grid; place-items: center; color: var(--olive);
}
.steps .step-icon svg { width: 26px; height: 26px; }
.steps h3 { font-size: 1rem; margin: 0 0 .15rem; }
.steps p { font-size: .92rem; margin: 0; }
.approach-media { position: relative; min-height: 440px; }
.approach-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlay-card {
  position: absolute; left: 2rem; right: 2rem; bottom: 2rem;
  background: rgba(246, 244, 240, .96); border-radius: var(--radius);
  padding: 1.6rem 1.8rem; display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem;
  box-shadow: var(--shadow);
}
.overlay-card .badge {
  width: 56px; height: 56px; border-radius: 50%; background: var(--olive); color: #fff;
  display: grid; place-items: center;
}
.overlay-card .badge svg { width: 26px; height: 26px; }
.overlay-card h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.overlay-card p { font-size: .93rem; margin: 0; }

/* ---------- Service list band ---------- */
.service-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem;
  list-style: none; padding: 0; margin: 0;
}
.service-list li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.1rem 1.2rem 1.1rem 1.2rem; display: flex; gap: .8rem; align-items: flex-start;
  font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.4;
}
.service-list li svg { flex: none; width: 20px; height: 20px; color: var(--tan); margin-top: 1px; }

/* ---------- Audience cards (home) ---------- */
.audiences { display: grid; grid-template-columns: 1fr 1fr; }
.audience {
  position: relative; min-height: 380px; padding: 3rem 3.5rem;
  display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden;
}
.audience img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.audience::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(246,244,240,.97) 0%, rgba(246,244,240,.9) 50%, rgba(246,244,240,.25) 100%); }
.audience > *:not(img) { position: relative; z-index: 2; max-width: 26rem; }
.audience .a-icon { width: 54px; height: 54px; color: var(--olive); margin-bottom: 1.2rem; }
.audience.fn .a-icon { color: var(--tan-dark); }
.audience h2 { font-family: var(--sans); font-weight: 600; font-size: 1.85rem; }
.text-link { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; color: var(--olive-900); text-underline-offset: 4px; }
.text-link svg { width: 16px; height: 16px; color: var(--tan); }

.statement { text-align: center; padding: 4rem 0; }
.statement h2 { font-family: var(--sans); font-weight: 600; font-size: 1.6rem; }
.statement p { color: var(--muted); max-width: 36rem; margin: 0 auto; }

/* ---------- CTA band ---------- */
.cta-dark {
  position: relative; color: #fff; padding: 3.2rem 0;
  background: var(--olive-900) url("../img/hero-municipalities.jpg") center 70% / cover;
}
.cta-dark::before { content: ""; position: absolute; inset: 0; background: rgba(46, 50, 38, .78); }
.cta-dark .wrap { position: relative; display: flex; align-items: center; gap: 2rem; justify-content: space-between; flex-wrap: wrap; }
.cta-dark .cta-text { display: flex; align-items: center; gap: 1.6rem; }
.cta-dark .cta-mark { width: 84px; height: 84px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 50%; display: grid; place-items: center; flex: none; }
.cta-dark .cta-mark svg { width: 44px; height: 44px; }
.cta-dark h2 { color: #fff; font-family: var(--sans); font-weight: 600; font-size: 1.55rem; margin: 0; max-width: 28ch; }

.cta-light {
  text-align: center; padding: 3.8rem 0 4rem; background: var(--cream);
  border-top: 1px solid var(--line); position: relative; overflow: hidden;
}
.cta-light .cta-row { display: flex; gap: 2.5rem; align-items: center; justify-content: center; }
.cta-light .cta-icon { width: 72px; height: 72px; color: var(--olive); flex: none; }
.cta-light h2 { font-size: 1.8rem; margin-bottom: .4rem; }
.cta-light p { max-width: 34rem; margin: 0 auto 1.2rem; }
.cta-light .deco { position: absolute; right: 6%; bottom: 0; width: 90px; color: var(--line); }

.cta-olive { background: var(--olive); color: #f1efe9; padding: 3.5rem 0; }
.cta-olive .wrap { display: grid; grid-template-columns: auto 1px 1fr auto; gap: 2.5rem; align-items: center; }
.cta-olive h2 { color: #fff; font-family: var(--sans); font-weight: 600; font-size: 1.9rem; margin: 0; }
.cta-olive .divider { background: rgba(255,255,255,.35); align-self: stretch; }
.cta-olive p { margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; }
.cred-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.cred-card h3 { font-family: var(--serif); font-size: 1.35rem; }
.cred-list { list-style: none; padding: 0; margin: 0; }
.cred-list li { display: flex; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.cred-list li:first-child { border-top: 0; }
.cred-list svg { flex: none; width: 20px; height: 20px; color: var(--tan); margin-top: 3px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.value .icon-circle { margin: 0 0 1rem; width: 64px; height: 64px; }
.value .icon-circle svg { width: 30px; height: 30px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 34% 1fr; gap: 3rem; align-items: start; }
.contact-grid h2 { font-size: 1.85rem; margin-bottom: 0; }
.contact-items { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.contact-items li { display: grid; grid-template-columns: 60px 1fr; gap: 1.4rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.contact-items li:last-child { border-bottom: 0; }
.contact-items .icon-circle { width: 60px; height: 60px; margin: 0; color: var(--olive); }
.contact-items .icon-circle svg { width: 28px; height: 28px; }
.contact-items h3 { font-size: 1rem; margin: 0 0 .2rem; }
.contact-items p { margin: 0; font-size: .93rem; }
.contact-items a { text-decoration: none; }
.contact-items a:hover { text-decoration: underline; }

.form-card { background: var(--cream-2); border-radius: var(--radius); padding: 2.4rem 2.2rem; border: 1px solid var(--line); }
.form-card h2 { margin-bottom: .6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; margin-top: 1.6rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 500; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .7rem .85rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--olive-light); box-shadow: 0 0 0 3px rgba(124,128,100,.2); }
.field textarea { min-height: 120px; resize: vertical; }
.form-foot { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.4rem; align-items: flex-start; }
.privacy { display: flex; gap: .45rem; align-items: center; font-size: .8rem; color: var(--muted); }
.privacy svg { width: 14px; height: 14px; }
.hidden { display: none; }

.closing-band { border-top: 1px solid var(--line); padding: 3.2rem 0; background: var(--cream); }
.closing-band .wrap { display: grid; grid-template-columns: 120px 1fr auto; gap: 2rem; align-items: center; }
.closing-band .star { width: 70px; color: var(--tan); justify-self: center; }
.closing-band h2 { font-size: 1.45rem; margin-bottom: .4rem; }
.closing-band p { margin: 0; max-width: 30rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding: 3rem 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr .9fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-grid .brand img { height: 50px; }
.footer-grid .tagline-sm { margin: 1rem 0 0; color: var(--muted); font-size: .85rem; line-height: 1.6; }
.footer-grid h4 { font-size: .92rem; margin-bottom: .7rem; font-weight: 700; }
.footer-grid p { margin: 0 0 .3rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid .based { color: var(--olive); font-weight: 600; }
.footer-grid .land { font-weight: 700; color: var(--ink); line-height: 1.5; }
.footer-grid .land svg { width: 26px; color: var(--tan); margin-top: 1rem; }
.footer-bar { background: var(--olive); color: #e9e6dc; text-align: center; font-size: .82rem; padding: .9rem 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .nav, .nav ul { gap: 1.4rem; }
  .features { grid-template-columns: repeat(2, 1fr); row-gap: 2.8rem; }
  .feature:nth-child(3) { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-olive .wrap { grid-template-columns: 1fr; gap: 1.2rem; }
  .cta-olive .divider { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.5rem; display: none;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.25);
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a:not(.btn) { display: block; padding: .95rem 0; border-bottom: 1px solid var(--cream-2); }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { color: var(--tan-dark); }
  .nav .btn { margin-top: 1rem; justify-content: center; }

  .hero-split, .approach { grid-template-columns: 1fr; }
  .hero-split .hero-copy, .approach .approach-copy { padding: 3rem 1.25rem; }
  .hero-split .hero-media { min-height: 300px; order: -1; }
  .hero-split .hero-media img { clip-path: none; }
  .approach-media { min-height: 460px; }

  .hero-home { min-height: 520px; background-position: 70% center; }
  .hero-home::before { background: linear-gradient(180deg, rgba(246,244,240,.95) 0%, rgba(246,244,240,.85) 55%, rgba(246,244,240,.3) 100%); }

  .audiences { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .closing-band .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .closing-band p { margin-inline: auto; }
  .cta-light .cta-row { flex-direction: column; gap: 1rem; }
}

@media (max-width: 600px) {
  body { font-size: .97rem; }
  .header-inner { min-height: 72px; }
  .brand img { height: 42px; }
  .section { padding: 3.5rem 0; }
  .features { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); padding-top: 2.4rem; }
  .audience { padding: 2.5rem 1.5rem; min-height: 340px; }
  .overlay-card { left: 1rem; right: 1rem; bottom: 1rem; grid-template-columns: 1fr; padding: 1.4rem; }
  .steps::before, .steps li::after { display: none; }
  .steps li { grid-template-columns: 48px 1fr; gap: 1rem; }
  .steps .step-icon { width: 48px; height: 48px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.8rem 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-dark .cta-text { flex-direction: column; align-items: flex-start; }
}

/* ---------- Home logo hero ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-logo { background: var(--paper); text-align: center; padding: 4.5rem 0 4rem; border-bottom: 1px solid var(--line); }
.hero-logo img { width: min(620px, 88%); height: auto; margin: 0 auto; }
.hero-logo p { font-family: var(--serif); font-style: italic; color: var(--tan-dark); font-size: 1.15rem; margin: 1.6rem 0 0; }
.hero-logo + .audiences .audience { min-height: 460px; }
@media (max-width: 600px) { .hero-logo { padding: 3rem 0 2.6rem; } }

/* ---------- Revisions (Nov 24) ---------- */
.reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
.footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* Approach: photo with a solid panel beneath (no overlap) */
.approach-media { display: flex; flex-direction: column; min-height: 0; }
.approach-media img { position: static; flex: 1 1 0; width: 100%; min-height: 320px; height: auto; object-fit: cover; }
.overlay-card {
  position: static; border-radius: 0; box-shadow: none;
  background: var(--olive); color: #ece9df; padding: 2rem 2.4rem;
}
.overlay-card .badge { background: var(--tan); }
.overlay-card h3 { color: #fff; }
.overlay-card p { color: #e4e1d6; }
@media (max-width: 600px) { .overlay-card { grid-template-columns: 1fr; padding: 1.6rem 1.25rem; } }

/* Home banner: treeline photo */
.cta-dark { background-image: url("../img/hero-contact.jpg"); background-position: center 45%; }

/* Municipalities hero: keep the full water tower in frame */
.hero-split .hero-media img[src*="hero-municipalities"] { object-position: center top; }

/* ---------- Revisions 2 (Nov 24) ---------- */
.hero-panel {
  position: absolute; right: 0; bottom: 0; left: 18%;
  background: var(--olive); color: #e4e1d6;
  padding: 1.6rem 2rem; display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; align-items: start;
}
.hero-panel .badge { width: 52px; height: 52px; border-radius: 50%; background: var(--tan); color: #fff; display: grid; place-items: center; }
.hero-panel .badge svg { width: 24px; height: 24px; }
.hero-panel h3 { color: #fff; font-size: 1.1rem; margin: 0 0 .3rem; }
.hero-panel p { margin: 0; font-size: .93rem; color: #e4e1d6; }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.area-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; }
.area-card .icon-circle { margin: 0 0 1rem; width: 64px; height: 64px; }
.area-card .icon-circle svg { width: 30px; height: 30px; }
.area-card h3 { font-family: var(--serif); font-size: 1.5rem; }
.area-card p { margin: 0; }
@media (max-width: 900px) {
  .hero-split .hero-media:has(.hero-panel) { display: flex; flex-direction: column; min-height: 0; }
  .hero-split .hero-media:has(.hero-panel) img { position: static; height: 300px; }
  .hero-panel { position: static; }
}
@media (max-width: 600px) {
  .area-grid { grid-template-columns: 1fr; }
  .hero-panel { grid-template-columns: 1fr; padding: 1.5rem 1.25rem; }
}

/* Contact hero: panel sits below the photo so the houses stay visible */
.hero-split .hero-media:has(.hero-panel) { display: flex; flex-direction: column; }
.hero-split .hero-media:has(.hero-panel) img { position: static; flex: 1 1 0; min-height: 0; height: auto; object-position: center 85%; }
.hero-split .hero-media:has(.hero-panel) .hero-panel { position: static; margin-left: 0; }
@media (max-width: 900px) {
  .hero-split .hero-media:has(.hero-panel) img { flex: none; height: 300px; }
  .hero-split .hero-media:has(.hero-panel) .hero-panel { margin-left: 0; }
}
