/* Alin Reparații — styles
   Direction: "The sentence is the layout" (taste-skill), brand palette kept.
   Motion vocabulary after adrienquechon.com: preloader count, masked letter reveals,
   scroll-lit words, page tint per section, rolling link text, pinned horizontal gallery. */

:root {
  /* palette from the logo and the van */
  --c-light: #F3F7FC;
  --c-ice: #E3EEFA;
  --c-navy: #0C2C5C;
  --c-deep: #0A1B33;
  --accent: #1A62D0;
  --accent-press: #134FAE;
  --wa: #25D366;
  --wa-press: #1EBE5A;

  /* theme roles (overridden per section theme) */
  --page-bg: var(--c-ice);
  --ink: #0A1B33;
  --muted: #475A75;
  --surface: #DCE7F5;
  --ice: #CFE2F7;
  --on-navy-soft: #B9CCE6;

  /* type: one family, five working steps (+ the hero name) */
  --font: "Host Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --t-s: 15px;
  --t-m: 18px;
  --t-l: clamp(24px, 2.5vw, 36px);
  --t-xl: clamp(44px, 6vw, 96px);
  --t-xxl: clamp(60px, 11vw, 190px);

  /* frame */
  --m: clamp(16px, 2.8vw, 40px);
  --gap: clamp(16px, 1.6vw, 24px);
  --section: clamp(72px, 8vw, 128px);
  --r: 14px;
  --bar-h: 76px;

  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

body[data-theme="light"] { --page-bg: var(--c-light); }
body[data-theme="ice"] { --page-bg: var(--c-ice); }
body[data-theme="navy"] {
  --page-bg: var(--c-navy);
  --ink: #F3F7FC;
  --muted: #B9CCE6;
  --surface: #17407A;
  --ice: #1B4887;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar-h); }
html:not(.smooth-on) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  background-color: var(--page-bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-m);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color 700ms var(--ease-out), color 700ms var(--ease-out);
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1760px; margin-inline: auto; padding-inline: var(--m); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 300; background: var(--c-deep); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }

/* sections keep their own ground without script; with it, the page tints instead */
[data-bg="light"] { background-color: var(--c-light); }
[data-bg="ice"] { background-color: var(--c-ice); }
[data-bg="navy"] { background-color: var(--c-navy); color: #F3F7FC; --ink: #F3F7FC; --muted: #B9CCE6; --surface: #17407A; --ice: #1B4887; }
html.theme-on [data-bg="navy"] { --ink: inherit; --muted: inherit; --surface: inherit; --ice: inherit; }
html.theme-on [data-bg] { background-color: transparent; color: inherit; }

/* ---------- preloader ---------- */
.loader { display: none; }
html.js .loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--c-navy); color: #fff;
  clip-path: inset(0 0 0 0);
  transition: clip-path 650ms var(--ease-in-out);
  animation: loader-failsafe 0s linear 3s forwards;
}
html.is-ready .loader__in, html.is-ready .loader__count { opacity: 0; transition: opacity 250ms ease; }
html.is-ready .loader { clip-path: inset(0 0 100% 0); pointer-events: none; visibility: hidden; transition: clip-path 650ms var(--ease-in-out), visibility 0s linear 650ms; }
.loader__in { display: grid; justify-items: center; gap: 14px; }
.loader__in img { width: 96px; height: 96px; object-fit: contain; animation: loader-float 1.6s var(--ease-in-out) infinite alternate; }
.loader__name { font-size: var(--t-l); font-weight: 700; letter-spacing: -0.03em; }
.loader__count { position: fixed; left: var(--m); bottom: 28px; font-size: var(--t-xxl); font-weight: 800; letter-spacing: -0.05em; line-height: 0.85; font-variant-numeric: tabular-nums; }
.loader__bar { position: fixed; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
@keyframes loader-float { to { transform: translateY(-8px) rotate(-4deg); } }
@keyframes loader-failsafe { to { visibility: hidden; } }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; left: 0; top: 0; z-index: 70; width: 100%; height: 4px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
}

