@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300;400;500;600;700;800&display=swap');

/* ---------- Tokens ---------- */
:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --grey: #888888;
  --grey-light: #f2f0ec;
  --lavender: #ececf3;
  --border-light: rgba(10, 10, 10, 0.1);
  --border-dark: rgba(255, 255, 255, 0.1);
  --radius-xl: 32px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-full: 999px;
  --chamfer: 14px;
  --frame-gap: 14px;
  --container: 1240px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --accent-red: #f0492a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Hide scrollbars everywhere while keeping scroll fully functional */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Legacy Edge/IE */
}
html::-webkit-scrollbar { display: none; width: 0; height: 0; } /* Chrome/Safari */

body {
  font-family: 'Funnel Display', sans-serif;
  background: var(--black);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-anchor: none;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ---------- Smooth (inertia) scroll ---------- */
.page-frame.smooth-scroll-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform;
}
.scroll-spacer { width: 100%; pointer-events: none; }

/* ---------- Custom cursor ---------- */
@media (pointer: fine) {
  body, a, button {
    cursor: none;
  }
  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .cursor-dot.active { opacity: 1; }
  .cursor-dot-inner {
    width: 30px;
    height: 30px;
    margin-left: -15px;
    margin-top: -15px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.35);
    transition: background 0.15s ease;
    animation: heartbeat 1.15s ease-in-out infinite;
  }
  .cursor-dot-inner.theme-light { background: var(--black); }
  .cursor-dot-inner.theme-dark { background: var(--white); }
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.35); }
  28% { transform: scale(1); }
  42% { transform: scale(1.3); }
  70% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-dot-inner { animation: none; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(12px, 1.8vw, 24px);
}

section { position: relative; }

/* ---------- Page frame: black outer background, rounded card sections ---------- */
.page-frame {
  padding: var(--frame-gap);
  display: flex;
  flex-direction: column;
  gap: var(--frame-gap);
}
.card-section {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.bg-white { background: var(--white); }
.bg-black { background: var(--black); }
.bg-lavender { background: var(--lavender); }
.bg-plain { background: var(--white); border-radius: 0; }
.bg-grey { background: var(--grey-light); }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Funnel Display', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 6px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: rgba(10,10,10,0.03);
}
.eyebrow.on-dark { color: rgba(250, 250, 250, 0.6); border-color: var(--border-dark); background: rgba(255,255,255,0.04); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { font-size: clamp(1.6rem, 4vw, 3.2rem); margin-bottom: 16px; }
.section-head p { color: var(--grey); font-size: 1rem; max-width: 54ch; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; max-width: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Funnel Display', sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.6rem;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
  border: 1px solid var(--black);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(10, 10, 10, 0.2) !important; }
.btn:active { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(10, 10, 10, 0.16) !important; }
.btn-primary { background: var(--black); color: var(--white); border-color: transparent; }
.btn-primary:hover { background: #2a2a2a; }
.btn-outline { background: transparent; color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: var(--white); color: var(--black); }
.btn-white { background: var(--white); color: var(--black); border-color: transparent; }
.btn-white:hover { background: rgba(255,255,255,0.85); }
.btn-tint { background: rgba(255,255,255,0.16); color: var(--white); border-color: rgba(255,255,255,0.3); backdrop-filter: blur(6px); }
.btn-tint:hover { background: rgba(255,255,255,0.28); }
.btn-gradient { background: linear-gradient(135deg, #FF7788, #FF9267); color: var(--white); border-color: transparent; }
.btn-gradient:hover { background: linear-gradient(135deg, #ff8a99, #ffa378); }

/* ---------- Nav (floating, always fixed) ---------- */
.nav {
  position: fixed;
  top: 24px; left: 0; right: 0;
  z-index: 100;
  pointer-events: none;
}
.nav::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 96px;
  background: rgba(10,10,10,0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
  pointer-events: none;
}
.nav.nav-scrolled::before { opacity: 1; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
}
.nav-inner > * { pointer-events: auto; }
/* Below the container's max-width breakpoint, .container isn't auto-centered yet,
   so the fixed nav (which sits outside .page-frame) needs the frame-gap added back
   in manually to line up with every card-section's content edge. */
@media (max-width: 1267px) {
  .nav-inner {
    padding-left: calc(var(--frame-gap) + clamp(12px, 1.8vw, 24px));
    padding-right: calc(var(--frame-gap) + clamp(12px, 1.8vw, 24px));
  }
}
.nav-logo {
  display: flex; align-items: center;
}
.nav-logo-img { height: 24px; width: auto; display: block; filter: brightness(0) invert(1); }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  color: rgba(250, 250, 250, 0.85);
  padding: 8px 16px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--white); }

.nav-cta .btn { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }

.nav-links, .nav-cta { display: none; }
.nav-burger {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white);
  border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.nav-burger span { width: 16px; height: 1.5px; background: var(--black); transition: all 0.2s ease; }

/* ---------- Full-screen menu ---------- */
.full-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--black);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}
.full-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }

.full-menu .container { width: 100%; }
.full-menu-topbar { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }
.full-menu-logo-img { height: 22px; width: auto; display: block; filter: brightness(0) invert(1); }
.full-menu-topbar-actions { display: flex; align-items: center; gap: 12px; }
.full-menu-close {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--white);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.full-menu-close:hover { background: rgba(255,255,255,0.1); }
.full-menu-close svg { width: 16px; height: 16px; }

.full-menu-divider { border-top: 1px solid rgba(255,255,255,0.14); }

.full-menu-list { display: flex; flex-direction: column; flex: 1; justify-content: center; padding-top: 24px; padding-bottom: 24px; }
.full-menu-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: padding-left 0.25s var(--ease);
}
.full-menu-item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.full-menu-item:hover { padding-left: 12px; }
.full-menu-item-text {
  font-family: 'Funnel Display', sans-serif; font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(2.2rem, 6vw, 4rem); color: var(--white); line-height: 1;
  display: flex; align-items: baseline; gap: 10px;
}
.full-menu-item-arrow {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.25); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.full-menu-item-arrow svg { width: 18px; height: 18px; }
.full-menu-item:hover .full-menu-item-arrow { background: var(--white); color: var(--black); transform: rotate(45deg); }

