/* ==========================================================================
   GXL Homes Ltd — site styles
   Palette and shapes are taken from the GXL logo:
   forest green ink, paper cream, and the Waikato-blue river line.
   ========================================================================== */

:root {
  --green:        #1e412d;
  --green-deep:   #142a1d;
  --green-soft:   #3a6249;
  --paper:        #f0eade;
  --paper-lift:   #f7f3ea;
  --paper-shade:  #e4ddcd;
  --river:        #6692a2;
  --ink:          #1b241d;
  --ink-soft:     #4d5a50;
  --rule:         rgba(30, 65, 45, 0.18);

  --measure: 64ch;
  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --gap: clamp(2.5rem, 6vw, 5.5rem);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

address { font-style: normal; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--river); }

:focus-visible {
  outline: 3px solid var(--river);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: "Archivo", "Arial Narrow", Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--green);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 1.5rem + 3.1vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); }

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute; left: -9999px;
  background: var(--green); color: var(--paper);
  padding: 0.75rem 1.25rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.btn-solid { background: var(--green); border-color: var(--green); color: var(--paper); }
.btn-solid:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--paper); }
.btn-line { color: var(--green); }
.btn-line:hover { background: var(--green); color: var(--paper); }
.btn-onDark { color: var(--paper); }
.btn-onDark:hover { background: var(--paper); color: var(--green); }

/* ---------- Header ----------------------------------------------------- */

.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 50;
}
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 0.9rem;
}
.brand { display: block; line-height: 0; }
.brand img { width: clamp(120px, 18vw, 168px); }

.nav ul {
  list-style: none; display: flex; gap: clamp(1rem, 2.5vw, 2.25rem);
  margin: 0; padding: 0;
}
.nav a {
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  font-size: 0.97rem;
  text-decoration: none;
  color: var(--green);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--river); color: var(--green); }
.nav a[aria-current="page"] { border-bottom-color: var(--river); }

.masthead-contact {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 0.3rem; flex: none;
}
.masthead-contact a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  white-space: nowrap;
  color: var(--green);
}
.masthead-contact a:hover { color: var(--river); }
.masthead-contact svg {
  width: 15px; height: 15px; flex: none;
  fill: currentColor;
}

/* ---------- Hero ------------------------------------------------------- */

