/* ==========================================================================
   Ohmega Electric — styles.css
   Palette: ink / warm stone / copper. Type: Newsreader (display) + Manrope.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/newsreader-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/newsreader-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --ink: #0e1419;          /* primary dark */
  --ink-2: #172029;        /* raised dark panel */
  --ink-line: rgba(255,255,255,.14);
  --stone: #f5f2ec;        /* page background */
  --stone-2: #ebe5da;      /* alternate band */
  --paper: #ffffff;
  --text: #1c2228;
  --muted: #545b62;        /* 6.9:1 on stone */
  --line: #d8d0c2;
  --copper: #c07a45;       /* accent on dark: 5.5:1 on ink */
  --copper-deep: #8a4f22;  /* accent on light: 5.9:1 on stone */
  --on-dark: #f3efe8;
  --on-dark-muted: #b9bec3;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 2px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--stone); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
p { margin: 0 0 1.1em; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--stone-2); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--ink); color: var(--on-dark); padding: 10px 16px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-deep); margin: 0 0 1.4rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--copper); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 40em; }
.section--dark .lede { color: var(--on-dark-muted); }

/* ---------- Buttons (explicit background/cursor/font on base — see README) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--radius); background: none; cursor: pointer; font-family: var(--sans); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.btn--copper { background: var(--copper-deep); color: #fff; }
.btn--copper:hover { background: #713f19; }
.on-dark .btn--copper, .hero .btn--copper, .page-hero .btn--copper { background: var(--copper); color: var(--ink); }
.on-dark .btn--copper:hover, .hero .btn--copper:hover, .page-hero .btn--copper:hover { background: #d48d58; }
.btn--ghost { color: var(--text); border-color: var(--text); background: transparent; }
.btn--ghost:hover { background: var(--text); color: var(--stone); }
.on-dark .btn--ghost, .hero .btn--ghost, .page-hero .btn--ghost { color: var(--on-dark); border-color: rgba(255,255,255,.55); background: transparent; }
.on-dark .btn--ghost:hover, .hero .btn--ghost:hover, .page-hero .btn--ghost:hover { background: var(--on-dark); color: var(--ink); }
.text-link { font-weight: 700; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--copper-deep); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-link:hover { color: var(--text); }
.section--dark .text-link { color: var(--copper); }
.section--dark .text-link:hover { color: var(--on-dark); }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: .8125rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: var(--on-dark); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--copper); }
.topbar__creds { letter-spacing: .06em; }
@media (max-width: 720px) { .topbar__creds { display: none; } .topbar .wrap { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(245,242,236,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 64px; width: auto; }
.brand__sdvosb { height: 48px !important; padding-left: 14px; border-left: 1px solid var(--line); }

.nav { display: flex; align-items: center; gap: 26px; white-space: nowrap; }
@media (max-width: 1400px) and (min-width: 1181px) { .nav__phone { display: none !important; } }
.nav > a, .nav-item__trigger { font-family: var(--sans); font-size: .875rem; font-weight: 600; color: var(--text); text-decoration: none; background: none; border: 0; padding: 8px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav-item__trigger:hover { color: var(--copper-deep); }
.nav-item { position: relative; }
.nav-item__trigger svg { width: 10px; height: 10px; }
.nav-item__menu { position: absolute; top: calc(100% + 14px); left: -24px; min-width: 300px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(14,20,25,.3); padding: 12px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-item__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item__menu a { display: block; padding: 9px 24px; font-size: .9375rem; text-decoration: none; color: var(--text); }
.nav-item__menu a:hover, .nav-item__menu a:focus-visible { background: var(--stone); color: var(--copper-deep); }
.nav-item:hover .nav-item__menu, .nav-item:focus-within .nav-item__menu { opacity: 1; visibility: visible; transform: none; }
/* declared after :focus-within so Escape can close a menu the trigger's focus holds open */
.nav-item.is-dismissed .nav-item__menu { opacity: 0; visibility: hidden; transform: translateY(6px); }
.nav__phone { font-weight: 700 !important; }
.nav .btn { min-height: 46px; padding: 0 22px; }

.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border: 1px solid var(--text); background: transparent; color: var(--text); font-family: var(--sans); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; border-radius: var(--radius); }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; } .menu-toggle__bars::after { top: 6px; }

