/* =========================================================
   Sample Yard Company
   Palette "Red Clay Carolina". Each color has one job:
   forest  = dark sections + main text
   clay    = call buttons only
   gold    = small highlights (stamp, sign lettering, seasonal strip)
   paper   = page background
   sage    = mowed stripes + quiet details
   ========================================================= */

:root {
  --forest: #173B2B;
  --forest-2: #1D4534;      /* the lighter mowed stripe */
  --forest-deep: #10291E;
  --clay: #C8512E;
  --clay-press: #A9421F;
  --gold: #E3A93C;
  --gold-press: #D49529;
  --paper: #F7F1E6;
  --paper-2: #EEE5D3;
  --sage: #8FAF8A;
  --ink: #173B2B;
  --ink-soft: #3D5348;
  --line: rgba(23, 59, 43, 0.18);

  --display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1280px;
  --gutter: 20px;
  --focus: var(--forest);

  --stripes-dark: repeating-linear-gradient(90deg, var(--forest) 0 88px, var(--forest-2) 88px 176px);
  --stripes-light: repeating-linear-gradient(90deg, #EAE1CC 0 72px, #E1D6BE 72px 144px);

  /* "Lawn": mowed stripes + a fine grain so the green feels like turf, not flat paint */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --lawn:
    var(--grain),
    repeating-linear-gradient(90deg, var(--forest) 0 88px, var(--forest-2) 88px 176px);

  /* Grass blades for the top edge of green sections */
  --grass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='32' viewBox='0 0 240 32'%3E%3Cpath d='M0 32L3 19L7 32L11 12L13 32L18 22L20 32L25 8L27 32L31 20L34 32L39 14L41 32L46 24L48 32L53 10L55 32L59 18L62 32L67 5L69 32L74 21L76 32L81 13L83 32L88 23L90 32L95 9L97 32L102 17L104 32L109 25L111 32L116 11L118 32L123 20L125 32L130 4L132 32L137 18L139 32L144 22L146 32L151 12L153 32L158 24L160 32L165 8L167 32L172 19L174 32L179 14L181 32L186 23L188 32L193 10L195 32L200 21L202 32L207 6L209 32L214 17L216 32L221 25L223 32L228 13L230 32L235 20L237 32L240 32Z' fill='%23000'/%3E%3C/svg%3E");
}

@media (min-width: 1024px) {
  :root { --gutter: 40px; }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 78px; /* room for the mobile call/text bar */
}

@media (min-width: 1024px) {
  body { padding-bottom: 0; }
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--forest);
  padding: .7rem 1rem; font-weight: 700; border-radius: 4px; text-decoration: none;
}
.skip:focus { top: 12px; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: .005em;
  text-wrap: balance;
}

.ico {
  width: 1.5rem; height: 1.5rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Placeholder marker: easy to spot, easy to search for */
.ph {
  display: inline;
  background: #FBE3D6;
  color: #7A2E16;
  border: 1.5px dashed var(--clay);
  border-radius: 3px;
  padding: .1rem .4rem;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.7;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px;
  padding: .75rem 1.3rem;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: var(--body);
  font-size: 1.1875rem;   /* 19px bold = large text for contrast rules */
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .1s ease, background-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(2px); }
.btn .ico { width: 1.25em; height: 1.25em; stroke-width: 2.2; }

.btn-call { background: var(--clay); color: #fff; }
.btn-call:hover { background: var(--clay-press); }

.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: var(--gold-press); }

.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(247, 241, 230, .55); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(247, 241, 230, .08); }

.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--paper); }

.btn-lg { min-height: 58px; padding: 1rem 1.5rem; font-size: 1.25rem; }
.btn-block { width: 100%; }

/* ---------- Seasonal strip (switch on/off in js/main.js) ---------- */
.season { display: none; background: var(--gold); color: var(--forest); font-size: .9375rem; line-height: 1.45; }
html.season-on .season { display: block; }
.season-inner { display: flex; align-items: center; gap: .75rem; padding-block: .6rem; }
.season p { margin: 0; }
.season a { font-weight: 700; }
.season .ico { width: 1.75rem; height: 1.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 20;
  background: var(--forest);
  color: var(--paper);
  --focus: var(--gold);
  border-bottom: 1px solid rgba(143, 175, 138, .22);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 74px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: .85; }
