/* Search Profit — site styles */
:root {
  --bg: #000000;
  --bg2: #0d0d10;
  --panel: #141417;
  --panel2: #1d1d22;
  --line: rgba(255, 255, 255, 0.1);
  --line2: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --muted: #a8a8b0;
  --accent: #e6a93f;
  --accent2: #45d49a;
  --glow: rgba(230, 169, 63, 0.2);
  --glow2: rgba(69, 212, 154, 0.12);
  --on-accent: #000000;
  --radius: 28px;
  --radius-sm: 16px;
  --max: 1160px;
  --head: "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}
:root[data-theme="light"] {
  --bg: #f7f5ef;
  --bg2: #efece3;
  --panel: #ffffff;
  --panel2: #f3f0e8;
  --line: rgba(7, 35, 48, 0.12);
  --line2: rgba(7, 35, 48, 0.24);
  --text: #072330;
  --muted: #4d6470;
  --accent: #a96d0c;
  --accent2: #0f7a55;
  --glow: rgba(217, 154, 43, 0.22);
  --glow2: rgba(18, 128, 90, 0.12);
  --on-accent: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
section { padding: 96px 0; }
.section-tight { padding: 56px 0; }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.display { font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.12; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.2; }
p { margin: 0; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.accent {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent2) 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { font-size: 0.86rem; letter-spacing: 0.02em; color: var(--muted); margin-bottom: 18px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.stack > * + * { margin-top: 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--accent); color: var(--text);
  font-weight: 500; font-size: 0.98rem; line-height: 1;
  background: linear-gradient(180deg, transparent, var(--glow));
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-1px); }
.btn .arr { width: 14px; height: 14px; color: var(--accent); transition: transform 0.2s ease, color 0.2s ease; }
.btn:hover .arr { color: currentColor; transform: translate(2px, -2px); }
.btn--solid { background: var(--accent); color: var(--on-accent); }
.btn--solid .arr { color: currentColor; }
.btn--solid:hover { filter: brightness(1.08); }
.btn--ghost { border-color: var(--line2); background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }
.link { border-bottom: 1px solid var(--line2); padding-bottom: 2px; display: inline-flex; gap: 8px; align-items: center; }
.link:hover { border-color: var(--accent); color: var(--accent); }
.link .arr { width: 12px; height: 12px; color: var(--accent); }

/* Header */
.header { position: sticky; top: 14px; z-index: 50; }
.nav {
  display: flex; align-items: center; gap: 20px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line); border-radius: 20px;
  background: color-mix(in srgb, var(--bg2) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
:root:not([data-theme="light"]) .band .card { --panel: #1b1b20; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; letter-spacing: 0.06em; font-size: 0.95rem; white-space: nowrap; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0 auto 0 12px; padding: 0; }
.nav-links a { padding: 7px 13px; border-radius: 999px; font-size: 0.95rem; color: var(--text); opacity: 0.86; }
.nav-links a:hover { opacity: 1; background: var(--line); }
.nav-links a[aria-current="page"] { background: var(--text); color: var(--bg); opacity: 1; }
.nav-tools { display: flex; align-items: center; gap: 12px; }
.theme { width: 46px; height: 26px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; position: relative; padding: 0; }
.theme::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); transition: transform 0.25s ease; transform: translateX(20px); }
:root[data-theme="light"] .theme::after { transform: translateX(0); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line2); background: transparent; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -5px; }
.menu-btn span::after { position: absolute; top: 5px; }

/* Hero */
.hero { padding: 96px 0 56px; text-align: center; }
.hero .eyebrow { font-size: 1rem; color: var(--text); }
.hero .lead { margin: 26px auto 0; }
.hero .lead + .lead { margin-top: 14px; }
.hero .btn-row { margin-top: 32px; justify-content: center; }
.hero--page { padding-bottom: 24px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; text-align: left; }
.hero-stats div { border-top: 1px solid var(--line2); padding-top: 14px; }
.hero-stats strong { display: block; font-family: var(--head); font-weight: 400; font-size: 1.5rem; }
.hero-stats span { color: var(--muted); font-size: 0.92rem; }

/* Glow panels */
.glow {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background:
    radial-gradient(60% 80% at 100% 100%, var(--glow), transparent 70%),
    radial-gradient(50% 70% at 0% 0%, var(--glow2), transparent 70%),
    var(--panel);
}
.visual { padding: clamp(18px, 3vw, 36px); display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(16px, 3vw, 32px); align-items: stretch; }
.chart-card, .board { border: 1px solid var(--line); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--bg) 70%, transparent); padding: 20px; }
.chart-card { display: flex; flex-direction: column; }
.chart-card svg { margin-block: auto; }
[id] { scroll-margin-top: 96px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--muted); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); }
.chart-card svg { width: 100%; height: auto; }
.chart-note { font-size: 0.78rem; color: var(--muted); margin-top: 10px; }

