/* ==========================================================================
   Wildwood Landscaping — homepage mockup
   Design notes
   - The logo is a landscape in a roundel: an oak on the horizon, a half-sun
     above, ploughed furrows below. The page borrows that geometry:
       .arch   the half-sun, used as a window for photography
       .band   the ruled band that carries the wordmark, used for labels
       .field  the furrows, hanging from the hero as the page's "ground"
   - Colour comes straight from the logo (green #3c451d, cream #faf9d5) plus
     two tones taken from the work itself: the sage of the extension's front
     door and the honey of Cotswold stone.
   - Type: Besley (a Clarendon revival) for voice, Libre Franklin for
     information.
   ========================================================================== */

@font-face {
  font-family: "Besley";
  src: url("../assets/fonts/besley.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Besley";
  src: url("../assets/fonts/besley-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("../assets/fonts/libre-franklin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --green: #3c451d;
  --green-deep: #2a3114;
  --green-lift: #4b5628;
  --ink: #1d230d;
  --ink-soft: #4a5231;
  --cream: #faf9d5;
  --plaster: #ebe9d9;
  --plaster-deep: #dedbc4;
  --sage: #c3d1b5;
  --sage-deep: #8fa684;
  --stone: #cdbb8c;

  --rule-on-green: rgba(250, 249, 213, 0.32);
  --rule-on-plaster: rgba(29, 35, 13, 0.3);

  --font-display: "Besley", Georgia, "Times New Roman", serif;
  --font-body: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1320px;
  --header-h: 68px;
  --band-h: 54px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
p,
ul,
dl,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--cream);
  color: var(--green-ink, var(--ink));
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2.1rem, 1.1rem + 3.4vw, 3.9rem);
  line-height: 1.04;
}
h2 em,
h1 em {
  font-style: italic;
  font-weight: 500;
}
h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem);
  line-height: 1.12;
}

