/* =========================================================
   Michał Lipski — Trener personalny Gdańsk
   Mobile-first · dark · single accent
   ========================================================= */

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #19191c;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f3f1ea;
  --muted: #a4a29b;
  --accent: #ffe014;
  --accent-ink: #0a0a0b;

  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --max: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 64px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --nav-h: 76px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; }
.skip:focus { left: 8px; }

.todo { color: var(--accent); background: rgba(255, 224, 20, .08); outline: 1px dashed rgba(255, 224, 20, .5); padding: 0 .3em; font-family: var(--f-body); font-size: .85em; font-weight: 500; letter-spacing: 0; text-transform: none; }
.todo-link { color: var(--muted); }

/* ---------- type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }

.h2, .about__name, .contact__title, .hero__headline {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 72;
  font-weight: 850;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.01em;
}
.h2 { font-size: clamp(2.3rem, 7.4vw, 5.2rem); margin-top: 18px; max-width: 16ch; text-wrap: balance; }
.h2--xl { font-size: clamp(2.8rem, 9vw, 7rem); }
.h2--wide { max-width: 22ch; font-size: clamp(2.2rem, 5.6vw, 4.6rem); }
.h3 { font: 700 clamp(1.4rem, 3vw, 2rem)/1.1 var(--f-display); font-variation-settings: "wdth" 85; }

.sec-head { margin-bottom: clamp(40px, 7vw, 88px); }
.sec-head--split { display: grid; gap: 24px; align-items: end; }
.sec-head__aside { color: var(--muted); max-width: 40ch; }
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: 1fr auto; }
  .sec-head__aside { text-align: right; justify-self: end; }
}

.section { padding-block: clamp(88px, 14vw, 176px); position: relative; }

/* ---------- buttons ---------- */
.btn {
  --bh: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 22px;
  font: 700 14px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease-out), color .3s, border-color .3s, background-color .3s;
}
.btn--sm { --bh: 42px; padding: 0 18px; font-size: 12px; }
.btn--lg { --bh: 56px; padding: 0 28px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #fff;
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn--accent:hover::before { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn:active { transform: scale(.97); }
.btn .ico, .link-arrow::after { transition: transform .35s var(--ease-out); }
.btn:hover .ico { transform: translateX(4px); }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 13px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--accent);
  padding-block: 8px; border-bottom: 1px solid currentColor;
}
.link-arrow::after { content: "→"; }
.link-arrow:hover::after { transform: translateX(5px); }

.round {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s;
}
.round:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .4s, backdrop-filter .4s, border-color .4s, transform .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: var(--nav-h); max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); transition: height .4s var(--ease-out); }
.nav.is-scrolled { background: rgba(10, 10, 11, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.nav.is-scrolled .nav__inner { height: calc(var(--nav-h) - 12px); }
.nav.is-hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark {
  width: 40px; height: 40px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink);
  font: 900 15px/1 var(--f-display); font-variation-settings: "wdth" 80; letter-spacing: .02em; border-radius: 2px;
}
.brand__text { display: flex; flex-direction: column; font: 800 15px/1.05 var(--f-display); font-variation-settings: "wdth" 85; text-transform: uppercase; letter-spacing: .02em; }
.brand__text small { font: 500 11px/1.4 var(--f-body); letter-spacing: .14em; color: var(--muted); }

.nav__links { display: none; gap: 28px; }
.nav__links a { position: relative; font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: rgba(243, 241, 234, .78); padding: 8px 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: none; }

.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; }
.burger span { width: 26px; height: 2px; background: var(--text); transition: transform .4s var(--ease-out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-out);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font: 850 clamp(2.6rem, 12vw, 4rem)/1.1 var(--f-display); font-variation-settings: "wdth" 72; text-transform: uppercase; text-decoration: none;
  padding-block: 4px; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease-out), color .3s;
}
.menu nav a:hover { color: var(--accent); }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open nav a:nth-child(5) { transition-delay: .2s; }
.menu.is-open nav a:nth-child(6) { transition-delay: .25s; }
.menu.is-open nav a:nth-child(7) { transition-delay: .3s; }
.menu__foot { display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.menu__foot a { text-decoration: none; }
.menu__tel { font: 800 1.6rem/1.2 var(--f-display); color: var(--accent); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 clamp(72px, 10vh, 120px); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(.55) contrast(1.08) brightness(.8); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.05) 30%, rgba(10,10,11,.6) 62%, var(--bg) 100%);
}
.hero__ghost {
  position: absolute; z-index: -1; left: -2vw; top: 14vh; pointer-events: none;
  font: 900 34vw/0.8 var(--f-display); font-variation-settings: "wdth" 62; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); white-space: nowrap; letter-spacing: -.02em;
}
.hero__content { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.hero__title { display: flex; flex-direction: column; }
.hero__headline { font-size: clamp(3.2rem, 15vw, 9.6rem); max-width: 11ch; }
.hero__headline em { font-style: normal; color: var(--accent); }
.hero__lead { margin-top: 22px; max-width: 46ch; color: rgba(243, 241, 234, .82); font-size: 1.02rem; }
.hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 1 1 220px; }
.hero__facts { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13px; color: var(--muted); }
.hero__facts li { display: flex; gap: 6px; align-items: baseline; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; background: var(--accent); align-self: center; transform: rotate(45deg); }
.hero__facts b { color: var(--text); font-weight: 600; }
.hero__scroll { display: none; }

