/* Favourite Electricians of Vaughan — site styles
   Design: bold Swiss modular / service utility. A silver page, hairline modular grids,
   one cobalt block per screen at most, lime reserved for the primary action and a single marker.
   Geometry is cut corners (45° chamfers), never rounded. Display type is condensed and set in
   stepped lines; body type is a plain grotesk. */
:root {
  --cobalt: #293A78;
  --cobalt-deep: #1F2D63;
  --cobalt-tint: #DCE2F2;
  --lime: #C7EF65;
  --lime-deep: #B5E24A;
  --silver: #EEF2F7;
  --silver-2: #E3E8F0;
  --white: #FFFFFF;
  --ink: #16203F;
  --ink-2: #4C5675;
  --on-cobalt: rgba(255, 255, 255, 0.84);
  --line: rgba(41, 58, 120, 0.22);
  --line-strong: rgba(41, 58, 120, 0.55);
  --display: "Big Shoulders Display", "Arial Narrow", "DejaVu Sans Condensed", "Helvetica Neue", Arial, sans-serif;
  --text: "Familjen Grotesk", "Inter", "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
  --wrap: 1320px;
  --cut: 10px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::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(--silver);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.on-cobalt :focus-visible, .on-cobalt:focus-visible { outline-color: var(--lime); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: 0.002em; color: var(--cobalt); }
h2 { font-size: clamp(34px, 3.8vw, 52px); line-height: 0.96; }
h3 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); line-height: 1; color: var(--cobalt); }
h4 { font-family: var(--text); font-weight: 700; font-size: 18px; }
.lead { font-size: 19px; line-height: 1.55; max-width: var(--measure); }
.measure { max-width: var(--measure); }
.muted { color: var(--ink-2); }
.small { font-size: 15px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--cobalt); padding: 8px 12px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Wrappers */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.band { padding-block: clamp(52px, 7vw, 100px); }
.band-white { background: var(--white); }
.band-silver { background: var(--silver); }
.band-silver-2 { background: var(--silver-2); }
.on-cobalt { background: var(--cobalt); color: var(--white); color-scheme: dark; }
.on-cobalt h2, .on-cobalt h3, .on-cobalt h4 { color: var(--white); }
.on-cobalt a { color: var(--white); }
.on-cobalt .muted { color: var(--on-cobalt); }

