/* ==========================================================================
   Ethos Electrical — stylesheet
   Single shared stylesheet for every page (no per-page CSS/build step).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens
   Palette is SAMPLED from the client's real logo file (images/logo-horizontal.svg),
   not invented: reading the SVG source shows two real fills — solid white
   (#FFFFFF) on the wordmark, and a cyan-to-teal gradient (#3DF5EA -> #137E6C)
   on the mark + tagline. Because the logo carries real colour data, that
   gradient is used as the site accent instead of a generic amber/gold guess.
   The dark charcoal base is a reasoned choice, not sampled: a logo that only
   ships in white-on-transparent tells you the brand's working background is
   dark, so the site's dominant surface follows that logic.
   -------------------------------------------------------------------------- */
:root {
  /* Dark surface family — the brand's working background (logo is white-only) */
  --ink-950: #0a1512;   /* near-black charcoal with a whisper of the teal undertone; header/footer/hero scrim */
  --ink-900: #101f1b;   /* one step up — cards/panels sitting on the darkest surface */
  --ink-800: #1a2b26;   /* two steps up — hover states, inset panels */
  --ink-line: #24382f;  /* hairline borders on dark surfaces */

  /* Accent — sampled directly from the logo's gradient (see comment above) */
  --accent-bright: #3df5ea;  /* gradient endpoint: bright cyan — sparing use, glows/small highlights only */
  --accent: #17b39d;         /* usable mid-tone between the two sampled stops — primary CTA/link colour (passes AA on both --ink-950 and --paper) */
  --accent-deep: #137e6c;    /* gradient endpoint: deep teal — hover/active states, deeper fills */

  /* Light surface family — long-form reading sections (About/FAQ copy is dense; all-dark would fight legibility) */
  --paper: #f7f5f0;          /* warm off-white, easier on the eye than pure #fff over long passages */
  --paper-dim: #edeae1;      /* slightly deeper warm off-white — alternating section rhythm */
  --paper-line: #ddd6c7;     /* hairline borders on light surfaces */

  /* Text */
  --text-on-dark: #f4f7f6;
  --text-on-dark-mute: #a9bdb7;
  --text-on-paper: #16211d;
  --text-on-paper-mute: #4c5b55;

  /* Status (form validation) */
  --state-error: #b3261e;
  --state-error-bg: #fbeae9;
  --state-success: #137e6c;

  /* Type — display face echoes the logo's own bold geometric wordmark;
     body face is a workhorse designed for long-form legibility, not a
     trendy startup grotesk. Loaded in each page's <head>. */
  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Public Sans", "Segoe UI", Arial, sans-serif;

  /* Type scale */
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.25rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.4rem;

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 6rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(10, 21, 18, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 21, 18, 0.14);
  --shadow-lg: 0 20px 48px rgba(10, 21, 18, 0.22);

  --transition: 220ms ease;
  --container-w: 1200px;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

section { padding-block: var(--space-12); }
@media (max-width: 640px) {
  section { padding-block: var(--space-8); }
}

/* Section surface variants */
.surface-dark   { background: var(--ink-950); color: var(--text-on-dark); }
.surface-dim    { background: var(--paper-dim); color: var(--text-on-paper); }
.surface-paper  { background: var(--paper); color: var(--text-on-paper); }
.surface-dark p, .surface-dark li { color: var(--text-on-dark-mute); }
.surface-dark h1, .surface-dark h2, .surface-dark h3 { color: var(--text-on-dark); }

/* Visually-hidden but accessible */
.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;
}

.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -50px;
  background: var(--accent);
  color: #04211c;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 200;
  transition: top var(--transition);
}
.skip-link:focus { top: var(--space-3); }

/* Focus states — never suppressed */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep); /* --accent alone is only 2.4:1 on paper — fails AA for text; accent-deep passes at 4.56:1 */
}
.surface-dark .eyebrow { color: var(--accent-bright); }
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
@media (min-width: 768px) {
  h1 { font-size: var(--text-5xl); }
  h2 { font-size: var(--text-4xl); }
}