/* Tickets */
.ticket { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--panel); text-align: left; }
.ticket + .ticket { margin-top: 10px; }
.ticket-top { display: flex; justify-content: space-between; gap: 10px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ticket-status { color: var(--accent2); }
.ticket-status.qa { color: var(--accent); }
.ticket h4 { font-family: var(--body); font-weight: 600; font-size: 0.98rem; letter-spacing: 0; margin: 6px 0 8px; }
.ticket p { font-size: 0.88rem; color: var(--muted); margin-bottom: 10px; }
.ticket pre { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 0.78rem; overflow-x: auto; color: var(--accent2); }
.scores { display: flex; flex-wrap: wrap; gap: 6px; }
.scores span { font-size: 0.72rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); }
.scores b { color: var(--text); font-weight: 600; }

/* Section heads */
.head-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.head-split .lead { justify-self: end; }
.head-stack { max-width: 720px; margin-bottom: 48px; }
.head-stack .lead { margin-top: 20px; }
.head-stack .btn { margin-top: 26px; }
.center.head-stack { margin-inline: auto; }

/* Service scroller */
.scroller { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(20px, calc((100vw - var(--max)) / 2)) 20px; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.svc {
  position: relative; overflow: hidden;
  flex: 0 0 320px; height: 500px; scroll-snap-align: start;
  padding: 26px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.12);
  background: #08080a; color: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.svc:hover { transform: translateY(-6px); border-color: var(--accent); }
.svc img { position: absolute; left: 0; bottom: 0; width: 100%; height: 56%; object-fit: cover; object-position: center bottom; transition: transform 0.6s ease; }
.svc:hover img { transform: scale(1.05); }
.svc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #08080a 46%, rgba(8, 8, 10, 0.5) 54%, transparent 64%); pointer-events: none; }
.svc div { position: relative; z-index: 1; }
.svc small { color: rgba(255, 255, 255, 0.6); letter-spacing: 0.08em; }
.svc h3 { margin-top: 8px; font-size: 1.5rem; }
.svc p { color: rgba(255, 255, 255, 0.74); font-size: 0.93rem; margin-top: 10px; }

/* Media panels (video and image) */
.media { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #050506; }
.media video, .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }

/* Client logos */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; padding: clamp(28px, 5vw, 56px) clamp(16px, 3vw, 40px); }
.logo-tile { width: 200px; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; display: grid; place-items: center; padding: 0 22px; border: 1px solid var(--line); transition: transform 0.25s ease; }
.logo-tile:hover { transform: translateY(-4px); }
.logo-tile img { width: 100%; height: auto; max-height: 60%; object-fit: contain; }
.logo-tile--fill { padding: 0; }
.logo-tile--fill img { width: 100%; height: 100%; max-height: none; object-fit: cover; }

/* Method */
.method { list-style: none; margin: 0; padding: 0; }
.method li { display: grid; grid-template-columns: 90px 1fr 1.5fr; gap: 28px; padding: 30px 0; border-top: 1px solid var(--line); align-items: start; }
.method li:last-child { border-bottom: 1px solid var(--line); }
.method .n { font-size: 2.4rem; line-height: 1; letter-spacing: -0.03em; }
.method p { color: var(--muted); }

