/* ==========================================================================
   Roller Reprographics & Signs
   One plain CSS file, no build step. Every color, size and space is a custom
   property in :root. Design from the Fable prototype (2026-11-02).
   ========================================================================== */

:root {
  /* ---- Colour roles ---- */
  --green:          #8CC63F;  /* the brand green from the logo and storefront signs */
  --green-deep:     #74AB2C;  /* hover / pressed */
  --green-text:     #4A7A12;  /* green as small text on light surfaces (5.6:1 on white) */
  --green-wash:     #EEF6E2;  /* light tint behind icons */
  --green-on-dark:  #9ED455;  /* green text on charcoal (9.4:1) */

  --ink:            #15181A;  /* charcoal, like the building's siding: hero, bands, footer */
  --ink-2:          #1E2225;  /* a step lighter: cards on dark, bottom bar */
  --paper:          #FFFFFF;
  --paper-2:        #F3F4F0;  /* off-white with a hint of green for alternating sections */
  --line:           #DCE0D8;  /* hairlines on light */
  --line-dark:      #2C3235;  /* hairlines on dark */

  --text:           #1B1E20;
  --text-2:         #555C60;  /* secondary text on light (6.7:1) */
  --text-on-dark:   #FFFFFF;
  --text-2-on-dark: #B7BEC1;  /* secondary text on charcoal (9:1) */

  --focus:          #1D4ED8;  /* focus ring, deliberately not green */
  --error:          #B42318;

  /* ---- Type ---- */
  --font-head: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --fs-xs:   0.8125rem; /* 13px */
  --fs-sm:   0.9375rem; /* 15px */
  --fs-base: 1.0625rem; /* 17px */
  --fs-md:   1.1875rem; /* 19px */
  --fs-lg:   1.375rem;  /* 22px lead text */
  --fs-h4:   1.25rem;   /* 20px */
  --fs-h3:   1.625rem;  /* 26px card titles (condensed, so a little larger) */
  --fs-h2:   clamp(2rem, 1.5rem + 2vw, 2.875rem);   /* 32→46px */
  --fs-h1:   clamp(2.625rem, 2rem + 3vw, 4.25rem);   /* 42→68px */
  --fs-stat: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --lh-tight: 1.02;
  --lh-head:  1.12;
  --lh-body:  1.6;

  /* ---- Spacing (4px base) ---- */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

  /* ---- Layout ---- */
  --container: 74rem;
  --container-narrow: 44rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 6.25rem;
  --logo-w: 10.5rem;
  --action-bar-h: 3.75rem;

  /* ---- Shape & depth ---- */
  --r-sm: 0.25rem;
  --r-md: 0.5rem;
  --r-lg: 0.875rem;
  --shadow-card: 0 1px 2px rgba(21,24,26,.05), 0 10px 28px rgba(21,24,26,.07);
  --shadow-pop: 0 12px 32px rgba(21,24,26,.18);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: var(--lh-head);
  margin: 0 0 var(--s-4);
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--green-text); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--text); }

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

ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25rem; }

strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--r-sm); }

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

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--paper); color: var(--text); padding: var(--s-2) var(--s-4); border-radius: var(--r-sm);
}
.skip-link:focus { top: var(--s-4); }

/* Inline icons */
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */

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

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }

.surface-paper   { background: var(--paper);   color: var(--text); }
.surface-paper-2 { background: var(--paper-2); color: var(--text); }
.surface-ink     { background: var(--ink);     color: var(--text-on-dark); }
.surface-green   { background: var(--green);   color: var(--ink); }

.section-head { max-width: var(--container-narrow); margin-bottom: var(--s-7); }
.section-head h2 { margin-bottom: var(--s-3); }
.section-head p { font-size: var(--fs-md); color: var(--text-2); }
.surface-ink .section-head p { color: var(--text-2-on-dark); }

.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-base);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-text);
  margin-bottom: var(--s-3);
}
.surface-ink .eyebrow { color: var(--green-on-dark); }

