/* =========================================================
   VEXHOOK - styles.css
   Design system via CSS custom properties.
   Dark is the default; [data-theme="light"] overrides.
   Single accent variable (--vh-accent) controls the brand colour.
   ========================================================= */

/* -------------------- Design tokens -------------------- */
:root {
  /* ---------- ACCENT PRESETS (swap the active set to retune the brand) ----------
     PURPLE (original - revert to this set to restore):
       --vh-accent: #7c5cff;  --vh-accent-strong: #6a45ff;
       --vh-accent-soft: rgba(124, 92, 255, 0.14);   glow rgb: 124, 92, 255
     ORANGE / muted sunset (active):
       --vh-accent: #d9613b;  --vh-accent-strong: #c14e2c;
       --vh-accent-soft: rgba(217, 97, 59, 0.14);   glow rgb: 217, 97, 59
  ------------------------------------------------------------------------------- */
  --vh-accent:        #d9613b;
  --vh-accent-strong: #c14e2c;
  --vh-accent-soft:   rgba(217, 97, 59, 0.14);

  /* Type */
  --vh-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing / shape */
  --vh-radius:    16px;
  --vh-radius-sm: 10px;
  --vh-container: 1120px;
  --vh-gutter:    clamp(20px, 5vw, 40px);
  --vh-section-y: clamp(64px, 9vw, 130px);

  /* Motion */
  --vh-ease: 200ms cubic-bezier(.4, 0, .2, 1);
}

/* Dark theme (default) */
:root,
[data-theme="dark"] {
  --vh-bg:        #0a0a0f;
  --vh-bg-alt:    #101019;
  --vh-surface:   #15151f;
  --vh-surface-2: #1c1c29;
  --vh-border:    rgba(255, 255, 255, 0.09);
  --vh-border-2:  rgba(255, 255, 255, 0.14);
  --vh-text:      #f4f4f7;
  --vh-text-mut:  rgba(255, 255, 255, 0.7);
  --vh-text-dim:  #6c6c7e;
  --vh-shadow:    0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --vh-glow:      radial-gradient(60% 60% at 50% 0%, rgba(217, 97, 59, 0.22), transparent 70%);
}

/* Light theme */
[data-theme="light"] {
  --vh-bg:        #ffffff;
  --vh-bg-alt:    #f6f6fb;
  --vh-surface:   #ffffff;
  --vh-surface-2: #f6f6fb;
  --vh-border:    rgba(15, 15, 30, 0.10);
  --vh-border-2:  rgba(15, 15, 30, 0.16);
  --vh-text:      #14141f;
  --vh-text-mut:  #55556a;
  --vh-text-dim:  #8a8a9c;
  --vh-shadow:    0 24px 50px -28px rgba(20, 20, 40, 0.25);
  --vh-glow:      radial-gradient(60% 60% at 50% 0%, rgba(217, 97, 59, 0.14), transparent 70%);
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--vh-font);
  background: var(--vh-bg);
  color: var(--vh-text);
  line-height: 1.6;
  font-size: 20px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--vh-ease), color var(--vh-ease);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 500; }

:focus-visible {
  outline: 2px solid var(--vh-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.vh-container {
  width: 100%;
  max-width: var(--vh-container);
  margin-inline: auto;
  padding-inline: var(--vh-gutter);
}

.vh-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--vh-accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.vh-skip:focus { left: 0; }

/* -------------------- Buttons -------------------- */
.vh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: var(--vh-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--vh-ease), background var(--vh-ease),
              border-color var(--vh-ease), box-shadow var(--vh-ease), color var(--vh-ease);
  white-space: nowrap;
}
.vh-btn--lg { padding: 14px 26px; font-size: 16px; }

.vh-btn--primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--vh-accent), var(--vh-accent-strong));
  color: #fff;
}
/* Sleek shine sweep on hover */
.vh-btn--primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.30), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.vh-btn--primary:hover::before {
  left: 135%;
  transition: left 0.55s cubic-bezier(.4, 0, .2, 1);
}
.vh-btn--primary:hover {
  background: linear-gradient(135deg, var(--vh-accent-strong), var(--vh-accent));
  transform: translateY(-1px);
}

.vh-btn--ghost {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--vh-text);
  border-color: var(--vh-border-2);
}
/* Sleek shine sweep on hover */
.vh-btn--ghost::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.vh-btn--ghost:hover::before {
  left: 135%;
  transition: left 0.55s cubic-bezier(.4, 0, .2, 1);
}
.vh-btn--ghost:hover {
  background: var(--vh-surface-2);
  border-color: var(--vh-text-dim);
  transform: translateY(-1px);
}

