/* ==========================================================
   Toplisted Group — v2 stylesheet
   Layout, type and motion modelled on the Ohio "Demo 10" theme:
   Manrope throughout, oversized tight headlines, airy white layout,
   pill buttons with arrow discs, split-text + image-curtain reveals,
   custom cursor, magnetic buttons, hover-image lists, light/dark mode.
   Brand colours from the Toplisted Group logo (navy / teal / gold).
   ========================================================== */

:root {
  --navy: #0c2233;
  --navy-deep: #071722;
  --teal: #07806b;
  --teal-dark: #05614f;
  --gold: #d9940a;
  --gold-dark: #b77a04;

  --bg: #ffffff;
  --bg-alt: #f4f6f6;
  --surface: #ffffff;
  --ink: #0c2233;
  --text: #3b4a54;
  --muted: #74838c;
  --line: rgba(12, 34, 51, .1);
  --line-strong: rgba(12, 34, 51, .22);
  --teal-tint: #e4f2ee;
  --gold-tint: #fbf1dc;

  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  --radius-l: 24px;
  --wrap: 1320px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --header-h: 92px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #071722;
  --bg-alt: #0c2030;
  --surface: #0f2536;
  --ink: #f1f5f7;
  --text: #c2cfd6;
  --muted: #8b9ea9;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .24);
  --teal-tint: rgba(7, 128, 107, .2);
  --gold-tint: rgba(217, 148, 10, .16);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; font-weight: 500;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
  transition: background .5s, color .5s;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .3s; }
a:hover { color: var(--teal); }
h1, h2, h3, h4, h5 { font-family: var(--font); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 6.6vw, 6.2rem); line-height: 1; letter-spacing: -.05em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); letter-spacing: -.045em; }
h3 { font-size: 1.35rem; letter-spacing: -.02em; }
h4 { font-size: 1.08rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
b, strong { color: var(--ink); font-weight: 700; }
ul { padding-left: 1.1em; }
::selection { background: var(--gold); color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 20px; height: 20px; flex: none; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 48px, 860px); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 150px) 0; }
.section-paper { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #b9c8d1; --ink: #fff; --muted: #8fa3af; --line: rgba(255,255,255,.12); --surface: #112b3e; }
.section-navy h2, .section-navy h3 { color: #fff; }

/* Ohio-style subtitle: small text with a leading dot */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; letter-spacing: 0; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-tint); }
.section-head { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; margin-bottom: 64px; }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { max-width: 440px; color: var(--muted); margin: 0; }

/* ---------- Buttons (pill + arrow disc) ---------- */
.btn {
  --bg-b: var(--navy); --fg: #fff; --disc: rgba(255,255,255,.14);
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 8px 8px 8px 26px; min-height: 56px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg-b); color: var(--fg); font: 600 1rem/1 var(--font); letter-spacing: -.01em;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s, transform .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal); border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover { color: #fff; }
.btn:hover::before { transform: translateY(0); }
.btn .icon { width: 40px; height: 40px; padding: 11px; border-radius: 50%; background: var(--disc); transition: transform .6s var(--ease); }
.btn:hover .icon { transform: rotate(-45deg); }
.btn:not(:has(.icon)) { padding-right: 26px; }
.btn-gold { --bg-b: var(--gold); --fg: var(--navy-deep); --disc: rgba(7,23,34,.12); }
.btn-gold::before { background: var(--navy); }
.btn-navy { --bg-b: var(--navy); }
[data-theme="dark"] .btn-navy, [data-theme="dark"] .btn:not(.btn-gold):not(.btn-ghost):not(.btn-light) { --bg-b: var(--teal); }
[data-theme="dark"] .btn:not(.btn-gold)::before { background: var(--gold); }
[data-theme="dark"] .btn:not(.btn-gold):hover { color: var(--navy-deep); }
.btn-ghost { --bg-b: transparent; --fg: var(--ink); --disc: var(--bg-alt); border-color: var(--line-strong); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--bg); }
.btn-light { --bg-b: transparent; --fg: #fff; border-color: rgba(255,255,255,.35); }
.btn-light::before { background: #fff; }
.btn-light:hover { color: var(--navy); }
.btn-sm { min-height: 46px; padding-left: 20px; font-size: .94rem; }
.btn-sm .icon { width: 32px; height: 32px; padding: 8px; }
.btn-block { width: 100%; }

.link-line { position: relative; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 500; background: var(--navy-deep); display: grid; place-items: center; transition: transform 1s var(--ease-io) .1s; }
.preloader img { width: 74px; animation: preloadPulse 1.2s ease-in-out infinite; }
.preloader-bar { position: absolute; left: 50%; bottom: 18%; width: 160px; height: 2px; margin-left: -80px; background: rgba(255,255,255,.12); overflow: hidden; border-radius: 2px; }
.preloader-bar i { position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); animation: preloadBar 1.1s var(--ease-io) forwards; }
.preloader.done { transform: translateY(-100%); }
@keyframes preloadPulse { 50% { transform: scale(.9); opacity: .7; } }
@keyframes preloadBar { to { transform: translateX(0); } }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; display: none; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--gold); }
.cursor-ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; font: 700 .72rem var(--font); color: var(--navy-deep); transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s; }
.cursor-ring.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--gold); }
.cursor-ring.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--gold); border-color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .has-cursor .cursor { display: block; } }

