:root {
  --ink: #1c1712;
  --ink-soft: #433d36;
  --muted: #5e574e;
  --line: rgba(28, 23, 18, 0.16);
  --paper: #f7f3ec;
  --cream: #fbf8f3;
  --sand: #efe4d4;
  --ochre: #c56a32;
  --ochre-deep: #8a3f1d;
  --rust: #7e342c;
  --wheat: #e2c27a;
  --sage: #24352d;
  --river: #1e2a30;
  --danger: #8e2f2a;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
  --header: 4.25rem;
}

html:not(.site-ready) body {
  visibility: hidden;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.15rem, 1.3rem + 2.5vw, 3.8rem);
  margin: 0;
}

h3 {
  margin: 0;
}

p {
  margin: 0;
  color: var(--ink-soft);
  text-wrap: pretty;
}

a {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure,
blockquote,
dl,
dd,
fieldset {
  margin: 0;
}

fieldset {
  border: 0;
  padding: 0;
  min-inline-size: 0;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
  appearance: none;
}

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

::selection {
  background: #e7c4a4;
  color: var(--ink);
}

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

.band-river :focus-visible,
.band-sage :focus-visible,
.facts-band :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--cream);
}

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre-deep);
}

.lede {
  max-width: 40rem;
  margin-top: 1rem;
  font-size: 1.125rem;
}

.section {
  padding-block: clamp(4rem, 8vw, 6.75rem);
}

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

.head-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
  max-width: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.mark {
  width: 1.35rem;
  display: grid;
  gap: 3px;
}

.mark span {
  display: block;
  height: 3px;
  margin-left: auto;
}

.mark span:nth-child(1) {
  width: 100%;
  background: var(--ochre);
}

.mark span:nth-child(2) {
  width: 72%;
  background: var(--rust);
}

.mark span:nth-child(3) {
  width: 88%;
  background: var(--ink);
}