/* The wordmark band from the logo: a word framed by two rules. */
.band {
  display: block;
  padding: 0.62rem 0;
  border-block: 1px solid currentColor;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
  text-decoration: none;
}
.link svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.2s ease;
}
.link:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 3.25rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--cream);
  background: var(--cream);
  color: var(--green-deep);
  font: 600 1rem/1.2 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover {
  background: transparent;
  color: var(--cream);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
}
.btn--ghost:hover {
  background: var(--cream);
  color: var(--green-deep);
}
.btn--dark {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}
.btn--dark:hover {
  background: transparent;
  color: var(--green);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  height: var(--header-h);
  padding-inline: var(--gutter);
  background: var(--green);
  color: var(--cream);
  border-bottom: 1px solid var(--rule-on-green);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  text-decoration: none;
}
.brand__mark {
  width: auto;
  height: 38px;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand__name span {
  display: block;
  margin-top: 0.38rem;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav {
  display: flex;
  gap: clamp(18px, 2.6vw, 38px);
}
.nav a {
  padding-block: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.nav a:hover {
  border-bottom-color: var(--cream);
}

.header__call {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--cream);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.header__call:hover {
  background: var(--cream);
  color: var(--green-deep);
}

.menu-btn {
  display: none;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: 600 0.8125rem/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 2;
  background: var(--green);
  color: var(--cream);
  --ring: 14px;
  /* room above the arch for its two rings */
  --hero-pad: 54px;
  /* the arch takes whatever the viewport leaves under the header and above the band,
     so copy, buttons, photo and band are all on screen together */
  --arch-h: clamp(420px, calc(100svh - var(--header-h) - var(--band-h) - var(--hero-pad)), 960px);
  --arch-w: min(calc(var(--arch-h) * 0.8333), 40vw);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: clamp(32px, 5vw, 88px);
  max-width: min(1680px, calc(var(--maxw) + var(--gutter) * 2 + 360px));
  margin-inline: auto;
  padding: var(--hero-pad) var(--gutter) 0;
}

.hero__copy {
  align-self: center;
}

.hero__copy .band {
  display: inline-block;
  padding-inline: 0;
  margin-bottom: clamp(14px, 3.2svh, 40px);
  color: var(--sage);
}

.hero h1 {
  font-size: clamp(2.9rem, min(0.9rem + 5.2vw, 8.6svh), 6.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.022em;
}
.hero h1 span,
.hero h1 em {
  display: block;
}
.hero h1 em {
  margin-top: 0.12em;
  color: var(--sage);
  font-weight: 500;
}

.hero__lede {
  max-width: 34rem;
  margin-top: clamp(14px, 3svh, 32px);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  color: rgba(250, 249, 213, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(18px, 3.4svh, 36px);
}

.hero__proof {
  margin-top: clamp(14px, 2.6svh, 22px);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: rgba(250, 249, 213, 0.78);
}
.hero__proof a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule-on-green);
}
.hero__proof a:hover {
  border-bottom-color: var(--cream);
}

/* the half-sun: the logo's dome, opened up as a window */
.hero__art {
  position: relative;
  width: calc(var(--arch-w) + var(--ring) * 4);
  padding-inline: calc(var(--ring) * 2);
}

.arch {
  position: relative;
  border-radius: 999px 999px 0 0;
  background: var(--green-lift);
}
.arch::before,
.arch::after {
  content: "";
  position: absolute;
  inset: calc(var(--ring) * -1) calc(var(--ring) * -1) 0;
  border: 1px solid var(--rule-on-green);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.arch::after {
  inset: calc(var(--ring) * -2) calc(var(--ring) * -2) 0;
  border-color: rgba(250, 249, 213, 0.5);
}
.arch img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 999px 999px 0 0;
}
.hero__art .arch {
  width: var(--arch-w);
  margin-inline: auto;
}
/* a touch wider than the 3:4 photo, trimming a little sky and gravel */
.hero__art .arch img {
  aspect-ratio: 5 / 6;
  object-position: 50% 58%;
}

.hero__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-height: 100%;
  padding-bottom: 10px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--sage);
}

/* the horizon: services set in the band, exactly as the logo sets its name */
.hero__band {
  border-block: 1px solid var(--rule-on-green);
  margin-top: 0;
}
.hero__band ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  min-height: var(--band-h);
  margin-inline: auto;
  padding: 0.5rem var(--gutter);
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__band li {
  white-space: nowrap;
}
.hero__band li + li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 1.05em 0.14em;
  border-radius: 50%;
  background: var(--stone);
}

/* the furrows: the logo's lower half, hanging from the hero into the page */
.field {
  position: absolute;
  top: calc(100% + var(--band-h) + 1px);
  left: 50%;
  width: clamp(220px, 24vw, 360px);
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
}
.field__disc {
  fill: var(--green);
}
.field__rays {
  fill: var(--cream);
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Introduction
   -------------------------------------------------------------------------- */
.intro {
  position: relative;
  z-index: 1;
  padding-block: clamp(72px, 10vw, 140px) clamp(72px, 9vw, 130px);
}

.intro__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 56px;
}

.intro__lead {
  grid-column: 1 / span 7;
}
.intro__lead .band {
  display: inline-block;
  margin-bottom: clamp(24px, 3vw, 40px);
  color: var(--ink-soft);
}
.intro__lead h2 {
  font-size: clamp(2rem, 1rem + 3.2vw, 3.7rem);
  line-height: 1.08;
}
.intro__lead p {
  max-width: 38rem;
  margin-top: 28px;
  color: var(--ink-soft);
}

.facts {
  grid-column: 9 / -1;
  align-self: end;
  margin-top: clamp(0px, 14vw, 230px);
}
.facts div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block: 16px;
  border-top: 1px solid var(--rule-on-plaster);
}
.facts div:last-child {
  border-bottom: 1px solid var(--rule-on-plaster);
}
.facts dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.facts dd {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
}
.facts a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule-on-plaster);
}
.facts a:hover {
  border-bottom-color: var(--ink);
}

/* --------------------------------------------------------------------------
   Work
   -------------------------------------------------------------------------- */
