/* WSB Contractors — site styles
   Layout idea: an architect's drawing sheet. Hairline grids, dimension strings and a title-block footer frame real project photography. */
:root {
  --paper: #ECEEEA;
  --paper-2: #E2E5E0;
  --paper-3: #D7DBD5;
  --ink: #14181A;
  --ink-2: #3A4245;
  --muted: #5F686B;
  --line: #C3C9C5;
  --accent: #2442C9;
  --accent-ink: #ffffff;
  --accent-soft: rgba(36, 66, 201, .09);
  --logo-filter: none;
  --band: #14181A;
  --band-fg: #ECEEEA;
  --band-muted: #9AA3A6;
  --band-line: #2E3538;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --max: 1280px;
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101315; --paper-2: #171B1E; --paper-3: #1E2327; --ink: #E6E9E5; --ink-2: #BEC5C2; --muted: #8C9598;
    --line: #2B3235; --accent: #8396FF; --accent-ink: #0B0F1A; --accent-soft: rgba(131, 150, 255, .12); --logo-filter: invert(1) brightness(1.6);
    --band: #E6E9E5; --band-fg: #101315; --band-muted: #4D5558; --band-line: #C4CAC6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #101315; --paper-2: #171B1E; --paper-3: #1E2327; --ink: #E6E9E5; --ink-2: #BEC5C2; --muted: #8C9598;
  --line: #2B3235; --accent: #8396FF; --accent-ink: #0B0F1A; --accent-soft: rgba(131, 150, 255, .12); --logo-filter: invert(1) brightness(1.6);
  --band: #E6E9E5; --band-fg: #101315; --band-muted: #4D5558; --band-line: #C4CAC6;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
@media (min-width: 900px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { left: 8px; }

/* type */
.label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; }
h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; font-stretch: 112%; line-height: 1; letter-spacing: -.02em; }
h3 { font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -.005em; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.prose { display: grid; gap: 16px; max-width: 64ch; color: var(--ink-2); }
.prose a, .ans a, .inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover, .ans a:hover { text-decoration-thickness: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; justify-content: center; font: 600 15px/1 var(--f-body); text-decoration: none; cursor: pointer;
  padding: 15px 20px; border-radius: 2px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn.light { background: #fff; color: #14181A; border-color: #fff; }
.btn.light:hover { background: #2442C9; border-color: #2442C9; color: #fff; }
.btn.glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn.glass:hover { background: #fff; color: #14181A; border-color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; margin-right: auto; }
.logo { display: block; height: 48px; width: auto; max-width: 100%; filter: var(--logo-filter); }
.logo-lg { height: auto; width: min(280px, 100%); margin-bottom: 6px; }
.brand { align-items: center; }
@media (max-width: 420px) { .brand .logo { height: 38px; } }
.brand span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav > a, .nav .dd > a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 8px 0; border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav .dd > a:hover, .nav a[aria-current="page"], .nav .dd.on > a { color: var(--ink); border-color: var(--accent); }
.dd { position: relative; }
.dd > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.dd-panel { position: absolute; left: -18px; top: calc(100% + 12px); min-width: 300px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.35); padding: 8px; display: grid; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-panel a { display: grid; gap: 2px; padding: 12px 12px; text-decoration: none; border-radius: 2px; }
.dd-panel a b { font-weight: 600; font-size: 15px; }
.dd-panel a span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.dd-panel a:hover, .dd-panel a[aria-current="page"] { background: var(--paper-2); }
.dd-panel a[aria-current="page"] b { color: var(--accent); }
.head-call { padding: 12px 16px; font-size: 14px; }
.head-call .num { font-family: var(--f-mono); font-weight: 500; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 11px 13px; border: 1px solid var(--line); border-radius: 2px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); background: var(--paper); border: 1px solid var(--line); padding: 8px; display: grid; width: min(320px, calc(100vw - 32px)); box-shadow: 0 18px 40px -20px rgba(0,0,0,.35); }
.menu-panel a { padding: 12px 10px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.menu-panel a.sub { padding-left: 24px; font-weight: 400; color: var(--ink-2); }
.menu-panel a:last-child { border-bottom: 0; }
.menu-panel a[aria-current="page"] { color: var(--accent); }
@media (max-width: 1020px) { .nav { display: none; } .menu { display: block; } .head-row { gap: 12px; } }
@media (max-width: 1020px) {
  .menu { position: static; }
  .menu[open] summary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .menu-panel { position: fixed; left: 0; right: 0; top: calc(72px + env(safe-area-inset-top, 0px)); width: auto; max-height: calc(100vh - 72px - env(safe-area-inset-top, 0px)); overflow-y: auto;
    border: 0; border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); border-radius: 0;
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
  .menu-panel a { padding: 15px 2px; font-size: 17px; }
  .menu-panel a.sub { padding-left: 18px; font-size: 16px; }
}
@media (max-width: 560px) { .head-call .txt, .brand span { display: none; } }

/* ---------- home hero ---------- */
.hero-photo { position: relative; height: clamp(600px, 88vh, 920px); overflow: hidden; color: #fff; background: #1a1f24; }
.hero-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; animation: settle 2.4s cubic-bezier(.2,.6,.2,1) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-photo .shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10,12,14,.38) 0%, rgba(10,12,14,0) 24%, rgba(10,12,14,.08) 50%, rgba(10,12,14,.8) 100%),
  linear-gradient(90deg, rgba(10,12,14,.66) 0%, rgba(10,12,14,.2) 52%, rgba(10,12,14,0) 74%); }
.hero-copy { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-block: 40px 72px; }
.on-img { color: rgba(255,255,255,.8); }
.h-big { display: block; font-family: var(--f-display); font-size: clamp(68px, 11vw, 168px); font-weight: 900; font-stretch: 125%; line-height: .84; letter-spacing: -.045em; color: #fff; margin-top: 22px; }
.h-big em { font-style: normal; color: #A9B8FF; }
.hero-photo h1 { margin-top: 26px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; font-stretch: 105%; line-height: 1.15; letter-spacing: -.01em; max-width: 26ch; }
.hero-photo .sub { margin-top: 14px; color: rgba(255,255,255,.86); max-width: 50ch; font-size: clamp(16px, 1.3vw, 18px); }
.hero-photo .cta-row { margin-top: 30px; }
@media (prefers-reduced-motion: reduce) { .hero-photo > img { animation: none; } }

/* home hero H1 */
.hero-photo h1.h-big { font-size: clamp(50px, 7.4vw, 118px); font-weight: 900; font-stretch: 122%; line-height: .9; letter-spacing: -.04em; max-width: 13ch; margin-top: 20px; }
/* text-only project card */
.proj.text { background: #14181A; }
.proj.text .cap { background: none; top: 0; align-content: end; padding-top: 32px; }
.proj.text::before { content: ""; position: absolute; right: 24px; top: 24px; width: 168px; height: 108px; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.14) 0 1px, transparent 1px 12px), repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 1px, transparent 1px 24px); }
.proj.text::after { content: ""; position: absolute; right: 24px; top: 24px; width: 168px; height: 108px; background-image: repeating-linear-gradient(90deg, transparent 0 12px, rgba(255,255,255,.14) 12px 13px, transparent 13px 24px); background-size: 24px 24px; background-position: 0 12px; }

/* ---------- inner page hero ---------- */
.p-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 20%, transparent 70%); }
.p-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; padding-block: 28px 72px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs .here { color: var(--ink); }
.p-hero h1 { font-size: clamp(38px, 4.3vw, 66px); font-weight: 900; font-stretch: 118%; line-height: .92; letter-spacing: -.035em; }
.p-hero h1 .accent { color: var(--accent); display: block; }
.p-hero .lede { margin-top: 26px; }
.p-hero .cta-row { margin-top: 32px; }
.p-hero figure { position: relative; margin: 0; aspect-ratio: 4 / 4.4; max-width: 100%; overflow: hidden; border-radius: 2px; background: var(--paper-3); }
.p-hero figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; animation: settle 2.2s cubic-bezier(.2,.6,.2,1) both; }
.p-hero .hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); }
.tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(12,14,16,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 7px 10px; border-radius: 2px; }
.tag i { width: 6px; height: 6px; border-radius: 50%; background: #9FB0FF; }
@media (max-width: 900px) {
  .p-hero-in { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 20px 48px; }
  .p-hero figure { aspect-ratio: 4 / 3; }
  .crumbs { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) { .p-hero figure img { animation: none; } }

/* facts strip */
.facts { border-bottom: 1px solid var(--line); background: var(--paper); }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-row > * { display: grid; gap: 4px; padding: 22px 20px 22px 0; align-content: start; }
.facts-row > * + * { padding-left: 20px; border-left: 1px solid var(--line); }
.facts-row b { font: 700 17px/1.25 var(--f-display); font-stretch: 105%; }
@media (max-width: 860px) {
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-row > *:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-row > *:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.creds .cred { text-decoration: none; color: inherit; }
.creds .cred b { font-size: 21px; font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; }
.creds .cred .sub { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.creds a.cred b { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.creds a.cred:hover b { text-decoration-color: var(--accent); }

/* sections */
section { padding-block: 112px; }
section.tight { padding-top: 0; }
section.alt { background: var(--paper-2); }
@media (max-width: 700px) { section { padding-block: 76px; } }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 72px; align-items: end; margin-bottom: 56px; }
.sec-head .label { display: block; margin-bottom: 18px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 40px; } }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 32px 80px; }
.split > div:first-child { align-self: start; }
.split .label { display: block; margin-bottom: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); border-left: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 16px; padding: 18px 18px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .25s; }
.svc:hover { background: var(--paper-2); }
.svc .code { display: flex; justify-content: space-between; }
.svc .ph { overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 2px; background: var(--paper-3); }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.2,.6,.2,1); }
.svc:hover .ph img { transform: scale(1.05); }
.svc p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.svc .more { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 8px; }
.svc .more span { transition: transform .2s; }
.svc:hover .more span { transform: translateX(4px); }
.svc-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-grid.two .svc { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); grid-template-rows: auto; column-gap: 24px; align-items: start; padding: 22px; }
.svc-grid.two .svc .ph { grid-row: 1 / span 4; aspect-ratio: 4 / 3.4; }
.svc-grid.two .svc .code, .svc-grid.two .svc h3, .svc-grid.two .svc p, .svc-grid.two .svc .more { grid-column: 2; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .svc-grid.two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-grid.two .svc { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .svc-grid.two .svc .ph { grid-row: auto; }
  .svc-grid.two .svc .code, .svc-grid.two .svc h3, .svc-grid.two .svc p, .svc-grid.two .svc .more { grid-column: 1; }
}

/* type rows */
.rows { border-top: 1.5px solid var(--ink); }
.row { display: grid; grid-template-columns: 90px minmax(0, .9fr) minmax(0, 1.4fr) 150px; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background .25s; }
.row:hover { background: linear-gradient(90deg, transparent, var(--paper-2) 25%, var(--paper-2) 75%, transparent); }
.dg { width: 100%; max-width: 150px; height: auto; justify-self: end; overflow: visible; }
.dg .ex { stroke: var(--ink); fill: none; stroke-width: 1.6; transition: stroke .25s; }
.dg .pr { stroke: var(--accent); fill: none; stroke-width: 2.2; stroke-linejoin: round; }
.dg .pf { fill: var(--accent-soft); stroke: none; }
.dg .g { stroke: var(--ink); stroke-width: 2.2; }
.dg .d { stroke-dasharray: 4 3; }
.dg .dm { stroke: var(--muted); fill: none; stroke-width: 1; stroke-dasharray: 2 3; }
.dg text { font-family: var(--f-mono); font-size: 7.5px; letter-spacing: .08em; fill: var(--muted); }
.row:hover .dg .ex { stroke: var(--accent); }
.row .code { font-family: var(--f-mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.row h3 { font-size: clamp(22px, 2.2vw, 28px); font-stretch: 108%; font-weight: 800; letter-spacing: -.015em; }
.row p { color: var(--ink-2); font-size: 16.5px; }
.row p a { color: var(--accent); }
.rows-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-top: 28px; }
.rows-foot p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .row { grid-template-columns: 70px minmax(0, 1fr) 110px; } .row p { grid-column: 2 / 4; } .row .dg { grid-row: 1; grid-column: 3; } }
@media (max-width: 560px) { .row { grid-template-columns: minmax(0, 1fr) 96px; gap: 10px 16px; } .row .code { grid-column: 1; } .row h3 { grid-column: 1; } .row p { grid-column: 1 / -1; } .row .dg { grid-column: 2; grid-row: 1 / span 2; } }

/* featured projects */
.projects { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 16px; }
.projects.mix { grid-template-columns: repeat(6, minmax(0, 1fr)); } .projects.mix > * { grid-column: span 2; } .projects.mix > :nth-child(-n+2) { grid-column: span 3; }
.proj { position: relative; overflow: hidden; display: block; color: #fff; text-decoration: none; margin: 0; border-radius: 2px; min-height: 480px; background: #1a1f24; }
.proj > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; transition: transform 1.1s cubic-bezier(.2,.6,.2,1); }
.proj:hover > img { transform: scale(1.04); }
.proj .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 26px 24px; background: linear-gradient(180deg, transparent, rgba(8,10,12,.86)); display: grid; gap: 10px; }
.proj .cap b { font: 800 clamp(22px, 2.2vw, 30px)/1.08 var(--f-display); font-stretch: 110%; letter-spacing: -.015em; }
.proj .cap p { font-size: 15.5px; color: rgba(255,255,255,.84); max-width: 46ch; }
.proj .cap .soon { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.62); }
@media (max-width: 860px) { .projects, .projects.mix { grid-template-columns: minmax(0, 1fr); } .projects.mix > * { grid-column: auto; } .proj { min-height: 380px; } }