.full-menu-bottom {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap;
  padding-top: 28px; padding-bottom: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.full-menu-label { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.full-menu-social { display: flex; gap: 24px; flex-wrap: wrap; }
.full-menu-social a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Funnel Display', sans-serif; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); transition: opacity 0.2s ease;
}
.full-menu-social a:hover { opacity: 0.6; }
.full-menu-social a svg { width: 12px; height: 12px; }
.full-menu-connect { min-width: 260px; }
.full-menu-email-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 10px; }
.full-menu-email-row input {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: 'Funnel Display', sans-serif; font-size: 0.9rem; color: var(--white);
}
.full-menu-email-row input::placeholder { color: rgba(255,255,255,0.4); }
.full-menu-email-row button { background: none; border: none; color: var(--white); cursor: pointer; display: flex; padding: 0; }
.full-menu-email-row button svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .full-menu-bottom { flex-direction: column; gap: 24px; }
  .full-menu-connect { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.05) 0%, rgba(10,10,10,0.25) 55%, rgba(10,10,10,0.85) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 100px; padding-bottom: 44px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(250,250,250,0.14);
  border: 1px solid rgba(250,250,250,0.22);
  backdrop-filter: blur(8px);
  padding: 6px 18px 6px 6px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.hero-badge .dots { display: flex; }
.hero-badge .dots img {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid rgba(10,10,10,0.4);
  margin-left: -8px; object-fit: cover;
}
.hero-badge .dots img:first-child { margin-left: 0; }
.hero-badge p { font-size: 0.8rem; color: rgba(250,250,250,0.9); font-weight: 500; }
.hero-badge strong { color: var(--white); }
.hero h1 {
  color: var(--white);
  font-size: clamp(1.3rem, 4.6vw, 3.6rem);
  max-width: 36ch;
  margin-bottom: 28px;
}
.h1-mobile { display: none; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-client-badge {
  background: rgba(10,10,10,0.55); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
}
.hero-client-badge strong { display:block; color: var(--white); font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 2px; }
.hero-client-badge span { font-family:'Funnel Display', sans-serif; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,250,250,0.5); }
.hero-client-badge .pag { display:flex; gap:4px; justify-content:center; margin-top:8px; }
.hero-client-badge .pag i { width:4px; height:4px; border-radius:50%; background: rgba(255,255,255,0.35); }
.hero-client-badge .pag i:first-child { background: var(--white); }