@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .brand img { height: 54px; }
  .brand__sdvosb { height: 34px !important; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--stone); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 28px; max-height: calc(100vh - 124px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav > a, .nav-item__trigger { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; width: 100%; justify-content: space-between; }
  .nav-item__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 4px 0 8px 12px; min-width: 0; }
  .nav-item.is-dismissed .nav-item__menu { opacity: 1; visibility: visible; transform: none; }
  .nav-item__menu a { padding: 8px 0; }
  .nav .btn { margin-top: 20px; }
}
@media (max-width: 480px) { .brand__sdvosb { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,20,25,.94) 0%, rgba(14,20,25,.82) 42%, rgba(14,20,25,.35) 100%), linear-gradient(0deg, rgba(14,20,25,.6) 0%, rgba(14,20,25,0) 40%); }
.hero .wrap { position: relative; min-height: min(86vh, 820px); display: flex; flex-direction: column; justify-content: center; padding-block: 120px 96px; }
.hero h1 { max-width: 13em; margin-bottom: .4em; }
.hero h1 em { color: var(--copper); }
.hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34em; color: var(--on-dark-muted); margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Credential strip ---------- */
.creds { background: var(--ink-2); color: var(--on-dark); border-top: 1px solid var(--ink-line); }
.creds ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.creds li { padding: 34px 28px; border-left: 1px solid var(--ink-line); }
.creds li:first-child { border-left: 0; padding-left: 0; }
.creds strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1.1; color: var(--copper); margin-bottom: 6px; }
.creds span { font-size: .875rem; color: var(--on-dark-muted); line-height: 1.5; display: block; }
@media (max-width: 900px) { .creds ul { grid-template-columns: 1fr 1fr; } .creds li { border-left: 0; border-top: 1px solid var(--ink-line); padding: 26px 0; } .creds li:nth-child(-n+2) { border-top: 0; } .creds li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--ink-line); } }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.intro h2 { margin: 0; }
.intro__body p:first-child { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.5; color: var(--text); }
.intro__body p { color: var(--muted); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Residential / Commercial split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.split__panel { background: var(--paper); display: flex; flex-direction: column; }
.split__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone-2); }
.split__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.split__panel:hover .split__img img { transform: scale(1.03); }
.split__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; flex: 1; }
.split__body h3 { font-size: clamp(1.75rem, 2.8vw, 2.25rem); }
.split__body p { color: var(--muted); }
.split__list { list-style: none; margin: 4px 0 32px; padding: 0; border-top: 1px solid var(--line); }
.split__list li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: .975rem; }
.split__list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 1px; background: var(--copper-deep); }
.split__body .text-link { margin-top: auto; align-self: flex-start; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin: 0; max-width: 14em; }
.section-head .lede { margin: 0; max-width: 30em; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .section-head { flex-direction: column; align-items: start; } }