/* project log */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.fchip { font: 500 14.5px/1 var(--f-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 10px 16px; border-radius: 99px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.fchip:hover { border-color: var(--ink); }
.fchip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.logs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.logc { display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; }
.logc .ph { aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; border-radius: 2px; background: var(--paper-3); margin-bottom: 6px; }
.logc .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.2,.6,.2,1); }
a.logc:hover .ph img { transform: scale(1.04); }
.logc .ph-empty { display: grid; place-items: center; background: repeating-linear-gradient(135deg, transparent 0 12px, var(--accent-soft) 12px 13px), var(--paper-3); }
.logc h3 { font-size: 21px; font-stretch: 105%; }
.logc p { color: var(--ink-2); font-size: 15.5px; }
.logc .more { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.logc .more a { color: inherit; text-decoration: none; }
a.logc:hover h3 { color: var(--accent); }
.log-empty { color: var(--muted); margin-top: 8px; }
.pgal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pgal figure { position: relative; margin: 0; aspect-ratio: 3 / 4; max-width: 100%; overflow: hidden; border-radius: 2px; background: var(--paper-3); }
.pgal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
@media (max-width: 900px) { .logs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .logs { grid-template-columns: minmax(0, 1fr); } .pgal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pgal figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 4.4; } }

.wide-fig { position: relative; margin: 0 0 8px; aspect-ratio: 16 / 7; max-width: 100%; overflow: hidden; border-radius: 2px; background: var(--paper-3); }
.wide-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
@media (max-width: 600px) { .wide-fig { aspect-ratio: 4 / 3; } }

