/* Paradox Mechanical — harbour navy, champagne gold, warm ivory.
   One family: Instrument Sans (width + weight axes). */

@view-transition { navigation: auto; }

:root {
  --navy: #0D1B2E;
  --navy-2: #13243B;
  --navy-3: #1B3050;
  --graphite: #343A40;
  --gold: #C5A46D;
  --gold-ink: #7E6130;     /* gold for text on ivory/white (AA) */
  --gold-soft: rgba(197, 164, 109, 0.35);
  --ivory: #F3F0E9;
  --ivory-2: #E9E4D8;
  --white: #FFFFFF;
  --muted: #5B636B;
  --on-dark: rgba(243, 240, 233, 0.92);
  --on-dark-2: rgba(243, 240, 233, 0.66);
  --rule-dark: rgba(243, 240, 233, 0.14);
  --rule: rgba(13, 27, 46, 0.14);

  --font: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --max: 84rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(5rem, 10vw, 9rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 3px;
  --header-h: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--graphite);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  font-stretch: 88%;
  font-variation-settings: "wdth" 88;
  letter-spacing: -0.028em;
  line-height: 0.98;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 1.6rem + 5.2vw, 6.4rem); letter-spacing: -0.038em; line-height: 0.92; }
h2 { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4.4rem); }
h3 { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem); letter-spacing: -0.015em; line-height: 1.12; }
.dark h1, .dark h2, .dark h3 { color: var(--ivory); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.light :focus-visible, .ivory :focus-visible { outline-color: var(--gold-ink); }

.skip { position: absolute; left: 1rem; top: -5rem; z-index: 300; padding: .75rem 1rem; background: var(--gold); color: var(--navy); font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.dark { background: var(--navy); color: var(--on-dark); }
.dark-2 { background: var(--navy-2); color: var(--on-dark); }
.dark-2 h2, .dark-2 h3 { color: var(--ivory); }
.white { background: var(--white); }
.ivory { background: var(--ivory); }

.lede { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.35rem); line-height: 1.55; max-width: 40rem; }
.dark .lede, .dark-2 .lede { color: var(--on-dark-2); }
.measure { max-width: 38rem; }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.35rem;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; letter-spacing: .005em; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #D6B984; }
.btn-line { border-color: var(--gold-soft); color: var(--ivory); background: transparent; }
.btn-line:hover { border-color: var(--gold); background: rgba(197,164,109,.08); }
.btn-ink { background: var(--navy); color: var(--ivory); }
.btn-ink:hover { background: var(--navy-3); }
.btn-outline { border-color: var(--rule); color: var(--navy); background: transparent; }
.btn-outline:hover { border-color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; text-decoration: none; color: var(--navy);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: .2rem;
  transition: background-size .35s var(--ease), color .2s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.dark .link, .dark-2 .link { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: var(--ivory);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .4s var(--ease);
}
.site-header.solid, .site-header.always {
  background: rgba(13, 27, 46, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--rule-dark);
}
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }
.wordmark { display: inline-flex; align-items: baseline; gap: .4rem; margin-right: auto; text-decoration: none; color: var(--ivory); font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.wordmark b { font-weight: 700; }
.wordmark span { font-weight: 400; color: var(--on-dark-2); }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav > a, .nav-item > button {
  position: relative;
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .8rem;
  border: 0; background: none;
  color: var(--on-dark); font-weight: 500; font-size: .98rem; text-decoration: none; white-space: nowrap;
  cursor: pointer;
}
.nav > a::after, .nav-item > button::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav > a:hover::after, .nav-item > button:hover::after, .nav-item.open > button::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-item { position: relative; }
.nav-item > button svg { width: .8rem; height: .8rem; transition: transform .3s var(--ease); }
.nav-item.open > button svg { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + .75rem); left: -1rem;
  min-width: 17rem;
  padding: 1rem;
  background: var(--navy-2);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.nav-item.open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .35s var(--ease); }
.menu-wide { width: min(40rem, 80vw); display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.menu a { display: block; padding: .6rem .7rem; border-radius: var(--radius); text-decoration: none; color: var(--on-dark); }
.menu a small { display: block; color: var(--on-dark-2); font-size: .82rem; line-height: 1.35; margin-top: .15rem; }
.menu a:hover { background: rgba(243,240,233,.06); color: var(--ivory); }
.menu .menu-foot { grid-column: 1 / -1; margin-top: .5rem; padding: .9rem .7rem 0; border-top: 1px solid var(--rule-dark); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .92rem; }
.menu .menu-foot a { display: inline; padding: 0; color: var(--gold); font-weight: 600; }
.menu .menu-foot a:hover { background: none; text-decoration: underline; }

.header-cta { display: flex; align-items: center; gap: 1.25rem; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 1rem; height: 1rem; color: var(--gold); }
.header-cta .btn { min-height: 2.9rem; padding: .6rem 1.15rem; }
.menu-toggle { display: none; width: 2.9rem; height: 2.9rem; border: 1px solid var(--rule-dark); border-radius: var(--radius); background: transparent; color: var(--ivory); cursor: pointer; place-items: center; }
.menu-toggle svg { width: 1.3rem; height: 1.3rem; }

@media (max-width: 1180px) { .header-phone { display: none; } }
@media (max-width: 980px) {
  .nav, .header-cta .btn { display: none; }
  .header-phone { display: inline-flex; }
  .menu-toggle { display: grid; }
}
@media (max-width: 420px) { .header-phone span { display: none; } .header-phone { padding: .7rem; border: 1px solid var(--rule-dark); border-radius: var(--radius); } }

.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  overflow-y: auto;
  padding: 1.5rem var(--gutter) 7rem;
  background: var(--navy); color: var(--ivory);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s;
}
.drawer.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.drawer details, .drawer > a { border-bottom: 1px solid var(--rule-dark); }
.drawer summary, .drawer > a { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; list-style: none; cursor: pointer; text-decoration: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer details div { padding: 0 0 1rem; }
.drawer details a { display: block; padding: .5rem 0; color: var(--on-dark-2); text-decoration: none; }
.drawer .actions { margin-top: 2rem; }
.no-scroll { overflow: hidden; }

/* ---------- Crop-mark frame (signature) ---------- */
.frame { position: relative; }
.frame::before, .frame::after, .frame > .c1, .frame > .c2 {
  content: ""; position: absolute; width: 1.6rem; height: 1.6rem; pointer-events: none; z-index: 2;
  border-color: var(--gold); border-style: solid; border-width: 0;
}
.frame::before { top: -.9rem; left: -.9rem; border-top-width: 1px; border-left-width: 1px; }
.frame::after { top: -.9rem; right: -.9rem; border-top-width: 1px; border-right-width: 1px; }
.frame > .c1 { bottom: -.9rem; left: -.9rem; border-bottom-width: 1px; border-left-width: 1px; }
.frame > .c2 { bottom: -.9rem; right: -.9rem; border-bottom-width: 1px; border-right-width: 1px; }
.frame-light::before, .frame-light::after, .frame-light > .c1, .frame-light > .c2 { border-color: var(--gold-ink); }

/* Spec plate */
.media { position: relative; overflow: hidden; background: var(--navy-2); border-radius: var(--radius); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.plate {
  position: absolute; left: .85rem; bottom: .85rem; z-index: 1;
  max-width: calc(100% - 1.7rem);
  padding: .6rem .8rem .55rem;
  background: rgba(13, 27, 46, 0.82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-left: 2px solid var(--gold);
  color: var(--ivory);
  font-size: .8rem; line-height: 1.35;
}
.plate b { display: block; font-weight: 600; font-size: .86rem; }
.plate span { color: var(--on-dark-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(2rem, 6vw, 5rem)) 0 clamp(3rem, 6vw, 5rem);
  background: var(--navy);
  color: var(--on-dark);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 85% 30%, rgba(27,48,80,.9), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.hero h1 { color: var(--ivory); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .05em; }
.hero h1 .ln > span { display: block; }
.hero .lede { margin-top: 2rem; }
.hero .actions { margin-top: 2.25rem; }
.hero-media { justify-self: end; width: 100%; max-width: 27rem; }
.hero-media .media { aspect-ratio: 3 / 4; }
.proof {
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--rule-dark);
}
.proof li { padding: 1.25rem 1.5rem 0 0; }
.proof li + li { padding-left: 1.5rem; border-left: 1px solid var(--rule-dark); }
.proof b { display: block; color: var(--ivory); font-size: 1.15rem; font-weight: 600; }
.proof span { color: var(--on-dark-2); font-size: .95rem; }
.stars { display: inline-flex; gap: .12rem; color: var(--gold); vertical-align: -.1em; margin-left: .35rem; }
.stars svg { width: .95rem; height: .95rem; }

.js .hero h1 .ln > span { transform: translateY(104%); }
.js .hero .lede, .js .hero .actions, .js .proof { opacity: 0; }
.js .hero-media { opacity: 0; transform: translateY(24px); }
.loaded .hero h1 .ln > span { transform: none; transition: transform 1.1s var(--ease); }
.loaded .hero h1 .ln:nth-child(2) > span { transition-delay: .08s; }
.loaded .hero h1 .ln:nth-child(3) > span { transition-delay: .16s; }
.loaded .hero .lede, .loaded .hero .actions, .loaded .proof { opacity: 1; transition: opacity .9s var(--ease) .45s; }
.loaded .hero-media { opacity: 1; transform: none; transition: opacity 1.1s var(--ease) .25s, transform 1.3s var(--ease) .25s; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: start; max-width: 100%; }
  .hero-media .media { aspect-ratio: 4 / 5; }
  .proof { grid-template-columns: 1fr; }
  .proof li, .proof li + li { padding: 1rem 0; border-left: 0; border-bottom: 1px solid var(--rule-dark); }
}

/* ---------- Emergency band ---------- */
.emergency { padding-block: clamp(2.5rem, 5vw, 3.5rem); background: var(--navy-2); color: var(--on-dark); border-top: 1px solid var(--rule-dark); }
.emergency-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.4fr); gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: center; }
.emergency h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); color: var(--ivory); }
.emergency p { margin: .5rem 0 0; color: var(--on-dark-2); }
.call-big { display: inline-flex; align-items: center; gap: .75rem; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); font-weight: 600; letter-spacing: -0.02em; color: var(--gold); text-decoration: none; white-space: nowrap; font-stretch: 88%; }
.call-big svg { width: .8em; height: .8em; }
.call-big:hover { color: #D6B984; }
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: q; }
.quick li { counter-increment: q; padding-top: .9rem; border-top: 1px solid var(--rule-dark); font-size: .92rem; color: var(--on-dark-2); line-height: 1.45; }
.quick li::before { content: counter(q); display: block; margin-bottom: .35rem; color: var(--gold); font-weight: 600; }
.quick b { color: var(--ivory); font-weight: 600; display: block; }
@media (max-width: 1060px) { .emergency-grid { grid-template-columns: 1fr auto; } .quick { grid-column: 1 / -1; } }
@media (max-width: 640px) { .emergency-grid { grid-template-columns: 1fr; } .quick { grid-template-columns: 1fr; } }

