/* Colombo Property Services — site styles
   Layout: white pages with full-width navy brand bands; content in a 1200px column.
   Brand: navy wordmark + teal→blue→purple bird gradient (gradient used only as a thin rule). */
:root {
  --navy: #15244A;        /* wordmark navy: headings, dark bands, primary buttons */
  --navy-deep: #0E1A38;   /* top bar, footer */
  --navy-raised: #1E2F5C; /* panels on navy */
  --navy-line: #2C3B66;
  --teal: #1FBCC4;        /* bird teal: accent on navy, button fill */
  --teal-ink: #0B7F86;    /* teal dark enough for text on white */
  --teal-tint: #E3F6F7;
  --purple-ink: #6B4FA0;
  --ink: #15244A;
  --muted: #4A5670;
  --on-navy: #FFFFFF;
  --on-navy-muted: #C3CCE0;
  --paper: #FFFFFF;
  --mist: #F1F6F8;
  --line: #E1E8EE;
  --field: #B5C3CF;
  --brand-rule: linear-gradient(90deg, #1FBCC4, #4C93BD 55%, #8269AD);

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;

  --step-eyebrow: 0.8125rem;
  --step-small: 0.9375rem;
  --step-body: 1.0625rem;
  --step-lead: 1.1875rem;
  --step-h3: 1.25rem;
  --step-h2: clamp(1.875rem, 3.4vw, 2.75rem);
  --step-h1: clamp(2.25rem, 5vw, 3.75rem);

  --radius: 16px;
  --radius-lg: 20px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--teal-ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-h1); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: var(--step-h2); line-height: 1.15; }
h3 { font-size: var(--step-h3); line-height: 1.3; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 16px; }