/* ---------- buttons, links, rolling text ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 6px 6px 6px 24px;
  background: var(--accent); color: #fff;
  border-radius: 999px; text-decoration: none;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  translate: var(--mx, 0) var(--my, 0);
  transition: transform 160ms var(--ease-out), translate 420ms var(--ease-out), background-color 200ms ease;
}
.btn__chip { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--accent); overflow: hidden; flex: none; }
.btn__chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease-out); }
.btn__chip--phone svg, .btn--wa .btn__chip svg { fill: currentColor; stroke: none; }
.btn__chip--phone svg { width: 16px; height: 16px; }
.btn--wa .btn__chip svg { width: 20px; height: 20px; }
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 46px; padding-left: 20px; font-size: var(--t-s); }
.btn--sm .btn__chip { width: 34px; height: 34px; }
.btn--light { background: #fff; color: var(--c-navy); }
.btn--light .btn__chip { background: var(--accent); color: #fff; }

.link { position: relative; display: inline-block; font-weight: 600; text-decoration: none; padding-bottom: 4px; }
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor;
  opacity: 0.4; transform-origin: right; transition: opacity 200ms ease;
}

.roll { display: inline-grid; overflow: hidden; vertical-align: top; }
.roll__a, .roll__b { grid-area: 1 / 1; transition: transform 520ms var(--ease-out); }
.roll__b { transform: translateY(105%); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-press); }
  .btn--light:hover, .diag__out .btn:hover { background: var(--c-ice); }
  .btn:hover .btn__chip svg { transform: translateX(3px); }
  .btn:hover .btn__chip--phone svg, .btn--wa:hover .btn__chip svg { transform: rotate(-12deg) scale(1.08); }
  a:hover > .roll .roll__a { transform: translateY(-105%); }
  a:hover > .roll .roll__b { transform: none; }
  .link:hover::after { opacity: 1; animation: line-redraw 700ms var(--ease-out); }
}
@keyframes line-redraw {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  46% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  background-color: var(--page-bg); color: var(--ink);
  transition: transform 420ms var(--ease-out), background-color 700ms var(--ease-out), color 700ms var(--ease-out);
}
.bar.is-hidden { transform: translateY(-100%); }
.bar__in { height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: var(--t-m); letter-spacing: -0.02em; }
.brand img { width: 44px; height: 44px; object-fit: contain; transition: transform 600ms var(--ease-out); }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav__links a { text-decoration: none; font-size: var(--t-s); font-weight: 500; padding: 8px 0; display: inline-block; }
.nav__toggle { display: none; }
@media (hover: hover) and (pointer: fine) { .brand:hover img { transform: rotate(-14deg) scale(1.06); } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(16px, 3svh, 40px); }
.hero__stage { display: grid; place-items: center; }
.hero__name {
  display: flex; align-items: baseline; justify-content: center; gap: 0.16em;
  font-size: clamp(56px, 9vw, 168px);
  font-weight: 800; letter-spacing: -0.05em; line-height: 0.95;
  white-space: nowrap;
}
.hero__word { display: inline-block; }
.hero__frame {
  display: inline-block; flex: none; width: 1.7em; height: 0.72em;
  border-radius: 0.1em; overflow: hidden; background: var(--surface);
}
.hero__frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 62%;
  transform: scale(1.2); animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: scale(1.2) translateX(-6%); } to { transform: scale(1.2) translateX(6%); } }
.hero__foot {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end;
  margin-top: clamp(20px, 4svh, 48px);
}
.hero__status { grid-column: 1 / 4; font-size: var(--t-s); color: var(--muted); line-height: 1.5; }
.hero__status [data-open-text] { color: var(--ink); font-weight: 600; }
.dot { position: relative; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); margin-right: 8px; vertical-align: 1px; }
.dot.is-open { background: #1F9D55; }
.dot.is-open::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1F9D55; animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 0.55; } 70%, to { transform: scale(2.8); opacity: 0; } }
.hero__lead { grid-column: 5 / 9; max-width: 42ch; }
.hero__actions { grid-column: 9 / 13; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.hero__media {
  margin-top: clamp(24px, 4svh, 48px);
  height: clamp(420px, 82svh, 860px); overflow: hidden; background: var(--c-navy);
  clip-path: inset(0 var(--m) 0 var(--m) round var(--r));
}
.hero__media img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 55%; will-change: transform; }

/* ---------- ticker ---------- */
.ticker { background: var(--c-navy); color: #fff; overflow: hidden; padding-block: 26px; }
.ticker__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: ticker 48s linear infinite; }
.ticker span { font-size: var(--t-l); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.ticker i {
  flex: none; width: 26px; height: 26px; background: var(--on-navy-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17L20.7 7M9 4l3 2.5L15 4M9 20l3-2.5 3 2.5M4 10.5l3.5.8-.6 3.5M20 13.5l-3.5-.8.6-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17L20.7 7M9 4l3 2.5L15 4M9 20l3-2.5 3 2.5M4 10.5l3.5.8-.6 3.5M20 13.5l-3.5-.8.6-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- inline picture pills ---------- */
.pill {
  display: inline-block; width: 1.9em; height: 0.92em; border-radius: 999px; overflow: hidden;
  vertical-align: -0.12em; background: var(--surface);
}
.pill img { width: 100%; height: 100%; object-fit: cover; }
.pill--lg { width: 2.1em; height: 0.8em; vertical-align: 0.02em; flex: none; }

/* ---------- about ---------- */
.about {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center;
  padding-block: var(--section);
}
.about__main { grid-column: 1 / 9; }
.about__title { font-size: var(--t-xl); letter-spacing: -0.045em; line-height: 0.98; margin-bottom: 0.5em; }
.about__lead { font-size: var(--t-l); line-height: 1.32; letter-spacing: -0.02em; max-width: 30em; }
.about__lead strong { font-weight: 700; }
.about__facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
  margin-top: clamp(32px, 4vw, 56px); font-size: var(--t-s); line-height: 1.45;
}
.about__facts > div { background: var(--surface); border-radius: var(--r); padding: 18px 20px; transition: background-color 700ms var(--ease-out), opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.about__facts dt { color: var(--muted); margin-bottom: 4px; }
.about__facts dd { font-weight: 600; }
.about__logo { grid-column: 9 / 13; display: grid; justify-items: center; gap: 20px; text-align: center; }
.about__logo img { width: min(100%, 420px); height: auto; will-change: transform; }
.about__logo figcaption { font-size: var(--t-s); color: var(--muted); max-width: 32ch; }

/* ---------- services: horizontal gallery ---------- */
.hs { position: relative; }
.hs__pin { padding-block: var(--section); }
.hs__track { display: grid; gap: clamp(56px, 7vw, 96px); padding-inline: var(--m); max-width: 1760px; margin-inline: auto; }
.hs__intro h2 { font-size: var(--t-xl); letter-spacing: -0.045em; line-height: 0.98; }
.hs__intro p { margin-block: 22px 28px; max-width: 38ch; }
.hs__panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: center; }
.hs__pic { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.hs__pic img { width: 116%; max-width: none; height: 100%; object-fit: cover; margin-left: -8%; will-change: transform; transition: scale 900ms var(--ease-out); }
.hs__text h3 { font-size: var(--t-l); letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 16px; }
.hs__text p { max-width: 40ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: var(--t-s); font-weight: 600; transition: background-color 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .hs__panel:hover .hs__pic img { scale: 1.05; } }

html.hs-on .hs__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; padding-block: 0; display: flex; align-items: center; }
html.hs-on .hs__track {
  display: flex; align-items: center; gap: clamp(40px, 5vw, 88px);
  width: max-content; max-width: none; margin: 0; padding-right: var(--m); will-change: transform;
}
html.hs-on .hs__intro { width: 27vw; flex: none; }
html.hs-on .hs__panel { width: min(62vw, 1100px); flex: none; }
html.hs-on .hs__pic { aspect-ratio: auto; height: min(70svh, 640px); }

/* ---------- showcase (pinned, two columns) ---------- */
.show { position: relative; height: 300vh; }
.show__stage {
  position: sticky; top: 0; height: 100svh;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center;
}
.show__copy { grid-column: 1 / 7; }
.show__title { font-size: var(--t-xl); letter-spacing: -0.045em; line-height: 0.98; }
.show__caps { display: grid; gap: 18px; margin-block: clamp(28px, 4vh, 48px); max-width: 38ch; }
.show__caps li {
  position: relative; padding-left: 26px; line-height: 1.45;
  opacity: 0.38; transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out);
}
.show__caps li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%;
  background: currentColor; transform: scale(0.5); transition: transform 500ms var(--ease-out), background-color 300ms ease;
}
.show__caps li.is-on { opacity: 1; transform: translateX(6px); }
.show__caps li.is-on::before { transform: scale(1); background: #5BA3FF; }
.show__frame {
  grid-column: 7 / 13; justify-self: end; height: min(82svh, 860px); aspect-ratio: 3 / 4;
  overflow: hidden; border-radius: var(--r); background: var(--c-deep);
}
.show__frame img {
  width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%;
  transition: transform 1100ms var(--ease-in-out), transform-origin 1100ms var(--ease-in-out);
}
.show[data-stage="1"] .show__frame img { transform: scale(1.9); transform-origin: 49% 46%; }
.show[data-stage="2"] .show__frame img { transform: scale(2.5); transform-origin: 36% 84%; }
.show__markers { position: absolute; inset: 0; pointer-events: none; }
.show__markers i { position: absolute; left: 0; width: 1px; height: 100vh; } /* taste-skill-ignore: markers split the 300vh run into thirds */
.show__markers i:nth-child(1) { top: 0; }
.show__markers i:nth-child(2) { top: 100vh; }
.show__markers i:nth-child(3) { top: 200vh; }

/* ---------- diagnosis ---------- */
.diag {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  padding-block: var(--section); align-items: start;
}
.diag__ask { grid-column: 1 / 7; }
.diag__ask h2 { font-size: var(--t-xl); letter-spacing: -0.045em; line-height: 0.98; }
.diag__intro { margin-top: 24px; max-width: 42ch; }
.diag__form { margin-top: 36px; display: grid; gap: 26px; }
.diag fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.diag legend { font-size: var(--t-s); color: var(--muted); margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px;
  background: var(--surface); color: var(--ink); border-radius: 999px;
  font-size: var(--t-s); font-weight: 600; cursor: pointer; user-select: none;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.chip input:checked + span { background: var(--c-deep); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.chip input:active + span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):hover + span { background: var(--ice); } }
.diag__out {
  grid-column: 7 / 13; background: var(--c-navy); color: #fff;
  border-radius: var(--r); padding: clamp(28px, 3vw, 48px);
  position: sticky; top: calc(var(--bar-h) + 24px);
}
.diag__label { font-size: var(--t-s); color: var(--on-navy-soft); margin-bottom: 14px; }
.diag__causes { display: grid; gap: 10px; margin-bottom: 32px; }
.diag__causes li { font-size: var(--t-l); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.diag__fix { margin-bottom: 32px; max-width: 46ch; }
.diag__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.diag__out .btn { background: #fff; color: var(--c-navy); }
.diag__out .btn--wa .btn__chip { background: var(--wa); color: #fff; }
.diag__out .link { color: #fff; }
.diag__causes, .diag__fix { transition: opacity 220ms ease, filter 220ms ease; }
.diag__out.is-swapping .diag__causes, .diag__out.is-swapping .diag__fix { opacity: 0.25; filter: blur(2px); }

/* ---------- steps: one verb at a time ---------- */
.steps { background: var(--c-navy); color: #fff; }
.step {
  --verb: var(--t-xxl);
  position: relative; height: 100svh; overflow: clip; color: #fff;
  padding-top: calc(50svh - var(--verb) * 0.55);
  padding-bottom: clamp(140px, 22svh, 220px);
}
.step > img, .step > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step::after { content: ""; position: absolute; inset: 0; background: rgba(5, 16, 36, 0.58); }
.step__verb { position: sticky; top: calc(50svh - var(--verb) * 0.55); z-index: 2; text-align: center; padding-inline: var(--m); }
.step__verb h3 { font-size: var(--verb); font-weight: 800; letter-spacing: -0.055em; line-height: 1.1; }
.step__line { position: absolute; z-index: 2; left: var(--m); bottom: clamp(28px, 4vw, 56px); max-width: 36ch; }
.step:nth-child(1) > img { object-position: 30% 40%; }
.step:nth-child(2) > img { object-position: 50% 30%; }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  padding-block: var(--section); align-items: center;
}
.stats h2 { grid-column: 1 / 6; font-size: var(--t-xl); letter-spacing: -0.045em; line-height: 0.98; }
.stats h2 .sw:nth-child(-n+2) .si { color: var(--muted); }
.stats h2 > span { color: var(--muted); }
.ledger { grid-column: 7 / 13; display: grid; gap: 22px; }
.ledger__row { display: grid; align-items: baseline; column-gap: 0; grid-template-columns: calc(var(--t-xl) * 2.35) calc(var(--t-xl) * 1.05) 1fr; }
.ledger__num { display: contents; }
.ledger__num .w, .ledger__num .d { grid-row: 1; font-size: var(--t-xl); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.ledger__num .w { grid-column: 1; text-align: right; }
.ledger__num .d { grid-column: 2; }
.ledger__cap { grid-column: 3; grid-row: 1; font-size: var(--t-s); line-height: 1.4; max-width: 30ch; padding-left: 18px; }

/* ---------- quotation ---------- */
.quote { padding-block: var(--section); overflow: hidden; }
.quote__line {
  display: flex; align-items: center; justify-content: space-between; gap: 0.25em;
  font-size: var(--t-xxl); font-weight: 700; letter-spacing: -0.05em; line-height: 1.02;
  margin-bottom: 0.12em; will-change: transform;
}
.quote__line:nth-child(3) { justify-content: flex-end; }
.quote__by { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(28px, 3vw, 48px); }
.quote__by span:first-child { font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding-block: var(--section); align-items: start; }
.faq__head { grid-column: 1 / 5; position: sticky; top: calc(var(--bar-h) + 24px); }
.faq__head h2 { font-size: var(--t-xl); letter-spacing: -0.045em; line-height: 0.98; }
.faq__pic { margin-top: 28px; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.faq__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.faq__list { grid-column: 6 / 13; display: grid; gap: 12px; }
.faq__row {
  background: var(--surface); border-radius: var(--r); padding: clamp(22px, 2.4vw, 34px);
  display: grid; gap: 12px;
}
html.js .faq__row[data-reveal] { transition: background-color 700ms var(--ease-out), opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.faq__row h3 { font-size: var(--t-l); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
.faq__row p { max-width: 60ch; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; padding-block: var(--section); }
.contact__copy { grid-column: 1 / 7; }
.contact__copy h2 { font-size: var(--t-xl); letter-spacing: -0.045em; line-height: 0.98; }
.contact__copy > p { margin-top: 22px; max-width: 44ch; }
.contact__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 32px; }
.contact__cols ul { display: grid; gap: 6px; }
.contact__cols a { font-size: var(--t-l); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.contact__note { margin-top: 26px; font-size: var(--t-s); color: var(--muted); }
.contact__pic { grid-column: 7 / 13; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface); }
.contact__pic img { width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .contact__pic:hover img { scale: 1.03; } }

/* ---------- footer ---------- */
.foot { min-height: 92svh; display: flex; flex-direction: column; padding-block: 40px 32px; }
.foot__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; font-size: var(--t-s); color: var(--muted); }
.foot__top img { grid-column: 1 / 2; width: 64px; height: 64px; object-fit: contain; }
.foot__top p:nth-of-type(1) { grid-column: 2 / 6; }
.foot__top p:nth-of-type(2) { grid-column: 6 / 9; }
.foot__up { grid-column: 11 / 13; justify-self: end; font-weight: 600; text-decoration: none; color: var(--ink); }
.foot__call { margin-top: auto; padding-block: 48px 40px; }
.foot__kicker { font-size: var(--t-l); margin-bottom: 14px; }
.foot__phone {
  display: block; width: max-content; max-width: 100%;
  font-size: clamp(56px, 13.4vw, 240px); font-weight: 800; letter-spacing: -0.055em; line-height: 0.95;
  text-decoration: none; font-variant-numeric: tabular-nums; transition: color 240ms ease;
}
.foot__alt { margin-top: 18px; font-size: var(--t-l); color: var(--muted); }
.foot__alt a { color: var(--ink); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .foot__phone:hover { color: #5BA3FF; } }
.foot__meta { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: start; font-size: var(--t-s); color: var(--muted); }
.foot__meta a { color: var(--ink); }
.foot__meta > p:last-child { text-align: right; }
.credits summary { cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-align: center; list-style: none; color: var(--ink); }
.credits summary::-webkit-details-marker { display: none; }
.credits ul { margin-top: 14px; display: grid; gap: 8px; max-width: 70ch; text-align: left; }

/* ---------- floating call + WhatsApp ---------- */
.fabs {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; gap: 12px;
  opacity: 0; transform: translateY(16px) scale(0.92); pointer-events: none;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.fabs.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.fab svg { width: 24px; height: 24px; fill: currentColor; }
.fab--wa { background: var(--wa); }
.fab--wa svg { width: 28px; height: 28px; }
.fab:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) {
  .fab:hover { background: var(--accent-press); transform: translateY(-3px); }
  .fab--wa:hover { background: var(--wa-press); }
}

/* ---------- entrances ---------- */
/* split headings: each word rises out of its own mask */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.si { display: inline-block; transition: transform 1000ms var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
html.js [data-split]:not(.is-in) .si { transform: translateY(108%); }
/* letters of the name and of the footer number */
.chw { display: inline-block; overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.2em; vertical-align: top; }
.ch { display: inline-block; transition: transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 38ms); }
html.js [data-chars]:not(.is-in) .ch { transform: translateY(110%) rotate(6deg); }
/* scroll-lit words */
.scw { transition: opacity 400ms var(--ease-out); }
html.js [data-scrub].is-split .scw { opacity: 0.16; }
html.js [data-scrub].is-split .scw.on { opacity: 1; }
/* generic blocks */
html.js [data-reveal] { transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
html.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }
/* hero */
html.js .hero__frame { transition: clip-path 1000ms var(--ease-in-out) 260ms; clip-path: inset(0 0 0 0 round 0.1em); }
html.js:not(.is-ready) .hero__frame { clip-path: inset(0 50% 0 50% round 0.1em); }
html.js .hero__foot > * { transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
html.js:not(.is-ready) .hero__foot > * { opacity: 0; transform: translateY(18px); }
html.js .hero__foot > :nth-child(1) { transition-delay: 420ms; }
html.js .hero__foot > :nth-child(2) { transition-delay: 480ms; }
html.js .hero__foot > :nth-child(3) { transition-delay: 540ms; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .hero__status { grid-column: 1 / 5; }
  .hero__lead { grid-column: 5 / 13; }
  .hero__actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; align-items: center; gap: 24px; }
  .about__main { grid-column: 1 / 13; }
  .about__logo { grid-column: 1 / 13; grid-template-columns: 200px 1fr; justify-items: start; text-align: left; align-items: center; margin-top: 24px; }
  .about__facts { grid-template-columns: repeat(2, 1fr); }
  .show__frame { height: auto; width: 100%; max-height: 80svh; }
  .diag__ask, .diag__out { grid-column: 1 / 13; }
  .diag__out { position: static; margin-top: 28px; }
  .stats h2, .ledger { grid-column: 1 / 13; }
  .ledger { margin-top: 36px; }
  .faq__head { grid-column: 1 / 13; position: static; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: end; }
  .faq__pic { margin-top: 0; aspect-ratio: 3 / 2; }
  .faq__list { grid-column: 1 / 13; margin-top: 24px; }
  .contact__copy, .contact__pic { grid-column: 1 / 13; }
  .contact__pic { margin-top: 28px; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  :root { --bar-h: 64px; --t-s: 15px; --t-m: 18px; --t-l: 22px; --t-xl: 10.5vw; --t-xxl: 17vw; --r: 12px; }
  .bar__in { gap: 12px; }
  .brand span { display: none; }
  .nav { margin-left: auto; }
  .nav__toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--surface); border: 0; border-radius: 999px; font-size: var(--t-s); font-weight: 600; cursor: pointer; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: var(--bar-h);
    flex-direction: column; gap: 0; padding: 8px var(--m) 24px; background: var(--page-bg);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { display: block; font-size: var(--t-l); font-weight: 600; padding: 12px 0; }
  .bar .btn--sm span:first-child { display: none; }
  .bar .btn--sm { padding: 6px; min-height: 46px; }

  .hero__name { flex-wrap: wrap; justify-content: flex-start; row-gap: 0.04em; font-size: var(--t-xxl); line-height: 0.92; white-space: normal; }
  .hero__name .hero__word:last-of-type { flex-basis: 100%; }
  .hero__frame { width: 1.9em; }
  .hero__foot { grid-template-columns: 1fr; gap: 18px; }
  .hero__status, .hero__lead, .hero__actions { grid-column: 1; }
  .hero__lead { order: -1; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero__actions .btn { justify-content: space-between; }
  .hero__actions .link { align-self: flex-start; }
  .hero__media { height: 62svh; }
  .ticker { padding-block: 18px; }

  .about__facts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .about__logo { grid-template-columns: 120px 1fr; }

  .hs__panel { grid-template-columns: 1fr; gap: 20px; }

  .show { height: auto; }
  .show__stage { position: static; height: auto; padding-block: var(--section); grid-template-columns: 1fr; }
  .show__copy, .show__frame { grid-column: 1; }
  .show__frame { justify-self: stretch; aspect-ratio: 4 / 5; max-height: none; }
  .show__caps li { opacity: 1; }
  .show__markers { display: none; }

  .diag__actions .btn { width: 100%; justify-content: space-between; }

  .step { --verb: 21vw; }
  .step__line { right: var(--m); }

  .ledger__row { grid-template-columns: 50% 1fr; row-gap: 6px; }
  .ledger__num .w, .ledger__num .d { font-size: var(--t-xxl); }
  .ledger__cap { grid-column: 1 / -1; grid-row: 2; max-width: none; padding-left: 0; }
  .ledger { gap: 28px; }

  .quote__line { flex-wrap: wrap; }
  .quote__by { flex-direction: column; gap: 6px; font-size: var(--t-s); }

  .faq__head { grid-template-columns: 1fr; }
  .contact__cols { grid-template-columns: 1fr; }

  .foot__top { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .foot__top img { grid-column: 1; }
  .foot__up { grid-column: 2; grid-row: 1; }
  .foot__top p:nth-of-type(1), .foot__top p:nth-of-type(2) { grid-column: 1 / -1; }
  .foot__phone { font-size: 14.2vw; white-space: nowrap; }
  .foot__meta { grid-template-columns: 1fr; gap: 14px; }
  .foot__meta > p:last-child { text-align: left; }
  .credits summary { text-align: left; }
  .fabs { right: 16px; bottom: 16px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .ticker__track { animation: none; }
  html.js .loader { display: none; }
  html.js [data-split] .si, html.js [data-chars] .ch, html.js [data-reveal] { transform: none !important; }
  html.js [data-scrub].is-split .scw { opacity: 1; }
  html.js .hero__frame { clip-path: none; }
  .show__frame img { transition: none; }
}