.lead { font-size: var(--fs-lg); line-height: 1.45; color: var(--text-2); }
.surface-ink .lead { color: var(--text-2-on-dark); }
.muted { color: var(--text-2); }
.surface-ink .muted { color: var(--text-2-on-dark); }

.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }

/* Short green rule used under headings in dark sections */
.rule { width: 3rem; height: 4px; background: var(--green); border-radius: 2px; margin: 0 0 var(--s-5); }

/* ==========================================================================
   Buttons and links
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 3rem; padding: 0 1.375rem;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-sm);
  line-height: 1; text-decoration: none; white-space: nowrap;
  border-radius: var(--r-sm); border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.125em; height: 1.125em; }

.btn--primary { background: var(--green); color: var(--ink); border-color: var(--green); }
.btn--primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--ink); }

.btn--secondary { background: transparent; color: var(--text); border-color: var(--text); }
.btn--secondary:hover { background: var(--text); color: #fff; }
.surface-ink .btn--secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.surface-ink .btn--secondary:hover { background: #fff; color: var(--ink); border-color: #fff; }

.surface-green .btn--primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.surface-green .btn--primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.surface-green .btn--secondary { color: var(--ink); border-color: var(--ink); }
.surface-green .btn--secondary:hover { background: var(--ink); color: #fff; }

.btn--lg { min-height: 3.5rem; padding: 0 1.75rem; font-size: var(--fs-base); }
.btn--sm { min-height: 2.5rem; padding: 0 1rem; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 600; font-size: var(--fs-sm); color: var(--green-text); text-decoration: none;
}
.link-arrow .icon { width: 1em; height: 1em; transition: transform .15s; }
.link-arrow:hover { color: var(--text); }
.link-arrow:hover .icon { transform: translateX(3px); }
.surface-ink .link-arrow { color: var(--green-on-dark); }
.surface-ink .link-arrow:hover { color: #fff; }

/* Phone number set as a plain, big link */
.phone-link { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: inherit; text-decoration: none; letter-spacing: 0.01em; }
.phone-link:hover { color: var(--green-text); }
.surface-ink .phone-link:hover { color: var(--green-on-dark); }

/* ==========================================================================
   Lists
   ========================================================================== */

.checklist { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: var(--s-2); }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 1.125rem; height: 1.125rem; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315181A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
}
.checklist--two { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); column-gap: var(--s-6); }

/* Definition-style contact list */
.details { margin: 0; display: grid; gap: var(--s-5); }
.details > div { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s-3); align-items: start; }
.details dt {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--r-md);
  background: var(--green-wash); color: var(--green-text);
}
.details dt .icon { width: 1.25rem; height: 1.25rem; }
.details dd { margin: 0; }
.details dd strong { display: block; font-family: var(--font-head); font-size: var(--fs-h4); font-weight: 700; margin-bottom: 2px; }
.details dd a { color: inherit; }
.details dd a:hover { color: var(--green-text); }
.details dd .muted { font-size: var(--fs-sm); }

/* Placeholder for content the client still owes us */
.todo {
  display: inline-block; padding: 0.1em 0.5em; border-radius: var(--r-sm);
  background: #FFF4CC; color: #6B4E00; font-size: var(--fs-sm); font-weight: 600; border: 1px dashed #D9B23C;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); color: var(--text);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); padding-block: var(--s-3); }

.logo { display: block; width: var(--logo-w); flex: none; }
.logo img { width: 100%; height: auto; }

.nav { display: flex; align-items: center; gap: var(--s-5); margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--s-1); }
.nav li a {
  display: inline-flex; align-items: center; gap: 0.3em;
  padding: var(--s-2) var(--s-3); border-radius: var(--r-sm);
  font-weight: 500; font-size: var(--fs-md); color: var(--text); text-decoration: none;
}
.nav li a:hover { background: var(--paper-2); }
.nav li a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.nav li a .icon { width: 0.8em; height: 0.8em; stroke-width: 2; opacity: .55; }

