/* ==========================================================================
   West Penn Vehicle Specialists — site.css
   One stylesheet, no build step, no framework.

   Everything on the page sits on a single 12-column grid and a single type
   scale. That is the whole reason things line up.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — sampled from the existing WPVS site */
  --blue:        #3857a6;
  --blue-lit:    #4c7be8;   /* brightened for dark backgrounds */
  --red:         #af0b0b;
  --red-lit:     #e5162b;

  /* RGB triplets of the four above. CSS cannot build rgba() from a hex
     custom property, so any translucent use of a brand colour needs these.
     ⚠ Keep them in step with the hex values - the theme layer emits both. */
  --blue-rgb:     56, 87, 166;
  --blue-lit-rgb: 76, 123, 232;
  --red-rgb:      175, 11, 11;
  --red-lit-rgb:  229, 22, 43;

  /* Neutrals */
  --ink:         #0b0b0d;
  --ink-2:       #131317;
  --ink-3:       #1c1c22;
  --ink-4:       #26262e;
  --paper:       #ffffff;
  --paper-2:     #f4f5f7;
  --paper-3:     #e7e9ee;

  --text-dark:   #14141a;
  --text-mid:    #55565f;
  --text-light:  rgba(255, 255, 255, 0.72);
  --text-faint:  rgba(255, 255, 255, 0.48);

  --rule-dark:   rgba(255, 255, 255, 0.12);
  --rule-light:  rgba(15, 16, 26, 0.12);

  /* Type */
  --font-display: "Oswald", "Haettenschweiler", "Arial Narrow", sans-serif;
  --font-body:    "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    ui-monospace, "SFMono-Regular", "Roboto Mono", Consolas, monospace;

  /* Fluid type scale — every heading on the site comes from here */
  --t-hero:  clamp(2.75rem, 7.2vw, 6rem);
  --t-h1:    clamp(2.25rem, 5vw, 4rem);
  --t-h2:    clamp(1.75rem, 3.4vw, 2.85rem);
  --t-h3:    clamp(1.25rem, 1.9vw, 1.6rem);
  --t-h4:    1.0625rem;
  --t-body:  clamp(1rem, 0.97rem + 0.15vw, 1.0938rem);
  --t-lead:  clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  --t-small: 0.875rem;
  --t-label: 0.75rem;

  /* Layout — the grid every section shares */
  --gutter:    clamp(1.25rem, 4vw, 3rem);
  --measure:   1280px;
  --measure-narrow: 760px;
  --section-y: clamp(4rem, 9vw, 8rem);

  --radius:    3px;
  --radius-lg: 6px;

  --shadow-card:  0 1px 2px rgba(11, 11, 13, 0.06), 0 8px 24px rgba(11, 11, 13, 0.08);
  --shadow-lift:  0 4px 12px rgba(11, 11, 13, 0.10), 0 20px 48px rgba(11, 11, 13, 0.16);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --header-h: 84px;
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
}

/* --------------------------------------------------------------------------
   2. Reset / 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;
  background: var(--paper);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.25rem; }
li { margin-bottom: 0.4em; }

strong, b { font-weight: 700; }

hr {
  border: 0;
  border-top: 1px solid var(--rule-light);
  margin: 2.5rem 0;
}

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 3px solid var(--blue-lit);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-narrow { max-width: var(--measure-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section--dark  { background: var(--ink);   color: var(--text-light); }
.section--dark2 { background: var(--ink-2); color: var(--text-light); }
.section--tone  { background: var(--paper-2); }

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--dark2 h1, .section--dark2 h2, .section--dark2 h3, .section--dark2 h4 {
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.stack > * + * { margin-top: var(--stack-gap, 1.25rem); }

/* --------------------------------------------------------------------------
   4. Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.1rem;
}
.section--dark .eyebrow,
.section--dark2 .eyebrow,
.hero .eyebrow { color: var(--blue-lit); }

/* The duty stripe: blue-to-red, the one recurring brand mark */
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  flex: none;
  background: linear-gradient(90deg, var(--blue-lit) 0 50%, var(--red-lit) 50% 100%);
}

.h-hero { font-size: var(--t-hero); letter-spacing: -0.005em; }
.h1     { font-size: var(--t-h1); }
.h2     { font-size: var(--t-h2); }
.h3     { font-size: var(--t-h3); }
.h4     { font-size: var(--t-h4); letter-spacing: 0.06em; }

