/* =====================================================================
   vinTek — marketing site
   Two-accent system: vinTek blue (brand mark) + cVi orange (product / CTA).
   Type: Space Grotesk (display) · Archivo (body) · Manrope (wordmark).
   ===================================================================== */

:root {
  /* ---- neutrals ---- */
  --black: #08080a;
  --black-2: #0e0e12;
  --black-3: #15151b;
  --white: #ffffff;
  --paper: #f7f6f3;
  --paper-2: #efeee9;
  --ink: #0a0a0a;
  --ink-70: #3c3c42;
  --ink-55: #62626c;
  --line: #e6e4de;
  --line-dark: rgba(255, 255, 255, 0.09);

  /* ---- brand blue (the logo) ---- */
  --blue-700: #14357f;
  --blue-500: #3f8bff;
  --blue-400: #74aaff;

  /* ---- product orange (cVi) — the CTA accent. Black text on orange = AAA. */
  --orange: #ff5a00;
  --orange-600: #ff7326;
  --orange-ink: #0a0a0a;

  /* ---- type ---- */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-wordmark: "Manrope", "Space Grotesk", system-ui, sans-serif;

  /* ---- layout ---- */
  --container: 1200px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --space-section: clamp(5rem, 12vw, 9.5rem);
  --nav-h: 88px;

  /* ---- radii ---- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  /* ---- elevation ---- */
  --sh-1: 0 1px 2px rgba(10, 10, 12, 0.05), 0 4px 12px -6px rgba(10, 10, 12, 0.08);
  --sh-2: 0 2px 6px -2px rgba(10, 10, 12, 0.08), 0 18px 38px -18px rgba(10, 10, 12, 0.22);
  --sh-3: 0 30px 70px -30px rgba(10, 10, 12, 0.38);
  --sh-orange: 0 14px 34px -12px rgba(255, 90, 0, 0.55);

  /* ---- motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-back: cubic-bezier(0.34, 1.4, 0.64, 1);
  --t-fast: 0.18s;
  --t: 0.32s;
  --t-slow: 0.7s;

  /* film grain, keeps flat dark areas from banding */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked {
  overflow: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--orange);
  color: var(--orange-ink);
}

/* Fixed nav would otherwise cover section tops on anchor jumps. */
section[id],
main[id] {
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 300;
  background: var(--orange);
  color: var(--orange-ink);
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: top var(--t) var(--ease);
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- accents ---------- */
.u-accent {
  color: var(--orange);
}
/* Warm highlight on the hero headline. Stays inside the orange family — a
   blue→orange ramp desaturates through grey at the midpoint and reads muddy. */
.u-gradient {
  background: linear-gradient(96deg, #ffab5e 0%, var(--orange) 55%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--orange);
}
@supports (-webkit-text-fill-color: transparent) {
  .u-gradient {
    -webkit-text-fill-color: transparent;
  }
}

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 150;
  padding: clamp(0.6rem, 1.6vw, 1rem) 0;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition:
    transform 0.45s var(--ease),
    padding 0.35s var(--ease),
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.nav.is-solid,
.nav.is-open {
  padding-block: 0.45rem;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  color: var(--ink);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(10, 10, 12, 0.5);
}
.nav.is-open {
  background: var(--white);
}
.nav.is-solid .brand__mark {
  width: 44px;
  height: 44px;
}
.nav.is-hidden {
  transform: translateY(-105%);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* scroll progress hairline */
.nav__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.nav__progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue-500), var(--orange));
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.nav.is-solid .nav__progress span {
  opacity: 1;
}

/* ---------- brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.brand__mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  transition:
    width 0.35s var(--ease),
    height 0.35s var(--ease),
    transform 0.5s var(--ease-back);
}
@media (hover: hover) {
  .brand:hover .brand__mark {
    transform: rotate(-8deg) scale(1.06);
  }
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__name {
  font-family: var(--font-wordmark);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}
.wm-vin {
  color: var(--blue-700);
}
.wm-tek {
  color: var(--blue-500);
}
/* On dark backgrounds "vin" flips to white so the wordmark stays legible. */
.nav:not(.is-solid):not(.is-open) .wm-vin,
.footer .wm-vin {
  color: #ffffff;
}
.brand__tag {
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  opacity: 0.7;
}
@media (max-width: 420px) {
  .brand__tag {
    display: none;
  }
}

/* ---------- nav links ---------- */
.nav__menu {
  margin-inline: auto;
}
.nav__links {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav__link {
  position: relative;
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.94rem;
  color: currentColor;
  opacity: 0.68;
  transition:
    opacity var(--t) var(--ease),
    background-color var(--t) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.3rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
  transform: translate(-50%, 6px) scale(0);
  transition: transform 0.4s var(--ease-back);
}
.nav__link:hover {
  opacity: 1;
  background: color-mix(in srgb, currentColor 9%, transparent);
}
.nav__link.is-current {
  opacity: 1;
  font-weight: 600;
}
.nav__link.is-current::after {
  transform: translate(-50%, 0) scale(1);
}

.nav__end {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* ---------- language segmented control ---------- */
.lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--r-full);
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  font-family: var(--font-display);
  font-weight: 600;
}
.lang__thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: var(--r-full);
  background: var(--orange);
  transition: transform 0.45s var(--ease-back);
}
.lang.is-fr .lang__thumb {
  transform: translateX(100%);
}
.lang__btn {
  position: relative;
  z-index: 1;
  padding: 0.28rem 0.62rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  opacity: 0.6;
  border-radius: var(--r-full);
  transition:
    opacity var(--t) var(--ease),
    color var(--t) var(--ease);
}
.lang__btn:hover {
  opacity: 0.95;
}
.lang__btn.is-active {
  opacity: 1;
  color: var(--orange-ink);
}