/* Layout */
.wrap { max-width: 1200px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.wrap > * { min-width: 0; }
.section { padding-block: clamp(64px, 9vw, 104px); }
.section--tight { padding-block: clamp(40px, 6vw, 64px); }
.band-navy { background: var(--navy); color: var(--on-navy); }
.band-navy a:not(.btn) { color: var(--on-navy); }
.band-mist { background: var(--mist); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(36px, 6vw, 64px); align-items: center; }
.split--top { align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.section-head { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; }
.section-head .stack { max-width: 660px; }

.eyebrow { font-family: var(--font-display); font-size: var(--step-eyebrow); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-ink); }
.band-navy .eyebrow { color: var(--teal); }
.lead { font-size: var(--step-lead); color: var(--muted); max-width: 60ch; }
.band-navy .lead, .band-navy .muted { color: var(--on-navy-muted); }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: var(--on-navy); }
.btn--primary:hover { background: var(--navy-deep); color: var(--on-navy); }
.btn--accent { background: var(--teal); color: var(--navy); }
.btn--accent:hover { background: #3FCAD1; color: var(--navy); }
.btn--ghost { color: var(--on-navy); border-color: #5A6A92; background: transparent; }
.btn--ghost:hover { color: var(--on-navy); border-color: var(--on-navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-family: var(--font-display); font-weight: 700; font-size: var(--step-small); text-decoration: none; color: var(--teal-ink); }
.text-link:hover { text-decoration: underline; }

/* Top bar + header */
.topbar { background: var(--navy-deep); color: var(--on-navy-muted); font-size: 0.875rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 9px; }
.topbar a { color: var(--on-navy); text-decoration: none; }
.topbar span { display: inline-flex; gap: 20px; flex-wrap: wrap; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.site-header::after { content: ""; display: block; height: 4px; background: var(--brand-rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 58px; height: 40px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--font-display); }
.brand-text b { font-weight: 700; font-size: 1.375rem; letter-spacing: 0.06em; }
.brand-text small { font-size: 0.65rem; letter-spacing: 0.32em; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; }
.nav a { text-decoration: none; padding-block: 10px; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--teal); }
.header-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.header-phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; min-height: 44px; min-width: 44px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; cursor: pointer; align-items: center; gap: 8px; }
@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; }
  .nav, .header-cta { display: none; width: 100%; }
  .site-header.open .nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header.open .nav a { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .site-header.open .header-cta { display: flex; padding-bottom: 8px; }
}

/* Hero */
.hero { background: var(--navy); color: var(--on-navy); overflow: hidden; }
.hero .split { padding-block: clamp(56px, 8vw, 96px); }
.hero h1 { color: var(--on-navy); }
.hero .lead { color: var(--on-navy-muted); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 18px; border-top: 1px solid var(--navy-line); color: var(--on-navy-muted); font-size: var(--step-small); }
.hero-facts strong { color: var(--on-navy); font-family: var(--font-display); font-size: 1.375rem; margin-right: 6px; }
.hero-media { position: relative; }
.callout { position: absolute; left: -12px; bottom: 24px; background: var(--paper); color: var(--ink); border-radius: 14px; padding: 16px 20px; box-shadow: 0 16px 40px rgba(5,12,32,.35); display: flex; gap: 14px; align-items: center; max-width: 300px; }
.callout-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--teal-tint); display: flex; align-items: center; justify-content: center; color: var(--teal-ink); }
.callout small { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.callout b { font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.3; }
@media (max-width: 520px) { .callout { position: static; margin-top: -40px; margin-inline: 12px; } }

.page-hero { background: var(--navy); color: var(--on-navy); }
.page-hero .wrap { padding-block: clamp(48px, 7vw, 80px); display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { color: var(--on-navy); max-width: 22ch; }
.page-hero .lead { color: var(--on-navy-muted); }

/* Photo placeholders — replace each with <img src="assets/..." alt="..."> */
.photo { border-radius: var(--radius-lg); background: var(--mist); border: 1px dashed var(--field); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; color: var(--muted); font-size: var(--step-small); min-height: 260px; width: 100%; }
.photo::before { content: ""; width: 72px; height: 50px; background: url("assets/colombo-bird.svg") center / contain no-repeat; opacity: .55; }
.photo--dark { background: var(--navy-raised); border-color: #4A5A84; color: #A9B4CF; }
.photo--tall { min-height: 440px; }
img.photo-img { width: 100%; height: auto; border-radius: var(--radius-lg); object-fit: cover; }
img.photo-img.work-photo { height: 230px; object-position: center 35%; }
.grid-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Before / after comparison */
.feature-work { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; margin-bottom: 56px; }
.feature-work > * { min-width: 0; }
.compare { position: relative; aspect-ratio: 3 / 4; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--line); box-shadow: 0 20px 50px rgba(21, 36, 74, .18); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-label { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; pointer-events: none; }
.compare-label--before { left: 16px; background: var(--paper); color: var(--ink); }
.compare-label--after { right: 16px; background: var(--navy); color: var(--on-navy); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--paper); pointer-events: none; }
.compare-handle > span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--teal); color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(5, 12, 32, .3); }
.compare-handle svg { width: 24px; height: 24px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: col-resize; touch-action: pan-y; }
.compare:has(.compare-range:focus-visible) .compare-handle > span { outline: 3px solid var(--paper); outline-offset: 2px; }

/* Trust strip */
.trust .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: space-between; padding-block: 32px; }
.trust span { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }

/* Cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
a.card { text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
a.card:hover { border-color: var(--teal); transform: translateY(-2px); color: var(--ink); }
.card p { color: var(--muted); font-size: 1rem; }
.card .more { margin-top: auto; padding-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; color: var(--teal-ink); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-tint); color: var(--teal-ink); display: flex; align-items: center; justify-content: center; }
.icon svg { width: 22px; height: 22px; }
.panel { background: var(--navy-raised); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.panel h3 { color: var(--on-navy); font-size: 1.125rem; }
.panel p { color: var(--on-navy-muted); font-size: 1rem; }

/* Steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; padding-top: 22px; border-top: 2px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 700; color: var(--purple-ink); font-size: 0.9375rem; }
.steps p { color: var(--muted); font-size: 1rem; }

/* Work */
.work-item { display: flex; flex-direction: column; gap: 10px; }
.work-item .photo { min-height: 230px; }
.tag { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-ink); }

/* Quote */
.quote { margin: 0; background: var(--mist); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; line-height: 1.45; }
.quote figcaption { font-size: var(--step-small); color: var(--muted); }