/* case study */
.case-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: 40px; }
.case-top h2 { font-size: clamp(30px, 3.6vw, 48px); }
.case-top .lede { margin-top: 20px; }
.spec { display: grid; border-top: 1.5px solid var(--ink); margin: 0; }
.spec div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.spec dd { margin: 0; font-weight: 600; }
.case-gallery { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: 280px 280px; gap: 14px; }
.case-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 2px; background: var(--paper-3); }
.case-gallery figure:first-child { grid-row: span 2; }
.case-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; transition: transform 1.1s cubic-bezier(.2,.6,.2,1); }
.case-gallery figure:hover img { transform: scale(1.03); }
.case-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 14px; }
.case-stats div { padding: 20px 18px; display: grid; gap: 4px; }
.case-stats div + div { border-left: 1px solid var(--line); }
.case-stats b { font: 800 28px/1 var(--f-display); font-stretch: 115%; letter-spacing: -.02em; color: var(--accent); }
.case-stats span { font-size: 14px; color: var(--ink-2); }
.case-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1.5px solid var(--ink); }
.case-cols > div { padding: 26px 28px 8px 0; display: grid; gap: 14px; align-content: start; }
.case-cols > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.case-cols p { color: var(--ink-2); font-size: 16px; }
.case-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.case-cols li { color: var(--ink-2); font-size: 16px; padding-left: 18px; position: relative; }
.case-cols li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1.5px; background: var(--accent); }
@media (max-width: 960px) {
  .case-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .case-cols { grid-template-columns: minmax(0, 1fr); }
  .case-cols > div, .case-cols > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .case-gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 300px 170px; }
  .case-gallery figure:first-child { grid-row: auto; grid-column: 1 / -1; }
  .case-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-stats div:nth-child(3) { border-left: 0; }
  .case-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* quote */