.work {
  padding-block: 0 clamp(72px, 10vw, 140px);
}

.work__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 24px;
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.work__head .band {
  grid-column: 1 / -1;
  color: var(--ink-soft);
}
.work__head h2 {
  grid-column: 1 / span 8;
}
.work__head p {
  grid-column: 10 / -1;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}
.work__head p .link {
  display: flex;
  width: max-content;
  margin-top: 12px;
}

.job {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 28px;
  align-items: start;
  margin-bottom: clamp(72px, 9vw, 128px);
}
.job:last-child {
  margin-bottom: 0;
}

.job__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.job__kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.job__text p:not(.job__kicker) {
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 26rem;
}
.job__text .link {
  width: max-content;
  margin-top: 6px;
}

/* A plate: photograph, hairline keyline, quiet caption */
.plate {
  position: relative;
}
.plate__frame {
  position: relative;
  background: var(--plaster-deep);
}
.plate__frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(250, 249, 213, 0.55);
  pointer-events: none;
}
.plate img {
  width: 100%;
  height: auto;
}
.plate figcaption {
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
.plate__tag {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  padding: 0.4rem 0.8rem;
  background: var(--cream);
  color: var(--green-deep);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Extension: text left, a wide plate and a smaller one dropped below it */
.job--extension .job__text {
  grid-column: 1 / span 4;
  grid-row: 1;
  padding-top: 24px;
}
.job--extension .plate--a {
  grid-column: 5 / span 5;
  grid-row: 1;
}
.job--extension .plate--b {
  grid-column: 10 / span 3;
  grid-row: 1;
  margin-top: clamp(80px, 12vw, 180px);
}

/* Patio: a before and an after, text on the right */
.job--patio .plate--a {
  grid-column: 1 / span 4;
  grid-row: 1;
}
.job--patio .plate--b {
  grid-column: 5 / span 4;
  grid-row: 1;
  margin-top: clamp(40px, 6vw, 88px);
}
.job--patio .job__text {
  grid-column: 9 / span 4;
  grid-row: 1;
  align-self: end;
  padding-left: 12px;
}

/* Decking: a lead plate between the process and the finished gate */
.job--decking .job__text {
  grid-column: 1 / span 3;
  grid-row: 1;
}
.job--decking .plate--a {
  grid-column: 4 / span 5;
  grid-row: 1 / span 2;
}
.job--decking .plate--b {
  grid-column: 9 / span 4;
  grid-row: 1 / span 2;
  margin-top: clamp(60px, 9vw, 140px);
}
.job--decking .plate--c {
  grid-column: 1 / span 3;
  grid-row: 2;
  align-self: end;
}

/* Fencing: panorama first, then the detail */
.job--fencing .plate--wide {
  grid-column: 1 / -1;
}
.job--fencing .plate--a {
  grid-column: 1 / span 4;
}
.job--fencing .job__text {
  grid-column: 6 / span 3;
  align-self: center;
}
.job--fencing .plate--b {
  grid-column: 10 / span 3;
  align-self: end;
}

/* Gardens */
.job--gardens .job__text {
  grid-column: 1 / span 4;
  grid-row: 1;
  padding-top: 24px;
}
.job--gardens .plate--a {
  grid-column: 5 / span 4;
  grid-row: 1 / span 2;
}
.job--gardens .plate--b {
  grid-column: 9 / span 4;
  grid-row: 1 / span 2;
  margin-top: clamp(40px, 7vw, 110px);
}
.job--gardens .plate--c {
  grid-column: 1 / span 3;
  grid-row: 2;
  align-self: end;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services {
  background: var(--green);
  color: var(--cream);
  padding-block: clamp(72px, 9vw, 130px);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}

.services__stage {
  position: sticky;
  top: calc(var(--header-h) + 48px);
  grid-column: 1 / span 4;
  padding: 32px 28px 0;
  --ring: 14px;
}
.stage__frame {
  position: relative;
}
.stage__frame::before,
.stage__frame::after {
  content: "";
  position: absolute;
  inset: calc(var(--ring) * -1) calc(var(--ring) * -1) 0;
  border: 1px solid var(--rule-on-green);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.stage__frame::after {
  inset: calc(var(--ring) * -2) calc(var(--ring) * -2) 0;
  border-color: rgba(250, 249, 213, 0.5);
}
.stage__arch {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: var(--green-lift);
}
.stage__arch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.stage__arch img.is-active {
  opacity: 1;
}
.stage__arch .stage__oak {
  inset: auto;
  left: 50%;
  top: 50%;
  width: 44%;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
}
.stage__arch .stage__oak.is-active {
  opacity: 0.9;
}

.services__list {
  grid-column: 6 / -1;
}
.services__list .band {
  display: inline-block;
  margin-bottom: clamp(24px, 3vw, 36px);
  color: var(--sage);
}
.services__list h2 {
  max-width: 14ch;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.svc {
  border-top: 1px solid var(--rule-on-green);
}
.svc__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px 24px;
  padding-block: clamp(20px, 2.4vw, 30px);
  border-bottom: 1px solid var(--rule-on-green);
  transition: padding-left 0.22s ease;
}
.svc__name {
  font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.7rem);
  font-weight: 600;
  line-height: 1.08;
  transition: color 0.2s ease;
}
.svc__desc {
  max-width: 30rem;
  font-size: 0.9688rem;
  color: rgba(250, 249, 213, 0.78);
}
.svc__desc b {
  display: inline-block;
  margin-right: 0.6em;
  padding: 0.12rem 0.5rem;
  background: var(--stone);
  color: var(--green-deep);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  vertical-align: 0.08em;
}
.svc__thumb {
  display: none;
}
/* with the stage beside the list, the row it is showing lights up and the rest sit back */
@media (min-width: 961px) {
  .svc__name {
    color: rgba(250, 249, 213, 0.6);
  }
  .svc__item.is-active .svc__name {
    color: var(--cream);
  }
}

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.reviews {
  padding-block: clamp(72px, 9vw, 130px);
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: clamp(48px, 6vw, 88px);
  align-items: start;
}

.reviews__lead {
  grid-column: 1 / span 8;
}
.reviews__lead .band {
  display: inline-block;
  margin-bottom: clamp(28px, 4vw, 48px);
  color: var(--ink-soft);
}
.lead-quote blockquote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1rem + 2.7vw, 3.4rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}
.lead-quote blockquote::before {
  content: "\201C";
  display: block;
  height: 0.5em;
  margin-bottom: 0.12em;
  font-size: 2.4em;
  font-weight: 700;
  line-height: 1;
  color: var(--stone);
}
.lead-quote figcaption {
  margin-top: 28px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.seal {
  grid-column: 10 / -1;
  justify-self: end;
  width: min(100%, 250px);
  color: var(--green);
}
.seal svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.seal text {
  fill: currentColor;
  font-family: var(--font-body);
  font-size: 12.2px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.seal__disc {
  fill: var(--green);
}

.quotes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
  border-top: 1px solid var(--rule-on-plaster);
}
.quote {
  padding: 28px 24px 8px 0;
}
.quote + .quote {
  padding-left: 24px;
  border-left: 1px solid var(--rule-on-plaster);
}
.quote p {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 1.4;
}
.quote footer {
  margin-top: 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.reviews__more {
  grid-column: 1 / -1;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: var(--cream);
  padding-block: clamp(72px, 9vw, 130px);
}
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 48px;
  align-items: start;
}
.contact__lead {
  grid-column: 1 / span 6;
}
.contact__lead .band {
  display: inline-block;
  margin-bottom: clamp(24px, 3vw, 36px);
  color: var(--sage);
}
.contact__lead h2 em {
  color: var(--sage);
}
.contact__phone {
  display: inline-block;
  margin-top: clamp(28px, 4vw, 48px);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1rem + 5.4vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  border-bottom: 2px solid var(--stone);
}
.contact__phone:hover {
  color: var(--sage);
}
.contact__note {
  max-width: 30rem;
  margin-top: 22px;
  color: rgba(250, 249, 213, 0.82);
}
.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
  font-weight: 600;
}
.contact__links a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule-on-green);
}
.contact__links a:hover {
  border-bottom-color: var(--cream);
}
.contact__also {
  margin-top: 18px;
  font-size: 0.9rem;
  color: rgba(250, 249, 213, 0.72);
}