/* Grids and cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card small { color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.74rem; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .link { margin-top: auto; align-self: flex-start; font-size: 0.93rem; }
.card ul, .ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.card li, .ticks li { position: relative; padding-left: 22px; color: var(--muted); font-size: 0.94rem; }
.card li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 1.5px; background: var(--accent); }
.deliver { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--text); }
.deliver b { display: block; font-size: 0.72rem; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 4px; }
.band { background: var(--bg2); border-radius: 40px; margin-inline: 12px; }

/* Journey demo */
.demo { padding: clamp(18px, 3vw, 34px); }
.demo-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 22px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line2); background: var(--bg); }
.seg button { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font-size: 0.93rem; color: var(--muted); }
.seg button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line2); background: transparent; border-radius: 999px; padding: 7px 14px; font-size: 0.86rem; color: var(--muted); }
button.chip:hover { border-color: var(--accent); color: var(--text); }
.chip[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 22%, transparent); border-color: var(--accent); color: var(--text); }
.query { display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line2); background: var(--bg); font-size: clamp(0.98rem, 1.6vw, 1.15rem); margin: 20px 0; }
.query svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.flow > div { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: color-mix(in srgb, var(--bg) 60%, transparent); }
.flow small { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.flow p { font-size: 0.93rem; }
.flow .is-fix { border-color: var(--accent); }
.flow .is-fix p { color: var(--text); font-weight: 500; }
.demo-foot { font-size: 0.8rem; color: var(--muted); margin-top: 16px; }

/* Steps */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 4px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font-family: var(--head); color: var(--accent); font-size: 1.05rem; }
.steps h3 { font-size: 1.25rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* Calculator */
.calc { padding: clamp(20px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.field { margin-bottom: 22px; }
.field label { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--muted); margin-bottom: 8px; }
.field output { color: var(--text); font-weight: 600; }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 4px; }
.calc-out { display: grid; gap: 16px; }
.calc-out div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; background: color-mix(in srgb, var(--bg) 65%, transparent); }
.calc-out span { font-size: 0.86rem; color: var(--muted); display: block; }
.calc-out strong { font-family: var(--head); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; }
.calc-out .big strong { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.fine { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }

/* Pricing */
.price { position: relative; }
.price .amount { font-family: var(--head); font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; }
.price .amount small { font-size: 1rem; color: var(--muted); text-transform: none; letter-spacing: 0; }
.price .btn { margin-top: auto; align-self: flex-start; }
.price--best { border-color: var(--accent); background: radial-gradient(90% 60% at 100% 0%, var(--glow), transparent 70%), var(--panel); }
.tag { align-self: flex-start; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--head); font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--muted); padding: 0 40px 24px 0; }

/* CTA + footer */
.cta-wrap { padding: 40px 0 28px; }
.cta { padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 64px) 28px; text-align: center; }
.cta .lead { margin: 22px auto 30px; }
.cta--video { --text: #fff; --muted: #c2c2c8; --line2: rgba(255, 255, 255, 0.22); background: #050506; color: #fff; }
.cta--video > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.cta--video::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 40%, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.25)); z-index: 1; }
.cta--video > *:not(video) { position: relative; z-index: 2; }
.foot { margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--line2); display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; font-size: 0.88rem; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a:hover { color: var(--text); }

.legal { margin-top: 16px; font-size: 0.8rem; color: var(--muted); }

