@font-face {
    font-family: Manrope;
    src: url("assets/manrope.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
}

:root {
    --ink: #112e25;
    --muted: #455c52;
    --green: #165c48;
    --green-dark: #0b4031;
    --paper: #fafcf9;
    --white: #fff;
    --line: #d5e2d7;
    --mist: #edf5ec;
    --lime: #d8efac;
    --radius: 1.4rem;
    font-family: Manrope, system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-size: 100%;
    line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, figure, p, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #287c59; outline-offset: 4px; }
::selection { background: var(--lime); color: var(--ink); }

.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.skip-link {
    position: fixed;
    z-index: 5;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.6rem 1rem;
    transform: translateY(-150%);
    background: var(--white);
    color: var(--ink);
    border-radius: 0.45rem;
}
.skip-link:focus { transform: none; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner {
    min-height: 5.05rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.65rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    justify-self: start;
    text-decoration: none;
    line-height: 1.23;
}
.brand strong { display: block; font-size: 0.99rem; font-weight: 800; }
.brand small { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.17rem; }
.brand-mark {
    position: relative;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    aspect-ratio: 1;
    border-radius: 0.73rem;
    background: var(--green-dark);
}
.brand-mark::before, .door-icon::before {
    content: "";
    position: absolute;
    inset: 0.53rem 0.75rem;
    border: 2px solid var(--lime);
    border-radius: 40% 40% 0.1rem 0.1rem;
}
.brand-mark::after, .door-icon::after {
    content: "";
    position: absolute;
    width: 0.18rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--lime);
    top: 55%;
    left: 55%;
}
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
nav a, footer a { text-decoration: none; font-weight: 750; font-size: 0.94rem; color: var(--muted); }
nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: 0.2em; color: var(--green); }
.header-inner > .button { justify-self: end; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.68rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    transition: background-color 150ms ease, border-color 150ms ease;
}
.button-small { min-height: 2.65rem; padding: 0.5rem 0.92rem; font-size: 0.91rem; }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-dark); }
.button-outline { background: var(--white); border-color: var(--line); color: var(--ink); }
.button-outline:hover { background: var(--mist); border-color: #a9c3ae; }

.hero {
    display: grid;
    grid-template-columns: 0.91fr 1.09fr;
    align-items: center;
    gap: clamp(1.6rem, 5.6vw, 5.25rem);
    padding-block: clamp(2.85rem, 6vw, 5.35rem);
}
h2 { text-wrap: balance; }
.hero h1 {
    font-size: clamp(2.85rem, 4.8vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.062em;
    line-height: 1.06;
}
.hero h1 span { display: block; color: var(--green); }
.hero-content > p { color: var(--muted); max-width: 34rem; margin-top: 1.48rem; font-size: clamp(1.04rem, 1.5vw, 1.19rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.7rem; }
.hero-photo {
    position: relative;
    border-radius: 1.6rem;
    overflow: hidden;
    isolation: isolate;
    aspect-ratio: 1.18;
    background: #c9d8ca;
    box-shadow: 0 16px 45px #16362417;
}
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.keypad-arrow {
    position: absolute;
    z-index: 1;
    left: var(--arrow-x);
    top: var(--arrow-y);
    width: var(--arrow-length);
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transform: translateY(-50%) rotate(var(--arrow-angle));
    transform-origin: left center;
    filter: drop-shadow(0 1px 1.5px #0b2920) drop-shadow(0 0 1px #0b2920);
    pointer-events: none;
}
.keypad-arrow::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    width: 9px;
    height: 10px;
    transform: translateY(-50%);
    background: #fff;
    clip-path: polygon(0 0, 100% 50%, 0 100%, 27% 50%);
}
.viewing-note {
    position: absolute;
    z-index: 2;
    bottom: clamp(0.75rem, 3vw, 1.4rem);
    left: clamp(0.75rem, 3vw, 1.4rem);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: calc(100% - 1.5rem);
    padding: 0.71rem 1rem 0.71rem 0.72rem;
    border: 1px solid #edf1e9;
    border-radius: 0.94rem;
    background: #fefffd;
    box-shadow: 0 5px 22px #112e2528;
}
.viewing-note strong { display: block; font-weight: 800; font-size: 0.95rem; }
.viewing-note small { display: block; font-size: 0.86rem; color: var(--muted); }
.note-icon {
    position: relative;
    flex: 0 0 2.6rem;
    height: 2.6rem;
    border-radius: 0.65rem;
    background: var(--mist);
}
.door-icon::before { border-color: var(--green); inset: 0.57rem 0.78rem; }
.door-icon::after { background: var(--green); }
.keypad-detail { display: none; }

h2 {
    font-size: clamp(2.05rem, 4.2vw, 3.35rem);
    line-height: 1.09;
    letter-spacing: -0.059em;
    font-weight: 800;
}
h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.027em; line-height: 1.3; }
section[id] { scroll-margin-top: 1.1rem; }
.viewing-section {
    background: #f0f6ee;
    border-block: 1px solid #e1ebe0;
    padding-block: clamp(3rem, 7vw, 5.35rem);
}
.section-header { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem 2.75rem; align-items: end; margin-bottom: 1.9rem; }
.section-header h2 { max-width: 14ch; }
.section-header p, .split-copy > p { font-size: 1.02rem; color: var(--muted); }
.section-header p { max-width: 31rem; }
.journey {
    --step-gap: 0.9rem;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--step-gap);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    counter-reset: steps;
}
.journey-step {
    --step-padding: clamp(1rem, 2.4vw, 1.55rem);
    --step-marker: 2.35rem;
    position: relative;
    display: grid;
    grid-template-columns: var(--step-marker) minmax(0, 1fr);
    align-content: start;
    align-items: start;
    gap: clamp(0.65rem, 1.7vw, 1.05rem);
    padding: var(--step-padding);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 1rem;
    counter-increment: steps;
}
.step-number {
    display: grid;
    place-items: center;
    width: var(--step-marker);
    height: var(--step-marker);
    border-radius: 50%;
    background: var(--mist);
    color: var(--green-dark);
    font-size: 0.92rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.step-number::before { content: counter(steps); }
.step-body h3 { padding-top: 0.28rem; }
.step-body p { color: var(--muted); margin-top: 0.47rem; font-size: 1rem; }
.step-body p + p { margin-top: 0.67rem; }
.access-code { text-decoration: underline; text-underline-offset: 0.16em; }
.step-link {
    display: inline-block;
    color: var(--green-dark);
    margin-top: 0.52rem;
    text-underline-offset: 0.19em;
    font-size: 0.91rem;
    font-weight: 750;
}
.journey-step-viewing { border-color: #aeceb5; background: #f7fcf6; }
.journey-step-viewing .step-number { background: #deefda; }
.journey-step-finish { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.journey-step-finish .step-number { background: var(--lime); }
.journey-step-finish p { color: #dcf0e4; }

.split-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.6rem, 6.6vw, 6rem); padding-block: clamp(3rem, 7vw, 5.5rem); }
.split-copy h2 { max-width: 13ch; }
.split-copy > p { max-width: 34rem; margin-top: 1.05rem; }
.text-link { display: inline-block; color: var(--green); font-weight: 800; font-size: 1rem; text-underline-offset: 0.23em; text-decoration-thickness: 0.08em; margin-top: 1.28rem; }
.text-link:hover { color: var(--green-dark); }
.repair-flow { border: 1px solid var(--line); background: #f0f6ef; border-radius: var(--radius); padding: clamp(1.18rem, 3.5vw, 2.1rem); }
.repair-flow figcaption { font-weight: 800; font-size: 1.27rem; letter-spacing: -0.031em; margin-bottom: 0.92rem; }
.repair-flow ol { list-style: none; margin: 0; padding: 0; }
.repair-flow li { position: relative; display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.65rem; padding: 0.78rem; background: var(--white); border: 1px solid #dce8dd; border-radius: 0.76rem; }
.repair-flow li:last-child { margin-bottom: 0; }
.repair-flow li:not(:last-child)::after { content: ""; position: absolute; width: 2px; height: 0.66rem; bottom: -0.66rem; left: 1.95rem; background: #91b89c; }
.repair-flow strong { display: block; font-size: 1rem; font-weight: 800; }
.repair-flow li p { color: var(--muted); font-size: 0.92rem; }
.flow-icon { position: relative; flex: 0 0 2.36rem; height: 2.36rem; border-radius: 0.55rem; background: var(--mist); }
.flow-icon::before, .flow-icon::after { position: absolute; content: ""; }
.flow-message::before { inset: 0.67rem 0.6rem 0.74rem; border-radius: 0.18rem; border: 1.6px solid var(--green); }
.flow-message::after { border-left: 1.6px solid var(--green); border-bottom: 1.6px solid var(--green); width: 0.26rem; height: 0.26rem; bottom: 0.58rem; left: 0.75rem; transform: skewY(-28deg); }
.flow-calendar::before { inset: 0.62rem; border-radius: 0.15rem; border: 1.6px solid var(--green); }
.flow-calendar::after { top: 0.93rem; height: 1.6px; left: 0.69rem; right: 0.69rem; background: var(--green); }
.flow-check::before { top: 0.75rem; left: 0.76rem; width: 0.86rem; height: 0.48rem; border: solid var(--green); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

.coverage-section { background: #e8f2e6; border-block: 1px solid #dbe8da; }
.coverage { padding-block: clamp(2.7rem, 5.5vw, 4.5rem); }
.city-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.48rem; margin: 1.28rem 0 0; padding: 0; }
.city-list li { border: 1px solid #b9d3bd; background: #f8fcf6; border-radius: 999px; padding: 0.34rem 0.66rem; font-size: 0.9rem; font-weight: 750; }
.coverage-map {
    position: relative;
    isolation: isolate;
    aspect-ratio: 1000 / 860;
    border-radius: var(--radius);
    border: 1px solid #cadeca;
    background: radial-gradient(circle at 1px 1px, #a9c5af 1px, transparent 1.3px) 0 0 / 18px 18px, #f1f7ef;
}
.coverage-map > img { width: 100%; height: 100%; }
.map-pin { position: absolute; left: var(--x); top: var(--y); }
.pin-manchester { --x: 48.51%; --y: 58.90%; }
.pin-birmingham { --x: 52.18%; --y: 69.72%; }
.pin-bristol { --x: 44.92%; --y: 80.93%; }
.pin-london { --x: 70.55%; --y: 80.36%; }
.map-pin::before {
    content: "";
    position: absolute;
    left: -0.32rem;
    top: -0.32rem;
    width: 0.64rem;
    height: 0.64rem;
    border-radius: 50%;
    background: var(--green);
    border: 1px solid var(--white);
    box-shadow: 0 0 0 3px #24674c29;
}
.map-pin span {
    position: absolute;
    left: 0.53rem;
    top: 0;
    transform: translateY(-50%);
    border: 1px solid #bdd3bd;
    background: #fff;
    border-radius: 0.34rem;
    color: var(--green-dark);
    padding: 0.15rem 0.38rem;
    white-space: nowrap;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.3;
}
.map-pin-left span { left: auto; right: 0.53rem; }

.contact-section { padding-block: clamp(2.85rem, 6vw, 4.6rem); }
.contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.55rem;
    background: var(--green-dark);
    border-radius: var(--radius);
    color: var(--white);
    padding: clamp(1.4rem, 4.8vw, 3.4rem);
}
.contact-card h2 { font-size: clamp(1.9rem, 3.8vw, 2.95rem); }
.contact-card p { max-width: 33rem; margin-top: 0.65rem; color: #dcf0e4; }
.contact-methods { display: flex; gap: 0.6rem; flex-wrap: wrap; overflow-wrap: anywhere; }
.contact-methods p { margin: 0; font-weight: 650; }
.button-light { background: var(--lime); color: #153b2c; }
.button-light:hover { background: #e9f8c9; }
.button-inverse { border-color: #9bc8b1; color: white; }
.button-inverse:hover { background: #21634f; }
.contact-card :focus-visible { outline-color: var(--lime); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.55rem 1rem; padding-block: 1.35rem; font-size: 0.9rem; color: var(--muted); }

@media (max-width: 55rem) {
    .hero { gap: 1.5rem; }
    .hero h1 { font-size: clamp(2.6rem, 5.8vw, 3.7rem); }
    .split-section { gap: 1.8rem; }
}
@media (max-width: 42rem) {
    .wrap { width: calc(100% - 2rem); }
    .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0.7rem 0.8rem; padding-block: 0.72rem; }
    nav { grid-column: 1 / -1; grid-row: 2; gap: 1.35rem; padding-top: 0.22rem; }
    .hero, .section-header, .split-section { grid-template-columns: minmax(0, 1fr); }
    .hero { padding-block: 2.2rem 2.8rem; }
    .hero h1 { font-size: clamp(2.25rem, 10.8vw, 4.1rem); }
    .hero-content > p { margin-top: 1.04rem; }
    .hero-photo { aspect-ratio: 1.2; border-radius: 1.02rem; }
    .hero-photo > img { transform: scale(1.48); transform-origin: 56% 57%; }
    .viewing-note .door-icon { display: none; }
    .keypad-detail {
        display: block;
        flex: 0 0 3rem;
        height: 4rem;
        border-radius: 0.5rem;
        background: #16433f url("assets/english-terraces-keypad.webp") 56.55% 54.3% / 1750px auto no-repeat;
    }
    .section-header h2, .split-copy h2 { max-width: 17ch; }
    .journey { grid-template-columns: minmax(0, 1fr); }
    .journey-step { --step-marker: 2rem; }
    .journey-step:not(:last-child)::after {
        content: "";
        position: absolute;
        inset-inline-start: calc(var(--step-padding) + var(--step-marker) / 2);
        bottom: calc(-1 * var(--step-gap));
        width: 2px;
        height: calc(var(--step-gap) - 1px);
        background: #b4cdb8;
    }
    .step-body h3 { padding-top: 0.16rem; }
    .map-pin span { font-size: 0.79rem; padding: 0.12rem 0.29rem; }
}
@media (max-width: 24rem) {
    .map-pin span { font-size: 0.73rem; }
    .brand-mark { flex-basis: 2.25rem; width: 2.25rem; }
    .brand strong { font-size: 0.93rem; }
    .brand small { font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
