/* =========================================================================
   Bold Branding — design system
   ========================================================================= */

:root {
  /* Palette (overridden by [data-palette="…"] further down) */
  --pink:        #FF3176;
  --violet:      #B14BD4;
  --blue:        #2C96FF;
  --grad-shadow: rgba(255,49,118,.45);
  --grad-soft:   linear-gradient(135deg, rgba(255,49,118,.15), rgba(177,75,212,.15), rgba(44,150,255,.15));

  --bg:     #0B1020;
  --bg-soft: #11172E;
  --bg-card: #131A33;
  --bg-light: #F7F5EF;
  --fg:     #FFFFFF;
  --fg-light: #0B1020;
  --muted:  rgba(255,255,255,0.62);
  --muted-2: rgba(255,255,255,0.42);
  --hair:   rgba(255,255,255,0.08);
  --hair-strong: rgba(255,255,255,0.14);

  --grad: linear-gradient(92deg, var(--pink) 0%, var(--violet) 48%, var(--blue) 100%);

  --display:    'Clash Display', system-ui, sans-serif;
  --serif:      'Instrument Serif', Georgia, serif;
  --body:       'Inter', system-ui, sans-serif;
  --mono:       'JetBrains Mono', ui-monospace, monospace;
  --admin-body: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

  --radius:   18px;
  --radius-s: 12px;
  --radius-xs: 8px;
  --shadow:  0 30px 60px -20px rgba(0,0,0,.5), 0 8px 30px -10px rgba(0,0,0,.4);

  --container: 1240px;
}

/* ----------------------------- color palettes --------------------------- */
[data-palette="bold"] {
  --pink:        #FF3176;
  --violet:      #B14BD4;
  --blue:        #2C96FF;
  --grad-shadow: rgba(255,49,118,.45);
  --grad-soft:   linear-gradient(135deg, rgba(255,49,118,.15), rgba(177,75,212,.15), rgba(44,150,255,.15));
}
[data-palette="sunset"] {
  --pink:        #F97316;
  --violet:      #EC4899;
  --blue:        #8B5CF6;
  --grad-shadow: rgba(249,115,22,.42);
  --grad-soft:   linear-gradient(135deg, rgba(249,115,22,.15), rgba(236,72,153,.15), rgba(139,92,246,.15));
}
[data-palette="forest"] {
  --pink:        #10B981;
  --violet:      #14B8A6;
  --blue:        #06B6D4;
  --grad-shadow: rgba(16,185,129,.42);
  --grad-soft:   linear-gradient(135deg, rgba(16,185,129,.15), rgba(20,184,166,.15), rgba(6,182,212,.15));
}
[data-palette="royal"] {
  --pink:        #7C3AED;
  --violet:      #4F46E5;
  --blue:        #06B6D4;
  --grad-shadow: rgba(124,58,237,.42);
  --grad-soft:   linear-gradient(135deg, rgba(124,58,237,.15), rgba(79,70,229,.15), rgba(6,182,212,.15));
}
[data-palette="mono"] {
  --pink:        #525252;
  --violet:      #737373;
  --blue:        #FF3176;
  --grad-shadow: rgba(82,82,82,.42);
  --grad-soft:   linear-gradient(135deg, rgba(82,82,82,.15), rgba(115,115,115,.15), rgba(255,49,118,.15));
}

[data-theme="light"] {
  --bg: #F7F5EF;
  --bg-soft: #EFEDE5;
  --bg-card: #FFFFFF;
  --fg: #0B1020;
  --muted: rgba(11,16,32,.65);
  --muted-2: rgba(11,16,32,.45);
  --hair: rgba(11,16,32,.10);
  --hair-strong: rgba(11,16,32,.16);
}

/* -------------------------------- reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; font-family: var(--display); letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0 0 1em; }

/* ----------------------------- typography ------------------------------- */
.display-xl { font-family: var(--display); font-size: clamp(48px, 8vw, 96px); letter-spacing: -0.025em; line-height: 1; }
.display-l  { font-family: var(--display); font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.022em; line-height: 1.04; }
.display-m  { font-family: var(--display); font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.018em; line-height: 1.08; }
.display-s  { font-family: var(--display); font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -0.014em; }
em, .ital { font-family: var(--serif); font-style: italic; font-weight: 400; }

.lede { color: var(--muted); font-size: clamp(16px, 1.2vw, 19px); max-width: 60ch; line-height: 1.55; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
}
.eyebrow-dash {
  width: 22px; height: 2px;
  background: var(--grad);
  display: inline-block; border-radius: 2px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ----------------------------- layout helpers --------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container--center { text-align: center; }
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--narrow .container { max-width: 880px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ----------------------------- buttons ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  transition: transform .25s ease, box-shadow .25s ease, opacity .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-gradient {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 30px -8px var(--grad-shadow);
}
.btn-gradient:hover { box-shadow: 0 18px 40px -10px var(--grad-shadow); }
.btn-ghost {
  border: 1px solid var(--hair-strong);
  color: var(--fg);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--fg); }

/* ============================ navigation ================================ */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--bg); /* solid fallback for browsers without color-mix() */
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  border-bottom: 1px solid var(--hair);
}
/* If the browser can't blur the backdrop, keep the bar fully opaque so page
   content never shows through the nav. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-nav { background: var(--bg); }
}
.nav-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  gap: 24px;
}
.nav-logo { display: inline-flex; align-items: center; }
.logo-mark {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.logo-mark--lg { font-size: 28px; }
.logo-dot {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav-pill {
  display: flex; gap: 4px;
  padding: 6px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--bg-card); /* solid fallback */
  background: color-mix(in srgb, var(--bg-card) 60%, transparent);
}
.nav-pill a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-pill a:hover { color: var(--fg); }
.nav-pill a.is-active {
  background: var(--grad);
  color: #fff;
}