/* ---------- burger (mobile) ---------- */
.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-full);
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  place-items: center;
}
.nav__burger-box {
  display: grid;
  gap: 5px;
  width: 18px;
}
.nav__burger-box span {
  display: block;
  height: 1.8px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.2s linear;
}
.nav__burger[aria-expanded="true"] .nav__burger-box span:first-child {
  transform: translateY(3.4px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] .nav__burger-box span:last-child {
  transform: translateY(-3.4px) rotate(-45deg);
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0 1.6rem;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.005em;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--t) var(--ease),
    background-color var(--t) var(--ease),
    color var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
/* light sweep on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 80%
  );
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease);
}
.btn:hover::before {
  transform: translateX(120%);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.975);
}
.btn__arrow {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--t) var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--orange);
  color: var(--orange-ink);
  box-shadow: 0 6px 18px -10px rgba(255, 90, 0, 0.7);
}
.btn--primary:hover {
  background: var(--orange-600);
  box-shadow: var(--sh-orange);
}
.btn--lg {
  min-height: 62px;
  padding: 0 2.1rem;
  font-size: 1.08rem;
}

/* Quiet secondary — inherits the surface colour, works on dark and light. */
.btn--quiet {
  color: currentColor;
  border: 1.5px solid color-mix(in srgb, currentColor 30%, transparent);
}
.btn--quiet:hover {
  border-color: color-mix(in srgb, currentColor 60%, transparent);
  background: color-mix(in srgb, currentColor 8%, transparent);
}

/* Store button — reads as a real store badge, dimmed while unreleased. */
.btn--store {
  gap: 0.7rem;
  padding: 0 1.35rem;
  text-align: left;
  line-height: 1.05;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
}
.btn--store:hover {
  background: #1d1d22;
}
.btn__store-ico {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}
.btn__store-txt {
  display: flex;
  flex-direction: column;
}
.btn__store-top {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.7;
}
.btn--store strong {
  font-size: 1rem;
  font-weight: 600;
}
[data-soon] {
  cursor: default;
  opacity: 0.72;
}
[data-soon]:hover {
  transform: none;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + 2rem) clamp(6rem, 12vh, 9rem);
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* faint blueprint grid, faded out towards the edges */
.hero__grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 42%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 42%, #000 20%, transparent 78%);
}
.hero__aurora {
  position: absolute;
  inset: 0;
}
.blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  will-change: transform;
}
/* Pure radial gradients (no blur filter) — cheap enough to animate at 60fps. */
.blob--orange {
  width: 78vw;
  height: 78vw;
  max-width: 1000px;
  max-height: 1000px;
  right: -22vw;
  top: -26vw;
  background: radial-gradient(circle, rgba(255, 90, 0, 0.3), rgba(255, 90, 0, 0) 62%);
  animation: drift 22s var(--ease-io) infinite alternate;
}
.blob--blue {
  width: 66vw;
  height: 66vw;
  max-width: 860px;
  max-height: 860px;
  left: -20vw;
  bottom: -28vw;
  background: radial-gradient(circle, rgba(63, 139, 255, 0.26), rgba(63, 139, 255, 0) 64%);
  animation: drift 27s var(--ease-io) infinite alternate-reverse;
}
@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4%, 6%, 0) scale(1.14);
  }
}
.hero__noise {
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  opacity: 0.035;
  mix-blend-mode: overlay;
}
.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.5rem;
  padding: 0.42rem 0.95rem 0.42rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 90, 0, 0.6);
  animation: ping 2.6s var(--ease-io) infinite;
}
@keyframes ping {
  0%,
  70%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 90, 0, 0.55);
  }
  35% {
    box-shadow: 0 0 0 7px rgba(255, 90, 0, 0);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 11.5vw, 8.2rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.hero__title .line__in {
  display: block;
}

.hero__sub {
  margin-top: 1.7rem;
  max-width: 42ch;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.68);
}
.hero__cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero__meta {
  list-style: none;
  padding: 0;
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 3.2rem);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.5);
}
.hero__meta li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.hero__meta strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.4rem, 4vh, 2.4rem);
  translate: -50% 0;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
}
.hero__scroll-label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.hero__scroll-track {
  display: block;
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.hero__scroll-line {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--orange));
  animation: scrollLine 2.1s var(--ease-io) infinite;
}
@keyframes scrollLine {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* =====================================================================
   SHARED section bits
   ===================================================================== */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ink-55);
  margin-bottom: 1.1rem;
}
.section-eyebrow::before {
  content: "";
  width: 1.7rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--blue-500));
}
.section-eyebrow--light {
  color: rgba(255, 255, 255, 0.62);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--orange-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.42rem 0.9rem;
  border-radius: var(--r-full);
  margin-bottom: 1.4rem;
  box-shadow: 0 8px 20px -12px rgba(255, 90, 0, 0.9);
}
.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-ink);
  animation: blink 2.4s var(--ease-io) infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.7);
  }
}

