/* =========================================================
   GROWTHHH — Design System
   Dark premium · electric-lime glow · Swiss grotesk
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* surface */
  --bg:          #0a0a0a;
  --bg-elev:     #111111;
  --bg-elev-2:   #161616;
  --bg-card:     #131313;
  --line:        rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);

  /* text */
  --text:    #f4f4f5;
  --text-dim:#a6a6ac;
  --text-mute:#6c6c72;

  /* accent — electric lime */
  --accent:      #c6ff3a;
  --accent-deep: #a6e218;
  --accent-soft: rgba(198,255,58,0.14);
  --accent-glow: rgba(198,255,58,0.55);

  /* type */
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* spacing / motion */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 16px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--accent); color: #0a0a0a;
  padding: 10px 18px; border-radius: 10px; font-weight: 700;
  z-index: 1000; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(80px, 12vw, 160px); }

/* eyebrow / kicker */
.kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 20px;
  text-wrap: balance;
}
.section-head p {
  color: var(--text-dim);
  font-size: clamp(16px, 1.6vw, 19px);
  margin-top: 22px;
  max-width: 560px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px;
  padding: 15px 26px; border-radius: 999px;
  white-space: nowrap;
  transition: transform .35s var(--ease), background .25s var(--ease), color .25s, box-shadow .35s var(--ease);
  will-change: transform;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translate(3px,-3px); }
.btn-primary {
  background: var(--accent); color: #0a0a0a;
  box-shadow: 0 0 0 rgba(198,255,58,0);
}
.btn-primary:hover { box-shadow: 0 12px 40px -8px var(--accent-glow); }
.btn-ghost {
  border: 1px solid var(--line-strong); color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 26px; }
.brand .wm { font-family: var(--font-display); }
.brand .wm b { color: var(--accent); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; color: var(--text-dim); transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: inline-flex; }
@media (max-width: 860px) { .nav-cta { display: none; } }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; padding: 8px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    position: fixed; inset: 76px 0 auto 0;
    background: rgba(10,10,10,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    display: grid; gap: 6px; padding: 18px var(--gutter) 30px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
    z-index: 99;
  }
  .nav.open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a { padding: 14px 4px; font-size: 19px; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 14px; justify-content: center; }
}
@media (min-width: 861px) { .mobile-menu { display: none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding-top: clamp(130px, 18vh, 200px); padding-bottom: clamp(60px, 9vw, 110px); overflow: hidden; }
.hero-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: min(1100px, 120vw); height: 700px;
  background: radial-gradient(ellipse at center, var(--accent-soft), transparent 62%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px 8px 12px; font-size: 13px; color: var(--text-dim);
  background: rgba(255,255,255,0.02);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(46px, 9vw, 124px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin-top: 28px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .accent { text-shadow: 0 0 60px var(--accent-glow); }
.hero-sub {
  margin-top: 30px; max-width: 540px;
  font-size: clamp(17px, 2vw, 21px); color: var(--text-dim);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(54px, 8vw, 90px);
  padding-top: 36px; border-top: 1px solid var(--line);
}
@media (max-width: 640px) { .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }
.hero-stat { text-align: center; }
.hero-stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.03em; }
.hero-stat .num .accent { color: var(--accent); }
.hero-stat .lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); margin-top: 6px; }

/* word reveal (no clip — keeps the accent glow from being cut off) */
.reveal-line { display: block; }
.js .reveal-line > span { display: inline-block; opacity: 0; transform: translateY(38px); }
.js .in .reveal-line > span { opacity: 1; transform: translateY(0); transition: transform .9s var(--ease-out), opacity .9s var(--ease-out); }
.js .in .reveal-line:nth-child(2) > span { transition-delay: .1s; }
.js .in .reveal-line:nth-child(3) > span { transition-delay: .2s; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 26px; overflow: hidden;
  background: var(--bg-elev);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 56px; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 34px); letter-spacing: -0.02em; color: var(--text-dim); white-space: nowrap; }
.marquee-item::after { content: "✦"; color: var(--accent); font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  position: relative; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 44px);
  transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s;
}
.service-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), var(--accent-soft), transparent 60%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.service-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.service-card:hover::after { opacity: 1; }
.service-num { font-family: var(--font-mono); font-size: 13px; color: var(--text-mute); letter-spacing: 0.1em; }
.service-card h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(23px, 2.6vw, 30px); letter-spacing: -0.02em; margin-top: 20px; }
.service-card p { color: var(--text-dim); margin-top: 14px; font-size: 16px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.service-tags span {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
  transition: border-color .3s, color .3s;
}
.service-card:hover .service-tags span { border-color: var(--line-strong); }
.service-ico { width: 44px; height: 44px; color: var(--accent); }

/* =========================================================
   PROCESS
   ========================================================= */
.process-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .process-wrap { grid-template-columns: 1fr; } }
.process-steps { display: grid; gap: 2px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 24px;
  padding: 30px 4px; border-top: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-no {
  font-family: var(--font-mono); font-size: 14px; color: var(--accent);
  padding-top: 4px;
}
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em; }
.step p { color: var(--text-dim); margin-top: 8px; font-size: 15.5px; }
.step::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0;
  background: var(--accent); transition: width .6s var(--ease);
}
.step.in::before { width: 100%; }
.process-aside {
  position: sticky; top: 110px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
}
.process-aside .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.process-aside p { color: var(--text-dim); margin-top: 18px; }
.process-aside hr { border: none; border-top: 1px solid var(--line); margin: 26px 0; }
.process-aside .row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; }
.process-aside .row span:first-child { color: var(--text-dim); font-size: 15px; }
.process-aside .row span:last-child { font-family: var(--font-mono); font-size: 14px; }

