/* EVOXED — GBP optimization + website design. Night-navy brand, royal-blue signal. */
:root {
  --night: #081120;
  --panel: #111827;
  --panel2: #0b1526;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --signal: #2563eb;
  --signal-deep: #1d4ed8;
  --signal-lite: #3b82f6;
  --white: #ffffff;
  --slate: #cbd5e1;
  --slate-dim: #8595ad;
  --maxw: 1200px;
  --radius: 16px;
  --gutter: 22px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--night);
  color: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
  background-image:
    radial-gradient(1200px 560px at 82% -8%, rgba(37, 99, 235, 0.16), transparent 62%),
    radial-gradient(1000px 640px at -10% 8%, rgba(29, 78, 216, 0.1), transparent 66%);
  background-repeat: no-repeat;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal-lite);
}
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: linear-gradient(100deg, var(--signal-deep), var(--signal) 55%, var(--signal-lite));
  color: #fff;
  box-shadow: 0 12px 38px -10px rgba(37, 99, 235, 0.6);
}
.btn-primary:hover { box-shadow: 0 16px 50px -10px rgba(37, 99, 235, 0.8); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--signal-lite); background: rgba(37, 99, 235, 0.12); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- nav ---------- */
header.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
header.nav.scrolled {
  background: rgba(8, 17, 32, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 19px; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a.link { font-size: 14.5px; color: var(--slate); transition: color 0.2s; position: relative; }
.nav-links a.link:hover { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.portal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--slate);
  transition: color 0.2s;
}
.portal:hover { color: #fff; }
.portal svg { width: 15px; height: 15px; color: var(--signal-lite); }
/* portal dropdown */
.portal-menu { position: relative; }
.portal-trigger { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 13.5px; color: var(--slate); }
.portal-trigger .chev { width: 13px; height: 13px; color: var(--slate-dim); transition: transform 0.2s; }
.portal-menu.open .portal-trigger { color: #fff; }
.portal-menu.open .chev { transform: rotate(180deg); }
.portal-drop {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  min-width: 272px;
  padding: 7px;
  background: rgba(11, 21, 38, 0.97);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.portal-menu.open .portal-drop,
.nav-drop.open .portal-drop { opacity: 1; visibility: visible; transform: none; }
.portal-drop::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.portal-drop a { display: flex; align-items: flex-start; gap: 11px; padding: 10px 11px; border-radius: 10px; transition: background 0.18s; }
.portal-drop a:hover, .portal-drop a:focus-visible { background: rgba(255, 255, 255, 0.055); }
.portal-drop a svg { width: 16px; height: 16px; color: var(--signal-lite); flex: none; margin-top: 2px; }
.pi-name { display: block; font-size: 14px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.pi-desc { display: block; font-size: 12px; color: var(--slate-dim); margin-top: 2px; line-height: 1.4; }
.mm-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-dim); padding: 16px 22px 6px; }
.nav-drop { position: relative; display: flex; align-items: center; }
.link-drop { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 14.5px; color: var(--slate); display: inline-flex; align-items: center; gap: 5px; transition: color 0.2s; }
.link-drop:hover, .nav-drop.open .link-drop { color: #fff; }
.link-drop .chev { width: 12px; height: 12px; color: var(--slate-dim); transition: transform 0.2s; }
.nav-drop.open .chev { transform: rotate(180deg); }
.nav-drop .portal-drop { top: calc(100% + 18px); }
.drop-left { left: 0; right: auto; min-width: 300px; }
.nav-sep { width: 1px; height: 22px; background: var(--line-strong); }
.hamburger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.hamburger span { display: block; width: 19px; height: 2px; background: currentColor; position: relative; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 19px; height: 2px; background: currentColor; }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 148px 0 40px; }
.hero-grid { display: grid; gap: 26px; }
.hero-grid > *, .svc-grid > *, .svc-mini > *, .steps > * { min-width: 0; }
.badge-row { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.03); font-size: 13px; color: var(--slate); width: max-content; }
.badge-row .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.18); }
.hero h1 { font-size: clamp(42px, 7vw, 76px); max-width: 15ch; }
.hero h1 .grad { background: linear-gradient(100deg, var(--signal-lite), #7aa8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: clamp(16px, 2vw, 20px); color: var(--slate); max-width: 54ch; margin-top: 6px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 10px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 26px; color: var(--slate-dim); font-size: 13.5px; }
.hero-trust b { color: #fff; font-weight: 700; }
.hero-trust .ht { display: flex; align-items: center; gap: 9px; }
.hero-trust .ht svg { width: 17px; height: 17px; color: var(--signal-lite); }

/* ---------- section frame ---------- */
section.block { padding-block: 76px; }
.sec-head { max-width: 62ch; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin-top: 14px; }
.sec-head p { color: var(--slate); font-size: 17px; margin-top: 14px; }

/* ---------- portfolio marquee ---------- */
.work { padding-block: 30px 70px; overflow-x: clip; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.marquee-mask { position: relative; overflow: hidden; margin-inline: calc(var(--gutter) * -1); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee { display: flex; width: max-content; gap: 22px; animation: scroll-x 46s linear infinite; }
.marquee-mask:hover .marquee { animation-play-state: paused; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.shot {
  --thumb-h: 262px;
  width: 420px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 26px 70px -30px rgba(2, 8, 23, 0.9);
  transition: transform 0.3s ease, border-color 0.3s;
}
.shot:hover { transform: translateY(-6px); border-color: var(--signal); }
.shot .chrome { display: flex; align-items: center; gap: 7px; padding: 10px 13px; border-bottom: 1px solid var(--line); background: var(--panel2); }
.shot .chrome i { width: 9px; height: 9px; border-radius: 50%; background: #33405a; display: inline-block; }
.shot .chrome .url { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: var(--slate-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot .thumb { height: var(--thumb-h); overflow: hidden; background: var(--panel2); position: relative; }
/* the image is the whole page, several times taller than its window; hover scrolls it. */
.shot .thumb img { width: 100%; height: auto; display: block; transform: translateY(0); transition: transform 0.45s ease; }
@media (hover: hover) and (pointer: fine) {
  .shot:hover .thumb img { transform: translateY(calc(-100% + var(--thumb-h))); transition: transform 6s linear; }
}
@media (prefers-reduced-motion: reduce) {
  .shot .thumb img, .shot:hover .thumb img { transition: none; transform: translateY(0); }
}
.shot .meta { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.shot .meta .name { font-weight: 700; font-size: 15px; }
.shot .meta .cat { font-family: var(--mono); font-size: 11px; color: var(--signal-lite); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 34px; }
.svc { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel2); padding: 30px; overflow: hidden; transition: border-color 0.3s, transform 0.3s, background 0.3s; }
.svc:hover { border-color: var(--signal); transform: translateY(-4px); background: var(--panel); }
.svc.lead { grid-column: span 1; }
.svc .ico { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: rgba(37,99,235,0.14); border: 1px solid rgba(59,130,246,0.3); margin-bottom: 18px; }
.svc .ico svg { width: 24px; height: 24px; color: var(--signal-lite); }
.svc h3 { font-size: 22px; }
.svc p { color: var(--slate); margin-top: 10px; font-size: 15px; }
.svc ul { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
.svc ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--slate); }
.svc ul li svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--signal-lite); }
.svc-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.svc-mini .m { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel2); padding: 24px; transition: border-color .3s; }
.svc-mini .m:hover { border-color: var(--signal); }
.svc-mini .m .tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-dim); }
.svc-mini .m h4 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; }
.svc-mini .m p { color: var(--slate); font-size: 14px; margin-top: 8px; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.step { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel2); padding: 28px; }
.step .num { font-family: var(--mono); font-size: 13px; color: var(--signal-lite); }
.step h3 { font-size: 20px; margin-top: 12px; }
.step p { color: var(--slate); font-size: 14.5px; margin-top: 10px; }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 46px; }
.stats .st { padding: 26px 24px; border-right: 1px solid var(--line); background: var(--panel2); }
.stats .st:last-child { border-right: none; }
.stats .st .big { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.stats .st .lbl { font-family: var(--mono); font-size: 12px; color: var(--slate-dim); margin-top: 6px; }

/* ---------- CTA + booking ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 26px; background: linear-gradient(135deg, var(--signal), var(--signal-deep)); padding: 48px; }
.cta-band::before { content: ""; position: absolute; top: -140px; left: 50%; transform: translateX(-50%); width: 720px; height: 300px; background: rgba(255,255,255,0.22); filter: blur(90px); border-radius: 50%; }
.cta-head { position: relative; text-align: center; max-width: 660px; margin: 0 auto 36px; }
.cta-head h2 { font-size: clamp(30px, 4vw, 46px); color: #fff; }
.cta-head p { color: rgba(255,255,255,0.9); margin-top: 16px; font-size: 17px; }
.cta-note { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.8); margin-top: 18px; }
/* The Cal.com iframe reports its own height; the shell just frames it.
   month_view needs real width or Cal drops to a ~1600px stacked layout. */
.cal-shell { position: relative; max-width: 1000px; margin: 0 auto; border-radius: 18px; border: 1px solid rgba(255,255,255,0.22); background: rgba(8,17,32,0.72); backdrop-filter: blur(8px); padding: 10px; min-height: 540px; }
/* No min-height here: cal-inline sets min-height:inherit, so any value we put
   on the host overrides Cal's content-driven auto-resize and clips the booker. */
#cal-embed { width: 100%; }
#cal-embed iframe { display: block; width: 100%; border: 0; }
/* Overlay, not a block: it must never push the calendar down. */
.cal-loading { position: absolute; inset: 10px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.75); font-family: var(--mono); font-size: 13px; pointer-events: none; transition: opacity 0.4s ease; }
.cal-shell.cal-ready .cal-loading { opacity: 0; visibility: hidden; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 54px 0 34px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; }
.foot-brand p { color: var(--slate); font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.foot-col h5 { font-size: 14px; font-weight: 700; }
.foot-col a { display: block; color: var(--slate); font-size: 14px; margin-top: 11px; transition: color 0.2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; color: var(--slate-dim); font-size: 13px; }
.foot-bottom .socials { display: flex; gap: 20px; }
.foot-bottom a:hover { color: #fff; }
.mail { font-family: var(--mono); font-size: 14px; color: var(--slate); margin-top: 16px; display: inline-block; }
.mail:hover { color: var(--signal-lite); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.7s cubic-bezier(0.19,1,0.22,1), transform 0.7s cubic-bezier(0.19,1,0.22,1); }

.cadence { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cad { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel2); padding: 24px 24px 22px; }
.cad-when { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal-lite); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 11px; margin-bottom: 16px; }
.cad ul { list-style: none; display: grid; gap: 11px; }
.cad li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--slate); line-height: 1.5; }
.cad li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.svc-more { display: inline-flex; align-items: center; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--signal-lite); transition: color 0.2s; }
.svc-more:hover { color: #7aa8ff; }

/* ---------- subpage: hero, breadcrumb ---------- */
.hero-sub { padding: 132px 0 20px; }
.crumb { font-size: 13px; color: var(--slate-dim); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumb a { color: var(--slate); }
.crumb a:hover { color: #fff; }

/* ---------- pricing plans ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
}
.plan-featured { border-color: rgba(37,99,235,0.55); box-shadow: 0 0 0 1px rgba(37,99,235,0.22), 0 26px 60px rgba(0,0,0,0.38); }
.plan-flag {
  position: absolute; top: -11px; left: 28px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--signal); color: #fff; padding: 5px 11px; border-radius: 999px;
}
.plan-head { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 20px; }
.plan-head h3 { font-size: 26px; }
.plan-price { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; margin-top: 6px; color: var(--signal-lite); }
.plan-featured .plan-price { color: #6ea8ff; }
.plan-price span { font-size: 16px; font-weight: 600; color: var(--slate-dim); letter-spacing: 0; }
.plan-tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-dim); margin-top: 8px; }
.plan-group {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--signal-lite); margin: 22px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.plan-group:first-of-type { margin-top: 0; }
.plan-list { list-style: none; display: grid; gap: 14px; }
.plan-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--slate); line-height: 1.5; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px; border-radius: 50%;
  background: rgba(37,99,235,0.16);
  box-shadow: inset 0 0 0 1px rgba(59,130,246,0.5);
}
.plan-list li::after {
  content: ""; position: absolute; left: 4.6px; top: 9.4px; width: 5.4px; height: 2.8px;
  border-left: 1.7px solid var(--signal-lite); border-bottom: 1.7px solid var(--signal-lite);
  transform: rotate(-45deg);
}
.plan-list strong { display: block; color: #fff; font-weight: 650; font-size: 14.5px; margin-bottom: 2px; }
.plan-cta { margin-top: 26px; align-self: stretch; text-align: center; justify-content: center; }
.plan-foot { text-align: center; color: var(--slate-dim); font-size: 14.5px; margin-top: 26px; max-width: 62ch; margin-left: auto; margin-right: auto; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; max-width: 78ch; }
.faq details { border: 1px solid var(--line); border-radius: 13px; background: var(--panel2); overflow: hidden; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 48px 17px 20px; position: relative;
  font-weight: 650; font-size: 15.5px; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px;
  border-right: 1.8px solid var(--signal-lite); border-bottom: 1.8px solid var(--signal-lite);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.22s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { background: rgba(255,255,255,0.03); }
.faq details p { padding: 0 20px 18px; color: var(--slate); font-size: 14.5px; line-height: 1.62; }

/* light button for use on the blue CTA band */
.btn-light { background: #fff; color: var(--signal-deep); font-weight: 700; }
.btn-light:hover { background: #eef3ff; }
.cta-actions { margin-top: 24px; }

/* ---------- case studies ---------- */
.legend-row { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.lg { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--slate); }
.sw { width: 13px; height: 13px; border-radius: 3px; flex: none; }
.sw-1 { background: #22c55e; } .sw-2 { background: #eab308; }
.sw-3 { background: #f97316; } .sw-4 { background: #ef4444; }
.metric-key { display: grid; gap: 10px; border-left: 2px solid var(--line-strong); padding-left: 18px; }
.metric-key div { font-size: 14.5px; color: var(--slate); }
.metric-key strong { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--signal-lite); margin-right: 8px; }

.cs-list { display: flex; flex-direction: column; gap: 22px; }
.cs { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--panel2)); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.cs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.cs-head h3 { font-size: 24px; margin-top: 10px; }
.cs-area { font-size: 13.5px; color: var(--slate-dim); margin-top: 5px; }
.cs-summary { color: var(--slate); font-size: 15.5px; max-width: 72ch; }

.cs-maps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-map { margin: 0; }
.cs-map img { width: 100%; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--panel2); }
.cs-map figcaption { display: flex; align-items: center; gap: 9px; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: #fff; }
.cs-when { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-dim); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; font-weight: 500; }
.cs-map-single img { max-width: 620px; margin-inline: auto; }
.cs-map-single { display: flex; justify-content: center; }
.cs-kw { font-size: 13.5px; color: var(--slate-dim); }
.cs-kw code { font-family: var(--mono); color: var(--signal-lite); }

.cs-pending { border: 1px dashed var(--line-strong); border-radius: 12px; padding: 20px 22px; font-size: 14.5px; color: var(--slate-dim); }
.cs-pending strong { color: var(--slate); }

.cs-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cs-metric { border: 1px solid var(--line); border-radius: 12px; background: var(--panel2); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.cs-mname { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--slate-dim); }
.cs-mval { display: flex; align-items: baseline; gap: 10px; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.cs-mval .was { font-size: 19px; font-weight: 500; color: var(--slate-dim); text-decoration: line-through; text-decoration-thickness: 1px; }
.cs-mval .arrow { color: var(--slate-dim); font-size: 14px; }
.cs-mval .now { font-size: 24px; font-weight: 700; color: #fff; }
.cs-mval .now.up { color: #4ade80; }
.cs-mnote { font-size: 11.5px; color: var(--slate-dim); }

.cs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; border-top: 1px solid var(--line); padding-top: 20px; }
.cs-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal-lite); margin-bottom: 12px; }
.cs-ul { list-style: none; display: grid; gap: 10px; }
.cs-ul li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--slate); line-height: 1.5; }
.cs-ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }

/* multi-keyword scan blocks inside a case study */
.scans { display: flex; flex-direction: column; gap: 26px; }
.scan { display: flex; flex-direction: column; gap: 14px; }
.scan-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 11px; }
.scan-kw { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--signal-lite); background: rgba(37,99,235,0.12); border: 1px solid rgba(59,130,246,0.32); border-radius: 999px; padding: 4px 12px; }
.scan-dates, .scan-src { font-family: var(--mono); font-size: 11.5px; color: var(--slate-dim); }