/* ---------- Section head ---------- */
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.head p { margin: 0; color: var(--muted); font-size: 1.125rem; max-width: 34rem; }
.dark .head p, .dark-2 .head p { color: var(--on-dark-2); }
@media (max-width: 820px) { .head { grid-template-columns: 1fr; } }

/* ---------- Services index (hover swaps photo) ---------- */
.index { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.index-media { position: sticky; top: calc(var(--header-h) + 2rem); }
.index-media .stack { position: relative; aspect-ratio: 4 / 5; }
.index-media .media { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.index-media .media.on { opacity: 1; transform: none; }
.index-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.index-list li { border-bottom: 1px solid var(--rule); }
.index-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1.5rem; align-items: baseline;
  padding: 1.5rem 0; text-decoration: none;
  transition: padding-left .45s var(--ease);
}
.index-list h3 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem); transition: color .3s; }
.index-list p { grid-column: 1; margin: 0; color: var(--muted); max-width: 32rem; }
.index-list .go { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 50%; color: var(--navy); transition: background-color .3s, border-color .3s, color .3s, transform .45s var(--ease); }
.index-list .go svg { width: 1rem; height: 1rem; }
.index-list a:hover, .index-list a.on { padding-left: 1rem; }
.index-list a:hover h3, .index-list a.on h3 { color: var(--gold-ink); }
.index-list a:hover .go, .index-list a.on .go { background: var(--navy); border-color: var(--navy); color: var(--gold); transform: rotate(-45deg); }
.index-list .thumb { display: none; }
.index-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 900px) {
  .index { grid-template-columns: 1fr; }
  .index-intro { position: static; }
  .index-list a { padding: 1.2rem 0; }
  .index-list a:hover, .index-list a.on { padding-left: 0; }
  .index-list h3 { font-size: 1.45rem; }
  .index-list p { font-size: .95rem; }
  .index-list .go { width: 2.4rem; height: 2.4rem; }
}