/* =========================================================
   WHY US
   ========================================================= */
.why { background: var(--bg-elev); border-block: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }
.why-cell { background: var(--bg-elev); padding: clamp(26px, 3vw, 40px); }
.why-cell .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 6vw, 68px); letter-spacing: -0.04em; }
.why-cell .num .accent { color: var(--accent); }
.why-cell .num .suffix { font-size: 0.45em; vertical-align: super; color: var(--accent); }
.why-cell h3 { font-size: 17px; font-weight: 600; margin-top: 14px; }
.why-cell p { color: var(--text-dim); font-size: 15px; margin-top: 8px; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
/* masonry columns — tiles cleanly with no gaps at any width */
.tst-grid { columns: 3; column-gap: 18px; }
@media (max-width: 920px) { .tst-grid { columns: 2; } }
@media (max-width: 600px) { .tst-grid { columns: 1; } }
.tst {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px;
  transition: border-color .4s, transform .4s var(--ease);
  break-inside: avoid; margin-bottom: 18px;
}
.tst:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.tst .quote { font-family: var(--font-display); font-size: clamp(18px, 2vw, 23px); line-height: 1.4; letter-spacing: -0.01em; }
.tst.big .quote { font-size: clamp(21px, 2.4vw, 28px); }
.tst .stars { color: var(--accent); letter-spacing: 3px; font-size: 14px; }
.tst-who { display: flex; align-items: center; gap: 13px; margin-top: 4px; }
.tst-av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-deep), #5a7a0e); display: grid; place-items: center; font-weight: 700; color: #0a0a0a; font-size: 15px; }
.tst-who .nm { font-weight: 600; font-size: 15px; }
.tst-who .rl { color: var(--text-mute); font-size: 13px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq-list { display: grid; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 4px; font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 2vw, 21px); letter-spacing: -0.01em;
}
.faq-q .pm { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--accent); border-radius: 2px; transition: transform .35s var(--ease); }
.faq-q .pm::before { width: 20px; height: 2px; }
.faq-q .pm::after { width: 2px; height: 20px; }
.faq-item.open .pm::after { transform: rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.faq-a-inner { padding: 0 4px 28px; color: var(--text-dim); max-width: 640px; font-size: 16px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--bg-elev); border-top: 1px solid var(--line); overflow: hidden; }
.contact-glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(900px, 110vw); height: 520px;
  background: radial-gradient(ellipse at center, var(--accent-soft), transparent 64%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.contact .container { position: relative; z-index: 2; }
.cta-card {
  max-width: 760px; margin-inline: auto; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.cta-card .kicker { justify-content: center; }
.cta-card h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 6vw, 76px); line-height: 1; letter-spacing: -0.035em;
  margin-top: 20px; text-wrap: balance;
}
.cta-card h2 .accent { color: var(--accent); text-shadow: 0 0 50px var(--accent-glow); }
.cta-card > p { color: var(--text-dim); margin-top: 22px; max-width: 520px; font-size: clamp(16px, 1.7vw, 19px); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.cta-meta { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 40px); justify-content: center; margin-top: 40px; }
.cta-meta span { display: inline-flex; gap: 10px; align-items: center; color: var(--text-dim); font-size: 14.5px; }
.cta-meta .ic { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
footer { padding-block: clamp(56px, 8vw, 90px) 40px; border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { font-size: 26px; }
.footer-brand p { color: var(--text-dim); margin-top: 16px; font-size: 15px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 80px); }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-dim); font-size: 15px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; align-items: center; margin-top: clamp(50px, 7vw, 80px); padding-top: 30px; border-top: 1px solid var(--line); color: var(--text-mute); font-size: 13.5px; }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: all .25s; }
.footer-bottom .socials a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.footer-giant { font-family: var(--font-display); font-weight: 800; font-size: clamp(80px, 22vw, 320px); letter-spacing: -0.05em; line-height: 0.8; color: var(--bg-elev-2); margin-top: 60px; text-align: center; user-select: none; }

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
.cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; mix-blend-mode: difference; }
.cursor-ring { width: 38px; height: 38px; border: 1.5px solid var(--accent); transform: translate(-50%,-50%); transition: width .25s var(--ease), height .25s var(--ease), background .25s, opacity .25s; opacity: .7; }
.cursor-ring.hover { width: 64px; height: 64px; background: var(--accent-soft); opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-ring { display: none !important; } }

/* ---------- Scroll reveal base (progressive enhancement) ---------- */
.js .fx { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .fx.in { opacity: 1; transform: none; }
.fx-d1 { transition-delay: .08s; }
.fx-d2 { transition-delay: .16s; }
.fx-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .fx, .reveal-line > span { opacity: 1 !important; transform: none !important; }
}

/* selection */
::selection { background: var(--accent); color: #0a0a0a; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }
