:root {
  --primary: #1f4d3a;
  --primary-text: #1f4d3a;
  --primary-dark: #163629;
  --primary-tint: #e9edeb;
  --on-primary: #ffffff;
  --accent: #e8963a;
  --accent-text: #996326;
  --on-accent: #111111;
}
/* Brand custom properties (--primary, --accent and friends) are prepended by generate.py.
   Text colours on white are generated to reach 4.5:1. Text on tinted or dark surfaces uses
   --ink or the night palette below, never the brand text colour. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --ink: #1b2420;
  --muted: #46524c;
  --line: #dde3df;
  --surface: #f5f7f4;
  --night: #0f1812;
  --on-night: #ffffff;
  --on-night-muted: #d3ddd7;
  --eyebrow-on-night: #f5c98f;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(20, 30, 25, .06), 0 10px 28px rgba(20, 30, 25, .10);
  --shadow-lift: 0 2px 4px rgba(20, 30, 25, .08), 0 22px 44px rgba(20, 30, 25, .18);
  --scrim: linear-gradient(to top, rgba(10, 16, 13, .92) 0%, rgba(10, 16, 13, .6) 58%, rgba(10, 16, 13, 0) 100%);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; overflow-x: hidden; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: #fff; padding-bottom: 76px; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: var(--primary-text); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
.cta :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 780; }
h3, .h3 { font-size: 1.25rem; font-weight: 750; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: #fff; color: var(--ink); padding: .8rem 1.1rem; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }

/* Banners and watermark */
.banner { background: var(--night); color: #fff; text-align: center; padding: .65rem 1.25rem; font-size: .95rem; font-weight: 600; border-bottom: 3px solid var(--accent); }
.watermark { position: fixed; inset: -20vh -20vw; z-index: 50; pointer-events: none; overflow: hidden; display: flex; flex-wrap: wrap; align-content: space-around; justify-content: space-around; transform: rotate(-24deg); user-select: none; }
.watermark span { font-size: clamp(2.2rem, 8vw, 5rem); font-weight: 900; letter-spacing: .25em; color: rgba(20, 30, 25, .09); padding: 2.2rem 2rem; }

/* Header and navigation.
   Without JavaScript the nav is a wrapped list under the brand. With JavaScript (.js on html)
   below 1200px it becomes a menu button that opens a panel. At 1200px and wider it is one row. */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; padding: .6rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); min-width: 0; margin-right: auto; order: 0; }
.brand-name { font-weight: 800; letter-spacing: -.01em; font-size: 1rem; line-height: 1.2; overflow-wrap: anywhere; }
.logo-img { height: 44px; width: auto; }
.brand .logo-mark { width: 40px; height: 40px; flex: none; }
@media (min-width: 760px) { .brand .logo-mark { width: 44px; height: 44px; } }
.header-phone { display: none; order: 1; font-weight: 800; text-decoration: none; white-space: nowrap; color: var(--ink); }
.nav-toggle { display: none; order: 2; }
.nav { order: 3; width: 100%; }
.nav ul { display: flex; flex-wrap: wrap; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .45rem .7rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav a:hover { background: var(--primary-tint); color: var(--ink); }

.js .nav-toggle { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .5rem 1rem; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-weight: 750; cursor: pointer; }
.nav-toggle-icon {
  display: block; width: 18px; height: 14px;
  background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat,
              linear-gradient(currentColor 0 0) center / 100% 2px no-repeat,
              linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat;
}
.js .nav { position: absolute; top: 100%; left: 0; right: 0; width: auto; display: none; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift); padding: .25rem 1.25rem 1rem; max-height: calc(100vh - 76px); overflow-y: auto; }
.js .nav.is-open { display: block; }
.js .nav ul { flex-direction: column; gap: 0; }
.js .nav li { border-bottom: 1px solid var(--line); }
.js .nav li:last-child { border-bottom: 0; }
.js .nav a { border-radius: 0; padding: .9rem .25rem; font-size: 1.05rem; }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .header-phone { display: block; }
  .header-inner { gap: .5rem 1.25rem; }
}
@media (min-width: 1200px) {
  .brand { margin-right: 0; }
  .nav { order: 1; width: auto; margin-left: auto; }
  .nav ul { flex-wrap: nowrap; }
  .header-phone { order: 2; }
  .js .nav-toggle { display: none; }
  .js .nav, .js .nav:not(.is-open) { position: static; display: block; background: none; border: 0; box-shadow: none; padding: 0; max-height: none; overflow: visible; width: auto; }
  .js .nav ul { flex-direction: row; }
  .js .nav li { border: 0; }
  .js .nav a { padding: .5rem .65rem; font-size: .95rem; }
  .nav a { font-size: .95rem; }
}