.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--text-mid);
}
.section--dark .lead, .section--dark2 .lead, .hero .lead { color: var(--text-light); }

.muted { color: var(--text-mid); }
.section--dark .muted, .section--dark2 .muted { color: var(--text-faint); }

.rule-top { border-top: 1px solid var(--rule-light); padding-top: 1.5rem; }
.section--dark .rule-top { border-color: var(--rule-dark); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.9rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  cursor: pointer;
  /* Buttons sometimes carry an email address, which has no space to break at
     and will otherwise push past the edge of a phone. */
  overflow-wrap: anywhere;
  text-align: center;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease),
              border-color 0.15s var(--ease), color 0.15s var(--ease),
              box-shadow 0.15s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--blue-rgb), 0.28);
}
.btn:active { transform: translateY(0); }

.btn--red   { --btn-bg: var(--red); }
.btn--red:hover { box-shadow: 0 8px 20px rgba(var(--red-rgb), 0.3); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}
.btn--ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.btn--ink {
  --btn-bg: transparent;
  --btn-fg: var(--text-dark);
  border-color: rgba(15, 16, 26, 0.24);
}
.btn--ink:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 8px 20px rgba(11, 11, 13, 0.22);
}

.btn--sm { padding: 0.7rem 1.25rem; font-size: 0.8125rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Text link with an animated underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue);
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.28s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow .chev { transition: transform 0.22s var(--ease); }
.link-arrow:hover .chev { transform: translateX(4px); }
.section--dark .link-arrow, .section--dark2 .link-arrow { color: var(--blue-lit); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
/* Announcement bar. A site-level message above everything else - the thing
   the marketing team asked for by name. It had no styles at all until the
   first site switched it on: West Penn's is off, so the unstyled bar (black
   text on white, above the dark topbar) was never seen by anyone. */
.announce {
  background: var(--blue);
  color: #fff;
  font-size: 0.9375rem;
  line-height: 1.45;
  text-align: center;
}
.announce--alert { background: var(--red); }
.announce__inner { padding-block: 0.6rem; }
.announce a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.announce a:hover { text-decoration-thickness: 2px; }

.topbar {
  background: var(--ink);
  color: var(--text-faint);
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--rule-dark);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding-block: 0.35rem;
}
.topbar a { color: var(--text-light); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__meta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar__social { display: flex; gap: 0.85rem; }
.topbar__social a { display: grid; place-items: center; width: 26px; height: 26px; }
.topbar__social svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 900px) { .topbar { display: none; } }

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--rule-dark);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%, var(--blue-lit) 22%, var(--blue-lit) 48%,
    var(--red-lit) 52%, var(--red-lit) 78%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.header.is-stuck::after { opacity: 1; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  transition: height 0.25s var(--ease);
}

.brand { display: flex; align-items: center; flex: none; }
.brand img {
  height: 52px;
  width: auto;
  transition: height 0.25s var(--ease);
}
.header.is-stuck .brand img { height: 44px; }
@media (max-width: 900px) {
  .brand img { height: 40px; }
  .header.is-stuck .brand img { height: 38px; }
}

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: block;
  position: relative;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius);
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.34rem;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-lit) 0 50%, var(--red-lit) 50% 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--ease);
}
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Dropdown */
.nav__item--has-menu { position: relative; }
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.nav__toggle .chev { transition: transform 0.2s var(--ease); }
.nav__item--has-menu.is-open .nav__toggle .chev { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 258px;
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  background: var(--ink-2);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.nav__item--has-menu.is-open .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu li { margin: 0; }
.nav__menu a {
  display: block;
  padding: 0.6rem 0.85rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.14s var(--ease), color 0.14s var(--ease);
}
.nav__menu a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.header__cta { display: flex; align-items: center; gap: 0.6rem; flex: none; }

.burger {
  display: none;
  width: 46px; height: 46px;
  background: none;
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  margin: 4px auto;
  transition: transform 0.24s var(--ease), opacity 0.18s var(--ease);
}
body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: grid; }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--ink);
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.32s var(--ease), visibility 0.32s;
}
body.nav-open .drawer { transform: translateX(0); visibility: visible; }
.drawer__list { list-style: none; margin: 0 0 2rem; padding: 0; }
.drawer__list a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.95rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--rule-dark);
}
.drawer__list a .num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--blue-lit);
}
.drawer__list .sub a { font-size: 1.0625rem; padding-left: 2.4rem; color: var(--text-light); }