/* ---------- Homes / Buildings split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.split article { display: grid; gap: 1.5rem; align-content: start; }
.split .media { aspect-ratio: 4 / 3; }
.split h3 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); }
.split p { color: var(--muted); margin: 0; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; }
.ticks li { position: relative; padding-left: 1.2rem; font-weight: 500; color: var(--navy); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: .55rem; height: 1px; background: var(--gold-ink); }
.dark .ticks li, .dark-2 .ticks li { color: var(--ivory); }
.dark .ticks li::before, .dark-2 .ticks li::before { background: var(--gold); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ticks { grid-template-columns: 1fr; } }

/* ---------- Spotlight (heating / water) ---------- */
.spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.spot.flip > :first-child { order: 2; }
.spot .media.sq { aspect-ratio: 1; }
.spot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
.spot-pair .media:first-child { aspect-ratio: 9 / 16; }
.spot-pair .media:last-child { aspect-ratio: 4 / 5; }
.spot h2 { margin-bottom: 1.5rem; }
.spot .lede { margin-bottom: 2rem; color: var(--muted); }
.dark .spot .lede { color: var(--on-dark-2); }
.spot .ticks { margin-bottom: 2.25rem; }
@media (max-width: 900px) { .spot { grid-template-columns: 1fr; } .spot.flip > :first-child { order: 0; } }

/* ---------- Projects grid ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 14vw, 13rem); gap: 1rem; }
.tile { position: relative; padding: 0; border: 0; cursor: zoom-in; background: var(--navy-3); border-radius: var(--radius); overflow: hidden; text-align: left; color: inherit; }
.tile[hidden] { display: none; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img, .tile:hover video { transform: scale(1.04); }
.tile .plate { opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.tile:hover .plate, .tile:focus-visible .plate { opacity: 1; transform: none; }
.tile .vid-badge { position: absolute; top: .8rem; right: .8rem; z-index: 1; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem; background: rgba(13,27,46,.8); color: var(--ivory); font-size: .78rem; font-weight: 600; border-radius: 999px; }
.tile .vid-badge svg { width: .7rem; height: .7rem; color: var(--gold); }
.gallery { grid-auto-flow: dense; }
.gallery .tile:nth-child(7n+1) { grid-column: span 5; grid-row: span 3; }
.gallery .tile:nth-child(7n+2) { grid-column: span 3; grid-row: span 3; }
.gallery .tile:nth-child(7n+3) { grid-column: span 4; grid-row: span 3; }
.gallery .tile:nth-child(7n+4), .gallery .tile:nth-child(7n+5), .gallery .tile:nth-child(7n+6), .gallery .tile:nth-child(7n) { grid-column: span 3; grid-row: span 2; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 12rem; }
  .gallery .tile, .gallery .tile:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery .tile:nth-child(3n+1) { grid-column: span 2; grid-row: span 2; }
  .tile .plate { opacity: 1; transform: none; }
}
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter { padding: .55rem 1rem; border: 1px solid var(--rule-dark); border-radius: 999px; background: transparent; color: var(--on-dark); font-weight: 500; font-size: .92rem; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.filter:hover { border-color: var(--gold); }
.filter[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.ig-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-dark); }
.ig-row p { margin: 0; color: var(--on-dark-2); }
.ig-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.ig-links a { display: inline-flex; align-items: center; gap: .45rem; color: var(--ivory); font-weight: 600; text-decoration: none; }
.ig-links a:hover { color: var(--gold); }
.ig-links svg { width: 1.1rem; height: 1.1rem; color: var(--gold); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 4rem 1rem 2rem; background: rgba(6, 12, 22, .94); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.lightbox figure { margin: 0; max-width: min(92vw, 70rem); display: grid; gap: .9rem; justify-items: center; }
.lightbox img, .lightbox video { max-height: 78vh; width: auto; max-width: 100%; border-radius: var(--radius); }
.lightbox figcaption { color: var(--on-dark); text-align: center; font-size: .95rem; }
.lightbox figcaption b { color: var(--ivory); }
.lb-btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--rule-dark); border-radius: 50%; background: rgba(13,27,46,.7); color: var(--ivory); cursor: pointer; transition: border-color .2s; }
.lb-btn:hover { border-color: var(--gold); }
.lb-btn svg { width: 1.1rem; height: 1.1rem; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Standards ---------- */
.standards { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.standards .media { aspect-ratio: 3 / 4; }
.principles { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.principles li { padding: 1.6rem 0; border-top: 1px solid var(--rule); }
.principles h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.principles p { margin: 0; color: var(--muted); font-size: 1rem; }
.creds { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.creds span { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border: 1px solid var(--rule); border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--navy); background: var(--white); }
.creds svg { width: 1rem; height: 1rem; color: var(--gold-ink); }
@media (max-width: 900px) { .standards { grid-template-columns: 1fr; } .standards .media { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.score { padding-top: 1rem; border-top: 1px solid var(--rule); }
.score b { display: block; font-size: clamp(4rem, 3rem + 4vw, 7rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--navy); font-stretch: 88%; }
.score .stars { margin: .75rem 0 .5rem; color: var(--gold-ink); }
.score .stars svg { width: 1.3rem; height: 1.3rem; }
.score p { color: var(--muted); }
.quote-stage { position: relative; min-height: 18rem; }
.quote { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
.quote.on { position: relative; opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--navy); font-weight: 500; text-wrap: pretty; }
.quote figcaption { margin-top: 1.5rem; color: var(--muted); }
.quote figcaption b { color: var(--navy); font-weight: 600; }
.quote-nav { display: flex; align-items: center; gap: .75rem; margin-top: 2rem; }
.quote-nav button { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--rule); border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; transition: background-color .25s, color .25s; }
.quote-nav button:hover { background: var(--navy); color: var(--gold); }
.quote-nav svg { width: 1rem; height: 1rem; }
.quote-count { margin-left: .5rem; color: var(--muted); font-variant-numeric: tabular-nums; font-size: .95rem; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); }
.area-main { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-dark); }
.area-main li { border-bottom: 1px solid var(--rule-dark); }
.area-main a { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.8rem); font-weight: 600; letter-spacing: -0.03em; font-stretch: 88%; color: var(--ivory); text-decoration: none; transition: color .25s, padding-left .45s var(--ease); }
.area-main a:hover { color: var(--gold); padding-left: .75rem; }
.area-main a small { font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--on-dark-2); font-stretch: 100%; }
.area-more { margin: 1.5rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--on-dark-2); }
.base { padding: 1.5rem; border: 1px solid var(--rule-dark); border-radius: var(--radius); }
.base iframe { display: block; width: 100%; height: 16rem; border: 0; border-radius: var(--radius); filter: grayscale(.3) contrast(1.05); margin-bottom: 1.25rem; background: var(--navy-3); }
.base p { margin: 0 0 .5rem; color: var(--on-dark-2); }
.base b { color: var(--ivory); }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; } }

