/* ==========================================================================
   LECOURS LUMBER CO. LIMITED — lecourslumber.ca
   One shared stylesheet. Mobile-first.

   Fonts are self-hosted in /fonts (Montserrat, SIL Open Font License — see
   fonts/OFL.txt): faster, preloadable, works offline, no third-party request.
   Every page preloads the 400 and 500 weights in its <head>.

   Contents
    0. Fonts
   1. Tokens            10. Motto band
    2. Base & reset      11. Split blocks, CTA band, page hero
    3. Type scale        12. Gallery, carousel, lightbox
    4. Layout            13. Forms & quick quote bar
    5. Buttons & links   14. Content: prose, tables, downloads, FAQ, news
    6. Header            15. Footer
    7. Hero              16. Utilities, reveal, 404
    8. Section titles    17. Reduced motion & print
    9. Cards & timeline   18. Page parts: logo, news, jobs, policy, map, hours
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonts — Montserrat 400, 500, 700 + 300 italic (motto only)
   Gotham licence? Add its @font-face rules here and change --font-sans.
   -------------------------------------------------------------------------- */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }


/* --------------------------------------------------------------------------
   1. Tokens — colours from the logo and current site. Use only these.
   -------------------------------------------------------------------------- */
:root {
  /* Colour */
  --forest-green: #094533;   /* primary: headings, links, buttons, dark sections */
  --green-dark:   #06301f;   /* hover, footer */
  --charcoal:     #333333;   /* body text, overlays */
  --white:        #ffffff;
  --gray-100:     #ededed;   /* light sections, card media */
  --gray-300:     #d6d6d6;   /* borders, dividers */
  --wood-accent:  #c8a46a;   /* natural wood accent: small details only, never text on white */
  --overlay:      rgba(51, 51, 51, 0.55);   /* charcoal at 55% over photos */

  /* Font */
  --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  /* Gotham licence? → --font-sans: "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif; */

  /* Type scale — clamp(mobile, fluid, desktop), fluid between 768px and 1280px */
  --fs-h1:       clamp(2rem, 0.5rem + 3.125vw, 3rem);          /* 32 → 48 */
  --lh-h1:       1.25;                                           /* 40 / 60 */
  --fs-h2:       clamp(1.5rem, 0.75rem + 1.5625vw, 2rem);       /* 24 → 32 */
  --lh-h2:       1.25;
  --fs-h2-sm:    clamp(1.25rem, 0.875rem + 0.78125vw, 1.5rem);  /* 20 → 24 */
  --lh-h2-sm:    1.3333;
  --fs-h3:       1rem;      --lh-h3:    1.25rem;    /* 16 / 20 */
  --fs-card:     0.875rem;  --lh-card:  1.25rem;    /* 14 / 20 */
  --fs-lead:     1rem;      --lh-lead:  1.5rem;     /* 16 / 24 */
  --fs-body:     0.9375rem; --lh-body:  1.375rem;   /* 15 / 22 on phones … */
  --fs-nav:      0.875rem;  --lh-nav:   1.25rem;    /* 14 / 20 */
  --fs-label:    0.75rem;   --lh-label: 1rem;       /* 12 / 16 */
  --fs-btn:      0.875rem;                          /* 14 */
  --fs-motto:    clamp(1.75rem, 0.25rem + 3.125vw, 2.5rem);     /* 28 → 40 */

  /* Space */
  --space-1: 4px;  --space-2: 8px;  --space-3: 16px;
  --space-4: 24px; --space-5: 32px; --space-6: 48px;
  --section-gap: clamp(4rem, 0.5rem + 7.8125vw, 7rem);          /* 64 → 112 */
  --gutter: clamp(1rem, 0.25rem + 2.5vw, 2rem);                 /* 16 → 32 */
  --container: 1200px;
  --measure: 40rem;                                             /* 640px ≈ 65 chars */

  /* Shape & depth */
  --radius-sm: 2px;
  --radius-round: 50%;
  --shadow-card: 0 1px 3px rgba(51, 51, 51, 0.10);
  --shadow-card-hover: 0 12px 28px rgba(51, 51, 51, 0.16);
  --shadow-header: 0 4px 16px rgba(51, 51, 51, 0.10);

  /* Header */
  --header-h: 64px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --t-fast: 150ms;
  --t-med: 300ms;
}