/* Sticky call bar, phones only */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: none;
  border-top: 1px solid var(--rule-dark);
  background: rgba(11, 11, 13, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-bottom: env(safe-area-inset-bottom);
}
.callbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
.callbar a + a { border-left: 1px solid var(--rule-dark); }
.callbar a.is-primary { background: var(--blue); }
.callbar svg { width: 17px; height: 17px; fill: currentColor; }

@media (max-width: 700px) {
  .callbar { display: flex; }
  body { padding-bottom: 56px; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 82vh, 860px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,13,0.72) 0%, rgba(11,11,13,0.28) 34%, rgba(11,11,13,0.86) 82%, var(--ink) 100%),
    linear-gradient(90deg, rgba(11,11,13,0.82) 0%, rgba(11,11,13,0.25) 58%, rgba(11,11,13,0.05) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.hero__copy { max-width: 46rem; }
.hero .h-hero { margin-bottom: 1.25rem; }
.hero .lead { max-width: 40rem; margin-bottom: 2rem; }

.hero__title-line { display: block; }
/* Highlighter band behind the lower half of the glyphs. The stops are tied to
   the 1.02 line-height above — the em box runs well below the baseline, so an
   open-ended gradient reads as a bar hanging under the word. */
.hero__title-line em {
  font-style: normal;
  background-image: linear-gradient(180deg,
    transparent 0 54%,
    rgba(var(--blue-lit-rgb), 0.45) 54% 88%,
    transparent 88% 100%);
  background-repeat: no-repeat;
}

/* Page hero — shorter, used on interior pages */
.pagehero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.pagehero__media { position: absolute; inset: 0; z-index: 0; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,13,0.80) 0%, rgba(11,11,13,0.62) 50%, rgba(11,11,13,0.94) 100%),
    linear-gradient(90deg, rgba(11,11,13,0.88) 0%, rgba(11,11,13,0.42) 70%);
}
.pagehero__inner { position: relative; z-index: 1; }
.pagehero .lead { max-width: 44rem; margin-top: 1.1rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.crumbs li { margin: 0; }
.crumbs a { color: var(--text-light); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: rgba(255,255,255,0.3); }

/* --------------------------------------------------------------------------
   8. Trust band / stats
   -------------------------------------------------------------------------- */
.statband {
  background: var(--ink-2);
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  color: #fff;
}
/* minmax(0, 1fr) rather than 1fr: a bare 1fr track cannot shrink below its
   content's min-content width, so a long label like "Trades & delivery fleets"
   pushes the whole band wider than the phone. */
.statband__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule-dark);
}
.stat {
  background: var(--ink-2);
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1rem, 2vw, 2rem);
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  display: block;
}
.stat__num .unit { color: var(--blue-lit); }

/* The interior pages reuse this band for words ("Whelen", "Commercial") rather
   than figures. A word at 36px cannot fit a 2-up column on a 360px phone, so
   the word variant gets its own, smaller step on the same scale. */
.statband--labels .stat__num {
  font-size: clamp(1.0625rem, 2.4vw, 1.65rem);
  letter-spacing: 0.04em;
}
.stat__label {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
@media (max-width: 780px) {
  .statband__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Brand logo strip */
.brandstrip { background: #fff; padding-block: clamp(2rem, 4vw, 3rem); }
.brandstrip__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}
.brandstrip img {
  margin-inline: auto;
  max-width: min(880px, 100%);
  width: 100%;
}

/* --------------------------------------------------------------------------
   9. Section headers
   -------------------------------------------------------------------------- */
.sechead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.sechead__text { max-width: 46rem; }
.sechead .lead { margin-top: 0.9rem; }
@media (max-width: 760px) {
  .sechead { grid-template-columns: 1fr; align-items: start; }
}

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.25rem, 2.2vw, 2rem);
}
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
              border-color 0.28s var(--ease);
}
a.card:hover, .card.is-hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-3);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
a.card:hover .card__media img { transform: scale(1.045); }