@media (min-width: 900px) {
  .hero { justify-content: center; padding-bottom: 80px; }
  .hero__media {
    left: auto; width: 46vw; right: 0; top: 0; bottom: 0;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero__media::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(10,10,11,.15) 35%, rgba(10,10,11,0) 60%), linear-gradient(0deg, rgba(10,10,11,.7), transparent 40%); }
  .hero__video { filter: grayscale(.35) contrast(1.08) brightness(.88); }
  .hero__media::before {
    content: ""; position: absolute; z-index: 2; left: 7%; top: 0; bottom: 0; width: 3px; background: var(--accent);
    transform: skewX(-8.3deg) scaleY(0); transform-origin: top; animation: drawY 1.4s .5s var(--ease-out) forwards;
  }
  .hero__ghost { top: auto; bottom: -3vw; font-size: 26vw; }
  .hero__headline { font-size: clamp(3.8rem, min(7vw, 12vh), 8.4rem); max-width: 16ch; }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__scroll {
    display: block; position: absolute; left: var(--gutter); bottom: 32px; width: 1px; height: 56px; background: var(--line-2); overflow: hidden;
  }
  .hero__scroll span { position: absolute; inset: 0; background: var(--accent); animation: scrollLine 2s var(--ease) infinite; }
}
@media (min-width: 1200px) { .hero__media { width: 44vw; } }