/* ---------- Fixed side rails (Ohio signature) ---------- */
.side-rail { position: fixed; top: 50%; z-index: 80; display: none; align-items: center; gap: 18px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.side-rail.left { left: 30px; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); }
.side-rail a { color: var(--muted); }
.side-rail a:hover { color: var(--gold); }
.side-rail .rail-line { width: 40px; height: 1px; background: var(--line-strong); }
.to-top { position: fixed; right: 30px; bottom: 40px; z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 14px; background: none; border: 0; color: var(--muted); font: 600 .85rem var(--font); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .4s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top span { writing-mode: vertical-rl; transform: rotate(180deg); }
.to-top .track { width: 2px; height: 70px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.to-top .track i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--gold); }
.to-top:hover { color: var(--gold); }
@media (min-width: 1560px) { .side-rail { display: flex; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); transition: transform .5s var(--ease), box-shadow .4s, background .5s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; border-radius: 10px; }
.brand img { height: 56px; width: auto; transition: height .4s var(--ease); }
[data-theme="dark"] .brand, [data-theme="dark"] .footer-logo { background: #fff; padding: 4px 10px; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; padding: 10px 12px; white-space: nowrap; color: var(--ink); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; overflow: hidden; }
.main-nav a span { display: block; transition: transform .5s var(--ease); }
.main-nav a span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--teal); }
.main-nav a:hover span { transform: translateY(-100%); }
.main-nav a[aria-current="page"] { color: var(--teal); }
.main-nav a[aria-current="page"]::before { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: border-color .3s, background .3s, color .3s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn .icon { width: 19px; height: 19px; }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }
.nav-toggle { display: none; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(40px, 6vw, 90px) 0 0; position: relative; }
.hero-top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.hero h1 { max-width: 12ch; margin: 0; font-size: clamp(3rem, 8vw, 7.6rem); }
.hero-side { max-width: 330px; padding-bottom: 14px; }
.hero-side p { color: var(--muted); margin-bottom: 26px; }
.reel { display: inline-flex; align-items: center; gap: 16px; font-weight: 700; color: var(--ink); }
.reel-disc { width: 66px; height: 66px; border-radius: 50%; position: relative; display: grid; place-items: center; background: var(--gold); color: var(--navy-deep); }
.reel-disc::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px dashed var(--gold); animation: spin 14s linear infinite; }
.reel-disc .icon { width: 22px; height: 22px; }
.hero-search { margin-top: 56px; }
.search-panel { background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px; display: grid; grid-template-columns: 1.3fr 1.1fr 1fr auto; gap: 4px; box-shadow: 0 30px 60px -40px rgba(12,34,51,.45); }
.search-field { display: flex; align-items: center; gap: 12px; padding: 6px 20px; border-radius: 999px; transition: background .3s; }
.search-field:focus-within { background: var(--bg-alt); }
.search-field + .search-field { border-left: 1px solid var(--line); }
.search-field > .icon { color: var(--teal); }
.search-field label { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); }
.search-field input, .search-field select { width: 100%; border: 0; background: transparent; font: 600 1rem var(--font); color: var(--ink); padding: 2px 0; outline: none; appearance: none; }
.search-field select option { color: #0c2233; }
.popular { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; font-size: .95rem; color: var(--muted); }
.popular a { color: var(--ink); border: 1.5px solid var(--line); padding: 6px 16px; border-radius: 999px; font-weight: 600; transition: background .3s, border-color .3s, color .3s; }
.popular a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.hero-media { margin-top: clamp(50px, 6vw, 90px); border-radius: var(--radius-l); overflow: hidden; position: relative; aspect-ratio: 21 / 9; background: var(--navy); }
.hero-media img { width: 100%; height: 120%; object-fit: cover; position: absolute; top: -10%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,23,34,.55)); }
.hero-badge { position: absolute; z-index: 2; right: 28px; bottom: 28px; width: 150px; height: 150px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; }
.hero-badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero-badge text { font: 700 11.5px var(--font); letter-spacing: 2.4px; fill: var(--navy-deep); }
.hero-badge img { width: 58px; height: 58px; border-radius: 50%; background: #fff; object-fit: contain; padding: 5px; position: relative; }
.hero-stats { position: absolute; z-index: 2; left: 28px; bottom: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats span { background: rgba(255,255,255,.92); color: var(--navy); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: .92rem; backdrop-filter: blur(6px); }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(50px, 7vw, 110px) 0 clamp(40px, 5vw, 70px); position: relative; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.8rem); max-width: 16ch; margin-bottom: .35em; }
.page-hero p { max-width: 58ch; margin: 0; font-size: 1.12rem; color: var(--muted); }
.page-hero .post-meta { color: var(--muted); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 28px; font-size: .92rem; font-weight: 600; }
.breadcrumb li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin: 0 10px 2px 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb [aria-current] { color: var(--ink); }
.page-hero.has-image { color: #c9d6dd; border: 0; background-size: cover; background-position: center; }
.page-hero.has-image h1 { color: #fff; }
.page-hero.has-image p, .page-hero.has-image .breadcrumb a { color: #b6c6cf; }
.page-hero.has-image .breadcrumb [aria-current] { color: #fff; }

/* ---------- Split text reveal ---------- */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.is-split.is-visible .split-line > span, .is-split.play .split-line > span { transform: none; }

/* ---------- Generic reveals ---------- */
[data-reveal] { opacity: 0; transform: translateY(50px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal="fade"] { transform: none; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="image"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--radius-l)); transition: clip-path 1.4s var(--ease-io); }
[data-reveal="image"] img { transform: scale(1.25); transition: transform 1.8s var(--ease); }
[data-reveal="image"].is-visible { clip-path: inset(0 0 0 0 round var(--radius-l)); }
[data-reveal="image"].is-visible img { transform: none; }

/* ---------- Hover-image list (Ohio services rows) ---------- */
.hover-list { border-top: 1px solid var(--line); }
.hover-row { display: grid; grid-template-columns: 1.2fr 1fr 60px; gap: 30px; align-items: center; padding: 38px 0; border-bottom: 1px solid var(--line); color: var(--ink); position: relative; }
.hover-row h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); margin: 0; letter-spacing: -.045em; transition: transform .6s var(--ease), color .4s; }

.hover-row p { margin: 0; color: var(--muted); font-size: 1rem; }
.hover-row .arrow { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .6s var(--ease); }
.hover-row .arrow .icon { transition: transform .6s var(--ease); }
.hover-row::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.hover-row:hover { color: var(--ink); }
.hover-row:hover::before { transform: scaleX(1); }
.hover-row:hover h3 { transform: translateX(18px); color: var(--teal); }
.hover-row:hover .arrow { background: var(--gold); border-color: var(--gold); }
.hover-row:hover .arrow .icon { transform: rotate(-45deg); color: var(--navy-deep); }
.hover-img { position: fixed; left: 0; top: 0; z-index: 60; width: 300px; height: 220px; border-radius: var(--radius); overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.7); transition: opacity .4s, transform .5s var(--ease); }
.hover-img.show { opacity: 1; transform: scale(1); }
.hover-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Capabilities (sticky split) ---------- */
.sticky-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.sticky-split > :first-child { position: sticky; top: calc(var(--header-h) + 40px); }
.cap-item { padding: 34px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 60px 1fr; gap: 22px; }
.cap-item:last-child { border-bottom: 1px solid var(--line); }
.cap-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal); }
.cap-item h3 { margin-bottom: 8px; }
.cap-item p { margin: 0; color: var(--muted); }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.cat-tile { position: relative; display: block; align-self: start; width: 100%; color: var(--ink); }
.cat-tile .ct-img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.cat-tile:hover img { transform: scale(1.08); }
.cat-tile-body { padding: 16px 2px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cat-tile h3 { font-size: 1.15rem; margin: 0; }
.cat-tile span { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: all .5s var(--ease); }
.cat-tile span .icon { width: 17px; height: 17px; }
.cat-tile:hover span { background: var(--gold); border-color: var(--gold); transform: rotate(-45deg); color: var(--navy-deep); }
.cat-tile .sr-label { position: absolute; }

.cat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 40px; }
.cat-chip { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; transition: color .3s, padding .5s var(--ease); }
.cat-chip img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.cat-chip:hover { padding-left: 10px; color: var(--teal); }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 50px; padding: 6px; border: 1.5px solid var(--line); border-radius: 999px; width: fit-content; }
.tab-btn { border: 0; background: transparent; padding: 12px 22px; border-radius: 999px; font: 600 .98rem var(--font); color: var(--muted); cursor: pointer; transition: all .4s var(--ease); }
.tab-btn[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp .8s var(--ease); }