.card__tag {
  position: absolute;
  left: 0.85rem; top: 0.85rem;
  padding: 0.3rem 0.6rem;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
}
.card__body p { margin: 0; color: var(--text-mid); font-size: 0.9688rem; }
.card__body .link-arrow { margin-top: auto; padding-top: 0.5rem; }

.card--dark {
  background: var(--ink-2);
  border-color: var(--rule-dark);
  color: var(--text-light);
}
.card--dark .card__body p { color: var(--text-faint); }

/* Numbered capability list — the "spec sheet" look */
/* Horizontal rules only, and column separation via column-gap rather than
   per-cell padding. Padding would have to be cancelled on the first cell of
   every row to keep the left edge flush with the container, and the row length
   changes with the breakpoint — so there is no :nth-child that stays correct.
   No horizontal padding means every cell already starts on the grid. */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  column-gap: clamp(1.5rem, 3.2vw, 3.25rem);
  row-gap: 0;
  border-top: 1px solid var(--rule-light);
}
.section--dark .specs, .section--dark2 .specs { border-color: var(--rule-dark); }

.spec {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 1.25rem;
  padding-block: clamp(1.5rem, 2.4vw, 2rem);
  border-bottom: 1px solid var(--rule-light);
}
.section--dark .spec, .section--dark2 .spec { border-color: var(--rule-dark); }

.spec__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--blue);
  padding-top: 0.35rem;
}
.section--dark .spec__num, .section--dark2 .spec__num { color: var(--blue-lit); }
.spec__title { font-size: 1.0625rem; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.spec__body { grid-column: 2; margin: 0; font-size: 0.9688rem; color: var(--text-mid); }
.section--dark .spec__body, .section--dark2 .spec__body { color: var(--text-faint); }

/* --------------------------------------------------------------------------
   11. Split feature blocks
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.split--flip .split__media { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-3);
}
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* A framed photo with an offset accent rule */
.framed { position: relative; }
.framed::before {
  content: "";
  position: absolute;
  left: -14px; top: -14px;
  width: 96px; height: 96px;
  border-left: 3px solid var(--blue-lit);
  border-top: 3px solid var(--blue-lit);
  border-radius: 2px 0 0 0;
  z-index: 1;
  pointer-events: none;
}
.framed::after {
  content: "";
  position: absolute;
  right: -14px; bottom: -14px;
  width: 96px; height: 96px;
  border-right: 3px solid var(--red-lit);
  border-bottom: 3px solid var(--red-lit);
  border-radius: 0 0 2px 0;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 600px) {
  .framed::before, .framed::after { width: 56px; height: 56px; }
}

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.75rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 11px; height: 6px;
  border-left: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}
.section--dark .checklist li::before,
.section--dark2 .checklist li::before { border-color: var(--blue-lit); }