/* ---------- Trusted strip (plain, not a card) ---------- */
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: clamp(40px, 6vw, 80px); animation: marquee 26s linear infinite; }
.marquee-track span { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; color: rgba(250,250,250,0.55); white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Reference-matched components (About / Work / Process / Services) ---------- */
.eyebrow-ref {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 0.85rem;
  color: var(--accent-red);
}
.eyebrow-ref svg { width: 16px; height: 16px; flex-shrink: 0; }
.eyebrow-ref.on-dark { color: var(--accent-red); }
.ref-heading {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.2; color: var(--black); max-width: 26ch;
}
.ref-heading.on-dark { color: var(--white); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 0.9rem;
  color: var(--accent-red); margin-top: 24px; transition: gap 0.2s ease;
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 12px; }

.ref-grid { display: grid; grid-template-columns: 0.3fr 0.7fr; gap: 32px; align-items: start; }

.btn-pill-black {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 0.86rem;
  padding: 0.9rem 1.7rem; background: var(--black); color: var(--white);
  border-radius: 0; border: none; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap; margin-top: 20px;
}
.btn-pill-black:hover { background: #2a2a2a; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(10,10,10,0.2); }

/* ---------- About ---------- */
.about { padding: clamp(64px, 9vw, 110px) 0; }
.ref-grid-about { display: grid; grid-template-columns: 0.28fr 0.72fr; gap: 32px; align-items: start; }
.ref-grid-about .ref-heading { max-width: 46ch; font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
.about-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.quote-card-ref {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 28px; min-height: 280px;
}
.stars-row { color: var(--accent-red); letter-spacing: 3px; font-size: 1.4rem; line-height: 1; }
.quote-text-ref { font-style: italic; font-size: 1.15rem; line-height: 1.4; color: var(--black); flex: 1; }
.quote-text-ref strong { font-weight: 700; }
.quote-text-ref .quote-dim { font-weight: 500; color: var(--grey); }
.quote-person { display: flex; align-items: center; gap: 12px; }
.quote-person img { width: 52px; height: 52px; border-radius: var(--radius-md); object-fit: cover; flex-shrink: 0; }
.quote-person strong { display: block; font-size: 0.95rem; font-weight: 700; }
.quote-person span { font-size: 0.8rem; color: var(--grey); }

.work-highlight-card {
  position: relative; background: var(--white); border-radius: var(--radius-lg);
  padding: 24px; display: flex; flex-direction: column; justify-content: space-between; min-height: 280px;
}
.work-highlight-top { display: flex; justify-content: space-between; align-items: flex-start; }
.plus-mark { color: var(--grey); font-size: 1.4rem; line-height: 1; font-weight: 300; }
.work-highlight-media { width: 42%; aspect-ratio: 1 / 1; border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0; }
.work-highlight-media img { width: 100%; height: 100%; object-fit: cover; }
.work-highlight-info {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.work-highlight-info strong { display: block; font-size: 1rem; font-weight: 700; }
.work-highlight-info span { font-size: 0.82rem; color: var(--grey); }
.work-highlight-info svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent-red); }

/* ---------- Benefits ---------- */
.benefits { padding: clamp(64px, 9vw, 110px) 0; }
.benefits-head { display: grid; grid-template-columns: 0.22fr 0.78fr; gap: 32px; margin-bottom: 48px; align-items: start; }
.benefits-head .ref-heading { max-width: 40ch; }
.benefits-desc { color: var(--grey); font-size: 1rem; margin-top: 16px; max-width: 56ch; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; min-height: 460px;
}
.benefit-icon {
  width: 40px; height: 40px; border-radius: 12px; background: var(--grey-light); color: var(--accent-red);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; flex-shrink: 0;
}
.benefit-icon svg { width: 20px; height: 20px; }
.benefit-card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.benefit-card > p { color: var(--grey); font-size: 0.92rem; line-height: 1.55; max-width: 26ch; }
.benefit-fill { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; margin-top: 24px; }
.benefit-fill-clock { align-items: center; }

.pricing-slider { margin-bottom: 24px; }
.pricing-slider-track { position: relative; height: 6px; border-radius: 999px; background: var(--grey-light); }
.pricing-slider-fill { position: absolute; top: 0; left: 0; height: 100%; width: 68%; border-radius: 999px; background: var(--accent-red); }
.pricing-slider-thumb {
  position: absolute; top: 50%; left: 68%; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-red); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--accent-red);
  transform: translate(-50%, -50%);
}
.pricing-slider-labels { display: flex; justify-content: space-between; margin-top: 14px; font-size: 0.78rem; color: var(--grey); }
.benefit-stat { display: flex; flex-direction: column; gap: 4px; padding-top: 20px; border-top: 1px solid var(--border-light); align-self: stretch; }
.benefit-stat span { font-size: 0.78rem; color: var(--grey); }
.benefit-stat strong { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.benefit-stat-center { align-items: center; text-align: center; }

.support-phone {
  position: relative; width: 100%; min-height: 140px;
  background: var(--grey-light); border-radius: var(--radius-lg); border: 1px solid var(--border-light);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 20px; padding: 20px 14px;
}
.support-phone-label { font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em; text-align: center; margin-top: 12px; }
.support-notification {
  margin-top: auto; width: 100%; background: var(--accent-red); border-radius: var(--radius-md);
  padding: 12px 14px; color: var(--white); box-shadow: 0 14px 28px rgba(240,73,42,0.3);
}
.support-notification-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.65rem; opacity: 0.85; margin-bottom: 6px; }
.support-notification-tag { font-weight: 700; letter-spacing: 0.05em; }
.support-notification p { font-size: 0.82rem; font-weight: 600; }

.benefit-clock { width: 120px; height: 120px; margin: 0 auto 24px; display: block; }

/* ---------- Stats ---------- */
.stats { padding: clamp(56px, 8vw, 96px) 0; }
.stats .section-head p { color: rgba(250,250,250,0.5); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  padding: 28px clamp(16px, 2vw, 28px) 0;
  border-top: 1px solid var(--border-dark);
}
.stat-item:not(:first-child) { border-left: 1px solid var(--border-dark); }
.stat-number {
  font-family: 'Funnel Display', sans-serif; font-weight: 800;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem); letter-spacing: -0.03em;
  color: var(--white); line-height: 1; margin-bottom: 14px;
}
.stat-label { color: rgba(250,250,250,0.5); font-size: 0.88rem; max-width: 22ch; }

/* ---------- Why PrimeBoxie (AI Advantage) ---------- */
.why { padding: clamp(64px, 9vw, 110px) 0; }
.why-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.why-copy p { color: var(--grey); font-size: 1rem; margin: 18px 0 28px; max-width: 46ch; }
.why-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-pillar { background: var(--grey-light); border-radius: var(--radius-md); padding: 26px; display: flex; flex-direction: column; gap: 30px; }
.why-pillar-top { display: flex; justify-content: space-between; align-items: flex-start; }
.why-pillar h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.why-pillar .num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--black); color: var(--white);
  font-family:'Funnel Display', sans-serif; font-size: 0.65rem; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.why-pillar p { color: var(--grey); font-size: 0.85rem; line-height: 1.55; }

