/**
 * ThikKoro - Public Website Design Layer
 * Light mode only. Every colour resolves through the token set in :root.
 * Brand: ThikKoro blue #0a56f0 on a soft neutral ground, generous white space.
 */

:root {
  /* Ground, shell & surfaces (light default) — soft neutral, airy */
  --pub-ground: #f4f6fb;
  --pub-shell: #ffffff;
  --pub-shell-shadow: 0 20px 60px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  --pub-surface: #f6f8fd;
  --pub-surface-2: #eaeff9;
  --pub-surface-lite: #fafbff;
  --pub-line: rgba(15, 23, 42, 0.10);
  --pub-hairline: rgba(15, 23, 42, 0.07);
  --pub-shadow-1: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --pub-shadow-2: 0 18px 44px rgba(15, 23, 42, 0.10);

  /* Solid dark anchors keep their darkness in both themes (deep navy ink, not obsidian) */
  --pub-navy: #0b1220;
  --pub-navy-card: #101a30;

  /* Ink */
  --pub-ink: #0f172a;
  --pub-ink-muted: rgba(15, 23, 42, 0.76);
  --pub-ink-soft: rgba(15, 23, 42, 0.62);
  --pub-ink-inverse: #ffffff;
  --pub-ink-inverse-muted: rgba(255, 255, 255, 0.78);

  /* ThikKoro accent (brand blue), persistent across themes */
  --pub-accent: #0a56f0;
  --pub-accent-hover: #0845c4;
  --pub-accent-contrast: #ffffff;
  --pub-accent-text: #0b4fd6;
  --pub-accent-text-soft: rgba(11, 79, 214, 0.62);
  --pub-accent-border: rgba(10, 86, 240, 0.34);
  --pub-link: #0b4fd6;
  --pub-link-hover: #083596;
  --pub-grad-end: #0f172a;

  /* Nav pill */
  --pub-nav-bg: rgba(255, 255, 255, 0.85);
  --pub-navlink: rgba(15, 23, 42, 0.74);
  --pub-navlink-strong: #0f172a;
  --pub-navlink-active-bg: rgba(15, 23, 42, 0.07);
  --pub-navpill-bg: rgba(15, 23, 42, 0.045);

  /* Texture */
  --pub-grid: rgba(15, 23, 42, 0.05);
  --pub-ghost-stroke: rgba(15, 23, 42, 0.14);
  --pub-wm-stroke: rgba(15, 23, 42, 0.12);

  /* Footer — deep navy in both themes (white logo & ink-only assets) */
  --pub-footer-bg: #0b1220;
  --pub-footer-line: rgba(255, 255, 255, 0.10);
  --pub-footer-muted: rgba(255, 255, 255, 0.76);
  --pub-footer-strong: #ffffff;

  /* Bands */
  --pub-band-bg: #f7f9fd;
  --pub-band-phone: #0f172a;

  /* Forms */
  --pub-input-bg: #ffffff;
  --pub-input-border: rgba(15, 23, 42, 0.16);
  --pub-input-ink: #0f172a;
  --pub-input-placeholder: rgba(15, 23, 42, 0.46);
  --pub-autofill: #eef2fb;
  --pub-focus-ring: rgba(10, 86, 240, 0.22);
  --pub-alert-danger-ink: #b42318;

  /* Methodology contrast section — always opposes the theme */
  --con-bg: #0b1220;
  --con-ink: #f2f5ff;
  --con-muted: rgba(255, 255, 255, 0.74);
  --con-strong: #ffffff;
  --con-link: #a9c7ff;
  --con-link-hover: #cddbff;
  --con-ring: #f2f5ff;
  --con-grid: rgba(255, 255, 255, 0.05);
  --con-ghost: rgba(255, 255, 255, 0.16);

  /* Type system - Sora display & headings, Inter body, JetBrains Mono micro-labels & codes */
  --pub-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pub-font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pub-font-script: "Pacifico", "Brush Script MT", cursive;
  --pub-font-code: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --pub-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --pub-label-font: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --pub-size-display: clamp(2.5rem, 5.4vw, 4.2rem);
  --pub-size-h2: clamp(1.55rem, 2.8vw, 2rem);
  --pub-size-h3: 1.18rem;
  --pub-size-body: 1.05rem;
  --pub-size-small: 0.9rem;
  --pub-leading-display: 1.12;
  --pub-leading-tight: 1.35;
  --pub-leading-body: 1.7;

  /* Space — more air between sections */
  --pub-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --pub-measure: 1180px;
  --pub-gap: clamp(2rem, 5vw, 3.5rem);
  --pub-section: clamp(4.25rem, 9vw, 7.5rem);

  /* Shape — soft, fully rounded language */
  --pub-radius: 1.6rem;
  --pub-radius-ctrl: 0.9rem;
  --pub-radius-shell: 2rem;

  color-scheme: light;
}

/* ---------- Reset & base ---------- */
html, body { overflow-x: clip; }
html { scroll-padding-top: 5.5rem; scroll-behavior: smooth; }
body.pub { background: var(--pub-ground); color: var(--pub-ink); font-family: var(--pub-font); font-size: var(--pub-size-body); line-height: var(--pub-leading-body); -webkit-tap-highlight-color: transparent; padding: clamp(0.35rem, 1vw, 0.75rem); }

/* ---------- Floating shell ---------- */
.pub-shell { max-width: 1600px; margin: 0 auto; background: var(--pub-shell); border-radius: var(--pub-radius-shell); border: 1px solid var(--pub-line); box-shadow: var(--pub-shell-shadow); overflow-x: clip; position: relative; }
/* Noise texture removed: crisp clean solid and smooth surfaces */

h1, h2, h3, h4 { font-family: var(--pub-font-display); font-weight: 700; color: var(--pub-ink); line-height: var(--pub-leading-display); letter-spacing: -0.015em; overflow-wrap: break-word; min-width: 0; }
h3, h4 { letter-spacing: -0.005em; line-height: var(--pub-leading-tight); font-weight: 600; }
p { color: var(--pub-ink-muted); }
a { color: var(--pub-accent-text); text-decoration-thickness: from-font; text-underline-offset: 3px; }
a:hover { color: var(--pub-link-hover); }
strong { color: var(--pub-ink); }
ul, ol { padding-left: 1.35rem; }
img { max-width: 100%; height: auto; }
::selection { background: rgba(10, 86, 240, 0.16); color: var(--pub-ink); }
:focus-visible { outline: 2px solid var(--pub-accent); outline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--pub-accent); color: #ffffff; padding: 0.75rem 1.25rem; border-radius: 0 0 var(--pub-radius-ctrl) 0; z-index: 120; }
.skip-link:focus { left: 0; }

/* ---------- Layout primitives ---------- */
.pub-wrap { max-width: var(--pub-measure); margin: 0 auto; padding-left: var(--pub-gutter); padding-right: var(--pub-gutter); }
.pub-section { padding-top: var(--pub-section); padding-bottom: var(--pub-section); }
.pub-section--tint { background: var(--pub-surface-lite); }
.pub-cols { display: grid; gap: var(--pub-gap); }
@media (min-width: 820px) {
  .pub-cols-2 { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
  .pub-cols-2--even { grid-template-columns: 1fr 1fr; }
  .pub-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Technical mono labels & system status ---------- */
.pub-monotag { display: flex; align-items: center; gap: 0.55rem; font-family: var(--pub-font-code); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pub-ink-soft); }
.pub-monotag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pub-accent); flex: none; }
.pub-sys { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--pub-font-code); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pub-ink-soft); white-space: nowrap; }
.pub-sys-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pub-accent); animation: pub-pulse 2s ease-in-out infinite; box-shadow: 0 0 12px rgba(10, 86, 240, 0.55); flex: none; }
@keyframes pub-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