.nav-right { display: flex; align-items: center; gap: 12px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-family: var(--mono); font-size: 11px;
  color: var(--muted);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.nav-burger { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .2s; }

.nav-overlay {
  position: fixed; inset: 0;
  z-index: 200;
  width: 100%; height: 100%;
  background-color: var(--bg);
  display: none;
  flex-direction: column;
  padding: 18px 28px 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-overlay.is-open { display: flex; }
.nav-overlay-top {
  display: flex; align-items: center; justify-content: space-between;
  height: 44px;
  margin-bottom: 28px;
}
.nav-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  margin-right: -8px;
  border-radius: 999px;
  color: var(--fg);
  border: 1px solid var(--hair);
}
.nav-close:hover { border-color: var(--hair-strong); }
.nav-overlay nav { display: flex; flex-direction: column; gap: 4px; }
.nav-overlay nav a {
  font-family: var(--display); font-size: clamp(28px, 8vw, 38px);
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  color: var(--fg);
}
.nav-overlay nav a.is-active {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-overlay .btn {
  margin-top: 24px;
  align-self: flex-start;
  font-size: 16px;
  padding: 14px 26px;
}

@media (max-width: 980px) {
  .nav-pill { display: none; }
  .status-pill { display: none; }
  .nav-burger { display: flex; }
  .site-nav { background: var(--bg); } /* fully opaque on mobile — no bleed-through */
}
/* Very narrow phones: drop the header CTA so the logo + burger have room
   (the CTA is still available inside the open menu). */
@media (max-width: 420px) {
  .nav-cta { display: none; }
}

/* ============================== HERO ==================================== */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0 clamp(72px, 10vw, 140px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-bg::before {
  content: ""; position: absolute;
  top: -10%; left: -10%; width: 60%; height: 60%;
  background: radial-gradient(circle at 30% 30%, rgba(255,49,118,.35), transparent 60%);
  filter: blur(80px);
}
.hero-bg::after {
  content: ""; position: absolute;
  bottom: -20%; right: -10%; width: 70%; height: 70%;
  background: radial-gradient(circle at 70% 50%, rgba(44,150,255,.30), transparent 60%);
  filter: blur(90px);
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  opacity: .35;
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 1100px) { .hero-inner { grid-template-columns: 1fr; } }

.hero-title { margin-top: 10px; }
.hero-sub { margin-top: 22px; max-width: 540px; }
.hero-tags { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  padding: 6px 12px;
  border: 1px solid var(--hair);
  border-radius: 999px;
}

/* ===================== Growth Stack dashboard panel ===================== */
.growth-panel {
  position: relative;
  padding: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--hair);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tile {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 14px;
  font-size: 12px;
  position: relative;
}
.tile-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.tile-eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.tile-chip {
  font-family: var(--mono); font-size: 10px;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(74,222,128,.12); color: #4ade80;
}
.tile-chip--pink { background: rgba(255,49,118,.12); color: #ff86b3; }
.tile-chip--red  { background: rgba(255,99,99,.12); color: #ff8a8a; }

.tile-art {
  aspect-ratio: 3 / 2;
  border-radius: 10px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--display); font-size: 18px; letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.tile-post {
  display: flex; gap: 8px; align-items: center;
  margin-bottom: 8px;
}
.tile-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad);
}
.tile-handle { font-weight: 500; font-size: 11px; }
.tile-meta { font-family: var(--mono); font-size: 10px; color: var(--muted-2); }
.tile-engage {
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
}

.tile-browser {
  height: 100%;
}
.browser-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,.04);
  border-radius: 8px;
  margin-bottom: 10px;
  font-family: var(--mono); font-size: 10px; color: var(--muted);
}
.browser-dots { display: flex; gap: 4px; margin-right: 4px; }
.browser-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--hair-strong); }
.browser-wire {
  display: flex; flex-direction: column; gap: 6px;
}
.wire-bar { height: 10px; border-radius: 4px; background: var(--grad); }
.wire-bar--sub { height: 6px; width: 60%; opacity: .5; }
.wire-pill { height: 18px; width: 80px; border-radius: 999px; background: var(--grad); }
.wire-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 4px; }
.wire-cards span { height: 22px; border-radius: 4px; background: var(--hair-strong); }