/* ---------- Work / Case Studies ---------- */
.work { padding: clamp(64px, 9vw, 110px) 0; }
.cs-ref-head { margin-bottom: 48px; align-items: stretch; }
.cs-ref-head .ref-heading { margin-top: 0; max-width: none; font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
.cs-ref-eyebrow-col { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; height: 100%; }
.cs-ref-eyebrow-col .btn-pill-black { margin-top: 0; }
.cs-ref-sub { color: var(--grey); font-size: 0.95rem; margin-top: 10px; }
.cs-ref-desc { color: var(--grey); font-size: 1rem; margin-top: 16px; max-width: 52ch; }
.cs-ref-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cs-ref-card { display: flex; flex-direction: column; gap: 6px; }
/* Case study cards temporarily disabled — remove this rule to re-enable clicking. */
.cs-ref-card, .work-highlight-card, #csGrid .cs-ref-card {
  pointer-events: none;
  cursor: default;
}
.cs-ref-media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 12px; }
.cs-ref-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cs-ref-media .cs-gradient { transition: transform 0.6s var(--ease); }
.cs-ref-card:hover .cs-ref-media img,
.cs-ref-card:hover .cs-ref-media .cs-gradient { transform: scale(1.05); }
.cs-ref-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(250,250,250,0.92); backdrop-filter: blur(6px); color: var(--black);
  font-family: 'Funnel Display', sans-serif; font-size: 0.68rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.cs-ref-card strong { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--black); }
.cs-ref-card span { color: var(--grey); font-size: 0.88rem; }
.cs-ref-card .cs-ref-tag { color: var(--black); }

/* ---------- Blog cards (independent of .cs-ref-card — must stay clickable) ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.blog-card { display: flex; flex-direction: column; gap: 6px; }
.blog-card-media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 12px; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(250,250,250,0.92); backdrop-filter: blur(6px); color: var(--black);
  font-family: 'Funnel Display', sans-serif; font-size: 0.68rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.blog-card strong { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--black); }
.blog-card-meta { color: var(--grey); font-size: 0.88rem; }

/* ---------- Process / Methodology ---------- */
.process { padding: clamp(72px, 10vw, 130px) 0 clamp(48px, 7vw, 88px); position: relative; background: #0c0c0c; overflow: hidden; }
.process-noise {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(ellipse 900px 520px at 62% 0%, rgba(255,255,255,0.06), transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}
.methodology-content { position: relative; z-index: 2; }
.methodology-content .ref-heading { margin-top: 0; max-width: none; font-size: clamp(2rem, 4.2vw, 3.4rem); }
.methodology-desc { color: rgba(250,250,250,0.6); font-size: 1rem; margin-top: 20px; max-width: none; }
.methodology-links { display: flex; flex-direction: column; gap: 4px; margin-top: 36px; }
.arrow-link-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 1.05rem;
  color: var(--white); padding: 16px 4px; border-top: 1px solid rgba(255,255,255,0.12);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.arrow-link-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.arrow-link-row svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent-red); }
.arrow-link-row:hover { color: var(--accent-red); padding-left: 10px; }
.methodology-deco { position: relative; z-index: 2; display: flex; justify-content: space-between; padding: 0 4px; margin-top: 64px; color: rgba(255,255,255,0.22); font-size: 1.3rem; font-weight: 300; }
.methodology-logos { position: relative; z-index: 2; margin-top: 40px; }


/* ---------- Services ---------- */
.services { padding: clamp(64px, 9vw, 110px) 0; }
.services-head-ref { display: grid; grid-template-columns: 0.22fr 0.78fr; gap: 32px; margin-bottom: 48px; align-items: stretch; }
.services-head-ref .ref-heading { max-width: 34ch; }
.services-head-ref p { color: var(--grey); font-size: 1rem; margin-top: 16px; max-width: 52ch; }
.services-eyebrow-col { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; height: 100%; }
.services-eyebrow-col .btn-pill-black { margin-top: 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 270px;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
  background: var(--black); border-color: var(--black);
  box-shadow: 0 20px 44px rgba(10, 10, 10, 0.14); transform: translateY(-3px);
}
.service-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grey-light); color: var(--accent-red);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}
.service-icon svg { width: 20px; height: 20px; }
.service-card:hover .service-icon { background: rgba(255,255,255,0.12); color: var(--accent-red); }
.service-card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin-top: 6px; transition: color 0.25s ease; }
.service-card:hover h3 { color: var(--white); }
.service-card p { color: var(--grey); font-size: 0.88rem; line-height: 1.6; transition: color 0.25s ease; }
.service-card:hover p { color: rgba(250,250,250,0.6); }
.service-link {
  font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 0.85rem;
  color: var(--accent-red); margin-top: auto; padding-top: 6px;
  transition: color 0.25s ease, opacity 0.2s ease;
}
.service-link:hover { opacity: 0.6; }
.service-card:hover .service-link { color: var(--accent-red); }

/* ---------- Testimonials ---------- */
.testimonials { padding: clamp(64px, 9vw, 110px) 0; }
.testimonials-body { display: grid; grid-template-columns: 0.3fr 0.7fr; gap: 32px; margin-top: 44px; align-items: stretch; }
.rating-card-ref {
  position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center;
}
.corner-plus { position: absolute; color: rgba(10,10,10,0.15); font-size: 1.1rem; font-weight: 300; line-height: 1; pointer-events: none; }
.corner-plus-tl { top: 14px; left: 14px; }
.corner-plus-tr { top: 14px; right: 14px; }
.corner-plus-bl { bottom: 14px; left: 14px; }
.corner-plus-br { bottom: 14px; right: 14px; }
.rating-value { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; color: var(--accent-red); }
.rating-label { color: var(--grey); font-size: 0.85rem; margin-top: 6px; }
.rating-avatars { display: flex; justify-content: center; margin-top: 32px; }
.rating-avatars img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); margin-left: -8px; }
.rating-avatars img:first-child { margin-left: 0; }
.rating-trusted { font-size: 0.78rem; color: var(--grey); margin-top: 10px; }
.rating-card-ref .btn-pill-black { margin-top: 0; }
.quote-display-ref {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
}
.quote-top { display: flex; flex-direction: column; gap: 22px; }
.quote-counter { font-family: 'Funnel Display', sans-serif; font-size: 0.85rem; color: var(--grey); }
.quote-text-lg {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-style: italic; font-weight: 500; line-height: 1.45; color: var(--black); max-width: 46ch;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.45em * 4);
}
.quote-person-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.quote-person-info { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name strong { display: block; font-size: 0.92rem; }
.testimonial-name span { font-family: 'Funnel Display', sans-serif; font-size: 0.75rem; color: var(--grey); }
.testimonial-nav-ref { display: flex; gap: 10px; }
.nav-circle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-light);
  background: var(--grey-light); color: var(--black); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.nav-circle svg { width: 16px; height: 16px; }