/* ---------- Quote form ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.direct { display: grid; gap: 0; margin-top: 2rem; border-top: 1px solid var(--rule); }
.direct a, .direct div { display: grid; gap: .1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.direct small { color: var(--muted); font-size: .88rem; }
.direct b { color: var(--navy); font-size: 1.2rem; font-weight: 600; overflow-wrap: anywhere; }
.direct a.big b { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); letter-spacing: -0.02em; font-stretch: 88%; }
.direct a:hover b { color: var(--gold-ink); }
.form { padding: clamp(1.5rem, 4vw, 3rem); background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); }
.form h3 { font-size: 1.9rem; margin-bottom: .4rem; }
.form > p { color: var(--muted); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1rem; }
@media (max-width: 560px) { .row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: .4rem; margin-bottom: 1.15rem; }
.field label, .field legend { font-weight: 600; font-size: .92rem; color: var(--navy); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.2rem; padding: .8rem .95rem;
  border: 1px solid #CFC8B8; border-radius: var(--radius);
  background: var(--ivory); color: var(--navy); font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-ink); background: var(--white); box-shadow: 0 0 0 3px rgba(197,164,109,.25); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.err { color: #B3261E; font-size: .86rem; font-weight: 500; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.15rem; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .35rem; }
.choice { position: relative; }
.choice input { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: .6rem 1rem; border: 1px solid #CFC8B8; border-radius: 999px; cursor: pointer; font-size: .95rem; transition: background-color .2s, color .2s, border-color .2s; }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.choice input:focus-visible + span { outline: 2px solid var(--gold-ink); outline-offset: 2px; }
.urgent { display: none; margin: 0 0 1.15rem; padding: 1rem 1.2rem; background: var(--navy); color: var(--on-dark); border-radius: var(--radius); }
.urgent.on { display: block; }
.urgent a { color: var(--gold); font-weight: 600; }
.form .btn { width: 100%; white-space: normal; }
.status { margin: 1rem 0 0; font-weight: 600; color: var(--gold-ink); min-height: 1.4em; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(3rem, 6vw, 5rem); background: var(--navy); color: var(--on-dark); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 90% 20%, rgba(27,48,80,.85), transparent 70%); pointer-events: none; }
.page-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: end; }
.page-hero h1 { color: var(--ivory); font-size: clamp(2.8rem, 1.6rem + 5vw, 6rem); }
.page-hero .lede { margin-top: 1.75rem; }
.page-hero .actions { margin-top: 2rem; }
.page-hero .media { aspect-ratio: 4 / 5; }
.page-hero.compact .page-hero-grid { grid-template-columns: 1fr; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; padding: 0; list-style: none; font-size: .9rem; color: var(--on-dark-2); }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--gold); }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero .media { aspect-ratio: 4 / 3; } }

/* Service detail */
.offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; margin: 0; padding: 0; list-style: none; }
.offer li { padding: 1.75rem 0; border-top: 1px solid var(--rule); }
.offer h3 { font-size: 1.3rem; margin-bottom: .55rem; }
.offer p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .offer { grid-template-columns: 1fr; } }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.5rem; }
.steps li { counter-increment: s; padding-top: 1.25rem; border-top: 1px solid var(--gold-soft); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; margin-bottom: .9rem; color: var(--gold); font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.steps p { margin: 0; color: var(--on-dark-2); font-size: 1rem; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--rule); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.15rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--gold-ink); transition: transform .35s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 1.4rem; color: var(--muted); max-width: 44rem; }
.two { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.related a { display: grid; gap: .5rem; padding: 1.5rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: border-color .25s, transform .35s var(--ease); }
.related a:hover { border-color: var(--navy); transform: translateY(-2px); }
.related h3 { font-size: 1.3rem; }
.related p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.photo-row .media { aspect-ratio: 3 / 4; }
@media (max-width: 700px) { .photo-row { grid-template-columns: 1fr 1fr; } .photo-row .media:first-child { grid-column: span 2; aspect-ratio: 4 / 3; } }

/* Locations */
.local { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.local li { display: grid; grid-template-columns: minmax(0, .45fr) minmax(0, 1fr); gap: 1rem 3rem; padding: 2rem 0; border-top: 1px solid var(--rule); }
.local h3 { font-size: 1.5rem; }
.local p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .local li { grid-template-columns: 1fr; } }
.hoods { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.hoods li { padding: .5rem .9rem; border: 1px solid var(--rule-dark); border-radius: 999px; color: var(--on-dark); font-size: .95rem; }

/* About */
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.story p { font-size: 1.15rem; color: var(--muted); }
.story p:first-child { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35; color: var(--navy); letter-spacing: -0.015em; }
.story .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.story .pair .media { aspect-ratio: 9 / 16; }
.story .pair .media:last-child { margin-top: 3rem; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--rule-dark); }
.numbers div { padding: 1.5rem 1.5rem 0 0; }
.numbers div + div { padding-left: 1.5rem; border-left: 1px solid var(--rule-dark); }
.numbers dt { color: var(--ivory); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-stretch: 88%; }
.numbers dd { margin: .5rem 0 0; color: var(--on-dark-2); }
@media (max-width: 760px) { .numbers { grid-template-columns: 1fr 1fr; } .numbers div:nth-child(3) { padding-left: 0; border-left: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-2); padding-block: clamp(4rem, 8vw, 6rem) 2rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem 4rem; padding-bottom: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--rule-dark); }
.foot-top h2 { color: var(--ivory); font-size: clamp(2.2rem, 1.5rem + 3vw, 4.25rem); }
.foot-top .actions { align-self: end; justify-content: flex-end; }
@media (max-width: 820px) { .foot-top { grid-template-columns: 1fr; } .foot-top .actions { justify-content: flex-start; } }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-block: 3rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand p { margin-top: 1rem; max-width: 24rem; font-size: .96rem; }
.site-footer h3 { color: var(--ivory); font-size: 1rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; margin-bottom: 1rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; font-size: .96rem; }
.site-footer a { text-decoration: none; overflow-wrap: anywhere; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-dark); font-size: .88rem; }

