/* ==========================================================================
   Rapid Window Cleaning — main stylesheet
   Structure: 1 tokens · 2 base · 3 layout · 4 components · 5 sections · 6 pages · 7 utilities
   ========================================================================== */

/* 1. Tokens -------------------------------------------------------------- */
:root {
  --ink: #062A38;
  --ink-2: #0B3646;
  --primary: #005B79;
  --primary-dark: #00445B;
  --accent: #00DFFD;
  --white: #FFFFFF;
  --mist: #EEF5F7;
  --steel: #4A5E67;
  --line: #D3E0E5;
  --error: #B3261E;
  --confirm-bg: #FFF4D6;
  --confirm-line: #B7791F;

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.6rem, 1.6rem + 4.4vw, 5.4rem);
  --fs-h1: clamp(2.3rem, 1.6rem + 3vw, 4rem);
  --fs-h2: clamp(1.85rem, 1.4rem + 1.9vw, 2.9rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-lead: clamp(1.1rem, 1.04rem + 0.3vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-eyebrow: 0.78rem;

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem;
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);

  --container: 1240px;
  --gutter: clamp(1.25rem, 0.8rem + 2.4vw, 2.5rem);
  --radius: 4px;
  --slant: 7vw;
  --header-h: 76px;
  --shadow: 0 24px 48px -24px rgba(6, 42, 56, 0.45);
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-dark); text-decoration-thickness: 2px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.on-light :focus-visible, main :focus-visible { outline-color: var(--primary); }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
::selection { background: var(--accent); color: var(--ink); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--accent); color: var(--ink); padding: 0.75rem 1.25rem; font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. Layout -------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-mist { background: var(--mist); }
.bg-primary { background: var(--primary); color: var(--white); }
.bg-ink a:not(.btn), .bg-primary a:not(.btn) { color: var(--white); }
.bg-ink p, .bg-primary p { color: rgba(255, 255, 255, 0.86); }

.split { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
  .split--top { align-items: start; }
}

/* 4. Components ---------------------------------------------------------- */
/* Eyebrow with glint line */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 700;
  font-size: var(--fs-eyebrow); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary); margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: ""; width: 2.25rem; height: 2px; flex: none;
  background: linear-gradient(90deg, transparent, currentColor);
}
.bg-ink .eyebrow, .bg-primary .eyebrow, .on-dark .eyebrow { color: var(--accent); }
.bg-primary .eyebrow { color: var(--white); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--steel); }
.bg-ink .lead, .bg-primary .lead, .on-dark .lead { color: rgba(255, 255, 255, 0.86); }
/* Dark contexts: hero, page header, closing CTA, dark cards */
.hero .eyebrow, .page-hero .eyebrow, .cta-close .eyebrow, .aside-card--ink .eyebrow { color: var(--accent); }
.hero .lead, .page-hero .lead, .cta-close .lead, .hero p, .page-hero p { color: rgba(255, 255, 255, 0.88); }
.hero a:not(.btn), .page-hero a:not(.btn), .cta-close a:not(.btn), .aside-card--ink a:not(.btn), .cta-strip a:not(.btn) { color: var(--white); }
.hero a:not(.btn):hover, .page-hero a:not(.btn):hover, .cta-close a:not(.btn):hover { color: var(--accent); }
.hero :focus-visible, .page-hero :focus-visible, .cta-close :focus-visible, .aside-card--ink :focus-visible, .cta-strip :focus-visible, .bg-ink :focus-visible, .bg-primary :focus-visible { outline-color: var(--accent); }
.page-hero .form-card :focus-visible { outline-color: var(--primary); }
/* Light card inside a dark header: restore light-context colors */
.page-hero .form-card p { color: var(--steel); }
.page-hero .form-card .field-error { color: var(--error); }
.page-hero .form-card .form-status--warn { color: #4A3000; }
.page-hero .form-card .form-status--error { color: var(--error); }
.page-hero .form-card a:not(.btn) { color: var(--primary); }

/* Buttons */
.btn {
  --btn-bg: var(--primary); --btn-fg: var(--white); --btn-bd: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.8rem 1.5rem;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; line-height: 1.1;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd);
  border-radius: var(--radius); cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { color: var(--btn-fg); text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--ink); --btn-bd: var(--accent); }
.btn--accent:hover { --btn-bg: #6BEEFF; --btn-bd: #6BEEFF; }
.btn--primary:hover { --btn-bg: var(--primary-dark); --btn-bd: var(--primary-dark); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { --btn-bd: var(--white); --btn-bg: rgba(255, 255, 255, 0.08); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--primary); --btn-bd: var(--primary); }
.btn--outline:hover { --btn-bg: var(--primary); --btn-fg: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* Arrow link */
.arrow-link {
  display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; text-decoration: none;
}
.arrow-link::after { content: "→"; transition: transform 0.2s ease; }
.arrow-link:hover::after { transform: translateX(4px); }

/* Trust facts row */
.trust-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; list-style: none; padding: 0; margin: 0; }
.trust-row li { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; font-size: 0.95rem; }
.trust-row svg { width: 1.15rem; height: 1.15rem; color: var(--accent); flex: none; }
.on-light .trust-row svg { color: var(--primary); }

/* CONFIRM placeholder */
.confirm {
  background: var(--confirm-bg); color: #5C3B00; border: 1px dashed var(--confirm-line);
  padding: 0.05em 0.4em; border-radius: 3px; font-weight: 600; font-size: 0.92em;
}
.confirm-block {
  background: var(--confirm-bg); color: #4A3000; border-left: 4px solid var(--confirm-line);
  padding: var(--space-4) var(--space-5); margin: var(--space-5) 0; border-radius: 0 var(--radius) var(--radius) 0;
}
.confirm-block p:last-child { margin: 0; }

/* Images */
.img-frame { position: relative; overflow: hidden; background: var(--mist); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
/* Lets landscape photos fill a taller frame (the picture element otherwise sizes to the image). */
.img-frame--fill picture { display: block; height: 100%; }
.img-slant { clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
.img-slant-r { clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); }
.caption { font-size: var(--fs-small); color: var(--steel); margin-top: var(--space-2); }

/* Glint line (decorative) */
.glint { position: absolute; height: 3px; background: linear-gradient(90deg, transparent, var(--accent) 70%, #fff); pointer-events: none; }
.glint::after {
  content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%) rotate(45deg);
  background: var(--white); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  box-shadow: 0 0 12px var(--accent);
}

/* 5. Site header --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--ink); color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); }
.header-inner { display: flex; align-items: center; gap: var(--space-5); min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 150px; height: auto; }
.primary-nav { margin-left: auto; }
.nav-list { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list a, .nav-list button {
  display: flex; align-items: center; gap: 0.35rem; min-height: 44px; padding: 0.5rem 0.75rem;
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.98rem;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav-list a:hover, .nav-list button:hover { color: var(--accent); }
.nav-list a[aria-current="page"], .nav-list .is-current > a, .nav-list .is-current > .submenu-toggle-wrap > a { color: var(--accent); }
.submenu-toggle-wrap { display: flex; align-items: center; }
.submenu-toggle { padding: 0.5rem 0.4rem !important; }
.submenu-toggle svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu {
  list-style: none; margin: 0; padding: 0.5rem; min-width: 250px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  position: absolute; top: 100%; left: 0; display: none;
}
.submenu.is-open { display: block; }
.submenu a { color: var(--ink); min-height: 40px; padding: 0.45rem 0.75rem; border-radius: 3px; font-weight: 500; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--mist); color: var(--primary); }
.submenu .submenu-all a { font-weight: 700; color: var(--primary); border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: 0.25rem; }
.header-actions { display: flex; align-items: center; gap: var(--space-4); flex: none; }
.header-phone {
  display: flex; flex-direction: column; line-height: 1.15; color: var(--white); text-decoration: none;
}
.header-phone small { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.header-phone span { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.05rem; }
.header-phone:hover { color: var(--accent); }
.header-actions .btn { min-height: 46px; padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.nav-toggle {
  display: none; width: 48px; height: 48px; margin-left: auto; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius); color: var(--white); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-list a, .nav-list button { white-space: nowrap; }
@media (max-width: 1320px) {
  .header-phone { display: none; }
  .nav-list a { padding-inline: 0.6rem; }
}
@media (max-width: 1099px) {
  :root { --header-h: 68px; }
  .brand img { width: 128px; }
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none; }
  /* Slide-out drawer from the right */
  .primary-nav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(88vw, 400px); z-index: 2;
    background: var(--ink); overflow-y: auto; overscroll-behavior: contain; margin: 0;
    padding: var(--space-4) var(--space-5) calc(var(--space-6) + env(safe-area-inset-bottom));
    border-left: 1px solid rgba(255, 255, 255, 0.1); box-shadow: -24px 0 48px -12px rgba(0, 0, 0, 0.5);
    transform: translateX(100%); visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 0.32s;
  }
  .primary-nav.is-open { transform: none; visibility: visible; transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s; }
  .nav-backdrop {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 1;
    background: rgba(6, 42, 56, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.32s ease;
  }
  body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav-list a, .nav-list button { font-size: 1.15rem; min-height: 56px; padding-inline: 0; }
  .submenu-toggle-wrap { justify-content: space-between; }
  .submenu-toggle { min-width: 56px; justify-content: center; }
  .submenu { position: static; box-shadow: none; background: transparent; padding: 0 0 0.75rem 1rem; min-width: 0; }
  .submenu a { color: rgba(255, 255, 255, 0.85); font-size: 1rem; min-height: 44px; }
  .submenu a:hover, .submenu a[aria-current="page"] { background: rgba(255, 255, 255, 0.06); color: var(--accent); }
  .submenu .submenu-all a { color: var(--accent); border-color: rgba(255, 255, 255, 0.12); }
  .mobile-nav-cta { display: grid !important; gap: var(--space-3); margin-top: var(--space-6); }
  .mobile-nav-cta .btn { width: 100%; justify-content: center; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 1099px) and (prefers-reduced-motion: reduce) {
  .primary-nav, .primary-nav.is-open, .nav-backdrop { transition: none; }
}
@media (min-width: 1100px) { .mobile-nav-cta, .nav-backdrop { display: none !important; } }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--ink); border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom)); gap: 0.5rem;
  }
  .mobile-bar .btn { min-height: 50px; font-size: 0.85rem; padding-inline: 0.5rem; }
  body { padding-bottom: 70px; }
}

/* 6. Hero (home) --------------------------------------------------------- */
.hero {
  position: relative; background: var(--ink); color: var(--white); overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  padding-bottom: calc(var(--slant) + 4.5rem);
  display: flex; flex-direction: column;
}
/* "Wiped glass": one photo seen through fogged glass, with a slanted
   squeegee stripe wiped clean. The cyan line is the squeegee blade. */
