:root {
  /* Soft sage, chosen by the client from the theme options (2026-10-06) */
  --cream: #EDF2EE;
  --sand: #DFE9E2;
  --sand-2: #C9D8CD;
  --ink: #2A2521;
  --stone: #6F665E;
  --teal: #24504B;
  --teal-deep: #1A3B37;
  --ochre: #A87B32;
  --ochre-soft: #E6D3B0;
  --white: #FFFFFF;
  --serif: "Young Serif", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  /* The corner language of the "n" mark: rounded top-left, leaf-cut bottom-right */
  --leaf-lg: 72px 4px 72px 4px;
  --leaf-md: 36px 3px 36px 3px;
  --leaf-sm: 16px 2px 16px 2px;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.ph { display: inline-block; border: 1px dashed var(--ochre); background: rgba(168,123,50,.08); padding: 0 .4em; border-radius: 3px; font-style: normal; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); }
.h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -0.01em; }

.btn { display: inline-flex; align-items: center; justify-content: center; font: 600 1rem/1 var(--sans); padding: 1.05rem 1.8rem; border-radius: var(--leaf-sm); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-deep); }
.btn--line { border-color: var(--sand-2); color: var(--ink); background: var(--white); }
.btn--line:hover { border-color: var(--ochre); color: var(--ochre); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(237,242,238,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sand-2); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 78px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg { width: 34px; height: auto; }
.brand__words { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 700; font-size: 1.28rem; letter-spacing: .06em; }
.brand__sub { font-weight: 600; font-size: .62rem; letter-spacing: .42em; margin-top: 4px; color: var(--stone); }
.nav { display: flex; gap: 2.2rem; }
.nav a { text-decoration: none; color: var(--stone); font-weight: 500; position: relative; }
.nav a:hover { color: var(--ink); }
.head-actions { display: flex; align-items: center; gap: .7rem; }
.icon-btn { width: 42px; height: 42px; border-radius: var(--leaf-sm); display: grid; place-items: center; border: 1px solid var(--sand-2); background: var(--white); color: var(--teal); }
.icon-btn:hover { border-color: var(--ochre); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.head-actions .btn { padding: .85rem 1.3rem; font-size: .95rem; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 11ch; }
.hero__lede { margin-top: 1.6rem; font-size: 1.22rem; color: var(--stone); max-width: 38ch; }
.hero__ctas { margin-top: 2.2rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__trust { margin-top: 3rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.hero__trust img { width: 200px; height: auto; }
.hero__trust p { font-size: .98rem; color: var(--stone); max-width: 26ch; line-height: 1.5; padding-left: 1.4rem; border-left: 1px solid var(--sand-2); }
.hero__trust strong { color: var(--ink); font-weight: 600; }

.door { position: relative; aspect-ratio: 246 / 300; }
.door__outline { position: absolute; inset: 0; transform: translate(22px, -22px); border: 1.5px solid var(--ochre); border-radius: 46% 2% 34% 2% / 38% 2% 24% 2%; }
.door__photo {
  position: absolute; inset: 0;
  border-radius: 46% 2% 34% 2% / 38% 2% 24% 2%;
  overflow: hidden;
  background: var(--sand);
}
.door__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  /* Replays each time the photo scrolls into view (script below toggles .is-in).
     The photo is always shown; the outline slides out from behind it. */
  .js .door:not(.is-in) .door__outline { opacity: 0; transform: translate(0, 0); }
  .js .door.is-in .door__outline { animation: outline 1.1s cubic-bezier(.2,.7,.2,1) .25s backwards; }
  .js .door.is-in .door__photo img { animation: settle 1.8s cubic-bezier(.2,.7,.2,1) backwards; }
  @keyframes outline { from { opacity: 0; transform: translate(0, 0); } }
  @keyframes settle { from { transform: scale(1.06); } }
}

/* Statement */
.statement { padding-block: clamp(4rem, 8vw, 6rem); text-align: center; border-top: 1px solid var(--sand-2); }
.statement p { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.35; max-width: 32ch; margin-inline: auto; }
.statement .mark { width: 30px; margin: 0 auto 1.8rem; }

/* Services */
.services { background: var(--sand); padding-block: clamp(4.5rem, 9vw, 7rem); }
.services__head { text-align: center; max-width: 46ch; margin: 0 auto 3.5rem; }
.services__head p { margin-top: 1rem; color: var(--stone); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card { background: var(--white); border-radius: var(--leaf-md); padding: 2.2rem 2rem 2rem; display: flex; flex-direction: column; border: 1px solid transparent; transition: border-color .25s, transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.card:hover { border-color: var(--ochre-soft); }
.card:not(.card--cta):hover { transform: translateY(-5px); box-shadow: 0 18px 36px -22px rgba(42,37,33,.4); }
.card__icon { width: 80px; height: 80px; border-radius: var(--leaf-sm); background: var(--sand); display: grid; place-items: center; transition: background-color .3s; }
.card__icon svg { width: 52px; height: 52px; fill: none; stroke: var(--teal); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.card:hover .card__icon { background: var(--teal); }
.card:hover .card__icon svg { stroke: var(--cream); }
.card h3 { margin-top: 1.4rem; font-size: 1.5rem; line-height: 1.2; }
.card p { margin-top: .7rem; color: var(--stone); font-size: 1rem; }
.card a { margin-top: auto; padding-top: 1.4rem; font-weight: 600; color: var(--teal); text-decoration: underline; text-decoration-color: var(--ochre-soft); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.card a:hover { text-decoration-color: var(--ochre); }
.card--cta { background: var(--teal); color: var(--white); }
.card--cta h3 { color: var(--white); margin-top: 0; }
.card--cta p { color: rgba(255,255,255,.82); }
.card--cta .btn { margin-top: auto; align-self: flex-start; background: var(--cream); color: var(--teal-deep); }
.card--cta .btn:hover { background: var(--white); }
.card--cta .cta-foot { margin-top: 1.8rem; flex: 1; display: flex; }

/* About (layout from design 1) */
.about { padding-block: clamp(4.5rem, 9vw, 7rem); }
.about .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about .h2 { max-width: 18ch; }
.about__copy p + p { margin-top: 1.1rem; }
.about__copy p { color: var(--stone); max-width: 56ch; }
.about__copy p:first-child { color: var(--ink); font-size: 1.3rem; line-height: 1.5; }
.about__copy p.sig { margin-top: 1.8rem; color: var(--ink); font-size: 1rem; line-height: 1.5; padding-left: 1rem; border-left: 2px solid var(--ochre); }
.about__copy p.sig strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--teal); }
.about__accred { margin-top: 2.5rem; display: flex; align-items: center; gap: 1.75rem; padding-top: 2rem; border-top: 1px solid var(--sand-2); }
.about__accred img { width: 240px; height: auto; flex: none; }
.about__accred p { font-size: 1rem; line-height: 1.45; color: var(--stone); max-width: 26ch; }
.about__accred strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: .25rem; }

/* Steps */
.steps-sec { padding-bottom: clamp(4.5rem, 9vw, 7rem); }
.steps-sec .h2 { text-align: center; max-width: 20ch; margin-inline: auto; }
.steps-sec .intro { text-align: center; color: var(--stone); max-width: 52ch; margin: 1rem auto 0; }
/* One continuous line through leaf-shaped numbers: each step draws the segment to the next */
.steps { list-style: none; margin-top: 3.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); --off: scaleX(0); }
.step { position: relative; padding-right: 1.5rem; }
.step:not(:last-child)::before, .step:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 20px; width: 100%; height: 2px; }
.step::before { background: var(--sand-2); }
.step::after { background: var(--ochre); transform-origin: left top; }
.step__n { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 14px 2px 14px 2px; border: 1.5px solid var(--teal); background: var(--teal); color: var(--white); display: grid; place-items: center; font-family: var(--serif); font-size: 1.15rem; }
.step h3 { margin-top: 1.3rem; font-size: 1.3rem; line-height: 1.25; }
.step p { margin-top: .5rem; color: var(--stone); font-size: 1rem; }

/* Quote */
.quote { background: var(--sand); padding-block: clamp(4rem, 8vw, 6rem); }
.quote .h2 { text-align: center; }
.quotes { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.quote-card { position: relative; background: var(--white); border-radius: var(--leaf-md); padding: 3.4rem 2rem 2rem; display: flex; flex-direction: column; }
.quote-card::before { content: "\201C"; position: absolute; top: .9rem; left: 1.8rem; font-family: var(--serif); font-size: 4.2rem; line-height: 1; color: var(--ochre); }
.quote-card blockquote { font-size: 1.05rem; line-height: 1.65; color: var(--ink); }
.quote-card figcaption { margin-top: auto; padding-top: 1.4rem; color: var(--stone); font-size: .95rem; }
.quote-card figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--teal); }

/* Contact */
.contact { padding-block: clamp(4.5rem, 9vw, 7rem); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__intro p { margin-top: 1rem; color: var(--stone); max-width: 40ch; }
.ways { margin-top: 2rem; display: grid; gap: .9rem; }
.way { display: flex; align-items: center; gap: 1rem; text-decoration: none; background: var(--white); border: 1px solid var(--sand-2); border-radius: var(--leaf-sm); padding: 1rem 1.2rem; }
.way:hover { border-color: var(--ochre); }
.way svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.way strong { display: block; font-weight: 600; }
.way span { color: var(--stone); font-size: .95rem; }
form.enquiry { background: var(--white); border-radius: var(--leaf-md); border: 1px solid var(--sand-2); padding: clamp(1.5rem, 4vw, 2.8rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); padding: .85rem 1rem; background: var(--cream); border: 1px solid var(--sand-2); border-radius: 10px 2px 10px 2px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; }
.captcha { grid-column: 1 / -1; min-height: 78px; }
.form-status { grid-column: 1 / -1; padding: .9rem 1rem; border-radius: 10px 2px 10px 2px; background: #FBEAE5; border: 1px solid #E9B8AA; color: #8A2E17; font-weight: 500; }
.btn[disabled] { opacity: .7; cursor: progress; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.form-foot small { color: var(--stone); max-width: 40ch; }
[hidden] { display: none !important; }
.sent { background: var(--white); border-radius: var(--leaf-md); border: 1px solid var(--sand-2); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.sent .mark { width: 44px; margin: 0 auto 1.6rem; }
.sent h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; }
.sent p { margin: 1rem auto 0; color: var(--stone); max-width: 42ch; }
.sent p a { color: var(--teal); font-weight: 600; white-space: nowrap; }

/* Footer */
.site-foot { background: var(--teal-deep); color: rgba(255,255,255,.75); padding-block: 2.5rem; font-size: .95rem; }
.foot__warn { text-align: center; margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.14); color: var(--white); font-weight: 600; font-size: .9rem; letter-spacing: .04em; line-height: 1.5; }
.foot__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.site-foot .brand__name { color: var(--white); }
.site-foot .brand__sub { color: rgba(255,255,255,.6); }
.site-foot h3 { font-family: var(--sans); color: var(--white); font-size: 1rem; font-weight: 600; margin-bottom: .8rem; }
.site-foot ul { list-style: none; display: grid; gap: .4rem; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--white); }
.foot__reg { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: .8rem; font-size: .85rem; color: rgba(255,255,255,.62); }
.foot__reg strong { color: var(--white); font-weight: 600; }
.foot__base { display: flex; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; }
.foot__base a { color: rgba(255,255,255,.75); }

/* Legal pages (privacy, terms) */
.legal { padding-block: clamp(3rem, 7vw, 5rem); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.1; }
.legal .updated { margin-top: .6rem; color: var(--stone); font-size: .95rem; }
.legal h2 { margin-top: 2.4rem; font-size: 1.5rem; line-height: 1.25; }
.legal h3 { margin-top: 1.6rem; font-family: var(--sans); font-weight: 700; font-size: 1.05rem; }
.legal p, .legal li { margin-top: .8rem; color: var(--stone); }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--teal); font-weight: 600; }
.back { display: inline-block; margin-bottom: 1.5rem; color: var(--teal); font-weight: 600; text-decoration: none; }
.site-foot .ph { border-color: var(--ochre-soft); background: rgba(230,211,176,.08); }