/* Mobile action bar */
.mbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 4.5rem; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(13,27,46,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--rule-dark); transform: translateY(110%); transition: transform .5s var(--ease); }
  .mbar.on { transform: none; }
  .mbar .btn { min-height: 3.1rem; padding-inline: .5rem; }
}

/* Image reveal (subtle, images only) */
.js .reveal { clip-path: inset(0 0 100% 0); }
.js .reveal.in { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { clip-path: none; }
}

/* Water trio */
.trio { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.trio .media:nth-child(1) { aspect-ratio: 3 / 4; }
.trio .media:nth-child(2) { aspect-ratio: 3 / 4; }
.trio .media:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 2.1 / 1; }
/* Homes / buildings */
.hb { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--rule); }
.hb article { padding: clamp(2rem, 4vw, 3rem) clamp(0rem, 3vw, 3rem) 0 0; display: grid; gap: 1.5rem; align-content: start; }
.hb article + article { padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid var(--rule); }
.hb .media { aspect-ratio: 16 / 10; }
.hb h3 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); }
.hb p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .hb { grid-template-columns: 1fr; } .hb article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 2.5rem; } }
.photo-row.two-up { grid-template-columns: 1fr 1fr; }
.photo-row.two-up .media { aspect-ratio: 4 / 5; }
@media (max-width: 700px) { .photo-row.two-up .media:first-child { grid-column: auto; aspect-ratio: 3 / 4; } }

/* ================= v4 additions ================= */
.more-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.5rem; }
.more-row [hidden] { display: none; }
.g-logo { width: 1.15rem; height: 1.15rem; flex: none; }

/* Hero Google pill */
.g-pill { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.75rem; padding: .6rem 1rem; background: rgba(243,240,233,.06); border: 1px solid var(--rule-dark); border-radius: 999px; text-decoration: none; color: var(--on-dark); font-size: .95rem; transition: border-color .25s, background-color .25s; }
.g-pill:hover { border-color: var(--gold); background: rgba(243,240,233,.1); }
.g-pill b { color: var(--ivory); font-weight: 700; }
.g-pill .stars { margin: 0; }
.js .g-pill { opacity: 0; }
.loaded .g-pill { opacity: 1; transition: opacity .9s var(--ease) .55s; }