.hero__glass { position: relative; order: 2; aspect-ratio: 4 / 5; max-height: 620px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%); mask-image: linear-gradient(180deg, transparent 0, #000 18%); }
.hero__fog, .hero__clear { position: absolute; inset: 0; }
.hero__fog picture, .hero__clear picture, .hero__fog img, .hero__clear img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__fog img { filter: blur(9px) brightness(0.5) saturate(0.8); transform: scale(1.08); }
.hero__fog::after { content: ""; position: absolute; inset: 0; background: rgba(6, 42, 56, 0.35); }
.hero__clear, .hero__blade { --wipe-top: 18%; --wipe-bottom: 4%; --wipe-w: 62%; }
.hero__clear { clip-path: polygon(var(--wipe-top) 0, calc(var(--wipe-top) + var(--wipe-w)) 0, calc(var(--wipe-bottom) + var(--wipe-w)) 100%, var(--wipe-bottom) 100%); }
.hero__blade {
  position: absolute; inset: 0; background: var(--accent); pointer-events: none;
  clip-path: polygon(calc(var(--wipe-top) + var(--wipe-w) - 0.4%) 0, calc(var(--wipe-top) + var(--wipe-w) + 0.4%) 0, calc(var(--wipe-bottom) + var(--wipe-w) + 0.4%) 100%, calc(var(--wipe-bottom) + var(--wipe-w) - 0.4%) 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__clear { animation: hero-wipe 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.25s both; }
  .hero__blade { animation: hero-blade 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.25s both; }
}
@keyframes hero-wipe {
  from { clip-path: polygon(var(--wipe-top) 0, var(--wipe-top) 0, var(--wipe-bottom) 100%, var(--wipe-bottom) 100%); }
}
@keyframes hero-blade { from { transform: translateX(calc(-1 * var(--wipe-w))); } }

.hero__inner { position: relative; z-index: 2; order: 1; }
.hero__content { padding: clamp(2.5rem, 6vw, 6rem) 0 var(--space-6); }
.hero h1 { font-size: var(--fs-display); line-height: 0.98; margin-bottom: var(--space-5); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { max-width: 34rem; margin-bottom: var(--space-6); }
.hero .btn-row { margin-bottom: var(--space-5); }
.hero .trust-row { margin: 0; }
.hero__badge {
  position: relative; z-index: 3; margin: 0 0 -2.5rem auto; width: max-content; max-width: min(290px, 85%);
  background: var(--white); color: var(--ink); padding: 0.85rem 1.1rem; border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}
.hero .hero__badge, .hero .hero__badge span { color: var(--ink); }
.hero__badge strong { display: block; font-family: var(--font-display); font-stretch: 125%; font-size: 1.85rem; line-height: 1; color: var(--primary); }
.hero__badge span { display: block; font-size: 0.86rem; font-weight: 600; line-height: 1.35; }
.hero .hero__badge .hero__badge-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 0.3rem; }
.hero .hero__badge .hero__badge-cta { display: flex; align-items: center; gap: 0.55rem; margin-top: 0.7rem; font-weight: 700; font-size: 0.92rem; color: var(--primary); }
.hero__badge-cta svg { width: 28px; height: 28px; padding: 7px 6px 7px 8px; border-radius: 50%; background: var(--accent); color: var(--ink); flex: none; transition: transform 0.2s ease; }
.hero a.hero__badge { display: block; color: var(--ink); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hero a.hero__badge:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55); }
.hero a.hero__badge:hover .hero__badge-cta svg { transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) { .hero a.hero__badge:hover { transform: none; } }

@media (min-width: 1100px) {
  .hero { display: block; min-height: min(90vh, 860px); }
  .hero__glass { position: absolute; inset: 0 0 0 38%; aspect-ratio: auto; max-height: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%); }
  .hero__clear, .hero__blade { --wipe-top: 30%; --wipe-bottom: 16%; --wipe-w: 54%; }
  .hero__content { max-width: min(40rem, 49%); padding-bottom: var(--space-4); }
  .hero__badge { position: absolute; right: var(--gutter); bottom: 0; margin: 0; }
}
/* Stats bar overlapping hero */
.stats { position: relative; z-index: 5; margin-top: calc(-1 * (var(--slant) + 2.5rem)); }
.stats__inner {
  display: grid; grid-template-columns: repeat(2, 1fr); background: var(--white); box-shadow: var(--shadow);
  border-top: 4px solid var(--accent); border-radius: 0 0 var(--radius) var(--radius);
}
.stat { padding: 1.4rem 1.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat strong { display: block; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1; color: var(--primary); margin-bottom: 0.35rem; }
.stat span { font-size: 0.92rem; font-weight: 600; color: var(--steel); line-height: 1.35; display: block; }
@media (min-width: 900px) {
  .stats__inner { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; padding: 1.75rem 2rem; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
}

/* Inner page hero */
.page-hero {
  background: var(--ink); color: var(--white); position: relative; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 4vw));
  padding: clamp(3rem, 6vw, 5.5rem) 0 calc(clamp(3rem, 6vw, 5rem) + 4vw);
}
.page-hero__grid { display: grid; gap: var(--space-6); align-items: center; position: relative; z-index: 2; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 40rem; }
.page-hero .btn-row { margin-top: var(--space-5); }
.page-hero__media { aspect-ratio: 4 / 3; }
.page-hero--photo .page-hero__bg { position: absolute; inset: 0; opacity: 0.32; }
.page-hero--photo .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink) 30%, rgba(6, 42, 56, 0.55)); }
@media (min-width: 900px) {
  .page-hero__grid--media { grid-template-columns: 1.2fr 0.8fr; }
}
.breadcrumbs { font-size: 0.88rem; margin-bottom: var(--space-5); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.breadcrumbs li { color: rgba(255, 255, 255, 0.7); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.35rem; color: rgba(255, 255, 255, 0.4); }
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); }
.breadcrumbs a:hover { color: var(--accent); }

