/* ============================================================
   JVS Digital Group
   Minimal, monochrome layout. Black base, red accent, Inter.
   ============================================================ */

:root {
  --bg:     #0a0a0b;
  --ink:    #f3f3f4;
  --muted:  #8c8c93;
  --red:    #ff2b34;
  --red-dk: #d61a23;
  --line:   rgba(255, 255, 255, 0.12);

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: clamp(16px, 1.05vw, 18px);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

h1, h2, h3 { font-weight: 600; line-height: 1.06; letter-spacing: -0.025em; }
a { color: inherit; text-decoration: none; }

.label {
  display: block; font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  margin-bottom: 26px;
}

/* ---------- Button ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 500; font-size: .95rem;
  padding: .7em 1.4em; border-radius: 100px;
  background: var(--red); color: #fff; cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--red-dk); transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__logo { height: 32px; width: auto; flex: 0 0 auto; display: block; }
.brand__name { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: .95rem; color: var(--muted); transition: color .25s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav .header-cta { color: #fff; }
.nav .header-cta:hover { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }

/* ---------- Hero ---------- */
.hero { padding: clamp(90px, 17vh, 200px) 0 clamp(70px, 12vh, 150px); }
.eyebrow { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; }
.hero__title { font-size: clamp(2.3rem, 6vw, 5rem); max-width: 19ch; letter-spacing: -0.035em; }
.hero__sub { font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--muted); margin-top: 30px; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 11vh, 140px) 0; border-top: 1px solid var(--line); }
.section__title { font-size: clamp(1.8rem, 3.6vw, 3rem); max-width: 20ch; }

/* ---------- Companies ---------- */
.companies { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.company {
  display: grid; grid-template-columns: 1fr 2.4fr; gap: clamp(16px, 4vw, 56px);
  padding: clamp(34px, 4vw, 52px) 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.company__label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); padding-top: .4em; }
.company__name { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.company__desc { color: var(--muted); margin-top: 12px; max-width: 46ch; }
.company__link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 22px;
  font-weight: 500; color: var(--red);
  border-bottom: 1px solid transparent; transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.company__link:hover { gap: 11px; border-bottom-color: currentColor; }
.company__alt { display: block; margin-top: 12px; font-size: .88rem; color: var(--muted); width: fit-content; transition: color .25s var(--ease); }
.company__alt:hover { color: var(--ink); }

/* ---------- Vision ---------- */
.statement { font-size: clamp(2rem, 5.4vw, 4.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; max-width: 18ch; }
.statement .hl { color: var(--red); }

/* ---------- Contact ---------- */
.contact__lede { color: var(--muted); margin-top: 22px; max-width: 44ch; font-size: 1.1rem; }
.contact__email {
  display: inline-block; margin-top: 30px;
  font-size: clamp(1.3rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em;
  border-bottom: 2px solid var(--red); padding-bottom: 4px;
  transition: color .25s var(--ease);
}
.contact__email:hover { color: var(--red); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footer__name { font-weight: 600; }
.footer__legal { color: var(--muted); font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .company { grid-template-columns: 1fr; gap: 14px; }
  .company__label { padding-top: 0; }

  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 26px var(--pad) 32px;
  }
  .nav.is-open a { font-size: 1.15rem; }
  .nav.is-open .header-cta { font-size: .95rem; }
  .nav-toggle { display: flex; }
  .nav-toggle.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}
