/* ============================================================
   HOI DIGITAL — global.css
   Shared across ALL pages: variables, reset, nav, footer,
   cursor, progress bar, ticker, buttons, utilities
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  --canvas:   #F6F3EE;
  --white:    #FFFFFF;
  --ink:      #161410;
  --ink2:     #38342C;
  --muted:    #8A8278;
  --rule:     #E5E0D6;

  --or:       #D94E1A;
  --or2:      #F26B3A;
  --or-lt:    #FDF0EB;

  --gr:       #1C6641;
  --gr2:      #249155;
  --gr-lt:    #EAF4EE;
  --gr-dk:    #0F3D27;

  --grad-or:  linear-gradient(135deg, #D94E1A 0%, #F26B3A 100%);
  --grad-gr:  linear-gradient(135deg, #1C6641 0%, #249155 100%);

  --gut:      56px;
  --rad:      16px;
  --section:  120px;
}

/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Cabinet Grotesk', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }

/* Custom cursor removed — using the default system cursor.
   The #cur and #cur-r divs in app.blade.php are hidden so they don't render. */
#cur, #cur-r { display: none; }

/* ── SCROLL PROGRESS ── */
#prog {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gr), var(--or));
  z-index: 1000;
  width: 0%;
  transition: width .1s linear;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .4s;
}
nav.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(20px);
  padding: 14px var(--gut);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .08);
}

/* Nav logo */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.5px;
  color: #fff;
  text-decoration: none;
  transition: color .4s;
}
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.nav-logo-text { line-height: 1; }
nav.scrolled .nav-logo { color: var(--ink); }
.nav-logo em { font-style: italic; color: var(--or2); font-weight: 300; }

/* Nav on light pages (about, contact, blog, results, services) */
nav.light-nav .nav-logo { color: var(--ink); }
nav.light-nav .nav-links a { color: var(--muted); }
nav.light-nav .nav-links a:hover { color: var(--ink); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .6);
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 1px;
  background: var(--or);
  transition: right .25s;
}
.nav-links a:hover { color: #fff; }
nav.scrolled .nav-links a { color: var(--muted); }
nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--or); }
nav.scrolled .nav-links a.active { color: var(--or); }

/* Nav CTA */
.nav-cta {
  background: var(--or);
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-cta:hover {
  background: var(--gr);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(28, 102, 65, .3);
}

/* ── TICKER ── */
.ticker {
  background: var(--gr-dk);
  padding: 14px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  animation: tickerMove 16s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s;
}
.ticker-item:hover { color: var(--gr2); }
.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gr2);
  flex-shrink: 0;
}
@keyframes tickerMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--grad-or);
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .25s;
  box-shadow: 0 4px 24px rgba(217, 78, 26, .35);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-gr);
  opacity: 0;
  transition: opacity .3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(28, 102, 65, .4);
}
.btn-primary span,
.btn-primary .arr { position: relative; z-index: 1; }

.btn-ghost {
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  padding-bottom: 2px;
  transition: all .2s;
  text-decoration: none;
}
.btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, .6); }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  padding: 18px 40px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: all .25s;
  box-shadow: 0 4px 24px rgba(22, 20, 16, .2);
  position: relative;
  overflow: hidden;
}
.btn-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-gr);
  opacity: 0;
  transition: opacity .3s;
}
.btn-dark:hover::before { opacity: 1; }
.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(28, 102, 65, .35);
}
.btn-dark span,
.btn-dark .arr { position: relative; z-index: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--rule);
  color: var(--ink);
  background: transparent;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all .2s;
}
.btn-outline:hover { border-color: var(--gr); color: var(--gr); }

.arr { transition: transform .2s; }
.btn-primary:hover .arr,
.btn-dark:hover .arr,
.btn-outline:hover .arr { transform: translateX(4px); }

/* ── SECTION TAG ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 700;
  color: var(--or);
  margin-bottom: 16px;
}
.section-tag .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.section-tag.green { color: var(--gr); }
.section-tag.center { justify-content: center; }

/* ── SERVICE TAGS (chips) ── */
.srv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.srv-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--canvas);
  color: var(--muted);
  border: 1px solid var(--rule);
  font-weight: 500;
  transition: all .2s;
}

/* ── LIVE DOT ── */
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gr2);
  box-shadow: 0 0 8px var(--gr2);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