.form {
  grid-column: 8 / -1;
  padding: clamp(24px, 3vw, 40px);
  background: var(--plaster);
  color: var(--ink);
}
.form__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.15;
}
.form__lede {
  margin: 8px 0 24px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.control {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.control--full {
  grid-column: 1 / -1;
}
.control label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.control input,
.control select,
.control textarea {
  width: 100%;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 500 1.0625rem/1.4 var(--font-body);
  appearance: none;
}
.control select {
  padding-right: 1.6rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d230d' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 0.15rem center / 0.8rem;
}
.control textarea {
  min-height: 6.5rem;
  resize: vertical;
}
.control input:focus-visible,
.control select:focus-visible,
.control textarea:focus-visible {
  outline: 0;
  border-bottom-color: var(--green);
  box-shadow: 0 2px 0 0 var(--green);
}
.control [aria-invalid="true"] {
  border-bottom-color: #a4361d;
  box-shadow: 0 2px 0 0 #a4361d;
}
.control__error {
  min-height: 1.1em;
  font-size: 0.8125rem;
  color: #8e2c16;
}
.form .btn {
  width: 100%;
  margin-top: 6px;
}
.form__fine {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--green-deep);
  color: var(--cream);
  padding-block: clamp(48px, 6vw, 80px) 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 36px;
  align-items: start;
}
.footer__logo {
  grid-column: 1 / span 3;
}
.footer__logo img {
  width: min(100%, 240px);
  height: auto;
}
.footer__col {
  grid-column: span 3;
  font-size: 0.9688rem;
}
.footer__col h2 {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--sage);
}
.footer__col li + li {
  margin-top: 6px;
}
.footer__col a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule-on-green);
}
.footer__col a:hover {
  border-bottom-color: var(--cream);
}
.footer__base {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-on-green);
  font-size: 0.8125rem;
  color: rgba(250, 249, 213, 0.7);
}

