/* ============================================================
   ARTSTORK AGENCY — Landing page stylesheet
   Colors, spacing and type are driven by the variables below.
   ============================================================ */

/* ---------- Fonts (self-hosted Manrope) ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-800-normal.woff2') format('woff2');
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #050505;
  --bg-2: #0A0A0A;
  --surface: #101010;
  --surface-glass: rgba(16, 16, 16, 0.82);

  --text: #F4F4F0;
  --text-2: rgba(244, 244, 240, 0.68);
  --text-3: rgba(244, 244, 240, 0.45);

  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);

  --lime: #B1C320;            /* sampled from the supplied artwork / brand mark */
  --lime-bright: #C9DD2E;
  --lime-ink: #0B1000;        /* text on lime */
  --lime-glow: rgba(177, 195, 32, 0.35);

  --font: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;
  --radius: 14px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.22, 0.61, 0.24, 1); /* premium ease-out */
  --t-fast: 0.28s;
  --t-med: 0.6s;
  --t-slow: 0.85s;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }

[hidden] { display: none !important; }

/* Disable accidental double-tap zoom; deliberate pinch zoom stays available */
html { touch-action: manipulation; }
a, button, input, select, textarea, label { touch-action: manipulation; }
img { height: auto; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

::selection { background: var(--lime); color: var(--lime-ink); }

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

.section { padding-block: clamp(72px, 9vw, 128px); }

section[id], [id="top"] { scroll-margin-top: calc(var(--header-h) + 8px); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 700;
  border-radius: 8px;
  transform: translateY(-200%);
  transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- Typography ---------- */
.lime { color: var(--lime); }

.h2 {
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 28px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.btn > span { transition: transform var(--t-fast) var(--ease); }
.btn__arrow {
  width: 11px; height: 11px;
  flex: none;
  transition: transform var(--t-fast) var(--ease);
}

.btn--lime {
  background: var(--lime);
  color: var(--lime-ink);
  overflow: hidden;
}
.btn--lime::after {
  /* periodic light sweep */
  content: '';
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: 0;
  width: 34%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-180%) skewX(-18deg);
  animation: btn-sheen 7s var(--ease) 2.5s infinite;
  pointer-events: none;
}
@keyframes btn-sheen {
  0% { transform: translateX(-180%) skewX(-18deg); }
  13% { transform: translateX(460%) skewX(-18deg); }
  100% { transform: translateX(460%) skewX(-18deg); }
}
.btn--lime:hover {
  background: var(--lime-bright);
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.28), 0 10px 32px -10px var(--lime-glow);
  transform: translateY(-2px);
}
.btn--lime:hover > span { transform: translateX(2px); }
.btn--lime:hover .btn__arrow { transform: translate(2px, -2px); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover {
  background: var(--text);
  color: #0A0A0A;
  border-color: var(--text);
}
.btn--ghost:hover .btn__arrow { transform: translate(2px, -2px); }

.btn--sm { padding: 12px 20px; }

.btn:active,
.btn--lime:hover:active,
.btn--ghost:hover:active { transform: scale(0.98); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
}
.header.is-scrolled {
  background: rgba(5, 5, 5, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.header__logo img { width: 152px; height: auto; }

.header__tag {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--text-2);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.header__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  transition: color var(--t-fast) var(--ease);
}
.header__link:hover { color: var(--text); }

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.header__burger span {
  display: block;
  height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.header__burger.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  pointer-events: none;
}
.mmenu.is-open { visibility: visible; pointer-events: auto; }

.mmenu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.mmenu.is-open .mmenu__backdrop { opacity: 1; }

.mmenu__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(360px, 88vw);
  height: 100%;
  padding: calc(var(--header-h) + 32px) 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(8, 8, 8, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--line-soft);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
}
.mmenu.is-open .mmenu__panel { transform: translateX(0); }

.mmenu__tag {
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--lime);
}
.mmenu__link {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.mmenu__link:hover { color: var(--lime); padding-left: 6px; }
.mmenu__cta { margin-top: 28px; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 84px));
  padding-bottom: clamp(48px, 6vw, 88px);
  background:
    radial-gradient(90% 60% at 78% 8%, rgba(177, 195, 32, 0.05), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-transform: uppercase;
}

.hero__title {
  margin-top: 22px;
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0.002em;
}

.hero__text {
  margin-top: 24px;
  max-width: 46ch;
  color: var(--text-2);
  font-size: 15.5px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__features {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: clamp(34px, 4vw, 52px);
}
.hero__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-2);
}
.hero__features li + li {
  padding-left: clamp(18px, 2.4vw, 30px);
  border-left: 1px solid var(--line-soft);
}
.hero__ficon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--lime);
}
.hero__ficon svg { width: 21px; height: 21px; }