.tile-seo .seo-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0;
  font-family: var(--mono); font-size: 10.5px;
  border-bottom: 1px dashed var(--hair);
}
.tile-seo .seo-row:last-child { border-bottom: 0; }
.seo-rank { color: var(--muted); }
.seo-rank.is-top { background: var(--grad); -webkit-background-clip: text; color: transparent; }
.seo-delta { color: #4ade80; }
.seo-delta--down { color: #ff8a8a; }

.tile-agent .agent-line {
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
  padding: 3px 0;
}
.agent-line .tag { color: #ff86b3; }
.agent-bars { display: inline-flex; gap: 2px; }
.agent-bars i { display: inline-block; width: 3px; height: 8px; background: var(--grad); animation: typing 1.2s infinite; }
.agent-bars i:nth-child(2) { animation-delay: .2s; }
.agent-bars i:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

.metrics-row {
  grid-column: span 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  padding-top: 8px;
}
.metric {
  padding: 12px 14px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
}
.metric-val {
  font-family: var(--display); font-size: 24px; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric-label { font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.metric svg { margin-top: 6px; }

/* ============================ MARQUEE =================================== */
.marquee {
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  padding: 22px 0; overflow: hidden;
  background: var(--bg);
  position: relative;
}
.marquee-track {
  display: flex; gap: 56px;
  animation: marquee 30s linear infinite;
  width: max-content;
  font-family: var(--display); font-size: 22px;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-star {
  display: inline-block; width: 14px; height: 14px;
  background: var(--grad);
  clip-path: polygon(50% 0,61% 38%,100% 38%,68% 60%,79% 100%,50% 76%,21% 100%,32% 60%,0 38%,39% 38%);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================ services grid ============================= */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  padding: 32px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color .25s, transform .25s;
}
.service-card:hover { border-color: var(--hair-strong); transform: translateY(-2px); }
.service-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 22px;
}
.service-num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .18em; }
.service-glyph {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg);
}
.service-glyph svg { width: 22px; height: 22px; }
.service-card h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 12px; }
.service-card .desc { color: var(--muted); max-width: 50ch; }
.service-card ul {
  margin-top: 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px;
  border-top: 1px solid var(--hair);
  padding-top: 18px;
}
.service-card ul li {
  font-size: 13.5px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.service-card ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--grad);
}

/* ============================ why us ==================================== */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-cell {
  padding: 28px;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.why-cell:nth-child(4n) { border-right: 0; }
.why-cell h4 { font-size: 18px; margin-bottom: 8px; }
.why-cell p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ============================ process =================================== */
.process {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  padding: 32px 0 8px;
}
.process::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 32px;
  height: 1px; background: var(--hair);
}
.process-step {
  padding: 0 20px;
  position: relative;
  text-align: left;
}
.process-marker {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--hair-strong);
  margin-bottom: 28px;
}
.process-step.is-active .process-marker {
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 0 0 6px rgba(255,49,118,.18);
}
.process-num { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .18em; }
.process-step h4 { font-size: 22px; margin: 8px 0; }
.process-step p { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } .process::before { display: none; } }

/* ============================ case rows ================================= */
.case-row {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--hair);
  align-items: center;
}
@media (max-width: 900px) { .case-row { grid-template-columns: 1fr; gap: 24px; } }
.case-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--grad);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.case-visual::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.4), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,.3), transparent 50%);
}
.case-visual--2 { background: linear-gradient(135deg, #2C96FF, #B14BD4); }
.case-visual--3 { background: linear-gradient(135deg, #FF3176, #2C96FF); }
.case-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .14em; }
.case-row h3 { font-size: clamp(26px, 3vw, 38px); margin: 14px 0 22px; }
.case-cs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
@media (max-width: 700px) { .case-cs { grid-template-columns: 1fr; } }
.case-cs h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.case-cs p { font-size: 14.5px; color: var(--fg); }
.case-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 24px; border-top: 1px solid var(--hair); }
.case-results .v { font-family: var(--display); font-size: 28px; background: var(--grad); -webkit-background-clip: text; color: transparent; }
.case-results .l { font-family: var(--mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.case-results a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-top: 16px; }
.case-results a:hover { color: var(--fg); }

/* ============================ AI tiles ================================== */
.ai-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr 1fr; } }
.ai-tile {
  padding: 26px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: var(--bg-card);
}
.ai-tile h4 { font-size: 17px; margin-bottom: 10px; }
.ai-tile p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ============================ industries ================================ */
.industries { display: flex; flex-wrap: wrap; gap: 10px; }
.industry-chip {
  padding: 10px 18px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: 14px;
  color: var(--fg);
  transition: background .2s, color .2s, border-color .2s;
}
.industry-chip:hover {
  background: var(--grad); color: #fff; border-color: transparent;
}

/* ============================ testimonials ============================== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  padding: 32px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.testimonial blockquote { font-family: var(--display); font-size: 19px; line-height: 1.4; margin: 0 0 24px; letter-spacing: -0.01em; }
.testimonial blockquote::before { content: "\201C"; font-family: var(--serif); font-size: 50px; line-height: 0; display: block; color: var(--muted-2); margin-bottom: 18px; }
.testimonial .author { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 500; color: #fff;
}
.testimonial .a-name { font-size: 14px; font-weight: 500; }
.testimonial .a-role { font-size: 12px; color: var(--muted); }

/* ============================ final CTA ================================ */
.final-cta {
  position: relative;
  margin: 48px 0;
  padding: clamp(56px, 7vw, 88px);
  border-radius: var(--radius);
  background: var(--bg-soft);
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--hair);
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(255,49,118,.3), transparent 50%),
              radial-gradient(ellipse at 70% 70%, rgba(44,150,255,.3), transparent 50%);
  z-index: 0;
}
.final-cta::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .4;
  z-index: 0;
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 18px; }
.final-cta .lede { margin: 0 auto 28px; }
.final-cta .cta-row { justify-content: center; }