.section-head { max-width: 46rem; margin-bottom: var(--space-8); }
.section-head h2 { margin-top: var(--space-3); }
.section-head p { font-size: var(--text-md); color: var(--text-on-paper-mute); margin-top: var(--space-3); }
.surface-dark .section-head p { color: var(--text-on-dark-mute); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

.lede { font-size: var(--text-md); color: var(--text-on-paper-mute); max-width: 60ch; }
.surface-dark .lede { color: var(--text-on-dark-mute); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--text-sm);
  text-align: center;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #04211c;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-bright); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(1px); }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--text-on-dark);
}
.btn-outline:hover { background: rgba(244, 247, 246, 0.1); }
.surface-paper .btn-outline, .surface-dim .btn-outline { color: var(--text-on-paper); }
.surface-paper .btn-outline:hover, .surface-dim .btn-outline:hover { background: rgba(22, 33, 29, 0.06); }

.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink-950);
  border-bottom: 1px solid var(--ink-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 76px;
}
.site-logo { display: flex; align-items: center; flex-shrink: 1; min-width: 0; }
.site-logo img { height: 30px; width: auto; max-width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-on-dark);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-on-dark-mute);
  padding: var(--space-2) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--text-on-dark); border-color: var(--accent); }

.nav-cta { display: flex; align-items: center; gap: var(--space-4); flex-shrink: 0; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-on-dark);
  font-size: var(--text-sm);
  white-space: nowrap;
  flex-shrink: 0;
  padding: var(--space-2);
  margin: calc(var(--space-2) * -1);
  border-radius: var(--radius-sm);
}
.nav-phone svg { flex-shrink: 0; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; flex-shrink: 0; }
  .main-nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--ink-950);
    padding: var(--space-6) var(--space-5);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: var(--space-2); width: 100%; }
  .main-nav a { display: block; width: 100%; padding: var(--space-3) 0; font-size: var(--text-lg); }
  .nav-cta .btn-primary { display: none; }
}

/* Below ~480px the full wordmark + phone number + menu button no longer fit
   comfortably on one line — shrink the logo and drop to an icon-only call
   button (still fully labelled for assistive tech via aria-label). */
@media (max-width: 480px) {
  .site-logo img { height: 22px; }
  .nav-phone-text { display: none; }
}

/* --------------------------------------------------------------------------
   Hero (home) — the one place we spend visual boldness
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  color: var(--text-on-dark);
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(6,14,12,0.94) 0%, rgba(8,17,15,0.72) 32%, rgba(8,17,15,0.28) 62%, rgba(8,17,15,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-16) var(--space-10);
  max-width: 46rem;
}
.hero-content .eyebrow { color: var(--accent-bright); }
.hero-content h1 {
  margin-top: var(--space-4);
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-content .lede {
  color: var(--text-on-dark);
  font-size: var(--text-lg);
  margin-top: var(--space-5);
  max-width: 42ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
@media (max-width: 640px) {
  .hero { min-height: 92svh; }
  .hero-content h1 { font-size: var(--text-3xl); }
}

/* Inner-page header — calm, no photo; boldness stays on the homepage hero */
.page-header {
  background: var(--ink-950);
  color: var(--text-on-dark);
  padding-block: var(--space-10) var(--space-8);
  border-bottom: 3px solid var(--accent-deep);
}
.page-header .eyebrow { color: var(--accent-bright); }
.page-header h1 { color: #fff; margin-top: var(--space-3); }
.page-header p { color: var(--text-on-dark-mute); margin-top: var(--space-4); max-width: 58ch; font-size: var(--text-md); }

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.trust-strip { background: var(--ink-900); border-bottom: 1px solid var(--ink-line); }
.trust-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}
.trust-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.trust-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--ink-800);
  border: 1px solid var(--ink-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-bright);
}
.trust-item h3 { color: var(--text-on-dark); font-size: var(--text-md); }
.trust-item p { margin-top: var(--space-1); font-size: var(--text-sm); color: var(--text-on-dark-mute); }

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}
.service-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.service-card .card-index {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--accent-deep);
  font-weight: 800;
}
.service-card h3 { font-size: var(--text-lg); }
.service-card p { color: var(--text-on-paper-mute); flex-grow: 1; }
.service-card .card-link { font-weight: 700; color: var(--accent-deep); display: inline-flex; align-items: center; gap: var(--space-2); }
.service-card .card-link svg { transition: transform var(--transition); }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Photo strip / gallery
   -------------------------------------------------------------------------- */
.photo-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: var(--space-4);
  overflow-x: auto;
  padding-bottom: var(--space-3);
  scroll-snap-type: x proximity;
}
.photo-strip img {
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.photo-strip figure { margin: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: var(--radius-md); }
.gallery-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%; height: 100%;
  transition: transform 400ms ease;
}
.gallery-grid a:hover img, .gallery-grid a:focus-visible img { transform: scale(1.05); }

