/* Advanced Concrete Sealing â€” site styles
   Same look as the homepage (mockup D, "glass and grit"): Geist type, soft Apple greys, rounded photos and
   cards, pill buttons, a frosted-glass header and a dark grained footer. No hazard stripes. */

:root {
  --ink: #1d1d1f;
  --ink-2: #2a2a2d;
  --ink-3: #3a3a3d;
  --night: #0b0b0c;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --concrete: #f5f5f7;   /* light grey section */
  --concrete-2: #ebebef;
  --mist: #edf1f4;       /* cool tint */
  --sage: #f1f5ea;       /* green tint */
  --line: #d2d2d7;
  --white: #fff;
  --brand: #8cc600;       /* logo green */
  --brand-dark: #9ad60c;  /* button hover (lighter, like the homepage) */
  --brand-deep: #3d6b00;  /* green text/links on white */
  --ok: #3d6b00;
  --err: #c9352b;
  --r-lg: 32px;
  --r: 22px;
  --r-sm: 14px;
  --radius: var(--r);
  --shadow: 0 10px 40px rgba(0,0,0,.08);
  --font-head: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 80px;
  --gutter: clamp(16px, 4vw, 40px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.55; letter-spacing: -.01em; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; color: var(--ink); margin: 0 0 .45em; }
h1 { font-size: clamp(2.6rem, min(6vw, 9vh), 4.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; }
address { font-style: normal; }
.icon { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--brand); color: var(--ink); padding: 10px 14px; font-weight: 600; border-radius: 999px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section-alt { background: var(--concrete); }
.section-dark { background: var(--night); color: #a1a1a6; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-title { margin-bottom: .7em; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 1.4em; }
.section-head .section-title { margin-bottom: 0; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); }
.eyebrow { font-weight: 500; font-size: .95rem; color: var(--brand-deep); margin-bottom: .6em; }
.eyebrow-dark { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; color: var(--brand-deep); }
.text-link:hover { text-decoration: underline; }
.stripe { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0; font: 500 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn-primary { background: var(--brand); color: var(--ink); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { color: var(--white); background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-outline { background: rgba(0,0,0,.06); color: var(--ink); }
.btn-outline:hover { background: rgba(0,0,0,.1); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .95rem; font-weight: 600; }
.btn-block { width: 100%; }

/* Header: dark frosted glass over the dark page tops, light frosted glass once scrolled (main.js adds .solid) */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: var(--white); background: rgba(18,20,22,.38); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid rgba(255,255,255,.12); transition: background .35s, color .35s, border-color .35s; }
.site-header.solid, .nav-open .site-header { color: var(--ink); background: rgba(255,255,255,.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom-color: rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { position: relative; display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 52px; width: auto; transition: opacity .35s; }
.brand .on-light { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.site-header.solid .brand .on-light, .nav-open .brand .on-light { opacity: 1; }
.site-header.solid .brand .on-dark, .nav-open .brand .on-dark { opacity: 0; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .nav-sub-toggle { display: flex; align-items: center; gap: 4px; padding: 9px 14px; border-radius: 999px; color: inherit; text-decoration: none; font: 500 1rem var(--font-body); letter-spacing: -.01em; background: none; border: 0; cursor: pointer; transition: background .2s; }
.main-nav a:hover, .nav-sub-toggle:hover { background: rgba(255,255,255,.16); }
.site-header.solid .main-nav a:hover, .site-header.solid .nav-sub-toggle:hover { background: rgba(0,0,0,.06); }
.main-nav a[aria-current="page"], .nav-sub-toggle.is-current { box-shadow: inset 0 0 0 1px currentColor; }
.has-sub { position: relative; }
.sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; list-style: none; margin: 0; padding: 8px; color: var(--ink); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-radius: var(--r); box-shadow: 0 20px 50px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.sub a { border-radius: var(--r-sm); }
.sub a:hover { background: rgba(0,0,0,.06) !important; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; font-weight: 600; font-size: 1rem; line-height: 1.15; white-space: nowrap; }
.header-phone .icon { color: var(--brand); }
.header-phone small { display: none; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; position: relative; }
.nav-toggle > span:first-child, .nav-toggle > span:first-child::before, .nav-toggle > span:first-child::after { position: absolute; left: 12px; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; transition: .25s; }
.nav-toggle > span:first-child { top: 20px; }
.nav-toggle > span:first-child::before, .nav-toggle > span:first-child::after { content: ''; left: 0; }
.nav-toggle > span:first-child::before { top: -5px; }
.nav-toggle > span:first-child::after { top: 5px; }
.nav-open .nav-toggle > span:first-child { background: transparent; }
.nav-open .nav-toggle > span:first-child::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle > span:first-child::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .main-nav a, .nav-sub-toggle { padding: 9px 10px; font-size: .95rem; }
  .header-inner { gap: 18px; }
  .header-phone span { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand img { height: 42px; }
  .nav-toggle { display: block; }
  .header-actions { margin-left: auto; gap: 8px; }
  .header-actions .btn, .header-phone { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); color: var(--ink); background: #fff; padding: 16px var(--gutter) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transition: .25s; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav a, .nav-sub-toggle { width: 100%; padding: 12px 0; font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; border-radius: 0; }
  .main-nav a:hover, .nav-sub-toggle:hover { background: none !important; }
  .main-nav a[aria-current="page"], .nav-sub-toggle.is-current { box-shadow: none; color: var(--brand-deep); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 12px; display: none; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .has-sub.is-open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.is-open:hover .sub { display: block; }
  .sub a { padding: 8px 0; font-size: 1.1rem; font-weight: 500; color: var(--muted); }
}

/* Hero: full-bleed photo with rounded bottom corners, like the homepage */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); min-height: clamp(460px, 70vh, 700px); display: flex; align-items: flex-end; background: #111; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.hero-tall { min-height: clamp(520px, 90vh, 860px); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.08) 30%, rgba(0,0,0,.35) 58%, rgba(0,0,0,.82) 100%); }
.hero-inner { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero h1 { color: var(--white); max-width: 16ch; text-wrap: balance; }
.hero-intro { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 40em; color: rgba(255,255,255,.85); margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-head { position: relative; background: var(--night); color: var(--white); border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; }
.page-head::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .07; pointer-events: none; }
.page-head::after { content: ''; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(140,198,0,.14), transparent); pointer-events: none; }
.page-head .container { position: relative; z-index: 1; padding-top: calc(var(--header-h) + clamp(48px, 7vw, 88px)); padding-bottom: clamp(48px, 6vw, 72px); }
.page-head h1 { color: var(--white); }
.page-head .hero-intro { margin-bottom: 0; color: #a1a1a6; }

/* Trust bar (older homepage) */
.trust { background: var(--night); color: var(--white); }
.trust-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 12px; }
.trust-item + .trust-item { border-left: 1px solid rgba(255,255,255,.12); }
.trust-item strong { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.trust-item span { margin-top: 6px; font-size: .95rem; color: #a1a1a6; }
@media (max-width: 640px) {
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
}

/* Service cards (older homepage) */
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.service-card { grid-column: span 2; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); overflow: hidden; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; }
.service-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--concrete-2); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.service-body p { color: var(--muted); font-size: 1rem; }
.service-more, .related-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--brand-deep); }
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: auto; }
  .service-card:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* Featured projects (older homepage) */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.featured { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-2); text-decoration: none; color: var(--white); }
.featured-wide { grid-column: 1 / -1; }
.featured-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
a.featured:hover .featured-media img { transform: scale(1.05); }
.featured-body { display: block; padding: 16px 22px 20px; }
.featured-body h3 { margin: 0 0 2px; color: var(--white); }
.featured-body p { margin: 0; color: #a1a1a6; font-size: .96rem; }
@media (max-width: 900px) { .featured-grid { grid-template-columns: 1fr; } }

/* Before / after slider */
.ba { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: var(--ink-2); border-radius: var(--r-lg); user-select: none; --split: 50%; }
.ba-large { aspect-ratio: 16 / 9; margin-bottom: 24px; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.ba::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--split); width: 3px; margin-left: -1.5px; background: var(--brand); pointer-events: none; }
.ba::before { content: ''; position: absolute; z-index: 2; top: 50%; left: var(--split); width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255,255,255,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center/22px no-repeat; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 6px 20px rgba(0,0,0,.2); pointer-events: none; }
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-label { position: absolute; z-index: 1; top: 16px; padding: 6px 14px; border-radius: 999px; font: 500 .85rem var(--font-body); color: var(--ink); background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; }
.ba-range:focus-visible ~ .ba-label { outline: 3px solid var(--brand); }
@media (max-width: 700px) { .ba, .ba-large { aspect-ratio: 4 / 5; border-radius: var(--r); } }

/* Why ACS (older homepage / about) */
.why-home { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.why-home-media { margin: 0; }
.why-home-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
@media (max-width: 900px) {
  .why-home { grid-template-columns: 1fr; }
  .why-home-media img { aspect-ratio: 16 / 10; }
}

/* Client strip */
.clients { padding: 48px 0; text-align: center; }
.clients-title { font-size: .95rem; color: var(--muted); margin-bottom: 12px; }
.clients-list { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; }
.clients-list li { font-weight: 500; color: #86868b; }

/* Split sub-service sections */
.split { padding: clamp(64px, 8vw, 110px) 0; }
.split:nth-of-type(even) { background: var(--concrete); }
.split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split-flip .split-text { order: 2; }
.split-text p { font-size: 1.08rem; color: #424245; }
.split-media { margin: 0; overflow: hidden; border-radius: var(--r-lg); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.split-media:hover img { transform: scale(1.04); }
@media (max-width: 860px) {
  .split-inner { grid-template-columns: 1fr; }
  .split-flip .split-text { order: 0; }
  .split-media { border-radius: var(--r); }
}

.additional { position: relative; background: var(--night); color: #a1a1a6; padding: clamp(56px, 7vw, 88px) 0; overflow: hidden; }
.additional::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .07; pointer-events: none; }
.additional .container { position: relative; }
.additional h2 { color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.additional-inner { max-width: 900px; }
.additional p { margin: 0; font-size: 1.1rem; }

/* Galleries */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gallery-tight { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--concrete-2); cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.tile:hover img { transform: scale(1.05); }
.tile-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 12px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: var(--white); font-weight: 500; font-size: .95rem; }
.tile.is-hidden { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { min-height: 44px; padding: 0 18px; border: 0; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; font: 500 .93rem var(--font-body); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip.is-active { background: var(--ink); color: var(--white); box-shadow: none; }
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile { border-radius: var(--r-sm); }
  .tile-caption { font-size: .82rem; padding: 24px 10px 8px; }
}

/* Why ACS band on category pages: a dark rounded panel with concrete grain */
.why-band { position: relative; background: var(--night); color: #a1a1a6; overflow: hidden; border-radius: var(--r-lg); margin: 0 clamp(8px, 1.5vw, 20px); }
.why-band::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .07; pointer-events: none; }
.why-band::after { content: ''; position: absolute; inset: auto -10% -50% 35%; height: 90%; background: radial-gradient(closest-side, rgba(140,198,0,.13), transparent); pointer-events: none; }
.why-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.why-band h2 { color: var(--white); margin: 0; }
.why-text p { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.5; color: #d2d2d7; margin: 0 0 .8em; }
.why-text p:last-child { margin: 0; }
@media (max-width: 760px) { .why-inner { grid-template-columns: 1fr; gap: 16px; } .why-band { border-radius: var(--r); } }

/* Spec list (carpark accessories) */
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 0; }
.spec-list > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: baseline; }
.spec-list dt { font-weight: 600; font-size: 1.1rem; letter-spacing: -.02em; color: var(--ink); }
.spec-list dt::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 10px; vertical-align: 2px; }
.spec-list dd { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .spec-list { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .spec-list > div { grid-template-columns: 1fr; gap: 2px; } }

/* CTA + form: a white card on a dark grained section, like the homepage */
.cta { position: relative; background: var(--night); border-radius: var(--r-lg); margin: 16px clamp(8px, 1.5vw, 20px); }
.cta::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .06; pointer-events: none; border-radius: inherit; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 5vw, 64px); box-shadow: 0 30px 80px rgba(0,0,0,.35); width: calc(100% - 2 * var(--gutter)); }
.cta-text p { font-size: 1.08rem; color: var(--muted); }
.cta-text a { font-weight: 500; color: var(--brand-deep); text-decoration: none; }
.cta-text a:hover { text-decoration: underline; }
.cta-email { margin-top: 1em; }
.cta-form { background: none; padding: 0; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cta-inner { border-radius: var(--r); } }

.contact-list { list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; border-radius: var(--r-sm); background: var(--concrete); }
.contact-list strong { font-weight: 600; color: var(--ink); }
.contact-list a { font-weight: 500; color: var(--brand-deep); text-decoration: none; white-space: nowrap; }
.contact-list a:hover { text-decoration: underline; }
.contact-role { color: var(--muted); font-weight: 400; margin-left: 4px; }
.contact-list-compact { margin: 0 0 1em; gap: 0; }
.contact-list-compact li { padding: 4px 0; background: none; border-radius: 0; }

.quote-form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 500; font-size: .88rem; color: #424245; }
.field em { color: var(--err); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid transparent; border-radius: var(--r-sm); background: var(--concrete); font: 400 1rem var(--font-body); color: var(--ink); transition: box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--brand-deep); box-shadow: 0 0 0 4px rgba(140,198,0,.28); }
.field .is-invalid { border-color: var(--err); background: #fff5f4; }
.quote-form .btn { min-height: 52px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.quote-form button[disabled] { opacity: .65; cursor: progress; }

/* Related services */
.related { background: var(--white); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.related-card { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--white); isolation: isolate; }
.related-media { position: absolute; inset: 0; z-index: -2; }
.related-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.related-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.62), rgba(0,0,0,0) 55%); }
.related-card:hover img { transform: scale(1.05); }
.related-body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 22px 24px; }
.related-body strong { font-size: 1.4rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.related-more { margin: 0; flex: none; padding: 7px 14px; border-radius: 999px; font-size: .85rem; color: var(--white); background: rgba(40,40,42,.45); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.related-more .icon { display: none; }

/* Projects */
.case { padding: clamp(64px, 8vw, 100px) 0; }
.case:nth-of-type(even) { background: var(--concrete); }
.case-head { max-width: 760px; margin-bottom: 28px; }
.case-head p:last-child { font-size: 1.08rem; color: var(--muted); margin: 0; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.jump a { padding: 8px 16px; border-radius: 999px; color: #d2d2d7; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); text-decoration: none; font-size: .92rem; font-weight: 500; transition: background .2s; }
.jump a:hover { background: rgba(255,255,255,.14); color: var(--white); }

.cta-band { position: relative; background: var(--night); color: var(--white); border-radius: var(--r-lg); margin: 0 clamp(8px, 1.5vw, 20px) 16px; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .07; pointer-events: none; }
.cta-band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0; }
.cta-band .btn-ghost { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }

/* About */
.sector-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.sector-list li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: var(--white); border-radius: var(--r-sm); font-weight: 500; color: var(--ink); }
.sector-list li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.sector-note { margin: 20px 0 0; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-card { position: relative; overflow: hidden; padding: 28px; background: var(--night); color: var(--white); border-radius: var(--r); }
.team-card::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .07; pointer-events: none; }
.team-card h3 { position: relative; color: var(--white); font-size: 2rem; margin: 0 0 .25em; }
.team-role { position: relative; margin: 0 0 .6em; font-weight: 500; font-size: .95rem; color: #b8e05a; }
.team-card a { position: relative; display: inline-flex; align-items: center; gap: 8px; color: #d2d2d7; text-decoration: none; font-weight: 500; }
.team-card a:hover { color: var(--brand); }
.team-note { margin-top: 24px; color: var(--muted); }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-grid > :first-child { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); box-shadow: inset 0 0 0 1px var(--line); }
.contact-aside h2 { font-size: 1.9rem; margin-bottom: 0; }
.contact-details { margin: 28px 0 0; display: grid; gap: 16px; }
.contact-details > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.contact-details dt { font-weight: 500; color: var(--muted); }
.contact-details dd { margin: 0; }
.contact-details a { font-weight: 500; color: var(--brand-deep); text-decoration: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer: dark, grained, rounded top, as on the homepage */
.site-footer { position: relative; background: var(--night); color: #8e8e93; font-size: .9rem; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.site-footer::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .05; pointer-events: none; border-radius: inherit; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1.1fr .8fr 1.3fr; gap: 32px; padding-top: 64px; padding-bottom: 40px; border-bottom: 1px solid #2a2a2c; }
.site-footer h3 { color: var(--white); font-size: .95rem; letter-spacing: -.01em; margin-bottom: .9em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: #d2d2d7; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.site-footer .contact-role { color: #8e8e93; }
.site-footer .contact-list strong { color: #d2d2d7; font-weight: 500; }
.site-footer .contact-list a { color: #d2d2d7; }
/* Footer uses the reversed (white wording) logo â€” see tools/prepare-logo.ps1 */
.brand-footer { display: inline-flex; margin-bottom: 16px; }
.brand-footer img { height: 44px; width: auto; }
.socials { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px !important; }
.footer-base { position: relative; padding-top: 20px; padding-bottom: 32px; font-size: .85rem; color: #8e8e93; }
.footer-base p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Tap-to-call bar: a floating glass pill on phones */
.call-bar { display: none; }
@media (max-width: 700px) {
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.7); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 10px 36px rgba(0,0,0,.18); }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; text-decoration: none; font-weight: 500; }
  .call-bar-call { color: var(--ink); background: rgba(0,0,0,.05); }
  .call-bar-call .icon { color: var(--brand-deep); }
  .call-bar-call small { display: none; }
  .call-bar-quote { background: var(--brand); color: var(--ink); }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .nav-open .call-bar { display: none; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(0,0,0,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: var(--r-sm); }
.lightbox figcaption { color: #d2d2d7; margin-top: 12px; text-align: center; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: var(--white); cursor: pointer; font-size: 2rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox { padding: 64px 8px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* "Did you know?" callout */
.tip-sec { padding: clamp(40px, 5vw, 64px) 0; }
.tip { position: relative; max-width: 920px; margin: 0 auto; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--sage); box-shadow: inset 0 0 0 1px rgba(140,198,0,.3); }
.tip-label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--white); font-weight: 600; font-size: .9rem; color: var(--brand-deep); }
.tip-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.tip h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); max-width: 22ch; }
.tip p { color: #424245; font-size: 1.05rem; }
.tip p:last-child { margin: 0; }

/* phones: keep each contact (name, role, number) on one line */
@media (max-width: 520px) {
  .cta-inner { padding: 22px 18px; }
  .contact-list li { align-items: center; gap: 10px; padding: 14px 16px; }
  .contact-who { white-space: nowrap; font-size: .95rem; }
  .contact-role { font-size: .85rem; }
  .contact-list a { font-size: .95rem; }
}

/* phones: the photo sits on its own at the top of each page, with the heading and button underneath it,
   so the text no longer covers the work. The call bar at the bottom already offers "Call Jeff". */
@media (max-width: 700px) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; inset: auto; z-index: 0; height: 50vh; height: 50svh; min-height: 300px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 72%, #111 100%); }
  .hero-inner { padding-top: 6px; padding-bottom: 30px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .hero-intro { font-size: 1rem; margin-bottom: 1.2em; }
  .hero-actions .btn-ghost { display: none; }
}
.split-media a { display: block; cursor: zoom-in; }