/* ---------- Listing cards (Ohio project cards) ---------- */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 50px 30px; }
.listing-card { display: flex; flex-direction: column; color: var(--ink); }
.listing-logo { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius-l); background: var(--bg-alt); padding: 40px; overflow: hidden; }
[data-theme="dark"] .listing-logo { background: #e9eef0; }
.listing-logo img { max-height: 120px; width: auto; object-fit: contain; transition: transform 1s var(--ease); }
.listing-card:hover .listing-logo img { transform: scale(1.08); }
.listing-logo::after { content: "View"; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; font-weight: 700; transform: scale(0); transition: transform .6s var(--ease); }
.listing-card:hover .listing-logo::after { transform: scale(1); }
.has-cursor .listing-logo::after { display: none; }
.listing-flag { position: absolute; top: 18px; left: 18px; z-index: 2; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.listing-flag .icon { width: 13px; height: 13px; color: var(--gold); }
.listing-body { padding: 22px 4px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.listing-cat { align-self: start; font-size: .86rem; font-weight: 700; color: var(--muted); }
.listing-cat:hover { color: var(--teal); }
.listing-body h3 { font-size: 1.45rem; margin: 0; letter-spacing: -.035em; }
.listing-body h3 a:hover { color: var(--teal); }
.listing-body p { font-size: .98rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-meta { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; font-size: .94rem; color: var(--muted); }
.listing-meta span { display: inline-flex; align-items: center; gap: 6px; }
.listing-meta .icon { width: 16px; height: 16px; color: var(--gold-dark); }
.read-more { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.read-more .icon { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.read-more:hover .icon { transform: translateX(5px); }
.listing-grid.as-list { grid-template-columns: 1fr; gap: 30px; }
.listing-grid.as-list .listing-card { flex-direction: row; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.listing-grid.as-list .listing-logo { width: 280px; flex: none; }
.listing-card.is-hidden { display: none; }

/* ---------- Award-style table rows ---------- */
.award-rows { border-top: 1px solid var(--line); }
.award-row { display: grid; grid-template-columns: 220px 1fr auto; gap: 30px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); transition: background .5s, padding .6s var(--ease); }
.award-row:hover { background: var(--bg-alt); padding-inline: 24px; }
.award-row strong { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -.05em; color: var(--ink); line-height: 1; }
.award-row h3 { margin: 0; font-size: 1.25rem; }
.award-row span { color: var(--muted); font-weight: 600; }

/* ---------- Logo wall ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-wall a { aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.logo-wall a::before { content: ""; position: absolute; inset: 0; background: var(--bg-alt); transform: translateY(101%); transition: transform .6s var(--ease); }
.logo-wall a:hover::before { transform: none; }
.logo-wall img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; position: relative; transition: filter .5s, opacity .5s, transform .6s var(--ease); }
[data-theme="dark"] .logo-wall img { background: #fff; padding: 6px; border-radius: 6px; }
.logo-wall a:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------- Marquee ---------- */
.ticker { overflow: hidden; white-space: nowrap; padding: 34px 0; border-block: 1px solid var(--line); }
.ticker-track { display: inline-flex; animation: marquee 50s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 600; letter-spacing: -.05em; color: var(--ink); }
.ticker-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.ticker-track span::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { padding: 40px 34px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); transition: transform .6s var(--ease), border-color .4s; }
.step:hover { transform: translateY(-8px); border-color: var(--gold); }
.step-num { font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 50px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- CTA (Ohio "Got a project?") ---------- */
.cta-band { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: end; padding: clamp(50px, 7vw, 100px) 0; border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(2.4rem, 5.4vw, 5rem); margin: 0; max-width: 15ch; }
.cta-band p { color: var(--muted); margin-bottom: 26px; }
.cta-band ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.cta-band li { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 600; }
.cta-band li .icon { color: var(--teal); width: 18px; height: 18px; }
.cta-circle { width: clamp(150px, 15vw, 190px); height: clamp(150px, 15vw, 190px); border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; text-align: center; font-weight: 700; line-height: 1.2; padding: 24px; transition: transform .6s var(--ease), background .4s; }
.cta-circle:hover { background: var(--navy); color: #fff; }
.cta-circle .icon { width: 28px; height: 28px; margin: 0 auto 8px; transition: transform .6s var(--ease); }
.cta-circle:hover .icon { transform: rotate(-45deg); }

/* ---------- RSS feed ---------- */
.feed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
.feed-card { display: flex; flex-direction: column; color: var(--ink); }
.feed-card:hover { color: var(--ink); }
.feed-img { aspect-ratio: 16 / 10; border-radius: var(--radius-l); background: var(--bg-alt); overflow: hidden; }
.feed-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feed-card:hover .feed-img img { transform: scale(1.07); }
.feed-body { padding: 20px 2px 0; display: flex; flex-direction: column; gap: 8px; }
.feed-body time { font-size: .88rem; color: var(--muted); font-weight: 600; }
.feed-body h3 { font-size: 1.25rem; margin: 0; transition: color .3s; }
.feed-card:hover h3 { color: var(--teal); }
.feed-body p { font-size: .96rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed-status { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); font-weight: 600; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #2fbf80; box-shadow: 0 0 0 0 rgba(47,191,128,.6); animation: pulse 1.8s infinite; flex: none; }
.feed-skeleton { border-radius: var(--radius-l); background: linear-gradient(90deg, var(--bg-alt) 25%, var(--line) 50%, var(--bg-alt) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; height: 340px; }
.feed-error { grid-column: 1 / -1; padding: 40px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-l); text-align: center; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-photo { border-radius: var(--radius-l); overflow: hidden; position: relative; aspect-ratio: 4 / 4.6; margin: 0; }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; }
.faq-photo figcaption { position: absolute; left: 22px; bottom: 22px; right: 22px; background: var(--surface); border-radius: 999px; padding: 14px 22px; color: var(--ink); font-weight: 700; display: flex; gap: 12px; align-items: center; }
.faq-photo figcaption .icon { color: var(--teal); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 28px 60px 28px 0; position: relative; font-size: 1.25rem; font-weight: 600; letter-spacing: -.025em; color: var(--ink); transition: color .3s; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before, .accordion summary::after { content: ""; position: absolute; right: 14px; top: 50%; width: 18px; height: 2px; background: currentColor; transition: transform .6s var(--ease); }
.accordion summary::after { transform: rotate(90deg); }
.accordion details[open] summary::after { transform: rotate(0); }
.accordion summary:hover { color: var(--teal); }
.accordion .answer { padding: 0 60px 28px 0; color: var(--muted); animation: fadeUp .7s var(--ease); }

/* ---------- Testimonials slider + counters ---------- */
.testi-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.testi-slider { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform .9s var(--ease); }
.quote { flex: 0 0 100%; margin: 0; }
.quote .q-label { font-weight: 700; color: var(--ink); margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }
.quote .stars { color: var(--gold); display: flex; gap: 2px; }
.quote .stars .icon { width: 16px; height: 16px; }
.quote blockquote { margin: 0 0 30px; font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.3; letter-spacing: -.035em; color: var(--ink); font-weight: 500; }
.quote footer { display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--ink); }
.quote footer small { display: block; color: var(--muted); font-weight: 600; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-weight: 700; flex: none; }
.testi-nav { display: flex; gap: 10px; margin-top: 34px; }
.testi-nav .icon-btn:first-child .icon { transform: rotate(180deg); }
.counters { display: grid; gap: 40px; }
.counter strong { display: block; font-size: clamp(4rem, 8vw, 7rem); line-height: .9; font-weight: 600; letter-spacing: -.06em; color: var(--ink); }
.counter span { color: var(--muted); font-weight: 600; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); color: var(--muted); font-size: .98rem; padding-top: clamp(70px, 8vw, 120px); }
.footer-cta { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding-bottom: 70px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.footer-cta h2 { font-size: clamp(2.6rem, 7vw, 6.4rem); margin: 0; max-width: 12ch; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 50px; padding: 70px 0 60px; }
.footer-logo { display: inline-block; margin-bottom: 22px; border-radius: 10px; }
.footer-logo img { height: 54px; width: auto; }
.site-footer h4 { color: var(--ink); font-size: 1.1rem; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--teal); }
.socials { display: flex; gap: 6px; margin-top: 20px; font-weight: 700; color: var(--ink); }
.socials a { font-weight: 700; color: var(--ink); }
.socials a + a::before { content: "/"; margin: 0 8px; color: var(--muted); font-weight: 500; }
.newsletter { display: flex; gap: 6px; margin-top: 16px; border-bottom: 1.5px solid var(--line-strong); padding-bottom: 6px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ink); padding: 10px 0; font: 600 1rem var(--font); outline: none; }
.newsletter input::placeholder { color: var(--muted); }
.newsletter button { background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; }
.newsletter button:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line); padding: 26px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .92rem; }
.footer-bottom nav { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom nav a + a::before { content: "|"; margin-right: 14px; color: var(--line-strong); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--muted); margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1.5px solid var(--line-strong); border-radius: 0; padding: 12px 0; font: 600 1.05rem var(--font); color: var(--ink); background: transparent; transition: border-color .3s; }
.field select option { color: #0c2233; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #c2412d; }
.field .error-msg { color: #c2412d; font-size: .86rem; margin: 6px 0 0; display: none; }
.field.has-error .error-msg { display: block; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-success { display: none; padding: 14px 18px; border-radius: 999px; background: var(--teal-tint); color: var(--teal); font-weight: 700; margin: 16px 0 0; }
.form-success.show { display: flex; gap: 10px; align-items: center; animation: fadeUp .6s var(--ease); }

/* ---------- Sidebar layouts ---------- */
.with-sidebar { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: start; }
.with-sidebar.right { grid-template-columns: 1fr 340px; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; }
.panel h3 { font-size: 1.15rem; margin-bottom: 18px; }
.filter-list { list-style: none; padding: 0; margin: 0; display: grid; max-height: 380px; overflow: auto; }
.filter-list a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: .96rem; font-weight: 600; transition: color .3s, padding .4s var(--ease); }
.filter-list a:hover, .filter-list a.active { color: var(--teal); padding-left: 8px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.toolbar p { margin: 0; color: var(--muted); font-weight: 600; }
.view-toggle { display: flex; gap: 6px; }
.view-toggle button { border: 1.5px solid var(--line); background: transparent; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.empty-state { text-align: center; padding: 70px 20px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-l); }

/* ---------- Shared listing bits ---------- */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip-list li { display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; color: var(--ink); transition: border-color .3s, background .3s; }
.chip-list li:hover { border-color: var(--teal); background: var(--teal-tint); }
.chip-list .icon { width: 17px; height: 17px; color: var(--teal); }
.feature-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal); flex: none; transition: background .4s, color .4s; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 700; border: 1.5px solid var(--line); color: var(--ink); }
.tag .icon { width: 15px; height: 15px; }
.tag-gold { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.tag-teal { background: var(--teal); border-color: var(--teal); color: #fff; }
.stars { color: var(--gold); display: inline-flex; gap: 2px; }
.stars .icon { width: 16px; height: 16px; }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--radius-l); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 450; background: rgba(7,23,34,.95); display: grid; place-items: center; padding: 50px; opacity: 0; pointer-events: none; transition: opacity .5s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 84vh; border-radius: var(--radius); transform: scale(.92); transition: transform .8s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .3s; }
.lightbox button:hover { background: var(--gold); color: var(--navy-deep); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; } .lb-prev .icon { transform: rotate(180deg); }
.lb-next { right: 24px; top: 50%; }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 56px 1fr 44px; gap: 14px; align-items: center; font-size: .92rem; font-weight: 600; }
.bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 6px; transition: width 1.8s var(--ease); }
.review { padding: 30px 0; border-bottom: 1px solid var(--line); }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.review-top .who { display: flex; gap: 14px; align-items: center; font-weight: 700; color: var(--ink); }
.review time { color: var(--muted); font-size: .9rem; font-weight: 600; }
.review p { margin: 0; font-size: 1.12rem; color: var(--ink); letter-spacing: -.01em; }
.map-frame { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16 / 8; background: var(--bg-alt); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(1.05); }
[data-theme="dark"] .map-frame iframe { filter: invert(.9) hue-rotate(180deg) grayscale(.5); }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.hours li:last-child { border: 0; }
.hours li strong { font-weight: 600; color: var(--ink); }
.hours li.today, .hours li.today strong { color: var(--teal); font-weight: 800; }
.open-state { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; margin-bottom: 10px; color: var(--ink); }
[data-open-state].closed .live-dot { background: #c2412d; animation: none; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ci { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal); }
.contact-list .ci .icon { width: 18px; height: 18px; }
.contact-list small { display: block; color: var(--muted); font-size: .84rem; font-weight: 600; }
.contact-list strong { font-weight: 700; word-break: break-word; }
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 0; }
.dl-grid div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.dl-grid dt { font-size: .9rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.dl-grid dd { margin: 0; font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: -.02em; }
.share { display: flex; gap: 8px; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.share a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: all .4s var(--ease); }
.share a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.share .icon { width: 17px; height: 17px; }

/* ==========================================================
   Single listing v2 — split screen profile
   ========================================================== */
.biz-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); align-items: start; padding: clamp(40px, 5vw, 70px) 0 clamp(80px, 8vw, 120px); }
.biz-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.biz-id { display: flex; gap: 18px; align-items: center; margin-bottom: 26px; }
.biz-logo { width: 96px; height: 96px; border-radius: 50%; background: #fff; border: 1px solid var(--line); padding: 14px; display: grid; place-items: center; flex: none; overflow: hidden; }
.biz-logo img { max-height: 100%; object-fit: contain; }
.biz-aside h1 { font-size: clamp(2.4rem, 4.4vw, 4.2rem); margin: 0 0 18px; }
.biz-lead { font-size: 1.12rem; color: var(--muted); margin-bottom: 28px; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.biz-rating { display: flex; align-items: center; gap: 12px; padding: 18px 0; border-block: 1px solid var(--line); margin: 26px 0; }
.biz-rating strong { font-size: 2.4rem; letter-spacing: -.05em; font-weight: 600; line-height: 1; }
.biz-rating small { display: block; color: var(--muted); font-weight: 600; }
.biz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.biz-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; margin: 0; }
.biz-quick div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.biz-quick dt { font-size: .84rem; color: var(--muted); font-weight: 600; }
.biz-quick dd { margin: 0; font-weight: 700; color: var(--ink); }
.biz-toc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; }
.biz-toc a { font-size: .88rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); transition: all .4s var(--ease); }
.biz-toc a:hover, .biz-toc a.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.biz-main > section { padding: 0 0 clamp(60px, 7vw, 100px); }
.biz-main h2 { font-size: clamp(1.9rem, 3.3vw, 3rem); max-width: 18ch; }
.biz-hero-img { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; position: relative; margin-bottom: clamp(60px, 7vw, 100px); background: var(--navy); }
.biz-hero-img img { width: 100%; height: 115%; object-fit: cover; position: absolute; top: -7%; }
.biz-hero-img .open-badge { position: absolute; left: 22px; top: 22px; z-index: 2; background: rgba(255,255,255,.94); color: var(--navy); }
.biz-hero-img .open-badge.closed .live-dot { background: #c2412d; animation: none; }
.svc-rows { border-top: 1px solid var(--line); counter-reset: svc; }
.svc-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 1.3rem; font-weight: 600; letter-spacing: -.03em; color: var(--ink); transition: padding .6s var(--ease), color .3s; }
.svc-row:hover { padding-left: 14px; color: var(--teal); }
.svc-row span { font-size: .9rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.hl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hl { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius-l); background: var(--bg-alt); transition: transform .6s var(--ease); }
.hl:hover { transform: translateY(-5px); }
.hl:hover .feature-ico { background: var(--gold); color: var(--navy-deep); }
.hl h3 { font-size: 1.05rem; margin: 0; }
.hl p { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
.facts-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); margin-top: 40px; }
.facts-strip div { padding: 26px 18px; border-right: 1px solid var(--line); }
.facts-strip div:last-child { border: 0; }
.facts-strip strong { display: block; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 600; letter-spacing: -.05em; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.facts-strip span { color: var(--muted); font-weight: 600; font-size: .9rem; }
.gallery-mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 130px; gap: 14px; }
.gallery-mosaic a:nth-child(1) { grid-column: span 4; grid-row: span 3; }
.gallery-mosaic a:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.gallery-mosaic a:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.gallery-mosaic a:nth-child(4), .gallery-mosaic a:nth-child(5), .gallery-mosaic a:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.review-head { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; margin-bottom: 20px; }
.review-big strong { font-size: clamp(4rem, 7vw, 6rem); font-weight: 600; letter-spacing: -.06em; line-height: .9; color: var(--ink); display: block; }
.review-big span { color: var(--muted); font-weight: 600; }
.hours-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.quote-form { padding: clamp(28px, 4vw, 50px); border-radius: var(--radius-l); background: var(--navy); color: #b9c8d1; --ink: #fff; --muted: #8fa3af; --line-strong: rgba(255,255,255,.25); }
.quote-form h2 { color: #fff; }
.mobile-call { display: none; }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.info-cards { display: grid; border-top: 1px solid var(--line); }
.info-card { display: flex; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease); }
.info-card:hover { padding-left: 12px; }
.info-card .ci { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex: none; }
.info-card h3 { font-size: 1.1rem; margin: 0 0 4px; }
.info-card p { margin: 0; color: var(--muted); }
.form-card { padding: clamp(28px, 4vw, 54px); border-radius: var(--radius-l); background: var(--bg-alt); }
.captcha { display: flex; align-items: center; gap: 14px; }
.captcha span { font-weight: 800; color: var(--navy-deep); background: var(--gold); padding: 10px 18px; border-radius: 999px; white-space: nowrap; }

/* ---------- Services page ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc { display: flex; flex-direction: column; gap: 40px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink); position: relative; overflow: hidden; isolation: isolate; transition: color .5s; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: translateY(101%); transition: transform .7s var(--ease); }
.svc:hover { color: #fff; }
.svc:hover::before { transform: none; }
.svc:hover .feature-ico { background: var(--gold); color: var(--navy-deep); }
.benefit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.benefit-card { padding: clamp(30px, 4vw, 54px); border-radius: var(--radius-l); background: var(--navy); }
.benefit-card.alt { background: var(--teal); }
.benefit-card h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 26px; }
.benefit-card ul { list-style: none; padding: 0; margin: 0; display: grid; }
.benefit-card li { display: flex; gap: 14px; color: #e3edf1; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.15); }
.benefit-card li .icon { color: var(--gold); margin-top: 4px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split-img { border-radius: var(--radius-l); overflow: hidden; }
.split-img img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 56px 30px; }
.post-card { display: flex; flex-direction: column; }
.post-img { aspect-ratio: 16 / 11; overflow: hidden; position: relative; border-radius: var(--radius-l); display: block; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.07); }
.post-img .listing-cat { position: absolute; left: 18px; top: 18px; background: var(--surface); color: var(--ink); padding: 6px 14px; border-radius: 999px; }
.post-body { padding: 22px 2px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; gap: 18px; font-size: .9rem; color: var(--muted); flex-wrap: wrap; font-weight: 600; }
.post-meta span { display: inline-flex; gap: 6px; align-items: center; }
.post-meta .icon { width: 15px; height: 15px; color: var(--gold-dark); }
.post-body h3 { font-size: 1.45rem; margin: 0; letter-spacing: -.035em; }
.post-body h3 a:hover { color: var(--teal); }
.post-body p { color: var(--muted); margin: 0; font-size: .98rem; }
.post-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.post-card.featured .post-img { aspect-ratio: 16 / 10; }
.post-card.featured h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 70px; }
.pagination a, .pagination span { min-width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; }
.pagination .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pagination a:hover { border-color: var(--ink); }
.article-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-l); }
.article-hero { overflow: hidden; border-radius: var(--radius-l); margin-top: 50px; }
.article { font-size: 1.15rem; line-height: 1.85; }
.article p, .article li { color: var(--text); }
.article h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-top: 1.6em; }
.article blockquote { margin: 1.8em 0; padding: 0 0 0 30px; border-left: 3px solid var(--gold); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; letter-spacing: -.03em; color: var(--ink); font-weight: 500; }
.author-box { display: flex; gap: 18px; align-items: center; padding: 28px 0; border-block: 1px solid var(--line); margin-top: 40px; }
.author-box .avatar { width: 64px; height: 64px; }
.reading-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 150; background: var(--gold); }
.side-post { display: flex; gap: 14px; align-items: center; }
.side-post img { width: 76px; height: 66px; border-radius: 12px; object-fit: cover; flex: none; }
.side-post a { font-weight: 700; font-size: .98rem; line-height: 1.35; letter-spacing: -.01em; }

/* ---------- Sitemap / legal ---------- */
.sitemap-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 50px; }
.sitemap-block h2 { font-size: 1.5rem; display: flex; gap: 10px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sitemap-block h2 .icon { color: var(--gold-dark); }
.sitemap-block ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sitemap-block a { color: var(--text); font-weight: 600; display: inline-flex; transition: color .3s, transform .5s var(--ease); }
.sitemap-block a:hover { color: var(--teal); transform: translateX(6px); }
.legal h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.8em; }
.legal .updated { color: var(--muted); font-weight: 600; }

