/* ==========================================================================
   D&L Mountain Lands — site styles
   Loaded after design-system.css. Everything here is either a brand token
   override (the Industry system ships steel blue; the brand is green) or a
   pattern the design canvas expressed as inline styles.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Brand tokens
   -------------------------------------------------------------------------- */

:root {
  --color-accent: #2f5a24;
  --color-accent-2: #4f8a37;

  --color-accent-100: #e7f1e0;
  --color-accent-200: #c9e0ba;
  --color-accent-300: #9dc888;
  --color-accent-400: #74ad5c;
  --color-accent-500: #4f8a37;
  --color-accent-600: #3f7029;
  --color-accent-700: #2f5a24;
  --color-accent-800: #234623;
  --color-accent-900: #14301f;

  --color-accent-2-100: #e7f1e0;
  --color-accent-2-200: #c9e0ba;
  --color-accent-2-300: #b0d39c;
  --color-accent-2-400: #9dc888;
  --color-accent-2-500: #4f8a37;
  --color-accent-2-600: #3f7029;
  --color-accent-2-700: #2f5a24;
  --color-accent-2-800: #234623;
  --color-accent-2-900: #14301f;

  /* Soil — the strip the translucent nav floats over, and the hero ground. */
  --color-soil: #4a3527;

  --nav-height: clamp(58px, 7vw, 70px);
  --page-gutter: clamp(16px, 4vw, 32px);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: var(--color-accent-700);
}

a:hover {
  color: var(--color-accent-800);
}

::selection {
  background: var(--color-accent-300);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--page-gutter);
}

.wrap-narrow {
  max-width: 900px;
}

.section {
  padding-block: clamp(44px, 7vw, 88px);
}

.section-tight {
  padding-block: clamp(40px, 6vw, 72px);
}

/* A tinted band with hairline rules top and bottom. */
.band {
  background: var(--color-surface);
  border-top: 1px solid rgba(29, 31, 32, 0.12);
  border-bottom: 1px solid rgba(29, 31, 32, 0.12);
}

.band-top-only {
  border-top: 0;
}

/* The deep-green field used for CTAs, the service-area list and the footer. */
.band-dark {
  background: var(--color-accent-900);
  color: #ffffff;
}

.grid {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.grid-wide {
  gap: clamp(24px, 4vw, 52px);
}

/* Auto-fitting columns; the minimum is set per use with --col. */
.cols {
  grid-template-columns: repeat(auto-fit, minmax(var(--col, 260px), 1fr));
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.row-between {
  justify-content: space-between;
  align-items: center;
}

.anchor-offset {
  scroll-margin-top: 90px;
}

/* Several components below set `display`, which would otherwise beat the
   `hidden` attribute the nav drawer and the form note are toggled with. */
[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Hidden until tabbed to, then a solid chip above everything else. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--color-accent-900);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   4. Type
   -------------------------------------------------------------------------- */

.kicker {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-accent-700);
}

.kicker-on-dark {
  color: var(--color-accent-300);
  letter-spacing: 0.26em;
}

.hero-title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-wrap: balance;
}

.hero-title-lg {
  font-size: clamp(42px, 8.5vw, 88px);
  line-height: 0.98;
}

.section-title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.05;
  color: inherit;
}

.section-title-lg {
  font-size: clamp(30px, 5vw, 48px);
}

.sub-title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.1;
}

.lede {
  margin: 0;
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.6;
  text-wrap: pretty;
}

.lede-on-dark {
  color: rgba(255, 255, 255, 0.86);
}

.body-copy {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-neutral-800);
  text-wrap: pretty;
}

.body-copy-sm {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-neutral-700);
  text-wrap: pretty;
}

.body-copy-md {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-700);
  text-wrap: pretty;
}

.measure-sm { max-width: 32ch; }
.measure-md { max-width: 52ch; }
.measure-lg { max-width: 70ch; }

.spec-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-neutral-700);
}