@media (min-width: 768px) {
  :root { --fs-body: 0.875rem; --lh-body: 1.25rem; }          /* … 14 / 20 from tablet up */
}
@media (min-width: 1280px) {
  :root { --header-h: 88px; }
}

/* --------------------------------------------------------------------------
   2. Base & reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
img { font-style: italic; }   /* alt text styled if an image is missing */

a { color: var(--forest-green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

address { font-style: normal; }

hr { border: 0; border-top: 1px solid var(--gray-300); margin: var(--space-6) 0; }

:focus-visible { outline: 2px solid var(--forest-green); outline-offset: 3px; }
.on-dark :focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible,
.hero :focus-visible { outline-color: var(--white); }

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

.skip-link {
  position: absolute; left: var(--space-3); top: -200px; z-index: 1000;
  padding: 12px 20px;
  background: var(--forest-green); color: var(--white);
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none;
}
.skip-link:focus { top: var(--space-3); color: var(--white); }

/* --------------------------------------------------------------------------
   3. Type scale — uppercase headings, never heavy
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, .h1, .h2, .h2-sm, .h3, .card-title {
  font-family: var(--font-sans);
  color: var(--forest-green);
  text-transform: uppercase;
  letter-spacing: normal;
  margin: 0;
}

h1, .h1     { font-size: var(--fs-h1);    line-height: var(--lh-h1);    font-weight: 400; }
h2, .h2     { font-size: var(--fs-h2);    line-height: var(--lh-h2);    font-weight: 500; }
.h2-sm      { font-size: var(--fs-h2-sm); line-height: var(--lh-h2-sm); font-weight: 500; }
h3, .h3     { font-size: var(--fs-h3);    line-height: var(--lh-h3);    font-weight: 700; }
h4          { font-size: var(--fs-h3);    line-height: var(--lh-h3);    font-weight: 500; }
.card-title { font-size: var(--fs-card);  line-height: var(--lh-card);  font-weight: 400; }

.lead {
  font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: 400;
  max-width: var(--measure);
}

.label {
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em;
}

.motto {
  font-family: var(--font-sans);
  font-size: var(--fs-motto); line-height: 1.2;
  font-weight: 300; font-style: italic;
  text-transform: none;
  color: var(--forest-green);
  max-width: none;
}

/* White text on dark green and photos */
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark .h2-sm,
.on-dark .card-title, .on-dark .motto, .on-dark p, .on-dark a:not(.btn) { color: var(--white); }

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

.section { padding-block: calc(var(--section-gap) / 2); }
.section--gray  { background: var(--gray-100); }
.section--green { background: var(--forest-green); }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 599px) {
  .grid--4 { grid-template-columns: 1fr 1fr; gap: var(--space-3); }   /* two small cards per row on phones */
}

.stack > * + * { margin-top: var(--space-3); }

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: var(--fs-btn); line-height: 1.25; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em;
  text-align: center; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.btn--primary { background: var(--forest-green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--forest-green); border-color: var(--forest-green); }
.btn--outline:hover { background: var(--forest-green); color: var(--white); }
.btn--light { background: var(--white); color: var(--forest-green); }
.btn--light:hover { background: var(--gray-100); color: var(--green-dark); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--forest-green); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--fs-btn); line-height: 1.25; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none;
  color: var(--forest-green);
}
.link-arrow::after { content: "→"; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header — sticky, shrinks on scroll; drawer below 1280px
   (French needs ~1230px for the full menu, English ~1185px)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  transition: box-shadow var(--t-med) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-header); border-bottom-color: transparent; }

.header__inner {
  display: flex; align-items: center; gap: var(--space-4);
  height: var(--header-h);
  transition: height var(--t-med) var(--ease);
}
@media (min-width: 1280px) {
  .site-header.is-scrolled .header__inner { height: 64px; }
}

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.logo img { height: 44px; width: auto; transition: height var(--t-med) var(--ease); }
@media (min-width: 1280px) {
  .logo img { height: 56px; }
  .site-header.is-scrolled .logo img { height: 44px; }
}
/* Text wordmark — used until the logo file is supplied */
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--forest-green);
}
.logo__sub {
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--charcoal);
}