.brand-name {
  font-family: var(--display); font-weight: 900; font-size: 2rem;
  text-transform: uppercase; letter-spacing: .01em;
}
.brand-sub {
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .06em; color: var(--sage);
}

.menu-btn {
  min-height: 44px; padding: 0 1rem;
  background: none; color: var(--paper);
  border: 2px solid rgba(247, 241, 230, .4); border-radius: 4px;
  font: 700 1rem var(--body); cursor: pointer;
}

/* Main menu. Phones/tablets: a panel under the header with
   expandable groups. Desktop: a row with dropdowns. */
.site-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  display: none;
  background: var(--forest-deep);
  padding: .25rem var(--gutter) 1.25rem;
  max-height: calc(100vh - 74px);
  overflow-y: auto;
}
.site-nav.open { display: block; }
.nav-list, .sub { list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: flex; align-items: center; justify-content: space-between; gap: .4rem;
  width: 100%; min-height: 54px; padding: 0;
  background: none; color: inherit;
  border: 0; border-bottom: 1px solid rgba(143, 175, 138, .22);
  font: 600 1.125rem var(--body);
  text-align: left; text-decoration: none; cursor: pointer;
}
.nav-link[aria-current="page"], .nav-link[data-active] { color: var(--gold); }
.chev { width: 1.1rem; height: 1.1rem; transition: transform .15s ease; }
.sub-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sub { display: none; padding: .25rem 0 .5rem 1rem; border-bottom: 1px solid rgba(143, 175, 138, .22); }
.has-sub.open .sub { display: block; }
.sub a {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 48px; padding: .35rem 0; text-decoration: none;
}
.sub a strong { font-weight: 600; font-size: 1.0625rem; }
.sub a span { display: none; }
.sub a[aria-current="page"] strong { color: var(--gold); }
.header-call { display: none; }

@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .site-nav {
    position: static; display: block;
    background: none; padding: 0;
    max-height: none; overflow: visible;
  }
  .nav-list { display: flex; align-items: center; gap: 1.75rem; }
  .nav-item { position: relative; }
  .nav-link { width: auto; min-height: 44px; border: 0; font-size: 1.0625rem; }
  .nav-link:hover { color: var(--gold); }
  .sub {
    position: absolute; top: calc(100% + 10px); left: -1rem; z-index: 30;
    width: 310px; padding: .5rem;
    background: var(--paper); color: var(--forest);
    --focus: var(--clay);
    border: 0; border-radius: 6px;
    box-shadow: 0 16px 36px rgba(8, 24, 16, .38);
  }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .has-sub:hover .sub, .has-sub.open .sub { display: block; }
  .sub a { padding: .6rem .8rem; border-radius: 4px; }
  .sub a:hover { background: var(--paper-2); }
  .sub a span { display: block; margin-top: .1rem; font-size: .875rem; line-height: 1.35; color: var(--ink-soft); }
  .sub a[aria-current="page"] { background: var(--paper-2); }
  .sub a[aria-current="page"] strong { color: var(--forest); }
  .header-call { display: inline-flex; min-height: 48px; padding-block: .6rem; margin-left: 1.75rem; }
}

/* ---------- Home hero ---------- */
@keyframes mow-drift { to { background-position: 176px 0; } }

.hero {
  background: var(--lawn);
  animation: mow-drift 48s linear infinite;
  color: var(--paper);
  --focus: var(--gold);
  position: relative;
  z-index: 2;
}
.hero-grid { display: grid; gap: 3.5rem; padding-top: 2.75rem; }
.hero-copy { padding-inline: var(--gutter); }

.hero-title {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3.6rem, 15.5vw, 8rem);
  line-height: .84;
  letter-spacing: -.005em;
  margin-bottom: 1.5rem;
}
.hero-title span { display: block; }

.hero-lede { font-size: 1.1875rem; color: #E7E1D3; max-width: 34ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-note { margin: 1.25rem 0 0; color: var(--sage); font-weight: 600; font-size: 1rem; }

.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; height: clamp(260px, 66vw, 460px); object-fit: cover; }