/* ============================ footer ==================================== */
.site-footer {
  margin-top: 60px;
  padding: 60px 28px 24px;
  border-top: 1px solid var(--hair);
}
.footer-grid {
  max-width: 1340px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hair);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-tag { color: var(--muted); margin-top: 14px; max-width: 32ch; }
.footer-h { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a { font-size: 14px; color: var(--fg); opacity: .85; }
.site-footer ul a:hover { opacity: 1; }
.footer-loc { font-size: 14px; color: var(--muted); }
.footer-mail a { background: var(--grad); -webkit-background-clip: text; color: transparent; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--hair);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; color: var(--muted);
}
.footer-social a:hover { color: var(--fg); border-color: var(--hair-strong); }

.footer-bottom {
  max-width: 1340px; margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--muted); font-family: var(--mono); letter-spacing: .04em;
}
.theme-toggle {
  display: inline-flex;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 4px;
}
.theme-toggle button {
  width: 32px; height: 26px;
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
[data-theme="light"] .theme-toggle button[data-theme-btn="light"],
[data-theme="dark"]  .theme-toggle button[data-theme-btn="dark"] {
  background: var(--grad); color: #fff;
}

/* ============================ services page ============================ */
.services-rows { border-top: 1px solid var(--hair); }
.services-row {
  display: grid; grid-template-columns: 80px 1fr 2fr auto;
  gap: 32px; align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--hair);
  transition: padding-left .25s;
}
.services-row:hover { padding-left: 12px; }
.services-row:hover h3 { background: var(--grad); -webkit-background-clip: text; color: transparent; }
.services-row .idx { font-family: var(--mono); color: var(--muted); font-size: 13px; }
.services-row h3 { font-size: clamp(22px, 2vw, 30px); }
.services-row .desc { color: var(--muted); font-size: 14.5px; }
.services-row .arrow { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 900px) {
  .services-row { grid-template-columns: 1fr; gap: 8px; }
  .services-row .arrow { display: none; }
}

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .tiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tiers { grid-template-columns: 1fr; } }
.tier-card {
  padding: 28px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--bg-card);
  display: flex; flex-direction: column;
}
.tier-card h4 { font-size: 22px; margin-bottom: 8px; }
.tier-price { font-family: var(--display); font-size: 38px; background: var(--grad); -webkit-background-clip: text; color: transparent; margin: 16px 0 4px; }
.tier-duration { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.tier-desc { font-size: 14px; color: var(--muted); margin: 18px 0; }
.tier-card ul { border-top: 1px solid var(--hair); padding-top: 16px; margin-top: auto; }
.tier-card ul li { font-size: 13.5px; color: var(--fg); padding: 6px 0 6px 18px; position: relative; }
.tier-card ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 1px; background: var(--grad); }

/* ============================ work bento =============================== */
.work-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 32px; }
.work-tabs button {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid var(--hair);
  color: var(--muted);
}
.work-tabs button.is-active { background: var(--grad); color: #fff; border-color: transparent; }
.work-tabs button:hover { color: var(--fg); }

.bento {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  grid-auto-rows: 260px;
}
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } }
.bento-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--hair);
  background: var(--grad);
  display: flex; align-items: flex-end;
  padding: 22px;
  color: #fff;
  cursor: pointer;
  transition: transform .25s;
}
.bento-card:hover { transform: translateY(-2px); }
.bento-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,.35), transparent 50%);
}
.bento-card .meta {
  position: relative; z-index: 1;
}
.bento-card .meta-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; opacity: .85; }
.bento-card .meta-title { font-family: var(--display); font-size: 22px; margin-top: 6px; max-width: 90%; }

.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
@media (max-width: 900px) { .span-2, .span-3, .span-4 { grid-column: span 1; } }