/* --------------------------------------------------------------------------
   Mobile action bar
   -------------------------------------------------------------------------- */
.dock {
  display: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .job--decking .job__text,
  .job--decking .plate--c,
  .job--gardens .plate--c {
    grid-column: 1 / span 4;
  }
  .job--decking .plate--a {
    grid-column: 5 / span 4;
  }
  .job--decking .plate--b {
    grid-column: 9 / span 4;
  }
  .quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quote:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .quote:nth-child(n + 3) {
    border-top: 1px solid var(--rule-on-plaster);
    margin-top: 20px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 62px;
  }

  .nav,
  .header__call {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .nav.is-open {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 24px var(--gutter) 96px;
    background: var(--green);
  }
  .nav.is-open a {
    padding-block: 10px;
    border-bottom: 1px solid var(--rule-on-green);
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
  }
  .nav.is-open a:last-child {
    border-bottom: 0;
  }

  .hero {
    --arch-h: min(112vw, 560px);
    --band-h: 66px;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
    padding-top: 32px;
  }
  .hero__copy {
    padding-bottom: 0;
  }
  .hero__art {
    width: 100%;
    padding-inline: 0;
  }
  .hero__art .arch {
    width: min(76vw, 400px);
  }
  .hero__art .arch img {
    aspect-ratio: 3 / 4;
    object-position: 50% 50%;
  }
  .hero__caption {
    display: none;
  }
  .hero__band ul {
    row-gap: 0.45rem;
  }
  .field {
    width: clamp(180px, 46vw, 260px);
  }

  .intro__lead {
    grid-column: 1 / -1;
  }
  .facts {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .work__head h2 {
    grid-column: 1 / -1;
  }
  .work__head p {
    grid-column: 1 / -1;
    max-width: 26rem;
  }

  /* Work: composed plates, two-up where it earns it */
  .job {
    row-gap: 22px;
  }
  .job--extension .job__text,
  .job--patio .job__text,
  .job--decking .job__text,
  .job--fencing .job__text,
  .job--gardens .job__text {
    grid-column: 1 / -1;
    grid-row: auto;
    padding: 0;
    align-self: start;
  }
  .job--extension .plate--a {
    grid-column: 1 / span 8;
    grid-row: auto;
  }
  .job--extension .plate--b {
    grid-column: 6 / span 7;
    grid-row: auto;
    margin-top: 0;
  }
  .job--patio .plate--a,
  .job--patio .plate--b {
    grid-column: span 6;
    grid-row: auto;
    margin-top: 0;
  }
  .job--patio .plate--b {
    margin-top: 36px;
  }
  .job--decking .plate--a {
    grid-column: 1 / span 9;
    grid-row: auto;
  }
  .job--decking .plate--b {
    grid-column: 5 / span 8;
    grid-row: auto;
    margin-top: 0;
  }
  .job--decking .plate--c {
    grid-column: 1 / span 7;
    grid-row: auto;
  }
  .job--fencing .plate--a {
    grid-column: 1 / span 8;
  }
  .job--fencing .plate--b {
    grid-column: 6 / span 7;
  }
  .job--gardens .plate--a {
    grid-column: 1 / span 9;
    grid-row: auto;
  }
  .job--gardens .plate--b {
    grid-column: 5 / span 8;
    grid-row: auto;
    margin-top: 0;
  }
  .job--gardens .plate--c {
    grid-column: 1 / span 7;
    grid-row: auto;
  }
  .job .plate--wide {
    margin-inline: calc(var(--gutter) * -1);
  }
  .job .plate--wide figcaption {
    padding-inline: var(--gutter);
  }

  /* Services: the stage steps aside, thumbnails take over */
  .services__stage {
    display: none;
  }
  .services__list {
    grid-column: 1 / -1;
  }
  .svc__item {
    grid-template-columns: minmax(0, 1fr) 84px;
    column-gap: 18px;
  }
  .svc__name {
    grid-column: 1;
  }
  .svc__desc {
    grid-column: 1;
  }
  .svc__thumb {
    display: block;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    width: 84px;
    height: 112px;
    object-fit: cover;
    border-radius: 999px 999px 0 0;
  }

  .reviews__lead {
    grid-column: 1 / -1;
  }
  .seal {
    grid-column: 1 / -1;
    justify-self: start;
    width: 190px;
  }
  .quotes {
    grid-template-columns: minmax(0, 1fr);
  }
  .quote,
  .quote + .quote {
    padding: 24px 0 8px;
    border-left: 0;
  }
  .quote + .quote {
    border-top: 1px solid var(--rule-on-plaster);
    margin-top: 12px;
  }

  .contact__lead,
  .form {
    grid-column: 1 / -1;
  }

  .footer__logo {
    grid-column: 1 / -1;
  }
  .footer__col {
    grid-column: span 6;
  }

  .dock {
    position: fixed;
    inset: auto 0 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--green-deep);
    border-top: 1px solid var(--rule-on-green);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    color: var(--cream);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
  }
  .dock a:first-child {
    background: var(--cream);
    color: var(--green-deep);
  }
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    --band-h: 54px;
  }
  .intro {
    padding-top: 104px;
  }
  .hero__actions .btn {
    flex: 1 1 100%;
  }
  /* the dock already carries the call, so the quote button leads here */
  .hero__actions .btn:first-child {
    display: none;
  }
  .hero__actions .btn--ghost {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--green-deep);
  }
  /* one line only, so the furrows below always sit clear of it */
  .hero__band ul {
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .hero__band li {
    letter-spacing: 0.14em;
  }
  .hero__band li:nth-child(n + 4) {
    display: none;
  }
  .footer__col {
    grid-column: 1 / -1;
  }
  .header .brand__name span {
    letter-spacing: 0.26em;
  }
}

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