/* ==========================================================================
   Bereavement Clearance Sunderland — site styles
   ========================================================================== */

@font-face{font-family:'Inclusive Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/inclusive-sans-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Inclusive Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/inclusive-sans-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/source-sans-3-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/source-sans-3-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/source-sans-3-latin-700-normal.woff2) format('woff2')}

:root{
  --red:#d0142c; --red-dark:#a50f22; --red-text:#b3122a; --red-on-dark:#ff4a5c;
  --ink:#161616; --text:#1a1a1a; --muted:#4a4a4a; --muted-2:#6b6b6b; --soft:#cfcfcf;
  --line:#d8d8d8; --line-soft:#ececec; --paper:#f5f4f2; --white:#fff;
  --f-display:'Inclusive Sans',system-ui,sans-serif;
  --f-body:'Source Sans 3',system-ui,-apple-system,'Segoe UI',sans-serif;
  --wrap:1240px;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:96px;-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--text);font-family:var(--f-body);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--red-text);text-decoration:none}
a:hover{color:var(--ink);text-decoration:underline}
input,select,textarea,button{font:inherit}
:focus-visible{outline:3px solid var(--red);outline-offset:3px}
h1,h2,h3,h4{margin:0;font-family:var(--f-display);font-weight:500;color:inherit}
p{margin:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:12px;top:-60px;z-index:100;background:var(--ink);color:#fff;padding:10px 16px;border-radius:6px}
.skip-link:focus{top:12px;color:#fff}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.wrap{max-width:var(--wrap);margin:0 auto}
.stripes-top{height:6px;background:repeating-linear-gradient(90deg,var(--red) 0 28px,#fff 28px 56px)}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:999px;font-weight:700;font-size:16px;line-height:1.2;text-decoration:none;border:1.5px solid transparent;cursor:pointer;transition:background 200ms,color 200ms,border-color 200ms;text-align:center}
.btn:hover{text-decoration:none}
.btn-sm{min-height:44px;padding:0 20px;font-size:15px}
.btn-primary{background:var(--red);color:#fff}
.btn-primary:hover{background:var(--red-dark);color:#fff}
.btn-light{background:#fff;color:var(--red-text)}
.btn-light:hover{background:var(--ink);color:#fff}
.btn-outline-light{border-color:#fff;color:#fff}
.btn-outline-light:hover{background:rgba(255,255,255,.12);color:#fff}
.btn-outline-dark{border-color:var(--ink);color:var(--ink);background:transparent}
.btn-outline-dark:hover{background:var(--ink);color:#fff}
.btn-dark-hover-light:hover{background:#fff;color:var(--red-text)}
.btn-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid var(--line-soft)}
.header-inner{padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}
.brand:hover{color:var(--ink);text-decoration:none}
.brand-mark{display:block;flex:none;width:34px;height:40px;border-radius:0 0 17px 17px;overflow:hidden;background:repeating-linear-gradient(90deg,var(--red) 0 7px,#fff 7px 13.5px);border:1.5px solid var(--red)}
.brand-mark--lg{width:68px;height:80px;border-radius:0 0 34px 34px;border-width:2px;background:repeating-linear-gradient(90deg,var(--red) 0 14px,#fff 14px 27px);opacity:.35}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-name{font-family:var(--f-display);font-size:19px;font-weight:500;color:var(--ink)}
.brand-sub{font-size:11px;font-weight:700;letter-spacing:.32em;color:var(--red);margin-top:5px}
.main-nav{display:flex;gap:28px;font-size:15px;font-weight:600}
.main-nav a{color:var(--ink)}
.main-nav a.is-active{color:var(--red)}
.main-nav .nav-call{display:none}
.header-actions{display:flex;align-items:center;gap:14px}
.header-call{font-weight:700;font-size:15px;color:var(--ink)}
.nav-toggle{display:none;width:44px;height:44px;border:1.5px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;align-items:center;justify-content:center}
.nav-toggle-bars,.nav-toggle-bars::before,.nav-toggle-bars::after{display:block;width:18px;height:2px;background:var(--ink);position:relative;transition:transform 200ms}
.nav-toggle-bars::before,.nav-toggle-bars::after{content:"";position:absolute;left:0}
.nav-toggle-bars::before{top:-6px}.nav-toggle-bars::after{top:6px}
.nav-open .nav-toggle-bars{background:transparent}
.nav-open .nav-toggle-bars::before{transform:translateY(6px) rotate(45deg)}
.nav-open .nav-toggle-bars::after{transform:translateY(-6px) rotate(-45deg)}

@media (max-width:1100px){.main-nav{gap:20px}}
@media (max-width:959px){
  .header-call{display:none}
  .nav-toggle{display:inline-flex}
  .main-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line-soft);flex-direction:column;gap:0;padding:8px 24px 20px;box-shadow:0 12px 24px rgba(0,0,0,.06)}
  .main-nav a{padding:14px 0;border-top:1px solid var(--line-soft);font-size:17px}
  .main-nav .nav-call{display:block;color:var(--red-text)}
  .nav-open .main-nav{display:flex}
}
@media (max-width:520px){
  .header-inner{padding:12px 16px;gap:12px}
  .brand-name{font-size:16px}
  .header-actions .btn-sm{display:none}
}

/* ---------- Sections + type ---------- */
.section{padding:104px 24px}
.section--paper{background:var(--paper)}
.section--dark{background:var(--ink);color:#fff}
.section--red{background:var(--red);color:#fff}
.section--tight{padding:88px 24px}
.eyebrow{display:block;font-family:var(--f-body);font-size:12px;font-weight:700;letter-spacing:.28em;color:var(--red);text-transform:uppercase}
.section--dark .eyebrow{color:var(--red-on-dark)}
.section--red .eyebrow{color:#fff}
.h-display{font-family:var(--f-display);font-weight:500;font-size:clamp(40px,5.2vw,64px);line-height:1.06;text-wrap:balance}
.h-section{font-family:var(--f-display);font-weight:500;font-size:clamp(32px,3.6vw,46px);line-height:1.12;text-wrap:balance}
.h-page{font-family:var(--f-display);font-weight:400;font-size:clamp(38px,4.8vw,60px);line-height:1.08;text-wrap:balance}
.h-card{font-family:var(--f-display);font-weight:500;font-size:26px;line-height:1.2}
.lead{font-size:19px;line-height:1.6;text-wrap:pretty}
.body-lg{font-size:18px;line-height:1.65;color:var(--muted);text-wrap:pretty}
.section--dark .body-lg{color:#dcdcdc}
.section--red .body-lg{color:#fff}
.muted{color:var(--muted)}
.stack{display:flex;flex-direction:column;gap:var(--gap,22px)}
.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:64px}
.align-center{align-items:center}
.align-end{align-items:end}
.align-start{align-items:start}
.max-640{max-width:640px}.max-680{max-width:680px}.max-560{max-width:560px}

/* ---------- Images ---------- */
.img-frame{position:relative;height:var(--h,440px);border-radius:8px;overflow:hidden;background:var(--paper)}
.img-frame--r10{border-radius:10px}
.img-frame picture,.img-frame img{width:100%;height:100%}
.img-frame img{object-fit:cover}
.img-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f7f3f3 0%,#efe9e9 100%)}
.section--dark .img-frame .img-placeholder{background:linear-gradient(135deg,#232323,#1c1c1c)}
.section--red .img-frame .img-placeholder{background:linear-gradient(135deg,#e04a5c,#c4122a)}
.section--red .img-placeholder .brand-mark--lg{opacity:.6;border-color:#fff;background:repeating-linear-gradient(90deg,#fff 0 14px,transparent 14px 27px)}
@media (max-width:760px){.img-frame{height:min(var(--h,440px),340px)}}

/* ---------- Hero ---------- */
.hero{background:var(--red);color:#fff}
.hero-inner{padding:72px 24px 88px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:56px;align-items:center}
.hero .h-display{color:#fff}
.hero-trust{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:14px;font-weight:600;padding-top:20px;border-top:1px solid rgba(255,255,255,.35);list-style:none;margin:0;padding-left:0}
.hero-trust li+li::before{content:"·";margin-right:22px}
@media (max-width:760px){.hero-inner{padding:48px 20px 56px;gap:36px}.section{padding:72px 20px}}

/* ---------- Divider label ---------- */
.divider-label{background:var(--paper);padding:96px 24px 0}
.divider-label .wrap{display:flex;align-items:center;gap:18px}
.divider-label .wrap::before,.divider-label .wrap::after{content:"";flex:1;height:1px;background:var(--line)}
.divider-label span{font-size:11px;font-weight:700;letter-spacing:.32em;color:var(--red);text-align:center}

/* ---------- Principles ---------- */
.principles{display:flex;flex-direction:column;justify-content:center}
.principle{display:grid;grid-template-columns:64px 1fr;gap:20px;padding:32px 0;border-top:1px solid var(--line)}
.principle-n{font-family:var(--f-display);font-size:28px;color:var(--red);line-height:1}
.principle h3{font-family:var(--f-body);font-size:15px;font-weight:700;letter-spacing:.14em;color:var(--ink);margin-bottom:8px;text-transform:uppercase}
.principle p{font-size:17px;line-height:1.6;color:var(--muted)}

/* ---------- Steps (dark) ---------- */
.steps-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:24px;margin-bottom:56px}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));list-style:none;margin:0;padding:0}
.step{display:flex;flex-direction:column;gap:18px;padding:36px 32px 36px 0;border-top:2px solid var(--red)}
.step-tag{font-size:13px;font-weight:700;letter-spacing:.2em;color:var(--red-on-dark)}
.step h3{font-size:26px;line-height:1.2}
.step p{font-size:17px;line-height:1.65;color:var(--soft)}
@media (min-width:760px){.steps .step:nth-child(2){margin-top:48px}.steps .step:nth-child(3){margin-top:96px}}
.steps--light .step{border-top:1px solid var(--line);padding:28px 0;gap:12px}
.steps--light .step-tag{color:var(--red)}
.steps--light .step h3{font-weight:400;font-size:23px;line-height:1.25;color:var(--ink)}
.steps--light .step p{font-size:16px;color:var(--muted)}
.steps--light{gap:0 40px;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
@media (min-width:760px){.steps--light .step:nth-child(n){margin-top:0}}

/* ---------- Quote form ---------- */
.quote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:64px;align-items:start}
.form-steps{list-style:none;margin:12px 0 0;padding:0}
.form-steps li{display:flex;align-items:center;gap:14px;padding:12px 0;border-top:1px solid var(--line-soft);font-size:16px;font-weight:500;color:var(--muted-2)}
.form-steps .dot{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;background:var(--line-soft);color:var(--muted-2);flex:none}
.form-steps li.is-current{font-weight:700;color:var(--ink)}
.form-steps li.is-current .dot,.form-steps li.is-done .dot{background:var(--red);color:#fff}
.quote-card{background:var(--paper);border-radius:10px;padding:clamp(24px,4vw,44px);display:flex;flex-direction:column;gap:28px;border-top:6px solid var(--red)}
.q-progress{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.q-progress-label{font-size:13px;font-weight:700;letter-spacing:.2em;color:var(--red)}
.q-bar{flex:1;max-width:180px;height:3px;background:#e2e2e2;border-radius:2px;overflow:hidden}
.q-bar span{display:block;height:100%;width:20%;background:var(--red);transition:width 220ms ease-out}
.q-step{border:0;margin:0;padding:0;min-width:0;display:flex;flex-direction:column;gap:20px}
.q-step legend{padding:0;font-family:var(--f-display);font-weight:500;font-size:30px;line-height:1.2;color:var(--ink);margin-bottom:20px}
.js .q-step:not(.is-active){display:none}
.no-js .q-progress,.no-js .q-nav-js{display:none}
.no-js .q-step{padding-bottom:28px;border-bottom:1px solid var(--line)}
.field{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:700;color:var(--ink)}
.field input,.field select,.field textarea{min-height:52px;padding:0 16px;border:1.5px solid var(--line);border-radius:8px;background:#fff;font-size:17px;font-weight:400;color:var(--text);width:100%}
.field textarea{padding:14px 16px;resize:vertical;min-height:0}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--ink);outline:none;box-shadow:0 0 0 3px rgba(208,20,44,.18)}
.field-label{font-size:14px;font-weight:700;color:var(--ink)}
.field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.field-grid .full{grid-column:1/-1}
.choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.choices--wide{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.choices--pills{display:flex;flex-wrap:wrap;gap:10px}
.choice{position:relative}
.choice input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.choice span{display:flex;align-items:center;justify-content:center;min-height:52px;padding:0 16px;border-radius:8px;border:1.5px solid var(--line);background:#fff;color:var(--ink);font-size:16px;font-weight:600;transition:all 150ms}
.choices--wide .choice span{min-height:64px;justify-content:flex-start;padding:0 18px}
.choices--pills .choice span{min-height:48px;padding:0 22px;border-radius:999px;font-size:15px}
.choice input:checked+span{background:var(--red);border-color:var(--red);color:#fff}
.choice input:focus-visible+span{outline:3px solid var(--ink);outline-offset:2px}
.check{display:flex;align-items:center;gap:12px;min-height:52px;padding:0 16px;border:1.5px solid var(--line);border-radius:8px;background:#fff;font-size:16px;font-weight:600;cursor:pointer}
.check input{width:20px;height:20px;accent-color:var(--red)}
.upload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:200px;border:2px dashed #c9c9c9;border-radius:10px;background:#fff;cursor:pointer;text-align:center;padding:24px}
.upload input{position:absolute;width:1px;height:1px;opacity:0}
.upload strong{font-size:17px;color:var(--ink)}
.upload span{font-size:15px;color:var(--muted-2)}
.upload em{font-style:normal;font-size:14px;font-weight:700;color:var(--red)}
.upload:focus-within{outline:3px solid var(--red);outline-offset:3px}
.q-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:8px}
.q-back{min-height:48px;padding:0 4px;border:none;background:none;font-size:16px;font-weight:700;color:var(--ink);cursor:pointer}
.q-note{font-size:14px;color:var(--muted-2)}
.q-error{background:#fff1f2;border:1px solid #f3b7bf;color:#8a0f1f;border-radius:8px;padding:12px 16px;font-size:15px}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.consent{font-size:14px;color:var(--muted-2)}

/* ---------- Services list ---------- */
.service-list{display:flex;flex-direction:column}
.service{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px 48px;align-items:baseline;padding:36px 0;border-top:1px solid var(--line);color:var(--ink);text-decoration:none;transition:padding 220ms ease-out}
.service:hover{padding-left:12px;text-decoration:none;color:var(--ink)}
.service-title{display:flex;gap:20px;align-items:baseline}
.service-n{font-size:13px;font-weight:700;color:var(--red)}
.service h3{font-size:clamp(24px,2.4vw,32px);line-height:1.2}
.service p{font-size:17px;line-height:1.6;color:var(--muted)}
.service-cta{font-size:15px;font-weight:700;color:var(--red);justify-self:start}

/* ---------- Credentials ---------- */
.cred-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));background:#fff;color:var(--ink);border-radius:10px;overflow:hidden;align-self:start}
.cred{padding:32px;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid var(--line-soft);border-right:1px solid var(--line-soft)}
.cred-k{font-size:12px;font-weight:700;letter-spacing:.18em;color:var(--red);text-transform:uppercase}
.cred-v{font-family:var(--f-display);font-size:26px;line-height:1.2}
.cred-d{font-size:15px;line-height:1.55;color:var(--muted)}

/* ---------- Testimonial ---------- */
.testimonial{max-width:880px;margin:0 auto;display:flex;flex-direction:column;gap:28px;align-items:center;text-align:center}
.testimonial .qmark{font-family:var(--f-display);font-size:96px;line-height:.6;color:var(--red);height:48px}
.testimonial blockquote{margin:0;font-family:var(--f-display);font-size:clamp(24px,2.8vw,34px);line-height:1.4;color:var(--ink);text-wrap:balance}
.testimonial cite{display:flex;flex-direction:column;gap:4px;font-style:normal}
.testimonial cite strong{font-size:16px}
.testimonial cite span{font-style:italic;color:var(--muted-2);font-size:15px}

/* ---------- FAQ ---------- */
.faq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:48px 64px}
.faq-list{grid-column:span 2;min-width:0}
@media (max-width:760px){.faq-list{grid-column:auto}}
.faq{border-top:1px solid var(--line)}
.faq summary{list-style:none;min-height:68px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;cursor:pointer;font-family:var(--f-display);font-size:21px;line-height:1.3;color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-family:var(--f-body);font-size:24px;color:var(--red);transition:transform 220ms;flex:none}
.faq[open] summary::after{transform:rotate(45deg)}
.faq summary h3{font:inherit;margin:0}
.faq-a{padding:0 48px 24px 0;font-size:17px;line-height:1.65;color:var(--muted)}

/* ---------- CTA ---------- */
.cta{max-width:760px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:28px;text-align:center}
.cta-stripes{width:72px;height:6px;background:repeating-linear-gradient(90deg,var(--red) 0 12px,#fff 12px 24px);border:1px solid var(--red)}
.cta .h-cta{font-family:var(--f-display);font-weight:500;font-size:clamp(34px,4.2vw,54px);line-height:1.1;text-wrap:balance}
.cta-note{font-size:14px;font-style:italic;color:var(--muted-2)}
.cta-or{color:var(--muted-2)}
.cta-call{font-weight:700;font-size:17px;color:var(--ink)}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{background:var(--red);color:#fff}
.page-hero .wrap{padding:72px 24px 88px}
.page-hero a{color:#fff}
.breadcrumbs ol{list-style:none;margin:0 0 40px;padding:0;display:flex;flex-wrap:wrap;gap:8px;font-size:14px;font-weight:600}
.breadcrumbs li+li::before{content:"/";margin-right:8px}
.breadcrumbs a{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.5)}
.breadcrumbs--dark a{text-decoration-color:rgba(0,0,0,.3)}
.page-hero-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:48px 72px;align-items:end}
@media (max-width:760px){.page-hero .wrap{padding:40px 20px 56px}}

/* ---------- Areas ---------- */
.area-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:0 48px}
.area-card{display:flex;flex-direction:column;gap:14px;padding:32px 0 36px;border-top:2px solid var(--red);color:var(--ink);text-decoration:none;transition:background 200ms}
.area-card:hover{color:var(--ink);text-decoration:none;background:#faf6f6}
.area-card-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.area-card h2{font-weight:400;font-size:26px;line-height:1.2}
.area-card .dist{font-size:13px;font-weight:700;color:var(--red);white-space:nowrap}
.area-card p{font-size:15px;line-height:1.7;color:var(--muted)}
.area-card .more{font-size:15px;font-weight:700;color:var(--red)}
.pills{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
.pill{display:flex;align-items:center;min-height:40px;padding:0 18px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:15px;font-weight:600;color:var(--ink)}
.pill-link{display:flex;align-items:center;min-height:44px;padding:0 20px;border-radius:999px;border:1.5px solid var(--ink);color:var(--ink);font-size:15px;font-weight:600;text-decoration:none}
.pill-link:hover{background:var(--ink);color:#fff;text-decoration:none}
.places-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px 64px;align-items:start}
.places-grid .pills{grid-column:span 2;min-width:0}
@media (max-width:760px){.places-grid .pills{grid-column:auto}}
.card-grid-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:0 40px}
.svc-card{display:flex;flex-direction:column;gap:12px;padding:28px 0;border-top:2px solid var(--red)}
.svc-card .n{font-size:13px;font-weight:700;color:var(--red)}
.svc-card h3{font-weight:400;font-size:23px;line-height:1.25;color:var(--ink)}
.svc-card p{font-size:16px;line-height:1.65;color:var(--muted)}
.history-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:64px;align-items:start}
.history-grid .sticky{position:sticky;top:120px}
@media (max-width:900px){.history-grid .sticky{position:static}}
.history-text p{font-size:18px;line-height:1.75;color:#dcdcdc;text-wrap:pretty}
.note-card{max-width:880px;margin:0 auto;display:flex;flex-direction:column;gap:18px;padding:40px;border-radius:10px;background:var(--paper);border-top:6px solid var(--red)}
.note-card p{font-size:18px;line-height:1.65;color:var(--ink)}
@media (max-width:760px){.note-card{padding:28px 22px}}

/* ---------- Link lists (links + sitemap pages) ---------- */
.link-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:48px 64px;align-items:start}
.link-group{display:flex;flex-direction:column;gap:16px;padding-top:24px;border-top:2px solid var(--red)}
.link-group h2{font-weight:400;font-size:26px;color:var(--ink)}
.link-group ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:10px;font-size:17px;line-height:1.5}

/* ---------- Blog ---------- */
.post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:48px 40px}
.post-card{display:flex;flex-direction:column;gap:14px;color:var(--ink);text-decoration:none}
.post-card:hover{text-decoration:none;color:var(--ink)}
.post-card:hover h2,.post-card:hover h3{color:var(--red-text)}
.post-card .img-frame{--h:230px;border-radius:10px}
.post-card h2,.post-card h3{transition:color 150ms}
.post-card p{font-size:16px;line-height:1.6;color:var(--muted)}
.post-meta{font-size:14px;color:var(--muted-2);display:flex;flex-wrap:wrap;gap:6px 14px}
.post-card .more{font-weight:700;font-size:15px;color:var(--red)}
.pager{display:flex;justify-content:space-between;gap:16px;margin-top:64px;padding-top:24px;border-top:1px solid var(--line)}
.article-hero{background:var(--paper);padding:56px 24px 64px}
.article-hero .wrap{max-width:812px}
.article-hero .breadcrumbs a{color:var(--muted)}
.article-hero .breadcrumbs ol{color:var(--muted)}
.article-hero h1{font-weight:500;font-size:clamp(34px,4.4vw,54px);line-height:1.1;color:var(--ink);text-wrap:balance;margin:12px 0 20px}
.byline{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;font-size:15px;color:var(--muted)}
.byline strong{color:var(--ink)}
.article-feature{max-width:1040px;margin:-8px auto 0;padding:0 24px}
.article-feature .img-frame{--h:auto;height:auto;border-radius:10px;aspect-ratio:16/9}
.article-layout{max-width:860px;margin:0 auto;padding:56px 24px 88px}
.toc{background:var(--paper);border-left:4px solid var(--red);border-radius:6px;padding:20px 24px;margin-bottom:40px}
.toc strong{display:block;font-size:13px;letter-spacing:.2em;color:var(--red);margin-bottom:8px}
.toc ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.toc .lvl3{margin-left:18px;font-size:.95em}
.prose{font-size:18px;line-height:1.75;color:#262626}
.prose>*+*{margin-top:1.1em}
.prose h2{font-size:clamp(26px,2.8vw,34px);line-height:1.2;color:var(--ink);margin-top:1.8em}
.prose h3{font-size:23px;line-height:1.3;color:var(--ink);margin-top:1.5em}
.prose h4{font-family:var(--f-body);font-weight:700;font-size:18px;margin-top:1.4em}
.prose a{text-decoration:underline;text-underline-offset:3px}
.prose ul,.prose ol{padding-left:1.4em}
.prose li+li{margin-top:.4em}
.prose blockquote{margin-left:0;padding:8px 0 8px 22px;border-left:4px solid var(--red);font-family:var(--f-display);font-size:21px;color:var(--ink)}
.prose img{border-radius:8px;height:auto}
.prose figure{margin:1.6em 0}
.prose figcaption{font-size:14px;color:var(--muted-2);margin-top:8px}
.prose table{border-collapse:collapse;width:100%;font-size:16px}
.prose th,.prose td{border:1px solid var(--line);padding:10px 12px;text-align:left}
.prose hr{border:0;border-top:1px solid var(--line);margin:2em 0}
.author-box{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:start;margin-top:56px;padding:28px;border-radius:10px;background:var(--paper);border-top:4px solid var(--red)}
.author-box .avatar{width:72px;height:72px;border-radius:50%;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center}
.author-box .avatar img{width:100%;height:100%;object-fit:cover}
.author-box h2{font-size:20px;color:var(--ink);margin-bottom:6px}
.author-box p{font-size:16px;color:var(--muted)}
.article-cta{margin-top:40px;padding:32px;border-radius:10px;background:var(--red);color:#fff;display:flex;flex-direction:column;gap:16px}
.article-cta h2{font-size:28px}

/* ---------- About ---------- */
.fact-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0 40px}
.fact-list li{padding:22px 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:6px}
.fact-list .k{font-size:12px;font-weight:700;letter-spacing:.18em;color:var(--red);text-transform:uppercase}
.fact-list .v{font-size:18px;color:var(--ink)}

/* ---------- Footer ---------- */
.site-footer{background:var(--ink);color:var(--soft);padding:64px 24px 40px}
.site-footer a{color:var(--soft)}
.site-footer a:hover{color:#fff}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:32px;margin-bottom:40px}
.footer-brand{display:flex;flex-direction:column;gap:6px}
.footer-name{font-family:var(--f-display);font-size:20px;color:#fff}
.footer-sub{font-size:11px;font-weight:700;letter-spacing:.32em;color:var(--red-on-dark)}
.footer-about{font-size:15px;line-height:1.6;margin-top:10px;max-width:280px}
.footer-col{display:flex;flex-direction:column;gap:10px;font-size:15px}
.footer-h{font-size:12px;font-weight:700;letter-spacing:.2em;color:#fff;text-transform:uppercase;margin-bottom:4px}
.site-footer .footer-phone{color:#fff;font-weight:700}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding-top:24px;border-top:1px solid #333;font-size:13px;color:#8a8a8a}
.footer-links{display:flex;flex-wrap:wrap;gap:8px 20px}
.site-footer .footer-links a{color:#8a8a8a}
.site-footer .footer-links a:hover{color:#fff}

/* ---------- Mobile bar ---------- */
.mobile-bar{display:none}
@media (max-width:759px){
  body{padding-bottom:60px}
  .mobile-bar{position:fixed;left:0;right:0;bottom:0;z-index:50;display:grid;grid-template-columns:1fr 1fr;background:#fff;border-top:1px solid #e2e2e2}
  .mobile-bar a{display:flex;align-items:center;justify-content:center;min-height:60px;font-weight:700;font-size:16px;color:var(--ink);text-decoration:none}
  .mobile-bar .mobile-bar-cta{background:var(--red);color:#fff}
}

/* ---------- Misc ---------- */
.notice{padding:14px 18px;border-radius:8px;background:#eef8f0;border:1px solid #b9dfc1;color:#1d5b2a}
.center{text-align:center}