/* --------------------------------------------------------------------------
   Brands strip
   -------------------------------------------------------------------------- */
.brands-strip { border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); }
.brands-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.brands-row span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--text-on-paper-mute);
  letter-spacing: 0.02em;
  opacity: 0.75;
  transition: opacity var(--transition), color var(--transition);
}
.brands-row span:hover { opacity: 1; color: var(--accent-deep); }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.review-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .review-grid { grid-template-columns: repeat(4, 1fr); } }
.review-card {
  background: var(--ink-900);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.review-stars { color: var(--accent-bright); letter-spacing: 0.1em; font-size: var(--text-md); }
.review-quote { color: var(--text-on-dark); font-size: var(--text-sm); flex-grow: 1; }
.review-attrib { font-weight: 700; font-family: var(--font-display); color: var(--text-on-dark); font-size: var(--text-sm); }
.review-attrib span { display: block; font-family: var(--font-body); font-weight: 400; color: var(--text-on-dark-mute); font-size: var(--text-xs); margin-top: 2px; }

/* --------------------------------------------------------------------------
   Solar package cards
   -------------------------------------------------------------------------- */
.package-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .package-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .package-grid { grid-template-columns: repeat(4, 1fr); } }
.package-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.package-card.featured { border-color: var(--accent-deep); box-shadow: var(--shadow-md); }
.package-head { background: var(--ink-950); color: #fff; padding: var(--space-5); }
.package-head .tier { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: var(--text-sm); color: var(--accent-bright); }
.package-head .price { font-family: var(--font-display); font-size: var(--text-3xl); margin-top: var(--space-2); }
.package-head .price sup { font-size: var(--text-md); vertical-align: super; }
.package-head .kw { color: var(--text-on-dark-mute); font-size: var(--text-sm); margin-top: var(--space-1); }
.package-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); flex-grow: 1; }
.package-specs { display: flex; flex-direction: column; gap: var(--space-3); flex-grow: 1; }
.package-specs li { font-size: var(--text-sm); padding-left: var(--space-6); position: relative; color: var(--text-on-paper-mute); }
.package-specs li strong { color: var(--text-on-paper); }
.package-specs li::before {
  content: "";
  position: absolute; left: 0; top: 0.4em;
  width: 14px; height: 14px;
  background: var(--accent-deep); /* accent alone is only 2.6:1 on white — under the 3:1 non-text minimum */
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 46% 60%);
}
.package-disclaimer { font-size: var(--text-xs); color: var(--text-on-paper-mute); border-top: 1px dashed var(--paper-line); padding-block: var(--space-8); }

/* --------------------------------------------------------------------------
   Brand-spec cards (battery/panel brand tiles)
   -------------------------------------------------------------------------- */
.spec-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }
.spec-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.spec-card h3 { font-size: var(--text-lg); }
.spec-card .spec-meta { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-deep); font-weight: 700; margin-top: var(--space-1); }
.spec-card p { margin-top: var(--space-3); color: var(--text-on-paper-mute); font-size: var(--text-sm); }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq-group { margin-bottom: var(--space-10); }
.faq-group > h2 { margin-bottom: var(--space-5); }
.faq-item {
  border-bottom: 1px solid var(--paper-line);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--paper-line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.faq-item .faq-icon::before, .faq-item .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent-deep);
}
.faq-item .faq-icon::before { width: 12px; height: 2px; }
.faq-item .faq-icon::after { width: 2px; height: 12px; transition: transform var(--transition); }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); scale: 0; }
.faq-item .faq-answer { padding-bottom: var(--space-5); color: var(--text-on-paper-mute); max-width: 68ch; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--ink-950);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--text-on-dark-mute); margin-top: var(--space-2); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
/* .cta-band is always dark internally regardless of the section it sits in
   (surface-paper, surface-dim or surface-dark) — re-assert the dark-context
   button colour here so it isn't flipped to near-invisible dark-on-dark by
   the .surface-paper/.surface-dim .btn-outline override above. */