.nav-toggle { display: none; }
/* Shared on the planroom: its own links slot in only atop the phone menu, never the desktop row. */
:host .nav > slot { display: none; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */

.hero { position: relative; overflow: hidden; }
.hero .container {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding-block: clamp(3rem, 2rem + 4vw, 6rem);
}
.hero h1 { margin-bottom: var(--s-5); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--green-on-dark); }
.hero .lead { max-width: 36ch; margin-bottom: var(--s-6); }
.hero .btn-row { margin-bottom: var(--s-6); }
.hero-call { display: flex; align-items: center; gap: var(--s-3); color: var(--text-2-on-dark); font-size: var(--fs-sm); }
.hero-call .phone-link { font-size: 1.375rem; color: #fff; }

.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.hero-photo figcaption {
  position: absolute; left: var(--s-4); bottom: var(--s-4);
  background: var(--ink); color: #fff; padding: var(--s-2) var(--s-3); border-radius: var(--r-sm);
  font-size: var(--fs-xs); font-weight: 500; display: inline-flex; align-items: center; gap: var(--s-2);
}
.hero-photo figcaption .icon { width: 1em; height: 1em; color: var(--green-on-dark); }

/* On wider screens the photo fills the whole hero. A dark overlay covers the
   left half, where the text sits, and fades out slowly toward the right. */
@media (min-width: 52.01em) {
  .hero .container > div { position: relative; z-index: 1; }
  .hero-photo { position: absolute; inset: 0; margin: 0; }
  .hero-photo img { height: 100%; aspect-ratio: auto; border-radius: 0; }
  .hero-photo::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to right,
      color-mix(in srgb, var(--ink) 94%, transparent) 0%,
      color-mix(in srgb, var(--ink) 88%, transparent) 45%,
      color-mix(in srgb, var(--ink) 62%, transparent) 62%,
      color-mix(in srgb, var(--ink) 30%, transparent) 80%,
      color-mix(in srgb, var(--ink) 12%, transparent) 100%);
  }
  .hero-photo figcaption { left: auto; right: var(--s-4); z-index: 1; }
}

/* Green strip of quick tasks that sits just under the hero */
.tasks { background: var(--green); color: var(--ink); }
.tasks ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.tasks li { border-left: 1px solid rgba(21,24,26,.18); }
.tasks li:first-child { border-left: 0; }
.tasks a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-4) var(--s-4); color: inherit; text-decoration: none; min-height: 4.25rem; height: 100%;
}
.tasks a span { display: block; }
.tasks a strong { display: block; font-family: var(--font-head); font-size: var(--fs-h4); font-weight: 700; line-height: 1.1; }
.tasks a small { display: block; font-size: var(--fs-xs); opacity: .8; }
.tasks a .icon { width: 1.25rem; height: 1.25rem; transition: transform .15s; }
.tasks a:hover { background: var(--green-deep); }
.tasks a:hover .icon { transform: translateX(3px); }

/* ==========================================================================
   Page title (inner pages)
   ========================================================================== */

.page-title { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.page-title h1 { margin-bottom: var(--s-4); max-width: 20ch; font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem); }
.page-title .lead { max-width: 44ch; margin-bottom: 0; }
.page-title .btn-row { margin-top: var(--s-6); }

/* An optional photo behind the title, kept faint under a dark overlay. */
.page-title.has-photo { position: relative; overflow: hidden; }
.page-title-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-title.has-photo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right,
    color-mix(in srgb, var(--ink) 92%, transparent) 0%,
    color-mix(in srgb, var(--ink) 84%, transparent) 50%,
    color-mix(in srgb, var(--ink) 70%, transparent) 100%);
  z-index: 1;
}
.page-title.has-photo .container { position: relative; z-index: 2; }