.stamp {
  position: absolute;
  width: 116px; height: 116px;
  left: var(--gutter); top: -50px;
  transform: rotate(-9deg);
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .22));
}
.stamp text { font-family: var(--display); font-weight: 800; fill: var(--forest); }

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
    gap: 3rem;
    padding-top: 5rem;
  }
  .hero-copy {
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    padding-right: 0;
    padding-bottom: 5rem;
  }
  .hero-title { font-size: clamp(5rem, 7vw, 7.75rem); }
  .hero-photo { margin-bottom: -7.5rem; }
  .hero-photo img { height: clamp(560px, 50vw, 740px); }
  .stamp { width: 150px; height: 150px; left: -64px; top: -40px; }
}

/* ---------- Job board ----------
   Same mowed-stripe green as the hero, so the top of the page reads as
   one continuous lawn. The board itself is a cream sign standing on it. */
.board-section {
  background: var(--lawn);
  animation: mow-drift 48s linear infinite;
  color: var(--paper);
  --focus: var(--gold);
  padding: 4rem 0 5rem;
}
.board-grid { display: grid; gap: 2.25rem; }

.board-intro h2 { font-size: clamp(3rem, 12vw, 5.5rem); margin-bottom: 1.25rem; }
.board-intro p { color: #E7E1D3; max-width: 30ch; }
.text-link { font-weight: 700; text-underline-offset: .2em; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--clay-press); }
.board-intro .text-link { color: var(--gold); }
.board-intro .text-link:hover { color: var(--paper); }

.board {
  background: var(--paper);
  color: var(--forest);
  --focus: var(--clay);
  border-radius: 6px;
  padding: 1.75rem 1.4rem;
  box-shadow:
    inset 0 0 0 7px var(--paper),
    inset 0 0 0 9px var(--forest),
    0 5px 0 rgba(0, 0, 0, .22);
}
.board-cols { display: grid; gap: 2rem; }
.board-group + .board-group { margin-top: 2rem; }
.board-group h3 {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: 1.75rem; line-height: 1; color: var(--forest);
  margin-bottom: .6rem;
}
.board-group h3 .ico { width: 1.9rem; height: 1.9rem; color: #5E7F5A; }
.board-group h3 a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; text-decoration-color: rgba(23, 59, 43, .3); }
.board-group h3 a:hover { color: var(--clay-press); text-decoration-color: currentColor; }
.board-group ul { list-style: none; margin: 0; padding: 0; }
.board-group li {
  padding: .55rem 0;
  border-top: 1px dashed rgba(23, 59, 43, .28);
  font-size: 1.0625rem; line-height: 1.4;
}
.board-foot {
  margin: 2rem 0 0; padding-top: 1.25rem;
  border-top: 2px solid var(--forest);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem;
}
.board-foot strong {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2rem, 7vw, 2.75rem); line-height: 1;
}
.board-foot a { color: var(--forest); font-weight: 700; text-underline-offset: .2em; }
.board-foot a:hover { color: var(--clay-press); }

@media (min-width: 760px) {
  .board { padding: 2.5rem 2.5rem 2.25rem; }
  .board-cols { grid-template-columns: 1fr 1fr; gap: 2.75rem; }
}
@media (min-width: 1024px) {
  .board-section { padding: 10rem 0 6rem; }
  .board-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.45fr); gap: 4.5rem; align-items: start; }
  .board-intro { position: sticky; top: 2rem; }
  .board-intro h2 { font-size: clamp(3.25rem, 4.6vw, 4.75rem); }
}

/* ---------- Quote builder ---------- */
.quote { background: var(--paper-2); padding: 4.5rem 0 5rem; }
.quote-grid { display: grid; gap: 2.5rem; }
.quote h2 { font-size: clamp(3.25rem, 13vw, 6.25rem); margin-bottom: 1rem; }
.quote-lede { color: var(--ink-soft); max-width: 36ch; margin-bottom: 2rem; }

