/* Layout concept: a display-home walkthrough. Full-width photography, charcoal and warm stone, generous space. */
:root {
  --paper: #ffffff; --stone: #eae6e1; --sheet: #ffffff; --ink: #1b1918; --muted: #5a5a5a; --line: #d9d4cd; --link: #7a5a2c;
  --band: #161514; --band-ink: #ffffff; --band-muted: #d6d1ca; --band-line: #4a4642;
  --btn: #161514; --btn-ink: #ffffff; --brass: #b08d57;
  --good: #1f6b4a; --warn: #a33f1c; --mid: #80590a;
  --display: "Jost", "Futura", "Century Gothic", sans-serif;
  --script: "Allura", "Snell Roundhand", cursive;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --mono: "Figtree", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #161514; --stone: #211f1d; --sheet: #1c1a19; --ink: #f3f0ec; --muted: #b5b0a9; --line: #3a3734; --link: #d9b77f;
  --band: #0f0e0d; --btn: #f3f0ec; --btn-ink: #161514; --good: #84d6ad; --warn: #ff9f7c; --mid: #efc56a; color-scheme: dark;
} }
:root[data-theme="dark"] {
  --paper: #161514; --stone: #211f1d; --sheet: #1c1a19; --ink: #f3f0ec; --muted: #b5b0a9; --line: #3a3734; --link: #d9b77f;
  --band: #0f0e0d; --btn: #f3f0ec; --btn-ink: #161514; --good: #84d6ad; --warn: #ff9f7c; --mid: #efc56a; color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--link); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.8vw, 4.5rem); font-weight: 500; line-height: 1.06; text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 400; line-height: 1.15; }
h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.25; }
p { margin: 0; }
em { font: 400 1.32em/0.9 var(--script); text-transform: none; letter-spacing: 0; color: inherit; }
.label { font: 500 0.78rem/1.3 var(--display); letter-spacing: 0.16em; text-transform: uppercase; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.5; }