/* --------------------------------------------------------------------------
   12. Work gallery
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.filter {
  padding: 0.55rem 1.1rem;
  background: transparent;
  border: 1px solid var(--rule-dark);
  border-radius: 100px;
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.16s var(--ease), color 0.16s var(--ease),
              border-color 0.16s var(--ease);
}
.filter:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.filter[aria-pressed="true"] {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.15rem);
}
.shot {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: var(--ink-3);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.shot--tall { grid-row: span 2; aspect-ratio: 2 / 3; }
@media (max-width: 620px) { .shot--tall { grid-row: span 1; aspect-ratio: 4 / 3; } }

.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.35s var(--ease);
}
.shot:hover img { transform: scale(1.05); }
.shot__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 0.9rem 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(11,11,13,0.86));
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; transform: translateY(0); }
.shot.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 6, 8, 0.94);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s var(--ease), visibility 0.24s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.lightbox__cap {
  margin-top: 1rem;
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}
.lightbox__close {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--rule-dark);
  border-radius: 50%;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,0.18); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--rule-dark);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.18); }
.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__nav svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 600px) { .lightbox__nav { display: none; } }

/* --------------------------------------------------------------------------
   13. Process / steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 2.25rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--blue);
}
.section--dark .step::before, .section--dark2 .step::before { color: var(--blue-lit); }
.step::after {
  content: "";
  position: absolute;
  top: 1.55rem; left: 0; right: 0;
  height: 1px;
  background: var(--rule-light);
}
.section--dark .step::after, .section--dark2 .step::after { background: var(--rule-dark); }
.step h3 { font-size: 1.125rem; letter-spacing: 0.05em; margin-bottom: 0.6rem; }
.step p { font-size: 0.9688rem; color: var(--text-mid); margin: 0; }
.section--dark .step p, .section--dark2 .step p { color: var(--text-faint); }

/* --------------------------------------------------------------------------
   14. Team
   -------------------------------------------------------------------------- */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
}
.member__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-3);
  margin-bottom: 0.9rem;
}
.member__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: filter 0.4s var(--ease), transform 0.6s var(--ease);
}
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.03); }
.member__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-lit) 0 50%, var(--red-lit) 50% 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.34s var(--ease);
}
.member:hover .member__photo::after { transform: scaleX(1); }
.member__name { font-size: 1.0625rem; letter-spacing: 0.04em; margin-bottom: 0.2rem; }
.member__role {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.section--dark .member__role, .section--dark2 .member__role { color: var(--text-faint); }

/* --------------------------------------------------------------------------
   15. Contact card + form
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.infolist { list-style: none; margin: 0; padding: 0; }
.infolist li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule-light);
  margin: 0;
}
.section--dark .infolist li, .section--dark2 .infolist li { border-color: var(--rule-dark); }
.infolist svg { width: 20px; height: 20px; fill: var(--blue); margin-top: 0.25rem; }
.section--dark .infolist svg, .section--dark2 .infolist svg { fill: var(--blue-lit); }
.infolist dt, .infolist .label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.25rem;
}
.section--dark .infolist .label, .section--dark2 .infolist .label { color: var(--text-faint); }
.infolist .value { font-size: 1.0625rem; overflow-wrap: anywhere; }
.infolist a { text-decoration: none; }
.infolist a:hover { text-decoration: underline; }

.form {
  background: #fff;
  border: 1px solid var(--rule-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-card);
}
.section--dark .form, .section--dark2 .form {
  background: var(--ink-2);
  border-color: var(--rule-dark);
  box-shadow: none;
}

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.section--dark .field label, .section--dark2 .field label { color: var(--text-faint); }
.field .req { color: var(--red); }
.section--dark .field .req, .section--dark2 .field .req { color: var(--red-lit); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: var(--paper-2);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease),
              box-shadow 0.15s var(--ease);
}
.section--dark .field input, .section--dark .field select, .section--dark .field textarea,
.section--dark2 .field input, .section--dark2 .field select, .section--dark2 .field textarea {
  background: var(--ink-3);
  border-color: var(--rule-dark);
  color: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(var(--blue-rgb), 0.18);
}
.section--dark .field input:focus, .section--dark2 .field input:focus,
.section--dark .field select:focus, .section--dark2 .field select:focus,
.section--dark .field textarea:focus, .section--dark2 .field textarea:focus {
  background: var(--ink-4);
  border-color: var(--blue-lit);
}
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; background-image: none; cursor: pointer; }

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.field__error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--red-lit);
}
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--red-lit);
}
.field.has-error .field__error { display: block; }

/* A checkbox field: the label IS the control, so it reads as a sentence,
   not as the small-caps caption every other field carries above its input. */
.field--check label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-family: inherit;
  font-size: 0.9375rem;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
  cursor: pointer;
}
.field--check input[type="checkbox"] {
  width: 1.15rem; height: 1.15rem;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  padding: 0;
  accent-color: var(--blue);
}

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

.form__note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-mid);
}
.section--dark .form__note, .section--dark2 .form__note { color: var(--text-faint); }

.form__status {
  display: none;
  margin-bottom: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--blue);
  background: rgba(var(--blue-rgb), 0.09);
  font-size: 0.9375rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.form__status.is-visible { display: block; }

.map {
  border: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  filter: grayscale(1) contrast(1.05) invert(0.92) hue-rotate(180deg);
  background: var(--ink-3);
}

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.cta__media { position: absolute; inset: 0; z-index: 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,13,0.90), rgba(11,11,13,0.82));
}
.cta__inner { position: relative; z-index: 1; }
.cta .eyebrow { justify-content: center; }
.cta .lead { margin: 1rem auto 2rem; max-width: 40rem; }
.cta .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--text-faint);
  border-top: 1px solid var(--rule-dark);
  font-size: 0.9375rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand img { height: 58px; width: auto; margin-bottom: 1.25rem; }