/* ---------- Services (bordered cards) ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.service:hover { border-color: var(--copper-deep); box-shadow: 0 20px 40px -28px rgba(14,20,25,.45); }
.service__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone-2); }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.service__body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.service__body h3 { font-size: 1.5rem; margin-bottom: .4em; }
.service__body p { color: var(--muted); font-size: .975rem; margin-bottom: 1.4em; }
.service__more { margin-top: auto; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-deep); }
.service__more::after { content: " \2192"; }
@media (max-width: 1000px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

.emergency { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--ink); color: var(--on-dark); padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 52px); }
.emergency h3 { margin: 0 0 6px; }
.emergency p { margin: 0; color: var(--on-dark-muted); max-width: 40em; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.founder__mark { border: 1px solid var(--ink-line); padding: clamp(32px, 5vw, 56px); text-align: center; background: var(--ink-2); }
.founder__mark img { width: min(220px, 70%); margin: 0 auto 28px; }
.founder__mark p { margin: 0; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); line-height: 1.8; }
.founder__statement { margin: 0 0 1.4em; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.35; color: var(--on-dark); }
.founder__timeline { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink-line); }
.founder__timeline li { padding: 20px 20px 0 0; font-size: .9rem; color: var(--on-dark-muted); line-height: 1.5; }
.founder__timeline strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--copper); margin-bottom: 4px; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder__timeline { grid-template-columns: 1fr; } }

/* ---------- Clients ---------- */
.clients { text-align: center; }
.clients h2 { max-width: 18em; margin-inline: auto; }
.clients .lede { margin-inline: auto; }
.clients__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); text-align: left; }
.clients__group { background: var(--stone); padding: clamp(28px, 4vw, 44px); }
.clients__group h3 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-deep); margin-bottom: 18px; }
.clients__group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 30px; }
.clients__group li { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.4; }
@media (max-width: 760px) { .clients__groups { grid-template-columns: 1fr; } }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 96px); }
.areas__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
.areas__col h3 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--ink-line); }
.areas__col ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.areas__col li { break-inside: avoid; }
.areas__col a { display: inline-block; padding: 5px 0; color: var(--on-dark); text-decoration: none; font-family: var(--serif); font-size: 1.2rem; }
.areas__col a:hover { color: var(--copper); text-decoration: underline; text-underline-offset: 4px; }
.areas__col--feature { grid-column: 1 / -1; }
.areas__col--feature ul { columns: 3; }
.areas__col--feature a { font-size: 1.5rem; }
@media (max-width: 960px) { .areas { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .areas__cols { grid-template-columns: 1fr; } .areas__col--feature ul { columns: 2; } }

/* ---------- Licenses ---------- */
.licenses { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.licenses div { padding: 28px 24px 28px 0; }
.licenses div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.licenses dt { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.licenses dd { margin: 0; font-family: var(--serif); font-size: 1.5rem; }
@media (max-width: 860px) { .licenses { grid-template-columns: 1fr 1fr; } .licenses div:nth-child(3) { padding-left: 0; border-left: 0; } .licenses div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Consultation form ---------- */
.consult { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); }
.consult__details { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.consult__details li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 16px; font-size: .975rem; }
.consult__details span { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.consult__details a { text-decoration: none; font-weight: 600; }
.consult__details a:hover { color: var(--copper-deep); }
.form { background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; color: var(--text); }
.field label .req { color: var(--copper-deep); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--text); background: var(--stone); border: 1px solid #a8a092; border-radius: var(--radius); padding: 13px 14px; min-height: 50px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--copper-deep); outline-offset: 1px; border-color: var(--copper-deep); background: var(--paper); }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form__note { grid-column: 1 / -1; font-size: .8125rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .consult { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: .9375rem; padding-top: clamp(64px, 8vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 4fr 3fr 3fr 3fr; gap: 48px; padding-bottom: 56px; }
.site-footer h2 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand img { height: 72px; width: auto; margin-bottom: 20px; background: var(--stone); padding: 8px 12px; }
.footer-brand p { max-width: 24em; }
.footer-social { display: flex; gap: 18px; margin-top: 18px; }
.footer-bottom { border-top: 1px solid var(--ink-line); padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .8125rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-bottom li { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,20,25,.95) 0%, rgba(14,20,25,.85) 45%, rgba(14,20,25,.45) 100%); }
.page-hero--plain { background: radial-gradient(ellipse at 85% 0%, #1f2a35 0%, var(--ink) 60%); }
.page-hero--plain::after { content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border: 1px solid rgba(192,122,69,.28); border-radius: 50%; box-shadow: 0 0 0 60px rgba(192,122,69,.04), 0 0 0 61px rgba(192,122,69,.16), 0 0 0 140px rgba(192,122,69,.025), 0 0 0 141px rgba(192,122,69,.1); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; padding-block: clamp(80px, 11vw, 140px) clamp(64px, 8vw, 104px); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 16em; margin-bottom: .45em; }
.page-hero .eyebrow { color: var(--copper); }
.page-hero__lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--on-dark-muted); max-width: 38em; margin-bottom: 2rem; }
.page-hero .hero__actions { margin-top: 8px; }
.breadcrumb { font-size: .8125rem; color: var(--on-dark-muted); margin-bottom: 28px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--copper); }

/* ---------- Prose ---------- */
.prose { max-width: 46rem; }
.prose > p:first-child.prose__lead, .prose__lead { font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.5; color: var(--text); }
.prose p, .prose li { color: var(--muted); }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--copper-deep); }
.section--dark .prose p, .section--dark .prose li { color: var(--on-dark-muted); }
.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.two-col h2 { margin: 0; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Offer cards (service detail) ---------- */
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.offer { background: var(--paper); padding: clamp(28px, 3.5vw, 44px); }
.offer h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.offer p { color: var(--muted); margin-bottom: .9em; }
.offer p:last-child { margin-bottom: 0; }
.offers--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .offers--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .offers, .offers--3 { grid-template-columns: 1fr; } }

.rule-list { list-style: none; margin: 0 0 1.2em; padding: 0; border-top: 1px solid var(--line); }
.rule-list li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); position: relative; color: var(--text); font-size: .975rem; line-height: 1.55; }
.rule-list li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 8px; height: 1px; background: var(--copper-deep); }
.section--dark .rule-list, .on-dark .rule-list { border-color: var(--ink-line); }
.section--dark .rule-list li { color: var(--on-dark); border-color: var(--ink-line); }
.section--dark .rule-list li::before { background: var(--copper); }
.rule-list--cols { columns: 2; column-gap: 40px; border-top: 0; }
.rule-list--cols li { break-inside: avoid; }
@media (max-width: 680px) { .rule-list--cols { columns: 1; } }

