:root {
  /* Brand palette: blue, black and white only. The token names are kept from
     the earlier linen design; --timber is the bright blue accent and --olive
     the deep navy one. */
  --oat: #f3f6fb;
  --oat-deep: #e3ebf6;
  --cream: #ffffff;
  --ink: #0a0d14;
  --ink-soft: #3b4556;
  --timber: #1659c7;
  --timber-deep: #0f459e;
  --timber-soft: #a8c6f7;
  --olive: #0d3b8c;
  --olive-deep: #0a2c69;
  --slate: #4d5a70;
  --line: rgba(10, 13, 20, 0.11);
  --shadow-soft: 0 28px 64px -28px rgba(10, 24, 54, 0.32);
  --shadow-card: 0 1px 2px rgba(10, 24, 54, 0.05), 0 16px 36px -22px rgba(10, 24, 54, 0.26);
  --radius-sm: 0.7rem;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-btn: 0.85rem;
  --font-display: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Literata", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --header-h: 4.5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.085rem;
  line-height: 1.72;
  color: var(--ink);
  background-color: var(--oat);
  background-image:
    radial-gradient(ellipse 900px 480px at 8% -5%, rgba(13, 59, 140, 0.07), transparent 58%),
    radial-gradient(ellipse 720px 420px at 96% 18%, rgba(22, 89, 199, 0.06), transparent 52%),
    linear-gradient(180deg, var(--cream) 0%, var(--oat) 38%, var(--oat-deep) 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main,
.site-header,
.site-footer,
.callbar {
  position: relative;
  z-index: 1;
}

.site-header {
  z-index: 50;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--olive-deep);
}

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0 0 0.85rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 1rem;
}

/* A short rule leads every eyebrow, and the hero's brand line. */
.eyebrow::before,
.hero-brand::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 1.75rem;
  height: 1px;
  margin: -0.15em 0.75rem 0 0;
  background: currentColor;
  opacity: 0.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.05rem;
  padding: 0.85rem 1.55rem;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), background 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-primary {
  background: var(--timber);
  color: var(--cream);
  box-shadow: 0 10px 24px -14px rgba(15, 69, 158, 0.55);
}

.btn-primary:hover {
  background: var(--timber-deep);
  color: var(--cream);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--cream);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--cream);
}

.btn-ink {
  background: transparent;
  color: var(--ink);
  border-color: rgba(10, 13, 20, 0.35);
  min-height: 2.7rem;
  padding: 0.55rem 1.2rem;
  white-space: nowrap;
}

.btn-ink:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
  transition: color 0.25s ease;
}

.site-header.is-scrolled .brand,
.site-header.nav-open .brand {
  color: var(--ink);
}

.brand-mark {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.35rem;
  background: linear-gradient(145deg, var(--olive) 40%, var(--timber));
  box-shadow: 0 0 0 3px rgba(22, 89, 199, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-header.is-scrolled .site-nav a {
  color: var(--ink-soft);
}

.site-nav a:hover {
  color: var(--timber-soft);
}

.site-header.is-scrolled .site-nav a:hover {
  color: var(--olive);
}

.nav-cta {
  padding: 0.5rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius-btn);
}

.site-header.is-scrolled .nav-cta {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream) !important;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 60;
}

.nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.35rem auto;
  border-radius: 2px;
  background: var(--cream);
  transition: background 0.2s ease, transform 0.25s var(--ease-out);
}

.site-header.is-scrolled .nav-toggle-bar,
.site-header.nav-open .nav-toggle-bar {
  background: var(--ink);
}

.site-header.nav-open .nav-toggle-bar:first-of-type {
  transform: translateY(4px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

/* Photography is warmed slightly so every image sits in the same light. */
.hero-image,
.dusk-frame img,
.section-media img,
.split-media img,
.about-media img {
  filter: saturate(0.94);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--cream);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-drift 18s var(--ease-out) forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 22, 0.28) 0%, rgba(5, 10, 22, 0.22) 40%, rgba(5, 10, 22, 0.78) 100%),
    linear-gradient(95deg, rgba(5, 10, 22, 0.55) 0%, rgba(5, 10, 22, 0.12) 58%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  /* Bottom room for the facts card that overlaps the hero. */
  padding: calc(var(--header-h) + 3rem) 0 9rem;
}