.cta-band .btn-outline { color: #fff; border-color: rgba(244, 247, 246, 0.55); }
.cta-band .btn-outline:hover { background: rgba(244, 247, 246, 0.12); border-color: #fff; }

/* --------------------------------------------------------------------------
   Contact / forms
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.1fr 1fr; } }

.info-card {
  background: var(--ink-950);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.info-card h2 { color: #fff; }
.info-list { margin-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); }
.info-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.info-list .info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--ink-800);
  border: 1px solid var(--ink-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-bright);
}
.info-list a { font-weight: 700; }
.info-list a:hover { color: var(--accent-bright); }
.map-wrap { margin-top: var(--space-6); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--ink-line); }
.map-wrap iframe { width: 100%; height: 280px; border: 0; display: block; }
.map-caption { font-size: var(--text-xs); color: var(--text-on-dark-mute); margin-top: var(--space-3); }

.form-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.form-field { margin-bottom: var(--space-5); }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--paper-line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color var(--transition), background var(--transition);
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--accent-deep); background: #fff; outline: none; }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field .field-hint { font-size: var(--text-xs); color: var(--text-on-paper-mute); margin-top: var(--space-2); }
.form-field .field-error {
  font-size: var(--text-xs);
  color: var(--state-error);
  margin-top: var(--space-2);
  display: none;
  font-weight: 700;
}
.form-field.has-error input,
.form-field.has-error textarea { border-color: var(--state-error); background: var(--state-error-bg); }
.form-field.has-error .field-error { display: block; }
.form-required { color: var(--accent-deep); }

.form-success {
  text-align: center;
  padding: var(--space-10) var(--space-4);
}
.form-success .success-mark {
  width: 64px; height: 64px;
  margin-inline: auto var(--space-5);
  border-radius: 50%;
  background: var(--accent);
  color: #04211c;
  display: flex; align-items: center; justify-content: center;
}
.form-success h3 { font-size: var(--text-xl); }
.form-success p { color: var(--text-on-paper-mute); margin-top: var(--space-3); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-950);
  color: var(--text-on-dark-mute);
  padding-block: var(--space-10) var(--space-6);
  border-top: 1px solid var(--ink-line);
}
.footer-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand img { height: 26px; }
.footer-brand p { margin-top: var(--space-4); max-width: 34ch; font-size: var(--text-sm); }
.footer-heading { font-family: var(--font-display); color: var(--text-on-dark); font-weight: 800; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-4); }
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a { font-size: var(--text-sm); transition: color var(--transition); }
.footer-links a:hover { color: var(--text-on-dark); }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--ink-line);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition), color var(--transition);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent-bright); }
.footer-bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--text-xs);
}
.footer-bottom a:hover { color: var(--text-on-dark); }

/* --------------------------------------------------------------------------
   Scroll reveal — deliberate & sparse; fully inert under reduced motion
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------------------
   Misc utilities
   -------------------------------------------------------------------------- */
.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.center-text { text-align: center; }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-6 { margin-bottom: var(--space-6); }
.items-center { align-items: center; }
.gap-lg { gap: var(--space-10); }
.rounded-lg { border-radius: var(--radius-lg); }
.link-accent { font-weight: 700; color: var(--accent-deep); }

/* Block of body copy with consistent paragraph rhythm — used wherever a
   section needs several paragraphs of running text (About's founding story,
   the signed-letter callout, etc.) instead of one-off inline margins. */
.prose p:not(.eyebrow) { margin-top: var(--space-4); font-size: var(--text-md); color: var(--text-on-paper-mute); }
.surface-dark .prose p:not(.eyebrow) { color: var(--text-on-dark-mute); }

/* .cta-band defaults to --ink-950; this modifier lets it sit one step
   lighter (--ink-900) when used inside a section whose background is
   already --ink-950, so the band still reads as a distinct panel. */
.cta-band.alt { background: var(--ink-900); }
.cta-band.bordered { background: transparent; border: 1px solid var(--ink-line); padding: var(--space-8); }

/* Narrower, centred form-card — used for the About page's signed letter */
.form-card.narrow { max-width: 44rem; margin-inline: auto; }
.signature-block { margin-top: var(--space-6); }
.signature-block .sign-off { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); }
.signature-block .sign-name { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); color: var(--accent-deep); margin-top: 0; }
.signature-block .sign-title { color: var(--text-on-paper-mute); font-size: var(--text-sm); }

/* Compact label + value pairs inside .info-card (phone/email/service area) */
.info-list .info-label { font-family: var(--font-display); font-weight: 800; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-on-dark); margin-bottom: 2px; }
.info-list p { color: var(--text-on-dark-mute); font-size: var(--text-sm); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--ink-800);
  border: 1px solid var(--ink-line);
  color: var(--text-on-dark);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
}
.surface-paper .badge, .surface-dim .badge { background: var(--paper); border-color: var(--paper-line); color: var(--text-on-paper); }