/* Service tiles (image-led bento grid) */
.svc-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
.svc-tile {
  position: relative; isolation: isolate; overflow: hidden; min-height: 300px;
  display: flex; align-items: flex-end; background: var(--ink); color: var(--white);
}
.svc-tile__media { position: absolute; inset: 0; z-index: -2; }
.svc-tile__media picture, .svc-tile__media svg { width: 100%; height: 100%; }
.svc-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.svc-tile__media svg { transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.svc-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 42, 56, 0) 15%, rgba(6, 42, 56, 0.68) 50%, rgba(6, 42, 56, 0.96) 100%);
}
.svc-tile h3, .svc-tile p { text-shadow: 0 1px 12px rgba(6, 42, 56, 0.6); }
.svc-tile--cta h3, .svc-tile--cta p { text-shadow: none; }
.svc-tile--graphic::before { background: linear-gradient(180deg, rgba(6, 42, 56, 0) 20%, rgba(6, 42, 56, 0.85) 75%); }
/* Cyan streak that runs along the bottom edge on hover (echoes the logo glint) */
.svc-tile::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; z-index: 2;
  background: linear-gradient(90deg, var(--accent), #fff); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
}
.svc-tile__body { position: relative; padding: 1.5rem 1.5rem 1.6rem; max-width: 34rem; }
.svc-tile__num {
  display: inline-block; margin-bottom: 0.6rem; padding: 0.2rem 0.55rem;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); background: var(--accent); transform: skewX(-12deg);
}
.svc-tile h3 { margin: 0 0 0.45rem; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); color: var(--white); }
.svc-tile h3 a { color: inherit; text-decoration: none; }
.svc-tile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; } /* whole tile is clickable */
.svc-tile h3 a:focus-visible { outline: none; }
.svc-tile:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
main .svc-tile:focus-within { outline-color: var(--primary); }
.svc-tile p { margin: 0; font-size: 0.98rem; line-height: 1.5; color: rgba(255, 255, 255, 0.88); }
.svc-tile__go {
  position: absolute; top: 1.1rem; right: 1.1rem; width: 48px; height: 48px; display: grid; place-items: center; z-index: 2;
  background: var(--accent); color: var(--ink); border-radius: 50%; transform: rotate(-45deg); transition: transform 0.3s ease;
}
.svc-tile__go svg { width: 20px; height: 20px; }
.svc-tile:hover .svc-tile__media img, .svc-tile:hover .svc-tile__media svg { transform: scale(1.05); }
.svc-tile:hover .svc-tile__go, .svc-tile:focus-within .svc-tile__go { transform: rotate(0deg); }
.svc-tile:hover::after, .svc-tile:focus-within::after { transform: scaleX(1); }

/* CTA tile */
.svc-tile--cta { background: var(--accent); color: var(--ink); min-height: 240px; }
.svc-tile--cta::before { display: none; }
.svc-tile--cta::after { background: var(--ink); }
.svc-tile--cta .svc-tile__num { background: var(--ink); color: var(--accent); }
.svc-tile--cta h3, .svc-tile--cta p { color: var(--ink); }
.svc-tile--cta .svc-tile__go { background: var(--ink); color: var(--accent); }
.svc-tile--cta:focus-within { outline-color: var(--ink); }

@media (max-width: 639px) { .svc-tile { min-height: 250px; } .svc-tile--cta { min-height: 0; } }
/* Tablet: two columns */
@media (min-width: 640px) {
  .svc-tiles { grid-template-columns: 1fr 1fr; }
  .svc-tiles > :first-child { grid-column: 1 / -1; min-height: 360px; }
  .svc-tiles--home > .svc-tile--cta { grid-column: 1 / -1; }
}
/* Desktop home: asymmetric bento
   [ Exterior (tall) ][ Interior (wide)   ]
   [ Exterior (tall) ][ Solar ][ Screens  ]
   [ Mesh (wide)             ][ CTA      ] */
@media (min-width: 1000px) {
  .svc-tiles--home { grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 320px 320px 280px; }
  .svc-tiles--home > :nth-child(1) { grid-column: 1; grid-row: 1 / span 2; min-height: 0; }
  .svc-tiles--home > :nth-child(2) { grid-column: 2 / span 2; grid-row: 1; }
  .svc-tiles--home > :nth-child(3) { grid-column: 2; grid-row: 2; }
  .svc-tiles--home > :nth-child(4) { grid-column: 3; grid-row: 2; }
  .svc-tiles--home > :nth-child(5) { grid-column: 1 / span 2; grid-row: 3; }
  .svc-tiles--home > :nth-child(6) { grid-column: 3; grid-row: 3; min-height: 0; }
  .svc-tiles--home .svc-tile { min-height: 0; }
  .svc-tiles--home > :nth-child(1) .svc-tile__body { padding: 2rem; }
  .svc-tiles--home > :nth-child(1) h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); }
  /* Trio (city pages): one tall tile + two stacked */
  .svc-tiles--trio { grid-template-columns: 1.15fr 1fr; grid-template-rows: 270px 270px; }
  .svc-tiles--trio > :first-child { grid-column: 1; grid-row: 1 / span 2; min-height: 0; }
  .svc-tiles--trio .svc-tile { min-height: 0; }
  .svc-tiles--trio .svc-tile p { font-size: 0.92rem; }
}

/* Section header beside the tiles */
.svc-head__aside { max-width: 27rem; }
.svc-head__aside .lead { margin-bottom: 0.75rem; }