/* Hero visual */
.hero__visual {
  position: relative;
  min-height: 420px;
}

.hero__photo {
  position: relative;
  margin-left: clamp(24px, 4vw, 56px);
  border-radius: var(--radius);
  overflow: hidden;
  transform: translateZ(0);
}
.hero__photo::after {
  /* edge vignette that melts the photo into the page */
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,5,0.55), transparent 32%),
    linear-gradient(270deg, rgba(5,5,5,0.5), transparent 36%),
    linear-gradient(0deg, rgba(5,5,5,0.6), transparent 42%);
  pointer-events: none;
}
.hero__photo .kb {
  /* slow cinematic zoom, reversing direction each cycle */
  line-height: 0;
  animation: kb-zoom 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kb-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.09); }
}
.hero__photo img {
  width: 100%;
  aspect-ratio: 1260 / 1215;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.hero__card {
  position: absolute;
  right: calc(-1 * clamp(0px, 1vw, 14px));
  bottom: clamp(20px, 3vw, 48px);
  width: min(340px, 78%);
  padding: 26px 28px;
  background: rgba(10, 10, 10, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.hero__card-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.32;
  text-transform: uppercase;
}
.hero__card-steps { margin-top: 20px; }
.hero__card-steps li {
  display: flex;
  gap: 16px;
  padding: 11px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
}
.hero__card-steps li + li { border-top: 1px solid var(--line-soft); }
.hero__card-steps .num {
  flex: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding-top: 2px;
}

/* ---------- Orbits ---------- */
.orbit {
  position: absolute;
  pointer-events: none;
}
.orbit__ring,
.orbit__path {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.orbit__ring { border: 1px solid rgba(177, 195, 32, 0.32); }
.orbit__path { animation: orbit-spin 16s linear infinite; }
.orbit__path--b {
  inset: 12%;
  animation-duration: 26s;
  animation-direction: reverse;
}
.orbit__dot {
  position: absolute;
  top: -4px;
  left: calc(50% - 4px);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow:
    0 0 10px 3px var(--lime-glow),
    0 0 26px 8px rgba(177, 195, 32, 0.2);
  animation: orbit-pulse 3.4s ease-in-out infinite;
}
.orbit__dot--faint {
  width: 5px; height: 5px;
  top: -2.5px;
  opacity: 0.55;
  box-shadow: 0 0 8px 2px rgba(177, 195, 32, 0.25);
}
.orbit.is-boosted .orbit__path { animation-duration: 10s; }
.orbit.is-boosted .orbit__path--b { animation-duration: 18s; }
.orbit.is-boosted .orbit__dot { box-shadow: 0 0 14px 5px var(--lime-glow), 0 0 34px 12px rgba(177, 195, 32, 0.28); }

@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}

.orbit--hero {
  top: 50%;
  left: clamp(-30px, -2vw, -10px);
  width: clamp(320px, 34vw, 520px);
  height: clamp(320px, 34vw, 520px);
  transform: translateY(-50%);
}

.orbit--cta {
  right: clamp(-140px, -8vw, -60px);
  bottom: -120px;
  width: clamp(320px, 30vw, 460px);
  height: clamp(320px, 30vw, 460px);
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  background: var(--lime);
  padding-block: 13px;
  user-select: none;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 46s linear infinite; /* JS refines this for smooth hover slowdown */
}
.ticker__group {
  display: flex;
  align-items: center;
  flex: none;
}
.ticker__group span {
  color: var(--lime-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__group i {
  width: 6px; height: 6px;
  margin-inline: 26px;
  background: var(--lime-ink);
  transform: rotate(45deg);
  opacity: 0.85;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Process ---------- */
.process { background: var(--bg); }

.process__slider { min-width: 0; }

.process__head .h2 {
  /* narrower column than other sections: cap the size so "PUBLISHED." fits */
  font-size: clamp(28px, 3.6vw, 46px);
}

.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 2.4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 36px);
}

.process__step {
  position: relative;
  padding: 18px 16px 10px;
  margin: -18px -16px -10px;
  border-radius: var(--radius-sm);
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.process__step:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.02);
}

.process__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--lime);
  transition: box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.process__icon svg { width: 24px; height: 24px; }
.process__step:hover .process__icon {
  border-color: rgba(177, 195, 32, 0.5);
  box-shadow: 0 0 24px -4px var(--lime-glow);
}

.process__num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.process__arrow {
  width: 22px; height: 11px;
  color: var(--text-3);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.process__step:hover .process__arrow { transform: translateX(4px); color: var(--text-2); }

.process__title {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.process__text {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-2);
}

/* ---------- Section head (shared) ---------- */
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.section__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
}
.section__hint {
  margin-right: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}

.ctrl {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.ctrl svg { width: 15px; height: 15px; }
.ctrl:hover { background: var(--text); color: #0A0A0A; border-color: var(--text); }
.ctrl:disabled { opacity: 0.3; pointer-events: none; }


/* ---------- Line-mask headline reveal ---------- */
.headline .line {
  display: block;
  overflow: hidden;
}
.headline .line__inner {
  display: inline-block;
  transform: translateY(118%);
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(0.08s + var(--li, 0) * 0.13s);
  will-change: transform;
}
/* triggered by scroll reveal (self or ancestor) */
[data-reveal].is-revealed .line__inner,
.headline[data-reveal].is-revealed .line__inner { transform: translateY(0); }
/* hero variant: triggered by page load, synced with the intro stagger */
.headline--hero .line__inner { transition-delay: calc(0.4s + var(--li, 0) * 0.13s); }
.is-loaded .headline--hero .line__inner { transform: translateY(0); }

/* ---------- Process arrows draw in on reveal ---------- */
.process__arrow path {
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
  transition: stroke-dashoffset 0.9s var(--ease) 0.45s;
}
[data-reveal].is-revealed .process__arrow path { stroke-dashoffset: 0; }

/* ---------- Hover video preview on work cards ---------- */
.work__preview {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
  background: #0A0A0A;
}
.work__preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Sliders (shared mechanics) ---------- */
[data-slider] { position: relative; }

.slider__progress {
  position: relative;
  flex: 1;
  max-width: 280px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.slider__progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 20%;
  background: var(--lime);
  border-radius: 2px;
  transition: width 0.25s linear, transform 0.25s linear;
}

/* ---------- Selected work ---------- */
.work { background: var(--bg); }

.work__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}
.work__track::-webkit-scrollbar { display: none; }

.work__card {
  flex: 0 0 calc((100% - 5 * 16px) / 6);
  min-width: 168px;
  scroll-snap-align: start;
}

.work__poster {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.work__poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,5,5,0.45), transparent 45%);
  transition: opacity var(--t-fast) var(--ease);
}
.work__poster:hover { border-color: rgba(177, 195, 32, 0.4); transform: translateY(-3px); }
.work__poster:hover::after { opacity: 0.6; }
.work__poster img {
  width: 100%;
  aspect-ratio: 516 / 676;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.work__poster:hover img { transform: scale(1.04); }

.work__duration {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 1;
  padding: 4px 9px;
  background: rgba(5, 5, 5, 0.65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.work__play {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--lime-ink);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(177, 195, 32, 0.4);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), opacity 0.3s var(--ease);
}
.work__play svg { width: 22px; height: 22px; fill: currentColor; }
.work__poster.is-previewing .work__preview { opacity: 1; }
.work__poster.is-previewing .work__play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
}
.work__poster:hover .work__play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 10px rgba(177, 195, 32, 0.14);
}