.nav-circle:hover, .nav-circle-active { background: var(--black); color: var(--white); border-color: var(--black); }
.testimonial-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border-light); }
.testimonial-stat { padding: 0 clamp(16px, 2vw, 28px); }
.testimonial-stat:first-child { padding-left: 0; }
.testimonial-stat:not(:first-child) { border-left: 1px solid var(--border-light); }
.testimonial-stat-number { font-family: 'Funnel Display', sans-serif; font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -0.03em; margin-bottom: 10px; }
.testimonial-stat p { color: var(--grey); font-size: 0.85rem; max-width: 24ch; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(64px, 9vw, 110px) 0; }
.faq-body-ref { display: grid; grid-template-columns: 0.3fr 0.7fr; gap: 32px; margin-top: 44px; align-items: start; }
.faq-side-ref h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.faq-side-ref p { color: var(--grey); font-size: 0.9rem; line-height: 1.6; margin-bottom: 24px; max-width: 32ch; }
.faq-person { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.faq-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.faq-person strong { display: block; font-size: 0.88rem; }
.faq-person span { font-size: 0.78rem; color: var(--grey); }
.faq-list-ref { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius-lg); padding: 20px 24px; cursor: pointer; transition: box-shadow 0.2s ease; }
.faq-item:hover { box-shadow: 0 12px 26px rgba(10,10,10,0.06); }
.faq-item-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-item-head h4 { font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em; }
.faq-item-head .chevron {
  position: relative; width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--black); transition: background 0.2s ease;
}
.faq-item-head .chevron::before, .faq-item-head .chevron::after {
  content: ''; position: absolute; top: 50%; left: 50%; background: var(--white);
  transform: translate(-50%, -50%);
}
.faq-item-head .chevron::before { width: 11px; height: 1.6px; }
.faq-item-head .chevron::after { width: 1.6px; height: 11px; transition: opacity 0.2s ease; }
.faq-item.open .chevron::after { opacity: 0; }
.faq-item-body { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-item.open .faq-item-body { max-height: 160px; }
.faq-item-body p { color: var(--grey); font-size: 0.88rem; padding-top: 14px; max-width: 60ch; }

/* ---------- Insights ---------- */
.insights { padding: clamp(64px, 9vw, 110px) 0; }
.ref-grid-insights { align-items: stretch; }
.ref-grid-insights .ref-heading { max-width: 32ch; }
.insights-eyebrow-col { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; height: 100%; }
.insights-eyebrow-col .btn-pill-black { margin-top: 0; }
.insights-desc { color: var(--grey); font-size: 1rem; margin-top: 16px; max-width: 52ch; }
.insights-row { margin-top: 24px; }
.insights-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; align-items: end; }
.insight-card { display: flex; flex-direction: column; gap: 14px; }
.insight-media { aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg); overflow: hidden; }
.insight-card-lg .insight-media { aspect-ratio: 4 / 5; }
.insight-card-sm .insight-media { aspect-ratio: 1 / 1; }
.insight-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.insight-card:hover .insight-media img { transform: scale(1.05); }
.insight-card strong { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--black); }

/* ---------- CTA ---------- */
.cta {
  padding: clamp(56px, 9vw, 100px) 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #FF7788 0%, #FF9267 100%);
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Cg fill='none' stroke='white' stroke-opacity='0.18' stroke-width='1'%3E%3Ccircle cx='650' cy='80' r='90'/%3E%3Ccircle cx='120' cy='320' r='120'/%3E%3Cpath d='M0 200 H800'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
}
.cta-content { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-text { max-width: 560px; }
.cta h2 { color: var(--white); font-size: clamp(1.6rem, 4vw, 3rem); margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,0.9); font-size: 1rem; max-width: 46ch; }
.cta .btn { flex-shrink: 0; }

/* ---------- Footer ---------- */
.footer { padding: clamp(40px, 5vw, 56px) 0; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--border-dark); }
.footer-brand { display: flex; align-items: center; }
.footer-logo-img { height: 22px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-dark); display:flex; align-items:center; justify-content:center; font-family:'Funnel Display', sans-serif; font-size:0.6rem; color: rgba(250,250,250,0.6); transition: background 0.2s ease, color 0.2s ease; }
.footer-social a:hover { background: var(--white); color: var(--black); }
.footer-mid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 24px 0; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: rgba(250,250,250,0.55); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--white); }
.footer-credit { font-size: 0.82rem; color: rgba(250,250,250,0.45); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--border-dark); }
.footer-bottom p { font-family:'Funnel Display', sans-serif; font-size: 0.65rem; letter-spacing: 0.06em; color: rgba(250,250,250,0.4); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.78rem; color: rgba(250,250,250,0.4); }
.footer-legal a:hover { color: var(--white); }