/* small factual chips */
.chips {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-70);
  padding: 0.34rem 0.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--r-full);
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease);
}
.chip:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

/* =====================================================================
   PRODUCT (featured cVi)
   ===================================================================== */
.product {
  position: relative;
  padding-block: var(--space-section);
  /* The phone halo is deliberately wider than its stage; clip it here so it
     can't widen the document on narrow screens. */
  overflow: hidden;
}
.product--light {
  background:
    radial-gradient(80% 55% at 85% 12%, rgba(255, 90, 0, 0.07), transparent 70%),
    radial-gradient(70% 50% at 5% 90%, rgba(63, 139, 255, 0.07), transparent 70%),
    var(--paper);
  color: var(--ink);
}
.product__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
.product__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin-bottom: 1.2rem;
}
.product__pitch {
  max-width: 46ch;
  font-size: clamp(1.04rem, 2.1vw, 1.22rem);
  color: var(--ink-55);
  margin-bottom: 1.6rem;
}
.product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* =====================================================================
   PHONE MOCKUP
   Tilts on scroll around its own centre — never crops, never leaves frame.
   The float animation lives on a wrapper so it can't fight the JS transform.
   ===================================================================== */
.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1600px;
  padding: clamp(1rem, 4vw, 2.5rem);
}
.phone-halo {
  position: absolute;
  width: 105%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 0, 0.34), rgba(255, 122, 42, 0.1) 45%, transparent 68%);
  animation: halo 7s var(--ease-io) infinite alternate;
}
@keyframes halo {
  from {
    transform: scale(0.92);
    opacity: 0.75;
  }
  to {
    transform: scale(1.08);
    opacity: 1;
  }
}
.phone-float {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  animation: float 8s var(--ease-io) infinite alternate;
}
@keyframes float {
  from {
    transform: translateY(-10px);
  }
  to {
    transform: translateY(10px);
  }
}
.phone-shot-main {
  width: min(300px, 74vw);
  height: auto;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.3));
  transform-style: preserve-3d;
  will-change: transform;
}

/* =====================================================================
   DETAILS (deep-dive cVi)
   ===================================================================== */
.details {
  position: relative;
  padding-block: var(--space-section);
  background: var(--white);
}
.details__head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.details__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.6vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.details__lead {
  margin-top: 1.2rem;
  font-size: clamp(1.04rem, 2.1vw, 1.2rem);
  color: var(--ink-55);
  max-width: 52ch;
}