.spec-list strong,
.body-copy-sm strong {
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   5. Buttons and pills

   The design's buttons are glass: a translucent fill over a blurred
   backdrop, a hairline rim and an inset top highlight.
   -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.42);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.button svg {
  display: block;
  flex: none;
}

.button-sm {
  min-height: 46px;
  padding: 11px 20px;
  font-size: 16px;
  gap: 9px;
}

/* Primary — green glass. */
.button-primary {
  background: rgba(63, 112, 41, 0.72);
  backdrop-filter: blur(18px) saturate(190%);
  -webkit-backdrop-filter: blur(18px) saturate(190%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 10px 30px rgba(16, 20, 24, 0.35);
}

.button-primary:hover {
  background: rgba(79, 138, 55, 0.8);
  color: #ffffff;
}

.button-primary:active {
  background: rgba(47, 90, 36, 0.85);
}

/* Secondary — clear glass, for use over photography and dark fields. */
.button-secondary {
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Solid — the one opaque action, used on light grounds. */
.button-solid {
  background: var(--color-accent);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.button-solid:hover {
  background: var(--color-accent-600);
  color: #ffffff;
}

.button-solid:active {
  background: var(--color-accent-800);
}

/* A small glass chip — social links, in-page jump links. */
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.18s ease;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.pill-lg {
  min-height: 46px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Static label chip — the service-area list. */
.chip {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 15px;
}

/* A text link that reads as a section action. */
.link-action {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-accent-700);
  border-bottom: 1px solid var(--color-accent-400);
  padding-bottom: 3px;
}

.link-action:hover {
  color: var(--color-accent-900);
  border-bottom-color: var(--color-accent-700);
}

/* --------------------------------------------------------------------------
   6. Glass surfaces

   `.glass` pairs with the design system's `.blueprint` frame: a hairline
   box with a frosted, barely-there fill.
   -------------------------------------------------------------------------- */

.glass {
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.glass-strong {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 22px rgba(29, 31, 32, 0.08);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

/* A frosted panel over dark photography — the reviews score card. */
.glass-on-dark {
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 28px rgba(16, 20, 24, 0.28);
}

/* --------------------------------------------------------------------------
   7. Site navigation
   -------------------------------------------------------------------------- */

/* A zero-height sticky dock so the nav floats over the page rather than
   taking a row of its own. */
.nav-dock {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 0;
}

/* The soil strip the translucent nav reads against at the top of a page. */
.nav-soil {
  position: relative;
  height: var(--nav-height);
  background: var(--color-soil);
  overflow: hidden;
}

.nav-soil::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 78%, rgba(28, 20, 14, 0.35) 0%, rgba(28, 20, 14, 0) 55%),
    radial-gradient(circle at 68% 30%, rgba(28, 20, 14, 0.28) 0%, rgba(28, 20, 14, 0) 50%);
}

.site-nav {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  background: rgba(18, 34, 24, 0.46);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 8px 28px rgba(14, 30, 20, 0.24);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 28px);
  height: var(--nav-height);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.site-nav__brand img {
  display: block;
  height: clamp(34px, 4.6vw, 46px);
  width: auto;
  /* The logo is green artwork; on the dark glass bar it reads as a knockout. */
  filter: brightness(0) invert(1);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

.site-nav__link {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
}

.site-nav__link:hover {
  color: #ffffff;
}

.site-nav__link[aria-current="page"] {
  color: #ffffff;
}

.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-accent-400);
}

.site-nav__mobile {
  display: none;
  align-items: center;
  gap: 10px;
}

.site-nav__icon-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-nav__icon-button i {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #ffffff;
}

.site-nav__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  color: #ffffff;
  background: rgba(63, 112, 41, 0.82);
  backdrop-filter: blur(16px) saturate(190%);
  -webkit-backdrop-filter: blur(16px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.site-nav__drawer {
  display: flex;
  flex-direction: column;
  padding: 8px clamp(14px, 3vw, 28px) 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-nav__drawer a {
  padding: 15px 2px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-nav__drawer a:last-child {
  border-bottom: 0;
}

/* The nav's own call button is a compact glass primary. */
.site-nav .button-nav {
  flex: 0 0 auto;
  background: rgba(63, 112, 41, 0.82);
  backdrop-filter: blur(16px) saturate(190%);
  -webkit-backdrop-filter: blur(16px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 6px 18px rgba(14, 30, 20, 0.3);
}

.site-nav .button-nav:hover {
  background: rgba(79, 138, 55, 0.85);
}

@media (max-width: 860px) {
  .site-nav__links,
  .site-nav .button-nav {
    display: none;
  }

  .site-nav__mobile {
    display: flex;
  }
}

@media (min-width: 861px) {
  /* Keep the drawer out of the layout when the wide nav is showing. */
  .site-nav__drawer {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   8. Heroes
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-accent-900);
}

.hero__media {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  --slot-ink: #ffffff;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 30, 20, 0.72), rgba(14, 30, 20, 0.5));
}

.hero__inner {
  position: relative;
  padding-top: clamp(120px, 15vh, 170px);
  padding-bottom: clamp(44px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* A hero that sets a panel beside its title rather than stacking. */
.hero__inner--split {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

/* A hero's background photograph is decorative. An unfilled slot should read
   as a plain field, not as a caption colliding with the headline. */
.hero__media .slot-placeholder,
.hero-home__photo .slot-placeholder {
  display: none;
}

/* The home page's full-bleed animated hero. */
.hero-home {
  position: relative;
  min-height: clamp(620px, 94vh, 940px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--color-accent-900);
}

.hero-home__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #2a1d13;
}

.hero-home__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 10, 8, 0.42) 0%, rgba(12, 10, 8, 0.2) 40%, rgba(10, 16, 11, 0.55) 100%);
}

.hero-home__inner {
  position: relative;
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: clamp(80px, 10vh, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(26px, 4vw, 44px);
}

.hero-home__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.4vw, 24px);
  max-width: 56rem;
}

.hero-home__lede {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  max-width: 52ch;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   9. Content components
   -------------------------------------------------------------------------- */

/* Stat tiles — the strip under the home hero and the pair on About. */
.stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 18px;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent-900);
}

.stat__label {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-neutral-700);
}

.stat-block {
  display: block;
  padding: 20px;
}

.stat-block .stat__value {
  font-size: 38px;
}

.stat-block .stat__label {
  display: block;
  margin-top: 6px;
  line-height: 1.45;
}

/* Service cards on the home page. */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease;
}

.service-card:hover {
  border-color: var(--color-accent);
  color: inherit;
}

.service-card__media {
  height: 190px;
  border-bottom: 1px solid rgba(29, 31, 32, 0.14);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 24px;
}

.service-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  color: var(--color-text);
}