/* The logo already carries the name at size; this is a quiet label. */
.hero-brand {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.4rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6.2vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.03;
  max-width: 15ch;
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 30px rgba(5, 10, 22, 0.35);
}

.hero-lead {
  max-width: 37rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@keyframes hero-drift {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

/* Dusk frame still */
.dusk {
  padding-top: 7rem;
  padding-bottom: 3rem;
}

.dusk-frame {
  margin: 0;
}

.dusk-frame img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.dusk-caption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 2.75rem;
}

.dusk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dusk-caption p {
  color: var(--ink-soft);
  max-width: 40rem;
}

/* Sections */
.section {
  width: min(1180px, calc(100% - 4rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.section-copy h2,
.section-intro h2,
.split-copy h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.025em;
  max-width: 20ch;
}

.section-copy p,
.section-intro p,
.split-copy > p,
.about-copy p,
.contact-copy > p {
  color: var(--ink-soft);
  max-width: 38rem;
}

.section-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.section-media img,
.split-media img,
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}

.section-media:hover img,
.split-media:hover img,
.about-media:hover img {
  transform: scale(1.03);
}

.checklist {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--olive);
  border-radius: 50%;
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 3rem;
}

/* Bulk builder panel: a rounded charcoal card rather than a full-bleed band. */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.split-media {
  margin: 0;
  min-height: 28rem;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem);
}

.split-copy .eyebrow {
  color: var(--timber-soft);
}

.split-copy > p {
  color: rgba(255, 255, 255, 0.8);
}

.stat-row {
  display: grid;
  gap: 1.35rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
}

.stat-row span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.about {
  padding-bottom: 2rem;
}

.about-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.about-copy {
  padding: clamp(2rem, 4.5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-signoff {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--olive-deep);
}

.about-media {
  margin: 0;
  min-height: 22rem;
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.contact {
  padding-bottom: 6rem;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: clamp(2rem, 4.5vw, 3.5rem);
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.contact-details {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
}

.contact-details div {
  display: grid;
  gap: 0.25rem;
}

.contact-details dt {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.contact-details dd {
  margin: 0;
}

.contact-details a {
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1rem;
  align-content: start;
}

.quote-form label {
  display: grid;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
}

.quote-form .full {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--oat);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(22, 89, 199, 0.18);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.95rem;
  color: var(--slate);
}

/* Yard facts: a cream card that floats over the foot of the hero. */
.proof-bar {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2.5rem));
  margin: -3.5rem auto 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.proof-bar ul {
  list-style: none;
  margin: 0;
  padding: 1.6rem 1.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 0;
}

.proof-bar li {
  display: grid;
  gap: 0.2rem;
  align-content: start;
  padding: 0 1.5rem;
  border-left: 1px solid var(--line);
}

.proof-bar li:first-child {
  padding-left: 0;
  border-left: 0;
}

.proof-bar span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
}

.proof-bar strong {
  font-weight: 400;
  font-size: 1.02rem;
}

.proof-bar a {
  color: inherit;
  text-decoration: none;
}

.proof-bar a:hover {
  color: var(--timber);
}

/* Cards: cream surfaces, soft corners, a warm low shadow. */
.steps,
.package-grid,
.price-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.package-grid,
.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps li,
.package-grid li,
.price-grid li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.8rem 2.2rem;
  transition: opacity 1s var(--ease-out), transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
}

.steps li:hover,
.package-grid li:hover,
.price-grid li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.price-grid h3::before {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  border-radius: 3px;
  background: var(--timber);
  margin-bottom: 1.1rem;
}

.package-grid li {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.service-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.service-card:hover {
  color: inherit;
}

.service-media {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--oat-deep);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94);
  transition: transform 1.2s var(--ease-out);
}

.package-grid li:hover .service-media img {
  transform: scale(1.04);
}

.service-copy {
  padding: 1.55rem 1.55rem 1.85rem;
  display: grid;
  gap: 0.35rem;
  flex: 1;
}

.service-copy h3 {
  margin-bottom: 0.35rem;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.35rem;
}

.service-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--olive-deep);
  margin-top: 0.35rem;
}

.service-link::after {
  content: "→";
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 0.3s var(--ease-out);
}

.service-card:hover .service-link::after {
  transform: translateX(4px);
}