.qb fieldset { border: 0; margin: 0 0 1.6rem; padding: 0; min-width: 0; }
.qb legend {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 1.375rem; line-height: 1; padding: 0; margin-bottom: .7rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; }
.chip input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.chip span {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px; padding: .45rem 1rem .45rem .8rem;
  background: var(--paper);
  border: 2px solid var(--forest);
  border-radius: 999px;
  font-size: 1rem; font-weight: 600; line-height: 1.2;
  transition: background-color .12s ease, color .12s ease;
}
.chip span::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background:
    linear-gradient(var(--forest), var(--forest)) center / 14px 2.5px no-repeat,
    linear-gradient(var(--forest), var(--forest)) center / 2.5px 14px no-repeat;
}
.chip input:checked + span { background: var(--forest); color: var(--paper); }
.chip input:checked + span::before {
  width: 13px; height: 7px; margin: -4px 1px 0;
  background: none;
  border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  transform: rotate(-45deg);
}
.chip input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }
.chip:hover span { background: #E6DCC6; }
.chip:hover input:checked + span { background: var(--forest-2); }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%; min-height: 50px;
  padding: .7rem .9rem;
  background: #FFFCF6; color: var(--ink);
  border: 2px solid var(--forest); border-radius: 4px;
  font: inherit; font-size: 1.0625rem;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--clay); outline-offset: 1px; }
.field-hint { font-weight: 400; color: var(--ink-soft); }