/* ---------- Header / nav (fixed glass pill nav) ---------- */
.pub-nav { position: sticky; top: 0; z-index: 40; background: var(--pub-nav-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--pub-line); border-radius: var(--pub-radius-shell) var(--pub-radius-shell) 0 0; }
/* Accent seam welded to the tileable header */
.pub-nav::before { content: ""; display: block; height: 5px; background: var(--pub-accent); }
.pub-nav-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; flex-wrap: wrap; }
.pub-brand { display: inline-flex; align-items: center; margin-right: auto; }
.pub-brand img { display: block; height: 40px; width: auto; }
.pub-links { list-style: none; display: flex; gap: 0.25rem; margin: 0; padding: 0.3rem; flex-wrap: wrap; background: var(--pub-navpill-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--pub-line); border-radius: 999px; }
.pub-links a { display: inline-flex; align-items: center; color: var(--pub-navlink); font-weight: 500; font-size: var(--pub-size-small); text-decoration: none; padding: 0.5rem 1rem; border-radius: 999px; transition: color 160ms cubic-bezier(0.4, 0, 0.2, 1), background-color 160ms cubic-bezier(0.4, 0, 0.2, 1); }
.pub-links a:hover { color: var(--pub-navlink-strong); background: var(--pub-navlink-active-bg); }
.pub-links a[aria-current="page"] { color: var(--pub-navlink-strong); background: var(--pub-navlink-active-bg); }
@media (max-width: 700px) { .pub-links { order: 3; width: 100%; justify-content: flex-start; } }
@media (max-width: 560px) { .header-actions .pub-btn--quiet, .pub-sys { display: none; } }

.pub-btn--icon { width: 48px; flex: none; padding: 0; background: var(--pub-surface-2); border: 1px solid var(--pub-line); color: var(--pub-ink); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.pub-btn--icon:hover { border-color: var(--pub-accent-border); color: var(--pub-navlink-strong); transform: translateY(-1px); }
.pub-btn--icon svg { display: block; }

/* ---------- Buttons: neon pulse + glass quiet + slide-up XL ---------- */
.btn, .public-footer .btn { border-radius: 999px; }
.pub-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.6rem; border: 0; border-radius: 999px;
  font-family: var(--pub-font); font-size: 1rem; font-weight: 600; text-decoration: none;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), background-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
  color 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
  box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.pub-btn svg {
  display: inline-block; vertical-align: middle;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.pub-btn:hover svg {
  transform: translateX(3px);
}
.pub-btn--primary {
  background: linear-gradient(180deg, #1c64f2 0%, var(--pub-accent) 100%);
  color: var(--pub-accent-contrast);
  box-shadow: 0 8px 24px rgba(10, 86, 240, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.pub-btn--primary:hover {
  background: linear-gradient(180deg, #256df6 0%, var(--pub-accent-hover) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10, 86, 240, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.pub-btn--quiet {
  background: var(--pub-surface-2); color: var(--pub-ink);
  border: 1px solid var(--pub-line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.pub-btn--quiet:hover {
  border-color: var(--pub-accent-border); color: var(--pub-navlink-strong);
  transform: translateY(-1.5px); box-shadow: 0 4px 14px rgba(10, 86, 240, 0.12);
}
.pub-btn--inverse {
  background: transparent; color: var(--pub-ink-inverse);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.pub-btn--inverse:hover {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75); transform: translateY(-1.5px);
}
/* Oversized CTA with the slide-up white fill (footer + closing bands) */
.pub-btn--xl {
  position: relative; z-index: 0; padding: 1.15rem 2.6rem; font-weight: 600; font-size: 1.1rem;
  overflow: hidden; background: linear-gradient(180deg, #1c64f2 0%, var(--pub-accent) 100%);
  color: #ffffff; box-shadow: 0 14px 32px rgba(10, 86, 240, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.pub-btn--xl::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #ffffff;
  border-radius: inherit; transform: translateY(102%);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}
.pub-btn--xl:hover::before { transform: translateY(0); }
.pub-btn--xl:hover { color: var(--pub-ink); box-shadow: 0 18px 40px rgba(10, 86, 240, 0.36); }
.pub-btn:active { transform: translateY(1px) scale(0.985); }
.pub-btn:focus-visible { outline: 2px solid var(--pub-accent); outline-offset: 3px; }
/* Legacy buttons rendered on public pages get the same discipline */
body.pub .btn { border-radius: 999px; }
body.pub .btn.btn-primary:not(.pub-btn) { background: var(--pub-accent); border-color: var(--pub-accent); }
body.pub .btn.btn-primary:not(.pub-btn):hover { background: var(--pub-accent-hover); }

/* ---------- Hero: modern sleek layout with smooth ambient light ---------- */
.pub-hero { position: relative; background: var(--pub-shell); padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: 0; }
.pub-hero::after {
  content: ""; position: absolute; pointer-events: none; width: 34rem; height: 34rem; right: -8rem; top: -12rem;
  background: radial-gradient(circle at center, rgba(10, 86, 240, 0.12), rgba(10, 86, 240, 0.03) 50%, transparent 72%);
}
.pub-hero .pub-wrap { position: relative; z-index: 1; }
.pub-hero h1 { font-size: var(--pub-size-display); max-width: 16ch; letter-spacing: -0.03em; line-height: 1.04; font-weight: 700; }
.pub-hero-lede { font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.55; max-width: 46ch; margin: 1.25rem 0 2rem 0; color: var(--pub-ink-muted); }
.pub-hero .pub-cols { align-items: center; }
.pub-hero .pub-ghost { will-change: transform; }
/* Accent phrase inside the hero heading — flat colour, no gradient */
.pub-grad-italic { font-style: normal; color: var(--pub-accent-text); }

/* Panels: glass sheets */
.pub-panel { background: var(--pub-surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--pub-line); border-radius: var(--pub-radius); padding: 1.75rem 1.5rem 1.9rem; position: relative; }
@media (min-width: 480px) { .pub-panel { padding: 2rem 2.1rem; } }
.pub-panel h2, .pub-panel h3 { font-size: var(--pub-size-h3); margin: 0 0 0.35rem; }
.pub-panel .pub-panel-sub { font-size: var(--pub-size-small); color: var(--pub-ink-soft); margin: 0 0 1.4rem; }
.pub-panel .form-group { margin-bottom: 1.1rem; }

/* Dark panel variant (the booking shell) — deep navy showcase card in both themes */
.pub-panel--navy { background: var(--pub-navy-card); color: var(--pub-ink-inverse-muted); overflow: visible; position: relative; border: 1px solid var(--pub-line); }
.pub-panel--navy::after { content: ""; position: absolute; inset: 0 0 auto auto; width: 9rem; height: 9rem; background: radial-gradient(circle at center, rgba(10, 86, 240, 0.35), transparent 70%); border-radius: 50%; transform: translate(34%, -40%); pointer-events: none; }
.pub-panel--navy > * { position: relative; z-index: 1; }
.pub-panel--navy h2, .pub-panel--navy h3 { color: var(--pub-ink-inverse); font-size: var(--pub-size-h3); margin: 0 0 0.35rem; }
.pub-panel--navy .pub-panel-sub { color: var(--pub-ink-inverse-muted); }
.pub-panel--navy .form-label { color: var(--pub-ink-inverse); font-weight: 600; font-size: var(--pub-size-small); }
.pub-panel--navy .form-control, .pub-panel--navy .form-select { border-color: var(--pub-line); color: var(--pub-ink); }
/* Accent bar across the panel top edge */
.pub-panel--navy::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--pub-accent); z-index: 2; }

/* Floating glass chips on the booking shell (real facts only) — dark plates in both themes */
.pub-chip-float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 0.45rem; background: var(--pub-navy); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; padding: 0.55rem 1rem; font-family: var(--pub-label-font); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #f2f4f8; box-shadow: var(--pub-shadow-2); }
.pub-chip-float::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pub-accent); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .pub-chip-float { animation: pub-float 6s ease-in-out infinite; }
  .pub-chip-float--late { animation-delay: -3s; }
}
@keyframes pub-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Watermarked brand mark (real logo asset) */
.pub-mark { display: block; height: 8rem; width: auto; opacity: 0.09; margin-left: auto; }

/* Big-number facts row */
.pub-facts { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 2.75rem 0 0; }
.pub-facts dt { font-size: var(--pub-size-small); color: var(--pub-ink-soft); margin: 0 0 0.15rem; }
.pub-facts dd { margin: 0; color: var(--pub-ink); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.2; letter-spacing: normal; transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1); }
.pub-facts dd small { display: block; font-size: var(--pub-size-small); font-weight: 400; color: var(--pub-ink-soft); letter-spacing: 0; margin-top: 0.3rem; }
.pub-facts > div:hover dd { color: var(--pub-accent-text); }

/* ---------- Service rows (ledger) ---------- */
.pub-rows { list-style: none; margin: 0; padding: 0; counter-reset: svcrow; }
.pub-rows li { display: grid; gap: 0.75rem 2rem; padding: 1.5rem 0.35rem; border-radius: var(--pub-radius); transition: background-color 160ms cubic-bezier(0.4, 0, 0.2, 1); }
.pub-rows li:hover { background: var(--pub-surface); padding-left: 1rem; padding-right: 1rem; }
.pub-rows h3 { display: block; font-size: var(--pub-size-h3); margin: 0; }
.pub-rows h3::before { content: counter(svcrow, decimal-leading-zero); counter-increment: svcrow; display: block; font-family: var(--pub-font-mono); font-size: 0.75rem; letter-spacing: 0.14em; color: var(--pub-accent-text); margin-bottom: 0.3rem; }
.pub-rows p { margin: 0.3rem 0 0; font-size: var(--pub-size-small); max-width: 62ch; }
.pub-row-lede { max-width: 58ch; }
@media (min-width: 720px) {
  .pub-rows li { grid-template-columns: 15rem 1fr auto; align-items: center; }
}
/* ---------- Steps: numbered plates ---------- */
.pub-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.pub-steps li { counter-increment: step; position: relative; padding-left: 3.6rem; min-height: 2.6rem; }
.pub-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 2.9rem; height: 2.9rem; display: flex; align-items: center; justify-content: center; background: var(--pub-surface-2); border: 1px solid var(--pub-line); color: var(--pub-ink); font-family: var(--pub-font-mono); font-size: 0.8rem; font-weight: 600; border-radius: var(--pub-radius-ctrl); transition: transform 160ms cubic-bezier(0.4, 0, 0.2, 1); }
.pub-steps li:hover::before { transform: rotate(-4deg) scale(1.05); }
.pub-steps h3 { margin: 0 0 0.25rem; font-size: var(--pub-size-h3); }
.pub-steps p { margin: 0; font-size: var(--pub-size-small); max-width: 46ch; }

/* Accent-plated variant (legacy composite use) */
.pub-steps--inverse { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.pub-steps--inverse li { counter-increment: step; position: relative; padding-left: 3.6rem; min-height: 2.6rem; }
.pub-steps--inverse li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; display: flex; align-items: center; justify-content: center; background: var(--pub-accent); color: var(--pub-accent-contrast); font-weight: 700; border-radius: var(--pub-radius-ctrl); box-shadow: 0 0 22px rgba(10, 86, 240, 0.35); transition: transform 160ms cubic-bezier(0.4, 0, 0.2, 1); }
.pub-steps--inverse li:hover::before { transform: rotate(-4deg) scale(1.06); }
.pub-steps--inverse h3 { margin: 0 0 0.25rem; font-size: var(--pub-size-h3); color: var(--pub-ink-inverse); }
.pub-steps--inverse p { margin: 0; font-size: var(--pub-size-small); max-width: 46ch; color: var(--pub-ink-inverse-muted); }

/* Composite (legacy dark band panel, back-compat) */
.pub-composite { background: var(--pub-navy); border: 1px solid var(--pub-line); border-radius: var(--pub-radius); padding: clamp(2rem, 4vw, 3.25rem); position: relative; overflow: hidden; color: var(--pub-ink-inverse-muted); }
.pub-composite::after { content: ""; position: absolute; width: 26rem; height: 26rem; right: -10rem; bottom: -14rem; background: radial-gradient(circle at center, rgba(10, 86, 240, 0.22), transparent 65%); pointer-events: none; }
.pub-composite > * { position: relative; z-index: 1; }
.pub-composite h2, .pub-composite h3 { color: var(--pub-ink-inverse); }
.pub-composite p { color: var(--pub-ink-inverse-muted); }

/* ---------- Editorial v2: kickers, dash, ghost, ledger numbering ---------- */
.pub-kicker { display: flex; align-items: center; gap: 0.7rem; font-family: var(--pub-font-mono); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pub-accent-text); margin: 0 0 0.85rem; }
.pub-kicker::before { content: ""; width: 1.7rem; height: 2px; background: var(--pub-accent-text); flex: none; }
.pub-pagetop h1::after { content: ""; display: block; width: 4.5rem; height: 4px; background: var(--pub-accent); margin-top: 0.95rem; }
.pub-pagetop h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: normal; font-weight: 700; }
.pub-pagetop { padding: clamp(2.5rem, 6vw, 4rem) 0 0; }
.pub-pagetop .lede { margin: 1.1rem 0 0; max-width: 58ch; color: var(--pub-ink-muted); }
.pub-crumbs { font-family: var(--pub-font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pub-ink-soft); margin-bottom: 1.4rem; }
.pub-crumbs a { color: var(--pub-ink-soft); text-decoration: none; }
.pub-crumbs a:hover { color: var(--pub-link-hover); }
.pub-doc h2 { padding-left: 0.95rem; border-left: 4px solid var(--pub-accent); }
.pub-doc { color: var(--pub-ink-muted); }
.pub-ghost { font-size: clamp(4rem, 12.5vw, 10rem); line-height: 0.95; font-weight: 700; letter-spacing: normal; color: transparent; -webkit-text-stroke: 1.5px var(--pub-ghost-stroke); user-select: none; pointer-events: none; max-width: 100%; overflow: hidden; margin: 2.5rem 0 0; }
.pub-ghost--tight { margin: 0 0 0.75rem; }
/* Rolling numbers keep tabular rhythm while counting */
.pub-roll { font-variant-numeric: tabular-nums; }