/* Service cards */
.sgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
@media (max-width: 1100px) { .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sgrid { grid-template-columns: 1fr; } }
.scard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .45s var(--ease), box-shadow .45s var(--ease); }
.scard:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(13,27,46,.55); }
.scard-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-2); }
.scard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.scard:hover .scard-img img { transform: scale(1.05); }
.scard-body { display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem 1.25rem 1.35rem; }
.scard h3 { font-size: 1.45rem; }
.scard h3 a { text-decoration: none; }
.scard h3 a:hover { color: var(--gold-ink); }
.scard p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.scard details { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.scard summary { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; cursor: pointer; list-style: none; font-weight: 600; color: var(--navy); font-size: .95rem; }
.scard summary::-webkit-details-marker { display: none; }
.scard summary svg { width: .95rem; height: .95rem; color: var(--gold-ink); transition: transform .3s var(--ease); }
.scard details[open] summary svg { transform: rotate(180deg); }
.scard ul { margin: 0 0 .8rem; padding: 0; list-style: none; }
.scard li a { display: block; padding: .3rem 0 .3rem .9rem; position: relative; font-size: .93rem; color: var(--graphite); text-decoration: none; }
.scard li a::before { content: ""; position: absolute; left: 0; top: 50%; width: .45rem; height: 1px; background: var(--gold-ink); }
.scard li a:hover { color: var(--gold-ink); }
.scard-cta { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .25rem; }
.scard-cta .btn { min-height: 2.9rem; padding: .6rem .5rem; font-size: .95rem; }

/* Google reviews wall */
.rev-head { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 2rem 4rem; align-items: end; margin-bottom: 2rem; }
@media (max-width: 860px) { .rev-head { grid-template-columns: 1fr; } }
.rsum { display: inline-flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; background: var(--ivory); border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; transition: border-color .25s; }
.rsum:hover { border-color: var(--navy); }
.rsum .g-logo { width: 2rem; height: 2rem; }
.rsum b { font-size: 3rem; font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--navy); font-stretch: 88%; }
.rsum > span { display: grid; gap: .25rem; }
.rsum .stars { margin: 0; color: var(--gold-ink); }
.rsum .stars svg { width: 1.15rem; height: 1.15rem; }
.rsum small { color: var(--muted); font-size: .9rem; }
.filter-light { border-color: var(--rule); color: var(--navy); }
.filter-light:hover { border-color: var(--navy); }
.filter-light[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 960px) { .rgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rgrid { grid-template-columns: 1fr; } }
.rcard { display: flex; flex-direction: column; margin: 0; padding: 1.35rem 1.4rem; background: var(--ivory); border: 1px solid var(--rule); border-radius: var(--radius); transition: border-color .25s, transform .4s var(--ease); }
.rcard:hover { border-color: var(--navy); transform: translateY(-2px); }
.rcard[hidden] { display: none; }
.rtop { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.avatar { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 600; font-size: 1rem; }
.rtop b { display: block; color: var(--navy); font-weight: 600; line-height: 1.2; }
.rtop small { color: var(--muted); font-size: .84rem; }
.rcard .stars { margin: 0 0 .7rem; color: var(--gold-ink); }
.rcard blockquote { margin: 0 0 1.1rem; flex: 1; }
.rcard blockquote p { margin: 0; color: var(--graphite); }
.rcard figcaption { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .8rem; }
.rtag { display: inline-block; padding: .22rem .65rem; border: 1px solid var(--gold-soft); border-radius: 999px; color: var(--gold-ink); font-weight: 600; font-size: .78rem; background: rgba(197,164,109,.1); }
.rsrc { color: var(--muted); }

/* FAQ */
.faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 900px) { .faq-intro { position: static; } }
.fitem[hidden] { display: none; }
.faq .filters { margin-bottom: 1.5rem; }

/* Blog cards */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 900px) { .pgrid { grid-template-columns: 1fr; } }
.pcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .3s, transform .45s var(--ease); }
.ivory .pcard, .white .pcard { background: var(--white); }
.white .pcard { background: var(--ivory); }
.pcard:hover { border-color: var(--navy); transform: translateY(-3px); }
.pcard-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-2); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-body { display: flex; flex-direction: column; gap: .7rem; padding: 1.35rem 1.4rem 1.5rem; flex: 1; }
.pcard-body .rtag { align-self: flex-start; }
.pcard h3 { font-size: 1.4rem; }
.pcard p { margin: 0; color: var(--muted); font-size: .98rem; }
.pmeta { margin-top: auto; padding-top: .5rem; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .9rem; }
.pmeta .go { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid var(--rule); border-radius: 50%; color: var(--navy); transition: background-color .3s, color .3s, transform .45s var(--ease); }
.pmeta .go svg { width: .95rem; height: .95rem; }
.pcard:hover .pmeta .go { background: var(--navy); color: var(--gold); transform: rotate(-45deg); }

