/* Palette: warm black, ivory and champagne gold. Quiet, high-end, no colour noise. Gold is used for actions and accents only.
   mono "spec lines" (sq ft, weeks, RM) and dimension marks carry the trade's own vocabulary. Single light theme by choice. */
:root {
  --paper: #F6F2EB;
  --surface: #FDFBF7;
  --ink: #1A1714;
  --ink-2: #55504A;
  --ink-3: #8A847C;
  --line: #E2DBCF;
  --spruce: #17140F;
  --spruce-2: #2E2820;
  --brass: #B08D57;
  --brass-ink: #86673A;
  --brass-soft: #F1E8D8;
  --on-dark: #F3EEE5;
  --f-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-body: "Jost", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Jost", "Century Gothic", "Segoe UI", system-ui, sans-serif; /* label face: spaced small caps, no monospace */
  --s-1: clamp(2.8rem, 6vw, 5rem);
  --s-2: clamp(2.1rem, 3.8vw, 3.1rem);
  --s-3: clamp(1.5rem, 2.2vw, 1.85rem);
  --radius: 4px;
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
* { 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: 400 16px/1.65 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(--surface); }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.005em; line-height: 1.08; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: var(--s-1); font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: var(--s-2); font-weight: 500; }
h3 { font-size: var(--s-3); }
h4 { font-size: 1.3rem; }
.hero h1 em, h1 em { font-style: italic; }
p { margin: 0; max-width: 65ch; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.eyebrow { font: 500 0.75rem/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-ink); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section.tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section.dark { background: var(--spruce); color: var(--on-dark); }
.section.dark h2, .section.dark h3, .section.dark h4 { color: var(--on-dark); }
.section.dark .muted, .section.dark .lead { color: #BDB3A4; }
.section.dark .eyebrow { color: #D6BB86; }
.stack { display: grid; gap: 1rem; }
.stack-lg { display: grid; gap: 2.5rem; }
.sec-head { display: grid; gap: 0.9rem; max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 2rem; }
@media (max-width: 760px) { .sec-head.split { grid-template-columns: 1fr; } }

/* Preview banner */
.preview-bar { background: var(--brass-soft); color: var(--brass-ink); font: 500 0.78rem/1.4 var(--f-mono); letter-spacing: 0.02em; }
.preview-bar .wrap { padding-block: 0.5rem; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; background: var(--spruce); color: var(--on-dark); display: grid; place-items: center; font: 600 1.45rem/1 var(--f-display); border-radius: 2px; position: relative; }
.brand-mark::after { content: ""; position: absolute; right: -5px; bottom: -5px; width: 12px; height: 12px; background: var(--brass); }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font: 600 1.3rem/1.1 var(--f-display); letter-spacing: 0.18em; }
.brand-sub { font: 500 0.62rem/1.3 var(--f-mono); letter-spacing: 0.2em; color: var(--ink-3); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); padding-block: 0.4rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); border-bottom-color: var(--brass); }
.dropdown { position: relative; }
.dropdown > button { all: unset; cursor: pointer; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); padding-block: 0.4rem; border-bottom: 2px solid transparent; }
.dropdown > button.active { color: var(--ink); border-bottom-color: var(--brass); }
.dropdown > button::after { content: " \25BE"; font-size: 0.75em; }
.dropdown-menu { position: absolute; top: calc(100% + 10px); left: -16px; min-width: 240px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px -20px rgba(26, 23, 20, 0.35); padding: 0.5rem; display: none; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.open .dropdown-menu { display: grid; }
/* Invisible bridge over the gap between "Services" and the menu, so moving the mouse down keeps it open */
.dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dropdown::after { content: ""; position: absolute; left: -16px; right: -16px; top: 100%; height: 14px; }
.dropdown-menu a { border: 0; padding: 0.7rem 0.8rem; display: grid; gap: 0.1rem; }
.dropdown-menu a:hover { background: var(--paper); }
.dropdown-menu small { font-weight: 400; color: var(--ink-3); font-size: 0.8rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); padding: 0.5rem 0.75rem; font: 500 0.85rem var(--f-body); color: var(--ink); border-radius: var(--radius); cursor: pointer; }
@media (max-width: 980px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem max(16px, env(safe-area-inset-right, 0px)) 1.25rem max(16px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a, .dropdown > button { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav a.active { border-bottom-color: var(--line); color: var(--brass-ink); }
  .dropdown-menu { position: static; display: grid; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
  .dropdown > button::after { content: ""; }
  .nav .btn { margin-top: 1rem; text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.35rem; font: 600 0.92rem/1 var(--f-body); text-decoration: none; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.btn-primary { background: var(--brass); color: #fff; }
.btn-primary:hover { background: var(--brass-ink); }
.btn-dark { background: var(--spruce); color: var(--on-dark); }
.btn-dark:hover { background: var(--spruce-2); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--surface); }
.section.dark .btn-ghost, .hero-dark .btn-ghost { color: var(--on-dark); }
.section.dark .btn-ghost:hover, .hero-dark .btn-ghost:hover { background: var(--on-dark); color: var(--spruce); }
.nav .btn { color: #fff; border-bottom: 0; padding: 0.7rem 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.text-link { font-weight: 600; color: var(--brass-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* Placeholder imagery: tonal fields with a faint drafting grid */
.ph { position: relative; overflow: hidden; background: var(--ph, linear-gradient(135deg, #C9C3B6, #9C9483)); aspect-ratio: var(--ar, 4 / 3); max-width: 100%; border-radius: 2px; }
.ph::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px); background-size: 28px 28px; }
.ph::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 38%; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.12) 100%); }
.ph-label { position: absolute; left: 12px; bottom: 10px; z-index: 1; font: 500 0.7rem/1.3 var(--f-mono); letter-spacing: 0.06em; color: rgba(255,255,255,0.92); background: rgba(26,23,20,0.35); padding: 0.25rem 0.5rem; }
.t1 { --ph: linear-gradient(140deg, #D9D2C4 0%, #B9AE98 55%, #8F846E 100%); }
.t2 { --ph: linear-gradient(150deg, #D3CABD 0%, #A6998A 60%, #6F6458 100%); }
.t3 { --ph: linear-gradient(135deg, #E6E2DA 0%, #C8BFB0 50%, #A7998A 100%); }
.t4 { --ph: linear-gradient(145deg, #8C857C 0%, #55504A 55%, #2B2724 100%); }
.t5 { --ph: linear-gradient(130deg, #D8CBB4 0%, #B89C74 60%, #8A6D47 100%); }
.t6 { --ph: linear-gradient(140deg, #DAD5CD 0%, #ADA69C 55%, #766F66 100%); }

/* Dimension mark */
.dim { display: flex; align-items: center; gap: 0.6rem; font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.08em; color: var(--ink-3); }
.dim::before, .dim::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.5; }
.dim span { white-space: nowrap; }
.dim.start::before { flex: 0 0 10px; }

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-grid > * { min-width: 0; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 em { color: var(--brass-ink); }
.hero .lead { margin-top: 1.4rem; }
.hero .btn-row { margin-top: 2rem; }
.hero-figure { display: grid; gap: 0.6rem; }
.hero-figure .ph { --ar: 5 / 4; }
.promise-strip { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.promise-strip span { font: 500 0.8rem/1.4 var(--f-mono); color: var(--ink-2); display: inline-flex; align-items: center; gap: 0.45rem; }
.promise-strip span::before { content: ""; width: 7px; height: 7px; background: var(--brass); }

.page-hero { padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero .wrap { display: grid; gap: 1rem; }
.page-hero .lead { max-width: 60ch; }
.crumbs { font: 500 0.75rem/1 var(--f-mono); color: var(--ink-3); letter-spacing: 0.06em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 1.6rem 1.2rem; display: grid; gap: 0.3rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { font: 500 2.8rem/1 var(--f-display); font-variant-numeric: lining-nums; }
.stat span { font-size: 0.85rem; color: var(--ink-2); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Grids & cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.promise { display: grid; gap: 0.8rem; padding-top: 1.4rem; border-top: 2px solid var(--ink); align-content: start; }
.section.dark .promise { border-top-color: #D6BB86; }
.promise .tag { font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-ink); }
.section.dark .promise .tag { color: #D6BB86; }

.service-card { display: grid; gap: 1.1rem; text-decoration: none; background: var(--surface); border: 1px solid var(--line); padding: 1rem 1rem 1.5rem; transition: border-color 0.15s; align-content: start; }
.service-card:hover { border-color: var(--ink); }
.service-card .body { display: grid; gap: 0.6rem; padding-inline: 0.4rem; }
.service-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.service-card li { font: 500 0.75rem/1 var(--f-mono); padding: 0.4rem 0.6rem; background: var(--paper); color: var(--ink-2); }
.service-card .text-link { justify-self: start; }

.project-card { display: grid; gap: 0.8rem; text-decoration: none; align-content: start; }
.project-card .meta { display: grid; gap: 0.3rem; }
.spec { font: 500 0.78rem/1.4 var(--f-mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.badge { display: inline-block; font: 500 0.68rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.5rem; background: var(--brass-soft); color: var(--brass-ink); justify-self: start; }
.badge.ok { background: #EFE6D3; color: var(--spruce); }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); counter-reset: step; }
.process li { counter-increment: step; padding: 1.6rem 1.4rem 1.8rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.55rem; align-content: start; min-width: 0; }
.process li:not(:nth-child(3n+1)) { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.process li::before { content: "Stage " counter(step, decimal-leading-zero); font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-ink); }
.process .assure { font: 500 0.78rem/1.4 var(--f-mono); color: var(--brass-ink); }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } .process li, .process li:not(:nth-child(3n+1)) { padding: 1.4rem 1rem 1.6rem 0; border-left: 0; } .process li:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } .process li:nth-child(even) { padding-left: 0; border-left: 0; } }
.section.dark .process, .section.dark .process li { border-color: rgba(243,238,229,0.18); }
.section.dark .process li::before { color: #D6BB86; }
.section.dark .process .assure { color: #D6BB86; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.95rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 500 0.72rem/1.2 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); }
tr:last-child td { border-bottom: 0; }
td.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.checklist li { padding-left: 1.7rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.9rem; height: 0.5rem; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg) translateY(-50%); transform-origin: left; }
.section.dark .checklist li::before { border-color: #D6BB86; }

/* Quotes */
.quote { background: var(--surface); border: 1px solid var(--line); padding: 1.6rem; display: grid; gap: 1.1rem; align-content: space-between; }
.quote blockquote { margin: 0; font-size: 1.02rem; }
.quote footer { display: grid; gap: 0.15rem; font-size: 0.88rem; }
.quote footer b { font-weight: 600; }
.stars { color: var(--brass); letter-spacing: 0.15em; font-size: 0.85rem; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; font: 600 1.3rem/1.35 var(--f-display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1.1rem; font: 400 1.4rem/1 var(--f-body); color: var(--brass-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 1.4rem; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--spruce); color: var(--on-dark); }
.cta-band .wrap { padding-block: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; }
.cta-band h2 { color: var(--on-dark); }
.cta-band p { color: #BDB3A4; margin-top: 0.8rem; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* Hook card */
.hook { background: var(--brass-soft); padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; border-left: 4px solid var(--brass); }
.hook > * { min-width: 0; }
@media (max-width: 700px) { .hook { grid-template-columns: 1fr; } }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.areas span { font: 500 0.82rem/1 var(--f-mono); padding: 0.6rem 0.8rem; border: 1px solid var(--line); background: var(--surface); }

/* Team */
.person { display: grid; gap: 0.8rem; align-content: start; }
.person .ph { --ar: 4 / 5; }
.trade { display: grid; gap: 0.25rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.trade b { font-weight: 600; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filters button { font: 500 0.85rem/1 var(--f-body); padding: 0.7rem 1rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; border-radius: 999px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* Case study */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case > * { min-width: 0; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }
.case-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.case-gallery .ph:first-child { grid-column: 1 / -1; --ar: 16 / 10; }
.case-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.case-facts div { padding: 0.9rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.2rem; }
.case-facts div:nth-child(odd) { padding-right: 1rem; }
.case-facts dt { font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.case-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.case-body { display: grid; gap: 1.5rem; align-content: start; }
.case-body h4 { margin-bottom: 0.35rem; }
.weeks { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.weeks i { height: 26px; background: var(--line); display: block; position: relative; }
.weeks i.done { background: var(--spruce-2); }
.weeks-legend { display: flex; justify-content: space-between; font: 500 0.7rem/1 var(--f-mono); color: var(--ink-3); margin-top: 0.4rem; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.form-grid > * { min-width: 0; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-weight: 600; font-size: 0.88rem; }
.field .hint { font-size: 0.8rem; color: var(--ink-3); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea { width: 100%; font: 400 0.98rem/1.4 var(--f-body); padding: 0.8rem 0.9rem; border: 1px solid #C6BEB1; background: var(--surface); color: var(--ink); border-radius: var(--radius); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--brass); }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips label { font-weight: 500; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.6rem 0.85rem; border: 1px solid #C6BEB1; background: var(--surface); border-radius: 999px; cursor: pointer; }
.chips input { accent-color: var(--spruce); margin: 0; }
.chips label:has(input:checked) { border-color: var(--spruce); background: #F1E8D8; }
.form-note { font-size: 0.82rem; color: var(--ink-3); }
.form-done { background: #F1E8D8; border-left: 4px solid var(--spruce); padding: 1.4rem 1.5rem; display: grid; gap: 0.5rem; }
.form-done dl { margin: 0.5rem 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.35rem 1rem; font-size: 0.9rem; }
.form-done dt { color: var(--ink-3); }
.form-done dd { margin: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem); }
.contact-list { display: grid; gap: 1.3rem; }
.contact-list div { display: grid; gap: 0.25rem; }
.contact-list dt { font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.contact-list dd { margin: 0; font-size: 1.05rem; font-weight: 500; user-select: all; }
.steps-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: mini; }
.steps-mini li { counter-increment: mini; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.8rem; }
.steps-mini li::before { content: counter(mini); width: 2rem; height: 2rem; display: grid; place-items: center; background: var(--spruce); color: var(--on-dark); font: 600 0.85rem/1 var(--f-mono); }

/* Footer */
.site-footer { background: var(--ink); color: #C9C1B4; font-size: 0.9rem; }
.site-footer .wrap { padding-block: 3.5rem 2rem; display: grid; gap: 2.5rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-grid > * { min-width: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { text-decoration: none; color: #C9C1B4; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #948B7F; }
.footer-legal { border-top: 1px solid #2E2820; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font: 400 0.78rem/1.4 var(--f-mono); color: #948B7F; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; background: #17140F; color: #fff; text-decoration: none; font: 600 0.88rem/1 var(--f-body); padding: 0.9rem 1.1rem; border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.45); display: inline-flex; gap: 0.5rem; align-items: center; }
.wa-float::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #D6BB86; }

/* Case study showcase: big photo slider, minimal text */
.showcase { padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); scroll-margin-top: 100px; display: grid; gap: 1.4rem; }
.showcase:first-of-type { border-top: 0; padding-top: 0; }
.show-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: end; }
.show-head h2 { margin: 0.5rem 0 0.3rem; }
.show-head .one-line { margin: 0; color: var(--ink-2); max-width: 46ch; }
.show-facts { display: flex; flex-wrap: wrap; gap: 0 2rem; margin: 0; }
.show-facts div { display: grid; gap: 0.25rem; padding-block: 0.3rem; }
.show-facts dt { font: 500 0.68rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.show-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .show-head { grid-template-columns: 1fr; } }
.slider { position: relative; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: 2px; outline: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; position: relative; }
.slide .ph { --ar: 16 / 9; border-radius: 0; }
.slide .ph-label { left: 18px; bottom: 16px; font-size: 0.78rem; }
.sl-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(253,251,247,0.92); color: var(--ink); font: 400 1.6rem/1 var(--f-display); cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 20px -8px rgba(0,0,0,0.4); z-index: 2; }
.sl-btn:hover { background: var(--surface); }
.sl-btn:disabled { opacity: 0.35; cursor: default; }
.sl-prev { left: 16px; } .sl-next { right: 16px; }
.sl-count { position: absolute; right: 18px; bottom: 16px; z-index: 2; font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.1em; color: #fff; background: rgba(26,23,20,0.55); padding: 0.4rem 0.6rem; }
.thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(84px, 1fr); gap: 0.5rem; overflow-x: auto; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { padding: 0; border: 0; background: none; cursor: pointer; opacity: 0.5; transition: opacity 0.2s; outline-offset: 2px; }
.thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid var(--brass); outline-offset: 2px; }
.thumbs button:hover { opacity: 0.85; }
.thumbs .ph { --ar: 16 / 10; pointer-events: none; }
.thumbs .ph::after, .thumbs .ph::before { display: none; }
@media (max-width: 620px) { .sl-btn { width: 38px; height: 38px; font-size: 1.3rem; } .sl-prev { left: 8px; } .sl-next { right: 8px; } }

/* Full-width photo hero (home). To use a real photo, set --hero-img: url("hero.jpg") on .hero-full */
.hero-full {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(86vh, 780px); display: grid; align-items: end;
  padding-block: clamp(6rem, 14vw, 10rem) clamp(3.5rem, 7vw, 5.5rem);
  color: var(--on-dark);
  background: var(--hero-img,
    radial-gradient(ellipse 30% 22% at 72% 18%, rgba(255,240,215,0.55), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 75%, rgba(120,98,72,0.55), transparent 70%),
    linear-gradient(180deg, #B9AD9B 0%, #9C8E7A 45%, #6E6253 100%)) center / cover no-repeat;
}
.hero-full::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(23,20,15,0.72) 0%, rgba(23,20,15,0.45) 50%, rgba(23,20,15,0.12) 100%),
              linear-gradient(0deg, rgba(23,20,15,0.45) 0%, rgba(23,20,15,0) 45%); }
.hero-copy { max-width: 640px; }
.hero-full .eyebrow { color: #F3EEE5; letter-spacing: 0.32em; }
.hero-full h1 { color: #fff; }
.hero-full h1 em { color: #D6BB86; }
.hero-rule { display: block; width: 150px; height: 2px; background: #fff; margin-top: 1.6rem; opacity: 0.9; }
.hero-full .lead { color: rgba(255,255,255,0.9); }
.hero-full .promise-strip { border-top-color: rgba(255,255,255,0.25); }
.hero-full .promise-strip span { color: rgba(255,255,255,0.88); }
.hero-full .promise-strip span::before { background: #D6BB86; }
.hero-photo-note { position: absolute; top: 18px; right: 18px; font: 500 0.7rem/1.3 var(--f-mono); letter-spacing: 0.06em; color: rgba(255,255,255,0.92); background: rgba(26,23,20,0.4); padding: 0.3rem 0.55rem; }
@media (max-width: 620px) { .hero-full { min-height: 0; } .hero-photo-note { left: 16px; right: auto; } }

/* Subpage banner headers: photo background with white text (matches home hero) */
.page-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 0;
  padding-block: clamp(5.5rem, 11vw, 8.5rem) clamp(3rem, 6vw, 4.5rem);
  background: var(--pg-img, linear-gradient(180deg, #9C8E7A, #6E6253)) center / cover no-repeat; color: var(--on-dark); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(23,20,15,0.78) 0%, rgba(23,20,15,0.5) 55%, rgba(23,20,15,0.25) 100%); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,0.88); }
.page-hero .crumbs, .page-hero .crumbs a { color: rgba(255,255,255,0.75); }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .btn-ghost { color: var(--on-dark); }
.page-hero .btn-ghost:hover { background: var(--on-dark); color: var(--spruce); }
.page-hero .areas span { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); color: #fff; }
.page-hero .areas a:hover span { background: rgba(255,255,255,0.2); }
body[data-page="about"] .page-hero { --pg-img: url("img/site.jpg"); }
body[data-page="residential"] .page-hero { --pg-img: url("img/living.jpg"); }
body[data-page="commercial"] .page-hero { --pg-img: url("img/office.jpg"); }
body[data-page="portfolio"] .page-hero { --pg-img: url("img/bedroom.jpg"); }
body[data-page="case"] .page-hero { --pg-img: url("img/resort.jpg"); }
body[data-page="contact"] .page-hero { --pg-img: url("img/house.jpg"); }
body[data-page="book"] .page-hero { --pg-img: url("img/kitchen.jpg"); }
.hero-full { --hero-img: url("img/hero.jpg"); }

/* Illustration fills for image slots (swap the files in img/ for real photos later) */
.ph[class*="img-"]::before, .ph[class*="img-"]::after { display: none; }
.img-living   { --ph: url("img/living.jpg") center / cover no-repeat; }
.img-kitchen  { --ph: url("img/kitchen.jpg") center / cover no-repeat; }
.img-bedroom  { --ph: url("img/bedroom.jpg") center / cover no-repeat; }
.img-bathroom { --ph: url("img/bathroom.jpg") center / cover no-repeat; }
.img-office   { --ph: url("img/office.jpg") center / cover no-repeat; }
.img-cafe     { --ph: url("img/cafe.jpg") center / cover no-repeat; }
.img-site     { --ph: url("img/site.jpg") center / cover no-repeat; }
.img-resort   { --ph: url("img/resort.jpg") center / cover no-repeat; }
.img-house    { --ph: url("img/house.jpg") center / cover no-repeat; }
.img-portrait { --ph: url("img/portrait.svg") center / cover no-repeat; }
.img-hero     { --ph: url("img/hero.jpg") center / cover no-repeat; }
.ph[class*="img-"] .ph-label { display: none; }
.slide .ph[class*="img-"] .ph-label { display: inline-block; }

/* DOVO logo */
.brand-logo { display: block; height: 54px; width: auto; }
.site-footer .brand-logo { height: 78px; }
@media (max-width: 600px) { .brand-logo { height: 46px; } }

/* Stronger overlay so hero text stays readable on bright photos */
.hero-full::before {
  background: linear-gradient(90deg, rgba(17,14,10,0.86) 0%, rgba(17,14,10,0.74) 40%, rgba(17,14,10,0.5) 70%, rgba(17,14,10,0.3) 100%),
              linear-gradient(0deg, rgba(17,14,10,0.5) 0%, rgba(17,14,10,0) 50%);
}
.page-hero::before {
  background: linear-gradient(90deg, rgba(17,14,10,0.86) 0%, rgba(17,14,10,0.7) 50%, rgba(17,14,10,0.45) 100%);
}
.hero-full h1, .hero-full .lead, .hero-full .eyebrow, .page-hero h1, .page-hero .lead { text-shadow: 0 1px 18px rgba(0,0,0,0.35); }
.hero-full .lead { color: #fff; }
.hero-full h1 em { color: #E2C792; }

/* ===== Type system (tidied) =====
   Display: Cormorant Garamond 600, for h1, h2, h3, FAQ questions and big numbers only.
   Everything else: Jost. Labels are Jost 500, uppercase, spaced. */
body { font-size: 17px; line-height: 1.7; }
p, li, dd, td { color: inherit; }
.muted { color: var(--ink-2); }
.lead { font-size: 1.18rem; line-height: 1.65; color: var(--ink-2); }
h1 { font-weight: 600; letter-spacing: -0.012em; line-height: 1.05; }
h2 { font-weight: 600; letter-spacing: -0.008em; line-height: 1.1; }
h3 { font-weight: 600; line-height: 1.2; }
h4 { font: 600 1.06rem/1.35 var(--f-body); letter-spacing: 0; }
.eyebrow { font-size: 0.74rem; letter-spacing: 0.2em; font-weight: 600; }
.spec { font-size: 0.82rem; color: var(--ink-2); letter-spacing: 0.01em; }
.badge { font-size: 0.7rem; font-weight: 600; }
.nav a, .dropdown > button { font-size: 0.95rem; }
.btn { font-size: 0.95rem; letter-spacing: 0.01em; }
.faq summary { font-size: 1.4rem; font-weight: 600; }
.stat { padding: 1.8rem 1.4rem; gap: 0.5rem; }
.stat b { font: 600 clamp(2.6rem, 4.2vw, 3.4rem)/1 var(--f-display); letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.stat b i { font-style: normal; color: var(--brass); margin-left: 0.04em; }
.stat span { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.case-facts dd, .show-facts dd { font-size: 1rem; }
.person .spec { color: var(--brass-ink); }

/* Comparison table (About) */
.compare td:first-child { font-weight: 600; color: var(--ink); }
.compare td { color: var(--ink-2); vertical-align: top; }
.compare th:last-child, .compare td:last-child { background: var(--brass-soft); color: var(--ink); font-weight: 600; }
.compare th:last-child { color: var(--brass-ink); }


/* Testimonial marquee: auto-scrolls, pauses on hover/focus */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-set { display: flex; gap: 1.5rem; padding-right: 1.5rem; }
.marquee .quote { margin: 0; flex: none; width: min(380px, 78vw); }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .marquee-set[aria-hidden="true"] { display: none; }
}

/* Section-head links sit on the right */
.sec-head.split > .text-link { justify-self: end; align-self: end; }
@media (max-width: 760px) { .sec-head.split > .text-link { justify-self: start; } }
.stat b i.unit { font-size: 0.5em; margin-left: 0.12em; }
.footer-legal { flex-direction: column; gap: 0.4rem; }
.footer-legal .credit a { color: #C9C1B4; text-decoration: none; border-bottom: 1px solid rgba(201,193,180,0.4); }
.footer-legal .credit a:hover { color: #fff; border-bottom-color: #fff; }
/* Footer social icons */
.social { display: flex; gap: 0.6rem; margin-top: 0.4rem; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(201,193,180,0.35); border-radius: 50%; color: #C9C1B4; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.social a:hover, .social a:focus-visible { background: var(--brass); border-color: var(--brass); color: #fff; }
/* Home hero: crossfading background slideshow */
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slides span { position: absolute; inset: 0; background: var(--img) center / cover no-repeat; opacity: 0; animation: heroFade 24s infinite; }
.hero-slides span:nth-child(2) { animation-delay: 6s; }
.hero-slides span:nth-child(3) { animation-delay: 12s; }
.hero-slides span:nth-child(4) { animation-delay: 18s; }
@keyframes heroFade { 0% { opacity: 0; transform: scale(1.06); } 5% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-slides span { animation: none; } .hero-slides span:first-child { opacity: 1; } }
/* Mobile fixes */
.split-wide { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 860px) {
  .split, .split-wide { grid-template-columns: 1fr; }
  .panel { padding: 1.25rem; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding-block: clamp(3rem, 12vw, 4rem); }
  .hero-full { padding-block: 5rem 3rem; }
  .hero-full h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero-full .lead { font-size: 1.02rem; }
  .hero-full .btn-row .btn, .page-hero .btn-row .btn { flex: 1 1 100%; text-align: center; justify-content: center; }
  .promise-strip { gap: 0.5rem 1rem; }
  .page-hero h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .stat { padding: 1.2rem 0.9rem; }
  .stat span { font-size: 0.7rem; letter-spacing: 0.06em; }
  .faq summary { font-size: 1.2rem; }
  .cta-band .btn-row .btn { width: 100%; }
  .wa-float { font-size: 0.85rem; padding: 0.6rem 0.9rem; }
  input[type="file"] { width: 100%; font-size: 0.85rem; }
}
/* Process: safeguard line sits on the same baseline in every card of a row */
.process li { display: flex; flex-direction: column; gap: 0.55rem; }
.process .assure { margin-top: auto; padding-top: 0.4rem; }

/* =====================================================================
   Refresh 2026-11: softer palette, more air, editorial headings, motion.
   Layered on top of everything above; no content changes.
   ===================================================================== */
:root {
  --paper: #FBF9F5;
  --surface: #FFFFFF;
  --sand: #F3EDE4;
  --ink: #171411;
  --ink-2: #5B554E;
  --ink-3: #8F887F;
  --line: #E9E2D7;
  --spruce: #1B1712;
  --spruce-2: #2C261F;
  --brass: #B08D57;
  --brass-ink: #8A6A3B;
  --brass-soft: #F4ECDF;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
body { background: var(--paper); }
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section.tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section.alt { background: var(--sand); border-block: 0; }
.section.dark, .cta-band { background: radial-gradient(ellipse 60% 80% at 85% 0%, rgba(176,141,87,0.16), transparent 60%), var(--spruce); }
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Editorial headings: uppercase serif for section titles, like a magazine spread */
h2 { font-weight: 500; text-transform: uppercase; letter-spacing: 0.025em; line-height: 1.12; font-size: clamp(1.9rem, 3.4vw, 2.85rem); }
h2 em { font-style: italic; text-transform: none; color: var(--brass-ink); }
.section.dark h2 em, .cta-band h2 em { color: #E2C792; }
.hero-full h1 { font-weight: 500; font-size: clamp(2.9rem, 6.4vw, 5.4rem); line-height: 1.02; letter-spacing: -0.015em; }
.page-hero h1 { font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(2.1rem, 4.6vw, 3.7rem); line-height: 1.06; }

/* Eyebrow labels get a short leading rule */
.eyebrow { display: inline-flex; align-items: center; gap: 0.85rem; letter-spacing: 0.24em; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.7; flex: none; }
.calc-card .eyebrow::before, .form .eyebrow::before { display: none; }

/* Header: light, translucent, slims down once you scroll */
.site-header { background: rgba(255,255,255,0.86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: transparent; transition: box-shadow .35s var(--ease), background .35s var(--ease); }
.site-header .wrap { transition: min-height .35s var(--ease); }
.site-header .brand-logo { transition: height .35s var(--ease); }
.site-header.scrolled { box-shadow: 0 10px 30px -22px rgba(23,20,17,0.45); background: rgba(255,255,255,0.94); }
.site-header.scrolled .wrap { min-height: 62px; }
.site-header.scrolled .brand-logo { height: 44px; }
.nav a, .dropdown > button { position: relative; letter-spacing: 0.02em; }
@media (min-width: 981px) {
  .nav a, .dropdown > button { border-bottom: 0 !important; }
  .nav a:not(.btn)::after, .dropdown > button::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
  .nav a:not(.btn):hover::after, .nav a.active::after, .dropdown:hover > button::before, .dropdown > button.active::before { transform: scaleX(1); transform-origin: left; }
  .dropdown-menu a::after { display: none; }
  .dropdown-menu { border: 0; box-shadow: 0 24px 50px -24px rgba(23,20,17,0.4); animation: ddIn .3s var(--ease-out); }
}
@keyframes ddIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Buttons: spaced capitals, square, colour sweeps in on hover */
.btn { border-radius: 0; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 500; padding: 1.05rem 1.7rem; position: relative; overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease-out); }
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn-primary { background: var(--brass); border-color: var(--brass); }
.btn-primary::after { background: var(--spruce); }
.btn-primary:hover { background: var(--brass); border-color: var(--spruce); }
.btn-dark::after { background: var(--brass); }
.btn-dark:hover { background: var(--spruce); }
.btn-ghost:hover { background: transparent; color: var(--surface); }
.btn-ghost::after { background: var(--ink); }
.section.dark .btn-ghost:hover, .hero-dark .btn-ghost:hover, .page-hero .btn-ghost:hover, .cta-band .btn-ghost:hover { background: transparent; color: var(--spruce); }
.section.dark .btn-ghost::after, .hero-dark .btn-ghost::after, .page-hero .btn-ghost::after, .cta-band .btn-ghost::after { background: var(--on-dark); }
.cta-band .btn-primary::after, .section.dark .btn-primary::after, .hero-dark .btn-primary::after { background: #fff; }
.cta-band .btn-primary:hover, .section.dark .btn-primary:hover, .hero-dark .btn-primary:hover { color: var(--spruce); border-color: #fff; }
.nav .btn { padding: 0.85rem 1.25rem; font-size: 0.72rem; }
.text-link { position: relative; border-bottom: 0; padding-bottom: 3px; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; font-weight: 500; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .5s var(--ease-out), color .3s; }
.text-link:hover { background-size: 30% 1px; }
.text-link::after { content: none; }
.text-link:hover::after { transform: none; }

/* Photos: zoom gently on hover; frames stay put */
.ph[class*="img-"]::before { display: block; content: ""; position: absolute; inset: 0; background: inherit; transition: transform 1.2s var(--ease-out); transform-origin: center; }
.ph[class*="img-"] { border-radius: 0; }
a:hover > .ph[class*="img-"]::before, .project-card:hover .ph::before, .service-card:hover .ph::before { transform: scale(1.06); }
.slide .ph[class*="img-"]::before, .thumbs .ph::before { display: none !important; }

/* Cards: borderless, lift on hover */
.service-card { background: var(--surface); border: 0; padding: 0 0 1.8rem; box-shadow: 0 1px 0 var(--line); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.service-card .body { padding-inline: 1.6rem; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(23,20,17,0.45); }
.service-card li { background: var(--sand); }
.project-card .meta { transition: transform .5s var(--ease-out); }
.project-card:hover .meta { transform: translateX(6px); }
.quote { border: 0; box-shadow: 0 20px 50px -38px rgba(23,20,17,0.5); }
.panel { border: 0; box-shadow: 0 24px 60px -40px rgba(23,20,17,0.45); }
th { background: var(--sand); }
.hook { background: var(--brass-soft); border-left-width: 2px; }
.areas span { border-color: var(--line); transition: background .3s, color .3s, border-color .3s; }
.areas a:hover span, .areas span:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.promise { border-top-width: 1px; }
.faq summary { transition: color .3s, padding-left .45s var(--ease-out); }
.faq summary:hover { color: var(--brass-ink); padding-left: 0.4rem; }
.faq summary::after { transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(180deg); }
.process li::before { letter-spacing: 0.2em; }
.social a { transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease-out); }
.social a:hover { transform: translateY(-3px); }
.wa-float { transition: transform .4s var(--ease-out), box-shadow .4s; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -12px rgba(0,0,0,0.5); }
.wa-float::before { animation: waPulse 2.4s infinite; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(214,187,134,0.7); } 70% { box-shadow: 0 0 0 9px rgba(214,187,134,0); } 100% { box-shadow: 0 0 0 0 rgba(214,187,134,0); } }

/* Stats: large, airy numbers that count up */
.stat { padding: 2.2rem 1.6rem; }
.stat b { font-weight: 500; font-size: clamp(3rem, 5.4vw, 4.4rem); font-variant-numeric: lining-nums tabular-nums; }
.stat span { font-size: 0.74rem; letter-spacing: 0.16em; }
.section.dark .stat b { color: var(--on-dark); }

/* ---------- Motion ----------
   html.js is set by a one-line script in <head>. Nothing is hidden without it. */
@keyframes riseIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes trackIn { from { opacity: 0; letter-spacing: 0.6em; } to { opacity: 1; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Page-top heroes animate on load with CSS alone, so there is no flash */
.js .hero-full .hero-copy > *, .js .page-hero .wrap > * { animation: riseIn 1.1s var(--ease-out) both; }
.js .hero-full .eyebrow, .js .page-hero .eyebrow { animation: trackIn 1.4s var(--ease-out) both; }
.js .hero-full h1, .js .page-hero h1 { animation: riseIn 1.2s var(--ease-out) .15s both; }
.js .hero-full .hero-copy > :nth-child(3), .js .page-hero .wrap > :nth-child(3) { animation-delay: .35s; }
.js .hero-full .hero-copy > :nth-child(4), .js .page-hero .wrap > :nth-child(4) { animation-delay: .5s; }
.js .hero-full .hero-copy > :nth-child(5), .js .page-hero .wrap > :nth-child(5) { animation-delay: .65s; }
.js .hero-full .hero-copy > :nth-child(n+6), .js .page-hero .wrap > :nth-child(n+6) { animation-delay: .8s; }
.js .hero-full .hero-rule { transform-origin: left; animation: lineGrow 1.2s var(--ease-out) .5s both; }
.js .page-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: inherit; animation: heroZoom 14s var(--ease) both; }

/* Scroll reveals: site.js adds .rv to blocks and .in when they enter the screen */
.rv { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.service-card.rv.in:hover { transform: translateY(-6px); transition-delay: 0s; }
.rv-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.rv-img::before { transform: scale(1.18); transition: transform 1.8s var(--ease-out) !important; }
.rv-img.in { clip-path: inset(0 0 0 0); }
.rv-img.in::before { transform: scale(1); }
a:hover > .rv-img.in::before, .project-card:hover .rv-img.in::before, .service-card:hover .rv-img.in::before { transform: scale(1.06); }
/* Headings rise word by word from behind a mask */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.split-words .w > span { display: inline-block; transform: translateY(115%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0s)); }
.split-words.in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .hero-full .hero-copy > *, .js .page-hero .wrap > *, .js .hero-full .hero-rule, .js .page-hero::after { animation: none !important; }
  .rv, .rv-img, .rv-img::before, .split-words .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .wa-float::before { animation: none; }
}
@media (max-width: 620px) {
  .stat { padding: 1.5rem 1rem; }
  .stat b { font-size: clamp(2.4rem, 11vw, 3rem); }
  h2 { font-size: clamp(1.65rem, 7.4vw, 2.1rem); }
  .btn { padding: 1rem 1.3rem; }
}

/* Parallax band (home): a large photo that moves slower than the page, with a centred statement */
.parallax-band { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(400px, 64vh, 640px); display: grid; place-items: center; text-align: center; color: #fff; padding-block: 5rem; background: var(--spruce); }
.parallax-bg { position: absolute; left: 0; right: 0; top: -30%; height: 160%; z-index: -2; background: var(--img) center / cover no-repeat; will-change: transform; }
.parallax-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,14,10,0.42), rgba(17,14,10,0.55)); }
.parallax-band h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.22; letter-spacing: 0.03em; text-shadow: 0 2px 24px rgba(0,0,0,0.3); }
.parallax-band h2 em { color: #fff; background: var(--brass); padding: 0 0.16em; font-weight: 500; -webkit-box-decoration-break: clone; box-decoration-break: clone; text-shadow: none; }
@media (max-width: 620px) { .parallax-band { min-height: 340px; padding-block: 4rem; } .parallax-band h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); } .parallax-band h2 br { display: none; } }

/* Comparison table (About): hovering a row lifts and slightly enlarges the DOVO answer */
@media (min-width: 761px) { .table-wrap:has(.compare) { overflow: visible; } }
.compare tbody tr td { transition: background .35s var(--ease-out), color .35s var(--ease-out); }
.compare tbody td:last-child { position: relative; transition: transform .4s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out), box-shadow .4s var(--ease-out); }
.compare tbody tr:hover td { background: #FBF8F3; color: var(--ink); }
.compare tbody tr:hover td:last-child { transform: scale(1.04); z-index: 1; background: var(--brass); color: #fff; box-shadow: 0 14px 30px -16px rgba(23,20,17,0.5); }

/* Parallax band, round 2: shorter, smaller type, and on desktop the photo stays fixed while the page slides over it */
.parallax-band { min-height: clamp(260px, 42vh, 400px); padding-block: 3.5rem; }
.parallax-band h2 { font-size: clamp(1.5rem, 2.7vw, 2.35rem); line-height: 1.3; }
@media (hover: hover) and (pointer: fine) {
  .parallax-band { background: var(--img) center / cover no-repeat fixed; }
  .parallax-bg { display: none; }
}
@media (max-width: 620px) { .parallax-band { min-height: 240px; padding-block: 3rem; } .parallax-band h2 { font-size: clamp(1.3rem, 6vw, 1.6rem); } }

/* Commitments (home): stands in for reviews until real ones come in */
.pledges { list-style: none; margin: 0; padding: 0; }
.pledges li { background: var(--surface); padding: 2rem 1.6rem 2.2rem; display: grid; gap: 0.7rem; align-content: start; border-top: 2px solid var(--brass); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), opacity 1s var(--ease-out); transition-delay: var(--d, 0s); }
.pledges li:hover, .pledges li.rv.in:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -34px rgba(23,20,17,0.45); transition-delay: 0s; }
.pledge-no { font: 500 2.6rem/1 var(--f-display); color: var(--brass); font-variant-numeric: lining-nums; }
.pledges h3 { font-size: 1.35rem; }

/* Header button: text stays white on hover (the nav link hover colour was overriding it) */
.nav a.btn, .nav a.btn:hover, .nav a.btn:focus-visible { color: #fff; }

/* Terracotta accent: a soft, warm second colour used sparingly next to the gold */
:root { --clay: #B86B52; --clay-ink: #9A5440; --clay-soft: #F7EAE3; }
.eyebrow::before { background: var(--clay); opacity: 1; }
h2 em { color: var(--clay-ink); }
.parallax-band h2 em { background: var(--clay); }
.pledges li { border-top-color: var(--clay); }
.pledge-no { color: var(--clay); }
.process li::before { color: var(--clay-ink); }
.hook { background: var(--clay-soft); border-left-color: var(--clay); }
.checklist li::before { border-color: var(--clay); }
.section.dark .checklist li::before { border-color: #D99A82; }
.promise-strip span::before { background: var(--clay); }
.hero-full .promise-strip span::before { background: #D99A82; }
.text-link:hover { color: var(--clay-ink); }
.faq summary:hover, .faq summary::after { color: var(--clay-ink); }

/* Photos as real images (Google Images and screen readers can read them); the background stays underneath as a fallback */
.ph > .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease-out); }
.ph:has(> .ph-img)::before { display: none !important; }
a:hover > .ph > .ph-img, .project-card:hover .ph-img, .service-card:hover .ph-img { transform: scale(1.06); }
.ph .ph-label { z-index: 2; }

/* Client photos (2026-11): renders are tagged so nobody mistakes them for finished work */
.ph .tag3d { position: absolute; top: 10px; left: 10px; z-index: 3; font: 600 0.62rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(26,23,20,0.55); padding: 0.32rem 0.45rem; pointer-events: none; }
.thumbs .ph .tag3d { display: none; }
body[data-page="about"] .page-hero { --pg-img: url("img/work/living-room-white-cabinets.jpg"); }
body[data-page="residential"] .page-hero { --pg-img: url("img/work/open-plan-living-dining.jpg"); }
body[data-page="commercial"] .page-hero { --pg-img: url("img/work/office-timber-ceiling-green-wall.jpg"); }
body[data-page="portfolio"] .page-hero { --pg-img: url("img/work/dining-room-pendant-light.jpg"); }
body[data-page="case"] .page-hero { --pg-img: url("img/work/house-design-night-garden-lights.jpg"); }
body[data-page="contact"] .page-hero { --pg-img: url("img/work/white-double-storey-house-garden.jpg"); }
body[data-page="book"] .page-hero { --pg-img: url("img/work/kitchen-marble-island-bar-stools.jpg"); }
.hero-full { --hero-img: url("img/work/living-dining-marble-feature-wall.jpg"); }

/* Timeline & budget tables: row hover + estimate note (2026-11) */
.rate-table tbody tr td { transition: background .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.rate-table tbody tr td:first-child { box-shadow: inset 0 0 0 var(--brass); }
.rate-table tbody td.num { transition: color .3s var(--ease-out); }
@media (hover: hover) {
  .rate-table tbody tr:hover td { background: #FBF7F0; color: var(--ink); }
  .rate-table tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--brass); font-weight: 600; }
  .rate-table tbody tr:hover td.num { color: var(--brass-ink); font-weight: 600; }
}
.table-note { display: flex; gap: 0.75rem; align-items: flex-start; margin: 1.1rem 0 0; padding: 1rem 1.15rem; background: #23201C; border-left: 3px solid #D6BB86; color: #D9D2C6; font-size: 0.86rem; line-height: 1.65; max-width: none; }
.table-note svg { flex: none; margin-top: 0.2rem; color: #D6BB86; }
.table-note b { color: #F1DDB4; font-weight: 600; }

/* No text selection / copying on the page (form fields still work) */
body { -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable="true"] { -webkit-user-select: text; -moz-user-select: text; user-select: text; }
img { -webkit-user-drag: none; user-drag: none; }

/* Live forms */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 0.7rem 0.9rem; background: #fbebeb; border-left: 3px solid #b3261e; color: #7a1c16; font-size: 0.9rem; }
.form button[disabled] { opacity: 0.6; cursor: progress; }

/* Legal pages */
.legal { max-width: 760px; display: grid; gap: 0.9rem; }
.legal h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 1.6rem; }
.legal ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.45rem; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.75; }
.legal .legal-meta { font: 500 0.8rem/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-ink); }
.footer-legal span a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(201,193,180,0.35); }
.footer-legal span a:hover { color: #fff; }

/* Mobile performance (2026-11) */
.hero-slides:not(.go) span:not(:first-child) { background-image: none; }
.thumbs .ph { background: #ddd6ca; }
@media (max-width: 760px) {
  .hero-slides span, .parallax-band, .parallax-bg { background-image: var(--img-m, var(--img)); }
  .hero-full { --hero-img: url("img/work/living-dining-marble-feature-wall-800.jpg"); }
  body[data-page="about"] .page-hero { --pg-img: url("img/work/living-room-white-cabinets-800.jpg"); }
  body[data-page="residential"] .page-hero { --pg-img: url("img/work/open-plan-living-dining-800.jpg"); }
  body[data-page="commercial"] .page-hero { --pg-img: url("img/work/office-timber-ceiling-green-wall-800.jpg"); }
  body[data-page="portfolio"] .page-hero { --pg-img: url("img/work/dining-room-pendant-light-800.jpg"); }
  body[data-page="case"] .page-hero { --pg-img: url("img/work/house-design-night-garden-lights-800.jpg"); }
  body[data-page="contact"] .page-hero { --pg-img: url("img/work/white-double-storey-house-garden-800.jpg"); }
  body[data-page="book"] .page-hero { --pg-img: url("img/work/kitchen-marble-island-bar-stools-800.jpg"); }
}
@media (max-width: 760px), (hover: none) {
  /* effects that make phones stutter while scrolling */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255,255,255,0.97); }
  .js .page-hero::after { animation: none; }
  .parallax-bg { top: 0; height: 100%; transform: none !important; will-change: auto; }
  a:hover > .ph > .ph-img, .project-card:hover .ph-img, .service-card:hover .ph-img { transform: none; }
}

/* Contact details: plain links, two small action buttons */
.contact-link { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-link:hover { border-bottom-color: var(--brass); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.contact-actions a { display: inline-flex; align-items: center; padding: 0.55rem 1rem; font: 500 0.82rem/1 var(--f-body); letter-spacing: 0.03em; text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--surface); transition: background .2s, color .2s, border-color .2s; }
.contact-actions a:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-actions a:hover { border-color: var(--brass); }
.contact-actions a:first-child:hover { background: var(--brass); border-color: var(--brass); }

/* Photos: no alt text flash while loading; fade in when ready */
.ph-img { color: transparent; font-size: 0; }
.js .ph > .ph-img { opacity: 0; transition: opacity .5s ease, transform 1.2s var(--ease-out); }
.js .ph > .ph-img.is-loaded { opacity: 1; }

/* Ghost button on the dark "Ready to renovate" band: light text and border */
.cta-band .btn-ghost { color: var(--on-dark); border-color: rgba(243,238,229,0.7); }

/* Back to top */
.to-top { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(78px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(176,141,87,0.55); border-radius: 50%; background: #17140F; color: #E2C792; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(23,20,17,0.55); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s ease, transform .3s ease, background .2s, color .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brass); color: #fff; border-color: var(--brass); }
.to-top svg { width: 18px; height: 18px; }
@media (max-width: 620px) { .to-top { width: 42px; height: 42px; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); } }