.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.logo-paint {
  margin-top: 0.18rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.98rem;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.nav-cta {
  margin-left: 0.4rem;
  border: 1px solid var(--ink);
  padding: 0.45rem 0.7rem;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
}

.hero {
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.72fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: stretch;
  min-height: calc(100svh - 9.5rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 100%;
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.7rem, 1rem + 5.4vw, 6.15rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-wrap: auto;
}

.hero h1 em {
  font-style: italic;
  font-weight: 520;
}

.hero-deck {
  max-width: 36rem;
  margin-bottom: 1.6rem;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.core {
  height: 100%;
  min-height: 28rem;
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  gap: 0.45rem;
}

.core li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
  min-height: 0;
  position: relative;
}

.core-label {
  align-self: center;
  text-align: right;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--muted);
}

.core-bar {
  display: block;
  height: 100%;
  min-height: 1.4rem;
  margin-left: auto;
}

.bar-1 { background: #d5dde2; width: 100%; }
.bar-2 { background: #f3e6d0; width: 86%; }
.bar-3 { background: #c56a32; width: 100%; }
.bar-4 { background: #e2c27a; width: 72%; }
.bar-5 { background: #5e705f; width: 94%; }
.bar-6 { background: #3e4c55; width: 68%; }
.bar-7 { background: #2a2420; width: 100%; }

.facts-band {
  background: var(--ink);
  color: var(--cream);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.facts li {
  padding: 1.35rem 1.25rem 1.45rem 0;
  border-left: 1px solid rgba(251, 248, 243, 0.16);
  padding-left: 1.15rem;
}

.facts li:first-child {
  border-left: 0;
  padding-left: 0;
}

.facts strong {
  display: block;
  font-family: var(--serif);
  font-weight: 520;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.facts span {
  display: block;
  margin-top: 0.25rem;
  color: #ddd4c8;
  font-size: 0.95rem;
}

.about-grid,
.feature,
.estimate-layout,
.prepare-grid,
.area-groups,
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.about-grid {
  align-items: start;
}

.pull {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 520;
  font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stack {
  display: grid;
  gap: 1rem;
}

.service-list {
  border-bottom: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 3.5rem minmax(9rem, 14rem) minmax(0, 1fr);
  gap: 1rem 1.5rem;
  align-items: baseline;
  padding: 1.35rem 0.4rem;
  border-top: 1px solid var(--line);
}

.service-row:hover {
  background: rgba(197, 106, 50, 0.08);
}

.service-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 520;
  color: var(--ochre-deep);
  font-size: 1.25rem;
}

.service-row h3 {
  font-size: clamp(1.45rem, 1.1rem + 1vw, 1.85rem);
}

.band-sand {
  background: var(--sand);
}

.band-river {
  background: var(--river);
  color: var(--cream);
}

.band-sage {
  background: var(--sage);
  color: var(--cream);
}

.band-river h2,
.band-river h3,
.band-sage h2,
.band-sage h3 {
  color: var(--cream);
}

.band-river p,
.band-sage p,
.band-river li,
.band-sage li {
  color: #e7e0d6;
}

.band-sage .eyebrow,
.band-river .eyebrow {
  color: #f0c9a0;
}

.feature {
  align-items: center;
}

.feature-visual .study {
  min-height: 28rem;
  height: 100%;
}

.plain li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.band-river .plain li {
  border-bottom-color: rgba(251, 248, 243, 0.16);
  color: #e7e0d6;
}

.plain {
  margin-top: 1.5rem;
}

.seasons,
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.25rem;
}

.seasons h3,
.process h3 {
  font-size: 1.7rem;
  margin-bottom: 0.55rem;
}

.seasons h3 {
  font-style: italic;
  font-weight: 520;
}

.process li span {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 520;
  font-size: 2.4rem;
  color: var(--ochre-deep);
  line-height: 1;
}

.colour-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1.25rem;
  align-items: stretch;
}

.colour-stage {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.35rem;
  min-height: 32rem;
  padding: 0.35rem;
  background: var(--ink);
}

.stage-chip {
  background: #f3e6d0;
  min-height: 16rem;
  box-shadow: inset 0 0 0 1px rgba(28, 23, 18, 0.16);
}

.stage-copy {
  background: var(--cream);
  color: var(--ink);
  padding: 1.2rem 1.2rem 1.35rem;
}

.stage-kicker,
#colour-hex {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

#colour-name {
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(2.3rem, 1.5rem + 2vw, 3.6rem);
  font-style: italic;
  font-weight: 520;
}

#colour-note {
  max-width: 36rem;
}

.swatch {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.8rem;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0.35rem;
  cursor: pointer;
  align-items: center;
}

.swatch i {
  display: block;
  height: 3.25rem;
  box-shadow: inset 0 0 0 1px rgba(28, 23, 18, 0.18);
}

.swatch-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.swatch-hex {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.swatch.is-active {
  background: rgba(197, 106, 50, 0.1);
}

.swatch.is-active .swatch-name {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.8rem 1rem;
}

.span-2 { grid-column: span 2; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }

.work-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
}

.work-card .study {
  flex: 1 1 auto;
  min-height: 13rem;
}

.span-4 .study,
.feature-visual .study {
  min-height: 22rem;
}

.work-kicker {
  margin-bottom: 0.28rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre-deep);
}

.work-meta h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.study {
  display: grid;
  gap: 4px;
  padding: 4px;
  background: var(--ink);
  min-height: 12rem;
}

.study span {
  display: block;
  min-width: 0;
  min-height: 0;
}

.study-living {
  grid-template-columns: 1fr 0.72fr 1fr;
  grid-template-rows: 0.28fr 1.45fr 0.1fr 0.34fr;
}

.study-living .ceiling { grid-column: 1 / -1; background: #f7f1e6; }
.study-living .wall { background: #f3e6d0; }
.study-living .window { background: #d5dde2; }
.study-living .base { grid-column: 1 / -1; background: #2a2420; }
.study-living .floor { grid-column: 1 / -1; background: #c6a36a; }

.study-exterior {
  grid-template-columns: 1fr 0.4fr 1fr;
  grid-template-rows: 0.42fr 0.14fr 1fr 0.24fr;
}

.study-exterior .sky { grid-column: 1 / -1; background: #d5dde2; }
.study-exterior .fascia { grid-column: 1 / -1; background: #f3e6d0; }
.study-exterior .siding { background: #d7c4a4; }
.study-exterior .door { background: #c56a32; }
.study-exterior .foundation { grid-column: 1 / -1; background: #3e4c55; }

.study-cafe {
  grid-template-rows: 1.15fr 0.08fr 0.72fr 0.28fr;
}

.study-cafe .upper { background: #e2c27a; }
.study-cafe .rail { background: #f3e6d0; }
.study-cafe .wainscot { background: #3e4c55; }
.study-cafe .floor { background: #6b4a32; }

.study-kitchen {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1.05fr 0.72fr 0.2fr;
}

.study-kitchen .wall { grid-column: 1 / -1; background: #f3e6d0; }
.study-kitchen .door { background: #3e4c55; }
.study-kitchen .counter { grid-column: 1 / -1; background: #d7b56a; }

.study-shop {
  grid-template-columns: 0.18fr 1fr 0.34fr 1fr 0.18fr;
  grid-template-rows: 0.16fr 1fr 0.3fr;
}

.study-shop .awning { grid-column: 1 / -1; background: #c56a32; }
.study-shop .pier { background: #2a2420; }
.study-shop .glass { background: #d5dde2; }
.study-shop .door { background: #3e5246; }
.study-shop .bulk { grid-column: 1 / -1; background: #f3e6d0; }

.study-acreage {
  grid-template-rows: 0.7fr 0.2fr 0.2fr 0.2fr 0.2fr 0.38fr;
}

.study-acreage .sky { background: #d5dde2; }
.study-acreage .a { background: #8d5a3c; }
.study-acreage .b { background: #a86b45; }
.study-acreage .c { background: #6e4632; }
.study-acreage .d { background: #c0845a; }
.study-acreage .ground { background: #3e5246; }

.towns li {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 1rem + 1.3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--cream);
  padding: 0.4rem 0;
  border-top: 1px solid rgba(247, 243, 236, 0.2);
}

.area-groups h3 {
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.quote-lead {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.quote-lead blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 520;
  font-size: clamp(1.8rem, 1.15rem + 2vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.quote-grid {
  margin-top: 2.4rem;
  align-items: start;
}

.quote-grid blockquote {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}

figcaption {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.prepare-grid h3 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.05rem;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
  letter-spacing: -0.02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  max-width: 42rem;
  padding-top: 0.75rem;
}

.estimate-layout {
  align-items: start;
}

.contact-bits {
  margin-top: 2rem;
  display: grid;
  gap: 1.1rem;
}

.contact-bits dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-bits dd {
  margin-top: 0.15rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.contact-bits a {
  text-underline-offset: 0.14em;
}

.form-panel {
  background: var(--cream);
  padding: clamp(1.15rem, 2vw, 1.8rem);
}

.form-banner {
  margin-bottom: 0.8rem;
  color: var(--danger);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.15rem;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input:not([type="radio"]),
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(28, 23, 18, 0.38);
  border-radius: 0;
  padding: 0.6rem 0;
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 8.5rem;
  line-height: 1.5;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--ochre-deep);
  outline-offset: 3px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7a7268;
  opacity: 1;
}

.field.has-error input,
.field.has-error textarea {
  border-bottom-color: var(--danger);
}

.error {
  margin-top: 0.35rem;
  color: var(--danger);
  font-size: 0.88rem;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.choice span {
  display: inline-block;
  border: 1px solid rgba(28, 23, 18, 0.28);
  padding: 0.5rem 0.7rem;
  line-height: 1.2;
  background: transparent;
}

.choice input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.choice input:focus-visible {
  outline: none;
}

.choice input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.form-note {
  flex: none;
  max-width: 36rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.success h3 {
  font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.5rem);
  margin-bottom: 0.7rem;
}

.summary-list {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0.55rem 1rem;
  margin: 1.2rem 0 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.summary-list dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.summary-list dd {
  white-space: pre-wrap;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.site-footer {
  background: var(--ink);
  color: #f3ece3;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.site-footer h2 {
  color: var(--cream);
  font-size: 1.8rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #ddd4c8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 2rem 1.5rem;
}

.footer-brand p {
  margin-top: 0.8rem;
  max-width: 26rem;
}

.site-footer h3 {
  margin-bottom: 0.7rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0c9a0;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.site-footer a:hover {
  color: var(--cream);
}

.site-footer .logo-name {
  color: var(--cream);
}

.site-footer .logo-paint {
  color: #cbbfae;
}

.site-footer .mark span:nth-child(3) {
  background: #f3e6d0;
}

.legal {
  margin-top: 2.5rem;
  padding: 1.1rem 0 1.4rem;
  border-top: 1px solid rgba(243, 236, 227, 0.16);
  font-size: 0.88rem;
}

section[id],
#estimate-success {
  scroll-margin-top: 5rem;
}

@media (max-width: 980px) {
  .head-split,
  .colour-layout,
  .footer-grid,
  .about-grid,
  .feature,
  .estimate-layout,
  .prepare-grid,
  .area-groups,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .seasons,
  .process {
    grid-template-columns: 1fr 1fr;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .facts li:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .feature-visual .study,
  .span-4 .study {
    min-height: 18rem;
  }

  .colour-stage {
    min-height: 0;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    display: block;
  }

  .hero-bottom {
    margin-top: 1.4rem;
  }

  .core {
    height: 4.75rem;
    min-height: 0;
    display: flex;
    gap: 4px;
    margin-top: 2rem;
  }

  .core li {
    display: block;
    flex: 1 1 0;
    height: 100%;
    min-height: 0;
  }

  .core-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .core .core-bar {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 760px) {
  :root {
    --wrap: min(1120px, calc(100% - 1.5rem));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.25rem 1.25rem 1rem;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.8rem;
    margin-left: 0;
    text-align: center;
    border-bottom: 0;
  }

  .service-row {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 0.25rem 0.75rem;
  }

  .service-row p {
    grid-column: 2;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .span-2,
  .span-4,
  .span-6 {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .form-grid,
  .seasons,
  .process,
  .facts {
    grid-template-columns: 1fr;
  }

  .facts li,
  .facts li:first-child,
  .facts li:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(251, 248, 243, 0.16);
  }

  .facts li:first-child {
    border-top: 0;
  }

  .summary-list {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .summary-list dd {
    margin-bottom: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