.footer h4 {
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  margin-bottom: 1.15rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.65rem; }
.footer a { color: var(--text-light); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }

.footer__social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.footer__social a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--rule-dark);
  border-radius: 50%;
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease),
              transform 0.16s var(--ease);
}
.footer__social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}
.footer__social svg { width: 17px; height: 17px; fill: currentColor; }

.footer__bar {
  border-top: 1px solid var(--rule-dark);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
}
.footer__badges { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.footer__badges img { height: 34px; width: auto; opacity: 0.85; }


/* The maker's credit: the footer bar's own colour at 60%, one step down in
   size, no underline until hover. It should read as part of the copyright
   line, not as a second thing competing with it. */
.footer a.footer__credit {
  color: inherit;
  font-size: 0.9em;
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.15s var(--ease);
}
.footer a.footer__credit::before {
  content: "·";
  margin: 0 0.45rem;
  opacity: 0.6;
}
.footer a.footer__credit:hover { opacity: 1; text-decoration: underline; }

/* --------------------------------------------------------------------------
   18. Motion
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

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

/* --------------------------------------------------------------------------
   19. Print — quote sheets get printed and put in a folder
   -------------------------------------------------------------------------- */
@media print {
  .header, .topbar, .drawer, .callbar, .cta, .footer__social,
  .lightbox, .filters, .skip-link { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  .hero, .pagehero { min-height: 0; padding-block: 1.5rem; color: #000; background: #fff; }
  .hero__media, .pagehero__media, .cta__media { display: none; }
  .section { padding-block: 1rem; }
  .section--dark, .section--dark2 { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; }
}

/* --------------------------------------------------------------------------
   Calendar of dates

   ⚠ A BLOCK STYLED IN ONE STYLESHEET ONLY IS A TRAP. Each site's sheet
   REPLACES this one rather than extending it, so a calendar added to a site
   whose sheet has never heard of it renders as an unstyled list and nothing
   anywhere errors — the silent-degradation shape this project keeps
   relearning. Every sheet carries these rules; only the design differs.

   Written against tokens every sheet defines, so it lands sanely wherever it
   is pasted and can then be tuned to the site.
   -------------------------------------------------------------------------- */
.cal { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem); }
.cal__month-name {
  font-family: var(--font-display); font-size: var(--t-h3);
  color: var(--ink); margin: 0 0 0.6rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--rule-light);
}
.section--dark .cal__month-name, .section--dark2 .cal__month-name {
  color: #fff; border-bottom-color: var(--rule-dark);
}
.cal__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }

.cal__night {
  display: grid; align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0 clamp(0.85rem, 2vw, 1.4rem);
  padding: 0.7rem 0.9rem 0.7rem 0.7rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--rule-light);
  border-left: 3px solid var(--blue);
}
.section--dark .cal__night, .section--dark2 .cal__night {
  background: rgba(255, 255, 255, 0.06); border-color: var(--rule-dark);
}