/* ── AEO BANNER (used on home + services) ── */
.aeo-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--ink);
  border-radius: 20px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06);
}
.aeo-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gr) 0%, var(--gr2) 50%, var(--or) 100%);
}
.aeo-bg-text {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 900;
  font-size: 160px;
  letter-spacing: -6px;
  color: rgba(255, 255, 255, .08);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.aeo-new-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gr-lt);
  color: var(--gr);
  border: 1px solid rgba(28, 102, 65, .3);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  width: fit-content;
}
.aeo-new-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gr2);
  animation: blink 2s infinite;
}
.aeo-banner h3 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -.5px;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.aeo-abbr {
  background: var(--grad-gr);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.aeo-banner p {
  font-size: 15px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
}
.aeo-banner p strong { color: #fff; font-weight: 600; }
.aeo-right { display: flex; flex-direction: column; justify-content: space-between; position: relative; z-index: 1; }
.aeo-stats { display: flex; gap: 28px; margin-bottom: 24px; }
.aeo-stat-num {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 900;
  font-size: 46px;
  letter-spacing: -2px;
  color: var(--gr2);
  display: block;
  line-height: 1;
}
.aeo-stat-lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  display: block;
  margin-top: 5px;
  line-height: 1.4;
  max-width: 110px;
}
.aeo-platforms { display: flex; flex-wrap: wrap; gap: 8px; }
.aeo-plat {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .55);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  transition: all .2s;
}
.aeo-plat:hover { background: rgba(28, 102, 65, .25); color: var(--gr2); border-color: rgba(28, 102, 65, .4); }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 72px var(--gut) 40px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }

/* Footer feature slogan banner */
.footer-feature {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 32px 36px;
  margin-bottom: 56px;
  background: linear-gradient(135deg, rgba(217,78,26,.08), rgba(28,102,65,.08));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.footer-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--or), var(--gr));
}
.footer-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--or), var(--or2));
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(217,78,26,.35);
  flex-shrink: 0;
}
.footer-feature-body { min-width: 0; }
.footer-feature-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -.5px;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 8px 0;
}
.footer-feature-title em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--or2);
}
.footer-feature-sub {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.55);
  margin: 0;
  max-width: 620px;
}
.footer-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  background: var(--or);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.footer-feature-cta:hover {
  background: var(--gr);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28,102,65,.4);
}
.footer-feature-cta .arr { transition: transform .2s; }
.footer-feature-cta:hover .arr { transform: translateX(3px); }

@media (max-width: 768px) {
  .footer-feature {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 22px;
    text-align: left;
  }
  .footer-feature-cta { justify-self: start; }
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.footer-logo {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: #fff;
  letter-spacing: -.5px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer-logo-text { line-height: 1; }
.footer-logo em { font-style: italic; color: var(--or2); font-weight: 300; }
.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, .3);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .25);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, .45);
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, .2);
}
.footer-bottom a { color: rgba(255, 255, 255, .3); transition: color .2s; }
.footer-bottom a:hover { color: rgba(255, 255, 255, .6); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #fbe9e3 0%, #fcf2ec 35%, #f5f3ee 100%);
  /* Top padding accounts for the fixed nav (~64px) + a tight visual gap.
     Was 160px — too much breathing room between nav and breadcrumb. */
  padding: 110px var(--gut) 80px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) {
  .page-hero { padding: 88px var(--gut) 56px; }
}
@media (max-width: 600px) {
  .page-hero { padding: 80px var(--gut) 48px; }
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
}
.page-hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,78,26,.15) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
  filter: blur(30px);
  animation: floatGlow 10s ease-in-out infinite;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 450px; height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28,102,65,.12) 0%, transparent 70%);
  bottom: -120px; left: -80px;
  pointer-events: none;
  filter: blur(30px);
  z-index: 0;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 900;
  font-size: clamp(42px, 5vw, 70px);
  letter-spacing: -3px;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 800px;
}
.page-hero h1 em  { font-style: italic; color: var(--or); font-weight: 300; }
.page-hero h1 .gw { color: var(--gr); }
.page-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}
.page-hero p strong { color: var(--ink); font-weight: 600; }
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.page-hero-breadcrumb a { color: var(--muted); transition: color .2s; }
.page-hero-breadcrumb a:hover { color: var(--ink); }
.page-hero-breadcrumb span { color: rgba(0, 0, 0, .2); }

/* ── PAGE HERO — split layout (text left, visual block right) ── */
.page-hero-inner--split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.page-hero-left  { min-width: 0; }
.page-hero-right { min-width: 0; display: flex; justify-content: flex-end; }