/* A numbered step in the "How it goes" row. */
.step {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step__number {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--color-accent);
}

/* A service section on the Services page: copy beside a framed photo. */
.service-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.figure-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 240px;
}

.figure-square {
  position: relative;
  aspect-ratio: 1 / 1;
}

.figure-wide {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 200px;
}

/* Review cards. */
.review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 24px;
}

.review__stars {
  font-size: 16px;
  letter-spacing: 2px;
  color: #c99a2e;
}

/* The unearned stars are drawn, not left out, so a four-star review still
   reads as four out of five at a glance. */
.review__stars [data-stars-off],
.score__stars [data-stars-off] {
  opacity: 0.32;
}

.review blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  text-wrap: pretty;
}

.review figcaption {
  margin: 0;
  font-size: 14px;
  color: var(--color-neutral-700);
}

/* The stand-in for the review cards while there are none. Spans the grid so
   it reads as the state of the section rather than as one empty card. */
.reviews-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
  text-wrap: pretty;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-neutral-700);
}

.review figcaption .review__when::before {
  content: " \00b7 ";
}

/* Asking, not shouting: it sits level with the cards above it rather than
   competing with the band underneath. */
.review-prompt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 28px);
  padding: clamp(22px, 4vw, 32px);
}

/* Deliberately quiet: it is a receipt, not a call to action. */
.review__link {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-neutral-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.review__link:hover {
  color: var(--brand-green, #14301f);
}

.score {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.score__value {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.score__stars {
  font-size: 20px;
  letter-spacing: 2px;
  color: #ffd27a;
}

.score__meta {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

/* FAQ disclosure. */
.faq {
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.faq > summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  color: var(--color-text);
}

.faq > p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-700);
}

/* --------------------------------------------------------------------------
   10. Contact
   -------------------------------------------------------------------------- */

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}

.contact-card--lead {
  grid-column: 1 / -1;
  padding: 24px;
  transition: border-color 0.18s ease;
}

.contact-card--lead:hover {
  border-color: var(--color-accent);
  color: inherit;
}

.contact-card__label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-700);
}

