/* ==========================================================================
   EnviroKleen L.L.C. — Building Maintenance Contractors
   Design tokens are drawn from the EK monogram (navy #084694, red #B12A1C).
   ========================================================================== */

:root {
  --navy: #084694;
  --navy-deep: #062f66;
  --navy-night: #041d40;
  --ink: #0f1d30;
  --steel: #546377;
  --rule: #d5dbe2;
  --limestone: #eceff2;
  --paper: #ffffff;
  --red: #b12a1c;

  --font-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --font-serif: "Libre Caslon Text", Georgia, serif;
  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Modular scale (1.25) */
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem);
  --step-4: clamp(2.375rem, 1.6rem + 3vw, 3.75rem);
  --step-5: clamp(2.75rem, 1.7rem + 4.4vw, 5.25rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 76rem;
  --header-h: 5.25rem;
  --frame: 5px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 400; }
h1, h2 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.01em; }
h3 { font-family: var(--font-serif); font-size: var(--step-1); line-height: 1.3; }
h4 { font-family: var(--font-sans); font-size: var(--step-0); font-weight: 600; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: #fff; padding: 0.75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 38rem; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink); font-weight: 300; }
.muted { color: var(--steel); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.1rem; padding: 0.8rem 1.6rem;
  font: 600 0.975rem/1.2 var(--font-sans); letter-spacing: 0.01em;
  text-decoration: none; border: 1.5px solid transparent; border-radius: 2px;
  cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-light { background: #fff; color: var(--navy-deep); }
.btn-light:hover { background: var(--limestone); color: var(--navy-deep); }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

.text-link {
  font-weight: 600; text-decoration: none; color: var(--navy);
  border-bottom: 1.5px solid var(--red); padding-bottom: 2px;
}
.text-link:hover { color: var(--red); }

/* ---------- The EK frame ----------
   Echoes the monogram: a rule across the top that curls down at the right,
   and a rule across the bottom that curls up at the left. */
.ek-frame { position: relative; }
.ek-frame::before,
.ek-frame::after {
  content: ""; position: absolute; pointer-events: none; z-index: 2;
  width: calc(100% - var(--frame-inset, 0px) * 2);
  height: clamp(2.5rem, 7vw, 4.5rem);
  border: 0 solid var(--frame-color, var(--navy));
}
.ek-frame::before {
  top: var(--frame-inset, 0px); left: var(--frame-inset, 0px);
  border-top-width: var(--frame); border-right-width: var(--frame);
  border-top-right-radius: clamp(2.5rem, 7vw, 4.5rem);
}
.ek-frame::after {
  bottom: var(--frame-inset, 0px); left: var(--frame-inset, 0px);
  border-bottom-width: var(--frame); border-left-width: var(--frame);
  border-bottom-left-radius: clamp(2.5rem, 7vw, 4.5rem);
}
.ek-frame--light { --frame-color: #fff; }
.ek-frame--inset { --frame-inset: clamp(0.75rem, 2vw, 1.5rem); }

.photo { position: relative; overflow: hidden; background: var(--limestone); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(1.4) blur(8px);
}
.topbar { background: var(--navy-night); color: #c9d4e3; font-size: 0.82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; min-height: 2.25rem; align-items: center; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar-right { display: flex; gap: 1.5rem; }

.header-inner { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 2.9rem; height: auto; }
.brand-name { display: block; font-family: var(--font-display); font-size: 1.55rem; line-height: 1; letter-spacing: 0.02em; color: var(--ink); }
.brand-name small { font-family: var(--font-serif); font-size: 0.62em; letter-spacing: 0.06em; margin-left: 0.2em; color: var(--steel); }
.brand-tag { display: block; font-size: 0.74rem; color: var(--steel); margin-top: 0.3rem; letter-spacing: 0.02em; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-item { position: relative; }
.nav-link, .nav-toggle {
  display: inline-flex; white-space: nowrap; align-items: center; gap: 0.35rem;
  padding: 0.6rem 0.8rem; font: 500 0.96rem/1 var(--font-sans);
  color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-toggle:hover, .nav-link[aria-current="page"], .nav-item.is-current > .nav-toggle { color: var(--navy); }
.nav-link[aria-current="page"], .nav-item.is-current > .nav-toggle { box-shadow: inset 0 -2px 0 var(--red); }
.nav-toggle svg { width: 0.7rem; height: 0.7rem; transition: transform 0.2s; }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 0.6rem); left: -0.5rem; min-width: 17rem;
  list-style: none; background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--navy);
  padding: 0.5rem 0; box-shadow: 0 18px 40px -18px rgba(4,29,64,0.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 0.6rem 1.25rem; color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--limestone); color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 1rem; white-space: nowrap; }
.header-cta .btn { min-height: 2.75rem; padding: 0.6rem 1.15rem; }

.menu-button {
  display: none; margin-left: auto; background: none; border: 1px solid var(--rule);
  width: 2.9rem; height: 2.9rem; border-radius: 2px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.menu-button svg { width: 1.4rem; height: 1.4rem; }

@media (max-width: 1280px) {
  .header-cta .header-phone { display: none; }
}
@media (max-width: 1080px) {
  .topbar-right .topbar-fax { display: none; }
}

@media (max-width: 960px) {
  .menu-button { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 2.25rem) 0 0 0; margin: 0;
    background: #fff; overflow-y: auto; padding: 1rem var(--gutter) 3rem;
    display: none;
  }
  .site-header { backdrop-filter: none; background: #fff; }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--rule); }
  .nav-link, .nav-toggle { width: 100%; justify-content: space-between; padding: 1.1rem 0; font-size: 1.1rem; }
  .nav-link[aria-current="page"], .nav-item.is-current > .nav-toggle { box-shadow: none; color: var(--navy); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; padding: 0 0 0.75rem; display: none; min-width: 0;
  }
  .nav-item.is-open > .dropdown { display: block; }
  .dropdown a { padding: 0.6rem 0 0.6rem 1rem; border-left: 2px solid var(--rule); }
  .nav .nav-mobile-cta { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
  body.nav-open { overflow: hidden; }
}
.nav-mobile-cta { display: none; }

@media (max-width: 560px) {
  .topbar-left { display: none; }
  .topbar .wrap { justify-content: center; }
  .brand-tag { display: none; }
  .brand-name { font-size: 1.35rem; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; color: #fff; background: var(--navy-night);
  min-height: min(88vh, 50rem); display: flex; align-items: flex-end;
  isolation: isolate; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4,29,64,0.92) 0%, rgba(4,29,64,0.72) 42%, rgba(4,29,64,0.15) 75%),
    linear-gradient(0deg, rgba(4,29,64,0.85) 0%, rgba(4,29,64,0) 45%);
}
.hero .ek-frame-overlay {
  position: absolute; inset: clamp(0.75rem, 2.2vw, 1.75rem); z-index: 1; pointer-events: none;
}
.hero-content { padding-block: clamp(7rem, 16vh, 10rem) clamp(3rem, 8vh, 5rem); position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: var(--step-5); max-width: 15ch; }
.hero-sub { font-size: var(--step-1); line-height: 1.55; font-weight: 300; max-width: 36rem; margin: 1.75rem 0 2.25rem; color: #dbe4f0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* single orchestrated load moment: frame draws, then copy settles */
@media (prefers-reduced-motion: no-preference) {
  .hero .ek-frame-overlay::before { animation: frame-in-top 1.1s cubic-bezier(.6,0,.2,1) both 0.15s; }
  .hero .ek-frame-overlay::after { animation: frame-in-bottom 1.1s cubic-bezier(.6,0,.2,1) both 0.35s; }
  .hero-content > * { animation: settle 0.9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-content > :nth-child(1) { animation-delay: 0.55s; }
  .hero-content > :nth-child(2) { animation-delay: 0.7s; }
  .hero-content > :nth-child(3) { animation-delay: 0.85s; }
  .hero-media img { animation: drift 2.4s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes frame-in-top { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes frame-in-bottom { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- Ledger (facts strip) ---------- */
.ledger { background: var(--navy-night); color: #fff; border-top: 1px solid rgba(255,255,255,0.12); }
.ledger-list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.ledger-list li { padding: 1.75rem 1.5rem 1.85rem; border-left: 1px solid rgba(255,255,255,0.14); }
.ledger-list li:first-child { border-left: 0; padding-left: 0; }
.ledger-figure { display: block; font-family: var(--font-display); font-size: var(--step-3); line-height: 1; }
.ledger-label { display: block; margin-top: 0.55rem; color: #a9bad1; font-size: 0.92rem; }
@media (max-width: 820px) {
  .ledger-list { grid-template-columns: 1fr 1fr; }
  .ledger-list li { padding: 1.4rem 1rem; border-top: 1px solid rgba(255,255,255,0.14); }
  .ledger-list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ledger-list li:nth-child(-n+2) { border-top: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section--stone { background: var(--limestone); }
.section--navy { background: var(--navy-deep); color: #dbe4f0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: var(--step-4); max-width: 16ch; }
.section-head p { color: var(--steel); max-width: 34rem; }
.section--navy .section-head p { color: #b8c7da; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* Intro split */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
.split--reverse > :first-child { order: 2; }
.statement { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.18; color: var(--ink); }
.statement-sign { margin-top: 1.75rem; color: var(--steel); font-size: 0.95rem; }
@media (max-width: 860px) {
  .split, .split--even { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* ---------- Service directory (home) ---------- */
.directory { list-style: none; border-top: 1px solid var(--ink); }
.directory li { border-bottom: 1px solid var(--rule); }
.directory a {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 7.5rem; gap: 2rem; align-items: center;
  padding: 1.6rem 0; text-decoration: none; color: var(--ink);
}
.directory-name { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.1; transition: color 0.2s; }
.directory-desc { color: var(--steel); font-size: 1rem; line-height: 1.55; }
.directory-thumb { width: 7.5rem; aspect-ratio: 4 / 3; overflow: hidden; background: var(--limestone); }
.directory-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35); transition: filter 0.3s, transform 0.5s; }
.directory a:hover .directory-name, .directory a:focus-visible .directory-name { color: var(--navy); }
.directory a:hover .directory-thumb img { filter: none; transform: scale(1.05); }
@media (max-width: 760px) {
  .directory a { grid-template-columns: minmax(0, 1fr) 5.5rem; gap: 0.4rem 1.25rem; padding: 1.3rem 0; }
  .directory-name { grid-column: 1; }
  .directory-desc { grid-column: 1; grid-row: 2; font-size: 0.95rem; }
  .directory-thumb { grid-column: 2; grid-row: 1 / span 2; width: 5.5rem; }
}

/* ---------- Feature (navy band with photo) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.feature h2 { font-size: var(--step-4); margin-bottom: 1.5rem; }
.feature .photo { aspect-ratio: 4 / 5; }
.feature-uses { columns: 2; column-gap: 2rem; list-style: none; margin: 1.75rem 0 2.25rem; font-size: 0.95rem; }
.feature-uses li { padding: 0.35rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); break-inside: avoid; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature .photo { aspect-ratio: 4 / 3; }
}

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.project { margin: 0; }
.project .photo { aspect-ratio: 4 / 3; }
.project figcaption { padding-top: 1rem; }
.project h3 { font-size: var(--step-1); }
.project p { color: var(--steel); font-size: 0.95rem; margin-top: 0.25rem; }
.project--lead { grid-column: span 7; grid-row: span 2; }
.project--lead .photo { aspect-ratio: auto; height: calc(100% - 5.5rem); min-height: 22rem; }
.project--side { grid-column: span 5; }
.project--side .photo { aspect-ratio: 16 / 9; }
.projects-grid--page .project { grid-column: span 6; }
.projects-grid--page .project--tall .photo { aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .project--lead, .project--side, .projects-grid--page .project { grid-column: 1 / -1; grid-row: auto; }
  .project--lead .photo { height: auto; aspect-ratio: 4 / 3; min-height: 0; }
}

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center; gap: 2.5rem; }
.clients img { max-height: 5.25rem; max-width: 100%; width: auto; margin-inline: auto; filter: grayscale(1); opacity: 0.85; mix-blend-mode: multiply; transition: filter 0.3s, opacity 0.3s; }
.clients img:hover { filter: none; opacity: 1; }
.clients-more { font-family: var(--font-serif); font-style: italic; color: var(--steel); white-space: nowrap; }
@media (max-width: 860px) {
  .clients { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .clients-more { grid-column: 1 / -1; text-align: center; }
}

/* ---------- Principles (why EK) ---------- */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 5rem); }
.principle { padding: 2rem 0; border-top: 1px solid var(--rule); }
.principle h3 { margin-bottom: 0.6rem; }
.principle p { color: var(--steel); }
.principle a { font-size: 0.95rem; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--limestone); padding-block: clamp(3.5rem, 7vw, 6rem) 0; position: relative; z-index: 1; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.breadcrumb { font-size: 0.88rem; color: var(--steel); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--steel); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 0.5rem; }
.page-hero h1 { font-size: var(--step-5); max-width: 14ch; }
.page-hero .lede { margin-top: 1.5rem; max-width: 34rem; }
.page-hero-copy { padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero .photo { aspect-ratio: 4 / 5; margin-bottom: calc(-1 * clamp(3rem, 6vw, 5rem)); }
.page-hero + .section { padding-top: clamp(6rem, 12vw, 10rem); }
.page-hero--plain .page-hero-grid { grid-template-columns: 1fr; }
.page-hero--plain + .section { padding-top: clamp(3.5rem, 7vw, 5.5rem); }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-copy { padding-bottom: 0; }
  .page-hero .photo { aspect-ratio: 16 / 10; margin-bottom: -2.5rem; }
  .page-hero + .section { padding-top: 5.5rem; }
}

/* ---------- Article body (interior) ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.prose { max-width: 40rem; }
.prose h2 { font-size: var(--step-3); margin: 3rem 0 1.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2.25rem 0 0.75rem; }
.prose p, .prose li { color: #2a3a50; }
.prose .lede { color: var(--ink); }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } }

.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 1.5rem 0 2rem; }
.checklist li { position: relative; padding: 0.8rem 0 0.8rem 1.9rem; border-bottom: 1px solid var(--rule); line-height: 1.45; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem; width: 0.95rem; height: 0.55rem;
  border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg);
}
.checklist--single { grid-template-columns: 1fr; }
@media (max-width: 600px) { .checklist { grid-template-columns: 1fr; } }

.pull {
  margin: 3rem 0; max-width: 34rem;
  font-family: var(--font-serif); font-style: italic; font-size: var(--step-2); line-height: 1.4; color: var(--navy-deep);
}
.pull::before { content: ""; display: block; width: 2.5rem; height: 2px; background: var(--red); margin-bottom: 1.25rem; }

.inline-photo { margin: 2.5rem 0; }
.inline-photo .photo { aspect-ratio: 16 / 9; }
.inline-photo figcaption { font-size: 0.88rem; color: var(--steel); margin-top: 0.75rem; }

/* Sidebar */
.aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.5rem; }
.quote-card { background: var(--navy-deep); color: #dbe4f0; padding: 2rem; }
.quote-card h2 { font-family: var(--font-display); color: #fff; font-size: var(--step-2); margin-bottom: 0.75rem; }
.quote-card p { font-size: 0.95rem; }
.quote-card .btn { width: 100%; margin-top: 1.25rem; }
.quote-card-phone { display: block; margin-top: 1rem; font-family: var(--font-display); font-size: 1.6rem; color: #fff; text-decoration: none; }
.quote-card-phone:hover { color: #fff; text-decoration: underline; }
.related { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.related h2 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; }
.related ul { list-style: none; }
.related a { display: block; padding: 0.55rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.related a:hover { color: var(--navy); }

/* ---------- Electrostatic diagram ---------- */
.diagram { background: #fff; border: 1px solid var(--rule); padding: clamp(1.25rem, 3vw, 2rem); margin: 2rem 0; }
.diagram svg { width: 100%; height: auto; }
.diagram figcaption { font-size: 0.9rem; color: var(--steel); margin-top: 1rem; }

/* ---------- Steps (genuine sequences only) ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; margin: 1.5rem 0 2rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step); font-family: var(--font-display); font-size: 1.75rem; line-height: 1; color: var(--navy); }
.steps strong { display: block; margin-bottom: 0.2rem; }

/* ---------- Team ---------- */
.team { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; }
.team li { padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.team-name { font-family: var(--font-serif); font-size: var(--step-1); display: block; }
.team-role { color: var(--steel); font-size: 0.95rem; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .team { grid-template-columns: 1fr; } }

.timeline { list-style: none; border-left: 2px solid var(--navy); margin: 2rem 0; }
.timeline li { position: relative; padding: 0 0 2rem 2rem; }
.timeline li::before { content: ""; position: absolute; left: -0.5rem; top: 0.45rem; width: 0.85rem; height: 0.85rem; background: #fff; border: 2px solid var(--navy); border-radius: 50%; }
.timeline-year { display: block; font-family: var(--font-display); font-size: var(--step-2); color: var(--navy); line-height: 1.1; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #dbe4f0; position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: center; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta-band h2 { color: #fff; font-size: var(--step-4); max-width: 18ch; }
.cta-band p { margin-top: 1rem; max-width: 36rem; }
.cta-band-actions { display: grid; gap: 0.9rem; justify-items: start; }
.cta-band-phone { color: #fff; font-family: var(--font-display); font-size: var(--step-2); text-decoration: none; }
.cta-band-phone:hover { color: #fff; text-decoration: underline; }
.cta-band .ek-mark { position: absolute; right: -4rem; bottom: -5rem; width: 22rem; opacity: 0.06; pointer-events: none; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.45rem; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.8rem 0.9rem; border: 1px solid #b7c2cf; border-radius: 2px; background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(8,70,148,0.18); }
.field input[type="file"] { padding: 0.65rem; background: var(--limestone); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1.5rem; }
.choices label { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 400; font-size: 0.97rem; margin: 0; cursor: pointer; }
.choices input { width: 1.1rem; height: 1.1rem; margin-top: 0.25rem; accent-color: var(--navy); flex-shrink: 0; }
@media (max-width: 600px) { .choices { grid-template-columns: 1fr; } }
.form-note { font-size: 0.88rem; color: var(--steel); }
.honeypot { display: none; }
.form-panel { background: #fff; padding: clamp(1.5rem, 4vw, 2.75rem); border: 1px solid var(--rule); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-details { display: grid; gap: 2rem; }
.contact-block h2 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--steel); }
.contact-block p, .contact-block address { font-style: normal; font-size: 1.05rem; }
.contact-big { font-family: var(--font-display); font-size: var(--step-2); text-decoration: none; color: var(--ink); }
.contact-big:hover { color: var(--navy); }
.map { aspect-ratio: 4 / 3; border: 0; width: 100%; filter: grayscale(0.4); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-night); color: #a9bad1; font-size: 0.95rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 3.2fr) repeat(4, minmax(0, 2fr)); gap: 2.5rem; padding-block: clamp(3.5rem, 7vw, 5rem); }
.footer-brand img { width: 3.5rem; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 22rem; }
.footer-brand address { margin-top: 1.5rem; }
.site-footer h2 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.55rem; }
.site-footer a { color: #d4deeb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; display: grid; gap: 0.55rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; font-size: 0.85rem; }
.footer-bottom ul { display: flex; gap: 1.5rem; }
@media (max-width: 1100px) { .footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } .footer-brand address { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 3rem; } }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand address { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Thank-you / 404 ---------- */
.notice { min-height: 60vh; display: grid; align-items: center; }
.notice h1 { font-size: var(--step-5); margin-bottom: 1.25rem; }
.notice .actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

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

@media print {
  .site-header, .site-footer, .cta-band, .aside { display: none; }
}

/* ==========================================================================
   SEO / GEO components
   ========================================================================== */

/* At a glance — answer-first facts, easy for people and AI to quote */
.facts { margin: 0 0 3rem; border-top: 2px solid var(--ink); }
.facts .facts-title, .prose .facts-title { font: 600 0.95rem/1.4 var(--font-sans); color: var(--steel); padding: 1rem 0 0.25rem; margin: 0; letter-spacing: 0; }
.facts dl { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; margin: 0; }
.facts dt, .facts dd { padding: 0.75rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
.facts dt { font-weight: 600; color: var(--ink); padding-right: 1.5rem; font-size: 0.95rem; }
.facts dd { color: #2a3a50; font-size: 0.97rem; }
@media (max-width: 560px) {
  .facts dl { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { padding-top: 0.2rem; }
}

/* FAQ — native disclosure */
.faq { margin-top: 1.5rem; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline;
  padding: 1.15rem 0; font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.4; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-sans); font-size: 1.4rem; line-height: 1; color: var(--navy); flex-shrink: 0; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--navy); }
.faq .faq-answer { padding: 0 0 1.4rem; color: #2a3a50; max-width: 38rem; }

.updated { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: 0.85rem; color: var(--steel); }

/* Area map */
.area-map { background: #fff; position: relative; }
.area-map svg { width: 100%; height: auto; display: block; }
.area-map a { cursor: pointer; }
.area-map a:hover text, .area-map a:focus text { fill: var(--navy); text-decoration: underline; }
.page-hero .area-map { aspect-ratio: auto; padding: 1.25rem 1rem 1rem; border: 1px solid var(--rule); margin-bottom: calc(-1 * clamp(3rem, 6vw, 5rem)); }
.map-caption { font-size: 0.85rem; color: var(--steel); padding: 0.5rem 0.5rem 0; }

/* Link grids (hubs, nearby areas, industries) */
.link-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 1px solid var(--ink); }
.link-grid li { border-bottom: 1px solid var(--rule); }
.link-grid a { display: block; padding: 1.1rem 0; text-decoration: none; color: var(--ink); }
.link-grid a strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 1.15rem; }
.link-grid a span { display: block; color: var(--steel); font-size: 0.93rem; margin-top: 0.2rem; line-height: 1.5; }
.link-grid a:hover strong { color: var(--navy); }
.link-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.5rem 0 2rem; }
@media (max-width: 860px) { .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .link-grid, .prose .link-grid, .link-grid--two { grid-template-columns: 1fr; } }

.areas-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.areas-split .area-map { border: 1px solid var(--rule); padding: 1.25rem 1rem 1rem; }
@media (max-width: 860px) { .areas-split { grid-template-columns: 1fr; } .areas-split .area-map { max-width: 26rem; } }

.dropdown--wide { min-width: 30rem; columns: 2; column-gap: 0; }
.dropdown--wide li { break-inside: avoid; }
.dropdown-all a { font-weight: 600; color: var(--navy); }
@media (max-width: 960px) { .dropdown--wide { min-width: 0; columns: 1; } }