.cal__date {
  display: grid; justify-items: center; align-content: center;
  width: 3.1rem; height: 3.1rem; border-radius: var(--radius-lg);
  background: var(--paper-2); color: var(--ink); line-height: 1;
}
.cal__dow { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.cal__day { font-family: var(--font-display); font-size: 1.35rem; }
.section--dark .cal__date, .section--dark2 .cal__date { background: rgba(255,255,255,0.12); color: #fff; }

.cal__body { display: grid; gap: 0.1rem; min-width: 0; }
.cal__title { font-family: var(--font-display); font-size: 1.05rem; color: var(--text-dark); }
.section--dark .cal__title, .section--dark2 .cal__title { color: #fff; }
.cal__place, .cal__note { font-size: var(--t-small); color: var(--text-mid); }
.section--dark .cal__place, .section--dark .cal__note,
.section--dark2 .cal__place, .section--dark2 .cal__note { color: var(--text-faint); }
.cal__note { font-style: italic; }

.cal__status {
  font-size: var(--t-label); letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; white-space: nowrap;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  background: var(--paper-2); color: var(--text-mid);
}

.cal__night--open .cal__status { background: var(--blue); color: #fff; }
.cal__night--booked { border-left-color: var(--paper-3); }
.cal__night--booked .cal__date { background: var(--paper-3); }

/* Past: kept, because it is the proof the dates happen — but quiet, and it
   never says "open". The word itself is swapped by the renderer and the
   script; this only makes it look like history. */
.cal__night--past { border-left-color: var(--rule-light); opacity: 0.62; }
.cal__night--past .cal__date { background: var(--paper-2); color: var(--text-mid); }
.cal__night--past .cal__status { background: transparent; color: var(--text-mid); box-shadow: inset 0 0 0 1px var(--rule-light); }

.cal__empty { color: var(--text-mid); font-size: var(--t-lead); margin: 0; }

@media (max-width: 600px) {
  .cal__night { grid-template-columns: auto minmax(0, 1fr); row-gap: 0.5rem; }
  .cal__status { grid-column: 2; justify-self: start; }
}

/* --------------------------------------------------------------------------
   Quotes — the testimonials block

   ⚠ EVERY SHEET CARRIES THESE, because a site's stylesheet REPLACES this one
   rather than extending it: a block styled in one place renders as unstyled
   paragraphs everywhere else and nothing errors. Same rule as the calendar.

   ⚠ AND .split--bare / .hero--bare BELONG WITH THEM. The renderer now omits
   the media column when a block has no photograph — it used to emit an empty
   <img>, which browsers draw as a broken-image box — and without these rules
   the copy sits in a half-width column beside nothing.
   -------------------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.quote { margin: 0; background: #fff; border: 1px solid var(--rule-light); border-left: 3px solid var(--blue); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; }
.section--dark .quote, .section--dark2 .quote { background: rgba(255,255,255,0.06); border-color: var(--rule-dark); }
.quote__text { margin: 0 0 1.1rem; line-height: 1.65; color: var(--text-dark); }
.section--dark .quote__text, .section--dark2 .quote__text { color: #fff; }
.quote__by { margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: var(--t-small); color: var(--text-dark); }
.section--dark .quote__by, .section--dark2 .quote__by { color: #fff; }
.quote__detail { display: block; font-weight: 400; color: var(--text-mid); letter-spacing: 0.04em; text-transform: uppercase; font-size: var(--t-label); margin-top: 0.3rem; }
.section--dark .quote__detail, .section--dark2 .quote__detail { color: var(--text-faint); }
.quotes__source { margin: 1.5rem 0 0; font-size: var(--t-small); color: var(--text-mid); }
.section--dark .quotes__source, .section--dark2 .quotes__source { color: var(--text-faint); }

.split--bare { grid-template-columns: minmax(0, 1fr); max-width: 78ch; }
.hero--bare .hero__copy { position: relative; }

/* ── FAQ ───────────────────────────────────────────────────────────────
   A <details> per question: it opens with no JavaScript, is keyboard
   operable for free, and a screen reader announces it as a disclosure
   without a single aria- attribute.
   ⚠ The default triangle needs removing in two places — list-style for
   the modern spec and Firefox, ::-webkit-details-marker for older
   WebKit — and dropping either leaves two markers on the row.
   ⚠ Colours resolve through currentColor and the rule tokens rather
   than being named, so one rule set works on a light section and on
   .section--dark without a second copy. */
.faq { border-top: 1px solid var(--rule-light); margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.section--dark .faq, .section--dark2 .faq { border-top-color: var(--rule-dark); }
.faq__item { border-bottom: 1px solid var(--rule-light); }
.section--dark .faq__item, .section--dark2 .faq__item { border-bottom-color: var(--rule-dark); }

.faq__q {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem;
  padding: 1.1rem 0.25rem;
  font-family: var(--font-display); font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.3; cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline: 2px solid var(--blue-lit); outline-offset: 2px; }

/* Text, not a rotated glyph: a plus that becomes a minus reads as "more"
   and "less" at any size and can never land half-turned. */
.faq__q::after {
  content: '+';
  flex: 0 0 auto; font-family: inherit; font-size: 1.3rem; line-height: 1;
  color: var(--blue); opacity: 0.85;
}
.section--dark .faq__q::after, .section--dark2 .faq__q::after { color: var(--blue-lit); }
.faq__item[open] .faq__q::after { content: '\2212'; }

.faq__a { padding: 0 0.25rem 1.3rem; }
.faq__a p { max-width: 68ch; color: var(--text-mid); line-height: 1.65; }
.section--dark .faq__a p, .section--dark2 .faq__a p { color: var(--text-light); }
.faq__a p + p { margin-top: 0.8rem; }