/* Section head: thick cobalt rule, heading left, lead right */
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 48px; align-items: end; border-top: 3px solid var(--cobalt); padding-top: 18px; margin-bottom: clamp(28px, 3vw, 40px); }
.sec-head > * { min-width: 0; }
.sec-head p { margin: 0; max-width: 58ch; }
.sec-head .lead { font-size: 18px; }
.on-cobalt .sec-head { border-top-color: var(--lime); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 2px solid var(--cobalt); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--cobalt); line-height: 1; white-space: nowrap; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 27px; letter-spacing: 0.004em; }
.brand-area { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 8px; font-size: 14px; font-weight: 500; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--cobalt); }
.nav a[aria-current="page"] { border-bottom-color: var(--cobalt); color: var(--cobalt); }
.nav .nav-cta { margin-left: 10px; border-bottom: 0; }
.menu-btn { display: none; background: var(--white); border: 2px solid var(--cobalt); color: var(--cobalt); padding: 9px 14px; min-height: 44px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.site-header .head-cta { display: none; }

/* Buttons: primary is lime with a cut top-left corner; ghost is a cobalt outline */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; min-height: 48px; font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-primary { color: var(--cobalt); border: 0; padding: 15px 24px; background: linear-gradient(135deg, transparent var(--cut), var(--lime) calc(var(--cut) + 0.5px)); }
.btn-primary:hover { background: linear-gradient(135deg, transparent var(--cut), var(--lime-deep) calc(var(--cut) + 0.5px)); }
.on-cobalt .btn-primary, .callout .btn-primary, .site-footer .btn-primary { color: var(--cobalt); }
.btn-ghost { background: transparent; color: var(--cobalt); border-color: var(--cobalt); }
.btn-ghost:hover { background: var(--cobalt); color: var(--white); }
.on-cobalt .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.75); }
.on-cobalt .btn-ghost:hover { background: var(--white); color: var(--cobalt); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero: cobalt block with a cut bottom-left corner, photo offset over its right edge */
.hero { padding: clamp(20px, 3vw, 44px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
.hero-grid > * { min-width: 0; }
.hero-block { grid-column: 1 / span 8; grid-row: 1; align-self: start; color: var(--white); background: linear-gradient(45deg, transparent 44px, var(--cobalt) 44.5px); padding: clamp(36px, 5vw, 72px) 27% clamp(56px, 7vw, 100px) clamp(24px, 4.5vw, 72px); display: flex; flex-direction: column; gap: clamp(20px, 2.5vw, 30px); min-height: 520px; }
.hero-kicker { margin: 0; font-size: 15px; font-weight: 500; color: var(--on-cobalt); }
.hero h1 { color: var(--white); font-size: clamp(50px, 6.8vw, 96px); line-height: 0.9; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { padding-left: 0.5em; }
.hero h1 span:nth-child(3) { padding-left: 1em; }
.hero-sub { font-size: clamp(18px, 1.5vw, 20px); color: var(--on-cobalt); max-width: 44ch; margin: 0; }
.hero-photo { grid-column: 7 / span 6; grid-row: 1; align-self: end; margin: 0 0 -84px; position: relative; z-index: 1; padding: 10px 0 0 10px; background: var(--silver); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; }
.hero-photo figcaption { font-size: 14px; color: var(--ink-2); padding-top: 8px; }
.hero + * { padding-top: calc(84px + clamp(40px, 6vw, 72px)); }

/* Service matrix: hairline modular grid */
.matrix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.tile { display: flex; flex-direction: column; background: var(--white); color: var(--ink); text-decoration: none; padding: 26px 24px 28px; min-width: 0; }
.tile:hover { background: #F6F8FC; }
.tile svg { width: 40px; height: 40px; stroke: var(--cobalt); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.tile h3 { margin-bottom: 10px; }
.tile p { margin: 0 0 14px; color: var(--ink-2); font-size: 16px; }
.tile ul { list-style: none; margin: 0 0 18px; padding: 0; font-size: 15px; }
.tile li { padding: 6px 0; border-top: 1px solid var(--line); }
.tile .go { margin-top: auto; align-self: flex-start; font-weight: 700; color: var(--cobalt); border-bottom: 3px solid var(--lime); }
.tile:hover .go { border-bottom-color: var(--cobalt); }
.tile-dark { background: var(--cobalt); color: var(--white); }
.tile-dark:hover { background: var(--cobalt-deep); }
.tile-dark svg { stroke: var(--lime); }
.tile-dark h3, .tile-dark .go { color: var(--white); }
.tile-dark p { color: var(--on-cobalt); }
.tile-dark li { border-top-color: rgba(255, 255, 255, 0.25); }
.tile-dark:hover .go { border-bottom-color: var(--white); }

/* Feature split (EV + panels) */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line-strong); background: var(--white); }
.feature > div { padding: clamp(22px, 3vw, 40px); min-width: 0; }
.feature > div + div { border-left: 1px solid var(--line-strong); }
.feature figure img { aspect-ratio: 4 / 3; object-fit: cover; }
.feature h3 { margin: 22px 0 10px; }
.suit { border-left: 4px solid var(--lime); background: var(--silver); padding: 14px 18px; margin-top: 18px; font-size: 16px; }
.suit h4 { margin-bottom: 8px; font-size: 16px; }
.suit ul { margin: 0; padding-left: 1.1em; }
.suit li { margin-bottom: 6px; }
.suit li:last-child { margin-bottom: 0; }

/* Evidence (rough-in) */
.evidence-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 48px); margin-bottom: clamp(24px, 3vw, 40px); align-items: start; }
.evidence-intro > * { min-width: 0; }
.what-list { list-style: none; margin: 0; padding: 0; }
.what-list li { padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 16px; }
.what-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.block { padding: clamp(22px, 3vw, 36px); }
.block h3 { margin-bottom: 14px; }
.strip4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.strip4 > * { min-width: 0; }
.strip4 figure img { aspect-ratio: 3 / 4; object-fit: cover; }

/* Figures */
figure { margin: 0; }
figure img { width: 100%; background: var(--cobalt-tint); }
figcaption { font-size: 14px; line-height: 1.5; padding-top: 8px; color: var(--ink-2); max-width: 60ch; }
.on-cobalt figcaption { color: var(--on-cobalt); }
.status { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.01em; padding: 2px 7px; background: var(--cobalt); color: var(--white); margin-right: 8px; vertical-align: 1px; }
.on-cobalt .status { background: var(--lime); color: var(--cobalt); }

/* Graphic grids: problems + areas */
.problems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.problems > div { background: var(--white); padding: 22px 20px 24px; min-width: 0; display: flex; flex-direction: column; }
.problems h3 { font-size: 26px; margin-bottom: 10px; }
.problems p { font-size: 15px; color: var(--ink-2); margin: 0 0 12px; }
.problems a { margin-top: auto; font-size: 15px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--line-strong); align-self: flex-start; }
.problems a:hover { border-bottom-color: var(--cobalt); }
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.area { background: var(--white); padding: 24px 22px; min-height: 168px; display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; min-width: 0; }
.area-name { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3vw, 42px); line-height: 1; color: var(--cobalt); }
.area-note { font-size: 15px; color: var(--ink-2); margin: 0; }
.area-home { background: var(--cobalt); color: var(--white); }
.area-home > div { display: flex; flex-direction: column; gap: 8px; }
.area-home .area-name { color: var(--white); }
.area-home .area-note { color: var(--on-cobalt); }
.area-tag { align-self: flex-start; background: var(--lime); color: var(--cobalt); font-size: 13px; font-weight: 700; padding: 4px 9px; }