.quote-phone {
  background: var(--forest);
  color: var(--paper);
  --focus: var(--gold);
  border: 8px solid var(--forest-deep);
  border-radius: 30px;
  padding: 1.25rem 1.1rem 1.4rem;
}
.phone-top {
  text-align: center; font-size: .875rem; color: var(--sage);
  padding-bottom: .9rem; margin-bottom: 1.4rem;
  border-bottom: 1px solid rgba(143, 175, 138, .3);
}
.phone-top strong { display: block; color: var(--paper); font-size: 1.0625rem; }
.bubble {
  margin-left: auto; max-width: 92%;
  background: var(--sage); color: var(--forest-deep);
  border-radius: 20px 20px 5px 20px;
  padding: .9rem 1.05rem;
  font-size: 1.0625rem; line-height: 1.45;
  min-height: 3.5rem;
  white-space: pre-wrap;
}
.phone-actions { display: grid; gap: .6rem; margin-top: 1.6rem; }
.phone-hint { font-size: .9375rem; color: #CBD7C8; margin: 1rem 0 0; line-height: 1.5; }
.phone-hint a { color: var(--paper); font-weight: 700; }
.qb-status { min-height: 1.5em; margin: .5rem 0 0; font-size: .9375rem; color: var(--gold); font-weight: 600; }

@media (min-width: 640px) {
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (min-width: 1024px) {
  .quote { padding: 6.5rem 0; }
  .quote-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 4.5rem; align-items: start; }
  .quote-phone { position: sticky; top: 1.5rem; margin-top: 1rem; }
}

/* ---------- Before / after ---------- */
.ba { background: var(--lawn); color: var(--paper); --focus: var(--gold); padding: 4.5rem 0 5rem; }
.ba-head { display: grid; gap: 1rem; margin-bottom: 2rem; }
.ba h2 { font-size: clamp(3rem, 12vw, 5.75rem); }
.ba-head p { color: #DCE3D8; max-width: 40ch; margin: 0; }

.ba-slider {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  user-select: none;
  touch-action: pan-y;
}
.ba-frame { position: absolute; inset: 0; display: flex; align-items: center; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after {
  justify-content: flex-end;
  background: repeating-linear-gradient(90deg, #2F6A47 0 56px, #3B7B53 56px 112px);
}
.ba-before {
  justify-content: flex-start;
  background:
    repeating-linear-gradient(118deg, rgba(0,0,0,.08) 0 3px, transparent 3px 9px),
    repeating-linear-gradient(64deg, #5C5B3B 0 6px, #6A6640 6px 13px, #50553A 13px 19px);
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-frame > span {
  position: relative;
  margin: 0 6%;
  max-width: 40%;
  background: rgba(16, 41, 30, .86);
  color: var(--paper);
  border: 2px dashed var(--gold);
  border-radius: 4px;
  padding: .55rem .85rem;
  font-size: .9375rem; font-weight: 600; line-height: 1.3;
}
.ba-tag {
  position: absolute; top: .9rem; z-index: 3;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 1.25rem; line-height: 1;
  background: var(--forest-deep); color: var(--paper);
  padding: .35rem .6rem;
  pointer-events: none;
}
.ba-tag-before { left: .9rem; }
.ba-tag-after { right: .9rem; }
.ba-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2;
  width: 4px; margin-left: -2px;
  background: var(--gold); pointer-events: none;
}
.ba-range {
  position: absolute; inset: 0; z-index: 4;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
}
.ba-knob {
  position: absolute; top: 50%; left: var(--pos); z-index: 3;
  width: 54px; height: 54px; margin: -27px 0 0 -27px;
  display: grid; place-items: center;
  background: var(--gold); color: var(--forest);
  border-radius: 50%;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .25);
  pointer-events: none;
}
.ba-knob .ico { width: 30px; height: 30px; stroke-width: 2.4; }
.ba-range:focus-visible ~ .ba-knob { outline: 3px solid var(--paper); outline-offset: 3px; }

@media (min-width: 760px) {
  .ba-slider { aspect-ratio: 16 / 9; }
  .ba-frame > span { font-size: 1rem; padding: .7rem 1rem; }
}
@media (min-width: 1024px) {
  .ba { padding: 6rem 0; }
  .ba-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; margin-bottom: 2.75rem; }
}

/* ---------- Pride ---------- */
.pride { padding: 4.5rem 0 0; }
.pride-grid { display: grid; gap: 3rem; }
.pride-photo { position: relative; margin: 0 1.25rem 0 0; isolation: isolate; }
.pride-photo::before {
  content: ""; position: absolute; z-index: -1;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  background: var(--stripes-light);
}
.pride-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pride h2 { font-size: clamp(3rem, 12vw, 5.5rem); margin-bottom: 1.5rem; }
.pride-copy p { max-width: 44ch; }
.pride-copy .ph { display: inline-block; margin-top: .5rem; }

.promises { margin-top: 4.5rem; background: var(--stripes-light); padding: 1.6rem 0; }
.promises ul {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter);
  max-width: var(--max);
  display: flex; flex-direction: column; gap: .35rem;
}
.promises li {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.75rem, 7vw, 2.6rem); line-height: 1.05;
}
.promises li::before {
  content: ""; width: 11px; height: 11px; flex: none;
  background: var(--clay); transform: rotate(45deg);
}

@media (min-width: 900px) {
  .pride-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5.5rem; align-items: center; }
  .pride-photo img { aspect-ratio: 3 / 4; }
  .promises ul { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.25rem; }
  .promises li { font-size: clamp(1.5rem, 2.1vw, 2.25rem); gap: 1.25rem; }
  .promises li::before { width: 10px; height: 10px; }
  .promises li:first-child::before { display: none; }
}
@media (min-width: 1024px) {
  .pride { padding-top: 7rem; }
  .promises { margin-top: 7rem; padding: 2rem 0; }
}

