/* ============================================================
   WEBDOT — design tokens & base   (ported from styles.css)
   ============================================================ */
:root {
  /* Brand */
  --red: #9A2022;
  --red-700: #7e1a1c;
  --red-600: #b6282a;
  --red-tint: #f7eaea;

  /* Ink / neutrals (warm) */
  --ink: #232323;
  --ink-soft: #3a3a3a;
  --ink-mute: #6b6b68;
  --ink-faint: #97968f;
  --line: #e7e5e0;
  --line-strong: #d8d6cf;

  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f6f5f1;      /* warm light gray */
  --bg-soft2: #efeee8;
  --ink-bg: #1a1a1a;       /* dark technical section */
  --ink-bg-2: #242422;

  /* Type */
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(20,20,20,.06), 0 2px 6px rgba(20,20,20,.05);
  --shadow-md: 0 6px 24px rgba(20,20,20,.08), 0 2px 6px rgba(20,20,20,.05);
  --shadow-lg: 0 24px 60px rgba(20,20,20,.14);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--red); color: #fff; }

h1,h2,h3 { font-family: var(--display); font-weight: 700; color: var(--ink); margin: 0; line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

/* ---- reusable layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-wide { max-width: 1340px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section-tight { padding: clamp(48px, 6vw, 84px) 0; }
.section-pt-sm { padding-top: clamp(16px, 2vw, 32px); }
.section-pt-md { padding-top: clamp(20px, 3vw, 44px); }

/* ---- eyebrow / technical label ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
}
.eyebrow.mute { color: var(--ink-mute); }
.eyebrow .bar { width: 22px; height: 1.5px; background: currentColor; display: inline-block; }

/* ---- display scale ---- */
.display-xl { font-size: clamp(42px, 7vw, 88px); letter-spacing: -0.02em; }
.display-lg { font-size: clamp(34px, 5vw, 60px); letter-spacing: -0.015em; }
.display-md { font-size: clamp(27px, 3.4vw, 40px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); line-height: 1.6; }

/* ---- dot mark (recreated logo motif) ---- */
.dotmark {
  display: inline-block;
  position: relative;
  width: 1em; height: 1em;
  border: 0.165em solid var(--red);
  border-radius: 0.27em;
  flex: none;
  vertical-align: middle;
}
.dotmark::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 0.15em; height: 0.4em;
  background: var(--ink);
  border-radius: 0.08em;
  transform: translate(-50%, -50%);
}
.dotmark.on-dark::before { background: #f4f4f0; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 15.5px;
  padding: 14px 24px; border-radius: 10px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .22s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-700); box-shadow: 0 8px 20px rgba(154,32,34,.28); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost.on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { padding: 17px 30px; font-size: 16.5px; }

/* ---- link with arrow ---- */
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); font-size: 15.5px; cursor: pointer; }
.tlink .arr { transition: transform .25s var(--ease); }
.tlink:hover .arr { transform: translateX(4px); }

/* ---- cards ---- */
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: all .25s var(--ease); }

/* ---- generic chips ---- */
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 13px; }

/* ---- fade-in on view ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- hairline divider helper ---- */
.hr { height: 1px; background: var(--line); border: 0; }