/* Owners story */
.owners { position: relative; }
.owners__photo { position: relative; }
.owners__photo .img-frame { aspect-ratio: 3 / 4; }
.owners__quote {
  background: var(--ink); color: var(--white); padding: 1.6rem 1.75rem; border-left: 4px solid var(--accent);
  margin: -3rem 1rem 0 auto; position: relative; max-width: 360px; box-shadow: var(--shadow);
}
.owners__quote p { color: var(--white); font-size: 1.05rem; font-weight: 500; line-height: 1.5; margin-bottom: 0.6rem; }
.owners__quote cite { font-style: normal; font-size: 0.85rem; color: var(--accent); font-weight: 700; }
@media (min-width: 900px) { .owners__quote { position: absolute; right: -2.5rem; bottom: 2.5rem; margin: 0; } }
.fact-list { list-style: none; padding: 0; margin: var(--space-5) 0 var(--space-6); display: grid; gap: 0.9rem; }
.fact-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.75rem; align-items: start; }
.fact-list svg { width: 1.4rem; height: 1.4rem; color: var(--primary); margin-top: 0.15rem; }
.bg-ink .fact-list svg { color: var(--accent); }

/* Proof mosaic */
.curve-top { position: relative; }
.curve-top > .divider { position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(36px, 6vw, 90px); width: 100%; margin-bottom: -1px; }
.mosaic { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
.mosaic figure { margin: 0; position: relative; overflow: hidden; background: var(--ink-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mosaic figure:hover img { transform: scale(1.03); }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem 0.85rem; font-size: 0.85rem; font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(6, 42, 56, 0.92)); color: var(--white);
}
.mosaic .m-tall { grid-row: span 2; }
.mosaic figure { aspect-ratio: 3 / 4; }
.mosaic .m-tall { aspect-ratio: auto; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: 1.2fr 1fr 1fr; grid-auto-rows: 300px; }
  .mosaic figure { aspect-ratio: auto; }
  .mosaic .m-wide { grid-column: span 2; }
}

/* Steps */
.steps { list-style: none; margin: var(--space-7) 0 0; padding: 0; display: grid; gap: var(--space-6); counter-reset: step; position: relative; }
.steps li { position: relative; padding-top: 3.75rem; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 1.15rem;
  background: var(--ink); color: var(--accent); transform: skewX(-12deg); z-index: 1;
}
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--steel); margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
  .steps::before { content: ""; position: absolute; top: 1.35rem; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--ink), var(--accent)); }
}

/* Reviews */
/* Reviews as a window: navy frame + glass panes + sill */
.review-window {
  display: grid; gap: 10px; padding: 10px; background: var(--ink);
  border-radius: var(--radius) var(--radius) 0 0; grid-template-columns: 1fr;
}
.pane {
  position: relative; overflow: hidden; margin: 0; padding: clamp(1.5rem, 3vw, 2.25rem);
  background: linear-gradient(160deg, #FFFFFF 0%, #F1F8FA 60%, #E3F0F4 100%);
  display: flex; flex-direction: column;
}
/* Glass glare: two thin diagonal light streaks in the top-right corner */
.pane::before {
  content: ""; position: absolute; top: -40%; right: -10%; width: 55%; height: 180%; pointer-events: none;
  background: linear-gradient(105deg, transparent 0 40%, rgba(255, 255, 255, 0.95) 40% 46%, transparent 46% 54%, rgba(255, 255, 255, 0.8) 54% 56%, transparent 56%);
  transform: rotate(8deg); opacity: 0.9;
}
.pane::after { /* faint cyan tint at the glare edge */
  content: ""; position: absolute; top: 0; right: 0; width: 40%; height: 100%; pointer-events: none;
  background: linear-gradient(115deg, transparent 60%, rgba(0, 223, 253, 0.08));
}
.pane > * { position: relative; z-index: 1; }
.pane blockquote { margin: 0 0 1rem; flex: 1; }
.pane p { margin: 0; color: var(--ink); line-height: 1.6; }
.pane .review-source { margin-top: auto; }
.pane--feature p { font-family: var(--font-display); font-stretch: 100%; font-weight: 600; font-size: clamp(1.2rem, 1rem + 0.9vw, 1.65rem); line-height: 1.4; letter-spacing: -0.01em; }
.pane--photo { padding: 0; min-height: 300px; background: var(--ink-2); }
.pane--photo::before, .pane--photo::after { display: none; }
.pane--photo picture { position: absolute !important; inset: 0; z-index: 0 !important; }
.pane--photo img { width: 100%; height: 100%; object-fit: cover; }
.review-sill {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem;
  margin: 0 -6px; padding: 1rem 1.5rem; background: var(--ink-2); color: var(--white);
  border-top: 4px solid var(--accent); box-shadow: 0 18px 30px -18px rgba(6, 42, 56, 0.6);
}
.review-sill__stat { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); }
.review-sill__stat strong { font-family: var(--font-display); font-stretch: 125%; font-size: 1.15rem; color: var(--white); }
.review-sill svg { width: 1.1rem; height: 1.1rem; color: var(--accent); flex: none; }
.review-sill a { margin-left: auto; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; color: var(--white); font-weight: 700; text-decoration: none; }
.review-sill a:hover { color: var(--accent); }
.review-sill a:focus-visible { outline-color: var(--accent); }
@media (min-width: 640px) and (max-width: 899px) {
  .review-window { grid-template-columns: 1fr 1fr; }
  .pane--feature, .pane--photo, .pane--wide { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .review-window { grid-template-columns: 1fr 1fr 0.8fr; }
  .pane--feature { grid-column: 1 / 3; grid-row: 1; }
  .pane--photo { grid-column: 3; grid-row: 1 / 4; min-height: 0; }
  .pane--wide { grid-column: 1 / 3; }
  .review-sill { margin: 0 -14px; padding: 1.1rem 2rem; }
}
@media (max-width: 639px) { .review-sill a { margin-left: 0; } }

.stars { display: flex; gap: 2px; color: #E8A317; margin-bottom: var(--space-3); }
.stars svg { width: 18px; height: 18px; }
.review-source { font-weight: 700; font-size: 0.98rem; }
.review-source span { font-weight: 500; color: var(--steel); }
.review-card { border-left: 3px solid var(--primary); padding: 0.25rem 0 0.25rem 1.25rem; margin: 0; }
.review-card blockquote { margin: 0 0 0.6rem; }
.review-card p { margin: 0; color: var(--ink); }
.reviews-grid { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .reviews-grid { grid-template-columns: 1fr 1fr; gap: var(--space-7) var(--space-8); } }
.reviews-grid .review-card { border-left-width: 4px; padding-left: 1.75rem; }
.reviews-grid .review-card p { font-size: 1.1rem; line-height: 1.6; }

/* Areas band */
.areas { clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--section) + var(--slant)); }
.areas-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.25); }
.areas-list li { border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.areas-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; min-height: 60px; padding: 0.75rem 0.25rem;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
  text-decoration: none; color: var(--white);
}
.areas-list a::after { content: "→"; color: var(--accent); transition: transform 0.2s ease; }
.areas-list a:hover { color: var(--accent); }
.areas-list a:hover::after { transform: translateX(4px); }
@media (min-width: 640px) { .areas-list { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; } }
.areas-list--light { border-color: var(--line); }
.areas-list--light li { border-color: var(--line); }
.areas-list--light a { color: var(--ink); }
.areas-list--light a::after { color: var(--primary); }
.areas-list--light a:hover { color: var(--primary); }