/* Inner-page nav: jump links under the title */
.jump { border-bottom: 1px solid var(--line); background: var(--paper); }
.jump ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s-1); overflow-x: auto; }
.jump a { display: block; padding: var(--s-4) var(--s-3); font-weight: 600; font-size: var(--fs-sm); color: var(--text-2); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.jump a:hover { color: var(--text); border-color: var(--green); }

/* ==========================================================================
   Service cards (home)
   ========================================================================== */

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.card {
  display: flex; flex-direction: column; gap: var(--s-3);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5);
}
.card-icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--r-md);
  background: var(--green-wash); color: var(--green-text); margin-bottom: var(--s-2);
}
.card-icon .icon { width: 1.5rem; height: 1.5rem; }
.card h3 { margin-bottom: 0; }
.card p { color: var(--text-2); font-size: var(--fs-base); flex: 1; }
.card .card-links { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-2); }

/* ==========================================================================
   Split sections (photo + text)
   ========================================================================== */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--text-first .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--r-lg); object-fit: cover; }
.split-media--product img { object-fit: contain; background: #fff; border: 1px solid var(--line); padding: var(--s-5); aspect-ratio: 5 / 4; }
.split h2 { margin-bottom: var(--s-4); }
.split .lead { margin-bottom: var(--s-4); }

/* Service sections on the Services page: a slim numbered strip, then text and a side panel */
.service { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; }
.service .container { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.service-aside { background: var(--paper-2); border-radius: var(--r-lg); padding: var(--s-5); }
.service-aside h3 { font-size: var(--fs-h4); margin-bottom: var(--s-3); }
.service-aside .btn-row { flex-direction: column; align-items: stretch; }
.service-aside .btn { justify-content: space-between; }
.service-aside p { font-size: var(--fs-sm); color: var(--text-2); margin-bottom: var(--s-4); }
.service-aside figure { margin: 0 0 var(--s-4); }
.service-aside figure img { border-radius: var(--r-md); }
.surface-ink .service-aside, .service-aside.surface-ink { background: var(--ink-2); color: var(--text-on-dark); }
.surface-ink .service-aside p, .service-aside.surface-ink p { color: var(--text-2-on-dark); }
.service-aside--call { padding: var(--s-6); }
.service-aside--call h3 { font-size: var(--fs-h3); }
.service-aside--call .btn-row { flex-direction: row; }
.service-aside--call .btn { justify-content: center; }
.service h2 .num { color: var(--green-text); margin-right: 0.3em; }
.surface-ink .service h2 .num { color: var(--green-on-dark); }

/* ==========================================================================
   Planroom band (home)
   ========================================================================== */

.link-band .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.band-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.band-links a {
  display: grid; grid-template-columns: 2.75rem 1fr auto; gap: var(--s-4); align-items: center;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: var(--s-4) var(--s-5);
  color: #fff; text-decoration: none; transition: border-color .15s, background-color .15s;
}
.band-links a:hover { border-color: var(--green); background: #23282B; }
.band-links .card-icon { background: rgba(140,198,63,.14); color: var(--green-on-dark); margin: 0; width: 2.75rem; height: 2.75rem; }
.band-links strong { display: block; font-family: var(--font-head); font-size: var(--fs-h4); line-height: 1.1; }
.band-links small { display: block; color: var(--text-2-on-dark); font-size: var(--fs-sm); }
.band-links .arrow { display: flex; color: var(--green-on-dark); }
.band-links .arrow .icon { width: 1.25rem; height: 1.25rem; }

/* ==========================================================================
   Products (equipment page)
   ========================================================================== */

.products { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.product { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.product-media { background: #fff; display: grid; place-items: center; padding: var(--s-4); border-right: 1px solid var(--line); }
.product-media img { max-height: 15rem; width: auto; }
.product-body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); }
.product-body .eyebrow { margin-bottom: 0; font-size: var(--fs-sm); }
.product-body h3 { margin-bottom: 0; }
.product-body p { color: var(--text-2); flex: 1; }

/* ==========================================================================
   Photo gallery
   ========================================================================== */

.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); background: var(--paper-2); }
.gallery figcaption { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--text-2); }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact .form { grid-column: 2; grid-row: 1 / span 2; }
.contact-hints { grid-column: 1; }
.contact-aside h2 { font-size: var(--fs-h3); }
.contact-hints { padding: var(--s-5); background: var(--paper-2); border-radius: var(--r-lg); }
.contact-hints h3 { font-size: var(--fs-h4); margin-bottom: var(--s-3); }
.contact-hints ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.contact-hints li { display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; font-size: var(--fs-sm); }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2.5rem); }
.form h2 { margin-bottom: var(--s-2); }
/* Gradient draws the form (.cms-form); these rules give it the site's look. */
.form-intro { color: var(--text-2); margin-bottom: var(--s-5); }
.cms-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.cms-field { grid-column: 1 / -1; }
.cms-field[data-width="1/2"] { grid-column: span 1; }
.cms-field label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: var(--s-1); }
.cms-required { color: var(--error); }
.cms-field p { font-size: var(--fs-sm); color: var(--text-2); margin-bottom: var(--s-1); }
.cms-field p.cms-error { color: var(--error); font-weight: 600; }
.cms-field input, .cms-field textarea, .cms-field select {
  width: 100%; font: inherit; color: var(--text);
  padding: 0.75rem 0.875rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.cms-field input:focus, .cms-field textarea:focus, .cms-field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(140,198,63,.35); }