/* Team */
.team-center { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.team-center > .person { flex: 0 1 calc((100% - 40px) / 3); }
@media (max-width: 980px) { .team-center > .person { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .team-center > .person { flex-basis: 100%; } }
.person { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; display: flex; flex-direction: column; }
.person-photo { aspect-ratio: 4 / 5; background: #0b0b0d; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(1); transition: filter 0.4s ease, transform 0.6s ease; }
.person:hover .person-photo img { filter: none; transform: scale(1.03); }
.person-fallback { width: 100%; height: 100%; display: grid; place-items: center; font-size: clamp(3rem, 8vw, 5rem); letter-spacing: 0.04em; color: var(--accent); background: radial-gradient(70% 60% at 50% 100%, var(--glow), transparent 70%), #0b0b0d; }
.person-body { padding: 24px 26px 28px; display: grid; gap: 10px; }
.person-body small { color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; }
.person-body p { color: var(--muted); font-size: 0.95rem; }
.person-body ul { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.person-body li { position: relative; padding-left: 22px; color: var(--muted); font-size: 0.9rem; }
.person-body li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 1.5px; background: var(--accent); }

/* Company information */
.company dl { margin: 6px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.company dt { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.company dd { margin: 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 980px) {
  .visual, .split, .calc, .head-split { grid-template-columns: 1fr; }
  .method li { grid-template-columns: 60px 1fr; }
  .method li p { grid-column: 2; }
  .media--wide { aspect-ratio: 16 / 9; }
  .head-split .lead { justify-self: start; }
  .grid-3, .grid-4, .flow { grid-template-columns: repeat(2, 1fr); }
  .menu-btn { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  .nav-tools { margin-left: auto; }
  .nav-links { display: none; order: 5; width: 100%; flex-direction: column; margin: 6px 0 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 11px 14px; }
  .nav-tools .btn { display: none; }
}
@media (max-width: 640px) {
  section { padding: 68px 0; }
  .hero { padding-top: 64px; }
  .grid-2, .grid-3, .grid-4, .flow, .hero-stats { grid-template-columns: 1fr; }
  .svc { flex-basis: 260px; min-height: 340px; }
  .band { margin-inline: 0; border-radius: 28px; }
  .foot { justify-content: flex-start; }
}

/* Highlighted nav item (Offer): same treatment as the outline button, scaled down */
.nav-links a.nav-hot { opacity: 1; padding-block: 6px; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); background: linear-gradient(180deg, transparent, var(--glow)); transition: border-color 0.2s ease; }
.nav-links a.nav-hot:hover { border-color: var(--accent); background: linear-gradient(180deg, transparent, var(--glow)); }
.nav-links a.nav-hot[aria-current="page"] { background: var(--text); border-color: var(--text); }
/* Nine nav items: tighter spacing, and the menu button takes over below 1200px */
.nav { gap: 14px; }
.nav-links { gap: 2px; margin-left: 6px; }
.nav-links a { padding-inline: 9px; white-space: nowrap; }
.nav-tools .btn { white-space: nowrap; }
@media (max-width: 1200px) {
  .menu-btn { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  .nav-tools { margin-left: auto; }
  .nav-links { display: none; order: 5; width: 100%; flex-direction: column; gap: 4px; margin: 6px 0 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 11px 14px; }
  .nav-links a.nav-hot { width: fit-content; padding: 10px 14px; margin: 4px 0; }
}

/* Case studies index */
.cs-list { display: grid; gap: 24px; }
.cs-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(16px, 3vw, 32px); padding: clamp(18px, 3vw, 36px); color: inherit; transition: transform 0.25s ease, border-color 0.25s ease; }
.cs-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.cs-card:nth-child(even) .cs-media { order: -1; }
.cs-body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(4px, 1.5vw, 16px); }
.cs-body .card-head { margin-bottom: 0; }
.cs-body h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.cs-body > p { color: var(--muted); }
.cs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 6px; }
.cs-stats div { border-top: 1px solid var(--line2); padding-top: 12px; }
.cs-stats strong { display: block; width: fit-content; font-family: var(--head); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; }
.cs-stats span { color: var(--muted); font-size: 0.88rem; }
.cs-body .link { align-self: flex-start; margin-top: 6px; }
.cs-card:hover .link { border-color: var(--accent); color: var(--accent); }
.cs-media { position: relative; min-height: 360px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: #050506; }
.cs-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cs-card:hover .cs-media img { transform: scale(1.04); }
.cs-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55)); }
.cs-tag { position: absolute; left: 16px; bottom: 16px; z-index: 1; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 980px) {
  .cs-card { grid-template-columns: 1fr; }
  .cs-card:nth-child(even) .cs-media { order: 0; }
  .cs-media { min-height: 260px; }
}
@media (max-width: 640px) { .cs-stats { gap: 10px; } .cs-stats span { font-size: 0.8rem; } }

/* Partner banner (below client logos) */
.partner { margin-top: 18px; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4.5vw, 56px); text-align: left; }
.partner .eyebrow { margin-bottom: 20px; }
.partner-brand { display: inline-flex; color: var(--text); margin-bottom: 22px; transition: opacity 0.2s ease; }
.partner-brand:hover { opacity: 0.75; }
.partner-logo { height: 34px; width: auto; display: block; }
.partner h3 { font-family: var(--head); font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
.partner .lead { margin-top: 16px; max-width: 46ch; }
.partner .btn-row { margin-top: 26px; }
.partner-links { display: grid; gap: 14px; }
.partner-link { position: relative; display: grid; gap: 6px; padding: 22px 24px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--bg) 70%, transparent); color: var(--text); text-decoration: none; transition: transform 0.25s ease, border-color 0.25s ease; }
.partner-link:hover { transform: translateY(-3px); border-color: var(--accent); }
.partner-tag { font-size: 0.78rem; letter-spacing: 0.08em; color: var(--accent); }
.partner-link strong { font-weight: 500; font-size: 1.2rem; letter-spacing: -0.01em; }
.partner-link span:not(.partner-tag) { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.partner-link em { font-style: normal; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 0.9rem; font-weight: 500; color: var(--text); }
.partner-link .arr { width: 13px; height: 13px; color: var(--accent); transition: transform 0.2s ease; }
.partner-link:hover .arr { transform: translate(2px, -2px); }
@media (max-width: 980px) { .partner { grid-template-columns: 1fr; } .partner .lead { max-width: none; } }
@media (max-width: 640px) { .partner-logo { height: 28px; } .partner-link { padding: 18px 18px 16px; } }