/* FAQ accordion */
.accordion { border-top: 2px solid var(--ink); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item h3 { margin: 0; font-size: inherit; }
.accordion-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left;
  padding: 1.25rem 0.25rem; min-height: 64px; background: none; border: 0; cursor: pointer; color: var(--ink);
  font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; line-height: 1.35;
}
.accordion-trigger:hover { color: var(--primary); }
.accordion-icon { width: 32px; height: 32px; flex: none; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.accordion-icon::before, .accordion-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.2s ease; }
.accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.accordion-panel { padding: 0 0.25rem 1.4rem; color: var(--steel); max-width: 48rem; }
.accordion-panel[hidden] { display: none; }
.accordion-panel p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: var(--space-8); }
.faq-group > h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }

/* Closing CTA */
.cta-close { position: relative; color: var(--white); overflow: hidden; background: var(--ink); }
.cta-close__bg { position: absolute; inset: 0; }
.cta-close__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.cta-close::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(6, 42, 56, 0.96) 35%, rgba(6, 42, 56, 0.6)); }
.cta-close .container { position: relative; z-index: 2; }
.cta-close h2 { font-size: var(--fs-h1); max-width: 14ch; }
.cta-close p { max-width: 34rem; color: rgba(255, 255, 255, 0.88); }
.cta-close .trust-row { margin-top: var(--space-6); }

/* Inline CTA strip (inner pages) */
.cta-strip {
  display: grid; gap: var(--space-5); align-items: center; padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--ink); color: var(--white); border-radius: var(--radius); position: relative; overflow: hidden;
}
.cta-strip::after { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 160px; background: var(--primary); transform: skewX(-12deg); opacity: 0.55; }
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); margin-bottom: 0.4rem; }
.cta-strip p { margin: 0; color: rgba(255, 255, 255, 0.85); }
@media (min-width: 900px) { .cta-strip { grid-template-columns: 1fr auto; } }

/* Prose (service pages, blog) */
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem); margin-top: var(--space-7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-6); }
.prose ul:not([class]) li, .prose ol li { margin-bottom: 0.45rem; }
.prose ul { list-style: none; padding: 0; }
.prose ul:not([class]) li { position: relative; padding-left: 1.5rem; }
.prose ul:not([class]) li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 0.8rem; height: 3px; background: var(--primary); transform: skewX(-20deg); }
.prose .svc-tile h3, .prose .local-note h3 { margin-top: 0; }
.prose .svc-tiles { margin: var(--space-5) 0 var(--space-6); }
.prose .compare ul li { padding-left: 1.25rem; }
.prose .compare > div:last-child ul li::before { background: var(--accent); }
.prose .accordion { margin-bottom: var(--space-5); }
.prose figure { margin: var(--space-6) 0; }
.prose figure .img-frame { aspect-ratio: 4 / 3; }

/* Content + sidebar */
.with-aside { display: grid; gap: var(--space-7); }
@media (min-width: 1000px) { .with-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-8); } }
.aside-stack { display: grid; gap: var(--space-5); align-content: start; }
@media (min-width: 1000px) { .aside-stack { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.aside-card { background: var(--mist); padding: 1.75rem; border-radius: var(--radius); }
.aside-card--ink { background: var(--ink); color: var(--white); }
.aside-card--ink p { color: rgba(255, 255, 255, 0.86); }
.aside-card h2 { font-size: 1.3rem; }
.aside-card .btn { width: 100%; }
.aside-card .btn + .btn { margin-top: 0.75rem; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links li { border-bottom: 1px solid var(--line); }
.aside-links a { display: flex; min-height: 44px; align-items: center; justify-content: space-between; text-decoration: none; font-weight: 600; color: var(--ink); }
.aside-links a::after { content: "→"; color: var(--primary); }
.aside-links a:hover, .aside-links a[aria-current="page"] { color: var(--primary); }

/* Feature rows (services overview) */
.svc-row { display: grid; gap: var(--space-6); align-items: center; padding-block: var(--space-8); border-bottom: 1px solid var(--line); }
.svc-row:first-child { padding-top: 0; }
.svc-row:last-child { border-bottom: 0; }
.svc-row__num { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; color: var(--primary); font-size: 0.95rem; letter-spacing: 0.08em; }
.svc-row .img-frame { aspect-ratio: 5 / 4; }
.svc-row ul { columns: 2; column-gap: 1.5rem; padding-left: 1.1rem; color: var(--steel); }
.svc-row ul li { break-inside: avoid; margin-bottom: 0.3rem; }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-8); }
  .svc-row:nth-child(even) .svc-row__media { order: 2; }
}
@media (max-width: 520px) { .svc-row ul { columns: 1; } }

