/* Whitby House Clearance — site styles (club colours: navy, sea blue, white waves, bronze trim, Yorkshire rose) */
@font-face { font-family: "Barlow Condensed"; src: url(/assets/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/assets/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/assets/fonts/barlow-condensed-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(/assets/fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(/assets/fonts/source-sans-3-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(/assets/fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(/assets/fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); font-weight: 700 800; font-display: swap; }

:root {
  --ink: #13212e;
  --ink-2: #22384b;
  --tay: #1d4e75;
  --tay-2: #2c6c9b;
  --tay-soft: #e1ecf4;
  --river: #d9bf9b;
  --accent: #f0b27a;
  --accent-2: #e59a58;
  --accent-soft: #fcebdc;
  --bronze: #9a7b58;
  --bronze-2: #c9ab86;
  --sand: #f5f2ec;
  --sand-2: #ece5d8;
  --paper: #ffffff;
  --line: #e0dacd;
  --muted: #4a5763;
  --ok: #2f6b3f;
  --err: #b3261e;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(19,33,46,.06), 0 8px 24px rgba(19,33,46,.08);
  --shadow-lg: 0 20px 50px rgba(19,33,46,.2);
  --wrap: 1200px;
  --map-land: #f3efe6; --map-grid: #e7e1d4; --map-sea: #bcd6ea; --map-ring: #1d4e75; --map-ring-fill: rgba(44,108,155,.06);
  --f-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --f-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 400 18px/1.62 var(--f-body); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img, svg, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--tay-2); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.08; letter-spacing: 0; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.38rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow, .narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.eyebrow { font: 700 .8rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin: 0 0 .9rem; display: flex; align-items: center; gap: .7em; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; flex: none; }
.eyebrow.light { color: var(--river); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.sec-title { text-align: left; margin-bottom: 1.4rem; }
.text-link { font-weight: 600; display: inline-flex; gap: .4em; align-items: center; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* buttons */
.btn { --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 1rem/1 var(--f-body); padding: .95em 1.35em; border-radius: 999px; border: 2px solid var(--b); background: var(--b); color: #fff; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 6px 16px rgba(15,44,58,.18); }
.btn-accent { --b: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-lg { font-size: 1.08rem; padding: 1.05em 1.6em; }
.btn-sm { font-size: .9rem; padding: .6em 1em; }
.btn-block { width: 100%; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.topbar { background: var(--ink); color: #dce9ec; font-size: .86rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .45em; }
.topbar-links { gap: 18px !important; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.topbar a:hover { color: var(--accent); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 800 1.45rem/1 var(--f-head); letter-spacing: .05em; text-transform: uppercase; }
.brand-sub { font-size: .74rem; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.brand-light { color: #fff; } .brand-light .brand-sub { color: var(--river); }
.primary-nav { display: flex; align-items: center; gap: 18px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav-list > li > a, .sub-toggle { display: inline-flex; align-items: center; gap: .3em; padding: .6em .8em; border-radius: 8px; font: 600 .98rem/1 var(--f-body); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-list > li > a:hover, .sub-toggle:hover, .nav-list a[aria-current="page"] { background: var(--sand); }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 8px); left: -10px; width: 330px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .sub, .has-sub.open .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; }
.sub a .ico { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: var(--tay-soft); color: var(--tay); }
.sub a:hover { background: var(--sand); }
.chev { transition: transform .2s; }
.has-sub.open .chev { transform: rotate(180deg); }
.nav-toggle { display: none; align-items: center; gap: 8px; background: var(--sand); border: 0; padding: 10px 14px; border-radius: 10px; font: 700 .95rem var(--f-body); color: var(--ink); cursor: pointer; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline-block; }

@media (max-width: 1080px) {
  .topbar-inner > p:first-child { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar a[href^="mailto"] { display: none; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { position: fixed; inset: 114px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 120px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; visibility: hidden; }
  .primary-nav.open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li > a, .sub-toggle { width: 100%; padding: 1em .6em; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
  .sub { position: static; width: auto; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; padding: 4px 0 8px; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; } .has-sub.open:hover .sub { display: block; }
  .nav-cta { margin-top: 16px; }
}
@media (max-width: 560px) {
  .topbar-links a:not(:first-child) { display: none; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.2rem; }
  .brand-mark { width: 40px; height: 40px; }
  .nav-inner { min-height: 66px; }
  .primary-nav { inset: 104px 0 0 0; }
}

/* breadcrumbs */
.crumbs { font-size: .86rem; padding-top: 14px; padding-bottom: 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* home hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-bg picture, .hero-bg svg { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,24,35,.93) 0%, rgba(12,24,35,.78) 42%, rgba(12,24,35,.12) 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 48px; align-items: center; padding: 72px 20px 84px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.3rem); margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: #e3ecf3; }
.hero .eyebrow { color: var(--river); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1.4rem; }
.hero .trust-strip li { color: #eef4f8; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.hero .trust-strip .ico { color: var(--accent); }
.hero-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-lg); }
.hero-card h2 { font-size: 1.5rem; margin-bottom: .2em; }
.hero-card > p { color: var(--muted); font-size: .95rem; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .9rem; color: var(--muted); }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; padding: 48px 20px 56px; gap: 32px; } .hero-bg::after { background: linear-gradient(180deg, rgba(12,24,35,.9), rgba(12,24,35,.8)); } }

.trust-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trust-strip li { display: inline-flex; align-items: center; gap: .45em; font-size: .88rem; font-weight: 600; padding: .45em .8em; border-radius: 999px; background: var(--sand); border: 1px solid var(--line); color: var(--ink); }
.trust-strip .ico { color: var(--tay-2); }

/* page hero */
.page-hero { position: relative; background: linear-gradient(180deg, var(--sand) 0%, #fbf9f5 100%); padding: 36px 0 58px; border-bottom: 4px solid var(--bronze-2); }
.page-hero.slim { padding: 28px 0 40px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.page-hero.has-photo .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.page-hero .hero-actions { margin: 1.4rem 0 1.2rem; }
.hero-photo { position: relative; }
.hero-photo .hp-img, .hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
.hero-photo::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: 22px; background: var(--bronze-2); opacity: .9; z-index: -1; }
.hero-photo { z-index: 0; }
@media (max-width: 900px) { .page-hero.has-photo .hero-grid { grid-template-columns: 1fr; } .hero-photo { max-width: 560px; } }
.post-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.post-meta { color: var(--muted); font-size: .95rem; }
.post-figure { margin-top: -28px; margin-bottom: 28px; }
.post-figure img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; height: auto; }
.preview-bar { background: var(--accent); color: var(--ink); font-weight: 700; text-align: center; padding: 8px; }

/* sections */
.section { padding: 76px 0; }
.section.alt { background: var(--sand); }
.section.dark { background: var(--ink); color: #dbe6ee; }
.section.dark h2, .section.dark h3 { color: #fff; }
.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.section.dark .sec-head p { color: #b8c8d6; }
@media (max-width: 700px) { .section { padding: 52px 0; } }

/* services grid */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.svc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--tay-soft); }
.svc-media img, .svc-media svg.svc-img, .svc-media picture { width: 100%; height: 100%; object-fit: cover; }
.svc-icon { position: absolute; left: 16px; bottom: -22px; width: 50px; height: 50px; border-radius: 14px; background: var(--accent); color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.svc-icon .ico { width: 26px; height: 26px; }
.svc-body { padding: 34px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { margin-bottom: .35em; }
.svc-body p { color: var(--muted); font-size: .96rem; flex: 1; }
.more { font-weight: 700; color: var(--tay-2); display: inline-flex; gap: .4em; align-items: center; }
.svc-card:hover .more .ico { transform: translateX(3px); }
.more .ico { transition: transform .2s; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.photo-stack { position: relative; }
.photo-stack .photo, .photo-stack img { border-radius: 22px; width: 100%; aspect-ratio: 5/4; object-fit: cover; box-shadow: var(--shadow-lg); }
.stat-badge { position: absolute; right: -10px; bottom: -22px; background: var(--ink); color: #fff; border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow-lg); max-width: 250px; }
.stat-badge strong { display: block; font: 800 1.9rem/1.05 var(--f-head); color: var(--accent); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }
.stat-badge { border: 2px solid var(--bronze-2); }
@media (max-width: 600px) { .stat-badge { right: 10px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.ticks .ico { color: #fff; background: var(--ok); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 1px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 3px; background: repeating-linear-gradient(90deg, var(--accent) 0 12px, transparent 12px 20px); }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); }
.section.dark .steps li { background: var(--ink-2); border-color: rgba(255,255,255,.1); box-shadow: none; }
.section.dark .steps p { color: #b8c8d6; }
.step-n { position: absolute; top: -12px; right: 14px; font: 800 .8rem/1 var(--f-body); background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 10px; }
.section.dark .step-n { background: var(--accent); color: var(--ink); }
.step-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--accent); color: var(--ink); margin-bottom: 14px; }
.step-ico .ico { width: 26px; height: 26px; }
.steps h3 { font-size: 1.08rem; }
.steps p { font-size: .93rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* waste hierarchy */
.waste-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.waste-step { padding: 26px 24px; color: var(--ink); position: relative; }
.waste-step h3 { margin-top: 10px; }
.waste-step p { margin: 0; font-size: .95rem; }
.ws-1 { background: #dfeedd; } .ws-2 { background: #e1ecf4; } .ws-3 { background: #f6efe4; }
.ws-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; }
.ws-ico .ico { width: 24px; height: 24px; color: var(--tay); }
.waste-step:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 40px; width: 28px; height: 28px; background: inherit; transform: rotate(45deg); z-index: 1; }
@media (max-width: 800px) { .waste-steps { grid-template-columns: 1fr; } .waste-step:not(:last-child)::after { display: none; } }

/* feature cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card .card-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--tay-soft); color: var(--tay); margin-bottom: 14px; }
.card .card-ico .ico { width: 24px; height: 24px; }
.card p:last-child { margin: 0; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

/* map & areas */
.map-fig { margin: 0; }
.area-map { width: 100%; border-radius: 18px; border: 1px solid var(--line); background: var(--map-land); }
.area-map text { font: 600 13px var(--f-body); fill: var(--ink); paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 3px; }
.map-ring-label { font-weight: 700 !important; fill: var(--tay) !important; }
.map-sea-label { font-style: italic; fill: #4f7fa3 !important; stroke: none !important; }
.map-region-label { font-style: italic; fill: #8a8069 !important; stroke: none !important; font-size: 15px !important; }
.map-dot circle { fill: var(--tay-2); stroke: #fff; stroke-width: 2; transition: r .15s; }
.map-dot:hover circle, .map-dot:focus circle { fill: var(--accent); }
.map-dot.current circle { fill: var(--accent); stroke: var(--ink); }
.map-home-label { font-size: 16px !important; font-weight: 800 !important; }
.map-home circle { fill: var(--accent); stroke: var(--ink); stroke-width: 3; }
.map-fig figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.areas-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.area-group h3 { font-size: 1.05rem; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.area-links { list-style: none; margin: 0; padding: 0; }
.area-links li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.area-links span, .nearby span { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.nearby { list-style: none; padding: 0; margin: 0 0 1em; }
.nearby li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* FAQ */
.faq-list { display: grid; gap: 10px; margin: 0 0 1.6em; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font: 600 1.06rem/1.4 var(--f-body); letter-spacing: 0; }
.faq[open] summary .chev { transform: rotate(180deg); }
.faq[open] { box-shadow: var(--shadow); border-color: var(--river); }
.faq-a { padding: 0 20px 16px; color: var(--ink-2); }
.faq-a p:last-child { margin: 0; }

/* posts */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.post-media { display: block; aspect-ratio: 16/9; background: var(--tay-soft); overflow: hidden; }
.post-media img, .post-media picture { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-body h2, .post-body h3 { font-size: 1.15rem; margin: .5em 0 .45em; }
.post-body h2 a, .post-body h3 a { color: var(--ink); text-decoration: none; }
.post-body h2 a:hover, .post-body h3 a:hover { text-decoration: underline; }
.post-body p { font-size: .95rem; color: var(--muted); }
.post-body .meta { margin: auto 0 0; font-size: .85rem; }
.chip { display: inline-flex; gap: 6px; align-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; background: var(--tay-soft); color: var(--tay); padding: .38em .75em; border-radius: 999px; align-self: flex-start; }
.chip.on, .chip:hover { background: var(--ink); color: #fff; }
.chip span { opacity: .7; }
.chips { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.pager span { background: var(--ink); color: #fff; border-color: var(--ink); }
.author-box { display: flex; gap: 18px; align-items: flex-start; background: var(--sand); border-radius: var(--radius); padding: 22px; margin: 32px 0 60px; }
.author-box .brand-mark { width: 56px; height: 56px; }
.ab-name { font-weight: 700; margin-bottom: .3em; }
.author-box p:last-child { margin: 0; font-size: .95rem; }

/* prose */
.prose { font-size: 1.04rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.7em; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose ul li::marker { color: var(--accent-2); }
.prose img { border-radius: 12px; }
.prose blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--accent); background: var(--sand); border-radius: 0 12px 12px 0; }
.prose .callout { background: var(--tay-soft); border-radius: 12px; padding: 18px 20px; margin: 1.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sand); }
.table-wrap { overflow-x: auto; }

/* layout with sidebar */
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 52px; padding-top: 52px; padding-bottom: 64px; align-items: start; }
.sidebar { position: sticky; top: 130px; display: grid; gap: 18px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.side-card.quote-card { background: var(--ink); color: #dbe6ee; border: 0; border-top: 5px solid var(--bronze-2); }
.side-card.quote-card .side-h { color: #fff; }
.side-card.quote-card label { color: #fff; }
.side-card.quote-card .form-note, .side-card.quote-card .form-note a { color: #b8c8d6; }
.side-h { font-size: 1.2rem; margin-bottom: .4em; }
.trust-card .ticks li { font-size: .95rem; padding: 6px 0; }
@media (max-width: 1000px) { .layout-side { grid-template-columns: 1fr; gap: 36px; padding-top: 36px; } .sidebar { position: static; } }

/* contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list li > .ico { width: 38px; height: 38px; padding: 9px; background: var(--tay-soft); color: var(--tay); border-radius: 10px; }
.contact-list strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: start; padding-top: 52px; padding-bottom: 64px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* forms */
.wh-form { display: grid; gap: 14px; }
.wh-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 20px; margin: 0; display: grid; gap: 14px; background: #fff; }
.wh-form legend { font: 700 1.1rem var(--f-head); padding: 0 8px; display: flex; align-items: center; gap: 10px; }
.leg-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); font: 800 .95rem var(--f-body); }
.f { display: grid; gap: 6px; }
.f label, .f .lab { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); }
.quote-card .opt { color: #b8c8d6; }
.f input, .f select, .f textarea { font: inherit; font-size: 1rem; width: 100%; padding: .78em .9em; border: 1.5px solid #bdb5a4; border-radius: 10px; background: #fff; color: var(--ink); }
.f input:focus, .f select:focus, .f textarea:focus { outline: 3px solid rgba(240,178,122,.5); border-color: var(--accent-2); }
.f [aria-invalid="true"] { border-color: var(--err); background: #fff6f5; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .f-row { grid-template-columns: 1fr; } }
.field-err { color: var(--err); font-size: .9rem; font-weight: 600; margin: 0; }
.quote-card .field-err { color: #ffb4ab; }
.hint { font-size: .88rem; color: var(--muted); margin: 0; }
.form-note { font-size: .86rem; color: var(--muted); margin: 0; }
.form-alert { background: #fff1ef; border: 1px solid #f3c1bb; color: var(--err); border-radius: 10px; padding: 12px 16px; }
.form-alert ul { margin: .3em 0 0; padding-left: 1.2em; }
.form-alert a { color: var(--err); }
.f.check { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; }
.f.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--tay); }
.f.check label { font-weight: 400; }
.f.check .field-err { grid-column: 2; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; }
.pill span { display: inline-block; padding: .55em .95em; border-radius: 999px; border: 1.5px solid #bdb5a4; font-size: .93rem; font-weight: 500; cursor: pointer; background: #fff; }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--accent); }
.file-list { font-size: .88rem; color: var(--muted); margin: 0; }

/* CTA band */
.cta-band { position: relative; background: radial-gradient(1200px 400px at 10% 0%, #22557d 0%, var(--ink) 62%); color: #dbe6ee; padding: 92px 0 64px; }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b8c8d6; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* links & sitemap pages */
.link-list, .sitemap-list { padding-left: 1.2em; margin: 0 0 1.8em; }
.link-list li, .sitemap-list li { margin: .5em 0; }
.link-list li::marker, .sitemap-list li::marker { color: var(--accent-2); }
.link-list a { font-weight: 700; }
.link-desc { color: var(--muted); }
.sitemap-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 36px; }
.sitemap-cols h2 { font-size: 1.25rem; margin-top: 1em; }
.link-cols { columns: 2; padding-left: 1.2em; }
@media (max-width: 600px) { .link-cols { columns: 1; } }

/* footer */
.site-footer { background: #0d1822; color: #b8c8d6; padding: 0 0 0; font-size: .97rem; }
.footer-waves { display: block; width: 100%; height: 56px; margin-bottom: 56px; background: #0d1822; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .55em; }
.site-footer a { color: #eef4f8; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.f-h { font: 700 1.05rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--river); margin: 8px 0 18px; }
.f-brand p { margin: 16px 0; }
.f-contact li { display: flex; gap: 10px; align-items: center; }
.f-contact .ico { color: var(--accent); }
.f-social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 20px 0 22px; font-size: .86rem; }
.fb-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.fb-inner p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-links li { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* mobile bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; box-shadow: 0 -6px 20px rgba(15,44,58,.15); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); gap: 6px; }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .78rem; font-weight: 700; background: var(--sand); }
  .mobile-bar .ico { width: 22px; height: 22px; }
  .mobile-bar .mb-quote { background: var(--accent); }
  body { padding-bottom: 76px; }
}

/* cookie bar */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 640px; margin: 0 auto; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 16px 18px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: .92rem; }
@media (max-width: 760px) { .cookie-bar { bottom: 90px; } }

/* home specific */
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; margin: 1.4em 0; list-style: none; padding: 0; }
.why-list li { display: flex; gap: 12px; }
.why-list .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); }
.why-list strong { display: block; }
.why-list span { font-size: .93rem; color: var(--muted); }
@media (max-width: 600px) { .why-list { grid-template-columns: 1fr; } }
.quote-strip { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 1.2em; }
.illus { background: var(--tay-soft); }
.band-photo { position: relative; min-height: 360px; display: grid; align-items: center; color: #fff; overflow: hidden; }
.band-photo .bp-bg { position: absolute; inset: 0; }
.band-photo .bp-bg img, .band-photo .bp-bg picture { width: 100%; height: 100%; object-fit: cover; }
.band-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,24,34,.93), rgba(13,24,34,.6)); }
.band-photo .bp-bg svg { width: 100%; height: 100%; }
.band-photo .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.band-photo h2 { color: #fff; max-width: 18ch; }
.band-photo p { max-width: 56ch; color: #e3ecf3; }
.is-error .page-hero { padding: 64px 0; }

/* blog footer call to action */
.blog-cta { margin: 36px 0 8px; padding: 26px 26px 22px; border-radius: var(--radius); background: var(--ink); color: #dbe6ee; border-top: 5px solid var(--bronze-2); }
.blog-cta h2 { color: #fff; margin: 0 0 14px; font-size: 1.6rem; }
.blog-cta-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 18px; }
.blog-cta-list li { display: flex; gap: 8px; align-items: flex-start; }
.blog-cta-list .ico { color: var(--accent); margin-top: 3px; }
.blog-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.blog-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.blog-cta .btn-outline:hover { background: #fff; color: var(--ink); }
.blog-cta-site { margin: 14px 0 0; font-size: .92rem; color: #b8c8d6; }
.blog-cta-site a { color: #fff; }

/* Whitby additions */
.wave-band { display: block; width: 100%; height: 60px; }
.cta-band .wave-top { position: absolute; top: 0; left: 0; right: 0; height: 44px; transform: scaleY(-1); opacity: .95; }
.center { text-align: center; }
.svc-media { background: #2c6c9b; }
.svc-pattern { position: absolute; inset: 0; background-color: #2c6c9b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='44' viewBox='0 0 160 44'%3E%3Cpath d='M0 14 q20 -10 40 0 t40 0 t40 0 t40 0 V28 q-20 10 -40 0 t-40 0 t-40 0 t-40 0Z' fill='%23ffffff' fill-opacity='.22'/%3E%3C/svg%3E"); background-size: 160px 44px; }
.svc-card.no-photo .svc-media::after { content: ""; position: absolute; right: 18px; top: 16px; width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--bronze-2); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-24 -24 48 48'%3E%3Cg fill='%23fff' stroke='%239a7b58' stroke-width='1.2'%3E%3Ccircle cx='0' cy='-9' r='7'/%3E%3Ccircle cx='0' cy='-9' r='7' transform='rotate(72)'/%3E%3Ccircle cx='0' cy='-9' r='7' transform='rotate(144)'/%3E%3Ccircle cx='0' cy='-9' r='7' transform='rotate(216)'/%3E%3Ccircle cx='0' cy='-9' r='7' transform='rotate(288)'/%3E%3C/g%3E%3Ccircle r='5' fill='%23f0b27a' stroke='%239a7b58'/%3E%3C/svg%3E") center / 44px no-repeat; }
.svc-card.no-photo .svc-media { aspect-ratio: 16/8; }
.svc-body h3 { font-size: 1.5rem; }
.illus { background: var(--tay-soft); }
.rose { width: 48px; height: 48px; }
.side-rose { width: 40px; height: 40px; margin: 10px 0 0 auto; opacity: .95; }
.price-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.prose .price-table th { background: var(--ink); color: #fff; font-family: var(--f-head); font-size: 1.1rem; letter-spacing: .03em; }
.prose .price-table tbody tr:nth-child(even) td { background: var(--sand); }
.prose .price-table td:nth-child(2) { font-weight: 700; white-space: nowrap; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; margin: 0 0 1.6em; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--tay-2); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.review blockquote { margin: 0; padding: 0; border: 0; background: none; font-size: 1.02rem; }
.review figcaption { font-size: .92rem; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.review figcaption span { color: var(--muted); }
.stars { display: flex; gap: 2px; }
.star { width: 20px; height: 20px; color: #cfc6b4; }
.star.on { color: #d8962f; fill: #f0b27a; }
.case-list { display: grid; gap: 24px; margin: 1.2em 0 1.8em; }
.case { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--tay-2); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.case.has-img { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.case-img img { border-radius: 12px; width: 100%; height: 100%; object-fit: cover; }
.case-flag { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--accent-soft); color: #7a4a1c; padding: .3em .7em; border-radius: 999px; margin: 0 0 10px; }
.prose .case h3 { margin-top: 0; }
.case-meta { color: var(--muted); font-weight: 600; margin: -.2em 0 .8em; }
.case-dl { margin: 0; display: grid; grid-template-columns: 150px 1fr; gap: 8px 18px; }
.case-dl dt { font-weight: 700; color: var(--tay); }
.case-dl dd { margin: 0; }
@media (max-width: 700px) { .case.has-img, .case-dl { grid-template-columns: 1fr; } .case-dl dt { margin-top: 6px; } }
.hero h1 { text-wrap: balance; }
.hero-card { border-top: 6px solid var(--bronze-2); }
.page-hero h1 { text-wrap: balance; }
.site-header { border-bottom: 3px solid var(--bronze-2); box-shadow: 0 2px 10px rgba(19,33,46,.08); }
.topbar { background: #0d1822; }
.section.dark { background: linear-gradient(180deg, #13212e 0%, #16293a 100%); }
.sub a .ico { background: var(--tay-soft); color: var(--tay); }
.nav-list > li > a, .sub-toggle { font-weight: 700; }
.author-box { border-left: 5px solid var(--bronze-2); }
/* hero illustration band (used when no hero photo is set) */
.hero { background: linear-gradient(180deg, #0f1c28 0%, #152c40 45%, #1f4d72 100%); }
.hero-bg:has(.illus-hero)::after { display: none; }
.hero-bg .illus-hero { position: absolute; left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: clamp(150px, 35vw, 600px); background: none; }
.hero:has(.illus-hero) .hero-inner { padding-bottom: clamp(120px, 31vw, 520px); }
@media (max-width: 960px) { .hero:has(.illus-hero) .hero-inner { padding-bottom: clamp(120px, 30vw, 300px); } }
/* service cards without photos */
.svc-card.no-photo .svc-media::after { content: none; }
.svc-roundel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; border-radius: 50%; background: var(--ink); border: 4px solid var(--bronze-2); box-shadow: 0 0 0 3px rgba(255,255,255,.25), 0 10px 22px rgba(0,0,0,.25); display: grid; place-items: center; color: #fff; }
.svc-roundel .ico { width: 42px; height: 42px; stroke-width: 1.6; }
.svc-card.no-photo .svc-body { padding-top: 22px; }
.svc-grid > .svc-card:nth-child(3n+2) .svc-pattern { background-color: #1d4e75; }
.svc-grid > .svc-card:nth-child(3n+3) .svc-pattern { background-color: #3a7aa8; }
.svc-card:hover .svc-roundel { border-color: var(--accent); }
.svc-cta { background: var(--ink); color: #dbe6ee; border: 0; border-top: 6px solid var(--bronze-2); }
.svc-cta:hover { color: #dbe6ee; }
.svc-cta h3 { color: #fff; font-size: 1.9rem; }
.svc-cta .svc-body p { color: #b8c8d6; }
.svc-cta .btn { align-self: flex-start; margin-top: 8px; }
.svc-cta .eyebrow { color: var(--river); }
/* bereavement band default look */
.band-photo { background: linear-gradient(120deg, #13212e 0%, #1d4e75 100%); }
.band-photo .bp-bg:empty { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='60' viewBox='0 0 220 60'%3E%3Cpath d='M0 20 q27.5 -14 55 0 t55 0 t55 0 t55 0 V36 q-27.5 14 -55 0 t-55 0 t-55 0 t-55 0Z' fill='%23ffffff' fill-opacity='.06'/%3E%3C/svg%3E"); background-size: 220px 60px; }
.bp-rose { position: absolute; right: 7%; top: 50%; transform: translateY(-50%); z-index: 1; opacity: .95; }
.bp-rose .rose { width: clamp(120px, 20vw, 260px); height: auto; filter: drop-shadow(0 12px 30px rgba(0,0,0,.35)); }
.band-photo:has(.bp-bg:empty)::after { background: linear-gradient(90deg, rgba(13,24,34,.55), rgba(13,24,34,0)); }
@media (max-width: 760px) { .bp-rose { display: none; } }
/* posts use 3:1 banners */
.post-media { aspect-ratio: 3 / 1; }
/* nav */
.nav-list > li > a, .sub-toggle { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 1081px) { .nav-list > li > a, .sub-toggle { padding: .6em .55em; font-size: .95rem; } .brand-sub { display: none; } }
.map-dot text { font-size: 15px; }
.area-map text { font-size: 15px; }
.photo-stack .stat-badge { top: -22px; left: -12px; right: auto; bottom: auto; }
@media (max-width: 600px) { .photo-stack .stat-badge { left: 10px; } }
main > .page-hero:not(.post-hero) + div.wrap.narrow { max-width: var(--wrap); padding-top: 48px; padding-bottom: 60px; }
main > .page-hero:not(.post-hero) + div.wrap.narrow > .prose { max-width: 820px; }
@media (max-width: 700px) { main > .page-hero:not(.post-hero) + div.wrap.narrow { padding-top: 32px; padding-bottom: 44px; } }
.prose .case h2.case-title { margin-top: 0; font-size: 1.5rem; }