@keyframes drawY { to { transform: skewX(-8.3deg) scaleY(1); } }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- MARQUEE ---------- */
.marquee { overflow: hidden; background: var(--accent); color: var(--accent-ink); padding-block: 14px; transform: rotate(-1.5deg) scale(1.03); margin-block: -8px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span {
  font: 900 clamp(1.6rem, 4.5vw, 3rem)/1 var(--f-display); font-variation-settings: "wdth" 72; text-transform: uppercase; white-space: nowrap;
  padding-inline: .55em; display: inline-flex; align-items: center; gap: 1.1em;
}
.marquee span::after { content: ""; width: .32em; height: .32em; background: currentColor; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- INTRO ---------- */
.intro { padding-block: clamp(96px, 16vw, 200px) clamp(24px, 4vw, 40px); }
.intro__statement {
  font: 700 clamp(1.7rem, 4.6vw, 3.9rem)/1.12 var(--f-display); font-variation-settings: "wdth" 88; letter-spacing: -.01em;
  max-width: 24ch; text-wrap: balance;
}
.intro__statement .hl { display: block; margin-top: .5em; color: var(--muted); font-size: .62em; font-weight: 500; max-width: 34ch; }
.chip-img { display: inline-block; vertical-align: middle; width: 2.1em; height: 1em; border-radius: 99px; overflow: hidden; margin-inline: .1em; transform: translateY(-.06em); }
.chip-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.chip-img:hover img { transform: scale(1.2); }
.reveal-lines .word { display: inline-block; opacity: .16; transition: opacity .5s; }
.reveal-lines .word.on { opacity: 1; }

/* ---------- DLA CIEBIE ---------- */
.goals { border-top: 1px solid var(--line); }
.goal {
  position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 6px 16px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.goal__img { grid-row: 1 / span 3; grid-column: 1; width: 92px; height: 116px; object-fit: cover; border-radius: 2px; filter: grayscale(.3); }
.goal__no { grid-column: 2; font: 600 12px/1 var(--f-body); letter-spacing: .14em; color: var(--accent); }
.goal__title { grid-column: 2; font: 850 clamp(1.5rem, 6.5vw, 2.4rem)/1 var(--f-display); font-variation-settings: "wdth" 75; text-transform: uppercase; }
.goal__text { grid-column: 2; color: var(--muted); font-size: .95rem; }

@media (min-width: 1024px) {
  .goal { grid-template-columns: 80px minmax(0, 1.25fr) minmax(0, 1fr); padding: 34px 0; gap: 32px; cursor: default; }
  .goal__img { display: none; }
  .goal__no, .goal__title, .goal__text { grid-column: auto; grid-row: 1; }
  .goal__title { font-size: clamp(2.4rem, 4.4vw, 4.4rem); transition: transform .5s var(--ease-out), color .3s; }
  .goal__text { max-width: 36ch; transition: color .3s; }
  .goal:hover .goal__title { transform: translateX(16px); color: var(--accent); }
  .goal:hover .goal__text { color: var(--text); }
}

.follow {
  position: fixed; left: 0; top: 0; z-index: 5; width: 260px; aspect-ratio: 4 / 5; pointer-events: none; overflow: hidden; border-radius: 2px;
  opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(.85) rotate(var(--r, 0deg));
  transition: opacity .35s, transform .2s linear; display: none;
}
.follow img { width: 100%; height: 100%; object-fit: cover; }
.follow.is-on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1) rotate(var(--r, 0deg)); }
@media (min-width: 1024px) and (hover: hover) { .follow { display: block; } }

/* ---------- OFERTA ---------- */
.offer { background: var(--bg-2); }
.panels { display: grid; gap: 14px; }
.panel { position: relative; overflow: hidden; min-height: 460px; border-radius: var(--radius); display: flex; align-items: flex-end; isolation: isolate; outline-offset: -2px; }
.panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.25) brightness(.85); transition: transform 1s var(--ease-out), filter .6s; }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,0) 25%, rgba(10,10,11,.92) 78%); }
.panel__body { padding: 26px 22px; width: 100%; }
.panel__no { font: 600 12px/1 var(--f-body); letter-spacing: .14em; color: var(--accent); }
.panel__title { margin-top: 10px; font: 850 clamp(1.9rem, 7vw, 2.6rem)/.95 var(--f-display); font-variation-settings: "wdth" 72; text-transform: uppercase; }
.panel__more p { margin-top: 12px; color: rgba(243,241,234,.82); font-size: .95rem; max-width: 42ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags li { font: 600 11px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 99px; }
.panel__more .link-arrow { margin-top: 18px; }
.offer__note { margin-top: 28px; color: var(--muted); font-size: .95rem; }

@media (min-width: 640px) and (max-width: 1199px) { .panels { grid-template-columns: 1fr 1fr; } .panel { min-height: 520px; } }
@media (min-width: 1200px) {
  .panels { display: flex; gap: 10px; height: min(78vh, 700px); }
  .panel { flex: 1 1 0; min-height: 0; transition: flex-grow .8s var(--ease-out); cursor: pointer; }
  .panel:hover, .panel:focus-within, .panel:focus { flex-grow: 2.6; }
  .panel__img { transform: scale(1.12) translateX(4%); }
  .panel:hover .panel__img, .panel:focus .panel__img { transform: scale(1.02) translateX(0); filter: grayscale(0) brightness(.9); }
  .panel__body { padding: 32px; }
  .panel__title { font-size: clamp(1.7rem, 2.2vw, 2.6rem); }
  .panel__body { min-width: 0; }
  .panel__more .inner { width: min(420px, 32vw); }
  .panel__title { min-width: 0; overflow-wrap: normal; }
  .panel__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s var(--ease-out), opacity .4s; }
  .panel:hover .panel__more, .panel:focus .panel__more, .panel:focus-within .panel__more { grid-template-rows: 1fr; opacity: 1; transition-delay: .15s; }
  .panel__more > .inner { overflow: hidden; }
}