/* -------------------- Header -------------------- */
.vh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--vh-bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--vh-border);
}
.vh-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}

.vh-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.vh-brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--vh-accent), var(--vh-accent-strong));
  box-shadow: 0 6px 16px -8px var(--vh-accent);
}
.vh-brand__mark svg { width: 32px; height: 32px; }
.vh-brand__name { font-size: 19px; }

.vh-nav {
  display: flex;
  gap: 28px;
  margin-left: 12px;
}
.vh-nav a {
  color: var(--vh-text-mut);
  font-size: 17px;
  font-weight: 500;
  transition: color var(--vh-ease);
}
.vh-nav a:hover { color: var(--vh-text); }

.vh-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.vh-theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--vh-border-2);
  background: transparent;
  color: var(--vh-text);
  cursor: pointer;
  transition: background var(--vh-ease), border-color var(--vh-ease);
}
.vh-theme-toggle:hover { background: var(--vh-surface-2); }
.vh-theme-toggle svg { width: 19px; height: 19px; }
.vh-icon-moon { display: none; }
[data-theme="light"] .vh-icon-sun { display: none; }
[data-theme="light"] .vh-icon-moon { display: block; }

/* Mobile menu toggle */
.vh-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--vh-border-2);
  background: transparent;
  cursor: pointer;
}
.vh-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--vh-text);
  border-radius: 2px;
  transition: transform var(--vh-ease), opacity var(--vh-ease);
}
.vh-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vh-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.vh-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.vh-mobile-nav[hidden] { display: none; }
.vh-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--vh-gutter) 22px;
  border-top: 1px solid var(--vh-border);
  background: var(--vh-bg);
}
.vh-mobile-nav a:not(.vh-btn) {
  padding: 12px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--vh-text-mut);
  border-bottom: 1px solid var(--vh-border);
}
.vh-mobile-nav .vh-btn { margin-top: 10px; }

/* -------------------- Hero -------------------- */
.vh-hero {
  position: relative;
  padding: clamp(44px, 7vw, 90px) 0 var(--vh-section-y);
  overflow: hidden;
}
.vh-hero__glow {
  position: absolute;
  inset: -10% 0 auto 0;
  height: 600px;
  background: var(--vh-glow);
  pointer-events: none;
}
.vh-hero__inner {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.vh-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vh-accent);
  margin-bottom: 30px;
}
.vh-hero__heading {
  font-size: clamp(2.7rem, 6.6vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 30px;
}
.vh-hero__sub {
  font-size: clamp(1.375rem, 2.6vw, 1.725rem);
  font-weight: 400;
  color: var(--vh-text);
  margin-bottom: 26px;
}
.vh-hero__body {
  font-size: 1.15rem;
  color: var(--vh-text-mut);
  max-width: 640px;
  margin: 0 auto 40px;
}
.vh-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* -------------------- Credibility strip -------------------- */
.vh-strip {
  border-block: 1px solid var(--vh-border);
  background: var(--vh-bg-alt);
  padding: 48px 0;
}
.vh-strip__label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vh-text-dim);
  margin-bottom: 26px;
}
.vh-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.vh-marquee__track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: vh-scroll 38s linear infinite;
}
.vh-marquee__track span {
  font-size: 18px;
  font-weight: 500;
  color: var(--vh-text-mut);
  white-space: nowrap;
}
@keyframes vh-scroll {
  to { transform: translateX(-50%); }
}
.vh-marquee:hover .vh-marquee__track { animation-play-state: paused; }

.vh-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 6vw, 80px);
  margin-top: 44px;
}
.vh-stats li { text-align: center; }
.vh-stats strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--vh-text);
}
.vh-stats span {
  font-size: 14px;
  color: var(--vh-text-mut);
}
/* -------------------- Generic section -------------------- */
.vh-section { padding-block: var(--vh-section-y); }
.vh-section--alt { background: var(--vh-bg-alt); }

.vh-section__head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.vh-section__head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: 16px;
}
.vh-section__head p {
  font-size: 1.15rem;
  color: var(--vh-text-mut);
}

.vh-grid { display: grid; gap: 24px; }
.vh-grid--3 { grid-template-columns: repeat(3, 1fr); }
.vh-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* What-we-do cards */
.vh-card {
  background: var(--vh-surface);
  border: 1px solid var(--vh-border);
  border-radius: var(--vh-radius);
  padding: 30px;
  transition: transform var(--vh-ease), border-color var(--vh-ease), box-shadow var(--vh-ease);
}
.vh-card:hover {
  transform: translateY(-4px);
  border-color: var(--vh-border-2);
  box-shadow: var(--vh-shadow);
}
.vh-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--vh-accent-soft);
  color: var(--vh-accent);
  margin-bottom: 22px;
}
.vh-card__icon svg { width: 26px; height: 26px; }
.vh-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.vh-card p { color: var(--vh-text-mut); }