.quote { margin: 56px 0 0; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 20px; }
.quote::before { content: "\201C"; font: 900 92px/.8 var(--f-display); color: var(--accent); }
.quote p { font: 600 clamp(22px, 2.5vw, 32px)/1.3 var(--f-display); letter-spacing: -.01em; max-width: 40ch; text-wrap: pretty; }
.quote cite { display: block; margin-top: 18px; font-style: normal; }
@media (max-width: 600px) { .quote { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* placeholder blocks */
.ph-block { border: 1.5px dashed var(--line); border-radius: 2px; padding: 26px; display: grid; gap: 8px; align-content: center; justify-items: start; background: repeating-linear-gradient(135deg, transparent 0 12px, var(--accent-soft) 12px 13px); }
.ph-block b { font-weight: 600; }
.ph-block span { color: var(--muted); font-size: 15px; max-width: 52ch; }

/* reviews */
.reviews { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.reviews .quote { margin: 0; }
@media (max-width: 900px) { .reviews { grid-template-columns: minmax(0, 1fr); } }

/* dark band */
.band { background: var(--band); color: var(--band-fg); }
.band .label { color: var(--band-muted); }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.portrait { position: relative; margin: 0; aspect-ratio: 4 / 4.6; max-width: 100%; overflow: hidden; border-radius: 2px; background: #2a2f33; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; max-width: none; }
.about-copy { display: grid; gap: 18px; }
.about-copy blockquote { margin: 0 0 8px; font: 700 clamp(28px, 3.2vw, 44px)/1.08 var(--f-display); font-stretch: 108%; letter-spacing: -.02em; text-wrap: balance; }
.about-copy blockquote::before { content: "\201C"; display: block; color: #9FB0FF; font-size: 1.6em; line-height: .6; margin-bottom: 10px; }
.about-copy p { color: var(--band-muted); font-size: 17px; max-width: 58ch; }
.band .btn { background: var(--band-fg); color: var(--band); border-color: var(--band-fg); }
.band .btn:hover { background: #2442C9; border-color: #2442C9; color: #fff; }
.band .btn.ghost { background: transparent; color: var(--band-fg); border-color: var(--band-line); }
.band .btn.ghost:hover { background: var(--band-fg); color: var(--band); }
@media (max-width: 900px) { .about { grid-template-columns: minmax(0, 1fr); gap: 40px; } .portrait { aspect-ratio: 4 / 3.4; } }

/* values (about page) */
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); border-left: 1px solid var(--line); }
.values > div { padding: 28px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.values .n { font-family: var(--f-mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.values p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .values { grid-template-columns: minmax(0, 1fr); } }

/* process */
.prog { border-top: 1.5px solid var(--ink); }
.prog-row { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.prog-row .n { font: 800 36px/1 var(--f-display); font-stretch: 120%; color: var(--accent); }
.prog-row h3 { margin-bottom: 10px; }
.prog-row .prose { gap: 10px; font-size: 16px; }
.bar-track { position: relative; height: 28px; margin-top: 4px; background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12.5%); }
.bar { position: absolute; top: 6px; height: 16px; background: var(--accent); border-radius: 1px; }
.bar.s1 { left: 0; width: 20%; } .bar.s2 { left: 16%; width: 24%; } .bar.s3 { left: 36%; width: 48%; } .bar.s4 { left: 82%; width: 18%; }
.prog-axis { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 28px; padding-top: 12px; }
.prog-axis .label:last-child { display: flex; justify-content: space-between; }
@media (max-width: 760px) {
  .prog { border-top: 0; }
  .prog-row { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; border-bottom: 0; padding: 0 0 32px; position: relative; }
  .prog-row::before { content: ""; position: absolute; left: 13px; top: 44px; bottom: 6px; width: 1.5px; background: var(--line); }
  .prog-row:nth-last-child(2)::before { display: none; }
  .prog-row .n { font-size: 28px; }
  .prog-row .bar-track, .prog-axis { display: none; }
}

/* areas */
.areas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.town-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.town-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.town-list li:nth-child(odd) { padding-right: 18px; }
.town-list li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.town-list .label { font-size: 11px; padding-top: 4px; }
.areas-note { margin-top: 22px; color: var(--muted); font-size: 15.5px; }
.map { margin: 0; min-width: 0; }
.map svg { width: 100%; height: auto; display: block; }
.map .coast { stroke: var(--ink-2); stroke-width: 1.4; fill: none; }
.map .sea { fill: var(--accent-soft); }
.map .pin { fill: var(--accent); }
.map .pin-ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .45; }
.map .proj-pin { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; }
.map text { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; fill: var(--muted); }
.map text.ink { fill: var(--ink); }
.map-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; border-top: 1.5px solid var(--ink); padding-top: 10px; margin-top: 6px; }
.map-legend span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: inline-block; }
.map-legend i.o { background: var(--paper); border: 1.6px solid var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14.5px; font-weight: 500; padding: 9px 15px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); }
@media (max-width: 900px) { .areas { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* insta */
.insta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 56px; align-items: center; }
.insta-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.insta-tiles a { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 2px; display: block; background: var(--paper-3); }
.insta-tiles img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.6,.2,1), filter .3s; }
.insta-tiles a:hover img { transform: scale(1.06); }
.handle { font-family: var(--f-mono); font-size: 14px; color: var(--accent); margin-top: 16px; display: block; overflow-wrap: anywhere; }
@media (max-width: 900px) { .insta { grid-template-columns: minmax(0, 1fr); gap: 32px; } .insta-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* faq */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 64px; }
.faq-side { position: sticky; top: 112px; align-self: start; display: grid; gap: 18px; }
.faq-side .btn { justify-self: start; }
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 30px; gap: 20px; align-items: center; padding: 24px 0; font: 600 clamp(17px, 1.6vw, 20px)/1.35 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: inherit; }
.pm { position: relative; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; transition: border-color .2s, background .2s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s; }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { background: var(--accent); border-color: var(--accent); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: var(--accent-ink); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover .pm { border-color: var(--ink); }
.ans { padding: 0 50px 28px 0; display: grid; gap: 12px; color: var(--ink-2); max-width: 72ch; }
.ans p:first-child { color: var(--ink); }
.ans ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group > .label { display: block; margin-bottom: 14px; }
.faq-group h2 { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 22px; }
.faq-nav { display: grid; border-top: 1.5px solid var(--ink); }
.faq-nav a { text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.faq-nav a:hover { color: var(--accent); }
.faq-nav a span { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } .faq-side { position: static; } .ans { padding-right: 0; } }

/* cta band */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.cta-band h2 { font-size: clamp(40px, 5.6vw, 80px); font-stretch: 120%; font-weight: 900; line-height: .92; letter-spacing: -.035em; }
.cta-band .lede { color: var(--band-muted); margin-top: 24px; }
.cta-band .cta-row { margin-top: 32px; }
.lines { display: grid; border-top: 1px solid var(--band-line); }
.lines div { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--band-line); }
.lines .val { font: 600 clamp(18px, 2vw, 24px)/1.2 var(--f-display); font-stretch: 105%; user-select: all; overflow-wrap: anywhere; }
.copy { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: transparent; color: inherit; border: 1px solid var(--band-line); padding: 8px 10px; cursor: pointer; border-radius: 2px; }
.copy:hover { border-color: currentColor; }
.lines-note { margin-top: 16px; color: var(--band-muted); font-size: 14.5px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 480px) { .lines div { grid-template-columns: 52px minmax(0, 1fr) auto; } .lines .val { font-size: 16px; overflow-wrap: normal; word-break: normal; } }

/* contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 72px; align-items: start; }
.contact-grid .side { position: sticky; top: 112px; display: grid; gap: 22px; }
form.enq { display: grid; gap: 18px; padding: 32px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 2px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field label .opt { text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 13px 14px; border-radius: 2px; width: 100%; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.drop { border: 1.5px dashed var(--line); background: var(--paper); padding: 18px; border-radius: 2px; display: grid; gap: 4px; cursor: pointer; }
.drop:hover { border-color: var(--accent); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.field label.drop { font: 400 15px/1.4 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink); }
.drop b { font-weight: 600; font-size: 15px; }
.drop span { font-size: 14px; color: var(--muted); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form-note { font-size: 14.5px; color: var(--muted); min-height: 1.4em; }
.form-note.ok { color: var(--accent); }
.steps { display: grid; border-top: 1.5px solid var(--ink); }
.steps > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps .n { font: 800 28px/1 var(--f-display); font-stretch: 120%; color: var(--accent); }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 15.5px; }
.lines.light { border-top-color: var(--line); }
.lines.light div { border-bottom-color: var(--line); }
.lines.light .copy { border-color: var(--line); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; } .contact-grid .side { position: static; } form.enq { padding: 22px; } }
@media (max-width: 520px) { .row2 { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.titleblock { border-top: 1.5px solid var(--ink); }
.tb { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; border-left: 1px solid var(--line); }
.tb > div { padding: 20px 20px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.tb .big { font: 900 40px/1 var(--f-display); font-stretch: 125%; letter-spacing: -.03em; }
.tb a { text-decoration: none; }
.tb a:hover { color: var(--accent); }
.tb .links { display: grid; gap: 6px; font-size: 15px; }
.tb .contact-lines { display: grid; gap: 4px; font-size: 15px; }
.tb-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 18px 32px; }
.tb-foot a { text-decoration: none; }
@media (max-width: 900px) { .tb { grid-template-columns: 1fr 1fr; } .tb > div:first-child { grid-column: 1 / -1; } }

/* schema drawer */
.schema-btn { position: fixed; z-index: 70; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  background: #2442C9; color: #fff; border: 0; padding: 12px 16px; border-radius: 99px; cursor: pointer; box-shadow: 0 12px 30px -12px rgba(36, 66, 201, .7); }
.schema-btn .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .schema-btn .dot { animation: none; } }
.drawer { position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(580px, 100%); background: var(--band); color: var(--band-fg);
  padding: calc(24px + env(safe-area-inset-top, 0px)) calc(24px + env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) 24px;
  display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); gap: 16px; box-shadow: -30px 0 60px -30px rgba(0,0,0,.5); }