.bento-card[data-cat="Identity"]   { background: linear-gradient(135deg,#FF3176,#B14BD4); }
.bento-card[data-cat="Automation"] { background: linear-gradient(135deg,#2C96FF,#B14BD4); }
.bento-card[data-cat="Growth"]     { background: linear-gradient(135deg,#FF3176,#2C96FF); }
.bento-card[data-cat="Web"]        { background: linear-gradient(135deg,#2C96FF,#FF3176); }

/* ============================ about ==================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
.team-card {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.team-photo {
  aspect-ratio: 4/5;
  background: var(--grad);
  position: relative;
}
.team-photo::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.3), transparent 50%);
}
.team-info { padding: 18px; }
.team-info h4 { font-size: 18px; margin-bottom: 4px; }
.team-info .role { font-size: 12.5px; color: var(--muted); font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  padding: 28px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.value-card h4 { font-size: 19px; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ============================ insights ================================= */
.featured-essay {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px;
  padding: 32px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--bg-card);
  margin-bottom: 48px;
  align-items: center;
}
@media (max-width: 900px) { .featured-essay { grid-template-columns: 1fr; } }
.featured-cover {
  aspect-ratio: 4/3;
  border-radius: var(--radius-s);
  background: var(--grad);
  position: relative; overflow: hidden;
}
.featured-cover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), transparent 50%);
}
.insight-cat { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.featured-essay h3 { font-size: clamp(26px, 3vw, 36px); margin: 12px 0 14px; }
.featured-essay p { color: var(--muted); font-size: 15px; }

.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .insights-grid { grid-template-columns: 1fr; } }
.insight-card {
  padding: 24px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color .25s, transform .25s;
}
.insight-card:hover { border-color: var(--hair-strong); transform: translateY(-2px); }
.insight-card .cover {
  aspect-ratio: 16/9;
  border-radius: var(--radius-s);
  background: var(--grad);
  margin-bottom: 18px;
  position: relative; overflow: hidden;
}
.insight-card h4 { font-size: 19px; margin: 10px 0; line-height: 1.2; }
.insight-card p { font-size: 13.5px; color: var(--muted); }
.insight-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 14px; display: flex; justify-content: space-between; }

.insight-detail {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 28px 80px;
}
.insight-detail h1 { font-size: clamp(34px, 4.5vw, 56px); margin: 18px 0 22px; }
.insight-detail .excerpt { color: var(--muted); font-size: 18px; max-width: 60ch; }
.insight-detail .body { margin-top: 36px; font-size: 16.5px; line-height: 1.8; color: var(--fg); }
.insight-detail .body p { margin-bottom: 1.2em; }
.insight-detail .body strong { color: var(--fg); }

/* ============================ contact ================================== */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.2fr;
  gap: 36px;
}
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  padding: 28px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--bg-card);
  margin-bottom: 18px;
}
.contact-card h4 { font-size: 18px; margin-bottom: 14px; }
.contact-card .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--hair); font-size: 14px; }
.contact-card .row:last-child { border-bottom: 0; }
.contact-card .row .l { color: var(--muted); }
.contact-card .step { display: flex; gap: 12px; padding: 10px 0; }
.contact-card .step .n { font-family: var(--mono); font-size: 12px; color: var(--muted); width: 26px; }
.contact-card .step .t { font-size: 14px; color: var(--fg); }