/* ---- bg helpers ---- */
.bg-soft { background: var(--bg-soft); }
.bg-ink { background: var(--ink-bg); color: #ece9e3; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }

/* ============================================================
   WEBDOT — header, footer, shared page chrome   (layout.css)
   ============================================================ */

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 8px 24px rgba(20,20,20,.05); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-img { height: 30px; width: auto; transition: opacity .2s; }
.brand:hover .brand-img { opacity: .82; }

.nav-desktop { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-item { position: relative; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; font-size: 15px; font-weight: 500;
  color: var(--ink-soft); padding: 9px 14px; border-radius: 8px;
  transition: color .18s, background .18s; cursor: pointer; background: none; border: 0;
}
.nav-link:hover { color: var(--ink); background: var(--bg-soft); }
.nav-link.active { color: var(--red); }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 1px; height: 2px;
  background: var(--red); border-radius: 2px;
}

.header-cta { margin-left: auto; display: flex; align-items: center; }

/* dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px; width: 320px;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.99);
  transition: all .2s var(--ease); transform-origin: top left;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown, .dropdown.open { opacity: 1; visibility: visible; transform: none; }
.dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.drop-item { display: flex; align-items: center; gap: 13px; padding: 12px 13px; border-radius: 10px; transition: background .16s; }
.drop-item:hover { background: var(--bg-soft); }
.drop-item .dotmark { margin-top: 1px; }
.drop-title { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.drop-desc { display: block; font-size: 12.5px; color: var(--ink-mute); margin-top: 1px; }
.nav-caret { margin-left: 5px; transition: transform .2s; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }

/* burger */
.burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; margin-left: auto; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu { position: fixed; inset: 78px 0 auto 0; z-index: 99; background: #fff; border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.mobile-menu.open { max-height: 90vh; box-shadow: var(--shadow-lg); }
.mobile-menu nav { padding: 18px var(--gutter) 30px; }
.m-block { border-bottom: 1px solid var(--line); }
.m-link { display: block; padding: 15px 2px; font-family: var(--display); font-weight: 600; font-size: 21px; color: var(--ink); }
.m-link.active { color: var(--red); }
.m-sub { padding: 0 2px 14px; display: flex; flex-direction: column; gap: 9px; }
.m-sub a { color: var(--ink-mute); font-size: 15px; font-weight: 500; padding-left: 4px; }
.m-sub a:hover { color: var(--red); }

@media (max-width: 940px) {
  .nav-desktop, .header-cta { display: none; }
  .burger { display: flex; }
}

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink-bg); color: #c9c7c0; padding: clamp(56px, 7vw, 88px) 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 2fr; gap: clamp(40px, 6vw, 90px); padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-blurb { color: rgba(244,244,240,.62); font-size: 15px; line-height: 1.65; max-width: 380px; margin-top: 22px; }
.footer-since { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: rgba(244,244,240,.75); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.f-col h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(244,244,240,.5); margin: 0 0 18px; font-weight: 500; }
.f-col { display: flex; flex-direction: column; gap: 12px; }
.f-link { color: rgba(244,244,240,.82); font-size: 14.5px; transition: color .16s; width: fit-content; }
.f-link:not(.static):hover { color: #fff; }
.f-link.static { color: rgba(244,244,240,.55); }
.footer-legal { padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.legal-data { display: flex; flex-wrap: wrap; gap: 9px; font-size: 12.5px; color: rgba(244,244,240,.5); align-items: center; }
.legal-data .dot-sep { color: var(--red-600); }
.legal-copy { font-size: 12.5px; color: rgba(244,244,240,.42); }

@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr; gap: 44px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ---------------- Page header band ---------------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero .breadcrumb { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 22px; }
.page-hero .breadcrumb a { color: var(--ink-mute); }
.page-hero .breadcrumb a:hover { color: var(--red); }
.page-hero .breadcrumb .sep { opacity: .5; }
.page-hero h1 { max-width: 16ch; }
.page-hero .page-intro { max-width: 56ch; margin-top: 22px; }

/* enter animation for page content */
.page-enter { animation: pageEnter .5s var(--ease) both; }
@keyframes pageEnter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   WEBDOT — homepage   (home.css)
   ============================================================ */

/* ---- HERO ---- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -200px; right: -160px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(154,32,34,.07), transparent 62%); pointer-events: none;
}
.hero-grid { gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-h1 { margin-top: 24px; }
.hero-h1 .accent { color: var(--red); font-style: italic; }
.hero-lead { margin-top: 26px; max-width: 50ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; align-items: center; }
.hero-trust { display: flex; align-items: center; gap: 26px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-trust-div { width: 1px; height: 38px; background: var(--line); }
.stat-n { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--ink); line-height: 1; }
.stat-l { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-top: 7px; }

/* hero visual — browser frame */
.hero-visual { position: relative; }
.browser { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(-1deg); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.browser-bar span.dot-r, .browser-bar span.dot-y, .browser-bar span.dot-g { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #e8675f; } .dot-y { background: #e9c14a; } .dot-g { background: #5fc26b; }
.browser-url { margin-left: 12px; flex: 1; display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 6px 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }
.browser-body { padding: 22px; }
.bb-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.bb-line { height: 9px; background: var(--line-strong); border-radius: 4px; }
.bb-line.w40 { width: 120px; }
.bb-pill { width: 74px; height: 26px; background: var(--red); border-radius: 7px; margin-left: auto; }
.bb-hero { display: flex; flex-direction: column; gap: 13px; margin-bottom: 26px; }
.bb-h { height: 18px; background: var(--ink); border-radius: 5px; opacity: .9; }
.bb-h.w70 { width: 70%; } .bb-h.w50 { width: 48%; }
.bb-sub { height: 9px; background: var(--line-strong); border-radius: 4px; }
.bb-sub.w60 { width: 60%; }
.bb-cta { width: 130px; height: 34px; background: var(--red); border-radius: 8px; margin-top: 6px; }
.bb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bb-grid span { height: 64px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 9px; }

.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 11px 15px; font-weight: 600; font-size: 13.5px; box-shadow: var(--shadow-md); }
.chip-uptime { top: 14%; left: -34px; }
.chip-uptime .fc-dot { width: 9px; height: 9px; border-radius: 50%; background: #34b96a; box-shadow: 0 0 0 4px rgba(52,185,106,.16); }
.chip-speed { bottom: 18%; right: -30px; }
.chip-ssl { bottom: -22px; left: 10%; }
@media (prefers-reduced-motion: no-preference) {
  .float-chip { animation: floaty 5s ease-in-out infinite; }
  .chip-speed { animation-delay: -1.6s; } .chip-ssl { animation-delay: -3s; }
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---- client strip ---- */
.client-section { padding: 8px 0 clamp(40px, 5vw, 60px); }
.client-label { text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 30px; }
.client-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; align-items: center; }
.client-logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .02em; color: var(--ink-faint); filter: grayscale(1); opacity: .72; transition: opacity .2s, color .2s; }
.client-logo:hover { opacity: 1; color: var(--ink-mute); }

/* ---- section heads ---- */
.section-head { max-width: 760px; margin-bottom: clamp(38px, 4vw, 56px); }
.section-head h2 { margin-top: 18px; white-space: pre-line; }
.section-head-lead { margin-top: 20px; max-width: 56ch; }

/* ---- pillars ---- */
.pillars { gap: 22px; align-items: stretch; }
.pillar { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 28px; transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s; }
.pillar.is-clickable { cursor: pointer; }
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.pillar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.pillar-kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.pillar-title { font-size: 23px; margin-bottom: 11px; }
.pillar-desc { color: var(--ink-mute); font-size: 15px; line-height: 1.6; }
.pillar-points { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.pillar-points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.pillar-points li::before { content: ""; flex: none; width: 15px; height: 15px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%239A2022' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pillar-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--red); }
.pillar:hover .pillar-link .arr { transform: translateX(4px); }

/* ---- why / E-E-A-T ---- */
.why-grid { gap: clamp(40px, 6vw, 90px); align-items: center; }
.why-cards { gap: 18px; align-items: stretch; }
.why-cards-col { display: flex; flex-direction: column; gap: 18px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.why-card h4 { font-family: var(--display); font-size: 18px; margin: 16px 0 8px; }
.why-card p { font-size: 14.5px; color: var(--ink-mute); line-height: 1.6; }

/* ---- local SEO dark band ---- */
.local-band { background: var(--ink-bg); color: #d6d4cc; padding: clamp(64px, 8vw, 110px) 0; overflow: hidden; }
.local-grid { gap: clamp(40px, 6vw, 80px); align-items: center; }
.local-band h2 { color: #fff; margin-top: 18px; }
.local-text { color: rgba(244,244,240,.7); font-size: 17px; line-height: 1.7; margin-top: 20px; max-width: 50ch; }
.local-actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.local-tel { font-family: var(--mono); letter-spacing: .04em; color: #fff; }
.map-card { position: relative; aspect-ratio: 4/3; background: #232320; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; overflow: hidden; }
.map-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; }
.map-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 46%, rgba(154,32,34,.22), transparent 50%); }
.map-pin { position: absolute; top: 46%; left: 50%; transform: translate(-50%,-50%); z-index: 2; animation: pinpulse 2.6s ease-in-out infinite; }
@keyframes pinpulse { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-58%) scale(1.06); } }
.map-label { position: absolute; top: 60%; left: 50%; transform: translateX(-50%); z-index: 2; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---- testimonial ---- */
.quote-block { text-align: center; }
.quote-mark { font-family: var(--display); font-size: 90px; line-height: .5; color: var(--red); height: 44px; }
.quote-text { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.6vw, 31px); line-height: 1.3; color: var(--ink); margin: 0 auto; max-width: 22ch; letter-spacing: -0.01em; }
.quote-author { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; }
.qa-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 16px; }
.qa-name { font-weight: 600; font-size: 15.5px; text-align: left; }
.qa-role { font-size: 13.5px; color: var(--ink-mute); text-align: left; }

/* ---- CTA band ---- */
.cta-band { background: var(--bg-soft); padding: clamp(64px, 8vw, 110px) 0; text-align: center; position: relative; }
.cta-inner { max-width: 760px; }
.cta-dot { margin-bottom: 26px; }
.cta-band .lead { max-width: 52ch; margin: 20px auto 0; }
.cta-band .btn { margin-top: 34px; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .local-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hero-trust { gap: 16px; flex-wrap: wrap; }
  .why-cards { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .chip-ssl { display: inline-flex; }
}

/* ============================================================
   WEBDOT — services, hub, about, blog, contact   (pages.css)
   ============================================================ */
.page-hero::after { content: ""; position: absolute; bottom: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.feature-grid, .pillars { width: 100%; }

/* ---------------- Service hero ---------------- */
.svc-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.svc-hero::before { content: ""; position: absolute; top: -160px; right: -120px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(154,32,34,.06), transparent 62%); }
.svc-hero-grid { gap: clamp(36px, 5vw, 70px); align-items: center; }
.svc-hero-side { display: flex; flex-direction: column; gap: 14px; }
.svc-side-card { background: var(--ink-bg); color: #fff; border-radius: var(--radius); padding: 30px; }
.svc-side-card .dotmark { margin-bottom: 18px; }
.svc-side-stat { font-family: var(--display); font-weight: 700; font-size: 52px; line-height: 1; color: #fff; }
.svc-side-label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 12px; }
.svc-side-row { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 16px 18px; font-weight: 500; font-size: 15px; }
.svc-side-row::before { content: ""; flex: none; width: 17px; height: 17px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%239A2022' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------------- Feature grid ---------------- */
.feature-grid { gap: 1px; align-items: stretch; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature-col { display: flex; flex-direction: column; gap: 1px; background: var(--line); }
.feature-card { background: #fff; padding: 32px 30px; flex: 1; }
.feature-num { font-family: var(--mono); font-size: 13px; color: var(--red); letter-spacing: .08em; margin-bottom: 18px; }
.feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-card p { color: var(--ink-mute); font-size: 14.5px; line-height: 1.62; }

/* ---------------- Process ---------------- */
.process { gap: 18px; align-items: flex-start; }
.process-step { position: relative; padding-top: 8px; }
.ps-num { font-family: var(--display); font-weight: 700; font-size: 30px; color: var(--red); margin-bottom: 14px; }
.process-step h4 { font-family: var(--display); font-size: 18px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--ink-mute); line-height: 1.55; }
.ps-line { position: absolute; top: 22px; left: 52px; right: -18px; height: 1px; background: var(--line-strong); }
.ps-line::after { content: ""; position: absolute; right: 0; top: -2.5px; width: 6px; height: 6px; border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); transform: rotate(45deg); }

/* ---------------- Included ---------------- */
.incl-grid { gap: clamp(40px, 6vw, 90px); align-items: center; }
.incl-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.incl-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; padding: 16px 18px; background: var(--bg-soft); border-radius: 11px; }
.incl-list li::before { content: ""; flex: none; width: 18px; height: 18px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1.5' y='1.5' width='15' height='15' rx='4.2' fill='none' stroke='%239A2022' stroke-width='3'/%3E%3Crect x='7.9' y='5.8' width='2.2' height='6.4' rx='1.1' fill='%23232323'/%3E%3C/svg%3E"); }

/* ---------------- FAQ (native <details>) ---------------- */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 24px; cursor: pointer; text-align: left; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: ""; flex: none; width: 20px; height: 20px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%239A2022' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .28s var(--ease); }
.faq-item[open] > summary::after { transform: rotate(45deg); }
.faq-item > *:not(summary) { padding: 0 24px 22px; color: var(--ink-mute); font-size: 15.5px; line-height: 1.62; max-width: 64ch; }
.faq-item p { margin: 0; }

/* ---------------- Services hub list ---------------- */
.hub-list { display: flex; flex-direction: column; gap: 16px; }
.hub-row { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 36px; transition: all .25s var(--ease); cursor: pointer; }
.hub-row:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateX(4px); }
.hub-num { font-family: var(--mono); font-size: 14px; color: var(--ink-faint); }
.hub-mark { display: grid; place-items: center; width: 64px; height: 64px; background: var(--bg-soft); border-radius: 14px; }
.hub-body h3 { font-size: 24px; margin-bottom: 8px; }
.hub-body p { color: var(--ink-mute); font-size: 15px; margin-bottom: 14px; max-width: 62ch; }
.hub-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-arrow { color: var(--red); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); transition: all .25s var(--ease); }
.hub-row:hover .hub-arrow { background: var(--red); border-color: var(--red); color: #fff; }
.hub-row:hover .hub-arrow .arr { transform: translateX(2px); }

/* ---------------- About ---------------- */
.story-grid { gap: clamp(40px, 6vw, 80px); align-items: center; }
.story-media { position: relative; }
.photo-slot { aspect-ratio: 4/5; background: var(--bg-soft); border: 1px dashed var(--line-strong); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--ink-faint); font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.story-badge { position: absolute; right: -18px; bottom: 30px; background: var(--red); color: #fff; border-radius: 14px; padding: 20px 24px; box-shadow: var(--shadow-md); }
.sb-n { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; }
.sb-l { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-top: 6px; }
.story-copy p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.72; }
.story-copy p + p { margin-top: 16px; }
.story-signature { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.sig-name { font-family: var(--display); font-weight: 700; font-size: 20px; }
.sig-role { font-size: 14px; color: var(--ink-mute); margin-top: 3px; }

.values-grid { gap: 18px; align-items: stretch; }
.values-col { display: flex; flex-direction: column; gap: 18px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.value-card .dotmark { margin-bottom: 16px; }
.value-card h3 { font-size: 20px; margin-bottom: 9px; }
.value-card p { color: var(--ink-mute); font-size: 15px; line-height: 1.6; }

.timeline { gap: 24px; position: relative; align-items: flex-start; }
.timeline::before { content: ""; position: absolute; top: 8px; left: 8px; right: 8px; height: 1px; background: var(--line); }
.tl-item { position: relative; padding-top: 36px; }
.tl-dot { position: absolute; top: 0; left: 0; background: var(--bg); padding-right: 8px; }
.tl-year { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--red); margin-bottom: 10px; }
.tl-item h4 { font-family: var(--display); font-size: 17px; margin-bottom: 8px; }
.tl-item p { font-size: 14px; color: var(--ink-mute); line-height: 1.55; }

.trans-section { position: relative; overflow: hidden; }
.trans-grid { gap: clamp(40px, 6vw, 80px); align-items: center; }
.trans-section h2 { color: #fff; margin-top: 16px; }
.trans-section .local-text { margin-top: 20px; }
.legal-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.legal-row { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 17px 26px; border-bottom: 1px solid rgba(255,255,255,.08); }
.legal-row:last-child { border-bottom: 0; }
.lr-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); align-self: center; }
.lr-v { color: #fff; font-size: 15px; font-weight: 500; }

/* ---------------- Blog ---------------- */
.blog-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; transition: box-shadow .25s; }
.blog-feat:hover { box-shadow: var(--shadow-md); }
.bf-media { position: relative; background: var(--ink-bg); display: grid; place-items: center; min-height: 280px; overflow: hidden; }
.bf-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bf-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(154,32,34,.25), transparent 60%); }
.bf-tag { position: absolute; top: 18px; left: 18px; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--red); padding: 6px 12px; border-radius: 999px; }
.bf-body { padding: 38px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-content: center; }
.bf-body h2 { font-size: clamp(24px, 2.6vw, 30px); }
.bf-body p { color: var(--ink-mute); font-size: 15.5px; line-height: 1.6; }
.bf-meta { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .04em; }

.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-pill { font-family: var(--body); font-size: 14px; font-weight: 500; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink-mute); cursor: pointer; transition: all .18s; }
.filter-pill:hover { border-color: var(--ink); color: var(--ink); }
.filter-pill.active { background: var(--red); border-color: var(--red); color: #fff; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; height: 100%; }
.blog-grid > li { display: flex; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.bc-media { position: relative; height: 150px; background: var(--bg-soft); display: grid; place-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.bc-media img { width: 100%; height: 100%; object-fit: cover; }
.bc-tag { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); background: #fff; border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; }
.bc-body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.bc-body h3 { font-size: 18.5px; line-height: 1.25; margin-bottom: 10px; }
.bc-body p { color: var(--ink-mute); font-size: 14px; line-height: 1.55; flex: 1; }
.bc-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; color: var(--red); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.blog-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-mute); padding: 40px 0; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-title { font-size: clamp(24px, 3vw, 30px); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.field label .req { color: var(--red); margin-left: 3px; }
.field-input { font-family: var(--body); font-size: 15px; padding: 13px 15px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .18s, box-shadow .18s; width: 100%; }
.field-input::placeholder { color: var(--ink-faint); }
.field-input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(154,32,34,.12); }
.field-input.has-error { border-color: #d9534f; }
textarea.field-input { resize: vertical; min-height: 110px; }
.field-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236b6b68' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.field-err { font-size: 12.5px; color: #c0392b; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; margin-top: 6px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--ink-mute); }

.form-success { text-align: center; padding: 30px 10px; }
.fs-ico { width: 68px; height: 68px; border-radius: 50%; background: #2f9e57; display: grid; place-items: center; margin: 0 auto 24px; box-shadow: 0 8px 22px rgba(47,158,87,.3); }
.form-success h2 { margin-bottom: 14px; }

.form-error-box { grid-column: 1 / -1; background: #fdeceb; border: 1px solid #f3b6b3; color: #a3302c; border-radius: 10px; padding: 13px 16px; font-size: 14px; }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-info { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.ci-row { display: flex; align-items: center; gap: 15px; padding: 16px; border-radius: 11px; transition: background .16s; }
.ci-row:hover { background: var(--bg-soft); }
.ci-ico { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--red-tint); display: grid; place-items: center; }
.ci-k { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 3px; }
.ci-v { display: block; font-weight: 600; font-size: 15px; color: var(--ink); }

.map-embed { position: relative; aspect-ratio: 16/11; background: #e9e7e0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-embed .map-tag { pointer-events: none; }
.map-embed .map-grid-lines { background-image: linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px); background-size: 38px 38px; }
.map-street { position: absolute; background: #fff; }
.map-street.s1 { top: 38%; left: 0; right: 0; height: 14px; }
.map-street.s2 { top: 0; bottom: 0; left: 44%; width: 12px; }
.map-street.s3 { top: 64%; left: 0; right: 0; height: 9px; transform: rotate(-4deg); }
.map-pin-c { position: absolute; top: 42%; left: 47%; transform: translate(-50%, -50%); z-index: 3; }
.mpc-pulse { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%,-50%); border-radius: 50%; background: rgba(154,32,34,.2); animation: mppulse 2.2s ease-out infinite; }
@keyframes mppulse { 0% { transform: translate(-50%,-50%) scale(.5); opacity: .8; } 100% { transform: translate(-50%,-50%) scale(1.6); opacity: 0; } }
.map-tag { position: absolute; top: 14px; left: 14px; z-index: 4; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 9px; padding: 8px 13px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-sm); }
.map-open { position: absolute; bottom: 14px; right: 14px; z-index: 4; display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 9px 14px; font-size: 13px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); transition: all .18s; }
.map-open:hover { color: var(--red); }
.map-open .arr { transition: transform .2s; }
.map-open:hover .arr { transform: translateX(3px); }

.hours-card { background: var(--bg-soft); border-radius: var(--radius); padding: 24px 26px; }
.hours-card h4 { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 16px; margin-bottom: 16px; }
.hours-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: 0; }
.hours-row .muted { color: var(--ink-mute); }

/* ---------------- responsive ---------------- */
@media (max-width: 940px) {
  .svc-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ps-line { display: none; }
  .incl-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-grid { grid-template-columns: 1fr; gap: 56px; }
  .trans-grid { grid-template-columns: 1fr; gap: 36px; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .timeline::before { display: none; }
  .blog-feat { grid-template-columns: 1fr; }
  .bf-media { min-height: 200px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hub-row { grid-template-columns: auto 1fr; gap: 18px 20px; padding: 26px; }
  .hub-num { display: none; }
  .hub-arrow { display: none; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .incl-list { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .legal-row { grid-template-columns: 1fr; gap: 4px; }
  .story-badge { right: 12px; }
}

/* ============================================================
   WordPress integration layer
   ============================================================ */

/* Template parts render as display:contents so the sticky <header> and the
   fixed .mobile-menu become effective children of .wp-site-blocks. This keeps
   position:sticky working (tall parent) and keeps the fixed mobile menu out of
   the header's backdrop-filter containing block. */
.wp-block-template-part { display: contents; }

/* Full-bleed content: let the post content span the viewport so dark
   bands and CTAs go edge-to-edge, while inner .wrap / .wrap-wide constrain.
   margin-block-start:0 removes WordPress's default top spacing so the content
   sits flush under the sticky header (no gap). */
.wp-site-blocks > main { display: block; margin-block-start: 0; }
.wp-site-blocks > main.webdot-content { margin-top: 0; }
.entry-content,
.wp-block-post-content { margin: 0; }
.webdot-content > * { max-width: none; }

/* Reset core button styling we don't use (we render .btn anchors directly) */
.btn:focus-visible,
a.btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Sticky header offset for the admin bar */
.admin-bar .site-header { top: 32px; }
.admin-bar .mobile-menu { top: 110px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .mobile-menu { top: 124px; }
}

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---- Single post / prose ---- */
.post-hero { padding: clamp(48px, 7vw, 92px) 0 clamp(28px, 3vw, 40px); position: relative; }
.post-hero .breadcrumb { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 22px; }
.post-hero .breadcrumb a:hover { color: var(--red); }
.post-meta { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); flex-wrap: wrap; }
.post-meta .cat { color: #fff; background: var(--red); padding: 6px 12px; border-radius: 999px; }
.post-featured { margin: 0 auto clamp(32px,4vw,48px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.prose { max-width: 740px; margin: 0 auto; }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 44px; }
.prose h3 { font-size: 22px; margin-top: 32px; }
.prose p, .prose li { font-size: 17.5px; line-height: 1.75; color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.prose blockquote { border-left: 3px solid var(--red); padding-left: 22px; margin: 8px 0; font-family: var(--display); font-size: 21px; font-style: italic; color: var(--ink); }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 8px 0; }
.prose code { font-family: var(--mono); font-size: .92em; background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; }
.prose pre { background: var(--ink-bg); color: #ece9e3; padding: 20px; border-radius: var(--radius); overflow: auto; font-family: var(--mono); font-size: 14px; }

.post-back { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }

/* ---- Archive header ---- */
.archive-active .filter-pill[data-active="true"] { background: var(--red); border-color: var(--red); color: #fff; }

/* ---- Pagination ---- */
.wp-block-query-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }
.wp-block-query-pagination a,
.wp-block-query-pagination .wp-block-query-pagination-numbers .current { font-family: var(--mono); font-size: 14px; color: var(--ink-mute); padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 8px; }
.wp-block-query-pagination .current { background: var(--red); color: #fff; border-color: var(--red); }

/* ---- Comments (kept minimal & on-brand) ---- */
.comments-area { max-width: 740px; margin: 56px auto 0; }
.comments-area .comment-reply-title, .comments-area .comments-title { font-family: var(--display); font-size: 24px; margin-bottom: 18px; }

/* ---- 404 / search ---- */
.center-state { text-align: center; padding: clamp(80px,12vw,160px) 0; }
.center-state .dotmark { margin-bottom: 24px; }
.center-state h1 { font-size: clamp(60px, 12vw, 130px); color: var(--red); }
.center-state p { margin-top: 14px; }
.center-state .btn { margin-top: 30px; }

/* ---- spacing / width utilities (mirror the design's inline margins) ---- */
.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
.mt-26 { margin-top: 26px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-34 { margin-top: 34px; }
.maxw-48 { max-width: 48ch; }
.maxw-860 { max-width: 860px; }
.maxw-920 { max-width: 920px; }
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head-center .eyebrow { justify-content: center; }

/* ---- Query Loop → design card mapping ---- */
.blog-feat-list { list-style: none; padding: 0; margin: 0; }
.blog-feat-list > li { margin: 0; }

.bc-media .wp-block-post-featured-image,
.bf-media .wp-block-post-featured-image { position: absolute; inset: 0; margin: 0; height: 100%; width: 100%; z-index: 1; }
.bc-media .wp-block-post-featured-image a,
.bf-media .wp-block-post-featured-image a { display: block; height: 100%; }
.bc-media .wp-block-post-featured-image img,
.bf-media .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }

.bc-tag a { color: inherit; }
.bf-tag a { color: inherit; }
.bc-tag.wp-block-post-terms,
.bf-tag.wp-block-post-terms { text-decoration: none; }

.bc-body .wp-block-post-title { margin: 0 0 10px; }
.bc-body .wp-block-post-title a { color: var(--ink); }
.bc-body .wp-block-post-title a:hover { color: var(--red); }
.bf-body .wp-block-post-title a { color: var(--ink); }
.bf-body .wp-block-post-title a:hover { color: var(--red); }
.bc-body .wp-block-post-excerpt { margin: 0; flex: 1; }
.bc-body .wp-block-post-excerpt p { margin: 0; }
.bf-body .wp-block-post-excerpt { margin: 0; }
.bc-meta .wp-block-post-date,
.bf-meta .wp-block-post-date { margin: 0; }
.bc-meta .wp-block-post-date time,
.bf-meta .wp-block-post-date time { color: inherit; }
.bc-tag-inline.wp-block-post-terms { display: inline-flex; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }

/* Single-post meta */
.post-meta .wp-block-post-terms { margin: 0; }
.post-meta .wp-block-post-date,
.post-meta .wp-block-post-author { margin: 0; color: var(--ink-mute); }
.post-meta .wp-block-post-author { display: inline-flex; }

/* ---- on-brand search block ---- */
.webdot-search .wp-block-search__inside-wrapper { gap: 10px; max-width: 520px; }
.webdot-search .wp-block-search__input { font-family: var(--body); font-size: 15px; padding: 13px 15px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); }
.webdot-search .wp-block-search__input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(154,32,34,.12); }
.webdot-search .wp-block-search__button { background: var(--red); color: #fff; border: 0; border-radius: 10px; padding: 0 22px; font-weight: 600; cursor: pointer; }
.webdot-search .wp-block-search__button:hover { background: var(--red-700); }