/* ---------- feature cards ---------- */
.features {
  list-style: none;
  padding: 0;
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.2rem);
  grid-template-columns: 1fr;
}
.feature {
  position: relative;
  padding: clamp(1.5rem, 3vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #ffffff, #fbfaf8);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
/* accent bar that grows in from the left on hover */
.feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--orange), var(--blue-500));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.55s var(--ease);
}
@media (hover: hover) {
  .feature:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--sh-2);
  }
  .feature:hover::before {
    transform: scaleX(1);
  }
  .feature:hover .feature__ico {
    background: var(--ink);
    color: var(--orange);
    transform: rotate(-6deg) scale(1.05);
  }
}
.feature__ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.05rem;
  border-radius: 13px;
  background: var(--paper-2);
  color: var(--ink);
  transition:
    background-color 0.4s var(--ease),
    color 0.4s var(--ease),
    transform 0.5s var(--ease-back);
}
.feature__ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.16rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
}
.feature__d {
  color: var(--ink-55);
  font-size: 0.96rem;
}

/* ---------- screenshot gallery ---------- */
.gallery {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.gallery__item {
  margin: 0;
  flex: 0 1 260px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--r-md);
  transition: transform 0.5s var(--ease);
}
/* Fixed height + contain: the three screenshots have slightly different aspect
   ratios, so this is what keeps their captions on one baseline. */
.gallery__img {
  width: 100%;
  height: clamp(380px, 36vw, 520px);
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.2));
  transition: filter 0.5s var(--ease);
}
.gallery__zoom {
  position: absolute;
  right: 8%;
  bottom: 14%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--sh-2);
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.35s var(--ease),
    transform 0.45s var(--ease-back);
}
.gallery__zoom svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
@media (hover: hover) {
  .gallery__btn:hover {
    transform: translateY(-8px);
  }
  .gallery__btn:hover .gallery__img {
    filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.28));
  }
  .gallery__btn:hover .gallery__zoom,
  .gallery__btn:focus-visible .gallery__zoom {
    opacity: 1;
    transform: scale(1);
  }
}
.gallery__btn:focus-visible .gallery__zoom {
  opacity: 1;
  transform: scale(1);
}
.gallery__cap {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--ink-55);
  text-align: center;
  max-width: 22ch;
}

/* ---------- the exported CV ---------- */
.result {
  margin-top: clamp(4rem, 10vw, 8rem);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
.result__doc {
  margin: 0;
}
.result__doc img {
  width: 100%;
  max-width: 440px;
  height: auto;
  margin-inline: auto;
  border-radius: 12px;
  filter: drop-shadow(0 34px 58px rgba(0, 0, 0, 0.22));
  will-change: transform;
}
.result__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}
.result__lead {
  color: var(--ink-55);
  font-size: clamp(1rem, 2.1vw, 1.18rem);
  max-width: 40ch;
}

.details__privacy {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  font-size: 0.9rem;
}
.details__privacy a {
  color: var(--ink-55);
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  padding-bottom: 2px;
  transition:
    color var(--t) var(--ease),
    background-size 0.4s var(--ease);
}
.details__privacy a:hover {
  color: var(--ink);
  background-size: 100% 2px;
}

/* =====================================================================
   STUDIO (coming soon)
   ===================================================================== */
.studio {
  position: relative;
  padding-block: var(--space-section);
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.studio__glow {
  position: absolute;
  left: 50%;
  top: -30%;
  translate: -50% 0;
  width: 120%;
  aspect-ratio: 2 / 1;
  background: radial-gradient(ellipse at center, rgba(63, 139, 255, 0.16), transparent 62%);
  pointer-events: none;
}
.studio__head {
  position: relative;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.studio__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.6vw, 3.4rem);
  letter-spacing: -0.025em;
}
.soon {
  position: relative;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.soon__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: clamp(1.7rem, 4vw, 2.6rem) clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #121218, #0c0c10);
  overflow: hidden;
  transition:
    border-color 0.4s var(--ease),
    transform 0.4s var(--ease);
}
/* cursor spotlight (--mx/--my set in JS) */
.soon__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 122, 42, 0.14),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.soon__index {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.4s var(--ease);
}
.soon__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 5.5vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-right: auto;
}
.soon__tag {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line-dark);
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-full);
  white-space: nowrap;
  transition:
    color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