.work__title {
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.work__meta {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--text-3);
}

.work__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
}
.work__arrows { display: flex; gap: 10px; }

/* ---------- Portfolio link ---------- */
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color var(--t-fast) var(--ease);
}
.portfolio-link:hover { color: var(--text); }
.portfolio-link__circle {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--lime-ink);
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.portfolio-link__circle svg { width: 13px; height: 13px; }
.portfolio-link:hover .portfolio-link__circle {
  background: var(--lime-bright);
  transform: translate(2px, -2px);
}

/* ---------- Why agents ---------- */
.why { background: var(--bg-2); }

.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.why__card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.why__list { padding: clamp(24px, 3vw, 40px); }
.why__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 11px;
  font-size: 14.5px;
  font-weight: 600;
}
.why__check {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(177, 195, 32, 0.45);
  color: var(--lime);
}
.why__check svg { width: 12px; height: 12px; }

.why__aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  border-left: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.015);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-2);
}
.why__spark { color: var(--lime); }
.why__spark svg { width: 30px; height: 30px; }

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.cta__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.cta__text {
  margin-bottom: 30px;
  color: var(--text-2);
  font-size: 15.5px;
  max-width: 42ch;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-block: 30px;
}
.footer__logo img { width: 132px; height: auto; }

.footer__contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(18px, 2.6vw, 36px);
}
.footer__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  transition: color var(--t-fast) var(--ease);
}
.footer__contacts a:hover { color: var(--lime); }
.footer__icon { width: 18px; height: 18px; flex: none; }
.footer__ext {
  width: 9px; height: 9px;
  flex: none;
  opacity: 0.6;
  transition: transform var(--t-fast) var(--ease);
}
.footer__contacts a:hover .footer__ext { transform: translate(2px, -2px); }