/* ── HERO COMPARE CARD (Pattern A) ── */
.hero-compare-card {
  width: 100%;
  max-width: 480px;
  background: #0a0e1a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 22px 22px 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(10,14,26,.18);
  animation: fadeUp .8s .35s both;
}
.hero-compare-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #e85d3b 0%, #5cad7b 100%);
}
.hcc-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a3a7b3;
  margin-bottom: 16px;
}
.hcc-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--or);
  animation: blink 2s infinite;
}
.hcc-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  overflow: hidden;
}
.hcc-col {
  background: rgba(255,255,255,.025);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hcc-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hcc-col-icon {
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}
.hcc-col--bad  .hcc-col-title { color: #f87171; }
.hcc-col--bad  .hcc-col-icon  { background: rgba(248,113,113,.15); color: #f87171; }
.hcc-col--good .hcc-col-title { color: #5cad7b; }
.hcc-col--good .hcc-col-icon  { background: rgba(92,173,123,.15); color: #5cad7b; }

.hcc-row {
  font-size: 13px;
  line-height: 1.4;
  padding: 9px 12px;
  border-radius: 8px;
  position: relative;
  padding-left: 28px;
}
.hcc-row::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
}
.hcc-row--bad {
  color: rgba(255,255,255,.55);
  background: rgba(248,113,113,.04);
}
.hcc-row--bad::before { background: #f87171; opacity: .65; }
.hcc-row--good {
  color: rgba(255,255,255,.92);
  background: rgba(92,173,123,.06);
}
.hcc-row--good::before { background: #5cad7b; }

/* Responsive — compare card */
@media (max-width: 900px) {
  .page-hero-inner--split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-hero-right { justify-content: flex-start; }
  .hero-compare-card { max-width: 100%; }
}
@media (max-width: 480px) {
  .hcc-cols { grid-template-columns: 1fr; }   /* stack columns on tiny phones */
  .hero-compare-card { padding: 18px 16px 14px; }
}

/* ══════════════════════════════════════════════════════════════
   HERO SIDE CARD — shared base, used on About/Pricing/Results/
   Contact/Blog/Services-index hero right blocks.
   ══════════════════════════════════════════════════════════════ */
.hero-side-card {
  width: 100%;
  max-width: 480px;
  background: #0a0e1a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 24px 22px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(10,14,26,.18);
  animation: fadeUp .8s .35s both;
}
.hero-side-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--or) 0%, var(--gr) 100%);
}
.hsc-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a3a7b3;
  margin-bottom: 18px;
}
.hsc-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--or);
  animation: blink 2s infinite;
}

@media (max-width: 900px) {
  .hero-side-card { max-width: 100%; }
}