.form-card {
  padding: 32px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.form-card label {
  display: block;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 8px;
}
.form-card input, .form-card textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--hair);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  color: var(--fg);
  font: 15px var(--body);
  margin-bottom: 18px;
}
.form-card textarea { min-height: 110px; resize: vertical; }
.form-card input:focus, .form-card textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  border-color: transparent;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  padding: 9px 16px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  transition: all .2s;
}
.chip.is-on { background: var(--grad); color: #fff; border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-msg { padding: 12px 14px; border-radius: 8px; margin-bottom: 18px; font-size: 14px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(74,222,128,.1); color: #4ade80; }
.form-msg.err { background: rgba(255,99,99,.1); color: #ff8a8a; }

/* ============================ admin ==================================== */
.admin-wrap {
  display: grid; grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: var(--bg);
}
.admin-side {
  background: var(--bg-soft);
  padding: 24px;
  border-right: 1px solid var(--hair);
}
.admin-side .brand { font-family: var(--display); font-size: 22px; margin-bottom: 28px; }
.admin-side nav a {
  display: block; padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2px;
}
.admin-side nav a:hover { color: var(--fg); background: rgba(255,255,255,.04); }
.admin-side nav a.is-active { background: var(--grad); color: #fff; }
.admin-main { padding: 32px 40px; }
.admin-h { font-size: 28px; margin-bottom: 6px; }
.admin-sub { color: var(--muted); margin-bottom: 28px; }
.admin-section { margin-bottom: 36px; }

.tbl {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--hair);
  border-radius: var(--radius-s);
  overflow: hidden;
}
.tbl th, .tbl td { padding: 12px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--hair); }
.tbl th { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .actions { display: flex; gap: 8px; justify-content: flex-end; }
.tbl .btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 6px; }

.form-grid { display: grid; gap: 16px; max-width: 760px; }
.form-grid label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; padding: 11px 14px; border-radius: 8px;
  background: var(--bg-soft); border: 1px solid var(--hair);
  color: var(--fg); font: 14.5px var(--body);
}
.form-grid textarea { min-height: 110px; resize: vertical; }
.btn-row { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
.stat { padding: 22px; border: 1px solid var(--hair); border-radius: var(--radius-s); background: var(--bg-card); }
.stat .v { font-family: var(--display); font-size: 32px; }
.stat .l { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

.flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; }
.flash-ok { background: rgba(74,222,128,.10); color: #4ade80; border: 1px solid rgba(74,222,128,.25); }
.flash-err { background: rgba(255,99,99,.10); color: #ff8a8a; border: 1px solid rgba(255,99,99,.25); }

.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: var(--bg); }
.login-card { width: 100%; max-width: 420px; padding: 36px; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--bg-card); }
.login-card h1 { font-size: 26px; margin-bottom: 8px; }
.login-card .lede { font-size: 14px; margin-bottom: 24px; }

/* ============================ admin light overrides ==================== */
/* Plus Jakarta Sans is used for body + headings inside the admin only. */
body.admin-light,
body.admin-light h1,
body.admin-light h2,
body.admin-light h3,
body.admin-light h4,
body.admin-light h5,
body.admin-light .admin-h,
body.admin-light .display-s,
body.admin-light .display-m,
body.admin-light .logo-mark,
body.admin-light .login-card h1,
body.admin-light button,
body.admin-light input,
body.admin-light textarea,
body.admin-light select { font-family: var(--admin-body); }
body.admin-light { letter-spacing: -0.005em; }

/* Admin sidebar nav icons — flex row, icon then label */
.admin-light .admin-side nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
}
.admin-light .admin-side nav a .nav-ico {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px;
  color: var(--muted);
  transition: color .2s;
}
.admin-light .admin-side nav a:hover .nav-ico { color: var(--fg); }
.admin-light .admin-side nav a.is-active .nav-ico { color: #fff; }
.admin-light .admin-side nav a span { flex: 1 1 auto; min-width: 0; }
.admin-light .admin-side nav a:hover { background: rgba(11,16,32,.05); color: var(--fg); }
.admin-light .admin-side .brand .logo-mark { color: var(--fg); }
.admin-light .tbl tbody tr:hover { background: rgba(11,16,32,.025); }
.admin-light .form-grid input,
.admin-light .form-grid textarea,
.admin-light .form-grid select {
  background: #fff;
  border-color: rgba(11,16,32,.14);
}
.admin-light .form-grid input:focus,
.admin-light .form-grid textarea:focus,
.admin-light .form-grid select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  border-color: transparent;
}
.admin-light .stat,
.admin-light .tbl {
  box-shadow: 0 1px 0 rgba(11,16,32,.04), 0 8px 24px -16px rgba(11,16,32,.10);
}
.admin-light .login-card {
  box-shadow: 0 30px 60px -20px rgba(11,16,32,.18), 0 8px 30px -10px rgba(11,16,32,.10);
}
.admin-light .btn-ghost { color: var(--fg); }
.admin-light .flash-ok { background: rgba(22,163,74,.10); color: #15803d; border-color: rgba(22,163,74,.30); }
.admin-light .flash-err { background: rgba(220,38,38,.08); color: #b91c1c; border-color: rgba(220,38,38,.30); }

/* Theme picker (admin/theme.php) */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 4px;
}
.palette-card {
  position: relative;
  display: block;
  padding: 22px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-s);
  background: var(--bg-card);
  cursor: pointer;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.palette-card:hover { transform: translateY(-1px); border-color: var(--hair-strong); }
.palette-card input[type="radio"] {
  position: absolute; top: 14px; right: 14px;
  width: 18px; height: 18px;
  accent-color: var(--pink);
  margin: 0;
}
.palette-card.is-active {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--pink), 0 18px 40px -16px var(--grad-shadow);
}
.palette-preview {
  height: 80px;
  border-radius: var(--radius-xs);
  margin-bottom: 14px;
  border: 1px solid var(--hair);
  background-size: 100% 100%;
}
.palette-swatches { display: flex; gap: 6px; margin-bottom: 12px; }
.palette-swatches span {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--hair);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.palette-card h4 { font-size: 17px; margin: 0 0 4px; }
.palette-card p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.5; }
.palette-default-pill {
  display: inline-block;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  padding: 3px 8px; border: 1px solid var(--hair); border-radius: 999px;
  margin-left: 8px;
  vertical-align: 2px;
}

/* ============================ services row expand ====================== */
/* Listing layout is the original .services-row grid; clicking the row toggles
   a designed expansion panel underneath the same row without disturbing the
   listing rhythm. */
.services-row-wrap { border-bottom: 1px solid var(--hair); }
button.services-row {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.services-row-wrap.is-open .services-row { padding-left: 12px; }
.services-row-wrap.is-open .services-row h3 { background: var(--grad); -webkit-background-clip: text; color: transparent; }
.services-row-wrap.is-open .services-row .arrow { color: var(--fg); }
.services-row-wrap.is-open .services-row .arrow::after { content: " (close)"; }

.services-row-body {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
}
.services-row-wrap.is-open .services-row-body { max-height: 1600px; }

.services-row-body-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: 8px 0 40px 80px;
  position: relative;
}
.services-row-body-inner::before {
  content: "";
  position: absolute;
  left: 80px;
  top: -4px;
  width: 56px;
  height: 3px;
  background: var(--grad);
  border-radius: 999px;
}