.cms-field input:focus-visible, .cms-field textarea:focus-visible, .cms-field select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.cms-field [aria-invalid="true"] { border-color: var(--error); }
.cms-field textarea { min-height: 9rem; resize: vertical; }
.cms-form button[type="submit"] {
  grid-column: 1 / -1; justify-self: start;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 3.5rem; padding: 0 1.75rem; margin-top: var(--s-2);
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-base); line-height: 1;
  background: var(--green); color: var(--ink); border: 2px solid var(--green); border-radius: var(--r-sm);
  cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s;
}
.cms-form button[type="submit"]:hover { background: var(--green-deep); border-color: var(--green-deep); }
.cms-form button[type="submit"]:active { transform: translateY(1px); }
.cms-form-status { grid-column: 1 / -1; padding: var(--s-4); border-radius: var(--r-md); background: #FDECEA; color: var(--error); }
.cms-form-status ul { margin: var(--s-2) 0 0; }
.cms-form-status a { color: inherit; }
.cms-form-sent .cms-form-status { background: var(--green-wash); color: var(--text); font-weight: 600; }
.form-note { margin-top: var(--s-5); font-size: var(--fs-sm); color: var(--text-2); }

.visit { margin-top: var(--section-y); }
.visit figure { margin: 0; position: relative; }
.visit img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: center 60%; border-radius: var(--r-lg); }
.visit figcaption { margin-top: var(--s-3); color: var(--text-2); font-size: var(--fs-sm); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta .container { display: grid; grid-template-columns: 1fr auto; gap: var(--s-6); align-items: center; }
.cta h2 { margin-bottom: var(--s-2); }
.cta p { color: var(--ink); font-size: var(--fs-md); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { padding-block: var(--s-8) 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--s-7); padding-bottom: var(--s-7); }
.footer-brand .logo { width: 11rem; margin-bottom: var(--s-5); }
.footer-brand p { color: var(--text-2-on-dark); max-width: 36ch; }
.footer-brand address { font-style: normal; margin: var(--s-4) 0; line-height: 1.5; }
.footer-brand address a { color: inherit; text-decoration: none; }
.footer-brand address a:hover { color: var(--green-on-dark); }
.footer-brand .phone-link { font-size: 1.375rem; display: inline-block; margin-top: var(--s-1); }

.social { display: flex; gap: var(--s-2); list-style: none; margin: var(--s-4) 0 0; padding: 0; }
.social a {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid var(--line-dark); color: #fff; transition: border-color .15s, background-color .15s;
}
.social a:hover { background: var(--green); border-color: var(--green); color: var(--ink); }
.social .icon { width: 1.125rem; height: 1.125rem; }
.social--light a { border-color: var(--line); color: var(--text); }

.footer-col h2 { font-weight: 600; font-size: var(--fs-base); text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-on-dark); margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer-col a { color: var(--text-2-on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 0.3em; }
.footer-col a:hover { color: #fff; }
.footer-col a .icon { width: 0.75em; height: 0.75em; opacity: .6; stroke-width: 2; }

.footer-bar { border-top: 1px solid var(--line-dark); background: var(--ink-2); }
.footer-bar .container { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding-block: var(--s-4); font-size: var(--fs-xs); color: var(--text-2-on-dark); }

/* Sticky action bar on phones: the three things most visitors came to do */
.action-bar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 64em) {
  .cards { grid-template-columns: 1fr 1fr; }
  .tasks ul { grid-template-columns: 1fr 1fr; }
  .tasks li:nth-child(3) { border-left: 0; }
  .tasks li:nth-child(n + 3) { border-top: 1px solid rgba(21,24,26,.18); }
  .products { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  :root { --logo-w: 9rem; }
  .site-header .container, .nav { gap: var(--s-3); }
  .nav ul { gap: 0; }
  .nav li a { font-size: var(--fs-base); padding-inline: var(--s-2); }
}

@media (max-width: 52em) {
  :root { --header-h: 5rem; --logo-w: 8.5rem; }
  body { padding-bottom: calc(var(--action-bar-h) + env(safe-area-inset-bottom)); }

  .site-header .container { gap: var(--s-3); }
  .nav-toggle {
    display: grid; margin-left: auto; place-items: center; width: 2.75rem; height: 2.75rem;
    background: none; border: 1.5px solid var(--line); border-radius: var(--r-sm); color: var(--text); cursor: pointer;
  }
  .nav-toggle .icon { width: 1.375rem; height: 1.375rem; }
  .nav-toggle span { display: flex; }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }

  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-pop);
    padding: var(--s-3) var(--gutter) var(--s-5); margin: 0; flex-direction: column; align-items: stretch; gap: var(--s-4);
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li a { display: flex; justify-content: space-between; padding: var(--s-3) var(--s-2); font-size: var(--fs-md); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav li a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--green); padding-left: var(--s-4); }
  .nav .btn { display: none; }
  /* Shared on another site's page (the planroom), the site's script doesn't run, so the Menu button's own state opens
     the menu. Slotted links sit above the menu's own, with a divider under them. These match only in the shared header. */
  :host .nav-toggle[aria-expanded="true"] + .nav { display: flex; }
  :host .nav > slot[data-slotted] { display: block; padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }

  .hero .container { grid-template-columns: 1fr; padding-block: var(--s-7) var(--s-6); }
  .hero h1 { max-width: none; }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 16 / 9; }

  .tasks ul { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
  .tasks li { border-left: 0; border-top: 1px solid rgba(21,24,26,.18); }
  .tasks li:first-child { border-top: 0; }

  .cards { grid-template-columns: 1fr; }
  .split, .service .container, .link-band .container, .contact { grid-template-columns: 1fr; }
  .contact .form { grid-column: auto; grid-row: auto; }
  .contact-hints { grid-column: auto; }
  .split--text-first .split-media { order: 0; }
  .product { grid-template-columns: 1fr; }
  .product-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .cms-form { grid-template-columns: 1fr; }
  .cms-field[data-width="1/2"] { grid-column: 1 / -1; }
  .cta .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }

  .action-bar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--line-dark); border-top: 1px solid var(--line-dark);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: var(--action-bar-h); background: var(--ink); color: #fff; text-decoration: none;
    font-size: var(--fs-xs); font-weight: 600;
  }
  .action-bar a .icon { width: 1.25rem; height: 1.25rem; color: var(--green-on-dark); }
  .action-bar a.is-primary { background: var(--green); color: var(--ink); }
  .action-bar a.is-primary .icon { color: var(--ink); }
}

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

/* Rich text in Photo and text sections */
.prose p { margin-bottom: var(--s-4); }
.prose p:last-child { margin-bottom: var(--s-5); }
.split .checklist + .muted { margin-top: calc(var(--s-2) * -1); }