/* ---------- Page header (sub-pages) ---------- */
.page-header { padding: clamp(140px, 18vw, 200px) 0 clamp(56px, 8vw, 90px); position: relative; overflow: hidden; }
.page-header-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 15%, rgba(255, 92, 141, 0.28), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(80, 120, 255, 0.25), transparent 50%), var(--black);
}
.page-header-content { position: relative; z-index: 2; max-width: 640px; }
.page-header h1 { color: var(--white); font-size: clamp(1.8rem, 5vw, 3.6rem); margin: 16px 0 18px; }
.page-header p { color: rgba(250,250,250,0.55); font-size: 1.05rem; max-width: 50ch; }

/* ---------- Contact info cards ---------- */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -24px; margin-bottom: 24px; }
.contact-info-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 30px; }
.contact-info-card .label { display:block; font-family:'Funnel Display', sans-serif; font-size:0.65rem; letter-spacing:0.12em; text-transform:uppercase; color: var(--grey); margin-bottom: 12px; }
.contact-info-card strong { display:block; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Legal pages (Privacy Policy / Terms of Service) ---------- */
.legal-content { padding: clamp(56px, 8vw, 96px) 0; }
.legal-content .container { max-width: 780px; }
.legal-content .updated { font-size: 0.85rem; color: var(--grey); margin-bottom: 40px; }
.legal-content h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin: 40px 0 14px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { color: var(--grey); font-size: 0.98rem; line-height: 1.75; margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; margin-bottom: 14px; }
.legal-content li { color: var(--grey); font-size: 0.98rem; line-height: 1.75; margin-bottom: 8px; }
.legal-content a { text-decoration: underline; color: var(--black); }

/* ---------- Forms ---------- */
.form-section { padding: clamp(56px, 8vw, 96px) 0; }
.form-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.form-side p { color: var(--grey); font-size: 1rem; margin: 16px 0 28px; max-width: 40ch; }
.form-side-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.form-side-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.92rem; color: var(--grey); }
.form-side-list li::before { content: '✓'; font-weight: 700; color: var(--black); flex-shrink: 0; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family:'Funnel Display', sans-serif; font-size:0.68rem; letter-spacing:0.1em; text-transform:uppercase; color: var(--grey); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: 'Funnel Display', sans-serif; font-size: 0.95rem; color: var(--black);
  background: var(--grey-light); border: 1px solid transparent; border-radius: var(--radius-md);
  padding: 14px 18px; transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white); border-color: var(--black);
}
.field textarea { resize: vertical; min-height: 130px; font-family: 'Funnel Display', sans-serif; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Custom select (replaces native <select>) ---------- */
.custom-select { position: relative; }
.custom-select-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-family: 'Funnel Display', sans-serif; font-size: 0.95rem; color: var(--black); text-align: left;
  background: var(--grey-light); border: 1px solid transparent; border-radius: var(--radius-md);
  padding: 14px 18px; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease;
}
.custom-select-trigger:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.custom-select.open .custom-select-trigger { background: var(--white); border-color: var(--black); }
.custom-select.error .custom-select-trigger { border-color: var(--black); animation: select-shake 0.35s ease; }
@keyframes select-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.custom-select-value { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.custom-select-value.placeholder { color: var(--grey); }
.custom-select-arrow {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 18px; height: 18px; color: var(--grey);
  transition: transform 0.25s var(--ease);
}
.custom-select.open .custom-select-arrow { transform: rotate(180deg); }
.custom-select-panel {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30;
  background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--border-light);
  box-shadow: 0 20px 44px rgba(10, 10, 10, 0.14);
  padding: 8px; max-height: 260px; overflow-y: auto;
  scrollbar-width: none; -ms-overflow-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.custom-select-panel::-webkit-scrollbar { display: none; width: 0; height: 0; }
.custom-select.open .custom-select-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.custom-select-option {
  padding: 12px 14px; border-radius: var(--radius-md); font-size: 0.92rem; color: var(--black);
  cursor: pointer; transition: background 0.15s ease;
}
.custom-select-option:hover, .custom-select-option.active { background: var(--grey-light); }
.form-note { font-size: 0.8rem; color: var(--grey); margin-top: 14px; }
.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success.visible { display: block; }
.form-success h3 { font-size: 1.6rem; margin-bottom: 12px; }
.form-success p { color: var(--grey); max-width: 44ch; margin: 0 auto; }
.request-form.hidden { display: none; }

/* ---------- AI Chat widget ---------- */
.ai-chat { position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 500; }

.ai-chat-orb {
  display: block; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), transparent 45%),
    radial-gradient(circle at 70% 35%, rgba(80, 120, 255, 0.75), transparent 55%),
    radial-gradient(circle at 40% 75%, rgba(255, 92, 141, 0.65), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(120, 200, 255, 0.6), transparent 55%),
    #eef1fb;
  filter: blur(0.5px);
}