/* Tools (search, language, CTA, phone, burger) */
.header__tools { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; flex-shrink: 0; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  background: none; border: 1px solid var(--gray-300); border-radius: var(--radius-round);
  color: var(--forest-green); text-decoration: none;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.icon-btn:hover { border-color: var(--forest-green); background: var(--gray-100); color: var(--forest-green); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: square; }

.lang-switch {
  display: flex; align-items: center; gap: 2px;
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500;
  letter-spacing: 0.05em; white-space: nowrap;
}
.lang-switch a, .lang-switch [aria-current] { padding: 6px 4px; text-decoration: none; }
.lang-switch a { color: var(--charcoal); }
.lang-switch a:hover { color: var(--forest-green); }
.lang-switch [aria-current] { color: var(--forest-green); box-shadow: inset 0 -1px 0 var(--forest-green); }
.lang-switch__sep { color: var(--gray-300); }

.header__cta { white-space: nowrap; }

/* Burger */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; color: var(--forest-green);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 24px; height: 2px; background: currentColor;
  transition: transform var(--t-med) var(--ease), background-color var(--t-fast);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* Menu — shared */
.menu { list-style: none; margin: 0; padding: 0; }
.menu__link {
  display: flex; align-items: center; gap: 6px;
  font-size: var(--fs-nav); line-height: var(--lh-nav); font-weight: 400;
  color: var(--charcoal); text-decoration: none; white-space: nowrap;
  background: none; border: 0; padding: 0; text-align: left;
}
.menu__link:hover, .menu__link[aria-current="page"], .menu__item.is-current > .menu__link { color: var(--forest-green); }
.caret {
  display: inline-block; width: 8px; height: 8px; flex-shrink: 0;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--t-med) var(--ease);
}
[aria-expanded="true"] > .caret, [aria-expanded="true"].caret-btn .caret { transform: translateY(1px) rotate(-135deg); }
.submenu { list-style: none; margin: 0; padding: 0; }
.submenu a {
  display: block; text-decoration: none; color: var(--charcoal);
  font-size: var(--fs-nav); line-height: var(--lh-nav);
}
.submenu a:hover, .submenu a[aria-current="page"] { color: var(--forest-green); }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; color: inherit; }

.nav-extras { display: none; }
.only-mobile { display: initial; }
.only-desktop { display: none !important; }

/* Menu — mobile & tablet drawer (< 1200px) */
@media (max-width: 1279px) {
  .header__cta, .header__tools > .lang-switch { display: none; }

  .primary-nav {
    position: fixed; left: 0; right: 0; bottom: 0;
    top: var(--nav-top, var(--header-h));       /* set by main.js */
    z-index: 99;
    background: var(--white);
    overflow-y: auto; overscroll-behavior: contain;
    padding: var(--space-3) var(--gutter) var(--space-6);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
  }
  .primary-nav.is-open {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  }

  .menu__item { border-bottom: 1px solid var(--gray-300); }
  .menu__row { display: flex; align-items: center; justify-content: space-between; }
  .menu__link {
    flex: 1; padding: var(--space-3) 0;
    font-size: var(--fs-lead); line-height: var(--lh-lead);
  }
  .sub-toggle { width: 48px; height: 48px; color: var(--charcoal); }
  .menu__item > .menu__link.sub-toggle { width: 100%; justify-content: space-between; height: auto; color: var(--charcoal); padding-right: 20px; }
  .menu__item > .menu__link.sub-toggle:hover, .menu__item.is-current > .menu__link.sub-toggle { color: var(--forest-green); }

  .submenu { display: none; padding: 0 0 var(--space-3) var(--space-3); }
  .menu__item.is-open > .submenu { display: block; }
  .submenu a { padding: 10px 0; }

  .nav-extras {
    display: flex; flex-direction: column; gap: var(--space-4);
    margin-top: var(--space-5);
  }
  .nav-extras .lang-switch { font-size: var(--fs-btn); }
}

body.nav-open { overflow: hidden; }

