:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --panel: #fffdf6;
  --ink: #26241f;
  --muted: #625e54;
  --accent: #e76d43;
  --accent-dark: #9c3d25;
  --line: #d7d1c1;
  --green: #2f493c;
  --error: #982c22;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #337463; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(1190px, calc(100% - 112px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-layout { height: 75px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; }
.wordmark { width: fit-content; text-decoration: none; font-size: 1.48rem; font-weight: 850; letter-spacing: -.075em; display: inline-flex; align-items: center; }
.wordmark > span:last-child { color: var(--accent-dark); }
.brand-mark { width: 21px; height: 19px; margin-right: 9px; background: var(--accent); clip-path: polygon(8% 8%, 79% 8%, 100% 32%, 82% 59%, 9% 59%, 0 35%, 8% 8%, 12% 69%, 81% 69%, 66% 94%, 0 94%); }
.location { justify-self: center; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .9rem; }
.pin { display: inline-block; width: 10px; height: 10px; border: 1.5px solid var(--accent-dark); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.header-link { justify-self: end; border-bottom: 1px solid var(--accent-dark); text-decoration: none; padding: 10px 0 5px; font-size: .9rem; font-weight: 700; }
.hero { display: grid; grid-template-columns: 1fr .96fr; gap: 55px; align-items: center; padding-block: 42px 48px; }
.hero-copy { padding: 20px 0 24px; }
.eyebrow { font-weight: 750; font-size: .82rem; letter-spacing: .13em; display: flex; align-items: center; gap: 9px; margin: 0 0 23px; }
.eyebrow > span { width: 17px; height: 7px; border-radius: 2px 6px 6px 2px; transform: rotate(-12deg); background: var(--accent); flex: none; }
h1, h2 { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 400; letter-spacing: -.062em; }
h1 { margin: 0; font-size: clamp(5rem, 8.6vw, 8rem); line-height: .83; }
h1 em { color: var(--accent-dark); font-weight: 400; }
.hero-description { max-width: 390px; margin: 29px 0 24px; line-height: 1.55; font-size: 1.08rem; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 12px 21px; background: var(--ink); color: white; border: 1px solid var(--ink); border-radius: 7px; font-weight: 730; text-align: center; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--green); border-color: var(--green); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.button.secondary:hover { background: #eae6d9; }
.button:disabled { opacity: .48; cursor: default; }
.hero-figure { margin: 0; min-width: 0; }
.hero-picture { overflow: hidden; position: relative; border-radius: 9px; background: #ae6446; aspect-ratio: 1.07; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; display: block; }
.sample { position: absolute; bottom: 17px; left: 17px; display: flex; gap: 11px; align-items: center; padding: 9px 13px 9px 9px; background: var(--panel); border-radius: 5px; }
.sample-chip { width: 36px; height: 36px; border-radius: 3px; background: #be613e; }
.sample strong, .sample small { display: block; }
.sample strong { font-size: .9rem; }
.sample small { font-size: .76rem; color: var(--muted); }
.quote-band { background: #eae7d9; border-top: 1px solid var(--line); min-height: 350px; padding: 60px 0 75px; scroll-margin-top: 20px; }
.quote-layout { display: grid; grid-template-columns: .58fr 1fr; gap: 65px; align-items: start; }
.quote-intro h2 { font-size: clamp(2.8rem, 5vw, 4.65rem); line-height: .94; margin: 0 0 14px; }
.quote-intro p:last-child { color: var(--muted); max-width: 310px; line-height: 1.55; }
.wizard { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 25px; box-shadow: 0 2px 12px #29231409; }
.steps { list-style: none; display: flex; padding: 0; margin: 0 0 22px; color: var(--muted); font-size: .88rem; font-weight: 600; gap: 4px 15px; flex-wrap: wrap; }
.steps li { border-bottom: 2px solid transparent; padding-bottom: 5px; }
.steps [aria-current] { color: var(--ink); font-weight: 800; border-color: var(--accent); }
.wizard h3 { font-size: 1.32rem; margin: 0 0 9px; line-height: 1.2; }
.wizard h4 { margin: 0; font-size: 1.06rem; }
.wizard p { line-height: 1.5; margin: 0 0 15px; }
.muted { color: var(--muted); }
.field { display: grid; gap: 5px; min-width: 0; }
.field > span, legend { font-weight: 680; font-size: .92rem; }
input:not([type="checkbox"]):not([type="radio"]), select { width: 100%; min-width: 0; border: 1px solid #a7a291; color: var(--ink); background: white; border-radius: 6px; padding: 10px 11px; min-height: 46px; font-size: 1rem; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--green); width: 18px; height: 18px; }
.actions, .postcode-form, .inline-fields { display: flex; gap: 9px; align-items: end; flex-wrap: wrap; }
.postcode-form .field { flex: 1; }
.actions { margin-top: 15px; }
.field-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid .wide { grid-column: 1 / -1; }
.notice { padding: 11px 12px; border-radius: 5px; background: #f2e9da; color: #594630; font-size: .91rem; }
.error { color: var(--error); margin: 9px 0 0 !important; font-weight: 650; }
.room { border: 1px solid var(--line); padding: 14px; border-radius: 7px; margin: 13px 0; }
.room-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.text-button { border: 0; background: transparent; cursor: pointer; color: var(--accent-dark); min-height: 42px; padding: 5px 7px; font-weight: 700; text-decoration: underline; }
.methods { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 10px 0; }
.methods label, .check { display: flex; gap: 6px; align-items: center; min-height: 44px; }
.photo-card { margin: 12px 0; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.photo-controls { padding: 11px; }
.photo-card canvas { display: block; width: 100%; background: #222; cursor: crosshair; touch-action: manipulation; }
.palette { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.swatch { background: var(--swatch); width: 44px; height: 44px; cursor: pointer; border: 2px solid var(--panel); border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--green); }
.amount { margin: 10px 0 !important; color: var(--green); font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 780; letter-spacing: -.055em; }
.demo-link { display: inline-block; margin-top: 10px; color: var(--accent-dark); font-weight: 750; }
.site-footer { padding-block: 20px; }
.site-footer .shell { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.admin-photo { display: block; width: min(100%, 400px); margin-block: 10px; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 64px); }
  .hero { gap: 28px; }
  h1 { font-size: clamp(4.5rem, 10.1vw, 6rem); }
  .quote-layout { gap: 28px; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 36px); }
  .header-layout { height: 61px; grid-template-columns: 1fr auto; }
  .location { display: none; }
  .header-link { font-size: .82rem; }
  .hero { grid-template-columns: 1fr; gap: 18px; padding: 24px 0 26px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(4rem, 15vw, 5.4rem); line-height: .88; }
  .eyebrow { margin-bottom: 15px; font-size: .72rem; }
  .hero-description { margin: 16px 0 15px; font-size: 1rem; }
  .hero-picture { aspect-ratio: 1.45; }
  .sample { left: 10px; bottom: 10px; }
  .quote-band { padding: 32px 0 42px; }
  .quote-layout { grid-template-columns: 1fr; gap: 12px; }
  .quote-intro h2 br { display: none; }
  .quote-intro p:last-child { max-width: none; margin-bottom: 7px; }
  .wizard { padding: 15px; }
  .wizard .actions > .button { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .postcode-form, .field-grid { display: grid; grid-template-columns: 1fr; width: 100%; }
  .postcode-form .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
.custom-color { display: flex; gap: 5px; align-items: center; padding-inline: 5px; font-size: .88rem; }
.wizard .custom-color input { flex: none; width: 44px; height: 44px; min-height: 44px; padding: 3px; cursor: pointer; }