/* ── ABOUT — team avatars + stats ── */
.hero-side-card--team .hsc-team-row {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.hsc-team-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  border: 2px solid #0a0e1a;
  margin-left: calc(var(--i, 0) * -10px);
  position: relative;
  z-index: calc(10 - var(--i, 0));
}
.hsc-team-avatar:first-child { margin-left: 0; }
.hsc-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.3px;
  color: #f0f2ff;
  margin: 0 0 18px 0;
}
.hero-side-card--team .hsc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  overflow: hidden;
}
.hero-side-card--team .hsc-stat {
  background: rgba(255,255,255,.025);
  padding: 14px 8px;
  text-align: center;
}
.hero-side-card--team .hsc-stat-num {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -1px;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-side-card--team .hsc-stat-lbl {
  font-size: 10.5px;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
}

/* ── PRICING — plan-tier pills ── */
.hero-side-card--plans .hsc-plan {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.hero-side-card--plans .hsc-plan:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
  transform: translateX(2px);
}
.hero-side-card--plans .hsc-plan::after { display: none; }
.hsc-plan-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  font-size: 18px;
  flex-shrink: 0;
}
.hsc-plan-body { flex: 1; min-width: 0; }
.hsc-plan-name {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #f0f2ff;
  line-height: 1.2;
}
.hsc-plan-tag {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
  margin-top: 2px;
}
.hsc-plan-price {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--or2);
  letter-spacing: -.5px;
  flex-shrink: 0;
}
.hsc-plan-price span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  margin-left: 2px;
}
.hsc-plan--highlight {
  background: linear-gradient(135deg, rgba(217,78,26,.18), rgba(28,102,65,.12)) !important;
  border-color: rgba(217,78,26,.4) !important;
}
.hsc-plans-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  color: var(--or2);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s;
}
.hsc-plans-foot::after { display: none; }
.hsc-plans-foot:hover { color: #fff; }

/* ── RESULTS — featured case study ── */
.hero-side-card--feature .hsc-feature-metric {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hsc-feature-num {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -2px;
  color: var(--gr2);
  line-height: 1;
  margin-bottom: 4px;
}
.hsc-feature-label {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  letter-spacing: .02em;
}
.hsc-feature-quote {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  margin-bottom: 16px;
  font-style: italic;
}
.hsc-feature-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hsc-feature-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.hsc-feature-name {
  font-weight: 700;
  font-size: 13.5px;
  color: #f0f2ff;
  line-height: 1.2;
}
.hsc-feature-role {
  font-size: 11.5px;
  color: rgba(255,255,255,.45);
  margin-top: 2px;
}

/* ── CONTACT — trust rows + offices + rating ── */
.hero-side-card--trust .hsc-trust-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
}
.hsc-trust-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(217,78,26,.18), rgba(28,102,65,.12));
  border: 1px solid rgba(255,255,255,.08);
  font-size: 16px;
  flex-shrink: 0;
}
.hsc-trust-title {
  font-weight: 700;
  font-size: 14px;
  color: #f0f2ff;
  line-height: 1.3;
}
.hsc-trust-sub {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-top: 3px;
  line-height: 1.4;
}
.hsc-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 12px 0;
}
.hsc-offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.hsc-office {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
}
.hsc-office-flag { font-size: 14px; }
.hsc-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(28,102,65,.1);
  border: 1px solid rgba(28,102,65,.2);
  border-radius: 8px;
}
.hsc-rating-stars { color: #fbbf24; font-size: 13px; letter-spacing: 1px; }
.hsc-rating-text  { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 600; }

/* ── BLOG — stat tiles + topic tags ── */
.hero-side-card--stats .hsc-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}
.hsc-stat-tile {
  background: rgba(255,255,255,.025);
  padding: 16px 14px;
}
.hsc-stat-tile .hsc-stat-num {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -1px;
  color: var(--or2);
  line-height: 1;
  margin-bottom: 5px;
}
.hsc-stat-tile:nth-child(2) .hsc-stat-num { color: var(--gr2); }
.hsc-stat-tile:nth-child(3) .hsc-stat-num { color: #a78bfa; }
.hsc-stat-tile:nth-child(4) .hsc-stat-num { color: #fbbf24; }
.hsc-stat-tile .hsc-stat-lbl {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
}
.hsc-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hsc-tag {
  padding: 5px 11px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}

/* ── SERVICES INDEX — 12-icon grid ── */
.hero-side-card--icons .hsc-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.hsc-icon-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.hsc-icon-tile::after { display: none; }
.hsc-icon-tile:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.15);
  transform: translateY(-2px);
}
.hsc-icon-emoji { font-size: 20px; line-height: 1; }
.hsc-icon-name {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  line-height: 1.2;
  letter-spacing: .02em;
}

/* ── Hero side card — mobile/small responsive ── */
@media (max-width: 480px) {
  .hero-side-card { padding: 20px 16px 16px; }
  .hsc-title { font-size: 17px; }
  .hsc-feature-num { font-size: 36px; }
  .hsc-offices { grid-template-columns: 1fr 1fr; }
  .hero-side-card--icons .hsc-icon-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gut); }
.section-pad { padding: var(--section) var(--gut); }
.section-pad-sm { padding: 72px var(--gut); }
.text-center { text-align: center; }
.text-orange { color: var(--or); }
.text-green  { color: var(--gr2); }
.text-muted  { color: var(--muted); }

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}
.pill-orange { background: var(--or-lt); color: var(--or); }
.pill-green  { background: var(--gr-lt); color: var(--gr); }
.pill-dark   { background: rgba(255,255,255,.08); color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.12); }