.service-card:hover .service-link {
  color: var(--timber-deep);
}

.service-link-secondary {
  color: var(--ink-soft);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--timber);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 1.2rem;
}

.steps h3,
.package-grid h3,
.price-grid h3,
.role-list h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.steps p,
.package-grid p,
.price-grid p,
.role-list p {
  margin: 0;
  color: var(--ink-soft);
}

.role-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.role-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.chip-set {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-set legend {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  width: 100%;
}

.chip {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400 !important;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--oat);
  cursor: pointer;
  white-space: nowrap;
}

.chip:has(input:checked) {
  border-color: var(--olive);
  background: rgba(22, 89, 199, 0.1);
  color: var(--olive-deep);
}

.chip input {
  accent-color: var(--olive);
}

.callbar {
  display: none;
}

/* Reveal motion: slow and short, so the page settles rather than jumps. */
.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero .reveal {
  transition-delay: 0.05s;
}

.hero .reveal:nth-child(2) {
  transition-delay: 0.16s;
}

.hero .reveal:nth-child(3) {
  transition-delay: 0.28s;
}

.hero .reveal:nth-child(4) {
  transition-delay: 0.4s;
}

body.nav-locked {
  overflow: hidden;
}

/* Process steps step down gently on wide screens, so the row reads as a path. */
@media (min-width: 901px) {
  .steps li:nth-child(even) {
    margin-top: 1.75rem;
  }
}

/* The nav collapses earlier than the layout: nine links plus the language and
   theme controls do not fit beside the brand below this width. */
@media (max-width: 1240px) {
  .nav-toggle {
    display: block;
    z-index: 60;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    z-index: 55;
    box-shadow: 0 16px 40px rgba(10, 24, 54, 0.14);
  }

  .site-header.nav-open {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    color: var(--ink) !important;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  /* Needs to outrank `.site-nav a` above, or the label takes the ground colour. */
  .site-nav .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-color: var(--ink) !important;
    background: var(--ink);
    color: var(--cream) !important;
  }
}

@media (max-width: 900px) {
  .section-grid,
  .about-panel,
  .contact-shell,
  .split {
    grid-template-columns: 1fr;
  }

  .section-grid,
  .contact-shell {
    gap: 2.5rem;
  }

  .split-media,
  .split-media img,
  .about-media,
  .about-media img {
    min-height: 16rem;
  }

  .proof-bar ul,
  .steps,
  .package-grid,
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    padding-bottom: 7rem;
  }

  .proof-bar li {
    padding: 0;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .proof-bar ul,
  .steps,
  .package-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .role-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .callbar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    min-height: 3.4rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: var(--timber);
    color: var(--cream);
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
  }

  body {
    padding-bottom: 3.6rem;
  }

  .section {
    width: min(1180px, calc(100% - 2.5rem));
    padding: 4.5rem 0;
  }

  .split {
    padding: 0;
  }

  .dusk {
    padding-top: 3.5rem;
    padding-bottom: 1.5rem;
  }

  .dusk-caption {
    margin-top: 1.75rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }
}

/* Service detail pages */
.service-page {
  padding-top: var(--header-h);
}

.service-hero {
  width: min(1180px, calc(100% - 4rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.service-kicker {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--timber);
  margin: 0 0 0.75rem;
}

.service-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  max-width: 14ch;
}

.service-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.service-hero-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
}

.service-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94);
}

.service-detail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
  padding-top: 0;
}