/* warning / policy callout */
.warn { border: 1px solid rgba(234,179,8,0.32); border-left: 3px solid #eab308; border-radius: var(--radius); background: rgba(234,179,8,0.045); padding: 26px 28px; display: flex; flex-direction: column; gap: 16px; }
.warn p { color: var(--slate); font-size: 15.5px; max-width: 78ch; }
.warn strong { color: #fff; }
.warn-list { list-style: none; display: grid; gap: 13px; }
.warn-list li { position: relative; padding-left: 24px; font-size: 15px; color: var(--slate); line-height: 1.55; }
.warn-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: #eab308; transform: rotate(45deg); }

/* checklist */
.ck-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ck-progress { flex: 1 1 240px; height: 8px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.ck-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--signal-deep), var(--signal-lite)); transition: width 0.3s ease; }
.ck-count { font-family: var(--mono); font-size: 12.5px; color: var(--slate); font-variant-numeric: tabular-nums; }
.ck-reset { background: none; border: 1px solid var(--line-strong); color: var(--slate-dim); border-radius: 999px; padding: 5px 14px; font: inherit; font-size: 12.5px; cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.ck-reset:hover { color: #fff; border-color: var(--slate-dim); }
.ck-list { display: flex; flex-direction: column; gap: 28px; }
.ck-group { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel2); overflow: hidden; }
.ck-ghead { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); position: relative; }
.ck-ghead h3 { font-size: 19px; }
.ck-ghead p { font-size: 14px; color: var(--slate-dim); margin-top: 6px; max-width: 64ch; }
.ck-gcount { position: absolute; top: 22px; right: 24px; font-family: var(--mono); font-size: 12px; color: var(--slate-dim); font-variant-numeric: tabular-nums; }
.ck-item { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 15px 24px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background 0.15s; }
.ck-item:last-child { border-bottom: 0; }
.ck-item:hover { background: rgba(255,255,255,0.022); }
.ck-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.ck-box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); margin-top: 2px; position: relative; transition: background 0.15s, border-color 0.15s; }
.ck-item input:checked + .ck-box { background: var(--signal); border-color: var(--signal); }
.ck-item input:checked + .ck-box::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.ck-item input:focus-visible + .ck-box { outline: 2px solid var(--signal-lite); outline-offset: 2px; }
.ck-text b { display: block; font-size: 15px; font-weight: 600; color: #fff; }
.ck-text span { display: block; font-size: 14px; color: var(--slate); margin-top: 4px; line-height: 1.5; }
.ck-item input:checked ~ .ck-text b { color: var(--slate-dim); text-decoration: line-through; text-decoration-thickness: 1px; }
.ck-item input:checked ~ .ck-text span { color: var(--slate-dim); }

.hero-copy { display: grid; gap: 26px; align-content: start; min-width: 0; }
.hero-art { min-width: 0; }
@media (min-width: 981px) {
  .hero-split { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 52px; align-items: center; }
  .hero-split .hero-art .mp { max-width: 500px; margin-right: 0; }
  .hero-split .hero-copy h1 { max-width: 16ch; }
  .hero-split .hero-copy p.sub { max-width: 46ch; }
}
@media (max-width: 980px) {
  .hero-art { margin-top: 6px; }
  .hero-split .mp { max-width: 520px; }
}

/* ---------- map pack mockup (dark Google SERP) ---------- */
.mp {
  max-width: 560px; margin-inline: auto; background: #202124; color: #e8eaed;
  border: 1px solid rgba(255,255,255,0.09); border-radius: 18px; overflow: hidden;
  box-shadow: 0 34px 80px rgba(0,0,0,0.6); font-size: 14px; line-height: 1.45;
  font-family: var(--font);
}
.mp-search { display: flex; align-items: center; gap: 10px; padding: 14px 14px 10px; }
.mp-pill { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0;
  background: #303134; border-radius: 999px; padding: 9px 10px 9px 14px; }
.mp-glyph { width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: conic-gradient(#ea4335 0 25%, #fbbc04 0 50%, #34a853 0 75%, #4285f4 0);
  position: relative; }
.mp-glyph::after { content: ""; position: absolute; inset: 5px; background: #303134; border-radius: 50%; }
.mp-q { flex: 1; min-width: 0; font-size: 15px; color: #e8eaed; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-x { color: #9aa0a6; font-size: 16px; flex: none; }
.mp-ai { flex: none; display: inline-flex; align-items: center; gap: 6px; background: #3c4043;
  border-radius: 999px; padding: 5px 12px; font-size: 12.5px; color: #e8eaed; }
.mp-icons { display: flex; align-items: center; gap: 11px; flex: none; color: #9aa0a6; }
.mp-icons svg { width: 17px; height: 17px; }
.mp-avatar { width: 21px; height: 21px; border-radius: 50%; background: #1a73e8; display: grid; place-items: center;
  font-size: 10.5px; font-weight: 700; color: #fff; flex: none; }
.mp-h2 { font-size: 25px; font-weight: 500; letter-spacing: -0.01em; padding: 6px 16px 14px; color: #e8eaed; }

.mp-map { height: 152px; position: relative; margin: 0 14px; border-radius: 10px; overflow: hidden;
  background: #1b2432 url("/assets/brand/serp-map.jpg?v=1") center 42%/cover no-repeat; }
.mp-marker { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: #ea4335;
  display: grid; place-items: center; box-shadow: 0 0 0 5px rgba(234,67,53,0.28); transform: translate(-50%,-50%); }
.mp-marker::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #7f1d16; }
.mp-list { padding: 14px 0 12px; }
.mp-row { display: flex; gap: 14px; padding: 14px 16px; align-items: flex-start; }
.mp-row + .mp-row { border-top: 1px solid rgba(255,255,255,0.07); }
.mp-body { flex: 1; min-width: 0; }
.mp-name { font-size: 19px; font-weight: 400; letter-spacing: -0.01em; color: #e8eaed; }
.mp-rate { margin-top: 5px; font-size: 13.5px; color: #bdc1c6; }
.mp-stars { color: #fdd663; letter-spacing: -0.5px; margin: 0 2px; }
.mp-sub { margin-top: 3px; font-size: 13.5px; color: #9aa0a6; }
.mp-open { color: #81c995; }
.mp-quote { display: flex; gap: 9px; margin-top: 8px; font-size: 13px; color: #bdc1c6; }
.mp-quote svg { width: 17px; height: 17px; flex: none; color: #8ab4f8; margin-top: 1px; }
.mp-acts { display: flex; gap: 14px; flex: none; }
.mp-act { display: grid; justify-items: center; gap: 5px; width: 56px; }
.mp-act i { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #5f6368; display: grid; place-items: center; color: #8ab4f8; }
.mp-act i svg { width: 17px; height: 17px; }
.mp-act span { font-size: 11.5px; color: #8ab4f8; }

.mp-you { background: rgba(26,115,232,0.10); box-shadow: inset 3px 0 0 #8ab4f8; }
.mp-you .mp-name { font-weight: 700; color: #fff; letter-spacing: 0; }
.mp-tag { display: inline-block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em;
  text-transform: uppercase; background: #8ab4f8; color: #15223a; border-radius: 3px; padding: 2px 7px;
  margin-left: 9px; vertical-align: 3px; font-weight: 700; }
.mp-cap { text-align: center; font-size: 12.5px; color: var(--slate-dim); margin-top: 16px; }

@media (max-width: 560px) {
  .mp-h2 { font-size: 22px; }
  .mp-row { padding: 13px 13px; gap: 10px; }
  .mp-name { font-size: 17.5px; }
  .mp-acts { flex-direction: column; gap: 10px; }
  .mp-act { width: 44px; }
  .mp-act i { width: 34px; height: 34px; }
  .mp-act span { font-size: 10.5px; }
  .mp-ai { display: none; }
}

/* ---------- showcase grid (web design page) ---------- */
.shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.case { display: flex; flex-direction: column; gap: 0; }
.shot-grid .shot { width: auto; --thumb-h: 300px; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; }
.shot-grid .shot:hover { transform: none; }
.case-body { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius);
  background: var(--panel2); padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.case:hover .shot, .case:hover .case-body { border-color: var(--line-strong); }
.case-scale { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--signal-lite); }
.case-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate-dim); margin: 16px 0 11px; }
.case-ul { list-style: none; display: grid; gap: 10px; }
.case-ul li { position: relative; padding-left: 20px; font-size: 14px; color: var(--slate); line-height: 1.5; }
.case-ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--signal); }
.case .svc-more { margin-top: auto; padding-top: 18px; }
@media (max-width: 900px) { .shot-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .shot-grid .shot { --thumb-h: 220px; } .case-body { padding: 18px 16px 20px; } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links, .nav-right .portal-menu, .nav-sep, .nav-right .btn { display: none; }
  .nav-drop { display: none; }
  .hamburger { display: inline-flex; }
  .svc-grid, .svc-mini, .steps, .stats, .plans, .cadence, .cs-maps, .cs-cols { grid-template-columns: 1fr; }
  .stats .st { border-right: none; border-bottom: 1px solid var(--line); }
  .stats .st:last-child { border-bottom: none; }
  .cta-band { padding: 30px 18px; }
  .cta-head { margin-bottom: 26px; }
  .cal-shell { padding: 6px; }
  .cal-loading { inset: 6px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot-brand { grid-column: span 2; }
  .shot { width: 300px; --thumb-h: 187px; }
  .mobile-menu.open { display: block; border-top: 1px solid var(--line); background: rgba(8,17,32,0.97); backdrop-filter: blur(16px); }
  .mobile-menu a { display: block; padding: 14px 22px; color: var(--slate); border-bottom: 1px solid var(--line); font-size: 16px; }
  .mobile-menu .mm-cta { padding: 18px 22px; display: flex; gap: 12px; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .hero { padding: 112px 0 32px; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); max-width: 18ch; }
  .hero p.sub { font-size: 16px; max-width: none; }
  .hero-trust { gap: 14px 22px; }
  .badge-row { width: auto; max-width: 100%; font-size: 12px; padding: 6px 12px; }
  section.block { padding-block: 56px; }
  .work { padding-block: 24px 52px; }
  .sec-head h2, .cta-head h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .sec-head p { font-size: 15.5px; }
  .svc h3 { font-size: 20px; }
  .cta-band { padding: 34px 20px; border-radius: 20px; }
  .hero-sub { padding: 104px 0 16px; }
  .plan { padding: 26px 20px 24px; }
  .cad { padding: 22px 18px 20px; }
  .warn { padding: 22px 18px; }
  .ck-item { padding: 14px 16px; }
  .ck-ghead { padding: 20px 16px 16px; }
  .ck-gcount { right: 16px; top: 20px; }
  .cs { padding: 24px 18px; }
  .cs-metrics { grid-template-columns: 1fr; }
  .plan-price { font-size: 36px; }
  .faq summary { font-size: 15px; padding: 15px 44px 15px 16px; }
  .faq details p { padding: 0 16px 16px; }
  .cta-head p { font-size: 15.5px; }
  .foot-grid { gap: 22px 20px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 430px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