/* Article */
.article { max-width: 46rem; }
.pmeta-top { color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; }
.article-img { aspect-ratio: 16 / 9; margin-bottom: 2.5rem; }
.article h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: 2.5rem 0 .9rem; }
.article p, .article li { font-size: 1.12rem; line-height: 1.75; color: var(--graphite); }
.article ul, .article ol { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.article li { margin-bottom: .45rem; }
.article-cta { margin-top: 3rem; padding: 2rem; background: var(--navy); color: var(--on-dark); border-radius: var(--radius); border-left: 3px solid var(--gold); }
.article-cta h2 { margin: 0 0 .6rem; color: var(--ivory); font-size: 1.8rem; }
.article-cta p { margin: 0; color: var(--on-dark); }
.article-cta .link { color: var(--gold); }
@media (max-width: 600px) {
  .trio .plate span, .photo-row .plate span, .gallery .plate span { display: none; }
  .plate { left: .5rem; bottom: .5rem; max-width: calc(100% - 1rem); padding: .45rem .6rem; }
}

/* ================= Mobile refinements ================= */
.swipe-hint { display: none; }
@media (max-width: 700px) {
  :root { --section: 3.75rem; --header-h: 4.25rem; }
  body { font-size: 1rem; }
  h2 { font-size: clamp(2rem, 1.4rem + 3vw, 2.6rem); }
  .head { margin-bottom: 1.75rem; gap: .9rem; }
  .head p, .lede { font-size: 1.05rem; }

  /* Hero */
  .hero { padding-top: calc(var(--header-h) + 1.75rem); padding-bottom: 2.5rem; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .hero .lede { margin-top: 1.25rem; }
  .hero .actions, .page-hero .actions { display: grid; grid-template-columns: 1fr; gap: .6rem; margin-top: 1.5rem; }
  .hero .actions .btn, .page-hero .actions .btn { width: 100%; }
  .g-pill { margin-top: 1.1rem; font-size: .88rem; }
  .hero-media .media { aspect-ratio: 4 / 3; }
  .proof { margin-top: 2rem; }
  .proof li, .proof li + li { padding: .8rem 0; }
  .page-hero { padding-top: calc(var(--header-h) + 1.75rem); padding-bottom: 2.5rem; }
  .page-hero h1 { font-size: clamp(2.3rem, 9.5vw, 3rem); }
  .page-hero .lede { margin-top: 1.1rem; }
  .page-hero .media { aspect-ratio: 4 / 3; }
  .frame::before, .frame::after, .frame > .c1, .frame > .c2 { width: 1.1rem; height: 1.1rem; }
  .frame::before { top: -.55rem; left: -.55rem; } .frame::after { top: -.55rem; right: -.55rem; }
  .frame > .c1 { bottom: -.55rem; left: -.55rem; } .frame > .c2 { bottom: -.55rem; right: -.55rem; }

  /* Emergency band */
  .emergency { padding-block: 2.25rem; }
  .quick li { padding-top: .7rem; }

  /* Swipeable rows: service cards, reviews, blog cards, homes/buildings */
  .sgrid, .rgrid, .pgrid, .hb {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%;
    gap: .9rem; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding: .25rem var(--gutter) 1rem;
    scrollbar-width: none; align-items: stretch;
  }
  .sgrid::-webkit-scrollbar, .rgrid::-webkit-scrollbar, .pgrid::-webkit-scrollbar, .hb::-webkit-scrollbar { display: none; }
  .sgrid > *, .rgrid > *, .pgrid > *, .hb > * { scroll-snap-align: start; }
  .hb { border-top: 0; }
  .hb article, .hb article + article { padding: 0; margin: 0; border: 0; gap: 1rem; }
  .hb .media { aspect-ratio: 4 / 3; }
  .hb h3 { font-size: 1.7rem; }
  .scard:hover, .rcard:hover, .pcard:hover { transform: none; }
  .scard-img { aspect-ratio: 16 / 10; }
  .swipe-hint { display: flex; align-items: center; gap: .6rem; margin: -.25rem 0 .9rem; color: var(--muted); font-size: .86rem; }
  .dark .swipe-hint, .dark-2 .swipe-hint { color: var(--on-dark-2); }
  .swipe-hint i { position: relative; display: block; width: 2.5rem; height: 2px; background: var(--rule); border-radius: 2px; overflow: hidden; }
  .swipe-hint i::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--gold-ink); border-radius: 2px; animation: hint 2.4s var(--ease) infinite; }
  @keyframes hint { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(260%); } }

  /* Filter chips: one swipeable line */
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .25rem; margin-bottom: 1.25rem; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; padding: .6rem 1rem; }

  /* Reviews */
  .rev-head { gap: 1.25rem; margin-bottom: 1.25rem; }
  .rsum { width: 100%; padding: .9rem 1.1rem; }
  .rsum b { font-size: 2.4rem; }
  .rcard blockquote p { font-size: .98rem; }
  .more-row { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr; }
  .more-row .btn { width: 100%; }

  /* Spotlights */
  .spot { gap: 1.75rem; }
  .spot .actions { display: grid; grid-template-columns: 1fr; gap: .6rem; }
  .spot .actions .btn { width: 100%; }
  .spot .media.sq { aspect-ratio: 4 / 3; }
  .ticks { gap: .45rem 1rem; }

  /* Gallery: captions only in the full-screen viewer */
  .gallery { grid-auto-rows: 9.5rem; gap: .6rem; }
  .gallery .plate { display: none; }
  .ig-row { margin-top: 1.5rem; }

  /* Standards / about */
  .standards .media { aspect-ratio: 4 / 3; }
  .principles li { padding: 1.1rem 0; }
  .story .pair .media:last-child { margin-top: 1.5rem; }
  .numbers dt { font-size: 2.3rem; }

  /* Areas */
  .area-main a { font-size: 1.6rem; padding: .85rem 0; }
  .base { padding: 1rem; }
  .base iframe { height: 12rem; }

  /* FAQ */
  .faq summary { font-size: 1.02rem; padding: 1.1rem 0; }

  /* Service + location pages */
  .offer li { padding: 1.25rem 0; }
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .local li { padding: 1.4rem 0; gap: .5rem; }
  .related { gap: .75rem; }
  .related a { padding: 1.2rem; }

  /* Contact */
  .contact { gap: 2rem; }
  .direct a.big b { font-size: 2rem; }
  .form { padding: 1.25rem; }
  .form h3 { font-size: 1.6rem; }

  /* Footer: comfortable tap targets */
  .foot-top h2 { font-size: 2.1rem; }
  .foot-top .actions { display: grid; grid-template-columns: 1fr; gap: .6rem; }
  .foot-top .actions .btn { width: 100%; }
  .foot-grid { gap: 1.75rem; padding-block: 2.25rem; }
  .site-footer ul { gap: 0; }
  .site-footer li a { display: inline-block; padding: .45rem 0; }
  .foot-base { flex-direction: column; gap: .35rem; }

  /* Article */
  .article p, .article li { font-size: 1.05rem; }
  .article-img { margin-bottom: 1.75rem; }
  .article-cta { padding: 1.4rem; }
}
@media (max-width: 380px) {
  .sgrid, .rgrid, .pgrid, .hb { grid-auto-columns: 88%; }
  .wordmark { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { .swipe-hint i::after { animation: none; } }
@media (max-width: 900px) {
  .two, .spot, .standards, .areas, .story, .reviews, .about, .page-hero-grid, .hero-grid, .emergency-grid, .head, .rev-head, .index { grid-template-columns: minmax(0, 1fr); }
  .two > *, .spot > *, .standards > *, .areas > * { min-width: 0; }
}
@media (max-width: 1060px) and (min-width: 641px) { .emergency-grid { grid-template-columns: minmax(0, 1fr) auto; } }

/* Homepage hero with the owner photo (wide image) */
.hero-grid.hero-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; }
.hero-wide .hero-media { max-width: none; }
.hero-wide .hero-media .media { aspect-ratio: 16 / 10; }
.hero-wide .hero-media img { object-position: 55% 30%; }
@media (max-width: 900px) {
  .hero-grid.hero-wide { grid-template-columns: 1fr; }
  .hero-wide .hero-media .media { aspect-ratio: 4 / 3; }
}

/* Two-line wordmark for "Paradox Plumbing & Mechanical Services" */
.wordmark { flex-direction: column; align-items: flex-start; gap: .28rem; }
.wordmark span { font-size: .5em; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 380px) { .wordmark span { font-size: .46em; letter-spacing: .06em; } }
.hero .lede a { color: var(--gold); text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 901px) { .hero-wide h1 { font-size: clamp(3rem, 1.4rem + 3.4vw, 5.25rem); } }
.menu.menu-areas { display: grid; grid-template-columns: repeat(2, minmax(10rem, 1fr)); column-gap: .5rem; }
.menu.menu-areas a:last-child { grid-column: 1 / -1; }

/* ---------- Phone layout refinements (Nov 2026) ---------- */
.emergency .link { color: var(--gold); }
p .link { display: inline; }
@media (max-width: 600px) {
  :root { --section: 3rem; }
  /* Hero: tighter copy, three trust points side by side */
  .hero .lede { font-size: 1.02rem; line-height: 1.6; }
  .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.5rem; }
  .proof li, .proof li + li { padding: .75rem .5rem 0; border-bottom: 0; border-left: 1px solid var(--rule-dark); }
  .proof li:first-child { padding-left: 0; border-left: 0; }
  .proof b { font-size: .92rem; line-height: 1.25; }
  .proof span { display: block; font-size: .76rem; line-height: 1.35; margin-top: .25rem; }
  /* Emergency box: smaller number, compact steps */
  .emergency { padding-block: 2rem; }
  .emergency .call-big { font-size: 1.9rem; }
  .emergency .quick li { padding-block: .55rem; }
  /* Homepage "Recent work": show 4 tiles, the rest live on the Projects page */
  .gallery-wrap:not(:has(.filters)) .gallery .tile:nth-child(n+5) { display: none; }
  /* Section headings */
  .head h2, .section h2 { font-size: clamp(1.9rem, 8vw, 2.3rem); }
  .head p { font-size: 1rem; }
  /* Footer: two columns of links instead of one long list */
  .foot-top { padding-bottom: 2rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; padding-block: 2rem; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-grid h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6rem; }
  .foot-grid ul li { margin: 0; }
  .foot-grid ul a, .foot-grid ul li { font-size: .9rem; line-height: 1.35; }
  .foot-grid ul a { display: inline-block; padding-block: .32rem; }
  .foot-grid > div:last-child { grid-column: 1 / -1; }
  .foot-base { flex-direction: column; gap: .35rem; padding-bottom: 4.75rem; }
}