.service-prose {
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.service-prose p + p {
  margin-top: 1.1rem;
}

.service-side {
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.8rem;
}

.service-side h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-highlights {
  padding-top: 0;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.highlight-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.highlight-grid li {
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.6rem 1.5rem 1.8rem;
}

.highlight-grid h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.highlight-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.service-band {
  width: min(1180px, calc(100% - 4rem));
  margin: 0 auto clamp(2rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}

.service-band-media {
  margin: 0;
  min-height: 22rem;
}

.service-band-media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  filter: saturate(0.92);
}

.service-band-copy {
  padding: clamp(2rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-band-copy .eyebrow {
  color: var(--timber-soft);
}

.service-band-copy h2 {
  color: var(--cream);
  max-width: 14ch;
}

.service-band-copy p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.service-side .btn {
  margin-top: 1.5rem;
  width: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.gallery-grid figure {
  margin: 0;
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.94);
  display: block;
  transition: transform 1.2s var(--ease-out);
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-grid figcaption {
  padding: 0.9rem 1.1rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 48rem;
}

.faq-list details {
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.1rem 1.35rem;
}

.faq-list summary {
  font-family: var(--font-display);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary {
  color: var(--olive-deep);
  margin-bottom: 0.55rem;
}

.faq-list p {
  margin: 0;
  color: var(--ink-soft);
}

.service-cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.service-cta-panel h2 {
  max-width: 18ch;
  margin-bottom: 0.5rem;
}

.service-cta-panel > div > p:last-child {
  color: var(--ink-soft);
  margin: 0;
}

.service-more-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-more-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-btn);
  background: var(--cream);
  box-shadow: var(--shadow-card);
  color: var(--ink);
}

.service-more-nav a:hover {
  color: var(--olive-deep);
}

.eyebrow a {
  color: inherit;
  text-decoration: none;
}

.eyebrow a:hover {
  color: var(--timber);
}

@media (max-width: 900px) {
  .service-hero,
  .service-detail,
  .service-band,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .service-steps,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-hero,
  .service-band {
    width: min(1180px, calc(100% - 2.5rem));
  }

  .service-band-media,
  .service-band-media img {
    min-height: 14rem;
  }
}

@media (max-width: 640px) {
  .service-steps,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-image,
  .reveal,
  .btn,
  .section-media img,
  .split-media img,
  .about-media img,
  .service-media img {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* About pillars, mission and vision; legal page */
.about .price-grid,
.about .section-grid {
  margin-top: 2.5rem;
  align-items: start;
}

.legal {
  max-width: 46rem;
}

.legal h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-top: 4rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.legal h3 {
  font-size: 1.15rem;
  margin-top: 2rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

/* Customers page: one section per kind of build, each a deep-link target. */
.customer {
  padding: clamp(3rem, 6vw, 5rem) 0;
  scroll-margin-top: var(--header-h);
}

.customer + .customer {
  border-top: 1px solid var(--line);
}

.customer .section-media {
  aspect-ratio: 4 / 3;
}

.customer-flip .section-media {
  order: -1;
}

.customer-links {
  margin-top: 2rem;
}

.customer-links a {
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem;
}

.customer-hero .service-more-nav a {
  font-size: 0.95rem;
  padding: 0.55rem 0.95rem;
}

.customer-builders {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.site-nav a[aria-current="page"] {
  color: var(--timber) !important;
}

@media (max-width: 900px) {
  .customer-flip .section-media {
    order: 0;
  }
}

/* Products page: category tabs, group filters, and rows that add to a quote. */
.products {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  scroll-margin-top: var(--header-h);
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.product-tab,
.product-filter,
.product-add,
.quote-tray-clear {
  font: inherit;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.product-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  flex: 1 1 10rem;
  padding: 0.9rem 1.1rem;
  text-align: left;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.product-tab-count {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--slate);
}

.product-tab:hover {
  border-color: var(--timber);
}

.product-tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.product-tab[aria-selected="true"] .product-tab-count {
  color: color-mix(in srgb, var(--cream) 72%, transparent);
}

.product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 1.5rem;
}

.product-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 0.4rem;
}

.product-head p {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-soft);
}

.product-search {
  flex: 1 1 16rem;
  max-width: 22rem;
}

.product-search input {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
}

.product-search input:focus {
  outline: none;
  border-color: var(--timber);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--timber) 22%, transparent);
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-filter {
  padding: 0.45rem 0.85rem;
  font-size: 0.92rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.product-filter:hover,
.product-filter[aria-pressed="true"] {
  border-color: var(--timber);
  color: var(--timber);
}

.product-filter[aria-pressed="true"] {
  background: color-mix(in srgb, var(--timber) 12%, transparent);
}

.product-status {
  min-height: 1.6rem;
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--slate);
}

.product-group {
  margin-top: 2.25rem;
}

.product-group h3 {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.product-group-count {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--slate);
}

.product-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr));
  gap: 0.6rem;
}

.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.9rem 0.8rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.product-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}

.product-copy span {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--slate);
}

.product-add {
  flex: none;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  color: var(--timber);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--timber) 45%, transparent);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.product-add:hover {
  border-color: var(--timber);
}