/* FAQ ledger */
.pub-faq { list-style: none; margin: 0; padding: 0; max-width: 780px; counter-reset: faq; }
.pub-faq li { counter-increment: faq; padding: 1.15rem 0.5rem; border-radius: var(--pub-radius-ctrl); transition: background-color 160ms cubic-bezier(0.4, 0, 0.2, 1); }
.pub-faq li:hover { background: var(--pub-surface); }
.pub-faq summary { display: flex; align-items: baseline; gap: 0.75rem; cursor: pointer; font-weight: 600; font-size: 1.1rem; color: var(--pub-ink); padding: 0.35rem 0; min-height: 48px; list-style: none; }
.pub-faq summary::-webkit-details-marker { display: none; }
.pub-faq summary::before { content: counter(faq, decimal-leading-zero); color: var(--pub-accent-text); font-family: var(--pub-font-mono); font-weight: 400; font-size: 0.9rem; flex: none; }
.pub-faq summary::after { content: "+"; margin-left: auto; color: var(--pub-ink-soft); font-weight: 400; font-size: 1.3rem; transition: transform 160ms cubic-bezier(0.4, 0, 0.2, 1); }
.pub-faq details[open] summary::after { content: "+"; transform: rotate(45deg); color: var(--pub-accent-text); }
.pub-faq p { margin: 0.4rem 0 0; color: var(--pub-ink-muted); }

/* Zone ledger */
.pub-place { display: grid; gap: 0; counter-reset: zone; }
.pub-place > div { counter-increment: zone; padding: 1.05rem 0.4rem; }
.pub-place > div + div { border-top: 1px solid var(--pub-hairline); }
.pub-place dt { display: flex; align-items: baseline; gap: 0.8rem; font-weight: 700; color: var(--pub-ink); font-size: 1.05rem; }
.pub-place dt::before { content: counter(zone, decimal-leading-zero); color: var(--pub-accent-text); font-family: var(--pub-font-mono); font-weight: 400; font-size: 0.9rem; flex: none; }
.pub-place dd { margin: 0.4rem 0 0; color: var(--pub-ink-muted); }

/* Towns chips, deflist, note — glass */
.pub-towns { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.4rem 0 0; padding: 0; }
.pub-towns li { background: var(--pub-surface); border: 1px solid var(--pub-line); border-radius: 999px; padding: 0.45rem 1rem; font-size: var(--pub-size-small); color: var(--pub-ink); }
.pub-towns li a { text-decoration: none; color: var(--pub-ink); }
.pub-towns li a:hover { color: var(--pub-accent-text); }
/* Coverage: editorial copy left, full locality ledger right */
.pub-coverage-cols { display: grid; gap: var(--pub-gap); align-items: start; }
@media (min-width: 760px) { .pub-coverage-cols { grid-template-columns: 0.92fr 1.08fr; } }
.pub-coverage-office { margin: 1.6rem 0 0; padding-left: 1.05rem; border-left: 3px solid var(--pub-accent); color: var(--pub-ink-muted); font-size: var(--pub-size-small); line-height: 1.65; }
.pub-coverage-office strong { color: var(--pub-ink); }
@media (min-width: 760px) { .pub-coverage-cols .pub-towns { margin-top: 0; } }
.pub-deflist { display: grid; gap: 1.4rem; }
.pub-deflist dt { font-family: var(--pub-font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pub-ink-soft); }
.pub-deflist dd { margin: 0.25rem 0 0; font-weight: 600; color: var(--pub-ink); }
.pub-deflist dd a { text-decoration: none; }
.pub-deflist dd a:hover { text-decoration: underline; }
.pub-note { background: var(--pub-surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--pub-line); border-radius: var(--pub-radius-ctrl); padding: 1rem 1.15rem; font-size: var(--pub-size-small); color: var(--pub-ink-muted); }