/* ---------- Why list ---------- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--ink-line); margin-top: 40px; }
.why > div { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--ink-line); }
.why h3 { font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin-bottom: 10px; }
.why p { color: var(--on-dark-muted); margin: 0; font-size: .975rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink-2); color: var(--on-dark); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(56px, 7vw, 88px); }
.cta-band h2 { margin: 0 0 .3em; max-width: 16em; }
.cta-band p { margin: 0; color: var(--on-dark-muted); max-width: 36em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--copper-deep); border-bottom: 1.5px solid var(--copper-deep); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover { color: var(--copper-deep); }
.faq__a { padding: 0 0 26px; color: var(--muted); max-width: 44rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Area pages ---------- */
.area-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.area-cols > div { background: var(--paper); padding: clamp(28px, 4vw, 52px); }
.area-cols h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.area-cols p { color: var(--muted); }
@media (max-width: 860px) { .area-cols { grid-template-columns: 1fr; } }
.nearby { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.nearby a { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-size: .9375rem; font-weight: 600; }
.nearby a:hover { border-color: var(--copper-deep); color: var(--copper-deep); }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); }
.badge-row span { display: inline-flex; align-items: center; gap: 10px; }
.badge-row span::before { content: ""; width: 6px; height: 6px; background: var(--copper); transform: rotate(45deg); }

/* ---------- Areas hub ---------- */
.area-groups { display: grid; gap: 56px; }
.area-group h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.area-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.area-tile { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 1.35rem; transition: border-color .2s; }
.area-tile::after { content: "\2192"; font-family: var(--sans); font-size: 1rem; color: var(--copper-deep); }
.area-tile:hover { border-color: var(--copper-deep); }

/* ---------- Blog ---------- */
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 160px 1fr auto; gap: 24px; align-items: baseline; padding: 24px 0; text-decoration: none; }
.post-list time { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-list span { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.35; }
.post-list a::after { content: "\2192"; color: var(--copper-deep); }
.post-list a:hover span { color: var(--copper-deep); }
@media (max-width: 640px) { .post-list a { grid-template-columns: 1fr; gap: 6px; } .post-list a::after { display: none; } }

/* ---------- Legal ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-top: 1.8em; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--copper-deep); }
.legal__updated { font-size: .875rem; font-weight: 600; color: var(--muted); }

/* ---------- Thank you / 404 ---------- */
.notice { min-height: 60vh; display: flex; align-items: center; }
.notice .wrap { max-width: 760px; text-align: center; }
.notice .hero__actions { justify-content: center; }
.countdown { margin: 0 0 28px; color: var(--muted); }
.countdown button { margin-left: 8px; }
.btn--link { min-height: 0; padding: 0; border: 0; background: none; color: var(--copper-deep); text-decoration: underline; text-transform: none; letter-spacing: 0; font-size: inherit; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Nav CTA: .nav > a (0,1,1) outranks .btn--copper, so restate the button here */
.nav > a.btn--copper { background: var(--copper-deep); color: #fff; padding: 0 22px; border: 1px solid transparent; justify-content: center; }
.nav > a.btn--copper:hover { background: #713f19; color: #fff; }

/* ---------- Blog posts ---------- */
.post__body { margin-inline: auto; max-width: 46rem; }
.post__body h2 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); }
.post__body h3 { font-size: clamp(1.25rem, 1.9vw, 1.45rem); }
.post__body p, .post__body li { color: var(--text); }
.post__body li { margin-bottom: .4em; }
.post__figure { margin: 0 0 2.4rem; }
.post__figure img { width: 100%; max-height: 520px; object-fit: cover; }
.post-nav { max-width: 46rem; margin: 64px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav__link { display: block; padding: 22px 24px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; }
.post-nav__link span { display: block; font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-deep); margin-bottom: 8px; }
.post-nav__link--next { grid-column: 2; text-align: right; }
.post-nav__link:hover { border-color: var(--copper-deep); }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { grid-column: auto; text-align: left; } }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s; }
.post-card:hover { border-color: var(--copper-deep); }
.post-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone-2); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px 26px 28px; }
.post-card time { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post-card h2 { font-size: 1.35rem; line-height: 1.3; margin: 10px 0 10px; }
.post-card p { font-size: .9375rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Consent banner ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 760px; margin-inline: auto; background: var(--ink); color: var(--on-dark); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 24px 60px -20px rgba(0,0,0,.6); padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.consent__text { margin: 0; flex: 1 1 320px; font-size: .9375rem; line-height: 1.55; color: var(--on-dark); }
.consent__text a { color: var(--copper); font-weight: 600; }
.consent__actions { display: flex; gap: 12px; }
.consent .btn { min-height: 46px; padding: 0 22px; }
/* explicit — the banner is a dark panel; never let the light ghost rule apply here */
.consent .btn--copper { background: var(--copper); color: var(--ink); }
.consent .btn--copper:hover { background: #d48d58; }
.consent .btn--ghost { color: var(--on-dark); border-color: rgba(255,255,255,.6); background: transparent; }
.consent .btn--ghost:hover { background: var(--on-dark); color: var(--ink); }
.footer-consent { background: none; border: 0; padding: 0; color: var(--on-dark); font: inherit; cursor: pointer; text-decoration: none; }
.footer-consent:hover { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Form extras ---------- */
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .cf-turnstile { grid-column: 1 / -1; min-height: 65px; }