/* Blog index on phones: compact vertical list instead of a swipe strip */
@media (max-width: 900px) {
  .pgrid.pgrid-list { display: grid; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; overflow: visible; scroll-snap-type: none; margin-inline: 0; padding-inline: 0; gap: .85rem; }
  .pgrid.pgrid-list > .pcard { flex-direction: row; scroll-snap-align: none; }
  .pgrid.pgrid-list .pcard-img { flex: 0 0 32%; aspect-ratio: auto; position: relative; min-height: 7.5rem; }
  .pgrid.pgrid-list .pcard-img img { position: absolute; inset: 0; }
  .pgrid.pgrid-list .pcard-body { padding: .85rem 1rem; gap: .35rem; }
  .pgrid.pgrid-list .pcard h3 { font-size: 1.05rem; line-height: 1.25; }
  .pgrid.pgrid-list .pcard p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .88rem; }
  .pgrid.pgrid-list .pcard .rtag { font-size: .7rem; padding: .15rem .5rem; }
  .pgrid.pgrid-list .pmeta { font-size: .8rem; padding-top: .2rem; }
  .pgrid.pgrid-list .pmeta .go { width: 1.9rem; height: 1.9rem; }
}

/* Phone menu: service areas in two columns */
.drawer .drawer-areas { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.drawer .drawer-areas a[href="service-areas.html"] { grid-column: 1 / -1; }

/* Header fit with the longer company name (Nov 2026) */
@media (max-width: 1240px) {
  .nav, .header-cta .btn { display: none; }
  .header-phone { display: inline-flex; }
  .menu-toggle { display: grid; }
}
@media (max-width: 600px) {
  .header-inner { gap: .75rem; }
  .header-cta { gap: .6rem; }
  .header-phone span { display: none; }
  .header-phone { padding: .7rem; border: 1px solid var(--rule-dark); border-radius: var(--radius); }
  .wordmark { min-width: 0; }
}
@media (max-width: 360px) {
  .wordmark { font-size: 1.05rem; }
  .wordmark span { font-size: .5em; letter-spacing: .04em; }
  .header-phone { padding: .6rem; }
  .menu-toggle, .header-phone { width: 2.6rem; height: 2.6rem; }
}

/* Fix 2 Dec 2026 (contrast). Three places where light text sat on a light background:
   1) Surrey page: card titles inside a dark section inherited the light heading colour (ivory) and were almost invisible on the white cards.
   2) Surrey page: the "Learn more" links in those white cards used the light gold meant for dark backgrounds (contrast 2.4 to 1).
   3) 32 service pages: the "how it works" step text used the light-on-dark colour on ivory sections (nearly invisible), and the step numbers used light gold (2.1 to 1). */
.dark .related h3, .dark-2 .related h3 { color: var(--navy); }
.dark .related .link, .dark-2 .related .link { color: var(--gold-ink); }
.ivory .steps p, .white .steps p { color: var(--muted); }
.ivory .steps li::before, .white .steps li::before { color: var(--gold-ink); }

/* Google profile articles on service pages (added 2 Dec 2026). */
.gposts { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.gpost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: start; padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule); }
.gpost:first-child { padding-top: 0; border-top: 0; }
.gpost h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); margin: 0 0 .9rem; }
.gpost p, .gpost li { font-size: 1.08rem; line-height: 1.7; color: var(--graphite); }
.gpost p { margin: 0 0 1rem; }
.gpost ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.gpost-fig { margin: 0; }
.gpost-fig .media { aspect-ratio: 4 / 3; }
.gpost-fig figcaption { margin-top: .6rem; font-size: .9rem; color: var(--muted); }
@media (max-width: 800px) { .gpost { grid-template-columns: 1fr; } }