.product-add[aria-pressed="true"] {
  background: var(--timber);
  border-color: var(--timber);
  color: var(--cream);
}

.product-made {
  max-width: 44rem;
  margin-top: 0.5rem;
  display: grid;
  gap: 1.5rem;
}

.product-made p {
  margin: 0;
  color: var(--ink-soft);
}

.product-tab:focus-visible,
.product-filter:focus-visible,
.product-add:focus-visible,
.quote-tray-clear:focus-visible {
  outline: 2px solid var(--timber);
  outline-offset: 2px;
}

.quote-tray {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 70;
  transform: translateX(-50%);
  width: min(34rem, calc(100% - 2rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.8rem 0.7rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.quote-tray[hidden] {
  display: none;
}

.quote-tray p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
}

.quote-tray-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-tray .btn {
  padding: 0.6rem 1rem;
  white-space: nowrap;
}

.quote-tray-clear {
  padding: 0.5rem 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: none;
  border: 0;
  text-decoration: underline;
}

body.has-quote-tray .site-footer {
  padding-bottom: 6rem;
}

@media (max-width: 640px) {
  .product-rows {
    grid-template-columns: 1fr;
  }

  .product-tab {
    flex-basis: 8.5rem;
  }

  .quote-tray {
    bottom: 0.75rem;
    padding-left: 1rem;
  }

  .quote-tray p {
    font-size: 0.92rem;
    line-height: 1.3;
  }
}

/* Products: 3D button and the shared viewer dialog (js/products-3d.js) */
.product-actions {
  flex: none;
  display: flex;
  gap: 0.4rem;
}

.product-viewer {
  width: min(84rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 1.25rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.product-viewer::backdrop {
  background: rgba(10, 12, 16, 0.6);
}

.product-viewer-head,
.product-viewer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-viewer-head .eyebrow {
  margin-bottom: 0.25rem;
}

.product-viewer-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.product-viewer-stage {
  position: relative;
  margin: 1rem 0 0.75rem;
  aspect-ratio: 16 / 10;
  /* As tall as the window allows once the title, caption and buttons are in. */
  max-height: calc(100dvh - 15rem);
  width: 100%;
  background: var(--oat);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-viewer-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

.product-viewer-stage p {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: var(--ink-soft);
  pointer-events: none;
}

.product-viewer-facts {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.product-viewer-foot span {
  font-size: 0.85rem;
  color: var(--slate);
  text-align: center;
}

@media (max-width: 640px) {
  .product-viewer-foot span {
    display: none;
  }
}

/* The logo has a transparent ground and sits directly on the header. */
.brand-logo {
  display: block;
  height: 3.1rem;
  width: auto;
  /* If the header squeezes the box, shrink the logo; never stretch it. */
  object-fit: contain;
}

/* Two versions sit side by side and only one shows: the normal logo on light
   grounds, and the light one (white lettering and trees) over the hero video
   and in the dark themes. No plate behind either. */
.brand-logo-light,
.site-header:not(.is-scrolled):not(.nav-open) .brand-logo:not(.brand-logo-light) {
  display: none;
}

.site-header:not(.is-scrolled):not(.nav-open) .brand-logo-light {
  display: block;
}

@media (max-width: 640px) {
  .brand-logo {
    height: 2.6rem;
  }
}

/* Footer: brand, two link columns, social icons, then a legal bar. */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  font-family: var(--font-display);
}

.footer-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.5rem 0 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.footer-logo {
  display: block;
  height: 3.4rem;
  width: auto;
}

.footer-logo-light {
  display: none;
}

.footer-tagline {
  margin: 1.1rem 0 0.9rem;
  max-width: 22rem;
  font-family: var(--font-body);
  color: var(--ink-soft);
}

.footer-contact {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--slate);
}

.footer-contact a {
  color: var(--ink);
  text-decoration: none;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-heading {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.footer-col a:not(.btn),
.footer-bottom a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.footer-col a:not(.btn):hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  color: var(--timber);
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.footer-social {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social:hover,
.footer-social:focus-visible {
  background: var(--timber);
  border-color: var(--timber);
  color: #ffffff;
}

.footer-cta {
  margin-top: 0.9rem;
  min-height: 2.6rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
}

.footer-bottom {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.9rem;
  color: var(--slate);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brandcol {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-top: 2.75rem;
  }
}