/* Graphic panel (no real photo available) */
.graphic-panel { position: relative; background: var(--ink); overflow: hidden; display: grid; place-items: center; color: var(--white); }
.graphic-panel svg { width: 100%; height: 100%; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: 0.7rem; }
.checklist li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.7rem; }
.checklist svg { width: 1.3rem; height: 1.3rem; color: var(--primary); margin-top: 0.2rem; }
.bg-ink .checklist svg { color: var(--accent); }

/* Two-column "problem / outcome" */
.compare { display: grid; gap: var(--space-5); margin: var(--space-6) 0; }
@media (min-width: 700px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare > div { padding: 1.5rem; border-radius: var(--radius); }
.compare > div:first-child { background: var(--mist); }
.compare > div:last-child { background: var(--ink); color: var(--white); }
.compare > div:last-child li { color: rgba(255, 255, 255, 0.9); }
.compare h3 { margin-top: 0; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; font-stretch: 112%; }
.compare ul { margin: 0; }

/* Gallery */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-6); }
.filter-bar button {
  min-height: 44px; padding: 0.5rem 1.1rem; border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase;
  cursor: pointer; border-radius: var(--radius);
}
.filter-bar button[aria-pressed="true"] { background: var(--ink); color: var(--accent); }
.filter-bar button:hover { border-color: var(--primary); }
.gallery { columns: 1; column-gap: 1rem; }
@media (min-width: 600px) { .gallery { columns: 2; } }
@media (min-width: 1000px) { .gallery { columns: 3; } }
.gallery-item { break-inside: avoid; margin: 0 0 1rem; }
.gallery-item[hidden] { display: none; }
.gallery-item button { display: block; width: 100%; padding: 0; border: 0; background: var(--ink); cursor: zoom-in; position: relative; overflow: hidden; }
.gallery-item img { width: 100%; height: auto; transition: transform 0.5s ease, opacity 0.3s ease; }
.gallery-item button:hover img { transform: scale(1.03); opacity: 0.92; }
.gallery-item figcaption { font-size: 0.9rem; color: var(--steel); padding: 0.55rem 0.1rem 0; }
.gallery-status { font-size: 0.9rem; color: var(--steel); margin-bottom: var(--space-4); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(3, 20, 27, 0.94); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 4.5rem 1rem 1rem; }
.lightbox__figure { margin: 0; display: grid; place-items: center; min-height: 0; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 10rem); width: auto; height: auto; object-fit: contain; }
.lightbox__caption { color: var(--white); text-align: center; padding: 0.85rem 3.5rem 0; font-size: 0.95rem; }
.lightbox button {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.45);
  background: rgba(6, 42, 56, 0.8); color: var(--white); cursor: pointer; display: grid; place-items: center;
}
.lightbox button:hover { border-color: var(--accent); color: var(--accent); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Forms */
.form-card { background: var(--white); color: var(--ink); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; color: var(--ink); }
.field .req { color: var(--error); }
.field .hint { display: block; font-weight: 400; font-size: 0.85rem; color: var(--steel); }
.field .hint--inline { display: inline; margin-left: 0.3rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.9rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 2px solid #9FB4BD; border-radius: var(--radius);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--primary); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.88rem; font-weight: 600; margin-top: 0.35rem; display: flex; gap: 0.35rem; }
.field-error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.check-grid { display: grid; gap: 0.5rem; }
@media (min-width: 640px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 0.6rem; align-items: center; min-height: 44px; padding: 0.35rem 0.75rem; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 500; }
.field .check { display: flex; margin-bottom: 0; font-weight: 500; font-size: 0.95rem; line-height: 1.3; }
.check input { width: 20px; height: 20px; accent-color: var(--primary); flex: none; }
.form-note { font-size: 0.88rem; color: var(--steel); margin: 0; }
.form-status { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius); font-weight: 600; }
.form-status:empty { display: none; }
.form-status--warn { background: var(--confirm-bg); color: #4A3000; border-left: 4px solid var(--confirm-line); }
.form-status--error { background: #FDECEA; color: var(--error); border-left: 4px solid var(--error); }

/* Contact methods */
.contact-methods { display: grid; gap: 1rem; margin: var(--space-5) 0; }
.contact-method {
  display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius);
  color: var(--white); text-decoration: none; transition: border-color 0.2s ease, background-color 0.2s ease;
}
.contact-method:hover { border-color: var(--accent); background: rgba(255, 255, 255, 0.1); color: var(--white); }
.contact-method .icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--accent); color: var(--ink); transform: skewX(-10deg); }
.contact-method .icon svg { width: 24px; height: 24px; transform: skewX(10deg); }
.contact-method small { display: block; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.12em; color: var(--accent); font-weight: 700; }
.contact-method strong { font-family: var(--font-display); font-stretch: 112%; font-size: clamp(1.05rem, 1rem + 0.5vw, 1.35rem); word-break: break-word; }