/* FAQ + contact */
.faq-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq-contact > * { min-width: 0; }
details { border-top: 1px solid var(--line-strong); }
details:last-of-type { border-bottom: 1px solid var(--line-strong); }
summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 15px 36px 15px 0; position: relative; list-style: none; color: var(--ink); line-height: 1.35; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 10px; font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--cobalt); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { max-width: 60ch; }
details > div { padding: 0 0 16px; }
.faq-group { margin-bottom: clamp(32px, 4vw, 56px); }
.faq-group h2 { margin-bottom: 14px; }
.contact-card { background: var(--white); padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line-strong); border-top: 6px solid var(--cobalt); }
.contact-card h3 { margin-bottom: 12px; }
.contact-card p { max-width: 46ch; }
.phone-big { display: inline-block; font-family: var(--display); font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1.1; text-decoration: none; color: var(--cobalt); }
.address { font-style: normal; line-height: 1.5; }
.plain-list { list-style: none; margin: 12px 0 0; padding: 0; }
.defs { margin: 0; }
.defs dt { font-weight: 700; margin-top: 14px; }
.defs dd { margin: 4px 0 0; max-width: 60ch; }

/* Inner page head: cobalt block + offset photo */
.page-head { padding: clamp(20px, 3vw, 40px) 0 0; }
.page-head .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
.page-head .wrap > * { min-width: 0; }
.ph-block { grid-column: 1 / span 8; grid-row: 1; align-self: start; color: var(--white); background: linear-gradient(45deg, transparent 36px, var(--cobalt) 36.5px); padding: clamp(28px, 4vw, 52px) 16% clamp(48px, 6vw, 80px) clamp(24px, 4vw, 64px); display: flex; flex-direction: column; gap: 16px; min-height: 360px; }
.page-head h1 { color: var(--white); font-size: clamp(40px, 5.6vw, 84px); line-height: 0.92; max-width: 16ch; }
.ph-sub { color: var(--on-cobalt); font-size: 18px; max-width: 54ch; margin: 0; }
.ph-media { grid-column: 8 / span 5; grid-row: 1; align-self: end; margin: 0 0 -64px; position: relative; z-index: 1; padding: 10px 0 0 10px; background: var(--silver); }
.ph-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ph-media figcaption { font-size: 13px; color: var(--ink-2); padding-top: 6px; }
.page-head + main > .wrap > .section:first-child { padding-top: calc(64px + clamp(36px, 5vw, 64px)); }
.crumbs { font-size: 14px; color: var(--on-cobalt); margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a { color: var(--on-cobalt); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }

/* Content sections */
.section { padding-block: clamp(44px, 6vw, 80px); border-top: 1px solid var(--line-strong); }
.section:first-child { border-top: 0; }
.section h2 { margin-bottom: 18px; }
.section h3 { margin: 30px 0 8px; }
.section h3:first-child { margin-top: 0; }
.prose { max-width: var(--measure); }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: 6px; }
.two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
.two-up > * { min-width: 0; }
.aside { background: var(--white); border: 1px solid var(--line-strong); border-top: 4px solid var(--cobalt); padding: 18px 22px 20px; font-size: 16px; }
.aside h4 { margin-bottom: 8px; }
.aside p:last-child, .aside ul:last-child { margin-bottom: 0; }
.aside-lime { border-top-color: var(--lime); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px 32px; padding: 22px 0; border-top: 1px solid var(--line-strong); }
.rows li:last-child { border-bottom: 1px solid var(--line-strong); }
.rows h3 { margin: 0; }
.rows p { margin: 0 0 8px; max-width: 64ch; }
.rows p:last-child { margin-bottom: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.gallery > * { min-width: 0; }
.gallery figure img { aspect-ratio: 3 / 4; object-fit: cover; }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: 3 / 2; }
.callout { background: var(--cobalt); color: var(--white); color-scheme: dark; padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.callout h3 { color: var(--white); }
.callout p { margin: 6px 0 0; color: var(--on-cobalt); max-width: 52ch; }
.inline-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.warn { border: 1px solid #D9A441; background: #FFF7E6; padding: 16px 18px; max-width: var(--measure); }
.warn h4 { margin-bottom: 6px; }
.spec { width: 100%; border-collapse: collapse; font-size: 16px; max-width: 64ch; }
.spec th, .spec td { text-align: left; padding: 10px 12px 10px 0; border-top: 1px solid var(--line-strong); vertical-align: top; }
.spec th { font-weight: 700; }
.spec tr:last-child td, .spec tr:last-child th { border-bottom: 1px solid var(--line-strong); }
.spec thead th { border-top: 0; font-size: 14px; color: var(--ink-2); }

/* Footer */
.site-footer { background: var(--cobalt); color: var(--on-cobalt); color-scheme: dark; padding-block: 52px 40px; font-size: 15px; }
.site-footer .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.5vw, 40px); row-gap: 28px; }
.site-footer .grid > * { min-width: 0; }
.foot-brand { grid-column: 1 / span 4; color: var(--white); }
.foot-brand .brand-name { display: block; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; }
.foot-brand .brand-area { display: block; color: var(--on-cobalt); font-size: 15px; margin-top: 4px; }
.foot-brand p { color: var(--on-cobalt); max-width: 34ch; margin-top: 14px; }
.foot-col { grid-column: span 2; }
.foot-col h4, .foot-contact h4 { color: var(--white); font-size: 15px; margin-bottom: 10px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 7px; }
.foot-col a, .foot-contact a { color: var(--on-cobalt); text-decoration: none; }
.foot-col a:hover, .foot-contact a:hover { color: var(--white); text-decoration: underline; }
.foot-contact { grid-column: span 4; }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.25); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; }
.foot-legal a { color: var(--on-cobalt); }
.licence:empty { display: none; }