.hero {
  background: var(--green);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
}
.hero h1 { color: var(--paper); margin-bottom: 0.5em; }
.hero p { color: rgba(240, 234, 222, 0.86); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-where {
  font-family: "Archivo", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--river);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.hero-where::before {
  content: ""; width: 34px; height: 2px; background: var(--river); flex: none;
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}

/* the single signature moment: the river line from the logo */
.riverline { display: block; width: 100%; height: auto; background: var(--green); }
.riverline path { stroke: var(--river); stroke-width: 3; fill: none; }

/* one orchestrated page-load entrance, hero only */
.hero h1, .hero .hero-where, .hero p, .hero-actions, .hero-figure {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
}
.hero .hero-where { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.12s; }
.hero p { animation-delay: 0.2s; }
.hero-actions { animation-delay: 0.28s; }
.hero-figure { animation-delay: 0.18s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Page head (inner pages) ------------------------------------ */

.pagehead {
  background: var(--green);
  color: var(--paper);
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
.pagehead h1 { color: var(--paper); margin-bottom: 0.35em; }
.pagehead p { color: rgba(240, 234, 222, 0.85); font-size: 1.08rem; }

/* ---------- Sections --------------------------------------------------- */

.band { padding-block: var(--gap); }
.band-shade { background: var(--paper-shade); }
.band-green { background: var(--green); color: var(--paper); }
.band-green h2, .band-green h3 { color: var(--paper); }
.band-green p { color: rgba(240, 234, 222, 0.85); }

.lede { font-size: 1.15rem; max-width: 58ch; }

.section-head { max-width: 58ch; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* Two offerings, divided by a rule rather than boxed into cards */
.offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.offer { border-top: 2px solid var(--green); padding-top: 1.4rem; }
.offer h3 { margin-bottom: 0.5rem; }
.offer ul { margin: 1.1rem 0 0; padding: 0; list-style: none; }
.offer li {
  padding: 0.45rem 0 0.45rem 1.4rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
  font-size: 0.98rem;
}
.offer li::before {
  content: ""; position: absolute; left: 0; top: 1.18em;
  width: 8px; height: 2px; background: var(--river);
}

/* Credentials — vertical hairlines, no cards */
.creds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}
.cred { padding: 0 clamp(1rem, 2.5vw, 2rem); border-left: 1px solid rgba(240,234,222,0.25); }
.cred:first-child { border-left: 0; padding-left: 0; }
.cred h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.cred p { font-size: 0.95rem; margin: 0; }
@media (max-width: 720px) {
  .cred { border-left: 0; border-top: 1px solid rgba(240,234,222,0.25); padding: 1.25rem 0 0; margin-top: 1.25rem; }
  .cred:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
}

/* Split text + image */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split img { border-radius: 2px; width: 100%; object-fit: cover; }

/* Build process — a genuine sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; max-width: 62ch; }
.step {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 1.25rem;
  padding-bottom: 2.1rem;
  position: relative;
}
.step::before {
  content: ""; position: absolute; left: 1.1rem; top: 2.4rem; bottom: 0;
  width: 2px; background: var(--rule);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step-no {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green);
  width: 2.25rem; height: 2.25rem;
  border: 2px solid var(--river);
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper);
}
.band-shade .step-no { background: var(--paper-shade); }
.step h3 { margin-bottom: 0.3rem; }
.step p { font-size: 0.98rem; margin: 0; }

/* Project */
.project-main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; }
.project-facts { list-style: none; margin: 2rem 0 0; padding: 0; }
.project-facts li {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--rule);
  font-size: 0.97rem;
}
.project-facts dt, .project-facts .k {
  font-family: "Archivo", sans-serif; font-weight: 600; color: var(--green);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }

.note {
  border-left: 3px solid var(--river);
  padding: 0.2rem 0 0.2rem 1.25rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 60ch;
}

/* ---------- Contact ---------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.detail { margin-bottom: 1.75rem; }
.detail h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.detail a, .detail address {
  font-style: normal; font-size: 1.05rem; line-height: 1.5;
}

.form-row { margin-bottom: 1.1rem; }
label {
  display: block;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--green);
}
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.85rem;
  background: var(--paper-lift);
  border: 1.5px solid var(--rule);
  border-radius: 2px;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--river); outline: none; box-shadow: 0 0 0 3px rgba(102,146,162,0.25); }
textarea { min-height: 8rem; resize: vertical; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; }
.consent input { width: auto; margin-top: 0.25rem; }
.consent label { font-family: inherit; font-weight: 400; color: var(--ink-soft); margin: 0; }

/* ---------- Footer ----------------------------------------------------- */

.foot { background: var(--green-deep); color: rgba(240, 234, 222, 0.82); }
.foot .wrap { padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(auto-fit, minmax(170px, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}
.foot img { width: 150px; margin-bottom: 1.1rem; }
.foot h4 {
  color: var(--paper); font-size: 0.95rem; margin-bottom: 0.7rem;
}
.foot a { color: rgba(240, 234, 222, 0.82); text-decoration: none; }
.foot a:hover { color: var(--paper); text-decoration: underline; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 0.22rem 0; }
.foot p { font-size: 0.95rem; }
.foot-base {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(240, 234, 222, 0.18);
  font-size: 0.86rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
}

/* ---------- Responsive ------------------------------------------------- */

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
}
@media (max-width: 1040px) {
  .masthead-contact span { display: none; }
  .masthead-contact { flex-direction: row; gap: 0.75rem; }
  .masthead-contact a { padding: 0.4rem; }
  .masthead-contact svg { width: 19px; height: 19px; }
}
@media (max-width: 640px) {
  .masthead .wrap { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
  .nav ul { flex-wrap: wrap; justify-content: center; }
}

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

/* ==========================================================================
   Motion and interaction layer
   Everything below is progressive: without JavaScript nothing is hidden,
   and every effect switches off under prefers-reduced-motion.
   ========================================================================== */

/* ---------- Scroll reveal ---------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.3, 1),
              transform 0.75s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* stagger siblings a little so rows arrive in sequence */
.offers .offer:nth-child(2) .reveal,
.offers .offer:nth-child(2) { transition-delay: 0.09s; }
.creds .cred:nth-child(2) { transition-delay: 0.07s; }
.creds .cred:nth-child(3) { transition-delay: 0.14s; }
.creds .cred:nth-child(4) { transition-delay: 0.21s; }
.stats .stat:nth-child(2) { transition-delay: 0.08s; }
.stats .stat:nth-child(3) { transition-delay: 0.16s; }
.gallery img:nth-child(3n+2) { transition-delay: 0.07s; }
.gallery img:nth-child(3n+3) { transition-delay: 0.14s; }

/* ---------- Hero: slow drift on the photo ------------------------------ */

.hero-figure { overflow: hidden; border-radius: 2px; }
.hero-figure img { animation: drift 22s ease-in-out 0.6s infinite alternate; }
@keyframes drift {
  from { transform: scale(1.0); }
  to   { transform: scale(1.07); }
}

/* ---------- Marquee: the places we build ------------------------------- */

.marquee {
  background: var(--paper-shade);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  padding-block: 1.15rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-run { display: flex; align-items: center; }
.marquee-run span {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.45rem);
  color: var(--green);
  padding-inline: 1.1rem;
  white-space: nowrap;
}
.marquee-run i {
  display: block;
  width: 7px; height: 7px;
  background: var(--river);
  transform: rotate(45deg);
  flex: none;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Counters --------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(240, 234, 222, 0.22);
}
.stat-n {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem);
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.03em;
  display: block;
}
.stat-r { display: block; width: 40px; height: 2px; background: var(--river); margin: 0.9rem 0 0.7rem; }
.stat p { font-size: 0.95rem; margin: 0; color: rgba(240, 234, 222, 0.8); }

/* ---------- Lightbox --------------------------------------------------- */

.is-zoomable { cursor: zoom-in; transition: opacity 0.25s ease; }
.is-zoomable:hover { opacity: 0.88; }

.lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12, 26, 18, 0.95);
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lb.is-open { display: flex; }
.lb-stage { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lb-stage img {
  width: auto;
  max-width: min(1200px, 100%);
  max-height: 78vh;
  margin-inline: auto;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lb-stage img.lb-shown { opacity: 1; }
.lb-stage figcaption {
  color: rgba(240, 234, 222, 0.8);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 60ch;
  margin-inline: auto;
}
.lb button {
  position: absolute;
  background: none; border: 0;
  color: var(--paper);
  font-size: 2.4rem; line-height: 1;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.lb button:hover { opacity: 1; }
.lb-close { top: clamp(0.5rem, 2vw, 1.5rem); right: clamp(0.5rem, 2vw, 1.5rem); font-size: 2.6rem; }
.lb-prev { left: clamp(0.25rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(0.25rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }

/* ---------- Cursor ring ------------------------------------------------ */

.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid var(--river);
  border-radius: 50%;
  pointer-events: none;
  z-index: 190;
  opacity: 0;
  transition: opacity 0.25s ease, width 0.2s ease, height 0.2s ease,
              background-color 0.2s ease, border-color 0.2s ease;
  will-change: transform;
}
.cursor-ring.is-on { opacity: 0.75; }
.cursor-ring.is-active { background: rgba(102, 146, 162, 0.18); border-color: var(--river); }
.cursor-ring.is-zoom { background: rgba(102, 146, 162, 0.28); }
@media (hover: none), (pointer: coarse) { .cursor-ring { display: none; } }

/* ---------- Reduced motion wins --------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .hero-figure img { animation: none; }
  .cursor-ring { display: none; }
}


/* ---------- Trust bar (association marks) ------------------------------ */

.trustbar {
  background: var(--paper-lift);
  border-bottom: 1px solid var(--rule);
  padding-block: 1.5rem;
}
.trustbar .wrap {
  display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}
.trust-logos { display: flex; align-items: center; gap: 1.5rem; flex: none; }
.trust-logos img { height: 68px; width: auto; }
.trustbar p {
  margin: 0; font-size: 0.95rem; color: var(--ink-soft);
  max-width: 62ch; flex: 1 1 320px;
}
@media (max-width: 560px) { .trust-logos img { height: 46px; } }

.cert-pair {
  display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem);
  justify-content: center;
}
.cert-pair img { height: clamp(92px, 14vw, 140px); width: auto; }

/* ---------- Tick list -------------------------------------------------- */

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.75rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.99rem;
}
.ticks li:first-child { padding-top: 0; }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1.25em;
  width: 10px; height: 2px; background: var(--river);
}
.ticks li:first-child::before { top: 0.55em; }
.ticks-wide li { max-width: 78ch; }
.ticks-wide li::before { top: 1.3em; }
.ticks-wide li:first-child::before { top: 0.6em; }
.band-green .ticks li { border-bottom-color: rgba(240,234,222,0.22); }


/* links on the dark green band need to be legible */
.band-green a, .hero a:not(.btn), .pagehead a {
  color: var(--river);
  text-decoration-color: rgba(102, 146, 162, 0.6);
}
.band-green a:hover, .hero a:not(.btn):hover, .pagehead a:hover { color: var(--paper); }

/* four items read better as 2 x 2 than 3 + 1 */
.offers-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }


/* ---------- Gallery: let the lead photo run wide ----------------------- */

@media (min-width: 720px) {
  .gallery .span-2 { grid-column: span 2; aspect-ratio: 16 / 9; }
}

/* ---------- Sticky contact bar, phones only ---------------------------- */

.callbar { display: none; }

@media (max-width: 720px) {
  /* the sticky bar covers this, so the header stays clean */
  .masthead-contact { display: none; }
  .callbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 90;
    background: var(--green);
    border-top: 1px solid rgba(240, 234, 222, 0.2);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.95rem 0.5rem;
    font-family: "Archivo", sans-serif;
    font-weight: 600;
    font-size: 0.97rem;
    color: var(--paper);
    text-decoration: none;
  }
  .callbar a + a { border-left: 1px solid rgba(240, 234, 222, 0.2); }
  .callbar svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
  .callbar a:active { background: var(--green-deep); }
  /* keep the footer clear of the bar */
  .foot .wrap { padding-bottom: 4.75rem; }
  .lb { padding-bottom: 4.5rem; }
}

/* ---------- Question and answer blocks --------------------------------- */

.qas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.qa { border-top: 2px solid var(--green); padding-top: 1.2rem; }
.qa h3 { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); margin-bottom: 0.6rem; }
.qa p { font-size: 0.99rem; max-width: 60ch; }
.band-green .qa { border-top-color: var(--river); }