.ai-chat-bubble {
  width: 60px; height: 60px; border-radius: 50%; padding: 6px;
  background: var(--white); border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(10, 10, 10, 0.18);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s var(--ease), opacity 0.2s ease, visibility 0.2s;
  animation: ai-bubble-pulse 2.6s ease-in-out infinite;
}
.ai-chat-bubble:hover { transform: scale(1.06); }
.ai-chat-bubble .ai-chat-orb { width: 100%; height: 100%; }
.ai-chat.open .ai-chat-bubble { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes ai-bubble-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(10, 10, 10, 0.18), 0 0 0 0 rgba(120, 150, 255, 0.35); }
  50% { box-shadow: 0 10px 30px rgba(10, 10, 10, 0.18), 0 0 0 10px rgba(120, 150, 255, 0); }
}

.ai-chat-panel {
  position: absolute; right: 0; bottom: 0;
  width: min(360px, calc(100vw - 32px));
  background: var(--white); border-radius: 28px;
  box-shadow: 0 24px 60px rgba(10, 10, 10, 0.22);
  display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.ai-chat.open .ai-chat-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.ai-chat-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border-light); }
.ai-chat-header-id { display: flex; align-items: center; gap: 10px; }
.ai-chat-orb-sm { width: 24px; height: 24px; }
.ai-chat-header-title { font-weight: 700; font-size: 0.9rem; letter-spacing: -0.01em; }
.ai-chat-minimize {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-light);
  background: transparent; cursor: pointer; font-size: 1rem; line-height: 1; color: var(--grey);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, color 0.2s ease;
}
.ai-chat-minimize:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.ai-chat-empty { padding: 32px 24px 20px; text-align: center; }
.ai-chat-orb-lg { width: 80px; height: 80px; margin: 0 auto 20px; }
.ai-chat-empty-title { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 18px; }
.ai-chat-prompts { display: flex; flex-direction: column; gap: 8px; }
.ai-chat-prompt {
  font-family: 'Funnel Display', sans-serif; font-size: 0.85rem; color: var(--black); text-align: left;
  background: var(--grey-light); border: 1px solid transparent; border-radius: var(--radius-md);
  padding: 12px 14px; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease;
}
.ai-chat-prompt:hover { background: var(--white); border-color: var(--border-light); }