/* Social */
.social { display: flex; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; color: var(--white); }
.social a:hover { border-color: var(--accent); color: var(--accent); }
.social svg { width: 18px; height: 18px; }
.site-footer .social a, .page-hero .social a { display: grid; place-items: center; min-height: 0; padding: 0; }
.social--dark a { border-color: var(--line); color: var(--ink); }
.social--dark a:hover { border-color: var(--primary); color: var(--primary); }

/* Blog */
.post-list { display: grid; gap: var(--space-6); }
.post-card { display: grid; gap: var(--space-5); padding-bottom: var(--space-6); border-bottom: 1px solid var(--line); align-items: center; }
.post-card .img-frame { aspect-ratio: 16 / 10; }
@media (min-width: 800px) { .post-card { grid-template-columns: 0.8fr 1.2fr; gap: var(--space-7); } }
.post-card h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--primary); }
.post-meta { font-size: 0.88rem; color: var(--steel); display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: var(--space-3); }
.page-hero .post-meta { color: rgba(255, 255, 255, 0.75); }
.draft-badge { display: inline-block; background: var(--confirm-bg); color: #5C3B00; border: 1px dashed var(--confirm-line); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 3px; }

/* Area page bits */
.local-notes { display: grid; gap: var(--space-5); margin: var(--space-6) 0; }
@media (min-width: 700px) { .local-notes { grid-template-columns: 1fr 1fr; } }
.local-note { border-top: 3px solid var(--primary); padding-top: 1rem; }
.local-note h3 { font-size: 1.1rem; }
.local-note p { color: var(--steel); margin: 0; }
.chip-links { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.chip-links a { display: inline-flex; min-height: 44px; align-items: center; padding: 0.4rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; color: var(--ink); background: var(--white); }
.chip-links a:hover { border-color: var(--primary); color: var(--primary); }
.bg-ink .chip-links a { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.bg-ink .chip-links a:hover { border-color: var(--accent); color: var(--accent); }

/* Values (about) */
.values { display: grid; gap: 0; border-top: 2px solid var(--white); }
.value { display: grid; gap: 0.5rem 2rem; padding: 1.75rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.value h3 { margin: 0; color: var(--accent); }
.value p { margin: 0; }
@media (min-width: 800px) { .value { grid-template-columns: 0.9fr 1.6fr; } }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound__code { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 2px var(--accent); }

/* 7. Footer -------------------------------------------------------------- */
.site-footer { background: #041F2A; color: rgba(255, 255, 255, 0.85); padding: var(--space-8) 0 var(--space-5); font-size: 0.98rem; }
.footer-grid { display: grid; gap: var(--space-7); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { width: 190px; margin-bottom: var(--space-5); }
.footer-brand p { max-width: 22rem; }
.site-footer h2 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-stretch: 112%; margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.15rem; }
.site-footer a { color: rgba(255, 255, 255, 0.88); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-phone { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.5rem; color: var(--white) !important; }
.footer-bottom { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); }
.footer-bottom a { min-height: 0; color: rgba(255, 255, 255, 0.75); }
.footer-bottom { align-items: center; }
.footer-bottom .credit { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer-bottom .credit a { display: inline-flex; border-radius: 4px; }
.footer-bottom .credit img { width: auto; height: 34px; opacity: 0.85; transition: opacity 0.2s ease; }
.footer-bottom .credit a:hover img, .footer-bottom .credit a:focus-visible img { opacity: 1; }

/* Membership plans (services page) */
.plans { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.plan { display: flex; flex-direction: column; padding: 2rem 1.75rem; border-radius: var(--radius); border-top: 4px solid var(--accent); box-shadow: var(--shadow); }
.plan h3 { margin: 0 0 0.35rem; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.06em; font-stretch: 112%; }
.plan__freq { margin: 0 0 var(--space-5); font-size: 0.92rem; font-weight: 600; }
.plan__perks { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; gap: 0.85rem; flex: 1; align-content: start; }
.plan__perks li { display: grid; grid-template-columns: 1.75rem 1fr; gap: 0.75rem; align-items: center; font-weight: 600; }
.plan__perks svg { width: 1.75rem; height: 1.75rem; padding: 0.3rem; border-radius: 50%; }
.plan__perks .is-off { opacity: 0.6; }
.plan .btn { width: 100%; justify-content: center; }
.plan--ink { background: var(--ink); color: var(--white); }
.plan--primary { background: var(--primary); color: var(--white); }
.plan--ink h3, .plan--primary h3 { color: var(--white); }
.plan--ink .plan__freq { color: var(--accent); }
.plan--primary .plan__freq { color: rgba(255, 255, 255, 0.9); }
.plan--ink .is-on svg, .plan--primary .is-on svg { background: var(--accent); color: var(--ink); }
.plan--mist { background: var(--mist); color: var(--ink); border-top-color: var(--line); box-shadow: none; }
.plan--mist .plan__freq { color: var(--steel); }
.plan--mist .is-off svg { border: 2px solid var(--steel); color: var(--steel); padding: 0.25rem; }
.plan--primary :focus-visible, .plan--ink :focus-visible { outline-color: var(--accent); }
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
}

/* 8. Utilities ----------------------------------------------------------- */
.section-head { max-width: 46rem; margin-bottom: var(--space-7); }
.section-head--split { max-width: none; display: grid; gap: var(--space-5); align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1fr auto; } }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--space-6); } .mt-7 { margin-top: var(--space-7); }
.text-steel { color: var(--steel); }
.center { text-align: center; }

/* Reveal (progressive enhancement; disabled for reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .mobile-bar, .site-footer, .cta-close, .cta-strip { display: none !important; }
  .page-hero, .hero { clip-path: none; background: none; color: #000; }
}