/* ---------- Details (area, hours, contact) ---------- */
.details { padding: 3.5rem 0 4rem; }
.details-grid { display: grid; gap: 2.25rem; }
.details h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 1.875rem; line-height: 1; margin-bottom: .75rem;
}
.details p { margin: 0 0 .6rem; }
.details a { font-weight: 700; text-underline-offset: .2em; }
@media (min-width: 760px) {
  .details-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

/* ---------- Closer ---------- */
.closer {
  position: relative;
  background: var(--lawn);
  color: var(--paper);
  --focus: var(--gold);
  padding: 4.25rem 0 4.75rem;
  margin-top: 32px; /* room for the grass edge */
}
/* Grass blades growing up out of the green section */
.grass-top { position: relative; margin-top: 32px; }
.closer::before, .grass-top::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -31px; height: 32px;
  background: inherit;
  background-position: 0 31px;
  -webkit-mask: var(--grass) repeat-x left bottom / 240px 32px;
          mask: var(--grass) repeat-x left bottom / 240px 32px;
  pointer-events: none;
}
.closer-kicker {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  color: var(--gold); font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1;
  margin-bottom: .6rem;
}
.closer-number {
  display: inline-block;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(3.2rem, 14vw, 12.5rem);
  line-height: .85; letter-spacing: -.01em;
  white-space: nowrap;
  text-decoration: none; color: var(--paper);
}
.closer-number:hover { color: var(--gold); }
.closer-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: #D3DCD0;
  --focus: var(--gold);
  padding: 3rem 0 2rem;
  font-size: 1rem;
}
.footer-grid { display: grid; gap: 2rem; }
.footer-grid h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  color: var(--paper); font-size: 1.375rem; line-height: 1; margin-bottom: .6rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li a, .footer-grid p a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none;
}
.footer-grid a:hover { color: var(--gold); text-decoration: underline; }
.footer-brand .brand-name { color: var(--paper); }
.footer-tag { margin-top: .9rem; color: var(--sage); }
.footer-base {
  margin-top: 2.25rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(143, 175, 138, .25);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.75rem;
  font-size: .875rem; color: #B3C3B0;
}
.footer-base p { margin: 0; }
.footer-base a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
}

