/* Shared layout for generated renovator sites. Themes only change the tokens below
   plus a few deliberate per-theme moves (hero overlay, arches, serif headings). */
[data-theme="bright"] {
  --bg: #FFFFFF; --surface: #F5F4F1; --ink: #141414; --muted: #63615C; --line: #E4E2DD;
  --accent: #141414; --on-accent: #FFFFFF; --accent-2: #A08B6C; --accent-t: #7A6748;
  --head: "Inter Tight", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
  --hw: 600; --track: -0.04em; --radius: 4px; --btn-r: 4px; --img-r: 4px;
}
[data-theme="hamptons"] {
  --bg: #FBFAF7; --surface: #EEF1F4; --ink: #1E2B3C; --muted: #566273; --line: #DCE1E7;
  --accent: #22344F; --on-accent: #FFFFFF; --accent-2: #B08D57; --accent-t: #80622F;
  --head: "Playfair Display", Georgia, serif; --body: "Inter", system-ui, sans-serif;
  --hw: 600; --track: -0.01em; --radius: 6px; --btn-r: 3px; --img-r: 4px;
}
[data-theme="natural"] {
  --bg: #F6F0E8; --surface: #EDE3D6; --ink: #3B2E22; --muted: #6A5A49; --line: #DFD2C2;
  --accent: #7A4E2D; --on-accent: #FFF8EE; --accent-2: #A8765A; --accent-t: #8A5738;
  --head: "Fraunces", Georgia, serif; --body: "DM Sans", system-ui, sans-serif;
  --hw: 400; --track: -0.02em; --radius: 22px; --btn-r: 999px; --img-r: 22px;
}
[data-theme="dark"] {
  --bg: #0F0E0D; --surface: #191816; --ink: #F2EEE6; --muted: #A49E94; --line: #2E2B28;
  --accent: #C9A15B; --on-accent: #16120B; --accent-2: #C9A15B; --accent-t: #C9A15B;
  --head: "Manrope", system-ui, sans-serif; --body: "Manrope", system-ui, sans-serif;
  --hw: 800; --track: -0.035em; --radius: 10px; --btn-r: 6px; --img-r: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
main { overflow-x: clip; }  /* full-bleed photos use 100vw, which includes the scrollbar on Windows */
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, #5AA9D6); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--bg); font: 600 15px/1.2 var(--body); }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: var(--hw); letter-spacing: var(--track); line-height: 1.08; text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }
.wrap { width: min(100% - 32px, 1160px); margin-inline: auto; }

.demo-bar { padding: 7px 16px; background: #1b1b1b; color: #ddd; font: 500 12px/1.4 system-ui, sans-serif; text-align: center; }
.demo-bar a { color: #fff; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .brand { display: inline-flex; align-items: center; min-height: 44px; } /* full-size tap target */
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { min-width: 0; font: var(--hw) clamp(16px, 4.8vw, 19px)/1.15 var(--head); letter-spacing: var(--track); text-decoration: none; }
.links { display: none; gap: 28px; font-size: 15px; }
.links a { padding: 10px 0; text-decoration: none; color: var(--muted); }
.links a:hover { color: var(--ink); }
.top-cta { flex: none; display: flex; align-items: center; gap: 8px; }
/* Phones: a Call button and a menu. The main button is in the hero and in the bottom bar, not here as well */
.phone { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid color-mix(in srgb, var(--ink) 35%, transparent); border-radius: var(--btn-r); font-size: 0; text-decoration: none; white-space: nowrap; }
.phone::before { content: "Call"; font: 600 15px/1 var(--body); }
.top .btn { display: none; min-height: 44px; padding: 10px 18px; font-size: 14px; white-space: nowrap; }
.menu summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid color-mix(in srgb, var(--ink) 35%, transparent); border-radius: min(var(--btn-r), 22px); list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu i, .menu i::before { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .2s; }
.menu i { transform: translateY(-3px); }
.menu i::before { content: ""; transform: translateY(6px); }
.menu[open] i { transform: rotate(45deg); }
.menu[open] i::before { transform: rotate(-90deg); }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; padding: 4px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(0,0,0,.4); }
.menu nav a { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--line); font: 600 18px/1.2 var(--head); text-decoration: none; }
.menu nav a:last-child { border-bottom: 0; color: var(--accent-t); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 22px; border: 1.5px solid var(--accent); border-radius: var(--btn-r); background: var(--accent); color: var(--on-accent); font: 600 15px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: filter .15s, background .15s, transform .15s; }
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn-line:hover { filter: none; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.btn-line { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 35%, transparent); }

/* Hero */
.hero-in { display: grid; gap: 22px; padding: 16px 0 36px; }
.hero-media { order: -1; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; max-height: 34svh; object-fit: cover; border-radius: var(--img-r); }
.eyebrow { text-wrap: balance; margin: 0 0 12px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(36px, 9vw, 64px); }
.sub { margin: 14px 0 22px; color: var(--muted); font-size: clamp(16px, 1.2vw + 11px, 18px); max-width: 34em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; }

.trust { border-block: 1px solid var(--line); }
.trust-in { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding: 22px 0; }
.trust b { display: block; font: var(--hw) 22px/1.1 var(--head); letter-spacing: var(--track); }
.trust span { color: var(--muted); font-size: 13px; }

/* Sections */
.sec { padding: 52px 0; }
.sec-head p a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.rating b { color: var(--ink); }
.sec.alt { background: var(--surface); }
.sec-head { display: grid; gap: 10px; margin-bottom: 24px; }
.sec-head h2, .about h2, .quote h2 { font-size: clamp(30px, 6.5vw, 46px); }
.sec-head p { margin: 0; color: var(--muted); max-width: 40em; }
.sub-h { margin: 40px 0 16px; font-size: 22px; }

/* Before / after */
.ba { position: relative; margin: 0; overflow: hidden; border-radius: var(--img-r); aspect-ratio: 4 / 3; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-line::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font: 700 15px/1 system-ui; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.ba-tag { position: absolute; top: 12px; padding: 5px 10px; border-radius: 99px; background: rgba(0,0,0,.6); color: #fff; font: 600 11px/1 system-ui; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ba-tag.b { left: 12px; } .ba-tag.a { right: 12px; }
.ba:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 70%, #5AA9D6); outline-offset: 3px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 99px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; pointer-events: none; }

.cards { display: grid; gap: 16px; }
.card { overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; }
.card-t { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 14px 16px; }
.card-t b { font: var(--hw) 18px/1.2 var(--head); letter-spacing: var(--track); }
.card-t span { color: var(--muted); font-size: 14px; }
.card-n { display: none; }  /* project title: shown by themes that want it */

.svc { display: grid; gap: 14px; }
.svc-i { padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.svc-i h3 { font-size: 24px; margin-bottom: 8px; }
.svc-i p { margin: 0; color: var(--muted); }
.svc-i .from { margin-top: 14px; color: var(--ink); font-weight: 600; }
.sec-head .note { font-size: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps span { color: var(--accent-t); font-weight: 700; font-size: 14px; }
.steps h3 { margin: 6px 0; font-size: 21px; }
.steps p { margin: 0; color: var(--muted); }

.about { display: grid; gap: 18px; }
.lead { margin: 0; font-size: 19px; line-height: 1.6; }
.sig { margin: 14px 0 0; color: var(--muted); }

.revs { display: grid; gap: 14px; }
.revs blockquote { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--surface); }
.revs p { margin: 0 0 12px; font-size: 17px; }
.revs cite { color: var(--muted); font-style: normal; font-size: 14px; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 9px 16px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; }

.quote-in { display: grid; gap: 24px; }
.quote p { color: var(--muted); }
.direct a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.form { display: grid; gap: 12px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.form label { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; min-width: 0; font-size: 14px; font-weight: 600; }
.form small { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--ink) 48%, transparent); border-radius: min(var(--btn-r), 14px); background: var(--bg); color: var(--ink); font: 400 16px/1.4 var(--body); }
.form input, .form select { height: 50px; margin: 0; }
.form select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 20px center, right 14px center; background-size: 6px 6px; background-repeat: no-repeat; }
.form :is(input, select, textarea):focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, #5AA9D6); outline-offset: 1px; }
.form .file input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.form .file { position: relative; cursor: pointer; }
.file-ui { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 10px; border: 1px dashed color-mix(in srgb, var(--ink) 48%, transparent); border-radius: min(var(--btn-r), 14px); background: var(--bg); }
.file-btn { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: min(var(--btn-r), 14px); background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; }
.file-name { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); font-weight: 400; font-size: 14px; }
.form .file:focus-within .file-ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.ok { margin: 0; padding: 12px 14px; border: 1px solid currentColor; border-radius: min(var(--btn-r), 14px); color: var(--ink); font-size: 15px; }

.foot { padding: 40px 0 96px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-in { display: grid; gap: 14px; }
.foot .brand { color: var(--ink); }
.foot p { margin: 6px 0 0; }
.foot-links { display: grid; justify-items: start; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.foot .credit { margin: 24px auto 0; font-size: 13px; }

.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; background: var(--bg); grid-template-columns: 1fr 2fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.mbar .btn { padding: 12px; }
.mbar { transition: transform .25s ease, visibility 0s; }
.mbar.is-off { transform: translateY(105%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }

/* Theme moves */
/* Modern (bright): editorial grid. Numbered sections, thin rules, bigger type, less boxing.
   Pure CSS on the shared markup, so it works for any number of projects/sections. */
[data-theme="bright"] main { counter-reset: sec; }
[data-theme="bright"] .sec { counter-increment: sec; }
[data-theme="bright"] .sec-head, [data-theme="bright"] .about, [data-theme="bright"] .quote-in { border-top: 1px solid var(--ink); padding-top: 18px; }
[data-theme="bright"] .sec-head::before, [data-theme="bright"] .about > div:first-child::before, [data-theme="bright"] .quote-in > div:first-child::before {
  content: counter(sec, decimal-leading-zero); display: block; margin-bottom: 14px; color: var(--accent-t); font: 600 13px/1 var(--body); letter-spacing: .08em; }
[data-theme="bright"] .sec-head { margin-bottom: 32px; }
[data-theme="bright"] .sec-head h2, [data-theme="bright"] .about h2, [data-theme="bright"] .quote h2 { font-size: clamp(34px, 8vw, 60px); line-height: 1; }
[data-theme="bright"] .sec.alt { background: var(--bg); }
[data-theme="bright"] .hero h1 { font-size: clamp(40px, 11vw, 88px); line-height: .96; letter-spacing: -0.05em; }
[data-theme="bright"] .hero-media { margin: -16px -16px 0; }
[data-theme="bright"] .hero-media img { border-radius: 0; aspect-ratio: 4 / 3.3; }
[data-theme="bright"] .eyebrow { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12px; letter-spacing: .12em; }
[data-theme="bright"] .trust { border-color: var(--ink); }
[data-theme="bright"] .trust b { font-size: 30px; font-weight: 500; }
[data-theme="bright"] .sub-h { margin: 48px 0 18px; font-size: 13px; font-family: var(--body); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
[data-theme="bright"] .cards { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
[data-theme="bright"] .card { background: none; border: 0; border-radius: 0; }
[data-theme="bright"] .card:first-child { grid-column: 1 / -1; }
[data-theme="bright"] .card img { border-radius: var(--img-r); aspect-ratio: 4 / 5; }
[data-theme="bright"] .card:first-child img { aspect-ratio: 4 / 3; }
[data-theme="bright"] .card-t { display: grid; gap: 2px; padding: 12px 0 0; }
[data-theme="bright"] .card-n { display: block; order: -1; font: 500 17px/1.25 var(--head); letter-spacing: -0.02em; font-style: normal; color: var(--ink); }
[data-theme="bright"] .card-t b, [data-theme="bright"] .card-t span { display: inline; font: 400 13px/1.4 var(--body); letter-spacing: 0; color: var(--muted); }
[data-theme="bright"] .card-t b::after { content: " · "; }
[data-theme="bright"] .card-t { grid-template-columns: auto 1fr; }
[data-theme="bright"] .card-n { grid-column: 1 / -1; }
[data-theme="bright"] .svc { gap: 0; counter-reset: svc; }
[data-theme="bright"] .svc-i { counter-increment: svc; display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
[data-theme="bright"] .svc-i::before { content: counter(svc, decimal-leading-zero); grid-row: span 3; color: var(--accent-t); font: 600 13px/2.2 var(--body); }
[data-theme="bright"] .svc-i h3 { margin: 0; font-size: 26px; font-weight: 500; }
[data-theme="bright"] .svc-i .from { margin: 6px 0 0; }
[data-theme="bright"] .steps li { padding-top: 16px; border-top: 2px solid var(--ink); }
[data-theme="bright"] .steps span { font-size: 13px; letter-spacing: .08em; }
[data-theme="bright"] .lead { font: 400 clamp(21px, 4.6vw, 30px)/1.35 var(--head); letter-spacing: -0.02em; }
[data-theme="bright"] .revs blockquote { padding: 18px 0 0; background: none; border-top: 1px solid var(--line); border-radius: 0; }
[data-theme="bright"] .revs p { font: 400 21px/1.4 var(--head); letter-spacing: -0.015em; }
[data-theme="bright"] .chips { gap: 6px 0; }
[data-theme="bright"] .chips li { padding: 0; border: 0; background: none; font: 400 clamp(22px, 5vw, 34px)/1.25 var(--head); letter-spacing: -0.03em; }
[data-theme="bright"] .chips li:not(:last-child)::after { content: "/"; margin: 0 .35em; color: var(--line); }
[data-theme="bright"] .quote { background: var(--ink); color: #fff; }
[data-theme="bright"] .quote-in { border-top-color: rgba(255,255,255,.35); }
[data-theme="bright"] .quote p { color: rgba(255,255,255,.68); }
[data-theme="bright"] .quote .direct a { color: #fff; }
[data-theme="bright"] .quote .quote-in > div:first-child::before { color: var(--accent-2); }
[data-theme="bright"] .quote .form { background: #fff; color: var(--ink); border: 0; }
[data-theme="bright"] .quote .form .ok { color: var(--ink); }
[data-theme="bright"] .foot .brand { font-size: clamp(28px, 7vw, 48px); }
[data-theme="natural"] .hero-media img { border-radius: 999px 999px var(--img-r) var(--img-r); aspect-ratio: 1 / 0.95; max-height: 38svh; }
[data-theme="natural"] .hero h1 { font-style: normal; }
[data-theme="hamptons"] .eyebrow { color: var(--accent-t); }
[data-theme="hamptons"] .trust { background: var(--accent); color: #fff; border: 0; }
[data-theme="hamptons"] .trust span { color: rgba(255,255,255,.7); }
[data-theme="dark"] .eyebrow { color: var(--accent); }
[data-theme="dark"] .card { background: var(--surface); }

/* Hamptons: classic and symmetrical. Centred headings with a brass rule, photos in white mats. */
[data-theme="hamptons"] .hero-in { justify-items: center; text-align: center; }
[data-theme="hamptons"] .hero-media { order: 1; width: 100%; }
[data-theme="hamptons"] .hero-media img, [data-theme="hamptons"] .ba { padding: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
[data-theme="hamptons"] .hero-media img { aspect-ratio: 4 / 3; }
[data-theme="hamptons"] .sub { margin-inline: auto; }
[data-theme="hamptons"] .hero-btns { justify-content: center; }
[data-theme="hamptons"] .trust-in { text-align: center; }
[data-theme="hamptons"] .sec-head, [data-theme="hamptons"] .sub-h { justify-items: center; text-align: center; }
[data-theme="hamptons"] .sec-head::before { content: ""; width: 56px; height: 1px; background: var(--accent-2); margin-bottom: 8px; }
[data-theme="hamptons"] .sec-head p { margin-inline: auto; }
[data-theme="hamptons"] .ba img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
[data-theme="hamptons"] .card { padding: 8px 8px 0; background: #fff; text-align: center; }
[data-theme="hamptons"] .card img { border-radius: 2px; }
[data-theme="hamptons"] .card-t { flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px 20px; }
[data-theme="hamptons"] .card-n { display: block; order: -1; font: italic 500 20px/1.25 var(--head); color: var(--ink); }
[data-theme="hamptons"] .card-t b, [data-theme="hamptons"] .card-t span { font: 600 12px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-t); }
[data-theme="hamptons"] .svc-i { text-align: center; background: #fff; border-top: 2px solid var(--accent); }
[data-theme="hamptons"] .steps { counter-reset: st; text-align: center; }
[data-theme="hamptons"] .steps span { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font: 500 15px/1 var(--head); }
[data-theme="hamptons"] .about { justify-items: center; text-align: center; max-width: 760px; margin-inline: auto; }
[data-theme="hamptons"] .lead { font: italic 500 clamp(21px, 4.4vw, 27px)/1.5 var(--head); }
[data-theme="hamptons"] .revs blockquote { position: relative; padding: 40px 24px 26px; background: #fff; border: 1px solid var(--line); text-align: center; }
[data-theme="hamptons"] .revs blockquote::before { content: "\201C"; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); color: var(--accent-2); font: 500 48px/1 var(--head); }
[data-theme="hamptons"] .revs p { font: italic 500 18px/1.55 var(--head); }
[data-theme="hamptons"] .chips { justify-content: center; }
[data-theme="hamptons"] .chips li { border-color: transparent; background: #fff; box-shadow: 0 0 0 1px var(--line); }
[data-theme="hamptons"] .quote-in > div:first-child { text-align: center; }
[data-theme="hamptons"] .form { background: #fff; box-shadow: 0 0 0 8px var(--surface), 0 0 0 9px var(--line); border: 0; }
[data-theme="hamptons"] .foot-in { text-align: center; justify-items: center; }
[data-theme="hamptons"] .foot-links { justify-items: center; }

/* Natural Warmth: soft and organic. Arches, staggered photos, inset rounded panels, a timeline. */
[data-theme="natural"] .sec-head h2, [data-theme="natural"] .about h2, [data-theme="natural"] .quote h2 { font-weight: 300; font-size: clamp(34px, 8vw, 56px); }
[data-theme="natural"] .sec-head h2 em, [data-theme="natural"] .hero h1 { font-weight: 400; }
[data-theme="natural"] .sec.alt { background: none; padding-block: 12px; }
[data-theme="natural"] .sec.alt > .wrap { background: var(--surface); border-radius: 32px; padding: 44px 20px; }
[data-theme="natural"] .cards { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
[data-theme="natural"] .card:first-child { grid-column: 1 / -1; }
[data-theme="natural"] .card:nth-child(odd):not(:first-child) { margin-top: 28px; }
[data-theme="natural"] .card { background: none; border: 0; }
[data-theme="natural"] .card img { border-radius: 999px 999px var(--img-r) var(--img-r); aspect-ratio: 3 / 4; }
[data-theme="natural"] .card:first-child img { border-radius: var(--img-r); aspect-ratio: 4 / 3; }
[data-theme="natural"] .card-t { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 4px 0; }
[data-theme="natural"] .card-n { display: block; order: -1; font: 400 19px/1.25 var(--head); font-style: normal; color: var(--ink); }
[data-theme="natural"] .card-t b, [data-theme="natural"] .card-t span { font: 400 14px/1.4 var(--body); letter-spacing: 0; color: var(--muted); }

[data-theme="natural"] .card-n { flex-basis: 100%; }
[data-theme="natural"] .svc-i { position: relative; padding: 28px 24px 24px 56px; border: 0; border-radius: 24px; }
[data-theme="natural"] .svc-i::before { content: ""; position: absolute; left: 24px; top: 36px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-2); opacity: .7; }
[data-theme="natural"] .steps { gap: 0; }
[data-theme="natural"] .steps li { position: relative; padding: 0 0 28px 34px; border-left: 1px solid var(--line); margin-left: 7px; }
[data-theme="natural"] .steps li:last-child { padding-bottom: 0; border-color: transparent; }
[data-theme="natural"] .steps li::before { content: ""; position: absolute; left: -8px; top: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
[data-theme="natural"] .steps span { font: italic 400 16px/1 var(--head); color: var(--accent-t); }
[data-theme="natural"] .lead { font: italic 300 clamp(22px, 5vw, 30px)/1.45 var(--head); }
[data-theme="natural"] .revs blockquote { position: relative; padding: 52px 26px 26px; border-radius: 28px; background: color-mix(in srgb, var(--surface) 70%, #fff); }
[data-theme="natural"] .revs blockquote::before { content: "\201C"; position: absolute; top: 14px; left: 24px; color: var(--accent-2); font: 400 56px/1 var(--head); }
[data-theme="natural"] .revs p { font: 400 19px/1.5 var(--head); }
[data-theme="natural"] .sec.quote { padding-top: 12px; }
[data-theme="natural"] .quote-in { padding: 40px 20px; border-radius: 32px; background: var(--accent); color: var(--on-accent); }
[data-theme="natural"] .quote p { color: color-mix(in srgb, var(--on-accent) 88%, transparent); }
[data-theme="natural"] .quote .direct a { color: var(--on-accent); }
[data-theme="natural"] .quote .form { background: var(--bg); color: var(--ink); border: 0; border-radius: 24px; }
[data-theme="natural"] .quote .form .ok { color: var(--ink); }

/* Dark Luxe: cinematic. Full-bleed photos, gold hairlines, a sideways project gallery. */
[data-theme="dark"] .sec-head h2, [data-theme="dark"] .about h2, [data-theme="dark"] .quote h2 { text-transform: uppercase; letter-spacing: .01em; font-size: clamp(28px, 6.4vw, 44px); }
[data-theme="dark"] .sec-head::before, [data-theme="dark"] .about > div:first-child::before, [data-theme="dark"] .quote-in > div:first-child::before { content: ""; display: block; width: 40px; height: 2px; margin-bottom: 18px; background: var(--accent); }
[data-theme="dark"] .ba { border-radius: 0; }
[data-theme="dark"] .cards { grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 0 16px 8px; scrollbar-width: none; }
[data-theme="dark"] .cards::-webkit-scrollbar { display: none; }
[data-theme="dark"] .card { position: relative; scroll-snap-align: start; border: 0; border-radius: 0; }
[data-theme="dark"] .card img { aspect-ratio: 3 / 4; }
[data-theme="dark"] .card-t { position: absolute; inset: auto 0 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 64px 18px 18px; background: linear-gradient(transparent, rgba(8,7,6,.88)); }
[data-theme="dark"] .card-n { display: block; order: -1; font: 700 19px/1.2 var(--head); font-style: normal; color: #fff; }
[data-theme="dark"] .card-t b, [data-theme="dark"] .card-t span { font: 600 12px/1.4 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
[data-theme="dark"] .card-n { flex-basis: 100%; }
[data-theme="dark"] .svc-i { border: 0; border-top: 1px solid var(--accent); border-radius: 0; background: var(--bg); }
[data-theme="dark"] .steps li { padding-top: 14px; border-top: 1px solid var(--line); }
[data-theme="dark"] .steps span { display: block; margin-bottom: 8px; color: transparent; -webkit-text-stroke: 1px var(--accent); font: 800 44px/1 var(--head); }
[data-theme="dark"] .about { text-align: left; }
[data-theme="dark"] .lead { font: 300 clamp(21px, 4.8vw, 30px)/1.45 var(--head); letter-spacing: -0.01em; }
[data-theme="dark"] .sig { color: var(--accent); }
[data-theme="dark"] .revs blockquote { border-radius: 0; background: none; border-left: 2px solid var(--accent); padding: 4px 0 4px 22px; }
[data-theme="dark"] .revs p { font: 300 20px/1.5 var(--head); }
[data-theme="dark"] .chips { gap: 10px 0; }
[data-theme="dark"] .chips li { padding: 0; border: 0; background: none; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
[data-theme="dark"] .chips li:not(:last-child)::after { content: "\2022"; margin: 0 14px; color: var(--accent); }
[data-theme="dark"] .form { background: none; border-color: color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 0; }
[data-theme="dark"] .form input, [data-theme="dark"] .form select, [data-theme="dark"] .form textarea { border-width: 0 0 1px; border-radius: 0; background-color: transparent; padding-left: 2px; }
[data-theme="dark"] .file-ui { border-width: 0 0 1px; border-style: solid; border-radius: 0; background: transparent; padding: 8px 2px; }
[data-theme="dark"] .form select option { background: var(--bg); }
[data-theme="dark"] .foot .brand { color: var(--accent); }


/* Caption rows: "Suburb · Room" sit together (themes that show the project title) */
[data-theme="hamptons"] .card-t, [data-theme="natural"] .card-t, [data-theme="dark"] .card-t { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; column-gap: 6px; }
[data-theme="hamptons"] .card-t { justify-content: center; }
[data-theme="hamptons"] .card-n { flex-basis: 100%; }
[data-theme="hamptons"] .card-t b::after, [data-theme="dark"] .card-t b::after { content: " ·"; }
[data-theme="natural"] .card-t b::after { content: ","; }

@media (min-width: 600px) and (max-width: 899px) {
  [data-theme="natural"] .hero-media img { width: min(100%, 420px); margin-inline: auto; }
}

@media (max-width: 899px) {
  [data-theme="dark"] .hero-media { position: relative; margin: -16px -16px 0; }
  [data-theme="dark"] .hero-media img { aspect-ratio: 4 / 4.2; max-height: 48svh; border-radius: 0; }
  [data-theme="dark"] .hero-media::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, var(--bg)); }
  [data-theme="dark"] .hero-copy { position: relative; margin-top: -88px; }
}

@media (min-width: 900px) {
  .links { display: flex; }
  .menu { display: none; }
  .top-cta { gap: 20px; }
  .top .btn { display: inline-flex; }
  .phone { padding: 0; border: 0; font: 600 15px/1 var(--body); }
  .phone::before { content: none; }
  .brand { font-size: 19px; }
  .hero-media img { max-height: none; }
  .top-in { height: 76px; }
  .hero-in { grid-template-columns: 5fr 6fr; align-items: center; gap: 56px; padding: 56px 0 72px; }
  .hero-media { order: 0; }
  .hero-media img { aspect-ratio: 5 / 4; }
  .trust-in { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding: 28px 0; }
  .sec { padding: 84px 0; }
  .sec-head { grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 36px; }
  .ba { aspect-ratio: 16 / 8; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .svc { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .about { grid-template-columns: 1fr 1.4fr; gap: 56px; }
  .revs { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .revs.n1 { grid-template-columns: 1fr; }
  .revs.n2, .revs.n4 { grid-template-columns: 1fr 1fr; }

  /* Heading left, content right: fills the width instead of leaving half of each section empty */
  :is([data-theme="bright"], [data-theme="dark"]) .split, [data-theme="natural"] .alt > .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
  :is([data-theme="bright"], [data-theme="dark"]) .split .sec-head, [data-theme="natural"] .alt > .split .sec-head { grid-template-columns: 1fr; margin: 0; position: sticky; top: 112px; }
  :is([data-theme="bright"], [data-theme="dark"]) .split .steps { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  :is([data-theme="bright"], [data-theme="dark"]) .split .revs { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  :is([data-theme="bright"], [data-theme="dark"]) .split .revs.n1, :is([data-theme="bright"], [data-theme="dark"]) .split .revs.n2 { grid-template-columns: 1fr; }
  :is([data-theme="bright"], [data-theme="dark"]) .split .revs:not(.n2) blockquote:first-child { grid-column: 1 / -1; }
  :is([data-theme="bright"], [data-theme="dark"]) .split .revs blockquote:first-child p { font-size: 28px; line-height: 1.32; }
  .quote-in { grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
  .form { grid-template-columns: 1fr 1fr; padding: 28px; }
  .form .full { grid-column: 1 / -1; }
  .foot { padding-bottom: 40px; }
  .foot-in { grid-template-columns: 2fr 1fr 1fr; }
  .mbar { display: none; }
  .btn { padding: 15px 26px; }

  /* Dark luxe: full-bleed photo hero with text over it */
  [data-theme="dark"] .hero { position: relative; }
  [data-theme="dark"] .hero-in { display: block; min-height: 640px; padding: 0; }
  [data-theme="dark"] .hero-media { position: absolute; inset: 0 0 0 30%; }
  [data-theme="dark"] .hero-media img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
  [data-theme="dark"] .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(15,14,13,.55) 30%, rgba(15,14,13,0) 65%); }
  [data-theme="dark"] .hero-copy { position: relative; z-index: 1; max-width: 560px; padding: 140px 0 120px; }
  [data-theme="natural"] .hero-media img { aspect-ratio: 4 / 4.2; max-height: 640px; }

  /* Hamptons desktop: copy centred above a wide framed photo */
  [data-theme="hamptons"] .hero-in { grid-template-columns: 1fr; gap: 48px; padding: 72px 0 80px; }
  [data-theme="hamptons"] .hero-copy { max-width: 760px; }
  [data-theme="hamptons"] .hero h1 { font-size: clamp(44px, 5.4vw, 72px); }
  [data-theme="hamptons"] .hero-media img { aspect-ratio: 21 / 9; }
  [data-theme="hamptons"] .sec-head { grid-template-columns: 1fr; }
  [data-theme="hamptons"] .foot-in { grid-template-columns: 1fr 1fr 1fr; align-items: center; }
  [data-theme="hamptons"] .svc-i { padding: 36px 32px; }
  [data-theme="hamptons"] .steps li { padding: 0 8px; }
  [data-theme="hamptons"] .about { grid-template-columns: 1fr; gap: 24px; }

  /* Natural desktop: wider inset panels, gently staggered project row */
  [data-theme="natural"] .sec-head { grid-template-columns: 1fr; max-width: 720px; }
  [data-theme="natural"] .sec.alt > .wrap { padding: 64px; }
  [data-theme="natural"] .alt > .split { gap: 48px; }
  [data-theme="natural"] .revs blockquote:nth-child(3n+2) { margin-top: 36px; }
  [data-theme="natural"] .revs.n1 blockquote, [data-theme="natural"] .revs.n2 blockquote { margin-top: 0; }
  [data-theme="natural"] .cards { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  [data-theme="natural"] .card:first-child { grid-column: auto; }
  [data-theme="natural"] .card:first-child img { border-radius: 999px 999px var(--img-r) var(--img-r); aspect-ratio: 3 / 4; }
  [data-theme="natural"] .card:nth-child(odd):not(:first-child) { margin-top: 0; }
  [data-theme="natural"] .card:nth-child(3n+2) { margin-top: 56px; }
  [data-theme="natural"] .steps { grid-template-columns: repeat(4, 1fr); gap: 0; }
  [data-theme="natural"] .steps li { padding: 34px 24px 0 0; margin: 0; border-left: 0; border-top: 1px solid var(--line); }
  [data-theme="natural"] .steps li:last-child { border-color: var(--line); }
  [data-theme="natural"] .steps li::before { left: 0; top: -8px; }
  [data-theme="natural"] .quote-in { padding: 72px 64px; }

  /* Dark desktop: three tall gallery frames, no sideways scroll needed */
  [data-theme="dark"] .cards { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 16px; }
  [data-theme="dark"] .sec-head::before { grid-column: 1 / -1; margin-bottom: 4px; }
  [data-theme="dark"] .svc { gap: 32px; }
  [data-theme="dark"] .svc-i { padding: 24px 0 0; background: none; }
  [data-theme="dark"] .split .sec-head { row-gap: 14px; }
  [data-theme="dark"] .steps li { padding-top: 22px; }
  [data-theme="dark"] .chips li { font-size: 15px; line-height: 2.2; }
  [data-theme="dark"] .steps { gap: 40px; }
  [data-theme="dark"] .about { grid-template-columns: 1fr 1.6fr; }
  [data-theme="dark"] .form { padding: 32px; }

  /* Modern: photo bleeds to the right edge, editorial columns */
  [data-theme="bright"] .hero-in { grid-template-columns: 1fr 1.15fr; gap: 64px; padding: 0; align-items: stretch; }
  [data-theme="bright"] .hero-copy { align-self: center; padding: 72px 0; }
  [data-theme="bright"] .hero-media { margin: 0 calc((100vw - min(100vw - 32px, 1160px)) / -2) 0 0; }
  [data-theme="bright"] .hero-media img { height: 100%; min-height: 600px; aspect-ratio: auto; }
  [data-theme="bright"] .trust-in > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
  [data-theme="bright"] .sec-head { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  [data-theme="bright"] .split { border-top: 1px solid var(--ink); padding-top: 18px; }
  [data-theme="bright"] .split .sec-head { border: 0; padding: 0; }
  [data-theme="bright"] .split .sec-head h2 { font-size: clamp(38px, 4vw, 52px); }
  [data-theme="bright"] .split .svc-i:first-child { padding-top: 0; }
  [data-theme="bright"] .split .steps { padding-top: 4px; }
  [data-theme="bright"] .sec + .sec:not(.quote) { padding-top: 12px; }
  [data-theme="bright"] .sec-head::before { grid-column: 1 / -1; }
  [data-theme="bright"] .about, [data-theme="bright"] .quote-in { padding-top: 18px; }
  [data-theme="bright"] .cards { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
  [data-theme="bright"] .card:first-child { grid-column: span 2; grid-row: span 2; }
  [data-theme="bright"] .card:first-child { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
  [data-theme="bright"] .card:first-child img { aspect-ratio: auto; height: 100%; min-height: 0; }
  [data-theme="bright"] .svc { grid-template-columns: 1fr; }
  [data-theme="bright"] .svc-i { grid-template-columns: 48px 1fr 1.5fr 112px; column-gap: 24px; align-items: baseline; padding: 26px 0; }
  [data-theme="bright"] .svc-i::before { grid-row: auto; }
  [data-theme="bright"] .svc-i h3 { font-size: 30px; }
  [data-theme="bright"] .svc-i .from { margin: 0; white-space: nowrap; text-align: right; }
  [data-theme="bright"] .revs blockquote:first-child { padding-top: 0; border-top: 0; }
}

/* Laptops between phone and full width: keep the header on one line */
@media (min-width: 900px) and (max-width: 1099px) {
  .links { gap: 18px; font-size: 14px; }
  .phone { display: none; }
}