/* CTA band (light, so the footer swoosh reads like the business card) */
.cta-band { background: var(--mist); color: var(--ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding-block: clamp(48px, 6vw, 72px); }
.cta-band h2 { max-width: 20ch; }
.cta-band .btn--ghost { color: var(--ink); border-color: var(--field); }
.cta-band .btn--ghost:hover { color: var(--ink); border-color: var(--ink); }

/* Business-card swoosh: teal band, a thin gap, then navy */
:root { --swoosh-h: clamp(44px, 7vw, 110px); }
.swoosh { display: block; width: 100%; height: var(--swoosh-h); }
.swoosh-teal { fill: var(--teal); }
.has-swoosh { position: relative; padding-bottom: var(--swoosh-h); }
.has-swoosh .swoosh { position: absolute; left: 0; right: 0; bottom: -1px; }
.next-paper .swoosh-fill { fill: var(--paper); }
.next-mist .swoosh-fill { fill: var(--mist); }
.swoosh--footer { position: relative; margin-top: calc(-1 * var(--swoosh-h)); margin-bottom: -1px; }
.swoosh--footer .swoosh-fill { fill: var(--navy-deep); }
main > section:last-of-type { padding-bottom: var(--swoosh-h); }
main > section.section:last-of-type { padding-bottom: calc(clamp(64px, 9vw, 104px) + var(--swoosh-h)); }

/* Service detail */
.service-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.service-index { flex: 1 1 220px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 110px); display: flex; flex-direction: column; gap: 2px; }
.service-index a { text-decoration: none; padding: 9px 14px; border-radius: 10px; font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; }
.service-index a:hover { background: var(--mist); }
.service-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.service { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; scroll-margin-top: 120px; }
.service .icon { grid-row: span 2; }
.service ul { grid-column: 2; margin: 12px 0 0; padding-left: 1.1em; color: var(--muted); columns: 2 220px; column-gap: 32px; }
.service li { margin-bottom: 6px; break-inside: avoid; }
.service p { color: var(--muted); }
@media (max-width: 760px) { .service-index { position: static; flex-direction: row; flex-wrap: wrap; } .service { grid-template-columns: 1fr; } .service .icon { grid-row: auto; } .service ul { grid-column: 1; } }

/* Contact */
.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-list small { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-list .big { font-family: var(--font-display); font-weight: 700; font-size: 1.3125rem; text-decoration: none; word-break: break-word; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: var(--step-small); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--paper); padding: 12px 14px; border: 1px solid var(--field); border-radius: 10px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--teal); outline-offset: 0; border-color: var(--teal-ink); }
.form-note { font-size: 0.875rem; color: var(--muted); }
.form-status { font-weight: 600; padding: 14px 16px; border-radius: 10px; background: var(--teal-tint); color: var(--ink); }
.form-status.error { background: #FBEAEA; }
.hp { position: absolute; left: -9999px; }
.emergency { background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.emergency b { font-family: var(--font-display); font-size: 1.125rem; }
.emergency p { color: var(--on-navy-muted); font-size: 1rem; }

.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checklist svg { width: 22px; height: 22px; color: var(--teal-ink); margin-top: 2px; }
.band-navy .checklist svg { color: var(--teal); }

/* Footer */
.site-footer { color: #A9B4CF; font-size: var(--step-small); position: relative; }
.footer-body { background: var(--navy-deep); }
.footer-tagline { font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; color: var(--teal); line-height: 1.5; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 36px; padding-block: 56px 36px; }
.site-footer h3 { font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-navy); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #D5DCEB; text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.site-footer .brand { color: var(--on-navy); }
.footer-base { border-top: 1px solid var(--navy-line); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Project feature with photo gallery */
.project { display: flex; flex-direction: column; gap: 24px; padding-top: 56px; margin-top: 8px; border-top: 1px solid var(--line); }
.project-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 24px 64px; align-items: end; margin-bottom: 12px; }
.project-head > * { min-width: 0; }
.project-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: var(--step-small); }
.project-after { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; height: clamp(440px, 56vw, 720px); }
.project-after .zoom:first-child { grid-row: span 2; }
.project-during { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 14px; }
.project-during figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.project-during .zoom { aspect-ratio: 3 / 4; }
.project-during figcaption { font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; }
@media (max-width: 700px) {
  .project-after { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .project-after .zoom:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 5; }
  .project-after .zoom { aspect-ratio: 3 / 4; }
  .project-during { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.zoom { display: block; position: relative; width: 100%; height: 100%; max-width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--line); cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.zoom:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 18, 40, .88); }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; width: auto; height: auto; margin-inline: auto; border-radius: 12px; }
.lightbox-caption { color: var(--on-navy); text-align: center; padding-top: 12px; font-family: var(--font-display); font-weight: 600; }
.lightbox-close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.lightbox-close svg { width: 20px; height: 20px; }
@media (max-width: 520px) { .lightbox-close { top: 8px; right: 8px; } }
.project-after .zoom:first-child img { object-position: center 20%; }

.hero-photo { aspect-ratio: 1 / 1; max-width: 100%; box-shadow: 0 24px 60px rgba(5, 12, 32, .35); }
img.photo-img.portrait { aspect-ratio: 4 / 5; max-width: min(100%, 340px); justify-self: center; margin-inline: auto; box-shadow: 0 14px 36px rgba(21, 36, 74, .14); }

/* Long-form text (privacy notice) */
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 1.5rem; margin-top: 20px; }
.prose ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.prose a { color: var(--teal-ink); }
.footer-base a { color: #D5DCEB; }

/* Highlight strip (mould remediation on the homepage) */
.feature-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--teal-tint); border: 1px solid #C7ECEE; }
.icon--lg { width: 64px; height: 64px; border-radius: 18px; background: var(--paper); flex: none; }
.icon--lg svg { width: 32px; height: 32px; }
.topbar-phone { font-weight: 700; }