.ai-chat-messages { flex: 1; max-height: 340px; min-height: 200px; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: none; -ms-overflow-style: none; }
.ai-chat-messages::-webkit-scrollbar { display: none; width: 0; height: 0; }
.ai-msg { max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: 0.88rem; line-height: 1.5; }
.ai-msg.user { align-self: flex-end; background: var(--black); color: var(--white); border-bottom-right-radius: 4px; }
.ai-msg.assistant { align-self: flex-start; background: var(--grey-light); color: var(--black); border-bottom-left-radius: 4px; }
.ai-typing { display: flex; align-items: center; gap: 4px; padding: 14px; }
.ai-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--grey); animation: ai-typing-bounce 1s ease-in-out infinite; }
.ai-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ai-typing-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.ai-chat-input-row { position: relative; padding: 14px 16px 16px; border-top: 1px solid var(--border-light); }
.ai-chat-input {
  width: 100%; font-family: 'Funnel Display', sans-serif; font-size: 0.9rem; color: var(--black);
  background: var(--grey-light); border: 1px solid transparent; border-radius: 999px;
  padding: 13px 52px 13px 18px; transition: border-color 0.2s ease, background 0.2s ease;
}
.ai-chat-input:focus { outline: none; background: var(--white); border-color: var(--black); }
.ai-chat-send {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: var(--black); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.ai-chat-send:hover { background: #2a2a2a; }

@media (max-width: 480px) {
  .ai-chat-panel { width: calc(100vw - 32px); }
}

/* ---------- Case study gradient covers (shared) ---------- */
.cs-gradient { position: relative; width: 100%; height: 100%; overflow: hidden; }
.cs-gradient::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='white' stroke-opacity='0.14' stroke-width='1'%3E%3Ccircle cx='200' cy='200' r='70'/%3E%3Ccircle cx='200' cy='200' r='130'/%3E%3Cpath d='M200 20 V380 M20 200 H380'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
}
.cs-gradient.blue { background: radial-gradient(circle at 70% 30%, #4d6cff, #1a2550 55%, #0a0a0a); }
.cs-gradient.blue-dark { background: radial-gradient(circle at 65% 65%, #223066, #0a0a0a 60%); }
.cs-gradient.pink { background: radial-gradient(circle at 35% 70%, #ff8a5c, #ff4d8d 45%, #241220); }
.cs-gradient.pink-orange { background: radial-gradient(circle at 30% 30%, #ff9a5c, #ff6f91 50%, #1a0e14); }
.cs-gradient.grey { background: radial-gradient(circle at 30% 20%, #2b2b2b, #0a0a0a 65%); }

/* ---------- Case studies index (grid) ---------- */
.cs-index { padding: clamp(64px, 9vw, 110px) 0; }
.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ---------- Case study detail ---------- */
.cs-cover { position: relative; height: min(70vh, 640px); overflow: hidden; }
.cs-cover img, .cs-cover .cs-gradient { width: 100%; height: 100%; object-fit: cover; }
.cs-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.75) 100%); }
.cs-cover-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 48px clamp(20px, 5vw, 64px); }
.cs-back { display: inline-flex; align-items: center; gap: 8px; color: rgba(250,250,250,0.7); font-family: 'Funnel Display', sans-serif; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.cs-back:hover { color: var(--white); }
.cs-cover-content h1 { color: var(--white); font-size: clamp(1.8rem, 5vw, 3.8rem); max-width: 18ch; margin-bottom: 12px; }
.cs-cover-content p { color: rgba(250,250,250,0.6); font-size: 1.05rem; max-width: 52ch; }

.cs-meta { padding: clamp(40px, 6vw, 64px) 0; border-bottom: 1px solid var(--border-light); }
.cs-meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cs-meta-item .label { display: block; font-family: 'Funnel Display', sans-serif; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.cs-meta-item strong { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }

.cs-body { padding: clamp(56px, 8vw, 96px) 0; }
.cs-lead { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.5; max-width: 62ch; margin-bottom: clamp(48px, 7vw, 80px); }
.cs-block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; margin-bottom: clamp(48px, 7vw, 80px); }
.cs-block.reverse .cs-block-copy { order: 2; }
.cs-block-copy .eyebrow { margin-bottom: 16px; }
.cs-block-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 16px; }
.cs-block-copy p { color: var(--grey); font-size: 0.98rem; }
.cs-block-art { aspect-ratio: 4 / 3.2; border-radius: var(--radius-lg); overflow: hidden; }

.cs-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: clamp(48px, 7vw, 80px); }
.cs-gallery-item { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; }
.cs-gallery-item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 7.5; }

.cs-results { background: var(--grey-light); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cs-result-stat { font-family: 'Funnel Display', sans-serif; font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -0.03em; margin-bottom: 8px; }
.cs-result-label { color: var(--grey); font-size: 0.85rem; }

.cs-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(40px, 6vw, 56px) 0; border-top: 1px solid var(--border-light); margin-top: clamp(24px, 4vw, 40px); }
.cs-nav-link { display: flex; flex-direction: column; gap: 6px; max-width: 45%; }
.cs-nav-link.next { text-align: right; align-items: flex-end; }
.cs-nav-link .label { font-family: 'Funnel Display', sans-serif; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.cs-nav-link strong { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }

.blog-para { color: var(--grey); font-size: 1rem; line-height: 1.7; max-width: 68ch; margin-bottom: 24px; }
.blog-quote {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.4;
  max-width: 56ch; margin: clamp(32px, 5vw, 56px) 0; padding-left: 24px; border-left: 3px solid var(--black);
}

/* ---------- Fade up ---------- */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ----------
   Breakpoints:
   - Desktop:            > 1024px   (base rules above, unchanged)
   - Tablet (both        641px–1024px — deliberately shares the desktop grid rules;
     landscape & portrait) portrait tablets do NOT collapse to the mobile layout below.
     The header nav (links + CTA) is always logo + hamburger at every width now —
     see the unconditional .nav-links/.nav-cta/.nav-burger rules above.
   - Mobile:              ≤ 640px   (single consolidated tier, phones only)
------------------------------------ */
@media (max-width: 640px) {
  .process-grid, .services-grid, .why-grid, .form-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info-grid { grid-template-columns: 1fr; margin-top: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .stats-grid, .why-pillars { grid-template-columns: 1fr; }
  .stat-item:nth-child(2), .stat-item:nth-child(3), .stat-item:nth-child(4) { border-left: none; }
  .ref-grid-about, .ref-grid { grid-template-columns: 1fr; gap: 20px; }
  .testimonials-body, .faq-body-ref { grid-template-columns: 1fr; gap: 32px; }
  .insights-row > div:first-child { display: none; }
  .insights-grid { grid-template-columns: 1fr; }
  .insight-card-lg .insight-media, .insight-card-sm .insight-media { aspect-ratio: 4 / 3.4; }
  .about-cards-row { grid-template-columns: 1fr; }
  .cs-ref-grid { grid-template-columns: 1fr; }
  .services-head-ref, .benefits-head { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .testimonial-stats-row { grid-template-columns: 1fr; }
  .testimonial-stat { border-left: none !important; padding-left: 0; margin-top: 24px; }
  .testimonial-stat:first-child { margin-top: 0; }
  .cs-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .cs-meta-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cs-block, .cs-block.reverse { grid-template-columns: 1fr; }
  .cs-block-art, .cs-block.reverse .cs-block-art { order: -1; }
  .cs-gallery { grid-template-columns: 1fr; }
  .cs-gallery-item:first-child { aspect-ratio: 4 / 3; }
  .cs-results { grid-template-columns: 1fr; }
  .cs-nav-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cs-nav-link.next { text-align: left; align-items: flex-start; max-width: 100%; }
  .cs-nav-link { max-width: 100%; }
  .cs-index, .cs-body, .cs-meta { padding-top: 48px; padding-bottom: 48px; }
  .hero-row { align-items: flex-start; }
  .hero-client-badge { text-align: left; }
  .hero-inner { padding-top: 76px; padding-bottom: 28px; }
  .hero-badge { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(1.6rem, 7vw, 3rem); max-width: none; text-align: left; margin-bottom: 20px; }
  .h1-desktop { display: none; }
  .h1-mobile { display: block; }
  .footer-top, .footer-mid, .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* Buttons share one row instead of stacking */
  .hero-actions { flex-wrap: nowrap; gap: 8px; width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; padding: 0.8rem 0.6rem; font-size: 0.74rem; white-space: nowrap; }

  /* Trim vertical rhythm across every major section to cut scroll length */
  .about, .benefits, .work, .process, .services, .testimonials, .faq, .stats, .why, .form-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .page-header { padding-top: 112px; padding-bottom: 36px; }
  .cta { padding-top: 44px; padding-bottom: 44px; }
  .section-head { margin-bottom: 28px; }
}