/* Menu — desktop (≥ 1200px) */
@media (min-width: 1280px) {
  .nav-toggle, .header__phone, .only-mobile { display: none !important; }
  .only-desktop { display: revert !important; }

  .primary-nav { margin-left: auto; }
  .menu { display: flex; align-items: center; gap: var(--space-4); }
  .menu__item { position: relative; }
  .menu__row { display: flex; align-items: center; gap: 6px; }
  .menu__link {
    position: relative; padding-block: var(--space-2);
  }
  .menu__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--forest-green);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t-med) var(--ease);
  }
  .menu__link:hover::after,
  .menu__link[aria-current="page"]::after,
  .menu__item.is-current > .menu__row > .menu__link::after,
  .menu__item.is-current > .menu__link::after { transform: scaleX(1); }
  .menu__item.is-current > .menu__row > .menu__link { color: var(--forest-green); }

  .submenu {
    position: absolute; top: calc(100% + 12px); left: -20px; z-index: 10;
    min-width: 240px; padding: var(--space-2) 0;
    background: var(--white);
    border-top: 2px solid var(--forest-green);
    box-shadow: var(--shadow-card-hover);
    visibility: hidden; opacity: 0; transform: translateY(6px);
    transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
  }
  /* bridge so the pointer can travel from link to panel */
  .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .menu__item.has-sub:hover > .submenu,
  .menu__item.has-sub:focus-within > .submenu,
  .menu__item.is-open > .submenu {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  }
  .menu__item.has-sub:hover .caret { transform: translateY(1px) rotate(-135deg); }
  .submenu a { padding: 10px 20px; white-space: nowrap; }
  .submenu a:hover { background: var(--gray-100); }

  .nav-extras { display: none; }
}

/* Desktop: the content area never grows past 1264px, so spacing stays tight
   and the French button reads "SOUMISSION" — the full French header needs
   ~1200px; English ~1120px. */
@media (min-width: 1280px) {
  .header__inner { gap: var(--space-3); }
  .menu { gap: 20px; }
  .header__cta { padding-inline: 20px; }
  .cta-long { display: none; }
}

/* Small phones: keep logo + tools on one line */
@media (max-width: 400px) {
  .header__inner { gap: var(--space-2); }
  .header__tools { gap: var(--space-1); }
}
@media (max-width: 359px) {
  .header__phone { display: none; }       /* phone link stays in the drawer */
}

/* Search panel */
.search-panel {
  border-top: 1px solid var(--gray-300);
  background: var(--white);
  padding-block: var(--space-4);
}
.search-panel[hidden] { display: none; }
.search-form { display: flex; gap: var(--space-2); }
.search-form input {
  flex: 1; min-width: 0;
  padding: 12px 16px; font-size: var(--fs-lead);
  border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
}
.search-form input:focus { outline: none; border-color: var(--forest-green); box-shadow: 0 0 0 3px rgba(9, 69, 51, 0.15); }

/* --------------------------------------------------------------------------
   7. Hero (home) — full-width photo or video
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  display: grid; align-items: end;
  min-height: clamp(460px, 78vh, 760px);
  background: var(--green-dark);
  color: var(--white);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(51, 51, 51, 0.15) 0%, var(--overlay) 65%);
}
.hero__content { padding-block: clamp(3.5rem, 2rem + 5vw, 7rem); }
.hero__content > * { max-width: 760px; }   /* text column; the box itself stays a full .container */
.hero h1, .hero .lead { color: var(--white); }
.hero .lead { margin-top: var(--space-3); }
.hero .label { color: var(--white); margin-bottom: var(--space-3); display: block; }

/* --------------------------------------------------------------------------
   8. Section titles — uppercase + short green rule
   -------------------------------------------------------------------------- */
.section-title { margin-bottom: var(--space-6); }
.section-title > h1, .section-title > h2, .section-title > .h2-sm { margin: 0; }
.section-title > h1::after, .section-title > h2::after, .section-title > .h2-sm::after {
  content: ""; display: block;
  width: 48px; height: 2px; margin-top: var(--space-3);
  background: var(--forest-green);
}
.section-title .lead { margin-top: var(--space-3); }
.section-title--center { text-align: center; }
.section-title--center > *::after { margin-inline: auto; }
.section-title--center .lead { margin-inline: auto; }
.on-dark .section-title > *::after, .section-title.on-dark > *::after { background: var(--white); }