/* Buttons */
.btn { display: inline-block; min-height: 48px; padding: .85rem 1.5rem; border-radius: 999px; font: inherit; font-weight: 750; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.25; text-align: center; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-dark); color: var(--on-primary); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow); }
.btn-accent:hover { filter: brightness(.94); color: var(--on-accent); }
.btn-ghost { border-color: var(--primary-text); color: var(--primary-text); background: transparent; }
.btn-ghost:hover { background: var(--primary-tint); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--primary-tint); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.center-row { justify-content: center; }

/* Hero: dark band, copy on top, before and after slider as the centre of attention */
.hero {
  position: relative; overflow: hidden; color: var(--on-night); padding: 2.25rem 0 2.75rem;
  background: linear-gradient(165deg, #1a2a20 0%, var(--night) 100%);
  background: radial-gradient(90% 75% at 100% 0%, color-mix(in srgb, var(--primary) 35%, #000) 0%, rgba(0, 0, 0, 0) 70%),
              linear-gradient(165deg, #1a2a20 0%, var(--night) 100%);
}
.hero-grid { display: grid; gap: 2rem; position: relative; }
.hero-copy h1 { color: var(--on-night); }
.hero .lead { color: var(--on-night-muted); }
.hero .eyebrow { color: var(--eyebrow-on-night); color: color-mix(in srgb, var(--accent) 55%, #fff); }
.hero .btn-ghost { border-color: #fff; color: #fff; }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.hero .caption { color: var(--on-night-muted); }
.hero :focus-visible { outline-color: #fff; }
.hero .ba:focus-within { outline-color: #fff; }
.hero-visual { margin-inline: -1.25rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--primary-text); margin-bottom: .9rem; }
.eyebrow a { color: inherit; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.caption { font-size: .9rem; color: var(--muted); margin: .75rem 1.25rem 0; }

/* Before and after slider */
.ba {
  --pos: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #1d2622; isolation: isolate;
  box-shadow: var(--shadow-lift); touch-action: pan-y;
}
.ba-layer { position: absolute; inset: 0; }
.ba-layer > .scene, .ba-layer > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 3; pointer-events: none; }
.ba-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 0 14px rgba(0, 0, 0, .35); }
.ba-knob { position: absolute; top: 50%; left: 0; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.ba-knob::before, .ba-knob::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ba-knob::before { left: 12px; border-right: 8px solid var(--ink); }
.ba-knob::after { left: 32px; border-left: 8px solid var(--ink); }
.ba-tag { position: absolute; top: 12px; z-index: 2; padding: .25rem .7rem; border-radius: 999px; background: rgba(15, 24, 18, .8); color: #fff; font-size: .8rem; font-weight: 750; letter-spacing: .02em; pointer-events: none; }
.ba-tag-l { left: 12px; } .ba-tag-r { right: 12px; }
.ba-range { display: none; }
.js .ba-range { display: block; }
.ba-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:focus-within { outline: 3px solid var(--accent-text); outline-offset: 3px; }
.ba:focus-within .ba-knob { box-shadow: 0 0 0 4px var(--accent-text), 0 6px 18px rgba(0, 0, 0, .35); }
.demo-tag-ba { position: absolute; left: 12px; bottom: 12px; z-index: 4; max-width: calc(100% - 24px); }

/* Trust strip: facts from the profile only */
.trust { background: #fff; border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
.trust-grid { display: grid; gap: 1.1rem 1.5rem; grid-template-columns: 1fr 1fr; }
.trust-item { min-width: 0; }
.trust-wide { grid-column: 1 / -1; }
.trust-label { margin: 0 0 .2rem; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.trust-value { margin: 0; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.trust-value a { color: var(--ink); }
.trust .pills { margin: .3rem 0 0; }
@media (min-width: 760px) {
  .trust-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
  .trust-wide { grid-column: 1 / -1; }
}

/* Sections */
.section { padding: 3.5rem 0; }
.section .eyebrow { margin-bottom: .6rem; }
.tint { background: var(--surface); }
.tint .eyebrow { color: var(--ink); }
.band { background: var(--primary-tint); padding: 1.6rem 0; }
.band h2 { margin-bottom: .6rem; }
.page-head { background: #fff; padding: 2.5rem 0 1.75rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
.cards { display: grid; gap: 1.5rem; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
  .tile:hover { box-shadow: var(--shadow-lift); }
  .card:hover .card-media > .scene, .tile:hover .tile-media > .scene, .tile:hover .tile-media > .photo { transform: scale(1.03); }
}
.card-media > .scene, .card-media > .photo, .tile-media > .scene, .tile-media > .photo { transition: transform .6s ease; }
.card-media, .tile-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #dde3df; }
.card-media > .scene, .card-media > .photo, .tile-media > .scene, .tile-media > .photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* CSS-only texture: a soft top light and a fine grain, under the demo tags and captions */
.ba-layer::after, .card-media::after, .tile-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 85% at 0% 0%, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(120% 90% at 100% 100%, rgba(0, 0, 0, .14) 0%, rgba(0, 0, 0, 0) 60%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .03) 0 1px, rgba(0, 0, 0, 0) 1px 4px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, rgba(255, 255, 255, 0) 1px 3px);
}
.card-body { padding: 1.5rem 1.5rem 1.4rem; }
.card-body h3 { margin-bottom: .45em; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card .lead { font-size: 1rem; margin-bottom: 1rem; }
.more { font-weight: 750; }
.demo-tag-card { position: absolute; left: .75rem; bottom: .75rem; z-index: 3; margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.1rem; }
.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: .45rem; }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: .55rem; height: .3rem; border-left: 3px solid var(--primary-text); border-bottom: 3px solid var(--primary-text); transform: rotate(-45deg); }

/* Gallery tiles: card with a caption on a gradient scrim. Captions stay readable on any image. */
.tiles { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.tile { position: relative; margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: box-shadow .25s ease; }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 2.6rem 1.1rem .95rem; background: var(--scrim); color: #fff; font-weight: 700; font-size: .98rem; line-height: 1.35; }
.tile-caption { display: block; }
.tile-meta { display: block; margin-top: .2rem; font-size: .84rem; font-weight: 600; color: #e4ebe6; }
.tile .demo-tag { margin: .35rem 0 0 0; }
.tile-media + figcaption .demo-tag { margin-left: 0; }
.demo-tag { display: inline-block; margin-left: .3rem; padding: .1rem .55rem; border-radius: 999px; background: var(--primary-tint); color: var(--ink); font-size: .74rem; font-weight: 750; letter-spacing: .01em; border: 1px solid rgba(27, 36, 32, .12); line-height: 1.5; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 0 0 1rem; }
.pills li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .38rem .95rem; font-weight: 650; font-size: .95rem; }
.band .pills li { border-color: var(--primary-text); }
.reviews { border-block: 1px solid var(--line); }
.cta { position: relative; overflow: hidden; background: var(--primary); color: var(--on-primary); padding: 4rem 0; }
.cta::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 60%); }
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { color: inherit; }
.cta a:not(.btn) { color: inherit; }
.two-col { display: grid; gap: 2rem; }
.plain { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.contact-list li { margin-bottom: .5rem; font-size: 1.1rem; }

/* Forms */
.form { display: grid; gap: 1.15rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field select, .field textarea, .field input[type=file] {
  width: 100%; font: inherit; font-size: 1rem; min-height: 48px; padding: .75rem .9rem; border: 2px solid #8a958f; border-radius: 12px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent-text); outline-offset: 1px; border-color: var(--ink); }
.hint { font-size: .9rem; color: var(--muted); margin: .3rem 0 0; }
.field.check { display: flex; gap: .75rem; align-items: flex-start; }
.field.check input { width: 1.4rem; height: 1.4rem; margin-top: .2rem; flex: none; accent-color: var(--primary); }
.field.check label { font-weight: 500; margin: 0; }
.notice { background: #fff6dc; border: 2px solid #c99a1c; border-radius: 12px; padding: 1rem 1.2rem; color: #3a2d05; }
.notice[hidden] { display: none; }

/* Footer and mobile call bar */
.site-footer { background: #121913; color: #e8ede9; padding: 3.25rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 1.8rem; }
.footer-name { font-weight: 800; font-size: 1.2rem; margin-bottom: .4rem; }
.footer-head { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: #b9c4bd; }
.example-label { background: #fff; color: #111; padding: .4rem .7rem; border-radius: 8px; display: inline-block; }
.footer-base { border-top: 1px solid #36423b; margin-top: 2rem; padding-top: 1rem; font-size: .9rem; color: #b9c4bd; }
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(20, 30, 25, .14); }
.callbar a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: .6rem .4rem; border-radius: 999px; font-weight: 800; text-decoration: none; color: var(--on-primary); background: var(--primary); }
.callbar .cb-wa { background: #0b5d3a; color: #fff; }
.callbar .cb-quote { background: var(--accent); color: var(--on-accent); }

/* Larger screens */
@media (min-width: 760px) {
  .hero { padding: 4.25rem 0 5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 3.5rem; }
  .hero-visual { margin-inline: 0; }
  .ba { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }
  .caption { margin: .85rem 0 0; }
  .section { padding: 5.5rem 0; }
  .cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
  .footer-grid { grid-template-columns: 2fr 1.4fr 1.4fr; }
  .page-head { padding: 3.5rem 0 2.5rem; }
}
@media (min-width: 1040px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (min-width: 760px) { .callbar { display: none; } }
@media print { .callbar, .watermark, .skip, .nav-toggle { display: none; } }