.services-row-body-inner .long-text .eyebrow { margin-bottom: 14px; }
.services-row-body-inner .long-text-content {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--fg);
  max-width: 56ch;
}
.services-row-body-inner .long-text-content p { margin: 0 0 1.1em; }
.services-row-body-inner .long-text-content p:last-child { margin-bottom: 0; }
.services-row-body-inner .long-text-content strong { color: var(--fg); }

.services-row-cta {
  margin-top: 22px;
  padding: 9px 16px;
  font-size: 13px;
}

.deliverables-card {
  padding: 26px 28px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-s);
  background: var(--bg-card);
  align-self: start;
  box-shadow: 0 8px 24px -16px rgba(11,16,32,.18);
}
.deliverables-card .eyebrow { margin-bottom: 18px; }
.deliverables-card ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0;
  margin: 0;
}
.deliverables-card ul li {
  font-size: 14.5px;
  color: var(--fg);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.deliverables-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--grad);
  border-radius: 999px;
}

@media (max-width: 900px) {
  .services-row-body-inner { grid-template-columns: 1fr; gap: 22px; padding: 8px 0 28px; }
  .services-row-body-inner::before { left: 0; }
  .deliverables-card { padding: 22px; }
}

/* ============================ cover image surfaces ===================== */
/* Every image placeholder (whether currently rendering a gradient fallback or
   an actual upload) sizes its background as `cover` so user-uploaded images
   fill the box without distortion. */
.case-visual,
.featured-cover,
.insight-card .cover,
.bento-card,
.team-photo,
.tile-art,
.landing-feature[style*="background-image"] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bento-card.has-cover::before {
  background: linear-gradient(180deg, rgba(11,16,32,0) 30%, rgba(11,16,32,.75) 100%);
}
.bento-card.has-cover .meta { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.4); }

/* ============================ landing page ============================= */
.landing-hero {
  position: relative;
  min-height: clamp(420px, 62vh, 720px);
  display: flex; align-items: center;
  padding: clamp(80px, 10vw, 140px) 0 clamp(72px, 9vw, 120px);
  overflow: hidden;
  background-color: var(--bg);
}
.landing-hero:not(.has-image)::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,49,118,.28), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(44,150,255,.24), transparent 60%);
  filter: blur(70px);
  pointer-events: none;
}
.landing-hero.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
.landing-hero-scrim {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(11,16,32,.30) 0%, rgba(11,16,32,.55) 60%, rgba(11,16,32,.78) 100%),
    radial-gradient(ellipse at 30% 35%, rgba(255,49,118,.22), transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(44,150,255,.20), transparent 55%);
}
.landing-hero > .container { position: relative; z-index: 1; }
.landing-hero-inner { max-width: 820px; }
.landing-hero h1 { font-size: clamp(40px, 7vw, 84px); letter-spacing: -0.025em; line-height: 1.02; }
.landing-hero.has-image h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.landing-hero.has-image .eyebrow,
.landing-hero.has-image .lede,
.landing-hero.has-image .landing-trust span { color: rgba(255,255,255,.85); }
.landing-hero.has-image .landing-trust span { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.landing-hero-sub { margin-top: 22px; max-width: 60ch; }
.landing-hero .cta-row { margin-top: 32px; }
.landing-trust { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.landing-trust span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  padding: 7px 14px; border: 1px solid var(--hair); border-radius: 999px;
}

.landing-section { padding: clamp(72px, 9vw, 128px) 0; }
.landing-section + .landing-section { padding-top: 0; }
.landing-section .eyebrow { margin-bottom: 14px; }
.landing-section-head {
  max-width: 820px;
  margin: 0 0 clamp(36px, 4vw, 56px);
}
.landing-section-head h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.022em; line-height: 1.04; }
.landing-section-head .lede { margin-top: 18px; }
.landing-features { background: linear-gradient(to bottom, color-mix(in srgb, var(--bg-soft) 40%, transparent), transparent 50%); }

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 24px);
  margin-top: 8px;
}
@media (max-width: 900px) { .landing-feature-grid { grid-template-columns: 1fr; gap: 16px; } }
.landing-feature {
  position: relative;
  padding: 32px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color .2s, transform .2s, box-shadow .25s;
  box-shadow: 0 8px 24px -18px rgba(11,16,32,.18);
}
.landing-feature:hover { transform: translateY(-2px); border-color: var(--hair-strong); }
.landing-feature::before {
  content: "";
  position: absolute;
  top: -1px; left: 24px;
  width: 40px; height: 3px;
  background: var(--grad);
  border-radius: 0 0 4px 4px;
}
.landing-feature-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  color: var(--muted);
  display: block; margin-bottom: 18px;
}
.landing-feature h4 { font-size: 20px; margin-bottom: 12px; letter-spacing: -0.01em; }
.landing-feature p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.65; }