/* Header */
.top { background: var(--band); color: var(--band-ink); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; padding-block: 0.85rem; }
.logo { display: inline-flex; align-items: baseline; gap: 0.3rem; font: 500 1.05rem/1.1 var(--display); color: var(--band-ink); text-decoration: none; letter-spacing: 0.14em; text-transform: uppercase; }
.logo em { font-size: 1.75em; color: var(--band-ink); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 1.15rem; margin-left: auto; font: 400 0.84rem/1.3 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
.nav a { color: var(--band-ink); text-decoration: none; padding-block: 0.25rem; }
.nav a:hover { color: var(--brass); }
.nav .btn { padding: 0.55rem 1rem; background: transparent; border-color: var(--band-ink); color: var(--band-ink) !important; }
@media (max-width: 66rem) { .nav { margin-left: 0; width: 100%; } }

.btn { display: inline-block; font: 500 0.88rem/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; padding: 0.9rem 1.4rem; border-radius: 0; text-decoration: none; background: var(--btn); color: var(--btn-ink) !important; border: 1px solid var(--btn); cursor: pointer; }
.btn:hover { opacity: 0.86; }
.btn.ghost { background: transparent; color: var(--band-ink) !important; border-color: var(--band-ink); }
.hero .btn:not(.ghost), .cta .btn { background: var(--band-ink); color: #161514 !important; border-color: var(--band-ink); }

/* Photo heroes */
.hero { position: relative; background: var(--band); color: var(--band-ink); overflow: hidden; isolation: isolate; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,14,13,.78) 0%, rgba(15,14,13,.52) 55%, rgba(15,14,13,.25) 100%); }
.hero a:not(.btn) { color: var(--band-ink); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.hero-text { display: flex; flex-direction: column; gap: 1.3rem; min-width: 0; padding-top: clamp(0rem, 3vw, 2.5rem); }
.hero .label { color: var(--band-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.page-hero { padding-block: clamp(3.5rem, 8vw, 6.5rem); display: flex; flex-direction: column; gap: 1rem; max-width: 50rem; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
@media (max-width: 54rem) { .hero-in { grid-template-columns: minmax(0, 1fr); } .hero::after { background: rgba(15,14,13,.62); } }

/* Welcome and photo cards */
.welcome { background: var(--band); color: var(--band-ink); text-align: center; }
.welcome .wrap { padding-block: clamp(2.5rem, 5vw, 4rem); display: flex; flex-direction: column; gap: 0.8rem; align-items: center; }
.welcome h2 { font: 500 clamp(1.9rem, 4vw, 3rem)/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.welcome p { max-width: 42rem; color: var(--band-muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card { display: flex; flex-direction: column; gap: 0.5rem; color: var(--ink); text-decoration: none; min-width: 0; }
.card img, .gallery img, .split img { display: block; width: 100%; height: auto; object-fit: cover; }
.card img { aspect-ratio: 3 / 2; }
.card h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.4rem; }
.card p { font-size: 0.97rem; color: var(--muted); }
.card:hover h3 { color: var(--link); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.gallery img { aspect-ratio: 4 / 3; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split img { aspect-ratio: 4 / 3; }
@media (max-width: 48rem) { .cards, .split { grid-template-columns: minmax(0, 1fr); } }

/* Tools */
.tool { background: var(--sheet); color: var(--ink); border: 1px solid var(--line); padding: clamp(1rem, 2.4vw, 1.6rem); display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.hero .tool a { color: var(--link); }
.tool h2 { font-weight: 500; }
.tool-h { display: flex; justify-content: space-between; gap: 0.3rem 1rem; align-items: baseline; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 0.6rem; }
.tool-h .label, .hero .tool .label { color: var(--muted); font-size: 0.68rem; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); gap: 0.85rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.93rem; font-weight: 600; min-width: 0; }
.field input, .field select, .field textarea { font: 400 1rem/1.3 var(--body); padding: 0.65rem; border: 1px solid var(--muted); border-radius: 0; background: var(--paper); color: var(--ink); width: 100%; min-width: 0; }
.field input[type="range"] { padding: 0; border: 0; background: none; accent-color: var(--brass); }
.field small { font-weight: 400; color: var(--muted); font-size: 0.84rem; line-height: 1.35; }
.readout { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 0; }
.readout dt, .readout dd { padding-block: 0.45rem; border-top: 1px solid var(--line); margin: 0; }
.readout dd { padding-left: 1rem; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.readout .big { font: 500 clamp(1.8rem, 4vw, 2.6rem)/1.1 var(--display); }
.pill { display: inline-block; font-size: 0.82rem; font-weight: 600; line-height: 1.3; padding: 0.18rem 0.5rem; border: 1px solid currentColor; }
[data-state="good"] { color: var(--good); }
[data-state="warn"] { color: var(--warn); }
[data-state="mid"] { color: var(--mid); }
.note { font-size: 0.88rem; line-height: 1.45; color: var(--muted); }
.result { display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; }
.tool-cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem; }
@media (max-width: 54rem) { .tool-cols { grid-template-columns: minmax(0, 1fr); } }

/* Sections */
.sec { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.sec.alt { background: var(--stone); }
.sec-in { display: flex; flex-direction: column; gap: 1.5rem; }
.sec + .sec:not(.alt) { padding-top: 0; }
.alt + .sec { padding-top: clamp(2.5rem, 5vw, 4.5rem) !important; }
.prose { display: flex; flex-direction: column; gap: 0.95rem; max-width: 44rem; min-width: 0; }
.prose h2 { margin-top: 1.1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 0.5rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }

/* Guide tiles */
.plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.lot { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.25rem; background: var(--sheet); text-decoration: none; color: var(--ink); min-width: 0; }
.lot h3 { text-transform: uppercase; font-size: 1rem; letter-spacing: 0.08em; }
.lot p { font-size: 0.95rem; line-height: 1.4; color: var(--muted); }
.lot:hover h3 { color: var(--link); }
.lot.yours { background: var(--band); color: var(--band-ink); }
.lot.yours p { color: var(--band-muted); }
.lot.yours:hover h3 { color: var(--band-ink); text-decoration: underline; }
@media (max-width: 52rem) { .plan { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .plan { grid-template-columns: minmax(0, 1fr); } }

/* Tables */
.table-x { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
caption { text-align: left; color: var(--muted); font-size: 0.88rem; padding-bottom: 0.5rem; }
th, td { padding: 0.7rem 0.8rem 0.7rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { font: 500 0.76rem/1.3 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); white-space: nowrap; }
tbody th { font-weight: 600; }
.num td { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Steps, FAQ, sources */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: 1.4rem 2rem; counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 0.3rem; border-top: 1px solid var(--ink); padding-top: 0.7rem; }
.steps li::before { content: "Stage " counter(s); font: 500 0.74rem/1.3 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.faq { display: flex; flex-direction: column; gap: 1.1rem; max-width: 44rem; }
.faq div { display: flex; flex-direction: column; gap: 0.3rem; }
.sources { font-size: 0.88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 0.8rem; max-width: 44rem; }
.cta { background: var(--band); color: var(--band-ink); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 2.25rem; }
.phone { font-weight: 600; font-size: 1.05rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--stone); font-size: 0.92rem; }
.foot-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); gap: 1.5rem; padding-block: 2.25rem 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; flex-direction: column; gap: 0.25rem; }
.foot a { color: var(--ink); }
.foot .label { color: var(--muted); }
.legal { font-size: 0.82rem; line-height: 1.5; color: var(--muted); padding-block: 0 2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.form-grid { max-width: 40rem; }
#enquiry-msg { font-weight: 600; }
.check { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.92rem; }
.check input { margin-top: 0.3rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