.footer__email {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.copy-btn {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.copy-btn:hover { color: var(--lime-ink); background: var(--lime); border-color: var(--lime); }
.copy-toast {
  position: absolute;
  top: -32px;
  right: 0;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  pointer-events: none;
}
.copy-toast.is-visible { opacity: 1; transform: translateY(0); }

.footer__bottom {
  padding-block: 16px;
  border-top: 1px solid var(--line-soft);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer__bottom p {
  font-size: 12px;
  color: var(--text-3);
}
.footer__legal {
  display: flex;
  gap: 20px;
}
.footer__legal-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  transition: color var(--t-fast) var(--ease);
}
.footer__legal-link:hover { color: var(--text); }

/* ---------- Modals ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
}
.modal.is-open { visibility: visible; pointer-events: auto; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 2, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }

.modal__body {
  position: relative;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.modal.is-open .modal__body { opacity: 1; transform: none; }

.modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;   /* comfortable tap area, small visual */
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(244, 244, 240, 0.45);
  transition: color var(--t-fast) var(--ease);
}
.modal__close svg { width: 12px; height: 12px; }
.modal__close:hover { color: var(--text); }

.modal__body--video { width: min(420px, calc((100vh - 160px) * 9 / 16), 92vw); }
.modal__caption {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}
#modal-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: min(86vh, 820px);
  background: #000;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  object-fit: cover;
}

.modal__body--contact {
  width: min(440px, 100%);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  padding: clamp(28px, 4vw, 40px);
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.contact__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
}
.contact__text {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.contact__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}
.contact__option {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.contact__option:hover {
  border-color: rgba(177, 195, 32, 0.45);
  background: #141410;
  transform: translateY(-2px);
}
.contact__icon {
  grid-row: span 2;
  width: 22px; height: 22px;
  color: var(--lime);
}
.contact__name {
  font-size: 14px;
  font-weight: 700;
}
.contact__value {
  font-size: 12.5px;
  color: var(--text-3);
}


/* ---------- Scroll-scrub paragraph highlight ---------- */
[data-scrub].is-scrub .scrub__w {
  color: rgba(244, 244, 240, 0.28);
  transition: color 0.3s var(--ease);
}
[data-scrub].is-scrub .scrub__w.is-lit { color: var(--text); }

/* ---------- Mobile process stepper (hidden on desktop) ---------- */
.pstep__bar { display: none; }
@keyframes pstep-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.ctrl--sm { width: 34px; height: 34px; }
.ctrl--sm svg { width: 13px; height: 13px; }

/* ---------- Lead form in the contact modal ---------- */
.contact__divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.contact__divider::before,
.contact__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.lead { margin-top: 18px; }
.lead__field { margin-top: 12px; }
.lead__field:first-child { margin-top: 0; }
.lead__label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.lead__req { color: var(--lime); }
.lead__opt {
  margin-left: 6px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: none;
}
.lead__input {
  width: 100%;
  padding: 13px 14px;
  font-size: 16px;   /* >=16px prevents iOS from auto-zooming the page on focus */
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.lead__input::placeholder { color: rgba(244, 244, 240, 0.32); }
.lead__input:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(255, 255, 255, 0.07);
}
.lead__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.lead__submit {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}
.lead__submit:disabled { opacity: 0.6; pointer-events: none; }
.lead__status {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: #ff8b7d;
}
.lead__status:empty { display: none; }
.lead__status a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.lead__success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(177, 195, 32, 0.35);
  border-radius: 12px;
  background: rgba(177, 195, 32, 0.08);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}
.lead__success strong { color: var(--text); }
.lead__check {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--lime-ink);
}
.lead__check svg { width: 14px; height: 14px; }

