:root { color-scheme:light; --ink:#1d2924; --muted:#4e6157; --brand:#275a43; --deep:#173e30; --line:#dce4da; --paper:#fff; font-family:"Instrument Sans", "Inter", system-ui, sans-serif; color:var(--ink); background:#fcfbf7; line-height:1.6; }
*,*::before,*::after { box-sizing:border-box; }
[hidden] { display:none!important; }
body { margin:0; }
html { scroll-padding-top:92px; }
img { display:block; max-width:100%; height:auto; }
a { color:inherit; }
input,button { font:inherit; }
button { cursor:pointer; }
:focus-visible { outline:3px solid #bf6a40; outline-offset:4px; }
h1,h2,h3,p,dl,dd { margin:0; }
h1,h2 { font-family:"Instrument Serif", Georgia, serif; font-weight:600; letter-spacing:-.04em; line-height:1.04; overflow-wrap:anywhere; }
h1 { font-size:clamp(2.9rem,7vw,6.65rem); }
.hero h1 { font-size:clamp(2.7rem,5.2vw,5rem); text-wrap:balance; }
h2 { font-size:clamp(2rem,4vw,3.45rem); }
h3 { line-height:1.28; }
p,dd { color:var(--muted); }
.wrap { width:min(100% - 64px,1200px); margin-inline:auto; }
.section { padding-block:clamp(36px,6vw,84px); }
.skip { position:fixed; z-index:12; top:8px; left:8px; padding:8px 12px; background:white; transform:translateY(-150%); }
.skip:focus { transform:none; }
.top { position:sticky; top:0; z-index:5; background:#fcfbf7; border-bottom:1px solid var(--line); }
.top-inner,.footer-inner { display:flex; justify-content:space-between; align-items:center; gap:18px; }
.top-inner { min-height:72px; }
.top nav,.footer nav { display:flex; flex-wrap:wrap; gap:clamp(12px,2vw,27px); }
.top nav a,.footer nav a { text-decoration:none; font-weight:600; }
.top nav a:hover,.footer nav a:hover,.text-link:hover { text-decoration:underline; text-underline-offset:4px; }
.brand { display:inline-flex; align-items:center; white-space:nowrap; font-weight:820; font-size:1.35rem; letter-spacing:-.05em; text-decoration:none; }
.brand { display:inline-grid; gap:0; font-family:Georgia,serif; font-size:1.55rem; line-height:1.15; }
.brand > span:last-child { color:#437451; font:600 .7rem system-ui,sans-serif; letter-spacing:.04em; }
.brand-icon { display:grid; place-items:center; background:#e4ebbd; color:#244535; width:34px; height:34px; border-radius:10px; margin-right:8px; }
.button { display:inline-flex; justify-content:center; align-items:center; gap:10px; min-height:46px; padding:10px 18px; color:#fff; background:var(--brand); border:1px solid transparent; border-radius:9px; font-weight:720; text-decoration:none; }
.button:hover { background:#174532; }
.button-small { min-height:40px; padding:7px 13px; font-size:.88rem; }
.button-secondary { background:#fff; color:var(--deep); border-color:var(--line); }
.button-secondary:hover { background:#e6efdc; }
.hero,.subhero { background:#f1ebdf; border-bottom:1px solid #eae2d4; }
.hero-grid { display:grid; grid-template-columns:1.06fr 1fr; gap:clamp(25px,5vw,68px); align-items:center; padding-block:clamp(43px,7vw,96px); }
.lead { max-width:55ch; margin-top:18px; font-size:clamp(1rem,1.7vw,1.18rem); }
.hero-links { display:flex; align-items:center; flex-wrap:wrap; gap:20px; margin-top:26px; }
.hero-links > a:not(.button),.crumb,.text-link { color:var(--brand); font-weight:700; text-underline-offset:4px; }
.hero-image { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:24px; box-shadow:0 20px 45px #213d301c; }
.hero-slider { position:relative; min-width:0; }
.enquiry-hint { margin:0 0 12px !important; }
.subhero > .wrap:not(.section) { padding-block:clamp(36px,6vw,72px); }
.subhero .crumb { display:inline-block; margin-bottom:13px; }
.section-heading { margin-bottom:20px; }
.section-heading p,.guide p { margin-top:10px; }
.eyebrow { color:var(--brand); font-size:.78rem; font-weight:760; letter-spacing:.12em; text-transform:uppercase; }
.service-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.panel { padding:clamp(20px,3vw,32px); background:var(--paper); border:1px solid var(--line); border-radius:17px; min-width:0; overflow-wrap:anywhere; }
.service-card { display:flex; flex-direction:column; gap:11px; }
.service-card h3 { font-size:1.24rem; }
.service-card .text-link { margin-top:auto; }
.soft-section { background:#e8eee3; }
.cemetery-background { background:#f5f7f2; }
.split,.about,.contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(20px,5vw,62px); align-items:start; }
.about { grid-template-columns:minmax(0,.65fr) minmax(0,1fr); align-items:center; }
.planting { align-items:center; }
.feature-image { width:100%; object-fit:cover; border-radius:20px; }
.planting .feature-image { aspect-ratio:4/3; }
.cemetery-section figure { margin:0; }
.cemetery-section figcaption { margin-top:7px; font-size:.8rem; color:var(--muted); }
.portrait { background:#e8eee3; border-radius:24px; overflow:hidden; }
.portrait img { width:100%; max-height:405px; object-fit:contain; }
.locations { margin:18px 0 0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.locations li { background:#fcfbf7; border:1px solid var(--line); border-radius:10px; padding:14px 16px; font-weight:650; }
.panel h2 { font-size:clamp(1.65rem,2.9vw,2.5rem); }
.panel p,.panel address,.price-panel dl { margin-top:14px; }
.panel address { font-style:normal; color:var(--muted); }
.price-panel dl > div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:3px 12px; padding:8px 0; border-bottom:1px solid var(--line); }
.price-panel dd { font-weight:700; }
.contact-grid { grid-template-columns:minmax(0,1.55fr) minmax(0,1fr); }
.enquiry { display:grid; gap:14px; margin-top:20px; justify-items:start; }
.enquiry fieldset { width:100%; min-width:0; padding:0; margin:0; border:0; }
.enquiry legend { margin-bottom:8px; padding:0; font-weight:750; }
.enquiry-extras { margin-top:12px; border:1px solid var(--line); padding:9px 12px; border-radius:8px; }
.enquiry-extras summary { cursor:pointer; font-weight:650; }
.enquiry-extras .privacy-check { margin-top:6px; }
.form-grid { width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.enquiry label { width:100%; display:grid; gap:5px; font-weight:650; }
.enquiry small { font-weight:450; }
.enquiry :is(input:not([type=checkbox]),textarea,select) { width:100%; min-width:0; font:inherit; color:var(--ink); background:white; border:1px solid #b9c8b9; border-radius:8px; padding:9px 10px; }
.enquiry textarea { resize:vertical; }
.enquiry .privacy-check { display:flex; align-items:baseline; gap:8px; font-weight:500; }
.form-errors { background:#f8eee4; border-radius:8px; padding:8px 12px; margin-top:12px; }
.form-errors ul { margin:0; padding-left:18px; }
.footer { color:#f8faf4; background:#18362a; padding-block:32px 18px; }
.footer p,.footer-legal { color:#dce9d8; }
.footer .brand > span:last-child { color:#d9efaa; }
.footer-legal { border-top:1px solid #f8faf440; margin-top:26px; padding-top:16px; font-size:.85rem; }
.footer button { padding:0; border:0; background:transparent; color:inherit; text-decoration:underline; }
.back-to-top { position:fixed; right:16px; bottom:16px; z-index:4; display:grid; place-items:center; width:46px; height:46px; color:white; background:var(--brand); border-radius:11px; font-size:1.35rem; text-decoration:none; box-shadow:0 5px 15px #173e3050; }
.analytics { position:fixed; z-index:9; bottom:16px; left:16px; width:min(425px,calc(100% - 32px)); padding:16px; font:16px/1.55 "Geist","Inter","Ubuntu Sans",system-ui,sans-serif; border:1px solid var(--line); border-radius:15px; background:white; box-shadow:0 8px 36px #173e3030; }
.analytics p { margin:7px 0 12px; }
.analytics .button-small { min-height:40px; padding:8px 14px; border-radius:10px; font-size:.87rem; line-height:1.2; }
body:has(#virtualx-local-environment) .footer { padding-bottom:62px; }
@media(max-width:1000px) { .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:730px) {
    .wrap { width:calc(100% - 34px); }
    .top-inner { min-height:62px; }
    .top nav { font-size:.84rem; }
    .header-action { display:none; }
    .hero-grid,.split,.about,.contact-grid { grid-template-columns:minmax(0,1fr); }
    .hero-image { aspect-ratio:1.6; }
    .footer-inner { flex-direction:column; align-items:flex-start; }
}
@media(max-width:490px) { .top-inner { flex-wrap:wrap; padding-block:10px; gap:7px; } .service-grid,.form-grid { grid-template-columns:minmax(0,1fr); } }
.legal-page{padding-block:clamp(34px,5vw,70px);background:#f5f0e7}
.legal-heading h1,.legal-card h2{font-family:system-ui,sans-serif;letter-spacing:-.025em}
.legal-layout{display:grid;grid-template-columns:minmax(180px,235px) minmax(0,850px);grid-template-areas:"sidebar heading" "sidebar card";gap:24px clamp(20px,3vw,40px);justify-content:center;align-items:start}
.legal-heading{grid-area:heading}
.legal-heading h1{font-size:clamp(2rem,4vw,3.4rem);margin:0 0 12px;overflow-wrap:anywhere}
.legal-heading .eyebrow{margin-bottom:20px}
.legal-heading p:last-child{font-size:.95rem}
.legal-sidebar{grid-area:sidebar;position:sticky;top:96px;max-height:calc(100dvh - 116px);overflow:auto;padding:12px 6px 10px 0;color:var(--muted);font-size:.87rem}
.legal-sidebar summary{cursor:pointer;color:var(--ink);font-weight:650}
.legal-sidebar ul{padding:0 0 0 10px;margin:10px 0 0;border-left:1px solid #d6e0ee;list-style:none}
.legal-sidebar li+li{margin-top:4px}
.legal-sidebar a{display:block;padding:6px 8px;border-radius:6px;text-decoration:none;overflow-wrap:anywhere}
.legal-sidebar a:hover,.legal-sidebar a:focus-visible{background:#e3ebfc;color:#234ebc}
.legal-subsections{margin:0 0 5px 8px}
.legal-subsections summary{font-size:.78rem;color:var(--muted);font-weight:500}
.legal-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.legal-card{grid-area:card;min-width:0;padding:clamp(19px,3.5vw,36px);border:1px solid #dbe3ee;border-radius:18px;background:var(--paper);overflow-wrap:anywhere}
.legal h2{margin:27px 0 10px;font-size:clamp(1.25rem,2vw,1.58rem)}
.legal h3,.legal h4{margin:18px 0 8px;font-size:1.08rem}
.legal p{margin:10px 0}
.legal address{color:var(--muted);font-style:normal}
.legal section + section,.legal article > .grid + section{margin-top:clamp(24px,3vw,36px)}
.legal .legal-article > .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px}
.legal .legal-article > .grid > section{margin:0}
.legal .legal-article > section > :last-child,.legal .legal-article > .grid > section > :last-child{margin-bottom:0}
.legal .legal-article > .grid h2,.legal .legal-article > section > h2:first-child,.legal-card > h2:first-child{margin-top:0}
.legal :is(h2,h3):target{color:#234ebc}
@media(max-width:760px){
  .legal-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "sidebar" "card";gap:16px}
  .legal-sidebar{position:static;max-height:17rem;padding:12px;border:1px solid #dbe3ee;border-radius:10px;background:var(--paper)}
}
@media(max-width:540px){.legal .legal-article > .grid{grid-template-columns:minmax(0,1fr);gap:14px}}
.legal a{color:#234ebc;text-underline-offset:3px}
.legal table{display:block;max-width:100%;overflow:auto;border-collapse:collapse}
.legal th,.legal td{padding:8px 12px;border:1px solid var(--line);text-align:left}
.legal pre{overflow:auto}

.not-found-hero {
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
    align-items:center;
    gap:clamp(24px,5vw,64px);
}
.not-found h1 { margin-top:10px; font-size:clamp(2.75rem,5.4vw,5.2rem); text-wrap:balance; }
.not-found-image { width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:20px; }
.not-found-section { padding-block:clamp(34px,5vw,64px); }
.not-found-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.not-found-link { display:flex; flex-direction:column; text-decoration:none; }
.not-found-link:hover { border-color:var(--brand); background:#f5f8f2; }
.not-found-link h3 { font-size:1.2rem; }
.not-found-link p { margin:10px 0 18px; }
.not-found-link .text-link { margin-top:auto; text-decoration:underline; }
@media(max-width:780px) {
    .not-found-hero,.not-found-links { grid-template-columns:minmax(0,1fr); }
    .not-found-image { aspect-ratio:2/1; }
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}


.legal-card .vx-design-credit {
    display: grid;
    grid-template-columns: clamp(3rem, 12vw, 4.5rem) minmax(0, 1fr);
    column-gap: clamp(.75rem, 3vw, 1.25rem);
    align-items: start;
    margin-block-start: 2rem;
}
.legal-card .vx-design-credit::before {
    content: "";
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    aspect-ratio: 1;
    background: url("./media/virtualx-design-credit.jpg") center / contain no-repeat;
}
.legal-card .vx-design-credit:has(> :is(h2, h3):first-child)::before {
    grid-row: 2;
}
.legal-card .vx-design-credit > * {
    grid-column: 2;
    min-width: 0;
    margin-block: 0 .4rem;
    overflow-wrap: anywhere;
}
.legal-card .vx-design-credit > :is(h2, h3):first-child {
    grid-row: 1;
    grid-column: 1 / -1;
    margin-block: 0 1rem;
    font-size: clamp(1.25rem, 3vw, 1.55rem);
}
.legal-card .vx-design-credit > p {
    line-height: 1.65;
}
.legal-card .vx-design-credit a {
    text-decoration: underline;
    text-underline-offset: .18em;
}