.section-head-row {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: var(--space-3); margin-bottom: var(--space-6);
}
.section-head-row .section-title { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   9. Cards & timeline   18. Page parts: logo, news, jobs, policy, map, hours
   -------------------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  color: inherit; text-decoration: none;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
a.card:hover, .card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); color: inherit; }
.card__media { aspect-ratio: 4 / 3; background: var(--gray-100); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-3) var(--space-3) var(--space-4); flex: 1; }
.card__meta { font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.card__more { margin-top: auto; padding-top: var(--space-2); }

.card--plain { box-shadow: none; border: 1px solid var(--gray-300); }
.card--pad { padding: var(--space-4); }
.card--pad .card__body { padding: 0; }

/* Icon in a ring — timeline, feature lists, contact */
.ring-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex-shrink: 0;
  border: 2px solid var(--forest-green); border-radius: var(--radius-round);
  background: var(--white); color: var(--forest-green);
}
.ring-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; }

/* Timeline — vertical on phones, horizontal from 768px (.timeline--h) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1px;
  background: var(--gray-300);
}
.timeline__item { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: var(--space-3); padding-bottom: var(--space-5); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__year {
  display: block; margin-bottom: var(--space-1);
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--forest-green);
}
.timeline__text { margin: 0; }
.timeline__media { margin-top: var(--space-3); max-width: 420px; }

@media (min-width: 768px) {
  .timeline--h { display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); }
  .timeline--h::before { left: calc(50% / var(--steps, 4)); right: calc(50% / var(--steps, 4)); top: 24px; bottom: auto; width: auto; height: 1px; }
  .timeline--h .timeline__item {
    grid-template-columns: 1fr; justify-items: center; text-align: center;
    padding: 0 var(--space-3);
  }
  .timeline--h .timeline__text { max-width: 24ch; }
}

/* --------------------------------------------------------------------------
   10. Motto band
   -------------------------------------------------------------------------- */
.motto-band { background: var(--gray-100); padding-block: var(--section-gap); text-align: center; }
.motto-band blockquote { margin: 0; }
.motto-band .motto { margin: 0 auto; }
.motto-band__translation { margin: var(--space-3) auto 0; }
.motto-band cite {
  display: block; margin-top: var(--space-3); font-style: normal;
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   11. Split blocks, CTA band, page hero, breadcrumbs, stats
   -------------------------------------------------------------------------- */
.split { display: grid; gap: var(--space-5); align-items: center; }
.split__media { aspect-ratio: 4 / 3; background: var(--gray-100); overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); }
  .split--reverse > .split__media { order: 2; }
}

.cta-band { background: var(--forest-green); color: var(--white); }
.cta-band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  padding-block: clamp(3rem, 2rem + 3vw, 5rem);
}
.cta-band h2, .cta-band .h2-sm, .cta-band p { color: var(--white); }
.cta-band .btn-row { margin-top: 0; }

/* Inner page hero — photo band with title */
.page-hero {
  position: relative; isolation: isolate;
  display: grid; align-items: end;
  min-height: clamp(240px, 36vh, 380px);
  background: var(--forest-green); color: var(--white);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--overlay); }
.page-hero--plain::before { display: none; }
.page-hero__content { padding-block: var(--space-6); }
.page-hero h1, .page-hero .lead { color: var(--white); }
.page-hero .lead { margin-top: var(--space-3); }