/* ==========================================================
   404 v2 — interactive "lost signal" page
   ========================================================== */
.e404 { position: relative; min-height: calc(100vh - var(--header-h)); background: var(--navy-deep); color: #a9bcc7; overflow: hidden; display: grid; align-items: center; isolation: isolate; }
.e404-grid { position: absolute; inset: 0; z-index: -2; 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: 64px 64px; mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%); }
.e404-glow { position: absolute; z-index: -1; width: min(520px, 120vw); height: min(520px, 120vw); border-radius: 50%; background: radial-gradient(circle, rgba(7,128,107,.45), transparent 65%); left: 50%; top: 45%; transform: translate(-50%, -50%); pointer-events: none; transition: left .8s var(--ease), top .8s var(--ease); }
.e404-inner { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 60px; align-items: center; padding: 70px 0; }
.e404-code { position: relative; font-size: clamp(6.5rem, 24vw, 22rem); min-width: 0; font-weight: 700; letter-spacing: -.08em; line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.22); display: flex; align-items: center; user-select: none; }
.e404-code .d { display: inline-block; transition: transform .6s var(--ease); }
.e404-code .d.solid { color: #fff; -webkit-text-stroke: 0; }
.e404-orbit { position: relative; width: .72em; height: .86em; margin: 0 .02em; display: inline-block; }
.e404-shield { position: absolute; inset: 0; background: var(--teal); clip-path: polygon(50% 0, 100% 14%, 96% 62%, 50% 100%, 4% 62%, 0 14%); animation: shieldFloat 4s ease-in-out infinite; }
.e404-shield::after { content: "?"; position: absolute; inset: 0; display: grid; place-items: center; font-size: .5em; color: #fff; -webkit-text-stroke: 0; letter-spacing: 0; }
.e404-star { position: absolute; left: 50%; top: 50%; width: 1.25em; height: 1.25em; margin: -.625em 0 0 -.625em; animation: orbit 6s linear infinite; pointer-events: none; }
.e404-star::before { content: ""; position: absolute; left: 50%; top: 0; width: .13em; height: .13em; margin-left: -.065em; background: var(--gold); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.e404 h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin-bottom: 18px; }
.e404 p { font-size: 1.12rem; max-width: 44ch; }
.e404-search { display: flex; gap: 8px; margin: 30px 0 34px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12); }
.e404-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0 20px; font: 600 1rem var(--font); outline: none; }
.e404-search input::placeholder { color: #7f95a2; }
.e404-links { display: flex; flex-wrap: wrap; gap: 8px; }
.e404-links a { color: #d7e2e8; border: 1.5px solid rgba(255,255,255,.16); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .94rem; transition: all .4s var(--ease); }
.e404-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.e404-strip { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; white-space: nowrap; padding: 18px 0; color: rgba(255,255,255,.35); font-weight: 700; }
.e404-strip .ticker-track span { font-size: 1rem; letter-spacing: .02em; color: rgba(255,255,255,.4); -webkit-text-stroke: 0; }
.e404-strip .ticker-track span::after { width: 6px; height: 6px; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes shieldFloat { 50% { transform: translateY(-.04em) rotate(-3deg); } }

/* ---------- Keyframes ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,191,128,.55); } 70% { box-shadow: 0 0 0 10px rgba(47,191,128,0); } 100% { box-shadow: 0 0 0 0 rgba(47,191,128,0); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal="image"] { opacity: 1; transform: none; clip-path: none; }
  .split-line > span { transform: none; }
  .preloader { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .main-nav { position: fixed; inset: 0; z-index: -1; background: var(--bg); padding: calc(var(--header-h) + 30px) 24px 40px; clip-path: circle(0 at calc(100% - 50px) 46px); transition: clip-path .9s var(--ease-io); overflow: auto; }
  .main-nav.open { clip-path: circle(150% at calc(100% - 50px) 46px); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { font-size: clamp(1.8rem, 6vw, 2.8rem); letter-spacing: -.04em; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current="page"]::before { display: none; }
  .nav-toggle { display: grid; }
  .header-actions .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .with-sidebar, .with-sidebar.right { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .feed-grid { grid-template-columns: 1fr 1fr; }
  .hover-row { grid-template-columns: 1fr auto; }
  .hover-row p { display: none; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .biz-split { grid-template-columns: 1fr; }
  .biz-aside { position: static; }
  .e404-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  :root { --header-h: 78px; }
  .hero-top, .section-head, .sticky-split, .faq-layout, .contact-layout, .split, .benefit-cols, .testi-wrap, .cta-band, .post-card.featured, .hours-cols { grid-template-columns: 1fr; }
  .sticky-split > :first-child { position: static; }
  .search-panel { grid-template-columns: 1fr; border-radius: var(--radius-l); }
  .search-field { border-radius: var(--radius); }
  .search-field + .search-field { border-left: 0; border-top: 1px solid var(--line); }
  .search-panel .btn { width: 100%; }
  .hero-media { aspect-ratio: 4 / 3; }
  .hero-badge { width: 110px; height: 110px; right: 16px; bottom: 16px; }
  .hero-badge img { width: 40px; }
  .hero-stats { left: 16px; bottom: 16px; right: 140px; }
  .steps, .feed-grid, .quotes { grid-template-columns: 1fr; }
  .award-row { grid-template-columns: 1fr; gap: 8px; }
  .facts-strip { grid-template-columns: 1fr 1fr; }
  .facts-strip div:nth-child(2) { border-right: 0; }
  .facts-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-mosaic a:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery-mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .listing-grid.as-list .listing-card { flex-direction: column; }
  .listing-grid.as-list .listing-logo { width: auto; }
  .review-head { grid-template-columns: 1fr; }
  .mobile-call { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; gap: 8px; }
  .mobile-call .btn { flex: 1; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .wrap, .wrap-narrow { width: min(100% - 32px, var(--wrap)); }
  .form-grid, .dl-grid, .footer-grid, .biz-quick, .hl-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .brand img { height: 46px; }
  .header-actions .theme-toggle { display: none; }
  .hero-stats { display: none; }
}
