/* Layout: white, green and veld-grass bands, square pictures, pill buttons,
   a drawn house in the hero, and a running brick bond behind the green band. */
:root {
  --green: #12472f;
  --green-deep: #0b2f1f;
  --green-mid: #1d6443;
  --brick: #a63d24;
  --brick-deep: #842e19;
  --gold: #e9ae2e;
  --veld: #f5ecd0;
  --veld-pale: #fbf7ea;
  --ink: #1f2620;
  --ink-soft: #515c53;
  --white: #fff;
  --on-green: #d8e7dc;
  --error: #a3161a;

  --display: "Anybody", "Arial Black", "Segoe UI", sans-serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;

  --h1: clamp(1.95rem, 4.1vw, 3.1rem);
  --h2: clamp(1.65rem, 3vw, 2.35rem);
  --band: clamp(3.75rem, 7.5vw, 6rem);
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; color-scheme: light; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; background: var(--veld); }
svg { display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; }
.models .custom :focus-visible, .footer :focus-visible, .builder-bar :focus-visible { outline-color: var(--gold); }

.wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); position: relative; }
h1, h2 { font-family: var(--display); font-stretch: 114%; color: var(--green); text-wrap: balance; }
h1 { font-size: var(--h1); font-weight: 850; line-height: 1.12; letter-spacing: -.015em; }
h2 { font-size: var(--h2); font-weight: 780; line-height: 1.16; letter-spacing: -.01em; }
h3 { font: 700 1.3rem/1.25 var(--display); font-stretch: 108%; color: var(--green); }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--white); color: var(--green); padding: .6rem 1rem; z-index: 30; }
.skip:focus { top: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .72em 1.45em; border-radius: 99px; border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.25; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .18s, color .18s; }
.btn-solid { background: var(--brick); color: var(--white); }
.btn-solid:hover { background: var(--brick-deep); }
.btn-line { border-color: var(--green-mid); color: var(--green-mid); background: var(--white); }
.btn-line:hover { background: var(--green-mid); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: #f5c557; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 3px solid var(--brick); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--green); }
.brand-mark { width: 2.6rem; height: 2.6rem; flex: none; }
.mark-roof { fill: var(--green); }
.mark-brick { fill: var(--brick); }
.mark-door { fill: var(--gold); }
.brand-name { display: block; font: 800 1.08rem/1.15 var(--display); font-stretch: 95%; }
.brand-tag { display: block; font-size: .9rem; line-height: 1.25; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.6rem); }
.nav a:not(.btn) { color: var(--green); text-decoration: none; font-weight: 550; padding-block: .4rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:not(.btn):hover, .nav a.is-here { border-bottom-color: var(--gold); }
.nav .btn { white-space: nowrap; }
.menu-btn { display: none; align-items: center; gap: .6rem; min-height: 2.75rem; padding: 0 .9rem; background: none; border: 1.5px solid var(--green-mid); border-radius: 99px; color: var(--green-mid); font-weight: 600; cursor: pointer; flex: none; }
.menu-bars { width: 1rem; height: .6rem; border-block: 2px solid currentColor; }

/* House drawings */
.house { width: 100%; height: auto; overflow: hidden; }
.house polygon, .house path, .house ellipse { stroke-linejoin: round; }
.ground { fill: #e6cf95; }
.path { fill: #d4b673; }
.shade { fill: #c9ab66; }
.slab.f { fill: #b9b3a3; } .slab.r { fill: #9b9586; } .slab.t { fill: #d3cec0; }
.deck.f { fill: #94663a; } .deck.r { fill: #7a5230; } .deck.t { fill: #b78250; }
.plaster.f { fill: #fffaf0; } .plaster.r { fill: #ddd3bd; }
.brick.f { fill: #b9492f; } .brick.r { fill: #8c331d; }
.inside { fill: #6a2716; }
.joint { stroke: rgba(50, 30, 10, .14); stroke-width: 1; }
.glass { fill: #a9ced3; stroke: #24382f; stroke-width: 2; }
.frame { stroke: #24382f; stroke-width: 2; }
.door { fill: var(--gold); stroke: #24382f; stroke-width: 2; }
.roof { fill: #2a6b4c; }
.sheet { stroke: rgba(0, 30, 15, .28); stroke-width: 1; }
.fascia { fill: #0f3d28; } .fascia.r { fill: #0b2f1f; }
.house .post { stroke: #5c3d22; stroke-width: 5; stroke-linecap: round; }
.slat { stroke: #7a5230; stroke-width: 3; }
.panel { fill: #18344f; stroke: #c9d6e0; stroke-width: 1; }
.cell { stroke: rgba(255, 255, 255, .35); stroke-width: 1; }
.house .tank { fill: #2f7d58; } .tank-top { fill: #439a70; } .tank-lid { fill: #1d6443; } .ring { fill: none; stroke: #1d6443; stroke-width: 2; }
.tar { fill: #6e6a63; } .dash { fill: #f4e7c0; }
.bed.f { fill: #3c3a36; } .bed.r { fill: #2b2926; } .bed.t { fill: #56534d; }
.cab.f { fill: #e9ae2e; } .cab.r { fill: #c68f17; } .cab.t { fill: #f5c557; }
.wheel { fill: #1c1b19; } .hub { fill: #a7a29a; }
.cable { stroke: #24382f; stroke-width: 2.5; }
@media (prefers-reduced-motion: no-preference) {
  .drop { animation: drop .55s cubic-bezier(.3, .9, .4, 1) backwards; }
}
@keyframes drop { from { transform: translateY(-70px); opacity: 0; } }

/* Floor plans */
.room { fill: #fffdf6; stroke: var(--green); stroke-width: 2; }
.room.bed { fill: #f7e3d6; }
.shell { fill: none; stroke: var(--green); stroke-width: 5; }
.gap { stroke: #fffdf6; stroke-width: 7; }
.swing { fill: none; stroke: var(--green); stroke-width: 1.5; }
.plan text, .is-plan text { font: 600 21px var(--body); fill: var(--ink); }
.is-plan text { font-size: 15px; }

/* Hero */
.hero { background: var(--white); padding-block: clamp(2rem, 3.8vw, 3.25rem) clamp(2.75rem, 5vw, 4.25rem); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1rem; row-gap: clamp(1.2rem, 2.2vw, 1.8rem); }
.hero h1 { grid-column: 1 / -1; }
.hero-intro { grid-column: 1 / 6; grid-row: 2; display: grid; gap: 1.4rem; align-content: start; }
.hero-intro p { font-size: 1.125rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-s1, .hero-s2 { grid-row: 3; width: 100%; height: 100%; min-height: 10rem; object-fit: cover; }
.hero-s1 { grid-column: 1 / 4; }
.hero-s2 { grid-column: 4 / 6; }
.builder { grid-column: 6 / -1; grid-row: 2 / 4; margin-left: 1rem; background: var(--veld); display: flex; flex-direction: column; }
.builder .house { flex: 1; min-height: 0; padding: .5rem .75rem 0; }
.builder-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.1rem; padding: 1rem 1.25rem 1.2rem; background: var(--green); color: var(--white); }
.opts { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.builder-bar .btn { flex: 1 1 100%; }
.opts-label { font-weight: 600; margin-right: .25rem; }
.opt { min-width: 2.75rem; min-height: 2.75rem; padding: 0 .85rem; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 99px; background: transparent; color: var(--white); font-weight: 600; cursor: pointer; transition: background-color .18s, color .18s; }
.opt:hover { background: rgba(255, 255, 255, .14); }
.opt.is-on { background: var(--white); border-color: var(--white); color: var(--green); }

/* Facts */
.facts { background: var(--brick); color: #fbe6de; }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; padding-block: clamp(1.75rem, 3vw, 2.4rem); }
.facts strong { display: block; font: 800 1.2rem/1.3 var(--display); font-stretch: 108%; color: var(--white); }

/* About */
.about { padding-block: var(--band); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-fig img { width: 100%; aspect-ratio: 1 / .92; object-fit: cover; object-position: 50% 30%; }
.about-text { display: grid; gap: 1.2rem; justify-items: start; }
.about-text p { max-width: 34rem; }
.about-text .btn { margin-top: .5rem; }

/* Models */
.models { color: var(--on-green); padding-block: var(--band); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='80'%3E%3Cpath d='M0 .5h120M0 40.5h120M.5 0v40M60.5 40v40' fill='none' stroke='%23fff' stroke-opacity='.055'/%3E%3C/svg%3E"); }
.models h2 { color: var(--white); }
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 3rem; }
.split-head p { max-width: 33rem; }
.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: clamp(1.8rem, 3.5vw, 2.75rem); }
.model { background: var(--white); color: var(--ink); display: flex; flex-direction: column; }
.model > .house { aspect-ratio: 5 / 4; background: var(--veld); padding: .5rem; }
.model-body { display: flex; flex-direction: column; gap: .7rem; flex: 1; padding: 1.4rem 1.4rem 1.6rem; }
.model-body p { color: var(--ink-soft); }
.plan { width: 100%; margin-block: auto .5rem; }
.model .btn { align-self: flex-start; }
.custom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem 2rem; margin-top: 1.5rem; padding: 1.6rem; border: 2px dashed rgba(255, 255, 255, .5); background: var(--green); }
.custom h3 { color: var(--white); margin-bottom: .3rem; }

/* Formats */
.formats { padding-block: var(--band); }
.center-head { display: grid; gap: .8rem; justify-items: center; text-align: center; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.center-head p { max-width: 38rem; }
.format-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5rem); max-width: 62rem; margin-inline: auto; }
.format { display: grid; gap: .7rem; align-content: start; }
.format-ico { width: 6rem; height: 4rem; fill: none; stroke-width: 3; margin-bottom: .3rem; }
.format-ico .a { stroke: var(--green); }
.format-ico .b { stroke: var(--brick); }
.format dl { margin-top: .6rem; }
.format dl div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); padding-block: .7rem; border-top: 1px solid #d9d3c0; }
.format dt { font-weight: 600; color: var(--brick); }

/* Process */
.process { background: var(--veld); padding-block: var(--band); }
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); max-width: 68rem; margin-inline: auto; }
.steps { display: grid; gap: .25rem; align-content: center; }
.step { display: grid; gap: .1rem; width: 100%; text-align: left; background: none; border: 0; padding: .85rem 1.25rem; cursor: pointer; transition: background-color .18s; }
.step:hover { background: rgba(255, 255, 255, .5); }
.step.is-on { background: var(--white); }
.step-n { font-size: .93rem; font-weight: 600; color: var(--brick); }
.step-t { font: 740 1.3rem/1.2 var(--display); font-stretch: 112%; color: var(--green); }
.step-d { color: var(--ink-soft); margin-top: .2rem; }
.stage-pics { position: relative; min-height: 30rem; background: var(--veld-pale); }
.stage-pics svg { position: absolute; inset: 0; width: 100%; height: 100%; padding: 1.25rem; opacity: 0; transition: opacity .3s; }
.stage-pics svg.is-on { opacity: 1; }

/* Road */
.road { position: relative; }
.road img { width: 100%; height: clamp(15rem, 32vw, 25rem); object-fit: cover; object-position: 50% 62%; }
.road .wrap { position: absolute; inset: auto 0 0; padding-bottom: clamp(1.25rem, 3vw, 2.25rem); }
.road h2 { display: inline-block; background: var(--green); color: var(--white); padding: .55em .8em; }

/* Delivery */
.delivery { padding-block: var(--band); }
.delivery-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.delivery-text { display: grid; gap: 1.2rem; }
.posts { counter-reset: p; display: grid; gap: .6rem; }
.posts li { counter-increment: p; display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .6rem; }
.posts li::before { content: counter(p); display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--brick); color: var(--white); font-weight: 700; font-size: .95rem; }
.posts strong { color: var(--green); }
.small { color: var(--ink-soft); font-size: 1rem; }
#map { width: 100%; height: auto; overflow: hidden; }
.land { stroke: var(--white); stroke-width: 2; stroke-linejoin: round; }
.land.home { fill: var(--green); } .land.done { fill: var(--gold); } .land.ask { fill: #f0dca6; } .land.other { fill: #cfd6c9; }
.country { font: 700 17px var(--display); font-stretch: 95%; fill: var(--green-deep); }
.country.on-home { fill: var(--white); font-size: 21px; }
#map .post { fill: var(--brick); stroke: var(--white); stroke-width: 2; }
.post-n { font: 700 14px var(--body); fill: var(--white); }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1rem; }
.k { display: inline-flex; align-items: center; gap: .5rem; }
.k::before { content: ""; width: 1.1rem; height: 1.1rem; }
.k.home::before { background: var(--green); } .k.done::before { background: var(--gold); } .k.ask::before { background: #f0dca6; }

/* What the quote covers */
.clear { background: var(--veld-pale); padding-block: var(--band); }
.clear-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3.5rem); }
.clear-grid h3 { padding-bottom: .7rem; border-bottom: 3px solid var(--gold); }
.clear-grid li { padding-block: .6rem; border-bottom: 1px solid #e3dabd; }

/* FAQ */
.faq { padding-block: var(--band); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: start; }
.faq details { border-bottom: 1px solid #d9d3c0; }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem; font-weight: 650; font-size: 1.12rem; color: var(--green); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brick); font-weight: 700; font-size: 1.4rem; line-height: 1.2; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 1.2rem; max-width: 40rem; }

/* Quote */
.quote { background: var(--veld); padding-block: var(--band); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.quote-text { display: grid; gap: 1.1rem; }
.contact { display: grid; gap: .8rem; margin-top: .6rem; }
.contact li { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); overflow-wrap: anywhere; }
.contact span { color: var(--brick); font-weight: 600; }
.contact a { color: var(--green); font-weight: 600; text-underline-offset: .2em; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; background: var(--white); padding: clamp(1.25rem, 3vw, 2.25rem); }
.field { display: grid; gap: .4rem; align-content: start; }
.wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 1rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: .65rem .85rem; border: 1.5px solid #8b9488; border-radius: 0; background: var(--white); }
.field textarea { resize: vertical; }
.field :focus-visible { outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: .97rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.hint { color: var(--ink-soft); font-size: 1rem; flex-basis: 100%; }

/* Footer */
.footer { background: var(--green-deep); color: var(--on-green); padding-block: clamp(2.5rem, 5vw, 3.75rem) 5rem; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.75rem 3rem; }
.brand-inv { color: var(--white); }
.brand-inv .mark-roof { fill: var(--white); }
.brand-inv .brand-tag { color: var(--on-green); }
.foot-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.foot-nav a { text-decoration: none; padding-block: .35rem; }
.foot-nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .25em; }
.legal { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .22); font-size: .97rem; }

.wa { position: fixed; right: 1rem; bottom: 1rem; z-index: 15; display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.25rem; border-radius: 99px; background: var(--green-mid); color: var(--white); border: 2px solid var(--white); font-weight: 650; text-decoration: none; }
.wa:hover { background: var(--green); }

/* Medium */
@media (max-width: 68rem) {
  .menu-btn { display: inline-flex; }
  .js .nav { display: none; }
  .nav { position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.1rem var(--gutter) 1.6rem; background: var(--white); border-bottom: 3px solid var(--brick); }
  html:not(.js) .nav { position: static; border: 0; }
  html:not(.js) .header-row { flex-wrap: wrap; }
  html:not(.js) .menu-btn { display: none; }
  .js .nav.is-open { display: flex; }
  .nav a:not(.btn) { font-size: 1.15rem; padding-block: .5rem; }
}
@media (max-width: 56rem) {
  .hero-intro { grid-column: 1 / -1; }
  .builder { grid-column: 1 / -1; grid-row: 3; margin-left: 0; }
  .hero-s1, .hero-s2 { grid-row: 4; aspect-ratio: 1; height: auto; }
  .hero-s1 { grid-column: 1 / 7; }
  .hero-s2 { grid-column: 7 / -1; }
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-grid, .clear-grid, .faq-grid, .quote-grid, .delivery-grid { grid-template-columns: minmax(0, 1fr); }
  .model { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .model > .house { aspect-ratio: auto; height: 100%; }
}

/* Small */
@media (max-width: 42rem) {
  .about-grid, .process-grid, .format-grid, .form { grid-template-columns: minmax(0, 1fr); }
  .stage-pics { min-height: 0; aspect-ratio: 5 / 4; order: -1; position: sticky; top: 5rem; z-index: 1; }
  .stage-pics svg { padding: .5rem; }
  .model { display: flex; }
  .model > .house { aspect-ratio: 5 / 4; height: auto; }
  .builder-bar { padding: 1rem; }
  .builder-bar .btn { width: 100%; }
  .format dl div { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .country { font-size: 21px; } .country.on-home { font-size: 25px; }
  #map .post { r: 15px; } .post-n { font-size: 17px; }
}
@media (max-width: 26rem) {
  .brand-tag { max-width: 11rem; }
  .facts-row { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
}

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

/* Phones: keep the header to one or two lines and the email address unbroken */
@media (max-width: 30rem) {
  .site-header .brand-tag { display: none; }
  .contact li { grid-template-columns: minmax(0, 1fr); }
}