/* ── CARD HOVER GLOW (mouse-tracked) ── */
.glow-card {
  position: relative;
  overflow: hidden;
}
.glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(28,102,65,.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.glow-card:hover::before { opacity: 1; }

/* ── ANIMATIONS ── */
@keyframes gridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-30px, 40px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── TYPOGRAPHY OVERRIDES ──
   Keep Fraunces serif for: brand logo + italic accent words inside headings.
   Everything else uses Cabinet Grotesk (set in the bulk rules above). */
.nav-logo-text,
.nav-logo-text em,
.footer-logo-text,
.footer-logo-text em {
  font-family: 'Fraunces', serif;
}
h1 em, h2 em, h3 em, h4 em,
.hero h1 em,
.services-head h2 em,
.dj-header h2 em,
.testi-header h2 em,
.story-intro h2 em,
.final-cta h2 em {
  font-family: 'Fraunces', serif;
  font-style: italic;
}

/* ── HAMBURGER BUTTON ── */
.nav-burger {
  display: none;                                /* hidden on desktop */
  width: 42px; height: 42px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: 12px;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
  z-index: 510;                                 /* sits above the nav backdrop */
}
.nav-burger:hover { background: var(--or); transform: scale(1.04); }
.nav-burger span {
  display: block;
  width: 20px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s cubic-bezier(.4,0,.2,1), opacity .2s;
  transform-origin: center;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU DRAWER ── */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  padding: 90px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
  z-index: 490;                                 /* below nav (500), above content */
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s, visibility .25s;
  /* Cap to the viewport and scroll when the services accordion expands —
     without this the submenu items overflow off-screen with no way to reach them. */
  max-height: 100vh;
  max-height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.mobile-menu-link::after { display: none; }
.mobile-menu-link:hover { background: var(--gr-lt); color: var(--gr); }
.mm-icon {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gr-lt);
  border-radius: 8px;
  font-size: 15px;
  flex-shrink: 0;
}
.mobile-menu-link--cta {
  margin-top: 16px;
  background: var(--or);
  color: #fff;
  justify-content: center;
  padding: 16px 20px;
}
.mobile-menu-link--cta:hover { background: var(--gr); color: #fff; }
.mobile-menu-link--cta .arr { font-weight: 700; }

/* ── MOBILE MENU — SERVICES ACCORDION ── */
.mm-accordion-toggle {
  /* same look as a mobile-menu-link, plus a chevron */
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.mm-accordion-toggle .mm-label { flex: 1; }
.mm-chevron {
  font-size: 12px;
  color: var(--muted);
  transition: transform .25s ease;
}
.mm-accordion-toggle[aria-expanded="true"] .mm-chevron { transform: rotate(180deg); }

.mm-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding-left: 14px;
  margin-left: 12px;
  border-left: 2px solid rgba(0,0,0,.06);
}
.mm-accordion.is-open .mm-accordion-panel {
  max-height: 1200px;          /* large enough to fit any service list */
  transition: max-height .45s ease;
}

.mm-sub-link--all {
  margin: 8px 0 14px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--gr-lt);
  color: var(--gr);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mm-sub-link--all:hover { background: rgba(28,102,65,.18); }

.mm-sub-group { margin-bottom: 14px; }
.mm-sub-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.mm-sub-group-icon {
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gr-lt);
  border-radius: 6px;
  font-size: 13px;
  flex-shrink: 0;
}
.mm-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  text-decoration: none;
  border-radius: 6px;
  transition: background .15s, color .15s, padding .15s;
}
.mm-sub-link::after { display: none; }
.mm-sub-link:hover {
  background: var(--gr-lt);
  color: var(--gr);
  padding-left: 8px;
}
.mm-sub-link-icon {
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  opacity: .7;
}
.mm-sub-link:hover .mm-sub-link-icon { opacity: 1; }

/* ── RESPONSIVE NAV ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  nav, nav.scrolled { padding: 16px 24px; }
  .nav-burger { display: flex; }
}
@media (max-width: 600px) {
  /* Tighten the nav CTA so it doesn't crowd the logo on phones */
  .nav-cta {
    padding: 9px 14px;
    font-size: 13px;
    letter-spacing: 0;
  }
  .nav-logo { font-size: 20px; gap: 8px; }
  .nav-logo-img { height: 32px; }
}
/* Below 480px the orange CTA hides — it's already in the mobile menu */
@media (max-width: 480px) {
  .nav-cta { display: none; }
}
@media (max-width: 768px) {
  :root { --gut: 24px; --section: 64px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .aeo-banner { grid-template-columns: 1fr; gap: 28px; }
}
/* On phones, tighten section padding to a single consistent value so
   every page has the same minimum gap between blocks. */
@media (max-width: 600px) {
  :root { --gut: 20px; --section: 48px; }
}