/* Sticky mobile action */
.sticky-cta { display: none; }

/* 404 */
.notfound { min-height: 50vh; display: grid; align-content: center; gap: 16px; }
.notfound h1 { font-size: clamp(90px, 18vw, 180px); line-height: 0.85; }

/* Breakpoints */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-block { grid-column: 1; grid-row: 1; min-height: 0; padding-right: clamp(24px, 4.5vw, 72px); }
  .hero h1 span:nth-child(2), .hero h1 span:nth-child(3) { padding-left: 0; }
  .hero-photo { grid-column: 1; grid-row: 2; width: 68%; margin: -56px 0 0 auto; }
  .hero + * { padding-top: clamp(40px, 6vw, 72px); }
  .page-head .wrap { grid-template-columns: 1fr; }
  .ph-block { grid-column: 1; grid-row: 1; min-height: 0; padding-right: clamp(24px, 4vw, 64px); }
  .ph-media { grid-column: 1; grid-row: 2; width: 60%; margin: -48px 0 0 auto; }
  .page-head + main > .wrap > .section:first-child { padding-top: clamp(36px, 5vw, 64px); }
  .matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evidence-intro { grid-template-columns: 1fr; }
  .faq-contact { grid-template-columns: 1fr; }
  .foot-brand { grid-column: 1 / span 12; }
  .foot-col { grid-column: span 4; }
  .foot-contact { grid-column: span 12; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .wide { grid-column: span 2; }
}
@media (max-width: 1220px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--white); border-bottom: 2px solid var(--cobalt); padding: 8px var(--gutter-r) 16px var(--gutter); gap: 0; max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; white-space: normal; }
  .nav a[aria-current="page"] { border-bottom: 1px solid var(--line); border-left: 4px solid var(--cobalt); padding-left: 10px; }
  .nav .nav-cta { margin: 14px 0 0; padding: 15px 24px; }
  .menu-btn { display: inline-block; }
  .site-header .head-cta { display: inline-flex; }
  .site-header .wrap { position: relative; }
}
@media (max-width: 860px) {
  .site-header .head-cta { display: none; }
  .site-header .wrap { gap: 12px; }
  .brand { min-width: 0; overflow: hidden; }
  .brand-name { font-size: 24px; }
  .hero { padding-top: 0; }
  .hero-block { padding: 40px var(--gutter-r) 44px var(--gutter); margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); background: var(--cobalt); }
  .hero h1 { font-size: clamp(50px, 14vw, 72px); }
  .hero-photo { width: auto; margin: -24px 0 0 24px; padding: 0; }
  .sec-head { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature > div + div { border-left: 0; border-top: 1px solid var(--line-strong); }
  .ph-block { padding: 32px var(--gutter-r) 40px var(--gutter); margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); background: var(--cobalt); }
  .ph-media { width: auto; margin: -20px 0 0 24px; padding: 0; }
  .two-up { grid-template-columns: 1fr; gap: 28px; }
  .rows li { grid-template-columns: 1fr; gap: 8px; }
  .callout { grid-template-columns: 1fr; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area { min-height: 130px; }
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--white); border-top: 2px solid var(--cobalt); padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter); gap: 10px; }
  .sticky-cta .btn { flex: 1 1 0; }
  body { padding-bottom: 74px; }
}
@media (max-width: 560px) {
  .matrix, .problems, .strip4, .gallery { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: auto; }
  .areas { grid-template-columns: 1fr; }
  .area { min-height: 0; padding: 18px 20px; }
  .area-name { font-size: 30px; }
  .hero h1 { font-size: clamp(46px, 13.5vw, 60px); }
  .brand-area { display: none; }
  .brand-name { font-size: 22px; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* Recent work grids (small source photos: tiles never wider than ~360px) */
.recent { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.recent > * { min-width: 0; }
.recent figure { max-width: 360px; }
.recent figure img { aspect-ratio: 3 / 4; object-fit: cover; }
.recent-ev { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
.recent-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recent .wide { max-width: 560px; }
.recent .wide img { aspect-ratio: 3 / 2; }
@media (max-width: 1040px) {
  .recent, .recent-ev, .recent-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recent .wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .recent, .recent-ev, .recent-3 { grid-template-columns: 1fr; }
  .recent .wide { grid-column: auto; }
}

/* --- phone / text treatment (append to site.css; uses only inherited colours) --- */
[data-phone-slot]:not([hidden]) { display: block; }
[data-phone-slot]:not([hidden])::before { content: "Call or text"; display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.85; margin-bottom: 4px; }
.site-footer [data-phone-slot]::before, .site-header [data-phone-slot]::before { display: none; }
.phone-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
a.phone-big:hover { text-decoration: underline; }