/* How-we're-different features */
.vh-feature {
  padding: 28px 28px 30px;
  border: 1px solid var(--vh-border);
  border-radius: var(--vh-radius);
  background: var(--vh-surface);
}
.vh-feature__num {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--vh-accent);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}
.vh-feature h3 { font-size: 1.25rem; margin-bottom: 10px; }
.vh-feature p { color: var(--vh-text-mut); }

/* Representative work */
.vh-work {
  padding: 28px;
  border: 1px solid var(--vh-border);
  border-radius: var(--vh-radius);
  background: var(--vh-surface);
  position: relative;
  overflow: hidden;
  transition: transform var(--vh-ease), border-color var(--vh-ease);
}
.vh-work::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--vh-accent), var(--vh-accent-strong));
  opacity: 0;
  transition: opacity var(--vh-ease);
}
.vh-work:hover { transform: translateY(-4px); border-color: var(--vh-border-2); }
.vh-work:hover::before { opacity: 1; }
.vh-work h3 { font-size: 1.2rem; margin-bottom: 10px; }
.vh-work p { color: var(--vh-text-mut); font-size: 0.98rem; }

/* Process */
.vh-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.vh-process li {
  padding: 28px 24px;
  border: 1px solid var(--vh-border);
  border-radius: var(--vh-radius);
  background: var(--vh-surface);
}
.vh-process__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--vh-accent-soft);
  color: var(--vh-accent);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 18px;
}
.vh-process h3 { font-size: 1.15rem; margin-bottom: 10px; }
.vh-process h3 em { font-style: normal; color: var(--vh-text-dim); font-weight: 500; font-size: 0.85em; }
.vh-process p { color: var(--vh-text-mut); font-size: 0.98rem; }

/* About */
.vh-about__inner { max-width: 760px; }
.vh-about h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 22px;
}
.vh-about p {
  font-size: 1.2rem;
  color: var(--vh-text-mut);
  margin-bottom: 30px;
}

/* -------------------- Final CTA -------------------- */
.vh-final {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 11vw, 150px);
  background: var(--vh-bg-alt);
  border-top: 1px solid var(--vh-border);
}
.vh-final__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 97, 59, 0.16), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.vh-final__inner {
  position: relative;
  text-align: center;
  max-width: 720px;
}
.vh-final h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 20px;
}
.vh-final p {
  font-size: 1.2rem;
  color: var(--vh-text-mut);
  margin-bottom: 32px;
}
.vh-final__reassure {
  margin-top: 22px;
  font-size: 14px !important;
  color: var(--vh-text-dim) !important;
}

/* -------------------- Footer -------------------- */
.vh-footer {
  border-top: 1px solid var(--vh-border);
  background: var(--vh-bg);
  padding-block: clamp(48px, 7vw, 80px) 36px;
}
.vh-footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--vh-border);
}
.vh-footer__cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.vh-footer__cta p { color: var(--vh-text-mut); }

.vh-footer__cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.vh-footer__cols h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vh-text-dim);
  margin-bottom: 16px;
  font-weight: 500;
}
.vh-footer__cols nav { display: flex; flex-direction: column; gap: 10px; }
.vh-footer__cols nav a {
  color: var(--vh-text-mut);
  font-size: 15px;
  transition: color var(--vh-ease);
  width: fit-content;
}
.vh-footer__cols nav a:hover { color: var(--vh-text); }

.vh-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--vh-text-dim);
}
.vh-footer__bottom a { transition: color var(--vh-ease); }
.vh-footer__bottom a:hover { color: var(--vh-text); }

/* -------------------- Reveal on scroll -------------------- */
.vh-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.vh-reveal.is-visible { opacity: 1; transform: none; }

/* -------------------- Responsive -------------------- */
@media (max-width: 940px) {
  .vh-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .vh-process { grid-template-columns: repeat(2, 1fr); }
  .vh-footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .vh-nav { display: none; }
  .vh-header__cta { display: none; }
  .vh-menu-toggle { display: flex; }
  .vh-grid--3,
  .vh-grid--2,
  .vh-process { grid-template-columns: 1fr; }
  .vh-footer__cols { grid-template-columns: 1fr; gap: 28px; }
  .vh-footer__cta { flex-direction: column; align-items: flex-start; }
}

/* -------------------- Reduced motion -------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vh-marquee__track { animation: none; }
  .vh-reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