.breadcrumbs { font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: var(--space-3); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.breadcrumbs li + li::before { content: "/"; margin-right: var(--space-2); opacity: 0.7; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-hero .breadcrumbs { color: var(--white); }

.stats { list-style: none; margin-left: 0; padding: 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); }
.stat__value { font-size: var(--fs-h2-sm); line-height: var(--lh-h2-sm); font-weight: 500; color: var(--forest-green); }
.stat__label { margin-top: var(--space-1); }

/* --------------------------------------------------------------------------
   12. Gallery, carousel, lightbox
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
.filter-btn {
  padding: 10px 18px;
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--white); color: var(--charcoal);
  border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
}
.filter-btn:hover { border-color: var(--forest-green); color: var(--forest-green); }
.filter-btn[aria-pressed="true"] { background: var(--forest-green); border-color: var(--forest-green); color: var(--white); }

.gallery { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery__item { margin: 0; }
.gallery__item[hidden] { display: none; }
.gallery__btn {
  display: block; width: 100%; padding: 0; border: 0; background: var(--gray-100);
  aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in;
}
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.gallery__btn:hover img { transform: scale(1.04); }
.gallery__item figcaption { margin-top: var(--space-2); font-size: var(--fs-card); line-height: var(--lh-card); text-transform: uppercase; color: var(--forest-green); }

/* Carousel — scroll-snap track, arrows via main.js */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(80%, 1fr);
  gap: var(--space-3);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: var(--space-1);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { scroll-snap-align: start; margin: 0; }
.carousel__slide .gallery__btn { aspect-ratio: 3 / 2; }
@media (min-width: 768px)  { .carousel__track { grid-auto-columns: calc((100% - var(--space-3)) / 2); } }
@media (min-width: 1100px) { .carousel__track { grid-auto-columns: calc((100% - var(--space-3) * 2) / 3); } }
.carousel__nav { display: flex; gap: var(--space-2); }
.carousel__nav .icon-btn:disabled { opacity: 0.4; cursor: default; }

.lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: grid; grid-template-columns: 56px 1fr 56px; align-items: center;
  padding: var(--space-4) var(--space-2);
  background: rgba(6, 48, 31, 0.95);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; grid-column: 2; text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox figcaption { margin-top: var(--space-3); color: var(--white); }
.lightbox .icon-btn { color: var(--white); border-color: rgba(255, 255, 255, 0.4); background: none; }
.lightbox .icon-btn:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.lightbox__close { position: absolute; top: var(--space-3); right: var(--space-3); }
.lightbox__prev { grid-column: 1; justify-self: center; }
.lightbox__next { grid-column: 3; justify-self: center; }

/* --------------------------------------------------------------------------
   13. Forms & quick quote bar
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-4); max-width: 760px; }
.form__row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
}
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.form legend { padding: 0; margin-bottom: var(--space-3); }

.field label, .field .field__label {
  display: block; margin-bottom: var(--space-2);
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--forest-green);
}
.field .req { color: var(--forest-green); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: var(--fs-lead);       /* 16px: no iOS zoom on focus */
  line-height: 1.4;
  background: var(--white);
  border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest-green); box-shadow: 0 0 0 3px rgba(9, 69, 51, 0.15);
}
.field__hint { margin-top: var(--space-1); font-size: var(--fs-label); line-height: var(--lh-label); }
.field__error {
  display: none; margin-top: var(--space-1);
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500; color: var(--charcoal);
}
.field__error::before { content: "! "; font-weight: 700; color: var(--forest-green); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--charcoal); border-width: 2px; padding: 11px 13px; }
.field.is-invalid .field__error { display: block; }

.choice { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
.choice label { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--fs-body); text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--charcoal); margin: 0; }
.choice input { width: 18px; height: 18px; accent-color: var(--forest-green); }

.form-status { padding: var(--space-3) var(--space-4); border-left: 0; background: var(--gray-100); }
.form-status[hidden] { display: none; }
.form-status.is-success { background: var(--forest-green); color: var(--white); }

/* honeypot */
.hp { position: absolute; left: -9999px; }

/* Quick quote / sales search bar (home, under the hero) */
.quick-quote { position: relative; z-index: 2; margin-top: calc(var(--space-6) * -1); }
.quick-quote__box {
  background: var(--white); box-shadow: var(--shadow-card-hover); border-top: 2px solid var(--forest-green);
  padding: var(--space-4);
}
.quick-quote__title { margin-bottom: var(--space-3); }
.quick-quote__form { display: grid; gap: var(--space-3); }
.quick-quote__form .field label { margin-bottom: var(--space-1); }
@media (min-width: 900px) {
  .quick-quote__form { grid-template-columns: 1.2fr 1.2fr 1fr auto; align-items: end; }
}

/* --------------------------------------------------------------------------
   14. Content: prose, spec tables, downloads, FAQ, news
   -------------------------------------------------------------------------- */
.prose { max-width: var(--measure); }
.prose h2 { margin: var(--space-6) 0 var(--space-3); font-size: var(--fs-h2-sm); line-height: var(--lh-h2-sm); }
.prose h3 { margin: var(--space-5) 0 var(--space-2); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li + li { margin-top: var(--space-2); }

.table-wrap { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.spec-table caption { text-align: left; margin-bottom: var(--space-3); }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gray-300); }
.spec-table thead th {
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--white); background: var(--forest-green); border-bottom: 0;
}
.spec-table tbody th { font-weight: 500; color: var(--forest-green); width: 32%; }
/* Phones: two-column spec tables stack — label above value, no sideways scroll */
@media (max-width: 599px) {
  .spec-table--stack { min-width: 0; }
  .spec-table--stack thead { position: absolute; left: -9999px; }
  .spec-table--stack tr { display: block; border-bottom: 1px solid var(--gray-300); padding: 12px 0; }
  .spec-table--stack th, .spec-table--stack td { display: block; width: auto; padding: 0; border: 0; }
  .spec-table--stack tbody th { margin-bottom: var(--space-1); }
}

.downloads { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gray-300); }
.downloads li { border-bottom: 1px solid var(--gray-300); }
.downloads a {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) 0; text-decoration: none; color: var(--charcoal);
}
.downloads a:hover { color: var(--forest-green); }
.downloads__name { flex: 1; font-weight: 500; }
.downloads__meta { font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.downloads svg { width: 20px; height: 20px; fill: none; stroke: var(--forest-green); stroke-width: 1.5; flex-shrink: 0; }

.faq { border-top: 1px solid var(--gray-300); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--gray-300); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-3);
  padding: var(--space-4) 0; cursor: pointer; list-style: none;
  font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: 500; color: var(--forest-green);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: var(--fs-h2-sm); line-height: 1; font-weight: 400; transition: transform var(--t-med) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 0 var(--space-4); }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.contact-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.contact-list .label { display: block; margin-bottom: var(--space-1); color: var(--forest-green); }

.map-embed { aspect-ratio: 16 / 10; background: var(--gray-100); border: 0; width: 100%; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--green-dark); color: var(--white); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer h3 { color: var(--white); margin-bottom: var(--space-3); }

.footer__main {
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem);
}
@media (min-width: 1100px) {
  .footer__main { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; }
}
.footer__brand p { max-width: 32ch; margin-top: var(--space-3); }
.footer__logo img { height: 64px; width: auto; }
.footer__logo .logo__name, .footer__logo .logo__sub { color: var(--white); }
.footer__tagline { display: block; margin-top: var(--space-3); }
.footer__motto { margin-top: var(--space-3); color: var(--white); font-size: var(--fs-h2-sm); }

.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li + li { margin-top: var(--space-2); }

.footer-news { list-style: none; margin: 0; padding: 0; }
.footer-news li + li { margin-top: var(--space-3); }
.footer-news time { display: block; margin-bottom: 2px; }

.newsletter { margin-top: var(--space-4); }
.newsletter__row { display: flex; }
.newsletter input {
  flex: 1; min-width: 0; padding: 12px 14px; font-size: var(--fs-lead);
  color: var(--white); background: transparent;
  border: 1px solid var(--white); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.newsletter input::placeholder { color: var(--white); opacity: 0.8; }
.newsletter button {
  padding: 0 16px; border: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--white); color: var(--forest-green);
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
}
.newsletter button:hover { background: var(--gray-100); }

.social { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--radius-round); }
.social a:hover { border-color: var(--white); text-decoration: none; }
.social svg { width: 16px; height: 16px; fill: currentColor; }

.footer__bottom { border-top: 1px solid var(--forest-green); }
.footer__bottom-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-3);
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }

/* --------------------------------------------------------------------------
   16. Utilities, reveal, 404
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
p.text-center, .text-center > p { margin-inline: auto; }
.mt-0 { margin-top: 0 !important; }
.mt-3 { margin-top: var(--space-3) !important; }
.mt-5 { margin-top: var(--space-5) !important; }
.mb-0 { margin-bottom: 0 !important; }
.confirm { background: rgba(200, 164, 106, 0.25); padding: 0 2px; }   /* [confirm] markers — remove before launch */