.drawer-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.drawer h3 { font-size: 24px; font-stretch: 110%; }
.drawer p { color: var(--band-muted); font-size: 15px; }
.drawer .kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.drawer .kinds span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; padding: 5px 9px; border: 1px solid var(--band-line); border-radius: 99px; }
.drawer pre { margin: 0; overflow: auto; font: 12px/1.6 var(--f-mono); color: var(--band-fg); background: color-mix(in srgb, var(--band-fg) 6%, transparent); padding: 16px; border: 1px solid var(--band-line); white-space: pre; }
.drawer pre .k { color: #7F93FF; }
.close { background: transparent; border: 1px solid var(--band-line); color: var(--band-fg); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 18px; flex: none; }
.close:hover { border-color: var(--band-fg); }

/* CMS page builder: photo and text */
.it-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.it-split.rev .it-fig { order: 2; }
.it-fig { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--paper-3); }
.it-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.it-split .label { display: block; margin-bottom: 14px; }
.it-split h2 { margin-bottom: 18px; }
@media (max-width: 800px) { .it-split { grid-template-columns: minmax(0, 1fr); } .it-split.rev .it-fig { order: 0; } }

/* Legal pages */
.legal-hero { padding-block: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 48px); }
.legal-hero h1 { margin-top: 18px; }
.prose.legal h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 18px; color: var(--ink); }
.prose.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }

/* Contact form spam trap */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Google reviews */
.reviews:not(.has-g) { grid-template-columns: minmax(0, 1fr); }
.g-reviews { border: 1px solid var(--line); border-radius: 2px; padding: 26px; display: grid; gap: 18px; align-content: start; background: var(--paper); }
.g-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.g-top .label { width: 100%; }
.g-top b { font-family: var(--f-display); font-size: 34px; line-height: 1; }
.g-count { color: var(--muted); font-size: 14px; }
.stars { color: #e7a817; letter-spacing: 2px; font-size: 15px; }
.stars .off { color: var(--line); }
.g-rev { margin: 0; display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.g-rev blockquote { margin: 0; font-size: 15px; color: var(--ink-2); }
.g-rev figcaption { font-size: 13px; color: var(--muted); }
.g-rev a, .g-more { color: var(--accent); }
.g-more { font-size: 14px; }
/* reviews: quote on top, Google reviews in a row below */
.reviews.has-g { grid-template-columns: minmax(0, 1fr); gap: 36px; }
.reviews.has-g .quote p { max-width: 52ch; }
.has-g .g-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 32px; padding: 28px 30px; }
.has-g .g-top { grid-column: 1 / -1; padding-bottom: 4px; }
.has-g .g-top .label { width: auto; margin-right: 8px; }
.has-g .g-more { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 900px) { .has-g .g-reviews { grid-template-columns: minmax(0, 1fr); } }
.g-src { display: inline-flex; align-items: center; gap: 8px; margin-right: 10px; }
.g-src .label { width: auto; }
.g-logo { display: block; height: 18px; width: auto; }
.g-rev figcaption { display: flex; align-items: center; gap: 8px; }
.g-av { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.g-rev a.g-when { color: var(--muted); text-decoration: none; }
.g-rev a.g-when:hover { text-decoration: underline; }
/* click-to-call */
.lines a.val, .tb .contact-lines a { color: inherit; text-decoration: none; }
.lines a.val:hover, .tb .contact-lines a:hover { text-decoration: underline; text-underline-offset: 3px; }
a.tel { color: inherit; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* Cookie choice banner (analytics.js) */
#cookie-bar { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; display: grid; gap: 14px; padding: 18px 20px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0,0,0,.18); font: 400 15px/1.5 var(--f-body); }
#cookie-bar p { margin: 0; }
#cookie-bar a { color: inherit; text-decoration: underline; }
#cookie-bar > div { display: flex; gap: 10px; flex-wrap: wrap; }
#cookie-bar .btn { cursor: pointer; }