/* ---------- Legal document modals ---------- */
.modal__body--doc {
  width: min(680px, 92vw);
  max-height: min(82vh, 760px);
  overflow-y: auto;
  padding: clamp(28px, 4.5vw, 48px);
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.doc__title {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.doc__meta {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.doc__content { margin-top: 22px; }
.doc__content h3 {
  margin-top: 26px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.doc__content p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-2);
}
.doc__content a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(177, 195, 32, 0.6);
}
.doc__content a:hover { color: var(--lime); }

/* ---------- Custom cursor ---------- */
.cursor { display: none; }

@media (hover: hover) and (pointer: fine) {
  body.has-cursor { cursor: none; }
  body.has-cursor a,
  body.has-cursor button { cursor: none; }

  body.has-cursor .cursor {
    display: block;
    position: fixed;
    top: 0; left: 0;
    z-index: 999;
    pointer-events: none;
  }
  .cursor__dot {
    position: fixed;
    top: -3px; left: -3px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--lime);
  }
  .cursor__ring {
    position: fixed;
    top: -19px; left: -19px;
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    border: 1px solid rgba(177, 195, 32, 0.5);
    border-radius: 50%;
    transition: width 0.25s var(--ease), height 0.25s var(--ease),
      top 0.25s var(--ease), left 0.25s var(--ease),
      background-color 0.25s var(--ease), border-color 0.25s var(--ease);
  }
  .cursor__label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--lime-ink);
    opacity: 0;
    transition: opacity 0.2s var(--ease);
  }
  .cursor.is-hover .cursor__ring {
    width: 52px; height: 52px;
    top: -26px; left: -26px;
    background: rgba(177, 195, 32, 0.12);
  }
  .cursor.is-label .cursor__ring {
    width: 62px; height: 62px;
    top: -31px; left: -31px;
    background: var(--lime);
    border-color: var(--lime);
  }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Intro (hero load) ---------- */
[data-intro] {
  opacity: 0;
  transform: translateY(22px);
}
.is-loaded [data-intro] {
  opacity: 1;
  transform: none;
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.is-loaded [data-intro="1"] { transition-delay: 0.05s; }
.is-loaded [data-intro="3"] { transition-delay: 0.24s; }
.is-loaded [data-intro="4"] { transition-delay: 0.33s; }
.is-loaded [data-intro="5"] { transition-delay: 0.42s; }
.is-loaded [data-intro="6"] { transition-delay: 0.28s; }
.is-loaded [data-intro="7"] { transition-delay: 0.5s; }

/* ---------- Scroll reveals ---------- */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal="fade-up"] { transform: translateY(28px); }
[data-reveal="fade-in"] { transform: none; }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {
  .work__card { flex-basis: calc((100% - 4 * 16px) / 5); }
  .hero__card { width: min(320px, 84%); }
}