/* ---------- WHY ---------- */
.why__grid { display: grid; gap: 48px; }
.values { margin-top: 40px; border-top: 1px solid var(--line); }
.value { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.value > span { font: 600 12px/1.9 var(--f-body); color: var(--accent); letter-spacing: .12em; }
.value h3 { font: 800 1.35rem/1.15 var(--f-display); font-variation-settings: "wdth" 85; text-transform: uppercase; }
.value p { color: var(--muted); margin-top: 6px; max-width: 44ch; }
.why__media { position: relative; }
.why__frame { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius); }
.why__frame img { width: 100%; height: 120%; object-fit: cover; object-position: 50% 15%; transform: translate3d(0, var(--py, -8%), 0); will-change: transform; }
.why__tag { position: absolute; right: -6px; bottom: 24px; background: var(--accent); color: var(--accent-ink); font: 700 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; padding: 12px 16px; }

@media (min-width: 1024px) {
  .why__grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .why__sticky { position: sticky; top: calc(var(--nav-h) + 24px); }
  .why__media { order: -1; }
  .why__frame { aspect-ratio: auto; height: 125vh; max-height: 1200px; }
  .why__frame img { height: 100%; transform: translate3d(0, var(--py, 0), 0) scale(1.15); }
  .why__tag { right: auto; left: 100%; bottom: auto; top: 40px; writing-mode: vertical-rl; transform: translateX(-50%); padding: 16px 12px; }
}

/* ---------- ABOUT ---------- */
.about { overflow: hidden; }
.about__name { font-size: clamp(3.6rem, 17vw, 15rem); line-height: .82; margin-top: 18px; position: relative; z-index: 2; mix-blend-mode: difference; }
.about__name .outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.about__stage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: -0.6em; }
.about__photo { overflow: hidden; border-radius: var(--radius); }
.about__photo img, .about__photo video { width: 100%; height: 100%; object-fit: cover; }
.about__photo--main { grid-column: 1 / span 9; grid-row: 1; aspect-ratio: 2 / 3; margin-top: -40px; }
.about__photo--side { grid-column: 8 / span 5; grid-row: 1; align-self: end; aspect-ratio: 9 / 16; margin-bottom: -60px; position: relative; z-index: 3; border: 6px solid var(--bg); }
.about__quote { grid-column: 1 / -1; margin-top: 80px; }
.about__quote p { font: 700 clamp(1.5rem, 4.4vw, 3.1rem)/1.15 var(--f-display); font-variation-settings: "wdth" 85; max-width: 26ch; text-wrap: balance; }

@media (min-width: 900px) {
  .about__stage { margin-top: -1.1em; }
  .about__photo--main { grid-column: 2 / span 5; margin-top: -80px; }
  .about__photo--side { grid-column: 6 / span 2; margin-bottom: 64px; border-width: 8px; }
  .about__quote { grid-column: 8 / span 5; grid-row: 1; align-self: center; margin-top: 0; }
}