/* Before / after pairs */
.pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.pair-item { margin: 0; position: relative; }
.pair-item .zoom { aspect-ratio: 3 / 4; }
.pairs--wide .zoom { aspect-ratio: 4 / 3; }
.pairs--wide .pair-item:last-child img { object-position: center 70%; }
.pair-chip { position: absolute; z-index: 1; top: 14px; left: 14px; border: 1px solid var(--line); }
.feature-work + .project, .project-first > .project { margin-top: 0; }
.project-first > .project { border-top: 0; padding-top: 0; margin-bottom: 56px; }
.pair-chip { right: auto; }

/* Mid-size screens (small laptops): tighter header so the full menu stays on one line */
@media (min-width: 1001px) and (max-width: 1240px) {
  .site-header .wrap { gap: 12px 18px; }
  .nav { gap: 6px 16px; font-size: 0.875rem; }
  .brand img { width: 50px; height: 34px; }
  .brand-text b { font-size: 1.2rem; }
  .brand-text small { font-size: 0.6rem; letter-spacing: 0.28em; }
  .header-cta .btn { padding: 10px 18px; font-size: 0.9375rem; min-height: 44px; }
}

.project-during--wide .zoom { aspect-ratio: 4 / 3; }
@media (max-width: 700px) { .project-during--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Four finished photos: large left, wide top right, two small bottom right */
.project-after--four { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.project-after--four .zoom:nth-child(2) { grid-column: 2 / 4; }
@media (max-width: 700px) {
  .project-after--four { grid-template-columns: 1fr 1fr; }
  .project-after--four .zoom:nth-child(2) { grid-column: span 2; aspect-ratio: 16 / 9; }
}
.project-head:has(> .stack:only-child) { grid-template-columns: minmax(0, 1fr); }
.project-head > .stack:only-child { max-width: 760px; }

.project-during--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 700px) { .project-during--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.project--lead { border-top: 0; padding-top: 0; margin-top: 0; }
.feature-work--after { padding-top: 56px; margin-top: 8px; border-top: 1px solid var(--line); }
.project + .project, .feature-work + .project { margin-top: 8px; }

.work-group-head { display: flex; flex-direction: column; gap: 10px; max-width: 700px; margin-bottom: 44px; }
.work-group-head .lead { margin: 0; }
.band-commercial { background: var(--mist); }
.footer-base a { text-decoration: underline; text-underline-offset: 3px; }
.form-note a { color: var(--teal-ink); text-decoration: underline; }