@media (hover: hover) {
  .soon__item:hover {
    border-color: rgba(255, 122, 42, 0.4);
    transform: translateY(-3px);
  }
  .soon__item:hover::before {
    opacity: 1;
  }
  .soon__item:hover .soon__index {
    color: var(--orange);
  }
  .soon__item:hover .soon__tag {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.25);
  }
}

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact {
  position: relative;
  padding-block: var(--space-section);
  background: var(--black);
  color: var(--white);
  text-align: center;
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
}
.contact__glow {
  position: absolute;
  left: 50%;
  bottom: -55%;
  translate: -50% 0;
  width: 110%;
  aspect-ratio: 1.6 / 1;
  background: radial-gradient(ellipse at center, rgba(255, 90, 0, 0.2), transparent 62%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  max-width: 46rem;
}
.contact .section-eyebrow {
  justify-content: center;
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 7.5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.contact__lead {
  margin: 1.2rem auto 2.3rem;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1.04rem, 2.1vw, 1.22rem);
}
.contact__actions {
  display: flex;
  justify-content: center;
}
.contact__email {
  margin-top: 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}
.contact__email > a {
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  padding-bottom: 2px;
  transition:
    color var(--t) var(--ease),
    background-size 0.4s var(--ease);
}
.contact__email > a:hover {
  color: var(--white);
  background-size: 100% 2px;
}

/* copy-to-clipboard pill */
.copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.7rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition:
    color var(--t) var(--ease),
    border-color var(--t) var(--ease),
    background-color var(--t) var(--ease);
}
.copy:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}
.copy svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.copy__ok {
  position: absolute;
  left: 0.7rem;
  opacity: 0;
  transform: scale(0.5);
  color: #4ade80;
  transition:
    opacity var(--t) var(--ease),
    transform 0.4s var(--ease-back);
}
.copy.is-done {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.4);
}
.copy.is-done .copy__ico {
  opacity: 0;
}
.copy.is-done .copy__ok {
  opacity: 1;
  transform: scale(1);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.62);
  padding-block: 3rem;
  border-top: 1px solid var(--line-dark);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
}
.footer__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.footer__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.footer__name {
  font-size: 1.5rem;
}
.footer__tag {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.9rem;
}
.footer__links a {
  transition: color var(--t) var(--ease);
}
.footer__links a:hover {
  color: var(--white);
}
.footer__copy {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.45);
}

/* =====================================================================
   BACK TO TOP
   ===================================================================== */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 140;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.85);
  transition:
    opacity var(--t) var(--ease),
    transform 0.45s var(--ease-back),
    visibility var(--t),
    background-color var(--t) var(--ease);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--orange);
  color: var(--orange-ink);
}
.to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =====================================================================
   LIGHTBOX
   ===================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 5vw, 3rem);
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}
.lightbox[hidden] {
  display: none;
}
.lightbox.is-open {
  opacity: 1;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.lightbox__figure {
  position: relative;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  max-height: 100%;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.45s var(--ease-back);
}
.lightbox.is-open .lightbox__figure {
  transform: none;
}
.lightbox__img {
  max-height: min(78vh, 900px);
  width: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}
.lightbox__cap {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}
.lightbox__nav,
.lightbox__close {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition:
    background-color var(--t) var(--ease),
    transform var(--t) var(--ease);
}
.lightbox__nav:hover,
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.08);
}
.lightbox__nav svg,
.lightbox__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lightbox__nav--prev {
  left: clamp(0.6rem, 3vw, 2.2rem);
  top: 50%;
  translate: 0 -50%;
}
.lightbox__nav--next {
  right: clamp(0.6rem, 3vw, 2.2rem);
  top: 50%;
  translate: 0 -50%;
}
.lightbox__close {
  top: clamp(0.8rem, 3vw, 1.8rem);
  right: clamp(0.8rem, 3vw, 1.8rem);
}

/* =====================================================================
   REVEAL ENGINE (IntersectionObserver driven). No-JS users see everything.
   Variants: default (up) · fade · left · right · scale
   ===================================================================== */
.has-js [data-reveal] {
  opacity: 0;
  transform: translate3d(var(--rx, 0), var(--ry, 30px), 0) scale(var(--rs, 1));
  transition:
    opacity 0.75s var(--ease) var(--rd, 0s),
    transform 0.9s var(--ease) var(--rd, 0s);
}
.has-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.has-js [data-reveal="fade"] {
  --ry: 8px;
}
.has-js [data-reveal="left"] {
  --rx: -34px;
  --ry: 0;
}
.has-js [data-reveal="right"] {
  --rx: 34px;
  --ry: 0;
}
.has-js [data-reveal="scale"] {
  --ry: 22px;
  --rs: 0.95;
}