@media (max-width: 992px) {
  .header__tag { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 0; margin-top: 12px; }
  .hero__photo { margin-left: 0; }
  .hero__photo img { aspect-ratio: 16 / 11; }
  .orbit--hero {
    width: 300px; height: 300px;
    left: -80px;
  }
  .hero__card {
    position: relative;
    right: auto; bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

  .process__grid { grid-template-columns: minmax(0, 1fr); }
  .process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .process__arrow { display: none; }


  .why__grid { grid-template-columns: 1fr; }
  .work__card { flex-basis: calc((100% - 3 * 16px) / 4); }

  .cta__grid { grid-template-columns: 1fr; }
  .orbit--cta { right: -160px; bottom: -180px; }
}

@media (max-width: 768px) {
  .header__link { display: none; }
  .header__nav .btn--sm { display: none; }
  .header__burger { display: flex; }

  .hero__title br { display: none; }
  .hero__features {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .hero__features li + li {
    padding-left: 0;
    border-left: 0;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .why__card { grid-template-columns: 1fr; }
  .why__aside {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .work__card { flex-basis: 62vw; max-width: 270px; }
  .work__poster img { aspect-ratio: 9 / 16; }

  /* In swipe lanes, cards must not slide up as they enter the viewport */
  .process__step[data-reveal],
  .work__card[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Our Process: tab stepper — one step visible, switched by taps only */
  .pstep__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
  }
  .pstep__tabs { display: flex; gap: 4px; }
  .pstep__tab {
    min-width: 40px;
    height: 36px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-3);
    border-bottom: 2px solid transparent;
    transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  }
  .pstep__tab.is-active {
    color: var(--lime);
    border-color: var(--lime);
  }
  .pstep__ctrls { display: flex; gap: 8px; flex: none; }
  .process__steps { display: block; }
  .process__step { display: none; }
  .process__step.is-active {
    display: block;
    animation: pstep-in 0.3s var(--ease);
  }

  .modal__body--video .modal__close { top: -50px; right: 50%; transform: translateX(50%); }
  .modal__body--contact .modal__close,
  .modal__body--doc .modal__close {
    position: sticky;
    top: 0;
    right: auto;
    margin-left: auto;
    margin-bottom: 10px;
    transform: none;
    z-index: 5;
  }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__contacts { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 768px) {
  /* simpler decoration on small screens */
  .orbit__path--b { display: none; }
  .orbit__dot {
    box-shadow: 0 0 8px 2px rgba(177, 195, 32, 0.3);
    animation: none;
  }
}

@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__card { padding: 22px; }
  .work__card { flex-basis: 68vw; }
  .ticker__group i { margin-inline: 18px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .headline .line__inner { transform: none !important; transition: none !important; }
  [data-scrub].is-scrub .scrub__w { color: inherit; }
  .btn--lime::after { display: none; }
  .hero__photo .kb { animation: none; }
  .work__preview { display: none; }
  .process__arrow path { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-intro], [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .ticker__track { animation: none; transform: none; }
  .orbit { display: none; }
}

/* ============================================================
   UI PASS v14 — readability & hierarchy
   ------------------------------------------------------------
   Appended block: only type sizes, spacing and the hero action
   layout. Nothing above this line was modified, so removing this
   block restores the previous look exactly.
   ============================================================ */

/* --- Hero: three actions (Claim free video / See our work / Pricing) --- */
@media (min-width: 561px) {
  .hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 430px;
  }
  .hero__actions .btn { justify-content: center; }
  .hero__actions .btn--lime { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* --- Hero feature strip: icon above label, so lines don't break ragged --- */
.hero__features li {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
}
@media (max-width: 768px) {
  .hero__features li {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}

/* --- Body copy that was reading too small --- */
.process__text { font-size: 15px; line-height: 1.65; }
.work__title   { font-size: 15px; }
.work__meta    { font-size: 13px; }
.work__duration { font-size: 12px; }
.why__list li  { font-size: 15px; line-height: 1.6; }
.eyebrow       { font-size: 12.5px; }

/* --- Footer --- */
.footer__bottom p       { font-size: 13px; }
.footer__legal-link     { font-size: 13px; }
.copy-btn               { font-size: 11.5px; }
.footer__contacts       { font-size: 14px; }

/* --- Header location badge ---
   Taken out of absolute centring: the pill is wider than the old plain text
   and was colliding with the nav below ~1300px. In normal flow the flex
   `space-between` keeps even gaps at every width. */
.header__tag {
  position: static;
  left: auto;
  transform: none;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.header__tag-sep { color: var(--text-3); }
.header__tag-hl  { color: var(--lime); }
@media (max-width: 1320px) { .header__tag { display: none; } }

/* --- Header nav links: larger, clearly clickable --- */
.header__link {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding-block: 4px;
}
.header__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast) var(--ease);
}
.header__link:hover::after,
.header__link:focus-visible::after { transform: scaleX(1); }
.header__link:hover { color: var(--lime-bright); }
.header__link.is-current::after { transform: scaleX(1); }

/* --- Tighter vertical rhythm: the home page read as loosely stacked
       next to pricing.html, which uses a shorter section scale --- */
.section { padding-block: clamp(56px, 6.6vw, 96px); }
.section__head { margin-bottom: clamp(28px, 3.4vw, 44px); }
.hero { padding-bottom: clamp(46px, 6vw, 80px); }
.hero__features { margin-top: clamp(28px, 3.2vw, 40px); }
.hero__actions { margin-top: 28px; }
.footer__inner { padding-block: clamp(34px, 4vw, 54px); }

/* --- Mobile sticky action bar --- */
.mbar { display: none; }
@media (max-width: 768px) {
  .mbar {
    position: fixed;
    z-index: 80;
    left: 0; right: 0; bottom: 0;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: rgba(6, 7, 6, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .mbar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
  }
  .mbar__btn--lime { background: var(--lime); color: var(--lime-ink); }
  .mbar__btn--ghost {
    border: 1px solid rgba(201, 221, 46, 0.55);
    color: var(--lime-bright);
  }
  /* keep the bar clear of the footer and of any open overlay */
  body { padding-bottom: 78px; }
  body.no-scroll .mbar { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .mbar__btn { transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
  .mbar__btn:active { transform: scale(0.97); }
}