/* ---------- Mobile call/text bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: var(--forest-deep);
  --focus: var(--gold);
  box-shadow: 0 -2px 0 rgba(0, 0, 0, .12);
}
.mobile-bar .btn { min-height: 56px; padding-inline: .5rem; }
@media (min-width: 1024px) {
  .mobile-bar { display: none; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  background: var(--lawn);
  color: var(--paper);
  --focus: var(--gold);
  padding: 3.25rem 0 3.5rem;
  overflow: hidden;
}
.page-hero h1 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.4rem, 14vw, 7.5rem); line-height: .86;
  margin-bottom: 1.25rem; max-width: 11ch; text-wrap: balance;
}
.page-hero p { font-size: 1.1875rem; color: #E7E1D3; max-width: 40ch; margin: 0; }
.page-hero .hero-actions { margin-top: 1.75rem; }
.page-hero .stamp { display: none; }
@media (min-width: 900px) {
  .page-hero { padding: 5rem 0 5.5rem; }
  .page-hero .stamp {
    display: block; width: 170px; height: 170px;
    left: auto; top: 50%;
    right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter) + 40px));
    margin-top: -85px;
    transform: rotate(8deg);
  }
}

/* ---------- Inner pages with a photo hero (service pages) ---------- */
.hero-sub .hero-grid { padding-top: 2.5rem; gap: 2.5rem; }
.hero-sub .hero-title { font-size: clamp(3.2rem, 13vw, 6.5rem); }
.hero-sub .hero-photo img { height: clamp(240px, 60vw, 420px); }
.crumbs { margin: 0 0 1.1rem; font-size: .9375rem; color: var(--sage); }
.crumbs a { color: var(--paper); font-weight: 600; text-underline-offset: .2em; }
.crumbs a:hover { color: var(--gold); }
@media (min-width: 1024px) {
  .hero-sub .hero-grid { padding-top: 0; align-items: stretch; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .hero-sub .hero-copy { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .hero-sub .hero-title { font-size: clamp(4.25rem, 5.8vw, 6.5rem); }
  .hero-sub .hero-photo { margin-bottom: 0; }
  .hero-sub .hero-photo img { height: 100%; min-height: 440px; }
}

/* Service detail: the full list + a quote card */
.detail { padding: 4rem 0 4.5rem; }
.detail-grid { display: grid; gap: 2.75rem; }
.detail h2 { font-size: clamp(2.5rem, 9vw, 3.75rem); margin-bottom: .5rem; }
.svc-list { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 3px solid var(--forest); }
.svc-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.svc-list strong { display: block; font-size: 1.25rem; line-height: 1.3; margin-bottom: .25rem; }
.svc-list span { color: var(--ink-soft); font-size: 1.0625rem; }
.detail .ph { display: inline-block; margin-top: 1.25rem; }

.quote-card {
  background: var(--forest); color: var(--paper);
  --focus: var(--gold);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  box-shadow: inset 0 0 0 6px var(--forest), inset 0 0 0 8px var(--gold);
}
.quote-card h2 { color: var(--gold); font-size: 2.25rem; margin-bottom: .75rem; }
.quote-card p { color: #DCE3D8; font-size: 1.0625rem; }
.quote-card .btn { width: 100%; margin-top: .6rem; }
@media (min-width: 900px) {
  .detail { padding: 5.5rem 0 6rem; }
  .detail-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: 5rem; align-items: start; }
  .quote-card { position: sticky; top: 1.5rem; padding: 2.25rem 2rem; }
}

/* Links to the other service pages */
.others { background: var(--paper-2); padding: 3rem 0 3.5rem; }
.others h2 { font-size: clamp(2rem, 6vw, 2.75rem); margin-bottom: 1.25rem; }
.others ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.other-link {
  display: flex; align-items: center; gap: .75rem;
  min-height: 60px; padding: .75rem 1.1rem;
  background: var(--paper);
  border: 2px solid var(--forest); border-radius: 4px;
  font-weight: 700; text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.other-link .ico { width: 1.75rem; height: 1.75rem; color: #5E7F5A; }
.other-link:hover { background: var(--forest); color: var(--paper); }
.other-link:hover .ico { color: var(--gold); }
@media (min-width: 760px) {
  .others ul { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

/* ---------- Services overview: a directory, one row per group ---------- */
.dir { padding: 3.5rem 0 4.5rem; }
.dir-row {
  position: relative;
  display: grid; gap: 1.25rem;
  padding: 2rem 0;
  border-top: 2px solid var(--forest);
}
.dir-row:last-child { border-bottom: 2px solid var(--forest); }
.dir-photo { margin: 0; overflow: hidden; }
.dir-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s ease; }
.dir-head { display: flex; align-items: center; gap: .75rem; }
.dir-head .ico { width: 2.25rem; height: 2.25rem; color: var(--clay); stroke-width: 1.6; flex: none; }
.dir-title { font-size: clamp(2.5rem, 10vw, 4rem); }
.dir-title a { text-decoration: none; }
.dir-title a::after { content: ""; position: absolute; inset: 0; }
.dir-title a:focus-visible { outline: none; }
.dir-row:focus-within { outline: 3px solid var(--forest); outline-offset: 6px; }
.dir-items { color: var(--ink-soft); margin: .75rem 0 0; max-width: 56ch; }
.dir-more { display: inline-block; margin-top: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 2px; }
.dir-row:hover .dir-title { color: var(--clay-press); }
.dir-row:hover .dir-photo img { transform: scale(1.03); }
@media (min-width: 900px) {
  .dir { padding: 5rem 0 6rem; }
  .dir-row { grid-template-columns: 320px minmax(0, 1fr); gap: 3rem; align-items: center; padding: 2.5rem 0; }
}

/* ---------- Home: quote teaser ---------- */
.teaser { background: var(--paper-2); padding: 4.5rem 0 5rem; }
.teaser-grid { display: grid; gap: 2.75rem; }
.teaser h2 { font-size: clamp(3.25rem, 13vw, 6rem); margin-bottom: 1rem; }
.teaser-copy p { color: var(--ink-soft); max-width: 34ch; }
.demo-chips { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.demo-chips li {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px; padding: .45rem 1rem .45rem .8rem;
  background: var(--paper);
  border: 2px solid var(--forest); border-radius: 999px;
  font-size: 1rem; font-weight: 600;
}
.demo-chips li::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background:
    linear-gradient(var(--forest), var(--forest)) center / 14px 2.5px no-repeat,
    linear-gradient(var(--forest), var(--forest)) center / 2.5px 14px no-repeat;
}
.demo-chips li.on { background: var(--forest); color: var(--paper); }
.demo-chips li.on::before {
  width: 13px; height: 7px; margin: -4px 1px 0;
  background: none;
  border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  transform: rotate(-45deg);
}
.demo-label { font-size: .875rem; color: var(--sage); text-align: right; margin: .5rem 0 0; }
@media (min-width: 1024px) {
  .teaser { padding: 6.5rem 0; }
  .teaser-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 5rem; align-items: center; }
}

/* ---------- Simple paper band with a CTA (contact, our work) ---------- */
.band { background: var(--paper-2); padding: 3rem 0; }
.band-inner { display: grid; gap: 1.25rem; }
.band h2 { font-size: clamp(2.25rem, 8vw, 3.5rem); }
.band p { color: var(--ink-soft); margin: .5rem 0 0; max-width: 46ch; }
@media (min-width: 900px) {
  .band-inner { grid-template-columns: 1fr auto; align-items: center; gap: 3rem; }
}

.more { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.more-grid { display: grid; gap: 1.5rem; }
.more h2 { font-size: clamp(3rem, 12vw, 6rem); }
.more p { color: var(--ink-soft); max-width: 40ch; }
.more .hero-actions { margin-top: .5rem; }
@media (min-width: 900px) {
  .more-grid { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 4rem; }
}

/* ---------- Contact page ---------- */
.reach { padding: 3rem 0 0; }
.reach-grid { display: grid; gap: 1rem; }
.reach-tile {
  display: block; padding: 1.5rem 1.4rem 1.6rem;
  border-radius: 6px; text-decoration: none;
  transition: transform .1s ease, background-color .15s ease;
}
.reach-tile:active { transform: translateY(2px); }
.reach-call { background: var(--clay); color: #fff; }
.reach-call:hover { background: var(--clay-press); }
.reach-text { background: var(--gold); color: var(--forest); }
.reach-text:hover { background: var(--gold-press); }
.reach-tile .ico { width: 2.25rem; height: 2.25rem; stroke-width: 2; }
.reach-label { display: block; font-weight: 700; font-size: 1.1875rem; margin-top: .9rem; }
.reach-number {
  display: block; font-family: var(--display); font-weight: 900;
  font-size: clamp(2.75rem, 12vw, 4.5rem); line-height: .9; margin-top: .25rem;
}
@media (min-width: 760px) {
  .reach-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .reach-tile { padding: 2rem 2rem 2.2rem; }
}

/* ---------- Prose (privacy) ---------- */
.prose { padding: 3.5rem 0 4.5rem; }
.prose-inner { max-width: 68ch; }
.prose h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 2rem; line-height: 1; margin: 2.25rem 0 .75rem;
}
.prose h2:first-child { margin-top: 0; }
.prose a { font-weight: 700; }

/* ---------- 404 ---------- */
.lost { min-height: 62vh; display: flex; align-items: center; }

.sample-flag{margin:0;padding:.45rem 1rem;background:#F7F2E6;color:#173B2B;text-align:center;font-weight:700;font-size:.875rem}
.hero.hero-show{animation:none;background:#173B2B;overflow:hidden}
.slides,.slide{position:absolute;inset:0;width:100%;height:100%}
.slide{object-fit:cover;opacity:0;animation:fade 12s infinite}
.slide:nth-child(1){animation-delay:-1s}.slide:nth-child(2){animation-delay:-9s}.slide:nth-child(3){animation-delay:-5s}
@keyframes fade{0%{opacity:0}8.33%,33.33%{opacity:1}41.66%,100%{opacity:0}}
.slides::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,38,27,.9),rgba(14,38,27,.72) 55%,rgba(14,38,27,.45))}
.hero-show .hero-grid{position:relative;display:block;padding-block:3.5rem 5rem}
.hero-show .hero-copy{max-width:var(--max);margin-inline:auto;padding:0 var(--gutter)}
.hero-show .hero-note{color:#F7F2E6}
.hero-show.paused .slide{animation-play-state:paused}
.slide-pause{position:absolute;right:1rem;bottom:1rem;z-index:2;min-height:44px;padding:.4rem 1rem;border:1px solid rgba(247,242,230,.7);border-radius:4px;background:rgba(14,38,27,.75);color:#F7F2E6;font:600 .875rem var(--body,sans-serif);cursor:pointer}
@media(min-width:1024px){.hero-show .hero-grid{padding-block:6.5rem 7.5rem}}
@media(prefers-reduced-motion:reduce){.slide{animation:none}.slide:nth-child(1){opacity:1}.slide-pause{display:none}}