/* ---------- hero intro timeline (runs on load, not on scroll) ---------- */
.has-js [data-hero] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s var(--ease) var(--hd, 0s),
    transform 0.95s var(--ease) var(--hd, 0s);
}
.has-js [data-hero="2"],
.has-js [data-hero="3"] {
  opacity: 1;
  transform: none;
}
.has-js [data-hero="2"] .line__in,
.has-js [data-hero="3"] .line__in {
  transform: translateY(108%);
  transition: transform 1.05s var(--ease) var(--hd, 0s);
}
.is-ready [data-hero] {
  opacity: 1;
  transform: none;
}
.is-ready [data-hero] .line__in {
  transform: none;
}
[data-hero="1"] {
  --hd: 0.05s;
}
[data-hero="2"] {
  --hd: 0.16s;
}
[data-hero="3"] {
  --hd: 0.27s;
}
[data-hero="4"] {
  --hd: 0.44s;
}
[data-hero="5"] {
  --hd: 0.55s;
}
[data-hero="6"] {
  --hd: 0.66s;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (min-width: 700px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .product__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  /* Alternating rhythm: add .product--reverse to flip a future section. */
  .product--reverse .product__copy {
    order: 2;
  }
  .result {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

@media (min-width: 1080px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
  /* 7 cards in a 3-column grid would leave a hole; widening the first and the
     last one makes 9 cells — three complete rows, with the flagship feature
     and the privacy promise reading as the emphasised pair. */
  .features > :first-child,
  .features > :last-child {
    grid-column: span 2;
  }
}

/* ---------- mobile nav ---------- */
@media (max-width: 899px) {
  .nav__burger {
    display: grid;
  }
  .nav__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 0 var(--pad);
    /* Opaque on purpose: a translucent panel over the hero headline made the
       links hard to read on the phone. */
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(10, 10, 12, 0.6);
    color: var(--ink);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transition:
      clip-path 0.5s var(--ease),
      opacity 0.3s var(--ease);
  }
  .nav.is-open .nav__menu {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 0.6rem 1.2rem;
  }
  .nav__link {
    padding: 0.85rem 0.2rem;
    font-size: 1.1rem;
    border-radius: var(--r-sm);
    border-bottom: 1px solid var(--line);
    opacity: 1;
    transform: translateY(10px);
    transition:
      transform 0.5s var(--ease) var(--md, 0s),
      opacity 0.4s var(--ease) var(--md, 0s),
      background-color var(--t) var(--ease);
  }
  .nav.is-open .nav__link {
    transform: none;
  }
  .nav__link::after {
    left: auto;
    right: 0.4rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) scale(0);
  }
  .nav__link.is-current::after {
    transform: translateY(-50%) scale(1);
  }
  .nav__links li:last-child .nav__link {
    border-bottom: 0;
  }
}

@media (max-width: 700px) {
  /* Sideways reveals would poke past the viewport edge on narrow screens. */
  .has-js [data-reveal="left"],
  .has-js [data-reveal="right"] {
    --rx: 0;
    --ry: 26px;
  }
}

@media (max-width: 560px) {
  .hero__meta {
    gap: 1.4rem;
  }
  .hero__meta strong {
    font-size: 1.25rem;
  }
  .btn {
    width: 100%;
  }
  .hero__cta,
  .product__actions {
    width: 100%;
  }
  .soon__item {
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
  }
  .soon__logo {
    width: 100%;
    order: 2;
  }
  .soon__tag {
    order: 3;
  }
}

/* =====================================================================
   REDUCED MOTION — content still appears, movement does not.
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .has-js [data-reveal],
  .has-js [data-hero],
  .has-js [data-hero] .line__in {
    opacity: 1 !important;
    transform: none !important;
  }
  .blob,
  .phone-float,
  .phone-halo,
  .hero__scroll-line,
  .badge__dot,
  .hero__eyebrow .dot {
    animation: none !important;
  }
  .phone-shot-main,
  .result__doc img {
    transform: none !important;
  }
  .btn::before {
    display: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Users on very small viewports get the same spacing rhythm, just tighter. */
@media (max-width: 380px) {
  :root {
    --space-section: 4.5rem;
  }
}