/* Alternating image + text rows — each row is its own card */
.landing-rows .landing-section-head { margin-bottom: clamp(24px, 3vw, 40px); }
.landing-row {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(24px, 3vw, 40px);
  background: var(--bg-card);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px -32px rgba(11,16,32,.42);
  transition: border-color .2s, transform .25s, box-shadow .3s;
}
.landing-row:hover { border-color: var(--hair-strong); box-shadow: 0 26px 60px -32px rgba(11,16,32,.5); }
.landing-row + .landing-row { margin-top: clamp(20px, 3vw, 32px); }
.landing-row.is-reversed { direction: rtl; }
.landing-row.is-reversed > * { direction: ltr; }

.landing-row-media { position: relative; }
.landing-row-media img,
.landing-row-placeholder {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-s);
  border: 1px solid var(--hair);
  box-shadow: 0 12px 30px -18px rgba(11,16,32,.4);
  background: var(--grad);
}

.landing-row-text { padding: clamp(4px, 2vw, 20px) clamp(4px, 1.5vw, 16px); }
.landing-row-num {
  display: block;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  color: var(--muted);
  margin-bottom: 16px;
}
.landing-row-text .eyebrow { margin-bottom: 16px; }
.landing-row-text h3 {
  font-size: clamp(26px, 3.2vw, 40px);
  margin: 0 0 18px;
  letter-spacing: -0.022em;
  line-height: 1.08;
}
.landing-row-body { color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 52ch; }
.landing-row-body p { margin-bottom: 1em; }
.landing-row-body p:last-child { margin-bottom: 0; }
.landing-row-text .btn { margin-top: 22px; }

@media (max-width: 900px) {
  .landing-row { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .landing-row.is-reversed { direction: ltr; }
  .landing-row-media { order: -1; }
  .landing-row-media img,
  .landing-row-placeholder { aspect-ratio: 16 / 10; }
  .landing-row-text { padding: 4px 4px 8px; }
}

/* Body / "more context" section */
.landing-body-section .landing-section-head { margin-bottom: 24px; }
.landing-body { font-size: 16.5px; line-height: 1.8; color: var(--fg); max-width: 760px; margin: 0; }
.landing-body p { margin-bottom: 1.2em; }
.landing-body h2 { font-size: clamp(26px, 3vw, 38px); margin: 1.4em 0 .5em; letter-spacing: -0.018em; }
.landing-body h3 { font-size: 22px; margin: 1.2em 0 .4em; }

/* FAQ */
.landing-faq-section { background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg-soft) 50%, transparent)); }
.landing-faq { display: grid; gap: 12px; max-width: 820px; margin: 0; }
.landing-faq details {
  border: 1px solid var(--hair);
  border-radius: var(--radius-s);
  padding: 20px 24px;
  background: var(--bg-card);
  box-shadow: 0 6px 18px -14px rgba(11,16,32,.16);
  transition: border-color .2s, box-shadow .25s;
}
.landing-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--display); font-size: 19px; letter-spacing: -0.01em;
}
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq .faq-toggle {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--hair-strong);
  flex: none;
  transition: background .2s, border-color .2s, transform .25s;
}
.landing-faq .faq-toggle::before,
.landing-faq .faq-toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 2px;
  background: var(--fg);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: opacity .2s;
}
.landing-faq .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.landing-faq details[open] { border-color: transparent; box-shadow: 0 14px 36px -22px var(--grad-shadow), 0 0 0 1px var(--hair-strong); }
.landing-faq details[open] .faq-toggle { background: var(--grad); border-color: transparent; }
.landing-faq details[open] .faq-toggle::before,
.landing-faq details[open] .faq-toggle::after { background: #fff; }
.landing-faq details[open] .faq-toggle::after { opacity: 0; }
.landing-faq p { color: var(--muted); margin: 14px 0 0; line-height: 1.65; }

/* Admin rows-editor (content_rows field type) */
.rows-editor { display: grid; gap: 18px; margin-top: 6px; }
.rows-editor .row-item {
  border: 1px solid var(--hair);
  border-radius: var(--radius-s);
  padding: 18px;
  background: var(--bg-soft);
  margin: 0;
}
.rows-editor .row-item-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.rows-editor .row-grid { display: grid; grid-template-columns: 220px 1fr; gap: 18px; }
@media (max-width: 720px) { .rows-editor .row-grid { grid-template-columns: 1fr; } }
.rows-editor .row-image label { display: block; }
.rows-editor .row-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xs);
  border: 1px solid var(--hair);
  margin-bottom: 8px;
  background: var(--bg-card);
}
.rows-editor .row-image-controls { display: grid; gap: 8px; }
.rows-editor .row-fields { display: grid; gap: 12px; }
.rows-editor .row-fields label,
.rows-editor .row-image label {
  display: block;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 4px;
}
.rows-editor input[type="text"],
.rows-editor textarea {
  width: 100%; padding: 10px 12px; border-radius: 8px;
  background: var(--bg-card); border: 1px solid var(--hair);
  color: var(--fg); font: 14px var(--body);
}
.rows-editor textarea { min-height: 96px; resize: vertical; }
.rows-editor .row-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 720px) { .rows-editor .row-cta-grid { grid-template-columns: 1fr; } }

/* ============================ utility ================================== */
.text-muted { color: var(--muted); }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hide-mobile { } @media (max-width: 700px) { .hide-mobile { display: none; } }