.contact-card__phone {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
}

.contact-card__value {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  text-decoration: none;
}

.estimate-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
}

.estimate-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-neutral-800);
}

.estimate-form .input {
  min-height: 48px;
  padding: 13px 14px;
  font-size: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.75);
  color: var(--color-text);
}

.estimate-form textarea.input {
  min-height: 0;
  resize: vertical;
}

.estimate-form .button {
  margin-top: 4px;
}

.form-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--color-accent-800);
  background: var(--color-accent-200);
  border: 1px solid var(--color-accent-400);
}

.form-note--error {
  color: #7a2417;
  background: #fbe6e1;
  border-color: #e0a99e;
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  font-family: var(--font-body);
  background: var(--color-accent-900);
  color: var(--color-neutral-300);
  padding: clamp(40px, 6vw, 64px) var(--page-gutter) 28px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  max-width: 1280px;
  margin: 0 auto;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__logo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-footer__blurb {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-accent-2-400);
  max-width: 30ch;
  text-wrap: pretty;
}

.site-footer__heading {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-500);
}

.site-footer a {
  font-size: 15px;
  color: var(--color-neutral-300);
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer__phone {
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
}

.site-footer__address {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-accent-2-400);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  max-width: 1280px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: var(--color-accent-2-500);
}

/* --------------------------------------------------------------------------
   12. Image slots

   Every photograph on the site is an <image-slot>. With no `src` it draws a
   labelled placeholder so an unfilled slot reads as a deliberate gap rather
   than a broken image. See assets/img/README.md.
   -------------------------------------------------------------------------- */

image-slot {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}

image-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

image-slot .slot-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
  color: color-mix(in srgb, var(--slot-ink, var(--color-text)) 62%, transparent);
  background: color-mix(in srgb, var(--slot-ink, var(--color-text)) 6%, transparent);
}

image-slot .slot-placeholder svg {
  flex: none;
  opacity: 0.7;
}

image-slot .slot-placeholder span {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
  max-width: 26ch;
}

/* --------------------------------------------------------------------------
   13. CMS-rendered structures

   Copy lives in content/*.json and is put into the page by render.js, which
   needs two things the hand-written markup used to express directly.
   -------------------------------------------------------------------------- */

/* A field holding several lines (the shop address) is one string now, so the
   line breaks have to survive as whitespace rather than as <br> elements. */
.multiline {
  white-space: pre-line;
}

/* The service sections alternate banded and plain. They render from one list,
   so the alternation is positional rather than written into each section. */
.service-row:nth-of-type(even) {
  background: var(--color-surface);
  border-top: 1px solid rgba(29, 31, 32, 0.12);
  border-bottom: 1px solid rgba(29, 31, 32, 0.12);
}

/* The home hero is either the animated grass canvas or an uploaded photograph;
   Site-wide → Home page hero picks one. Swapped with CSS rather than by
   building a different page, so the choice can change live in the editor. The
   canvas engine stops on its own when its element is display:none — it watches
   for that with an IntersectionObserver — so the unused half costs nothing. */
.hero-home[data-hero-style="interactive"] .hero-home__photo {
  display: none;
}

.hero-home[data-hero-style="photo"] .hero-home__canvas {
  display: none;
}

.hero-home__photo {
  position: absolute;
  inset: 0;
  --slot-ink: #ffffff;
}