.story { margin-top: clamp(64px, 10vw, 120px); display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: s; }
.story__item { position: relative; display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.story__label { font: 800 1.15rem/1 var(--f-display); font-variation-settings: "wdth" 85; text-transform: uppercase; color: var(--accent); }
.story__item p { color: rgba(243,241,234,.82); max-width: 60ch; }
.story__item a { color: var(--accent); }
@media (min-width: 900px) {
  .story { grid-template-columns: repeat(5, 1fr); border-top: 0; }
  .story__item { padding: 32px 24px 0 0; border-bottom: 0; border-top: 1px solid var(--line); align-content: start; }
  .story__item::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out) var(--d, 0s); }
  .story__item.is-in::before { transform: scaleX(1); }
  .story__item p { font-size: .94rem; }
}

.certs { margin-top: 56px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.certs::-webkit-scrollbar { display: none; }
.cert { flex: 0 0 auto; height: 150px; scroll-snap-align: start; border-radius: 2px; overflow: hidden; background: #fff; transition: transform .5s var(--ease-out); }
.cert img { height: 100%; width: auto; filter: grayscale(.2); }
.cert:hover { transform: translateY(-6px) rotate(-1.5deg); }
@media (min-width: 900px) { .cert { height: 180px; } }

/* ---------- STATS ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; }
.stat { padding: 40px 0 36px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.stat:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 16px; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat__num { font: 900 clamp(3.4rem, 13vw, 7.2rem)/.85 var(--f-display); font-variation-settings: "wdth" 70; color: var(--accent); display: flex; align-items: baseline; gap: 4px; font-feature-settings: "tnum"; }
.stat__num small { font-size: .35em; color: var(--text); }
.stat__num--todo { color: rgba(255,224,20,.35); }
.stat__label { color: var(--muted); font-size: .9rem; max-width: 22ch; }
@media (min-width: 900px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 64px 28px 56px; border-bottom: 0; border-right: 1px solid var(--line); }
  .stat:nth-child(odd), .stat:nth-child(even) { padding-inline: 28px; }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
}

/* ---------- RESULTS ---------- */
.ba-wrap { display: grid; gap: 32px; align-items: end; }
.ba { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); user-select: none; touch-action: pan-y; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__label { position: absolute; top: 16px; z-index: 2; font: 700 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; padding: 9px 12px; background: rgba(10,10,11,.75); backdrop-filter: blur(6px); }
.ba__label--l { left: 16px; }
.ba__label--r { right: 16px; background: var(--accent); color: var(--accent-ink); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--accent); z-index: 2; pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.ba__handle span::before { content: "‹ ›"; color: var(--accent-ink); font: 900 20px/1 var(--f-body); letter-spacing: 4px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; margin: 0; -webkit-appearance: none; appearance: none; }
.ba__range:focus-visible ~ .ba__handle span, .ba:has(.ba__range:focus-visible) .ba__handle span { outline: 2px solid #fff; outline-offset: 3px; }
.ba-info .h3 { margin-top: 14px; max-width: 22ch; }
.ba-info__meta { display: grid; gap: 14px; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 20px; }
.ba-info__meta dt { font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
@media (min-width: 900px) {
  .ba-wrap { grid-template-columns: 1.35fr 1fr; gap: 56px; }
  .ba { aspect-ratio: 5 / 4; }
}

.cases { margin-top: clamp(56px, 9vw, 112px); display: grid; gap: 16px; }
.case { background: var(--bg-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: border-color .4s, transform .6s var(--ease-out); }
.case:hover { border-color: rgba(255,224,20,.45); }
.case__media { overflow: hidden; aspect-ratio: 4 / 3; }
.case--video .case__media { aspect-ratio: 4 / 5; }
.case__media img, .case__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.case:hover .case__media img, .case:hover .case__media video { transform: scale(1.05); }
.case__body { padding: 26px 22px 30px; display: flex; flex-direction: column; gap: 10px; }
.case__meta { font: 600 11px/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.case__big { font: 900 clamp(3.4rem, 10vw, 5.4rem)/.9 var(--f-display); font-variation-settings: "wdth" 70; color: var(--accent); }
.case__title { font: 700 1.25rem/1.2 var(--f-display); font-variation-settings: "wdth" 88; }
.case__body > p:last-child { color: var(--muted); }
.case__body b { color: var(--text); }
.case--data { justify-content: flex-end; }
.case--data .case__body { flex: 1; justify-content: flex-end; }
.bars { margin-top: 16px; display: grid; gap: 16px; }
.bars li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: .9rem; }
.bars span { color: var(--muted); }
.bars b { font-weight: 600; font-feature-settings: "tnum"; }
.bars i { grid-column: 1 / -1; height: 4px; background: var(--line-2); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease-out); width: var(--w); }
.bars i.now { margin-top: -10px; background: var(--accent); transition-delay: .4s; }
.case.is-in .bars i { transform: scaleX(1); }
@media (min-width: 900px) {
  .cases { grid-template-columns: 1.05fr 1fr 1fr; align-items: stretch; }
  .case--data { margin-top: 64px; }
  .case--photo { margin-top: 128px; }
}

/* ---------- MID CTA ---------- */
.cta-mid { position: relative; overflow: hidden; background: var(--accent); color: var(--accent-ink); padding-top: clamp(72px, 10vw, 120px); isolation: isolate; }
.cta-mid__type { position: absolute; top: 50%; left: 0; z-index: -1; display: flex; width: max-content; transform: translateY(-50%); animation: marquee 40s linear infinite; }
.cta-mid__type span { font: 900 clamp(7rem, 22vw, 20rem)/.8 var(--f-display); font-variation-settings: "wdth" 62; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(10,10,11,.18); }
.cta-mid__inner { display: grid; gap: 8px; align-items: end; }
.cta-mid__text { padding-bottom: 56px; }
.cta-mid__text .h2 { margin-top: 0; }
.cta-mid__lead { font: 600 clamp(1.2rem, 2.6vw, 1.7rem)/1.3 var(--f-display); font-variation-settings: "wdth" 90; margin: 18px 0 28px; }
.cta-mid .btn--accent { background: var(--accent-ink); color: var(--accent); }
.cta-mid .btn--accent::before { background: #fff; }
.cta-mid .btn--accent:hover { color: var(--accent-ink); }
.cta-mid__photo { order: 2; max-width: 360px; margin-inline: auto; width: 80%; }
.cta-mid__photo img { width: 100%; --m: radial-gradient(ellipse 50% 50% at 50% 45%, #000 55%, transparent 100%); mask-image: var(--m); -webkit-mask-image: var(--m); filter: grayscale(1) contrast(1.25) brightness(1.05); mix-blend-mode: multiply; }
@media (min-width: 900px) {
  .cta-mid__inner { grid-template-columns: 1fr 1.2fr; gap: 56px; }
  .cta-mid__photo { order: 0; width: 100%; max-width: 620px; margin: -40px 0 0 -40px; }
  .cta-mid__text { padding-bottom: 120px; }
}

/* ---------- PROCESS ---------- */
.steps { position: relative; display: grid; gap: 0; }
.steps::before { content: ""; position: absolute; left: 23px; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.steps::after { content: ""; position: absolute; left: 23px; top: 0; width: 2px; margin-left: -.5px; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(var(--sp, 0)); }
.step { position: relative; padding: 0 0 44px 72px; }
.step__no {
  position: absolute; left: 0; top: -4px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2); font: 800 14px/1 var(--f-display); z-index: 1; transition: background .4s, color .4s, border-color .4s;
}
.step.is-in .step__no { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.step h3 { font: 850 clamp(1.8rem, 6vw, 2.6rem)/1 var(--f-display); font-variation-settings: "wdth" 72; text-transform: uppercase; }
.step p { color: var(--muted); margin-top: 8px; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; padding-top: 80px; }
  .steps::before { left: 0; right: 0; top: 23px; bottom: auto; width: auto; height: 1px; }
  .steps::after { left: 0; top: 22.5px; height: 2px; width: 100%; margin: 0; transform-origin: left; transform: scaleX(var(--sp, 0)); }
  .step { padding: 0; }
  .step__no { position: absolute; top: -80px; }
  .step h3 { font-size: clamp(1.8rem, 2.6vw, 2.6rem); }
}

/* ---------- MEDIA ---------- */
.media { background: var(--bg-2); }
.reels {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); cursor: grab;
}
.reels::-webkit-scrollbar { display: none; }
.reels.is-drag { cursor: grabbing; scroll-snap-type: none; }
.reel { flex: 0 0 68%; max-width: 320px; scroll-snap-align: start; position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.reel video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.reel:hover video { transform: scale(1.04); }
.reel figcaption { position: absolute; left: 12px; bottom: 12px; font: 700 11px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; background: rgba(10,10,11,.75); padding: 8px 10px; backdrop-filter: blur(6px); }
@media (min-width: 900px) {
  .reels { padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .reel { flex-basis: 24%; }
  .reel:nth-child(even) { margin-top: 48px; }
}

.mosaic { margin-top: clamp(48px, 8vw, 96px); display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; gap: 10px; }
.mosaic__item { position: relative; overflow: hidden; border-radius: 2px; cursor: zoom-in; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); transition: transform 1s var(--ease-out), filter .6s; }
.mosaic__item:hover img { transform: scale(1.07); filter: grayscale(0); }
.mosaic__item--a { grid-column: span 2; }
.mosaic__item--c img, .mosaic__item--e img { object-position: 50% 12%; }
.mosaic__item--b { grid-row: span 2; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 15vw; max-height: none; }
  .mosaic__item--a { grid-column: 1 / span 6; grid-row: span 2; }
  .mosaic__item--b { grid-column: 7 / span 3; grid-row: span 2; }
  .mosaic__item--c { grid-column: 10 / span 3; }
  .mosaic__item--d { grid-column: 10 / span 3; }
  .mosaic__item--e { display: none; }
}
@media (min-width: 1400px) { .mosaic { grid-auto-rows: 210px; } }

/* ---------- REVIEWS ---------- */
.slider-nav { display: flex; gap: 10px; }
.quotes { overflow: hidden; }
.quotes__track { display: flex; transition: transform .8s var(--ease-out); }
.quote { flex: 0 0 100%; padding-right: 24px; }
.quote blockquote p { font: 700 clamp(1.6rem, 4.8vw, 3.6rem)/1.12 var(--f-display); font-variation-settings: "wdth" 85; max-width: 26ch; position: relative; }
.quote blockquote p::before { content: "“"; display: block; color: var(--accent); font: 900 clamp(5rem, 12vw, 9rem)/.6 var(--f-display); margin-bottom: 8px; }
.quote blockquote .todo { font-size: .55em; line-height: 1.5; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.quote__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--bg-3); border: 1px dashed rgba(255,224,20,.5); display: grid; place-items: center; color: var(--accent); font-weight: 700; }
.quote figcaption b { display: block; }
.quote figcaption small { color: var(--muted); }
.dots { display: flex; gap: 8px; margin-top: 40px; }
.dots span { width: 28px; height: 3px; background: var(--line-2); transition: background .3s, width .4s var(--ease-out); }
.dots span.on { background: var(--accent); width: 56px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); }
.faq__grid { display: grid; gap: 40px; }
.faq__head p { color: var(--muted); margin-top: 20px; }
.faq__head a { color: var(--accent); }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font: 700 clamp(1.1rem, 2.4vw, 1.35rem)/1.25 var(--f-display); font-variation-settings: "wdth" 90; transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  transition: transform .4s var(--ease-out), background-color .3s, border-color .3s;
}
.qa summary:hover { color: var(--accent); }
.qa[open] summary::after { transform: rotate(135deg); border-color: var(--accent); color: var(--accent); }
.qa__a { overflow: hidden; }
.qa__a p { color: var(--muted); padding: 0 48px 24px 0; max-width: 62ch; }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: 1fr 1.3fr; gap: 80px; }
  .faq__head { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
}

/* ---------- CONTACT ---------- */
.contact { position: relative; padding-block: clamp(96px, 14vw, 180px); overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0 0 0 auto; width: min(60vw, 720px); z-index: -1; opacity: .18; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); filter: grayscale(1); }
.contact__grid { display: grid; gap: 56px; }
.contact__title { font-size: clamp(3rem, 11vw, 8.4rem); margin-top: 18px; max-width: 12ch; }
.contact__lead > p { color: rgba(243,241,234,.82); margin-top: 24px; max-width: 46ch; font-size: 1.05rem; }
.contact__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact__actions .btn { flex: 1 1 200px; }
.channels { margin-top: 48px; display: grid; border-top: 1px solid var(--line); }
.channels li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.channels span:first-child { font: 600 11px/1.6 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.channels a { text-decoration: none; font-weight: 500; transition: color .3s; word-break: break-word; }
.channels a:hover { color: var(--accent); }

.form { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px; display: grid; gap: 18px; align-self: start; }
.form__title { font: 800 1.5rem/1.1 var(--f-display); font-variation-settings: "wdth" 80; text-transform: uppercase; }
.field { display: grid; gap: 8px; }
.field > span { font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--text); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2); padding: 12px 0; border-radius: 0; resize: vertical; transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea::placeholder { color: rgba(164,162,155,.6); }
.field.is-error input { border-color: #ff6b5b; }
.hp { position: absolute; left: -9999px; }
.form__note { font-size: .8rem; color: var(--muted); }
.form__status { font-weight: 600; min-height: 1.4em; }
.form__status.ok { color: var(--accent); }
.form__status.err { color: #ff8a7d; }
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: start; }
  .contact__actions .btn { flex: 0 0 auto; }
  .form { padding: 40px; position: sticky; top: calc(var(--nav-h) + 24px); }
}

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 calc(100px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .92rem; }
.footer__grid { display: grid; gap: 32px; }
.footer__brand img { width: 170px; margin-bottom: 14px; }
.footer__brand p { max-width: 34ch; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 8px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--accent); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .8rem; }
@media (min-width: 900px) {
  .footer { padding-bottom: 40px; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ---------- DOCK (mobile CTA) ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80;
  display: flex; gap: 8px; transform: translateY(150%); transition: transform .5s var(--ease-out);
}
.dock.is-on { transform: none; }
.dock__main { flex: 1; --bh: 54px; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.dock__call { width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line-2); box-shadow: 0 12px 30px rgba(0,0,0,.5); }
@media (min-width: 1024px) { .dock { display: none; } }

/* ---------- LIGHTBOX ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 90vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5,5,6,.92); backdrop-filter: blur(4px); }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; object-fit: contain; border-radius: 2px; }
.lightbox[open] img { animation: zoomIn .5s var(--ease-out); }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 28px; line-height: 1; }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

/* =========================================================
   Motion
   ========================================================= */
.js .reveal { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

.js .reveal-img { clip-path: inset(12% 0 12% 0); transition: clip-path 1.4s var(--ease-out); }
.js .reveal-img > img, .js .reveal-img > video { transform: scale(1.18); transition: transform 1.8s var(--ease-out); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-in > img, .js .reveal-img.is-in > video { transform: scale(1); }

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .02em .06em; margin: -.14em -.02em -.06em; }
[data-split] .w > span { display: inline-block; }
.js [data-split] .w > span { transform: translate3d(0, 135%, 0); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }
.js [data-split].is-in .w > span { transform: none; }

[data-parallax] { will-change: transform; transform: translate3d(0, var(--py, 0), 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal-img, .js [data-split] .w > span { opacity: 1; transform: none; clip-path: none; }
  .marquee__track, .cta-mid__type { animation: none; }
  [data-parallax], .why__frame img { transform: none !important; }
}
