/* ==========================================================================
   GREMO — styles
   Warm off-white · black · tiny blue accents · Plus Jakarta Sans
   Tokens → base → components → sections → motion → responsive
   ========================================================================== */
:root {
  --bg: #F7F5F0;
  --bg-2: #F1EEE7;
  --card: #FFFFFF;
  --ink: #141414;
  --ink-2: #2A2A2A;
  --muted: #6E6A63;
  --line: #E7E2D9;
  --line-2: #DDD7CC;
  --blue: #2B5BFF;
  --blue-300: #8EA8FF;
  --yellow: #FFD60A;
  --white: #FFFFFF;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --shadow: 0 1px 2px rgba(20, 20, 20, 0.04), 0 12px 32px -18px rgba(20, 20, 20, 0.18);
  --gutter: clamp(20px, 5vw, 40px);
  --max: 1160px;
  --nav-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
section[id], footer[id] { scroll-margin-top: var(--nav-h); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.h1, .h2 { font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; color: var(--ink); }
.h1 { font-size: clamp(42px, 6.4vw, 84px); }
.h2 { font-size: clamp(32px, 4.3vw, 54px); letter-spacing: -0.04em; line-height: 1.06; }
.h1 > span, .h2 > span { display: block; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); }
.body { font-size: 17px; line-height: 1.6; color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.link { color: var(--blue); border-bottom: 1px solid currentColor; }
/* yellow highlighter that swipes in behind "great video." */
.mark { background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 86% / 0% 0.34em; padding: 0 0.04em; margin: 0 -0.04em; transition: background-size 1.1s var(--ease) 0.75s; }
.is-visible .mark { background-size: 100% 0.34em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.btn .arrow { display: inline-block; transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--dark { background: var(--ink); color: var(--white); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 8px 20px -10px rgba(20, 20, 20, 0.5); }
.btn--dark:hover { transform: translateY(-1px); background: #000; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 14px 28px -12px rgba(20, 20, 20, 0.55); }
.btn--light { background: var(--card); color: var(--ink); border: 1px solid var(--line-2); }
.btn--light:hover { transform: translateY(-1px); border-color: var(--ink); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5); }
.btn--ghost-dark { color: var(--ink); border: 1px solid var(--line-2); }
.btn--text { min-height: 44px; padding: 0 8px; color: var(--muted); font-weight: 500; }
.btn--text:hover { color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(247, 245, 240, 0); border-bottom: 1px solid transparent; transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease); }
.nav.is-solid { background: rgba(247, 245, 240, 0.82); border-bottom-color: var(--line); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: 0.02em; }
.logo__mark { width: 26px; height: 26px; }
.nav__links { display: flex; gap: 30px; margin: 0 auto; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav__links a { transition: color 0.3s var(--ease); }
.nav__links a:hover { color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vh, 80px) 0 0; }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow); }
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: #2BB673; box-shadow: 0 0 0 3px rgba(43, 182, 115, 0.18); animation: pulse 2.4s var(--ease) infinite; }
.hero .h1 { margin-top: 26px; }
.hero .lead { margin-top: 22px; max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.hero__note { margin-top: 18px; font-size: 13px; color: var(--muted); }

.reel {
  position: relative;
  margin-top: clamp(44px, 6vw, 72px);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(20, 20, 20, 0.08);
  /* same soft shadow above and below so light frames never melt into the page */
  box-shadow: 0 2px 4px rgba(20, 20, 20, 0.05), 0 40px 80px -40px rgba(20, 20, 20, 0.45), 0 -40px 80px -40px rgba(20, 20, 20, 0.45);
  isolation: isolate;
}
.reel__video { width: 100%; height: 100%; object-fit: cover; }
.reel__btn {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.reel__btn:hover { background: rgba(20, 20, 20, 0.85); transform: translateY(-1px); }
.reel__play { width: 0; height: 0; border-left: 9px solid var(--white); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 14px; height: 14px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B5BFF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ---------- trust ---------- */
.trust { padding: clamp(56px, 7vw, 88px) 0 0; }
.trust__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: clamp(28px, 4vw, 40px) 24px; border: 2px dotted var(--line-2); border-radius: var(--r-xl); }
.trust__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 44px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.02em; color: #B3ADA2; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 10vw, 128px) 0 0; }
.section__head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section__head .body { max-width: 52ch; }

/* ---------- work ---------- */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project { display: block; width: 100%; padding: 10px 10px 22px; text-align: left; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease); }
.project:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(20, 20, 20, 0.04), 0 28px 50px -30px rgba(20, 20, 20, 0.35); }
.project--featured { grid-column: 1 / -1; }
.project__media { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--bg-2); isolation: isolate; }
.project__media img, .project__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.8s var(--ease); }
.project__media video { opacity: 0; }
.project__media video.is-playing { opacity: 1; }
.project:hover .project__media img, .project:hover .project__media video { transform: scale(1.025); }
.project__play { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 13px; border-radius: 999px; background: rgba(20, 20, 20, 0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white); font-size: 13px; font-weight: 600; transition: background-color 0.4s var(--ease); }
.project__play::before { content: ""; width: 0; height: 0; border-left: 8px solid var(--white); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.project:hover .project__play { background: rgba(20, 20, 20, 0.85); }
.project__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 10px 0; }
.project__name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.project--featured .project__name { font-size: clamp(22px, 2.2vw, 26px); }
.project__cat { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.project__line { padding: 6px 10px 0; font-size: 15px; color: var(--muted); }

/* ---------- services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { display: flex; flex-direction: column; padding: 10px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(20, 20, 20, 0.04), 0 28px 50px -30px rgba(20, 20, 20, 0.3); }
.card__art { position: relative; height: 190px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.card__body { padding: 22px 16px 16px; }
.card__num { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--blue); }
.card h3 { margin-top: 8px; font-size: 21px; font-weight: 700; letter-spacing: -0.025em; }
.card p { margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.55; }

/* mini art: launch */
.art-launch { position: absolute; inset: 0; display: grid; place-items: center; }
.art-launch__win { width: 70%; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.art-launch__pill { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; }
.art-launch__t { height: 10px; width: 75%; margin-top: 12px; border-radius: 5px; background: var(--ink); }
.art-launch__s { height: 7px; width: 55%; margin-top: 8px; border-radius: 4px; background: var(--line-2); }
.art-launch__btn { width: 42%; height: 22px; margin-top: 14px; border-radius: 999px; background: var(--blue); }
.in-view .art-launch__win > * { animation: rise 5s var(--ease) infinite; }
.in-view .art-launch__t { animation-delay: 0.1s; } .in-view .art-launch__s { animation-delay: 0.2s; } .in-view .art-launch__btn { animation-delay: 0.3s; }
/* mini art: explainer */
.art-explain { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 12%; }
.art-explain__node { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 1px solid var(--line-2); font-size: 12px; font-weight: 700; color: var(--muted); flex-shrink: 0; }
.art-explain__line { position: relative; flex: 1; height: 2px; background: var(--line-2); overflow: hidden; }
.art-explain__line::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.in-view .art-explain__line::after { animation: fillLine 4.5s var(--ease-io) infinite; }
.in-view .art-explain__line:nth-of-type(4)::after { animation-delay: 0.9s; }
.in-view .art-explain__node { animation: nodeOn 4.5s var(--ease) infinite; }
.in-view .art-explain__node:nth-of-type(3) { animation-delay: 0.9s; }
.in-view .art-explain__node:nth-of-type(5) { animation-delay: 1.8s; }
/* mini art: UI motion */
.art-motion { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 16%; }
.art-motion__row { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.art-motion__row i { display: block; width: 50%; height: 8px; border-radius: 4px; background: var(--line-2); }
.toggle { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--line-2); }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(20, 20, 20, 0.25); }
.in-view .toggle { animation: toggleBg 4s var(--ease) infinite; }
.in-view .toggle::after { animation: toggleKnob 4s var(--ease) infinite; }
.in-view .art-motion__row:nth-child(2) .toggle, .in-view .art-motion__row:nth-child(2) .toggle::after { animation-delay: 0.5s; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.price-card { position: relative; padding: clamp(28px, 4vw, 40px); border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.price-card__label { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.price-card__price { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; }
.price-card__price b { font-size: clamp(60px, 7vw, 80px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.price-card__price span { font-size: 15px; color: var(--muted); }
.price-card__price s { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.03em; color: #B3ADA2; text-decoration-thickness: 2px; }
.price-card__after { margin-top: 10px; font-size: 14px; color: var(--muted); }
/* launch offer: tag + spots counter + progress */
.offer { margin-bottom: 26px; padding: 14px 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.offer__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.offer__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.offer__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2BB673; box-shadow: 0 0 0 3px rgba(43, 182, 115, 0.18); animation: pulse 2.4s var(--ease) infinite; }
.offer__count { font-size: 13px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.offer__bar { height: 6px; margin-top: 12px; border-radius: 3px; background: var(--line); overflow: hidden; }
.offer__bar span { display: block; height: 100%; width: var(--p); border-radius: 3px; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) 0.3s; }
.is-visible .offer__bar span { transform: scaleX(1); }
.price-card__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 26px 0 30px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.price-card__list li { display: flex; gap: 10px; align-items: flex-start; }
.price-card__list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; stroke: var(--blue); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.price-card__rush { margin: -14px 0 20px; font-size: 14px; color: var(--muted); }
.price-card__rush b { color: var(--ink); font-weight: 600; }
.price-card__note { margin-top: 20px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.price-card__note b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.how { padding: clamp(28px, 4vw, 40px); border-radius: var(--r-xl); background: var(--bg-2); border: 1px solid var(--line); }
.how__title { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mini-steps { display: grid; margin-top: 18px; }
.mini-steps li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-2); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.mini-steps li:first-child { border-top: 0; }
.mini-steps span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--blue); flex-shrink: 0; }

/* ---------- faq ---------- */
.faq__list { max-width: 760px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--line-2); }
.qa:first-child { border-top: 1px solid var(--line-2); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 4px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; top: 50%; left: 0; width: 14px; height: 1.6px; margin-top: -0.8px; background: var(--ink); border-radius: 1px; transition: transform 0.5s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__a { overflow: hidden; transition: height 0.5s var(--ease); }
.qa__a p { padding: 0 48px 22px 4px; font-size: 16px; color: var(--muted); }

/* ---------- final ---------- */
.section--final { padding-bottom: clamp(80px, 10vw, 128px); }
.final {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 72px);
  border-radius: 32px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  isolation: isolate;
}
.final::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(43, 91, 255, 0.35), transparent 70%); animation: drift 22s var(--ease-io) infinite alternate; }
.h2--final { color: var(--white); max-width: 16ch; margin: 0 auto; font-size: clamp(34px, 5vw, 64px); }
.final .lead { margin: 20px auto 0; color: rgba(255, 255, 255, 0.7); max-width: 34ch; }
.final .btn { margin-top: 34px; }

/* ---------- footer ---------- */
.footer { padding: 48px 0 32px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.footer__brand p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.footer a { transition: color 0.3s var(--ease); }
.footer__links a:hover, .footer__mail:hover { color: var(--muted); }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; position: relative; font-size: 13px; color: var(--muted); }
.footer__base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.footer__mail { font-weight: 600; color: var(--ink); }

/* ---------- mobile sticky CTA ---------- */
.mcta { display: none; }

/* ---------- quote sheet ---------- */
.sheet { width: min(560px, calc(100vw - 32px)); max-height: min(680px, calc(100svh - 32px)); padding: 0; border: 0; border-radius: 28px; background: var(--card); color: var(--ink); box-shadow: 0 60px 140px -40px rgba(20, 20, 20, 0.5); overflow: hidden; }
.sheet::backdrop { background: rgba(20, 20, 20, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheetIn 0.7s var(--ease); }
.sheet[open]::backdrop { animation: fade 0.5s var(--ease); }
.qf { display: flex; flex-direction: column; min-height: 460px; }
.qf__top { display: flex; align-items: center; gap: 12px; padding: 22px 24px 16px 28px; }
.qf__brand { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.qf__count { margin-left: auto; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.qf__close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; transition: background-color 0.3s var(--ease); }
.qf__close:hover { background: var(--bg); }
.qf__close svg, .lightbox__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; }
.qf__bar { height: 2px; margin: 0 28px; background: var(--line); border-radius: 1px; overflow: hidden; }
.qf__bar span { display: block; height: 100%; width: 16.66%; background: var(--ink); transition: width 0.7s var(--ease); }
.qf__steps { position: relative; flex: 1; padding: 34px 28px 8px; overflow-y: auto; }
.qf__step { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.qf__step.is-on { display: block; animation: stepIn 0.6s var(--ease); }
.qf__step legend { padding: 0; margin-bottom: 22px; font-size: clamp(24px, 4vw, 30px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.field { width: 100%; height: 56px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); font: inherit; font-size: 17px; color: var(--ink); transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.field:focus { outline: none; background: var(--white); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20, 20, 20, 0.06); }
.field--area { height: auto; padding: 16px 18px; resize: vertical; line-height: 1.5; }
.qf__hint { margin-top: 10px; font-size: 14px; color: var(--muted); }
.choices { display: grid; gap: 10px; }
.choices--row { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; min-height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--white); font-size: 16px; font-weight: 500; cursor: pointer; transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.choices--row .choice span { justify-content: center; text-align: center; }
.choice span:hover { border-color: var(--muted); }
.choice input:checked + span { border-color: var(--ink); background: var(--bg); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.qf__error { min-height: 22px; padding: 0 28px; font-size: 14px; color: #D92D20; }
.qf__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 24px 24px 20px; }
.qf__nav [data-back][hidden] { display: inline-flex; visibility: hidden; }
/* hidden parts of the form must really disappear (their display rules would otherwise win) */
.qf__nav[hidden], .qf__bar[hidden], .qf__count[hidden] { display: none; }
.qf__nav .btn--primary { background: var(--ink); color: var(--white); }
.qf__done { padding-top: 8px; animation: stepIn 0.7s var(--ease); }
.qf__done[hidden] { display: none; }
.qf__check { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); }
.qf__check svg { width: 26px; height: 26px; stroke: var(--ink); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.qf__done h3 { margin-top: 22px; font-size: 30px; font-weight: 800; letter-spacing: -0.035em; }
.qf__done p { margin: 10px 0 26px; color: var(--muted); }

/* ---------- lightbox ---------- */
.lightbox { width: min(1200px, calc(100vw - 32px)); padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 10, 10, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox[open] { animation: sheetIn 0.7s var(--ease); }
.lightbox__video { width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: #000; }
.lightbox__close { position: absolute; top: -52px; right: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--white); background: rgba(255, 255, 255, 0.12); transition: background-color 0.3s var(--ease); }
.lightbox__close:hover { background: rgba(255, 255, 255, 0.22); }

/* ==========================================================================
   Motion — slow, small, intentional
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-lines > span { overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.reveal-lines > span > i { display: block; font-style: normal; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 0.09s + var(--d, 0s)); }
.reveal-lines.is-visible > span > i { transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
.no-js .reveal-lines > span > i { transform: none; }

@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-60px, -30px, 0); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(43, 182, 115, 0.18); } 50% { box-shadow: 0 0 0 6px rgba(43, 182, 115, 0); } }
@keyframes rise { 0%, 5% { opacity: 0; transform: translateY(10px); } 20%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes fillLine { 0%, 10% { transform: scaleX(0); } 40%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes nodeOn { 0%, 15% { background: var(--card); color: var(--muted); border-color: var(--line-2); } 25%, 85% { background: var(--ink); color: var(--white); border-color: var(--ink); } 100% { background: var(--card); color: var(--muted); } }
@keyframes toggleBg { 0%, 30% { background: var(--line-2); } 45%, 80% { background: var(--blue); } 95%, 100% { background: var(--line-2); } }
@keyframes toggleKnob { 0%, 30% { transform: none; } 45%, 80% { transform: translateX(14px); } 95%, 100% { transform: none; } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal], .reveal-lines > span > i { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .work { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .pricing { grid-template-columns: 1fr; max-width: 560px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --nav-h: 62px; }
  body { font-size: 16px; }
  .h1 { font-size: clamp(36px, 10.6vw, 52px); }
  .h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .hero { padding-top: 28px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .reel { border-radius: 20px; margin-top: 36px; }
  .reel__btn { left: 12px; bottom: 12px; height: 38px; font-size: 13px; }
  .facts { gap: 8px 18px; font-size: 13px; }
  .trust__list { gap: 6px 22px; }
  .work { grid-template-columns: 1fr; }
  .price-card__list { grid-template-columns: 1fr; }
  .qa summary { font-size: 16px; }
  .qa__a p { padding-right: 4px; }
  .final { border-radius: 24px; }
  .footer { padding-bottom: 120px; }
  .mcta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(247, 245, 240, 0), rgba(247, 245, 240, 0.95) 40%);
    transform: translateY(110%);
    transition: transform 0.6s var(--ease);
  }
  .mcta.is-on { transform: none; }
  .sheet { width: 100%; max-width: none; max-height: 92svh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .qf { min-height: 0; height: 92svh; max-height: 640px; }
  .choices--row { grid-template-columns: 1fr; }
  .choices--row .choice span { justify-content: flex-start; }
  .lightbox__close { top: -48px; }
}