/* Ticker strip */
.pub-ticker { overflow: hidden; border-top: 1px solid var(--pub-hairline); border-bottom: 1px solid var(--pub-hairline); background: var(--pub-surface-lite); }
.pub-ticker-track { display: flex; width: max-content; animation: pub-tick 42s linear infinite; }
.pub-ticker-track span { display: inline-block; padding: 0.7rem 0; font-family: var(--pub-font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pub-ink-soft); white-space: nowrap; }
.pub-ticker-track span::after { content: "/"; margin: 0 1.4rem; color: var(--pub-accent-text); }
.pub-ticker:hover .pub-ticker-track { animation-play-state: paused; }
@keyframes pub-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Map: glass frame (footer only on the public site) */
.pub-map { border-radius: 2rem; overflow: hidden; border: 1px solid var(--pub-line); background: var(--pub-navy); }
.pub-map iframe { display: block; width: 100%; height: 100%; border: 0; min-height: 240px; }

/* Ref plate, phonecard, strip facts, form ruler, highlighter */
.pub-ref { display: inline-block; font-family: var(--pub-font-code); font-size: clamp(1.3rem, 3.5vw, 1.9rem); font-weight: 600; letter-spacing: 0.02em; color: var(--pub-ink); background: var(--pub-surface-2); border: 1px solid var(--pub-line); border-left: 8px solid var(--pub-accent); padding: 0.55rem 1.1rem; overflow-wrap: anywhere; }
.pub-phonecard { background: var(--pub-navy); border: 1px solid var(--pub-line); color: var(--pub-ink-inverse); border-radius: var(--pub-radius); padding: 1.5rem 1.6rem; margin: 0 0 2.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.pub-phonecard::after { content: ""; position: absolute; inset: 0 0 auto auto; width: 9rem; height: 9rem; background: radial-gradient(circle at center, rgba(10, 86, 240, 0.4), transparent 68%); transform: translate(30%, -42%); pointer-events: none; }
.pub-phonecard > * { position: relative; z-index: 1; }
.pub-phonecard h2, .pub-phonecard h3 { color: var(--pub-ink-inverse); }
.pub-phonecard .pub-phonecard-label { font-family: var(--pub-font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); margin: 0 0 0.45rem; }
.pub-phonecard .pub-phonecard-number { display: inline-block; color: #ffffff; font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: normal; text-decoration: none; }
.pub-phonecard .pub-phonecard-number:hover { text-decoration: underline; }
.pub-phonecard .pub-phonecard-meta { font-size: var(--pub-size-small); color: rgba(255, 255, 255, 0.75); margin: 0.4rem 0 0; max-width: 40ch; }
.pub-stripfacts { display: grid; grid-auto-flow: column; grid-auto-columns: max-content; gap: 0.5rem 2.6rem; margin: 2rem 0 0; padding: 1.15rem 1.5rem; background: var(--pub-surface); border: 1px solid var(--pub-line); border-radius: var(--pub-radius-ctrl); }
.pub-stripfacts dt { font-family: var(--pub-font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pub-ink-soft); }
.pub-stripfacts dd { margin: 0.2rem 0 0; font-weight: 700; color: var(--pub-ink); font-size: 1.15rem; letter-spacing: normal; }
.pub-form-ruler { list-style: none; counter-reset: fr; margin: 0 0 1.35rem; padding: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: var(--pub-size-small); color: var(--pub-ink-inverse-muted); }
.pub-form-ruler li { counter-increment: fr; position: relative; padding-left: 1.7rem; }
.pub-form-ruler li::before { content: "0" counter(fr); position: absolute; left: 0; top: 0; font-family: var(--pub-font-mono); color: var(--pub-ink-soft); }
.pub-form-ruler li.is-active { color: var(--pub-ink-inverse); }
.pub-form-ruler li.is-active::before { color: var(--pub-accent-text); }
.pub-mark-accent { box-shadow: inset 0 -0.34em 0 var(--pub-accent); padding: 0 0.08em; }

/* ---------- Bento grid (glass cards, 3-col) ---------- */
.pub-bento { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.pub-bento > * { background: var(--pub-surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--pub-line); border-radius: var(--pub-radius-shell); padding: 1.9rem; transition: border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), transform 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1); min-width: 0; }
.pub-bento > *:hover { border-color: var(--pub-accent-border); }
.pub-bento--x2 { grid-column: span 2; grid-row: span 2; }
.pub-bento--y2 { grid-row: span 2; }
.pub-bento--accent { background: var(--pub-accent); border-color: rgba(255, 255, 255, 0.22); color: #ffffff; box-shadow: 0 18px 44px rgba(10, 86, 240, 0.24); }
.pub-bento--accent h3 { color: #ffffff; }
.pub-bento--accent p { color: #eaf1ff; }
.pub-bento--accent a { color: #ffffff; }
.pub-bento--accent .pub-monotag { color: rgba(255, 255, 255, 0.92); }
.pub-bento--accent .pub-bento-note { color: rgba(255, 255, 255, 0.85); }
.pub-bento h3 { font-size: 1.35rem; margin: 0 0 0.4rem; }
.pub-bento .pub-bento-note { font-family: var(--pub-font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pub-ink-soft); margin: 1.25rem 0 0; }
@media (max-width: 1000px) {
  .pub-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .pub-bento { grid-template-columns: 1fr; gap: 1rem; }
  .pub-bento--x2, .pub-bento--y2 { grid-column: auto; grid-row: auto; }
  .pub-bento > * { padding: 1.5rem 1.35rem; }
}
/* Mono ledger list (wide coverage card) */
.pub-mono-list { list-style: none; columns: 2; column-gap: 2rem; margin: 1.5rem 0 0; padding: 0; }
.pub-mono-list li { font-family: var(--pub-font-mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--pub-ink-muted); padding: 0.35rem 0 0.35rem 1.1rem; position: relative; break-inside: avoid; }
.pub-mono-list li::before { content: "\203A"; position: absolute; left: 0; color: var(--pub-accent-text); }
@media (min-width: 700px) { .pub-mono-list { columns: 3; } }
@media (min-width: 480px) and (max-width: 620px) { .pub-mono-list { columns: 3; } }
/* Facts card mono rows */
.pub-fact-rows { display: grid; gap: 0; margin: 1.5rem 0 0; padding: 0; }
.pub-fact-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.75rem 0.2rem; border-top: 1px solid var(--pub-hairline); }
.pub-fact-rows > div:first-child { border-top: 0; }
.pub-fact-rows dt { font-family: var(--pub-font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pub-ink-soft); }
.pub-fact-rows dd { margin: 0; font-weight: 700; color: var(--pub-ink); font-size: 1.05rem; text-align: right; }

/* ---------- Methodology contrast section (always inverts the theme) ---------- */
.pub-contrast { background: var(--con-bg); color: var(--con-ink); border-radius: 4rem 4rem 0 0; position: relative; overflow: hidden; }
.pub-contrast::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 20%, rgba(10, 86, 240, 0.08), transparent 60%); }
.pub-contrast > .pub-wrap { position: relative; z-index: 1; }
.pub-contrast h2 { color: var(--con-ink); }
.pub-contrast p { color: var(--con-muted); }
.pub-contrast strong { color: var(--con-strong); }
.pub-contrast a { color: var(--con-link); }
.pub-contrast a:hover { color: var(--con-link-hover); }
.pub-contrast .pub-kicker { color: var(--con-link); }
.pub-contrast .pub-kicker::before { background: var(--con-link); }
.pub-contrast .pub-ghost { -webkit-text-stroke-color: var(--con-ghost); }
.pub-contrast h3 { color: var(--con-ink); }
.pub-ring-steps { list-style: none; counter-reset: ring; margin: 2.25rem 0 0; padding: 0; display: grid; gap: 1.6rem; }
.pub-ring-steps li { counter-increment: ring; display: grid; grid-template-columns: 3.25rem 1fr; gap: 1.1rem; align-items: start; }
.pub-ring-steps li::before { content: "0" counter(ring); counter-increment: none; width: 3.25rem; height: 3.25rem; display: flex; align-items: center; justify-content: center; border: 2px solid var(--con-ring); border-radius: 50%; font-family: var(--pub-font-mono); font-size: 0.82rem; font-weight: 600; color: var(--con-ring); }
.pub-ring-steps h3 { margin: 0.1rem 0 0.2rem; color: var(--con-ink); }
.pub-ring-steps p { margin: 0; font-size: 0.95rem; max-width: 46ch; color: var(--con-muted); }
/* Deep-navy artifact card laid over the contrast section (dark in both themes) */
.pub-artifact { background: var(--pub-navy); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--pub-radius-shell); padding: 1.75rem; color: #eef2f9; box-shadow: var(--pub-shadow-2); }
.pub-artifact .pub-monotag { color: rgba(255, 255, 255, 0.62); }
.pub-artifact .pub-monotag::before { background: var(--pub-accent); }
.pub-artifact .pub-artifact-row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 0.7rem 0.1rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.pub-artifact .pub-artifact-row:first-of-type { border-top: 0; }
.pub-artifact .pub-artifact-row dt { font-family: var(--pub-font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.pub-artifact .pub-artifact-row dd { margin: 0; font-weight: 600; color: #ebebeb; text-align: right; font-size: 0.95rem; }
.pub-artifact .pub-artifact-foot { font-family: var(--pub-font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); margin: 1.25rem 0 0; }

/* ---------- Closing bands (base glass; accent = solid brand blue) ---------- */
.pub-band { position: relative; background: var(--pub-band-bg); border-top: 1px solid var(--pub-hairline); border-bottom: 1px solid var(--pub-hairline); overflow: hidden; }
.pub-band p { color: var(--pub-ink-muted); margin: 1rem 0 0; }
.pub-band .pub-band-phone { display: inline-block; margin: 1.4rem 0 0; font-weight: 700; font-size: clamp(1.4rem, 3.5vw, 2rem); color: var(--pub-band-phone); text-decoration: none; letter-spacing: normal; }
.pub-band .pub-band-phone:hover { text-decoration: underline; }
.pub-band--accent { background: var(--pub-accent); border-color: rgba(255, 255, 255, 0.18); }
.pub-band--accent h2 { color: #ffffff; }
.pub-band--accent p { color: #eaf1ff; }
.pub-band--accent .pub-band-phone { color: #ffffff; }
.pub-band--accent .pub-btn--xl { background: #ffffff; color: var(--pub-ink); box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22); }
.pub-band--accent .pub-btn--inverse { color: #ffffff; }

/* ---------- Footer: deep navy, compact brand + location strip + label bottom ---------- */
.public-footer { background: var(--pub-footer-bg); border-top: 1px solid var(--pub-footer-line); border-radius: 0 0 var(--pub-radius-shell) var(--pub-radius-shell); color: var(--pub-footer-muted); padding: 2.25rem 0 1.25rem; position: relative; overflow: hidden; }
.pub-wm { font-weight: 700; font-size: clamp(2.75rem, 8vw, 6rem); line-height: 1; letter-spacing: normal; color: transparent; -webkit-text-stroke: 1px var(--pub-wm-stroke); white-space: nowrap; text-align: center; user-select: none; pointer-events: none; margin: 0 0 1rem; }
.pub-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.pub-footer-tagline { margin: 0; font-weight: 700; font-size: 1.2rem; color: #ffffff; }
.pub-footer-actions { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.pub-footer-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; position: relative; z-index: 1; }
.pub-footer-main { padding-top: 1.5rem; padding-bottom: 1.5rem; }
@media (min-width: 640px) { .pub-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pub-footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }
.public-footer .footer-title { color: var(--pub-footer-strong) !important; font-family: var(--pub-font-mono); font-size: 0.7rem !important; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; }
.public-footer .footer-logo { height: 52px; width: auto; }
.public-footer .footer-links { list-style: none; margin: 0; padding-left: 0; }
.public-footer .footer-links li { margin-bottom: 0.3rem; }
.public-footer .footer-links a { color: var(--pub-footer-muted) !important; text-decoration: none; font-size: 0.86rem; line-height: 1.45; }
.public-footer .footer-links a:hover { color: var(--pub-footer-strong); text-decoration: underline; }
.public-footer .footer-bottom { color: var(--pub-footer-muted); font-family: var(--pub-font-mono); font-size: 0.7rem !important; letter-spacing: 0.14em; text-transform: uppercase; }
.public-footer .footer-inner { border-bottom: 0; padding-bottom: 2.5rem; }
.public-footer, .public-footer .footer-inner, .public-footer .footer-bottom { border: 0; background: none; }
.public-footer { background: var(--pub-footer-bg); border-top: 1px solid var(--pub-footer-line); }
.public-footer .pub-footer-grid p { color: var(--pub-footer-muted); }
.public-footer .pub-footer-grid strong { color: var(--pub-footer-strong); }
/* Location strip: Operation Hub copy plus the single map on the public site */
.pub-footer-location { display: grid; gap: 1.5rem; margin-top: 1.25rem; align-items: center; }
@media (min-width: 760px) { .pub-footer-location { grid-template-columns: 0.9fr 1.1fr; gap: 2rem; } }
.pub-footer-location-copy { min-width: 0; }
.pub-footer-location-copy .footer-title { margin: 0 0 0.6rem; }
.pub-footer-office-address { margin: 0; color: #ffffff; font-weight: 600; font-size: clamp(0.98rem, 1.35vw, 1.1rem); line-height: 1.45; max-width: 38ch; }
.pub-footer-office-meta { margin: 0.45rem 0 0; color: var(--pub-footer-muted); font-size: 0.9rem; line-height: 1.6; }
.pub-footer-map-link { margin: 0.8rem 0 0; }
.pub-map--footer { height: clamp(180px, 20vw, 260px); border-radius: 1.5rem; border-color: rgba(255, 255, 255, 0.14); background: var(--pub-navy); box-shadow: var(--pub-shadow-2); }
.pub-map--footer iframe { min-height: 0; }
@media (max-width: 620px) { .pub-footer-location { margin-top: 1.1rem; } .pub-footer-actions { gap: 0.5rem; } .pub-footer-actions .pub-btn { min-height: 44px; padding: 0.65rem 1.05rem; font-size: 0.92rem; } }

/* ---------- Forms (themed; the navy shell keeps dark fields in both) ---------- */
body.pub .form-label { color: var(--pub-ink); font-weight: 600; font-size: var(--pub-size-small); }
body.pub .pub-panel--navy .form-label { color: #ffffff; }
body.pub .pub-panel--navy .pub-panel-sub { color: var(--pub-ink-inverse-muted); }
body.pub .pub-panel--navy .pub-form-ruler { color: var(--pub-ink-inverse-muted); }
body.pub .pub-panel--navy .pub-form-ruler li.is-active { color: #ffffff; }
body.pub .form-control, body.pub .form-select, body.pub textarea.form-control { background: var(--pub-input-bg); border: 1px solid var(--pub-input-border); color: var(--pub-input-ink); border-radius: var(--pub-radius-ctrl); min-height: 48px; transition: border-color 160ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 160ms cubic-bezier(0.4, 0, 0.2, 1); }
body.pub .form-control::placeholder, body.pub textarea.form-control::placeholder { color: var(--pub-input-placeholder); }
body.pub .form-control:focus, body.pub .form-select:focus, body.pub textarea.form-control:focus { border-color: var(--pub-accent); box-shadow: 0 0 0 3px var(--pub-focus-ring); outline: none; }
body.pub input.form-control:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--pub-autofill) inset; -webkit-text-fill-color: var(--pub-input-ink); }
body.pub .form-hint { color: var(--pub-ink-soft); }
body.pub .form-error { color: var(--pub-alert-danger-ink); }
body.pub .form-label .required { color: var(--pub-accent-text); }
body.pub .text-muted { color: var(--pub-ink-muted); }
body.pub .alert { background: var(--pub-surface); border: 1px solid var(--pub-line); border-radius: var(--pub-radius-ctrl); color: var(--pub-ink); }
body.pub .alert-primary, body.pub .alert-success { border-left: 4px solid #10b981; }
body.pub .alert-danger { border-left: 4px solid #ef4444; color: var(--pub-alert-danger-ink); }
body.pub .badge { background: var(--pub-surface-2) !important; border: 1px solid var(--pub-line) !important; color: var(--pub-ink) !important; border-radius: 999px !important; font-family: var(--pub-font-mono); font-size: 0.68rem !important; letter-spacing: 0.12em; text-transform: uppercase; }
body.pub .card { background: var(--pub-surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--pub-line); border-radius: var(--pub-radius); }
body.pub .card-body { padding: 2rem 1.6rem; }
body.pub .card-header { background: none; border-bottom: 1px solid var(--pub-line); color: var(--pub-ink); }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: no-preference) {
  .pub-rise { animation: pub-rise 460ms cubic-bezier(0.16, 1, 0.3, 1) backwards; }
  .pub-rise-2 { animation-delay: 80ms; }
  .pub-rise-3 { animation-delay: 160ms; }
  @keyframes pub-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
/* Scroll-reveal: the class is added by pub-motion.js only, so no-JS stays safe */
.pub-io { opacity: 0; transform: translateY(16px); transition: opacity 640ms cubic-bezier(0.16, 1, 0.3, 1), transform 640ms cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.pub-io.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .pub-ticker-track { animation: none; }
  .pub-chip-float { animation: none; }
  .pub-sys-dot { animation: none; }
  .pub-io { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pub-ring-steps li::before, .pub-steps li::before, .pub-steps--inverse li::before { transform: none; }
}

@media (max-width: 640px) {
  .pub-stripfacts { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  :root { --pub-section: 3.25rem; }
  body.pub { padding: 0.25rem; }
  .pub-shell { border-radius: 1.5rem; }
  .pub-nav { border-radius: 1.5rem 1.5rem 0 0; }
  .pub-facts dd { font-size: 1.5rem; }
  .pub-mono-list { columns: 1; }
  .pub-stripfacts { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
}
@media print {
  .pub-nav, .public-footer, .pub-band, .pub-ticker { display: none; }
  body.pub { background: #fff; color: #000; padding: 0; }
  .pub-shell { background: #fff; border: 0; box-shadow: none; border-radius: 0; }
}

/* ==========================================================
   October 2026 · v2 additions — compact nav, sample-light hero
   (orbit rings + appliance SVG + floating fact cards), trust bar,
   compact repair-catalog icon cards. Footer stays deep navy in
   both themes because its logo and ink assets are white.
   ========================================================== */

/* Footer anchor: deep navy in both themes, light links keep AA on it */
.public-footer { background: var(--pub-footer-bg); }
.public-footer a { color: #a9c7ff; }
.public-footer a:hover { color: #ffffff; }
.public-footer .pub-wm { -webkit-text-stroke-color: rgba(255, 255, 255, 0.10); }
.public-footer .footer-bottom { color: rgba(255, 255, 255, 0.62); }
.public-footer .footer-bottom a { color: #a9c7ff; }
/* Footer buttons sit on the navy plate: keep their labels white, not link-blue */
.public-footer .pub-btn--primary { color: #ffffff; }
.public-footer .pub-btn--xl { color: #ffffff; }
.public-footer .pub-btn--xl:hover { color: #0a0a0a; }
.public-footer .pub-btn--quiet { color: #ffffff; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); }
.public-footer .pub-btn--quiet:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.45); }
.pub-footer-location a { color: #ffffff; text-decoration-color: rgba(255, 255, 255, 0.45); }
.pub-footer-location a:hover { color: #a9c7ff; }

/* Theme toggle icon */
.pub-theme-ic { display: inline-flex; align-items: center; justify-content: center; }
.pub-theme-ic svg { width: 17px; height: 17px; }

/* ---------- Compact nav ---------- */
.pub-brand { display: inline-flex; align-items: center; gap: 0.55rem; flex: none; margin-right: 0.5rem; text-decoration: none; color: var(--pub-ink); }
.pub-brand:hover { opacity: 0.88; }
.pub-brand-mark { display: block; width: 38px; height: 38px; flex: none; }
.pub-brand-word { font-family: var(--pub-font-display); font-size: 1.2rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; color: var(--pub-ink); }
.pub-brand-word span { color: var(--pub-accent-text); }
.pub-nav-inner > nav { min-width: 0; }
.header-actions { margin-left: auto; }
@media (min-width: 701px) {
  .pub-nav-inner { min-height: 64px; gap: 1rem; }
  .pub-brand-mark { width: 36px; height: 36px; }
  .pub-brand-word { font-size: 1.1rem; }
  .pub-links { padding: 0.25rem; }
  .pub-links a { font-size: 0.83rem; padding: 0.4rem 0.8rem; }
}
@media (max-width: 700px) {
  .pub-nav-inner > nav { order: 3; width: 100%; }
  .pub-brand { margin-right: auto; }
  .pub-brand-mark { width: 34px; height: 34px; }
  .pub-brand-word { font-size: 1.05rem; }
}
.header-actions .pub-btn { min-height: 40px; padding: 0.6rem 1.05rem; font-size: 0.85rem; }
.header-actions .pub-btn--icon { width: 40px; padding: 0; }
@media (max-width: 1100px) {
  .header-actions .pub-btn--quiet, .header-actions .pub-sys { display: none; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .pub-nav-inner { gap: 0.5rem; }
  .pub-brand { gap: 0.4rem; margin-right: 0; }
  .pub-brand-mark { width: 32px; height: 32px; }
  .pub-brand-word { font-size: 0.98rem; }
  .pub-links { padding: 0.18rem; }
  .pub-links a { font-size: 0.76rem; letter-spacing: normal; padding: 0.34rem 0.52rem; }
  .header-actions .pub-btn { padding: 0.55rem 0.9rem; }
  .header-actions .pub-btn--icon { width: 38px; padding: 0; }
}
@media (min-width: 701px) and (max-width: 780px) {
  .pub-brand-word { display: none; }
}

/* ---------- Hero: approved light-sample layout ---------- */
.pub-hero { padding-bottom: clamp(2.75rem, 6vw, 5.25rem); }
.pub-hero h1 { max-width: 16ch; text-wrap: balance; }
.pub-hero-lede { text-wrap: pretty; }
.pub-hero-accent { color: var(--pub-accent-text); display: inline-block; position: relative; }
/* Flat curved rule under the accent phrase — the one soft edge in the display type */
.pub-hero-accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.14em; height: 0.2em;
  background: var(--pub-accent-text); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2 12C56 3 144 3 198 12' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2 12C56 3 144 3 198 12' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.pub-hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 0 0 1.4rem; }
.pub-hero-actions .pub-btn svg { width: 17px; height: 17px; }
.pub-hero-notes { list-style: none; display: flex; flex-wrap: wrap; gap: 0.55rem 1.4rem; margin: 0; padding: 0; }
.pub-hero-notes > li { display: inline-flex; align-items: center; gap: 0.45rem; font-size: var(--pub-size-small); font-weight: 600; color: var(--pub-ink-muted); }
.pub-hero-notes svg { width: 16px; height: 16px; color: var(--pub-accent); flex: none; }

/* Split hero: copy left, compact appliance plate welded to the top-right of the heading */
.pub-hero-cols { gap: clamp(1.75rem, 4vw, 3.25rem); }
.pub-hero .pub-hero-cols { align-items: start; }
.pub-hero-cols h1 { font-size: clamp(2.55rem, 5.2vw, 4.6rem); }
.pub-hero-cols .pub-hero-lede { max-width: 42ch; margin-bottom: 1.6rem; }
.pub-hero-cols .pub-facts { gap: 1.15rem 1.75rem; margin-top: 1.9rem; }
.pub-hero-cols .pub-facts dd { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
@media (min-width: 760px) {
  .pub-hero-cols { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); }
  .pub-hero-visual { justify-self: end; align-self: start; margin-top: 0.35rem; }
  .pub-hero-cols .pub-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  /* Single-column hero: drop the desktop-only data row so the plate follows the copy */
  .pub-hero-cols .pub-facts { display: none; }
}
@media (min-width: 760px) and (max-width: 1000px) {
  .pub-hero-cols { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 1.5rem; }
  .pub-hero-cols h1 { font-size: clamp(2.35rem, 4.8vw, 3rem); }
  .pub-facts { gap: 0.9rem 1.25rem; }
  .pub-hero-actions { gap: 0.6rem; }
  .pub-hero-actions .pub-btn { padding: 0.7rem 1rem; font-size: 0.9rem; }
}

/* Orbit visual: dashed concentric rings + appliance SVG + float cards */
.pub-hero-visual { position: relative; display: grid; place-items: center; min-height: 0; width: 100%; max-width: 30rem; margin: clamp(2rem, 4vw, 3rem) auto 0; }
.pub-hero-visual::before,
.pub-hero-visual::after {
  content: ""; position: absolute; top: 50%; left: 50%; aspect-ratio: 1; border-radius: 50%;
  width: min(21rem, 90%); border: 1px dashed var(--pub-accent-border);
  translate: -50% -50%; pointer-events: none;
}
.pub-hero-visual::after { width: min(15rem, 66%); }
.pub-hero-illustration { position: relative; z-index: 1; width: 100%; height: auto; }
.pub-hero-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 0.6rem;
  background: var(--pub-shell); border: 1px solid var(--pub-line); border-radius: 1.1rem;
  padding: 0.65rem 0.9rem; box-shadow: var(--pub-shadow-2); min-width: 0; max-width: 13rem;
}
.pub-hero-float-ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 0.65rem; background: var(--pub-surface-2); color: var(--pub-accent-text); }
.pub-hero-float-ic svg { width: 17px; height: 17px; }
.pub-hero-float strong { display: block; font-size: 0.8rem; color: var(--pub-ink); line-height: 1.25; }
.pub-hero-float small { display: block; font-size: 0.7rem; color: var(--pub-ink-soft); line-height: 1.3; }
.pub-hero-float--one { top: -7%; right: 0; }
.pub-hero-float--two { bottom: -5%; left: 0; }
@media (prefers-reduced-motion: no-preference) {
  .pub-hero-visual::before { animation: pub-orbit 52s linear infinite; }
  .pub-hero-visual::after { animation: pub-orbit 68s linear infinite reverse; }
  .pub-hero-float--one { animation: pub-float 6s ease-in-out infinite; }
  .pub-hero-float--two { animation: pub-float 7s ease-in-out infinite; animation-delay: -3.5s; }
}
@keyframes pub-orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (max-width: 700px) {
  .pub-hero-visual { max-width: 26rem; }
  .pub-hero-float { padding: 0.5rem 0.65rem; max-width: 11rem; }
  .pub-hero-float strong { font-size: 0.72rem; }
  .pub-hero-float small { font-size: 0.64rem; }
  .pub-hero-accent::after { height: 0.17em; bottom: -0.1em; }
}
@media (max-width: 560px) {
  /* Phones: keep the appliance plate clean, the notes above already carry the proof */
  .pub-hero-float { display: none; }
}

/* ---------- Trust bar: four flat factual cells ---------- */
.pub-trust { border-top: 1px solid var(--pub-hairline); border-bottom: 1px solid var(--pub-hairline); background: var(--pub-band-bg); }
.pub-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pub-trust-item { display: flex; align-items: center; gap: 0.75rem; padding: 1.15rem 1rem; min-width: 0; }
.pub-trust-item + .pub-trust-item { border-left: 1px solid var(--pub-hairline); }
.pub-trust-item svg { width: 19px; height: 19px; color: var(--pub-accent-text); flex: none; }
.pub-trust-item strong { display: block; font-size: 0.92rem; color: var(--pub-ink); line-height: 1.3; }
.pub-trust-item span { display: block; font-size: 0.76rem; color: var(--pub-ink-soft); line-height: 1.35; }
@media (max-width: 900px) {
  .pub-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .pub-trust-item:nth-child(odd) { border-left: 0; }
  .pub-trust-item:nth-child(n+3) { border-top: 1px solid var(--pub-hairline); }
}
@media (max-width: 480px) {
  .pub-trust-item { padding: 0.8rem 0.65rem; gap: 0.55rem; }
  .pub-trust-item strong { font-size: 0.8rem; }
  .pub-trust-item span { font-size: 0.68rem; }
  .pub-trust-item svg { width: 17px; height: 17px; }
}

/* ---------- Compact repair-catalog icon cards ---------- */
.pub-scards { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); margin: 2.25rem 0 0; }
.pub-scard {
  display: flex; flex-direction: column; gap: 0.55rem; min-width: 0;
  background: var(--pub-surface); border: 1px solid var(--pub-line); border-radius: var(--pub-radius-ctrl);
  padding: 1.25rem 1.2rem 1.15rem;
  transition: border-color 160ms cubic-bezier(0.4, 0, 0.2, 1), transform 160ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 160ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pub-scard:hover { border-color: var(--pub-accent-border); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(10, 86, 240, 0.08); }
.pub-scard-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 0.75rem; background: var(--pub-surface-2); color: var(--pub-accent-text); }
.pub-scard-ic svg { width: 21px; height: 21px; }
.pub-scard h3 { font-size: 1.02rem; margin: 0.35rem 0 0; }
.pub-scard p { margin: 0; font-size: 0.875rem; color: var(--pub-ink-muted); flex: 1; }
.pub-scard-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.7rem; }
.pub-scard-count { font-family: var(--pub-font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pub-ink-soft); }
.pub-scard-link { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; font-weight: 700; color: var(--pub-accent-text); text-decoration: none; white-space: nowrap; }
.pub-scard-link svg { width: 15px; height: 15px; transition: transform 160ms cubic-bezier(0.4, 0, 0.2, 1); }
.pub-scard:hover .pub-scard-link svg { transform: translateX(3px); }
.pub-scard-link:focus-visible { outline: 2px solid var(--pub-accent); outline-offset: 2px; border-radius: 0.5rem; }
@media (min-width: 561px) and (max-width: 900px) { .pub-scards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pub-scards { grid-template-columns: 1fr; } }

/* ==========================================================
   Micro-label pass — one unified technical voice
   Small uppercase labels (kickers, dt rows, ticker, badges, footer
   titles) share JetBrains Mono 600; display, brand and big stats use
   Sora; body copy stays Inter. Codes (.pub-ref) stay mono.
   ========================================================== */
.pub-monotag, .pub-kicker, .pub-crumbs, .pub-deflist dt, .pub-stripfacts dt,
.pub-fact-rows dt, .pub-bento .pub-bento-note, .pub-scard-count, .pub-mono-list li,
.pub-ticker-track span, .pub-phonecard .pub-phonecard-label, .pub-form-ruler li::before,
.pub-rows h3::before, .pub-steps li::before, .pub-ring-steps li::before,
.pub-faq summary::before, .pub-place dt::before, .pub-artifact .pub-artifact-row dt,
.pub-artifact .pub-artifact-foot, body.pub .badge,
.public-footer .footer-title, .public-footer .footer-bottom {
  font-family: var(--pub-label-font);
  font-weight: 600;
}
.pub-monotag, .pub-kicker, .pub-crumbs, .pub-deflist dt, .pub-stripfacts dt,
.pub-fact-rows dt, .pub-bento .pub-bento-note, .pub-scard-count,
.pub-phonecard .pub-phonecard-label, .pub-artifact .pub-artifact-row dt,
.pub-artifact .pub-artifact-foot, .public-footer .footer-title {
  letter-spacing: 0.13em;
}

/* Sora (display) on high-impact brand elements */
.pub-brand-word, .pub-facts dd, .pub-stripfacts dd, .pub-fact-rows dd,
.pub-ghost, .pub-wm, .pub-phonecard .pub-phonecard-number {
  font-family: var(--pub-font-display);
}
.pub-facts dd, .pub-stripfacts dd, .pub-fact-rows dd { font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pub-footer-tagline, .pub-hero-accent, .pub-tagline {
  font-family: var(--pub-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pub-hero-accent {
  color: var(--pub-accent);
  background: linear-gradient(135deg, #0a56f0 0%, #0284c7 60%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.pub-footer-tagline { font-size: 1.4rem; line-height: 1.4; color: #ffffff; }
.pub-tagline { display: inline-block; font-size: 1.15rem; color: var(--pub-ink); font-weight: 600; }

/* Soft elevation instead of glow — flat colour plus one gentle shadow */
.pub-panel, body.pub .card { box-shadow: var(--pub-shadow-1); }
.pub-bento > * { box-shadow: var(--pub-shadow-1); }
.pub-bento > *:hover { box-shadow: var(--pub-shadow-2); transform: translateY(-3px); }
.pub-scard { box-shadow: var(--pub-shadow-1); }

/* Booking reference plate: mono code, but rounded like everything else */
.pub-ref { border-radius: var(--pub-radius-ctrl); font-weight: 600; }

/* ---------- Design polish: calmer line breaks, optical type detail ---------- */
.pub-section h2,
.pub-contrast h2,
.pub-band h2,
.pub-scard h3,
.pub-bento h3 { text-wrap: balance; }
.pub-row-lede,
.pub-coverage-cols p,
.pub-artifact dd { text-wrap: pretty; }

/* ============================================================
   3D depth pass — creative lift, layout unchanged
   Sora display gets an extruded edge, the hero plate stands in
   perspective (straightens on hover), cards tilt up and buttons
   gain a tactile hard edge. All motion honours reduced-motion.
   ============================================================ */

/* Display type: stepped extrusion + one soft ambient shadow (em-based, scales) */
.pub-hero h1 {
  text-shadow:
    0 0.03em 0 rgba(15, 23, 42, 0.16),
    0 0.065em 0 rgba(15, 23, 42, 0.11),
    0 0.1em 0 rgba(15, 23, 42, 0.07),
    0 0.13em 0.22em rgba(15, 23, 42, 0.16);
}
.pub-hero-cols .pub-facts dd {
  text-shadow: 0 0.04em 0 rgba(15, 23, 42, 0.12), 0 0.1em 0.18em rgba(15, 23, 42, 0.14);
}
/* Gradient-clipped accent word must stay clean — its depth lives in a darker curve below */
.pub-hero-accent { text-shadow: none; }
.pub-hero-accent::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.2em; height: 0.2em;
  background: #083596; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2 12C56 3 144 3 198 12' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2 12C56 3 144 3 198 12' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* Hero plate — kept flat and smooth (3D tilt removed per direction).
   The scroll-reveal translateY stays the only motion on this element. */
@media (max-width: 700px) {
  .pub-hero-accent::before { height: 0.17em; bottom: -0.17em; }
}

/* Cards: gentle vertical lift on hover — smooth motion, no 3D tilt */
.pub-scard:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px rgba(10, 86, 240, 0.12);
}
.pub-bento > *:hover {
  transform: translateY(-5px);
  box-shadow: var(--pub-shadow-2);
}
.pub-scard-ic { transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.pub-scard:hover .pub-scard-ic { transform: scale(1.08); }

/* Buttons: tactile hard edge that compresses on press */
.pub-btn--primary { box-shadow: 0 4px 0 var(--pub-accent-hover), 0 14px 26px rgba(10, 86, 240, 0.22); }
.pub-btn--primary:hover { box-shadow: 0 6px 0 var(--pub-accent-hover), 0 18px 32px rgba(10, 86, 240, 0.3); }
.pub-btn--primary:active { transform: translateY(4px); box-shadow: 0 0 0 var(--pub-accent-hover), 0 5px 10px rgba(10, 86, 240, 0.2); }
.pub-btn--quiet { box-shadow: 0 3px 0 rgba(15, 23, 42, 0.12); }
.pub-btn--quiet:hover { box-shadow: 0 5px 0 rgba(15, 23, 42, 0.15), 0 14px 24px rgba(15, 23, 42, 0.08); }
.pub-btn--quiet:active { transform: translateY(3px); box-shadow: 0 0 0 rgba(15, 23, 42, 0.12); }
.pub-btn--xl { box-shadow: 0 6px 0 var(--pub-accent-hover), 0 18px 34px rgba(10, 86, 240, 0.26); }
.pub-btn--xl:hover { box-shadow: 0 8px 0 var(--pub-accent-hover), 0 24px 40px rgba(10, 86, 240, 0.32); }
.pub-btn--xl:active { transform: translateY(5px); box-shadow: 0 0 0 var(--pub-accent-hover), 0 8px 16px rgba(10, 86, 240, 0.24); }

/* ============================================================
   Mixed hero voice — Sora headline, handwritten accent word
   "Bankura" carries the Pacifico script (the brand's hand-signed
   moment); everything else stays in the approved type set.
   ============================================================ */
.pub-hero h1 {
  font-family: var(--pub-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(2.4rem, 4.9vw, 4.2rem);
  max-width: 17ch;
  text-shadow:
    0 0.03em 0 rgba(15, 23, 42, 0.16),
    0 0.065em 0 rgba(15, 23, 42, 0.11),
    0 0.1em 0 rgba(15, 23, 42, 0.07),
    0 0.13em 0.22em rgba(15, 23, 42, 0.16);
}
/* Handwritten accent word — gradient stays clean, flourish keeps its depth */
.pub-hero-accent {
  font-family: var(--pub-font-script);
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: normal;
  padding-right: 0.06em;
}

/* ============================================================
   Coverage ledger — fill the 2-row card with real ledger rows
   The x2 card stretches to the side column's height (639px at
   1280), so the town list drops to 2 columns of numbered rows
   with hairline rules (~408px of content) and the pin note is
   anchored to the card's bottom edge instead of floating in
   empty space.
   ============================================================ */
.pub-bento--x2 { display: flex; flex-direction: column; }
.pub-bento--x2 .pub-mono-list {
  columns: 2;
  column-gap: 2.4rem;
  counter-reset: town;
}
.pub-bento--x2 .pub-mono-list li {
  counter-increment: town;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--pub-hairline);
}
.pub-bento--x2 .pub-mono-list li::before {
  content: counter(town, decimal-leading-zero);
  position: static;
  display: inline-block;
  min-width: 1.9em;
  margin-right: 0.6rem;
  font-size: 0.7rem;
  color: var(--pub-accent-text);
  opacity: 0.85;
}
.pub-bento--x2 .pub-bento-note { margin-top: auto; padding-top: 1.35rem; }
@media (max-width: 560px) {
  .pub-bento--x2 .pub-mono-list { columns: 1; }
}

/* ============================================================
   Operating facts — closed data table with unit hierarchy
   Bottom hairline seals the ledger, values get a size bump and
   their units drop to a smaller soft caption (matching the hero
   stat cells: big number, quiet unit).
   ============================================================ */
.pub-fact-rows > div:last-child { border-bottom: 1px solid var(--pub-hairline); }
.pub-fact-rows dd { font-size: 1.08rem; }
.pub-fact-rows dd small {
  display: inline-block;
  font-size: 0.68em;
  font-weight: 600;
  color: var(--pub-ink-soft);
  margin-left: 0.3em;
  letter-spacing: normal;
  text-transform: none;
}

/* ============================================================
   Hero claim badge — "Bankura ka #1"
   ============================================================ */
.pub-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: rgba(10, 86, 240, 0.08);
  border: 1px solid var(--pub-accent-border);
  color: var(--pub-accent-text);
  font-family: var(--pub-font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.pub-hero-badge svg { flex: none; color: var(--pub-accent); }

/* ---------- Hero rank pill + proof counters (Oct 27) ---------- */
.pub-hero-rank {
  display: inline-flex; align-items: center; gap: 0.45rem; flex-wrap: wrap;
  margin: 0 0 0.9rem; padding: 0.35rem 0.8rem 0.35rem 0.4rem;
  border: 1px solid var(--pub-accent-border); border-radius: 999px;
  background: var(--pub-surface-2); font-size: 0.78rem; font-weight: 600; color: var(--pub-ink);
  box-shadow: 0 2px 8px rgba(10, 86, 240, 0.08);
}
.pub-hero-rank strong { font-weight: 800; }
.pub-hero-rank-star {
  display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%;
  background: var(--pub-accent); color: #fff; font-size: 0.62rem; line-height: 1;
}
.pub-hero-rank-score {
  padding-left: 0.5rem; border-left: 1px solid var(--pub-accent-border);
  font-family: var(--pub-font-code); font-size: 0.68rem; letter-spacing: 0.04em;
  color: var(--pub-accent-text);
}
.pub-hero-rank-tag {
  padding: 0.12rem 0.5rem; border-radius: 999px; background: rgba(10, 86, 240, 0.1);
  color: var(--pub-accent); font-size: 0.64rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; margin-left: 0.2rem;
}
.pub-hero-proof {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.1rem; margin: 1.4rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--pub-line);
}
.pub-hero-proof li { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.pub-hero-proof strong {
  font-family: var(--pub-font-display); font-size: 1.25rem; font-weight: 700;
  line-height: 1.15; color: var(--pub-ink); letter-spacing: -0.02em;
}
.pub-hero-proof span {
  font-family: var(--pub-font-code); font-size: 0.63rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--pub-ink-soft);
}
@media (min-width: 540px) { .pub-hero-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .pub-hero-proof { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 440px) {
  .pub-hero-rank { font-size: 0.72rem; }
  .pub-hero-rank-score { display: none; }
  .pub-hero-rank-tag { display: none; }
}