.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.error-page { min-height: 60vh; display: grid; align-items: center; text-align: center; }
.error-page__code { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: 300; color: var(--forest-green); }
.error-page .lead { margin-inline: auto; }
.error-page .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   17. Reduced motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .carousel__track { scroll-behavior: auto; }
}

@media print {
  .site-header, .nav-toggle, .search-panel, .cta-band, .skip-link, .quick-quote, .carousel__nav, .newsletter { display: none !important; }
  .site-footer { background: none; color: var(--charcoal); }
  .site-footer a, .site-footer h3 { color: var(--charcoal); }
  .hero, .page-hero { min-height: 0; color: var(--charcoal); }
  .hero h1, .page-hero h1 { color: var(--charcoal); }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: var(--fs-label); }
}

/* --------------------------------------------------------------------------
   18. Page parts: logo, layouts, news, jobs, policy, map, hours, legal
   -------------------------------------------------------------------------- */
/* Logo image (images/logo-lecours.png; white version in the footer) */
.logo img { width: auto; height: 44px; }
@media (min-width: 1280px) {
  .logo img { height: 56px; }
  .site-header.is-scrolled .logo img { height: 44px; }
}
.footer__logo img { height: 64px; width: auto; }

/* Main column + side column (contact, article, careers) */
.layout-aside { display: grid; gap: var(--space-6); }
@media (min-width: 960px) {
  .layout-aside { grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
}
.aside-box { background: var(--gray-100); padding: var(--space-5) var(--space-4); }
.aside-box h2, .aside-box h3 { margin-bottom: var(--space-3); }
.aside-box + .aside-box { margin-top: var(--space-4); }

/* Feature list with ring icons */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.feature-list li { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-3); align-items: start; }
.feature-list h3 { margin-bottom: var(--space-1); }
.feature-list p { margin: 0; }

/* Check list */
.check-list { list-style: none; margin: 0 0 1em; padding: 0; max-width: var(--measure); }
.check-list li { position: relative; padding-left: 28px; }
.check-list li + li { margin-top: var(--space-2); }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: 5px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--forest-green); border-bottom: 2px solid var(--forest-green);
  transform: rotate(-45deg);
}

/* Notice box (policies, notes) */
.notice { border-top: 2px solid var(--forest-green); background: var(--gray-100); padding: var(--space-4); max-width: var(--measure); }
.notice p:last-child { margin-bottom: 0; }

/* News */
.post-meta {
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3);
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--charcoal);
}
.page-hero .post-meta { color: var(--white); margin-top: var(--space-3); }
.article { max-width: var(--measure); }
.article .lead { margin-bottom: var(--space-5); }
.article figure { margin: var(--space-5) 0; }
.article figure img { width: 100%; }
.article figcaption { margin-top: var(--space-2); font-size: var(--fs-label); line-height: var(--lh-label); }
.article h2 { margin: var(--space-6) 0 var(--space-3); font-size: var(--fs-h2-sm); line-height: var(--lh-h2-sm); }
.article ul { padding-left: 1.25em; }
.article-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--gray-300); }

/* Jobs */
.job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.job { border: 1px solid var(--gray-300); border-radius: var(--radius-sm); padding: var(--space-4); background: var(--white); }
.job h3 { margin-bottom: var(--space-2); }
.job .post-meta { margin-bottom: var(--space-3); }
.job p { margin-bottom: var(--space-3); }

/* Policy signature block */
.signature { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--gray-300); max-width: 320px; }

/* Map + hours */
.map-embed { display: block; }
.map-link { margin-top: var(--space-2); }
.hours-table { width: 100%; max-width: 420px; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--gray-300); font-weight: 400; }
.hours-table td { text-align: right; }

/* Legal table of contents */
.toc { list-style: none; margin: 0 0 var(--space-5); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.toc a { font-size: var(--fs-btn); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; }

/* File inputs */
.field input[type="file"] { padding: 10px; background: var(--gray-100); }