/* Call bar (phones): slides up once past the hero, hides at the contact section */
.callbar { display: none; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  /* Fade up on scroll */
  .js .reveal:not(.is-in) { opacity: 0; }
  .js .reveal.is-in { animation: rise .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s) backwards; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
  /* How we work: the line runs across, each number lights up as it's reached */
  .js .steps .step::after { transform: var(--off); transition: transform .6s linear calc(var(--i) * .6s + .35s); }
  .js .steps .step__n { background: var(--cream); border-color: var(--ochre-soft); color: var(--stone); transform: scale(.82); transition: background-color .35s ease, border-color .35s ease, color .35s ease, transform .5s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--i) * .6s + .2s); }
  .js .steps.is-in .step::after { transform: none; }
  .js .steps.is-in .step__n { background: var(--teal); border-color: var(--teal); color: var(--white); transform: none; }
  /* The "n" mark draws its outline, then fills */
  .js .draw path { fill: transparent; stroke: var(--c); stroke-width: 6; stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .draw.is-in path, .js .site-head .draw path { animation: draw 1.3s ease-in-out forwards, fillin .5s ease 1.1s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes fillin { to { fill: var(--c); stroke-width: 0; } }
}

@media (max-width: 1000px) {
  .nav { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  /* Steps run down the page, the line on the left */
  .steps { grid-template-columns: 1fr; row-gap: 2.2rem; max-width: 560px; margin-inline: auto; --off: scaleY(0); }
  .step { padding: 0 0 0 64px; }
  .step__n { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: .3rem; }
  .step:not(:last-child)::before, .step:not(:last-child)::after { top: 20px; left: 19px; width: 2px; height: calc(100% + 2.2rem); }
}
@media (max-width: 820px) {
  .hero .wrap, .about .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .door { max-width: 380px; width: calc(100% - 22px); }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .cards, form.enquiry { grid-template-columns: 1fr; }
  .icon-btn { display: none; }
  .head-actions .btn { padding: .75rem 1rem; }
  .brand__name { font-size: 1.1rem; }
  .hero__trust p { padding-left: 0; border-left: 0; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(237,242,238,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--sand-2); transform: translateY(110%); visibility: hidden; transition: transform .35s ease, visibility 0s .35s; }
  .callbar.is-on { transform: none; visibility: visible; transition: transform .35s ease; }
  .callbar .btn { gap: .5rem; padding: .85rem 1rem; }
  .callbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .site-foot { padding-bottom: 6rem; }
  .about__accred { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .about__accred img { width: 220px; }
}
