/* ==========================================================================
   iSites.cz — redesign 2026
   Design system: Paper / Ink / iSites Blue · Archivo (+ width axis) · JetBrains Mono
   ========================================================================== */

:root {
  --paper: #efece6;
  --paper-2: #e5e1d9;
  --paper-3: #d9d4ca;
  --ink: #0d0e11;
  --ink-2: #16171b;
  --ink-3: #212329;
  --muted: #5b5c61;
  --muted-d: #9d9c97;
  --line: rgba(13, 14, 17, .14);
  --line-d: rgba(239, 236, 230, .14);
  --blue: #2340f5;
  --blue-deep: #1a31c9;
  --blue-2: #8492ff;
  --flame: #ff5b26;

  --f-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(20px, 3.4vw, 56px);
  --header-h: 84px;
  --radius: 22px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-sans); font-size: 17px; line-height: 1.6; font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 10000; background: var(--blue); color: #fff; padding: 12px 18px; border-radius: 999px; transition: top .3s var(--ease-out); }
.skip:focus { top: 16px; }

.site { position: relative; width: 100%; overflow-x: clip; background: var(--paper); }
.site[data-scroller] { overflow-y: auto; overflow-x: hidden; }

/* ---------- type ---------- */
.mono { font-family: var(--f-mono); font-size: 12px; line-height: 1.4; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.display { font-weight: 500; font-size: clamp(3.1rem, 9.3vw, 11rem); line-height: .94; letter-spacing: -.048em; font-variation-settings: "wdth" 100; }
.h2 { font-weight: 500; font-size: clamp(2.5rem, 5.4vw, 5.9rem); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.h3 { font-weight: 500; font-size: clamp(1.45rem, 2.1vw, 2.2rem); line-height: 1.12; letter-spacing: -.025em; }
.lead { font-size: clamp(1.1rem, 1.35vw, 1.35rem); line-height: 1.5; letter-spacing: -.01em; text-wrap: pretty; }
.muted { color: var(--muted); }
.t-blue { color: var(--blue); }
.label { display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 8px; height: 8px; background: var(--blue); flex: none; }
.dark .label::before { background: var(--blue-2); }
p { text-wrap: pretty; }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.section { position: relative; padding-block: clamp(96px, 13vw, 208px); }
.dark { background: var(--ink); color: var(--paper); }
.dark .muted { color: var(--muted-d); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 28px; align-items: end; margin-bottom: clamp(56px, 7vw, 112px); }
.sec-head__label { grid-column: 1 / span 3; align-self: start; padding-top: .9em; }
.sec-head__title { grid-column: 4 / span 9; }
.sec-head__text { grid-column: 4 / span 5; }

/* ---------- grain ---------- */
.grain { position: fixed; inset: -100%; z-index: 9990; pointer-events: none; background-image: url("../img/noise.png"); background-size: 128px; opacity: .05; animation: grain 1s steps(6) infinite; }
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-5%, 3%); } 33% { transform: translate(4%, -6%); }
  50% { transform: translate(-7%, -2%); } 67% { transform: translate(6%, 5%); } 83% { transform: translate(-3%, 7%); } 100% { transform: translate(0, 0); }
}

/* ---------- buttons & links ---------- */
.btn { --bg: var(--ink); --fg: var(--paper); --fill: var(--blue); --fill-fg: #fff; position: relative; display: inline-flex; align-items: center; gap: 14px; height: 60px; padding: 0 10px 0 28px; border-radius: 999px; background: var(--bg); color: var(--fg); font-size: 16px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; isolation: isolate; transition: color .5s var(--ease-out); }
.btn::before { content: ""; position: absolute; z-index: -1; left: var(--mx, 50%); top: var(--my, 50%); width: 0; height: 0; border-radius: 50%; background: var(--fill); transform: translate(-50%, -50%); transition: width .7s var(--ease-out), height .7s var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { width: 260%; height: 600%; }
.btn:hover, .btn:focus-visible { color: var(--fill-fg); }
.btn__txt { position: relative; display: block; overflow: hidden; height: 1.3em; line-height: 1.3; }
.btn__txt span { display: block; transition: transform .6s var(--ease-out); }
.btn__txt span + span { position: absolute; left: 0; top: 100%; }
.btn:hover .btn__txt span, .btn:focus-visible .btn__txt span { transform: translateY(-100%); }
.btn__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--paper); color: var(--ink); flex: none; transition: transform .6s var(--ease-out), background .5s, color .5s; }
.btn__ico svg { width: 16px; height: 16px; }
.btn:hover .btn__ico { transform: rotate(-45deg); background: #fff; color: var(--blue); }
.btn--blue { --bg: var(--blue); --fg: #fff; --fill: var(--ink); --fill-fg: var(--paper); }
.btn--blue .btn__ico { background: #fff; color: var(--blue); }
.btn--light { --bg: var(--paper); --fg: var(--ink); --fill: var(--blue); --fill-fg: #fff; }
.btn--light .btn__ico { background: var(--ink); color: var(--paper); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; padding: 0 28px; }
.btn--sm { height: 46px; padding: 0 8px 0 20px; font-size: 14px; gap: 10px; }
.btn--sm .btn__ico { width: 32px; height: 32px; }
.btn--sm.btn--ghost { padding: 0 20px; }

.ulink { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); padding-bottom: 2px; }
.ulink:hover, .ulink:focus-visible { background-size: 100% 1px; }
.alink { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.alink svg { width: 14px; height: 14px; transition: transform .5s var(--ease-out); }
.alink:hover svg { transform: translate(3px, -3px); }

.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.roll span { display: block; transition: transform .55s var(--ease-out); }
.roll span + span { position: absolute; left: 0; top: 100%; }
a:hover > .roll span, a:focus-visible > .roll span { transform: translateY(-100%); }

/* ---------- cursor follower ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 9995; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor__ring { position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(13, 14, 17, .5); display: grid; place-items: center; transition: transform .5s var(--ease-out), background-color .4s, border-color .4s; }
.cursor.is-dark .cursor__ring { border-color: rgba(239, 236, 230, .55); }
.cursor.is-link .cursor__ring { transform: scale(.4); background: var(--blue); border-color: transparent; }
.cursor.is-label .cursor__ring { transform: scale(2.6); background: var(--blue); border-color: transparent; }
.cursor__label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); color: #fff; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .3s, transform .5s var(--ease-out); }
.cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 9998; background: var(--ink); color: var(--paper); display: grid; clip-path: inset(0 0 0 0); animation: loader-failsafe .01s 6s forwards; }
html.is-live .loader { animation: none; }
html.is-ready .loader { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-io) .1s; }
html.skip-loader .loader { display: none; }
@keyframes loader-failsafe { to { visibility: hidden; clip-path: inset(0 0 100% 0); } }
.loader__inner { position: relative; display: grid; grid-template-rows: 1fr auto; padding: var(--gutter); }
.loader__mark { align-self: center; justify-self: center; width: clamp(120px, 14vw, 210px); color: var(--paper); transition: transform 1s var(--ease-io), opacity .6s; }
.loader__mark svg { width: 100%; height: auto; overflow: visible; }
.loader__fill { clip-path: inset(calc(100% - var(--lp, 0%)) 0 0 0); color: var(--blue-2); position: absolute; inset: 0; }
.loader__mark-wrap { position: relative; }
.loader__mark-wrap > svg:first-child { opacity: .2; }
html.is-ready .loader__mark { transform: translate(40vw, -60vh) rotate(8deg); opacity: 0; }
.loader__row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.loader__count { font-weight: 300; font-size: clamp(4rem, 12vw, 11rem); line-height: .8; letter-spacing: -.06em; font-variation-settings: "wdth" 125; font-variant-numeric: tabular-nums; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(239, 236, 230, .1); }
.loader__bar span { display: block; height: 100%; width: var(--lp, 0%); background: var(--blue); transition: width .2s linear; }

/* ---------- page transition ---------- */
.pt { position: fixed; inset: 0; z-index: 9997; background: var(--blue); pointer-events: none; transform: translateY(100%); }
html.pt-cover .pt { transform: translateY(0); }
.pt.is-in { transform: translateY(0); transition: transform .7s var(--ease-io); pointer-events: all; }
.pt.is-out { transform: translateY(-100%); transition: transform .8s var(--ease-io); }
.pt__mark { position: absolute; left: 50%; top: 50%; width: 72px; transform: translate(-50%, -50%); color: #fff; }

/* ---------- header ---------- */
.hdr { position: fixed; left: 0; right: 0; top: 0; z-index: 900; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--gutter); color: var(--ink); transition: transform .6s var(--ease-out), color .4s; }
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(239, 236, 230, .72); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); opacity: 0; transition: opacity .4s, background-color .4s; }
.hdr.is-scrolled::before { opacity: 1; }
.hdr.is-dark { color: var(--paper); }
.hdr.is-dark::before { background: rgba(13, 14, 17, .66); }
.hdr.is-hidden { transform: translateY(-110%); }
.hdr__logo { display: block; width: 132px; flex: none; }
.hdr__logo svg { width: 100%; height: auto; fill: currentColor; }
.hdr__nav { display: flex; gap: clamp(18px, 2.2vw, 36px); font-size: 15px; font-weight: 500; }
.hdr__nav a { position: relative; padding: 6px 0; }
.hdr__nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); transform: translateX(-50%); }
.hdr__right { display: flex; align-items: center; gap: 22px; }
.clock { display: inline-flex; align-items: center; gap: 8px; }
.clock__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--flame); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.hdr__menu { display: none; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; font-size: 14px; font-weight: 500; }
.hdr__menu i { position: relative; width: 16px; height: 8px; }
.hdr__menu i::before, .hdr__menu i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out); }
.hdr__menu i::before { top: 0; }
.hdr__menu i::after { bottom: 0; }
html.menu-open .hdr__menu i::before { transform: translateY(3.25px) rotate(45deg); }
html.menu-open .hdr__menu i::after { transform: translateY(-3.25px) rotate(-45deg); }
html.menu-open .hdr { color: var(--paper); }
html.menu-open .hdr::before { opacity: 0; }

.menu { position: fixed; inset: 0; z-index: 850; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 32px) var(--gutter) 32px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease-io), visibility 0s .8s; }
html.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io); }
.menu__nav { display: flex; flex-direction: column; gap: 4px; }
.menu__nav a { display: flex; align-items: baseline; gap: 14px; font-size: clamp(2.6rem, 11vw, 4.6rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; overflow: hidden; }
.menu__nav a span { display: block; transform: translateY(105%); transition: transform .9s var(--ease-out); }
.menu__nav a small { font-family: var(--f-mono); font-size: 11px; color: var(--muted-d); letter-spacing: .06em; }
html.menu-open .menu__nav a span { transform: none; }
.menu__nav a:nth-child(2) span { transition-delay: .05s; } .menu__nav a:nth-child(3) span { transition-delay: .1s; }
.menu__nav a:nth-child(4) span { transition-delay: .15s; } .menu__nav a:nth-child(5) span { transition-delay: .2s; } .menu__nav a:nth-child(6) span { transition-delay: .25s; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 22px; }

html.menu-open, html.menu-open body { overflow: hidden; }
html.menu-open .site[data-scroller] { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: calc(var(--header-h) + clamp(28px, 6vh, 72px)) var(--gutter) clamp(24px, 4vh, 44px); overflow: hidden; }
.hero__gl { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__fallback { position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 70% 40%, rgba(35, 64, 245, .07), transparent 55%); }
.hero__top { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.hero__kicker { max-width: 22em; }
.hero__title { margin-top: auto; padding-top: clamp(28px, 6vh, 80px); }
.hero__title .ln + .ln { margin-top: -.16em; }
.hero__lines .ln:nth-child(2) { padding-left: 9vw; }
.hero__lines .ln:nth-child(3) { padding-left: 18vw; }
.hero__row2 { display: flex; align-items: center; gap: .22em; }
.rot { position: relative; display: inline-block; height: 1.02em; vertical-align: top; color: #fff; background: var(--blue); border-radius: .14em; padding: 0 .16em; margin-left: -.04em; width: var(--rw, auto); transition: width .9s var(--ease-out); overflow: hidden; box-sizing: content-box; top: .07em; }
.rot__w { display: block; line-height: 1.02; white-space: nowrap; transform: translateY(0); transition: transform .9s var(--ease-out), opacity .6s; position: absolute; left: .16em; top: -.035em; }
.rot__w:first-child { position: relative; left: 0; }
.rot.is-live .rot__w:first-child { position: absolute; left: .16em; }
.rot__w.is-next { transform: translateY(105%); }
.rot__w.is-prev { transform: translateY(-105%); }
.rot__w[hidden] { display: block; visibility: hidden; }
.hero__idx { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; align-self: start; margin-top: .6em; color: var(--muted); font-variant-numeric: tabular-nums; }
.hero__bottom { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; margin-top: clamp(32px, 6vh, 72px); }
.hero__lead { grid-column: 1 / span 5; max-width: 34em; }
.hero__ctas { grid-column: 7 / span 4; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { grid-column: 11 / span 2; justify-self: end; display: flex; align-items: center; gap: 14px; }
.hero__scroll i { position: relative; display: block; width: 1px; height: 56px; background: var(--line); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ink); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 0% { top: -40%; } 60%, 100% { top: 100%; } }

/* hero intro choreography */
html.js .hero [data-hero] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
html.js .hero .ln__i { transform: translateY(135%); transition: transform 1.3s var(--ease-out); }
html.is-ready .hero [data-hero] { opacity: 1; transform: none; }
html.is-ready .hero .ln__i { transform: none; }
html.is-ready .hero .ln:nth-child(1) .ln__i { transition-delay: .55s; }
html.is-ready .hero .ln:nth-child(2) .ln__i { transition-delay: .65s; }
html.is-ready .hero .ln:nth-child(3) .ln__i { transition-delay: .75s; }
html.is-ready .hero [data-hero="1"] { transition-delay: .5s; }
html.is-ready .hero [data-hero="2"] { transition-delay: .95s; }
html.is-ready .hero [data-hero="3"] { transition-delay: 1.05s; }
html.is-ready .hero [data-hero="4"] { transition-delay: 1.15s; }

/* ---------- line splits ---------- */
.ln { display: block; overflow: hidden; padding-top: .14em; margin-top: -.14em; padding-bottom: .14em; margin-bottom: -.14em; }
.ln__i { display: block; }
html.js [data-split] .ln__i { transform: translateY(135%); transition: transform 1.2s var(--ease-out); }
html.js [data-split].is-in .ln__i { transform: none; }
html.js [data-split].is-in .ln:nth-child(2) .ln__i { transition-delay: .08s; }
html.js [data-split].is-in .ln:nth-child(3) .ln__i { transition-delay: .16s; }
html.js [data-split].is-in .ln:nth-child(4) .ln__i { transition-delay: .24s; }
html.js [data-split].is-in .ln:nth-child(5) .ln__i { transition-delay: .32s; }

/* ---------- reveals ---------- */
/* failsafe: kdyby se JS nenačetl, obsah se po 3 s ukáže */
html.js:not(.is-live) [data-reveal], html.js:not(.is-live) [data-split] .ln__i, html.js:not(.is-live) .hero .ln__i, html.js:not(.is-live) .hero [data-hero], html.js:not(.is-live) .ftr__word span { animation: failsafe .01s 3s forwards; }
@keyframes failsafe { to { opacity: 1; transform: none; clip-path: none; } }
html.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.4s var(--ease-io); transition-delay: var(--d, 0s); }
html.js [data-reveal="clip"] img { transform: scale(1.25); transition: transform 1.8s var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
html.js [data-reveal="clip"].is-in img { transform: scale(1); }
html.js [data-rule] { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-rule].is-in { transform: none; }

/* ---------- marquee ---------- */
.marquee { position: relative; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__group { display: inline-flex; align-items: center; flex: none; }
.band { position: relative; z-index: 2; background: var(--ink); color: var(--paper); padding-block: clamp(22px, 3vw, 40px); }
.band .marquee__group { font-size: clamp(2.2rem, 5.6vw, 5.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.band .marquee__group > span { padding-inline: .32em; }
.band .star { width: .5em; height: .5em; color: var(--blue-2); flex: none; }
.band .marquee__track { transform: translate3d(var(--mx, 0px), 0, 0) skewX(var(--skew, 0deg)); }

/* ---------- manifesto ---------- */
.intro .grid { row-gap: 56px; }
.intro__label { grid-column: 1 / span 3; padding-top: .8em; align-self: start; }
.intro__text { grid-column: 4 / span 9; font-size: clamp(1.9rem, 3.9vw, 4rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; text-wrap: pretty; }
.lit .w { opacity: .14; transition: opacity .25s linear; }
html:not(.js) .lit .w { opacity: 1; }
.lit .w.on { opacity: 1; }
.lit .w--blue.on { color: var(--blue); }

.stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); margin-top: clamp(40px, 6vw, 96px); }
.stat { position: relative; padding-top: 22px; }
.stat__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.stat__num { display: flex; align-items: flex-start; font-weight: 300; font-size: clamp(3.6rem, 8.4vw, 8.6rem); line-height: .86; letter-spacing: -.06em; font-variation-settings: "wdth" 118; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .36em; font-weight: 400; letter-spacing: 0; color: var(--blue); margin-left: .06em; top: 0; line-height: 1; }
.stat__label { margin-top: 18px; }

/* ---------- services ---------- */
.svc { position: relative; z-index: 2; border-radius: 28px 28px 0 0; }
.svc-group + .svc-group { margin-top: clamp(40px, 5vw, 72px); }
.svc-group__label { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; color: var(--muted-d); }
.svc-list { border-top: 1px solid var(--line-d); }
.svc-row { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: start; padding: clamp(24px, 2.6vw, 38px) 0; border-bottom: 1px solid var(--line-d); isolation: isolate; }
.svc-row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease-out); }
.svc-row:hover::before { transform: scaleY(1); transform-origin: 50% 0; }
.svc-row__idx { grid-column: 1 / span 1; padding-top: .7em; color: var(--muted-d); transition: color .4s; }
.svc-row__title { grid-column: 2 / span 5; font-size: clamp(1.8rem, 3.3vw, 3.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; transition: transform .6s var(--ease-out); }
.svc-row__text { grid-column: 8 / span 4; padding-top: .45em; color: var(--muted-d); transition: color .4s; }
.svc-row__go { grid-column: 12 / span 1; justify-self: end; margin-top: .35em; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-d); transition: transform .6s var(--ease-out), background .4s, color .4s, box-shadow .4s; }
.svc-row__go svg { width: 16px; height: 16px; }
.svc-row__go::after { content: ""; position: absolute; inset: 0; }
.svc-row:hover .svc-row__title { transform: translateX(14px); }
.svc-row:hover .svc-row__idx, .svc-row:hover .svc-row__text { color: rgba(255, 255, 255, .86); }
.svc-row:hover .svc-row__go { background: #fff; color: var(--blue); box-shadow: none; transform: rotate(-45deg); }

.svc-float { position: fixed; left: 0; top: 0; z-index: 800; width: 168px; height: 168px; margin: -84px 0 0 -84px; pointer-events: none; border-radius: 50%; background: var(--paper); color: var(--blue); transform: translate3d(var(--fx, -500px), var(--fy, -500px), 0) scale(var(--fs, 0)); transition: none; }
.svc-float__ico { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.6) rotate(-12deg); transition: opacity .35s, transform .6s var(--ease-back); }
.svc-float__ico svg { width: 72px; height: 72px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-float__ico.is-on { opacity: 1; transform: none; }
@media (hover: none), (pointer: coarse) { .svc-float { display: none; } }

/* ---------- work gallery ---------- */
.work { position: relative; height: var(--work-h, auto); }
.work__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.work__track { display: flex; align-items: flex-start; gap: clamp(28px, 4vw, 72px); padding-inline: var(--gutter); transform: translate3d(var(--wx, 0px), 0, 0); will-change: transform; width: max-content; }
.work__intro { width: min(34vw, 520px); flex: none; display: flex; flex-direction: column; gap: 28px; align-self: stretch; justify-content: center; }
.work__intro .h2 { font-size: clamp(2.6rem, 5vw, 5.4rem); }
.work__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 5vh, 48px); display: flex; align-items: center; gap: 18px; }
.work__bar { position: relative; flex: 1; height: 1px; background: var(--line); }
.work__bar span { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--ink); transform: scaleX(var(--wp, 0)); transform-origin: 0 50%; }
.card { width: min(58vw, 1040px); flex: none; }
.card__media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #fbfaf8; box-shadow: 0 0 0 1px rgba(13, 14, 17, .08), 0 30px 60px -30px rgba(13, 14, 17, .38); }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.1) translateX(var(--px, 0%)); transition: transform .9s var(--ease-out), filter .6s; will-change: transform; }
.card__media:hover img { transform: scale(1.14) translateX(var(--px, 0%)); }
.card__chrome { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #fbfaf8; border-bottom: 1px solid rgba(13, 14, 17, .08); }
.card__chrome i { width: 9px; height: 9px; border-radius: 50%; background: #dcd7ce; }
.card__chrome i:first-child { background: var(--blue); }
.card__chrome span { margin-left: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.card__media--chrome img { position: absolute; left: 0; top: 34px; height: calc(100% - 34px); }
.card__chrome b { margin-left: auto; padding: 3px 8px; border-radius: 999px; font: 500 10px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--flame); background: rgba(255, 91, 38, .1); }
.card__meta { display: grid; grid-template-columns: auto 1fr auto; column-gap: 20px; row-gap: 10px; align-items: baseline; margin-top: 26px; }
.card__no { color: var(--muted); }
.card__title { font-size: clamp(1.6rem, 2.4vw, 2.5rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.card__link { justify-self: end; }
.card__tags { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.card__text { grid-column: 2 / span 1; max-width: 40em; color: var(--muted); }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.dark .tag { box-shadow: inset 0 0 0 1px var(--line-d); }
.card--end { width: min(30vw, 440px); align-self: stretch; }
.card--end a { display: flex; flex-direction: column; justify-content: space-between; height: 100%; min-height: 320px; aspect-ratio: auto; border-radius: 18px; padding: 32px; background: var(--blue); color: #fff; transition: background .5s; }
.card--end a:hover { background: var(--ink); }
.card--end .h3 { font-size: clamp(1.8rem, 2.6vw, 2.8rem); }
.card--end svg { width: 56px; height: 56px; transition: transform .6s var(--ease-out); }
.card--end a:hover svg { transform: rotate(-45deg); }

/* ---------- partners ---------- */
.partners { padding-block: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); }
.partners__label { margin-bottom: 28px; }
.partners .marquee__group { font-size: clamp(2rem, 4.2vw, 4.2rem); font-weight: 600; letter-spacing: -.04em; color: var(--ink); font-variation-settings: "wdth" 112; }
.partners .marquee__group > span { padding-inline: .45em; opacity: .9; }
.partners .marquee__group > i { width: .22em; height: .22em; border-radius: 50%; background: var(--blue); flex: none; }
.partners .marquee__track { transform: translate3d(var(--mx, 0px), 0, 0); }

/* ---------- process ---------- */
.process { border-radius: 28px 28px 0 0; }
.steps { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.steps__aside { grid-column: 1 / span 4; }
.steps__sticky { position: sticky; top: calc(var(--header-h) + 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.steps__big { font-weight: 300; font-size: clamp(6rem, 14vw, 15rem); line-height: .8; letter-spacing: -.07em; font-variation-settings: "wdth" 125; font-variant-numeric: tabular-nums; color: var(--blue-2); display: flex; overflow: hidden; height: .82em; }
.steps__big-in { display: block; transition: transform .9s var(--ease-out); }
.steps__big-in span { display: block; height: .82em; line-height: .82; }
.steps__list { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 3vh; }
.step { position: sticky; top: calc(var(--header-h) + 40px + var(--si, 0) * 14px); min-height: min(52vh, 460px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(28px, 3.2vw, 52px); border-radius: var(--radius); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-d), 0 -24px 48px -24px rgba(0, 0, 0, .6); transform-origin: 50% 0; transform: scale(var(--ss, 1)); }
.step::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: var(--sd, 0); pointer-events: none; }
.step__top { display: flex; justify-content: space-between; align-items: center; }
.step__no { font-weight: 300; font-size: clamp(3rem, 5vw, 5rem); line-height: .8; letter-spacing: -.06em; font-variation-settings: "wdth" 125; color: transparent; -webkit-text-stroke: 1px var(--blue-2); }
.step__title { font-size: clamp(1.9rem, 3vw, 3.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; margin-bottom: 16px; }
.step__text { max-width: 36em; color: var(--muted-d); font-size: clamp(1rem, 1.15vw, 1.15rem); }
.step:nth-child(3n+2) { background: var(--blue); }
.step:nth-child(3n+2) .step__text, .step:nth-child(3n+2) .mono { color: rgba(255, 255, 255, .82); }
.step:nth-child(3n+2) .step__no { -webkit-text-stroke-color: #fff; }
.step:nth-child(3n) { background: var(--paper); color: var(--ink); }
.step:nth-child(3n) .step__text, .step:nth-child(3n) .mono { color: var(--muted); }
.step:nth-child(3n) .step__no { -webkit-text-stroke-color: var(--blue); }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 48px; }
.quotes__nav { grid-column: 1 / span 3; display: flex; flex-direction: column; gap: 6px; }
.qtab { position: relative; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: center; text-align: left; padding: 14px 0; border-top: 1px solid var(--line); opacity: .5; transition: opacity .4s; }
.qtab:last-child { border-bottom: 1px solid var(--line); }
.qtab img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; filter: grayscale(1); transition: filter .5s; }
.qtab b { display: block; font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.qtab small { display: block; color: var(--muted); font-size: 13px; }
.qtab i { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; }
.qtab.is-active { opacity: 1; }
.qtab.is-active img { filter: none; }
.qtab.is-active i { animation: qprog var(--qdur, 9s) linear forwards; }
.quotes.is-paused .qtab.is-active i { animation-play-state: paused; }
@keyframes qprog { to { transform: scaleX(1); } }
.qtab:hover { opacity: 1; }
.quotes__stage { grid-column: 5 / span 8; position: relative; display: grid; }
.quote { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 36px; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .6s, transform .9s var(--ease-out), visibility 0s .6s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .8s .15s, transform 1.1s var(--ease-out) .15s, visibility 0s; }
.quote__mark { width: 56px; height: 44px; color: var(--blue); }
.quote__text { font-size: clamp(1.55rem, 2.7vw, 2.8rem); line-height: 1.18; letter-spacing: -.03em; font-weight: 500; text-wrap: pretty; }
.quote__who { display: flex; align-items: center; gap: 14px; }
.quote__who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding-block: clamp(96px, 12vw, 180px); }
.cta__lines { font-weight: 500; font-size: clamp(3.4rem, 10.5vw, 12rem); line-height: .92; letter-spacing: -.055em; white-space: nowrap; }
.cta__lines > span { display: block; will-change: transform; }
.cta__lines > span:nth-child(1) { transform: translateX(calc((.5 - var(--p, .5)) * 22vw + var(--gutter))); }
.cta__lines > span:nth-child(2) { transform: translateX(calc((var(--p, .5) - .5) * 22vw + 16vw)); }
.cta__lines > span:nth-child(3) { transform: translateX(calc((.5 - var(--p, .5)) * 14vw + 32vw)); }
.cta__lines em { font-style: normal; color: var(--ink); }
.cta__row { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: clamp(48px, 6vw, 88px); padding-inline: var(--gutter); }
.cta__rocket { position: absolute; right: -4vw; top: 8%; width: clamp(260px, 36vw, 560px); color: rgba(255, 255, 255, .1); transform: translate(calc(var(--p, .5) * 10vw), calc(var(--p, .5) * -14vh)) rotate(calc(var(--p, .5) * 10deg)); pointer-events: none; }
.orb { position: relative; display: grid; place-items: center; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%; background: #fff; color: var(--ink); flex: none; transition: background .5s, color .5s; }
.orb:hover { background: var(--ink); color: #fff; }
.orb__ring { position: absolute; inset: 10px; animation: spin 16s linear infinite; }
.orb__ring text { font-family: var(--f-mono); font-size: 7.4px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; fill: currentColor; }
.orb__label { font-size: clamp(1.1rem, 1.3vw, 1.3rem); font-weight: 500; letter-spacing: -.02em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- contact ---------- */
.contact .grid { row-gap: 56px; }
.contact__side { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 28px; }
.contact__form { grid-column: 6 / span 7; }
.contact__meta { display: grid; gap: 18px; margin-top: 12px; }
.contact__meta div { display: grid; gap: 4px; }
.form { display: grid; gap: 34px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-d); border-radius: 0; padding: 26px 0 12px; font-size: 20px; letter-spacing: -.01em; color: inherit; outline: none; transition: border-color .4s; resize: vertical; }
.field textarea { min-height: 132px; line-height: 1.45; }
.field label { position: absolute; left: 0; top: 26px; font-size: 20px; letter-spacing: -.01em; color: var(--muted-d); pointer-events: none; transform-origin: 0 0; transition: transform .5s var(--ease-out), color .4s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-26px) scale(.62); color: var(--blue-2); }
.field i { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--blue-2); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease-out); }
.field input:focus ~ i, .field textarea:focus ~ i { transform: none; }
.field.is-error input, .field.is-error textarea { border-bottom-color: var(--flame); }
.field__err { display: block; margin-top: 8px; color: var(--flame); font-size: 13px; min-height: 0; }
.chips legend { margin-bottom: 16px; color: var(--muted-d); }
.chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-d); font-size: 15px; transition: background .35s, color .35s, box-shadow .35s; }
.chip span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; transition: background .3s, box-shadow .3s; }
.chip:hover span { box-shadow: inset 0 0 0 1px var(--paper); }
.chip input:checked + span { background: var(--paper); color: var(--ink); box-shadow: none; }
.chip input:checked + span::before { background: var(--blue); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.form__consent { max-width: 30em; font-size: 14px; color: var(--muted-d); }
.form__consent a { color: var(--paper); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { display: none; padding: 28px; border-radius: var(--radius); background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-d); }
.form__status.is-on { display: grid; gap: 14px; animation: rise .9s var(--ease-out); }
.form__status h3 { font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.form__status p { color: var(--muted-d); }
.form__status .btn { justify-self: start; }
.form.is-busy [type="submit"] { pointer-events: none; opacity: .6; cursor: progress; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.light-form .field input, .light-form .field textarea { border-bottom-color: var(--line); }
.light-form .field label, .light-form .chips legend, .light-form .form__consent { color: var(--muted); }
.light-form .chip span { box-shadow: inset 0 0 0 1px var(--line); }
.light-form .chip:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.light-form .chip input:checked + span { background: var(--ink); color: var(--paper); }
.light-form .form__consent a { color: var(--ink); }
.light-form .form__status { background: var(--paper-2); box-shadow: none; }
.light-form .form__status p { color: var(--muted); }
.light-form .field input:focus + label, .light-form .field input:not(:placeholder-shown) + label, .light-form .field textarea:focus + label, .light-form .field textarea:not(:placeholder-shown) + label { color: var(--blue); }
.light-form .field i { background: var(--blue); }

/* ---------- footer ---------- */
.ftr { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.ftr > .wrap:first-child { padding-top: clamp(56px, 6vw, 96px); }
.ftr > .wrap:first-child::before { content: ""; display: block; height: 1px; background: var(--line-d); margin-bottom: clamp(48px, 5vw, 80px); }
.contact { padding-bottom: clamp(88px, 9vw, 140px); }
.ftr__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; padding-bottom: clamp(48px, 6vw, 88px); }
.ftr__claim { grid-column: 1 / span 5; font-size: clamp(1.6rem, 2.6vw, 2.6rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.ftr__col { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; }
.ftr__col:first-of-type { grid-column: 7 / span 2; }
.ftr__col .mono { color: var(--muted-d); margin-bottom: 6px; }
.ftr__col a { justify-self: start; align-self: start; }
.ftr__word { position: relative; display: flex; justify-content: space-between; padding-inline: calc(var(--gutter) * .6); font-weight: 800; font-size: 24vw; line-height: .74; letter-spacing: -.07em; font-variation-settings: "wdth" 125; color: var(--paper); user-select: none; margin-bottom: -.03em; }
.ftr__word span { display: block; }
html.js .ftr__word span { transform: translateY(70%); transition: transform 1.4s var(--ease-out); }
html.js .ftr__word.is-in span { transform: none; }
.ftr__word span:nth-child(2) { transition-delay: .05s; } .ftr__word span:nth-child(3) { transition-delay: .1s; }
.ftr__word span:nth-child(4) { transition-delay: .15s; } .ftr__word span:nth-child(5) { transition-delay: .2s; } .ftr__word span:nth-child(6) { transition-delay: .25s; }
.ftr__word span:first-child { color: var(--blue-2); }
.ftr__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; border-top: 1px solid var(--line-d); color: var(--muted-d); }
.totop { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); }
.totop svg { width: 14px; height: 14px; transition: transform .5s var(--ease-out); }
.totop:hover svg { transform: translateY(-4px); }

/* ---------- sub pages ---------- */
.phero { position: relative; padding: calc(var(--header-h) + clamp(64px, 12vh, 150px)) var(--gutter) clamp(64px, 8vw, 120px); overflow: hidden; }
.phero__crumbs { display: flex; gap: 10px; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); }
.phero__crumbs a:hover { color: var(--ink); }
.phero__title { max-width: 14ch; }
.phero__title.display { font-size: clamp(3.1rem, 9vw, 10.4rem); }
.phero__bottom { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 28px; align-items: end; margin-top: clamp(40px, 6vw, 88px); }
.phero__lead { grid-column: 1 / span 6; }
.phero__ctas { grid-column: 8 / span 5; justify-self: end; display: flex; flex-wrap: wrap; gap: 12px; }
.phero__deco { position: absolute; right: calc(var(--gutter) * -1); top: calc(var(--header-h) + 20px); width: clamp(220px, 30vw, 460px); color: var(--blue); opacity: .1; transform: rotate(calc(var(--p, 0) * 30deg)) translateY(calc(var(--p, 0) * 80px)); pointer-events: none; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; }
.pillar { position: relative; display: flex; flex-direction: column; gap: 18px; padding-top: 26px; }
.pillar__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.pillar__ico { width: 56px; height: 56px; color: var(--blue); }
.pillar__ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pillar p { color: var(--muted); }

.offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.offer__card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 420px; padding: clamp(26px, 2.6vw, 40px); border-radius: var(--radius); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-d); overflow: hidden; isolation: isolate; transition: transform .7s var(--ease-out); }
.offer__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); clip-path: circle(0% at 100% 100%); transition: clip-path .9s var(--ease-io); }
.offer__card:hover::before { clip-path: circle(150% at 100% 100%); }
.offer__card:hover { transform: translateY(-6px); }
.offer__card p { color: var(--muted-d); transition: color .5s; }
.offer__card:hover p { color: rgba(255, 255, 255, .86); }
.offer__card .h3 { font-size: clamp(1.8rem, 2.6vw, 2.7rem); }

.words { padding-inline: var(--gutter); font-weight: 500; font-size: clamp(3.2rem, 11.5vw, 13rem); line-height: .9; letter-spacing: -.06em; font-variation-settings: "wdth" 108; }
.words > span { display: block; width: max-content; will-change: transform; }
.words > span:nth-child(1) { transform: translateX(calc((.5 - var(--p, .5)) * 18vw)); }
.words > span:nth-child(2) { margin-left: 10vw; color: var(--blue); transform: translateX(calc((var(--p, .5) - .5) * 14vw)); }
.words > span:nth-child(3) { margin-left: 24vw; transform: translateX(calc((.5 - var(--p, .5)) * 10vw)); }

.feat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 28px; padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); align-items: start; }
.feat:last-child { border-bottom: 1px solid var(--line); }
.feat__no { grid-column: 1 / span 1; padding-top: .8em; color: var(--muted); }
.feat__title { grid-column: 2 / span 5; }
.feat__body { grid-column: 8 / span 5; display: grid; gap: 24px; justify-items: start; }
.feat__body p { color: var(--muted); font-size: clamp(1.05rem, 1.2vw, 1.2rem); }

.quote-big { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; }
.quote-big__title { grid-column: 1 / span 6; }
.quote-big__body { grid-column: 8 / span 5; display: grid; gap: 24px; }
.quote-big__body .lead { color: var(--paper); }
.quote-big__body p { color: var(--muted-d); }

.refs { display: grid; gap: clamp(72px, 9vw, 140px); }
.ref { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 28px; align-items: center; }
.ref__media { grid-column: 1 / span 7; }
.ref__body { grid-column: 9 / span 4; display: grid; gap: 22px; justify-items: start; }
.ref:nth-child(even) .ref__media { grid-column: 6 / span 7; grid-row: 1; }
.ref:nth-child(even) .ref__body { grid-column: 1 / span 4; grid-row: 1; }
.ref__body p { color: var(--muted); }
.ref__title { font-size: clamp(2rem, 3.6vw, 3.8rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.ref__note { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.ref .card__media { box-shadow: 0 40px 80px -40px rgba(13, 14, 17, .45); }
.ref__media--small .card__media { aspect-ratio: 640 / 499; }

.qgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.qcard { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(26px, 2.6vw, 40px); border-radius: var(--radius); background: var(--paper-2); }
.qcard p { font-size: clamp(1.05rem, 1.25vw, 1.25rem); line-height: 1.5; letter-spacing: -.01em; }
.qcard .quote__who b { display: block; font-weight: 500; }
.qcard .quote__who small { color: var(--muted); font-size: 13px; }

.domains__tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 32px; }
.search { position: relative; flex: 1 1 320px; max-width: 520px; }
.search input { width: 100%; height: 60px; padding: 0 20px 0 52px; border-radius: 999px; border: 0; background: var(--paper-2); font-size: 17px; outline: none; transition: box-shadow .3s; }
.search input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.search svg { position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .05em; transition: background .3s, color .3s, box-shadow .3s; }
.filter:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.filter.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.dom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 76px; padding: 18px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; font-size: 18px; font-weight: 500; letter-spacing: -.02em; overflow: hidden; isolation: isolate; transition: color .35s; }
.dom::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: translateY(101%); transition: transform .5s var(--ease-out); }
.dom:hover, .dom:focus-visible { color: #fff; }
.dom:hover::before, .dom:focus-visible::before { transform: none; }
.dom small { position: absolute; right: 16px; top: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .85); opacity: 0; transform: translateY(-4px); transition: opacity .35s, transform .5s var(--ease-out); }
.dom:hover small, .dom:focus-visible small { opacity: 1; transform: none; }
.dom b { overflow-wrap: anywhere; }
.dom.is-hidden { display: none; }
.dom b { font-weight: 500; }
.dom b em { font-style: normal; color: var(--muted); transition: color .35s; }
.dom:hover b em { color: rgba(255, 255, 255, .75); }
.domains__empty { display: none; padding: 40px 0; color: var(--muted); }
.domains__empty.is-on { display: block; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; }
.price b { font-weight: 300; font-size: clamp(2.6rem, 6vw, 6rem); letter-spacing: -.055em; line-height: .9; font-variation-settings: "wdth" 118; }

.legal { max-width: 860px; }
.legal h2 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; margin: 64px 0 20px; display: flex; gap: 18px; align-items: baseline; }
.legal h2 span { font-family: var(--f-mono); font-size: 13px; color: var(--blue); letter-spacing: .04em; }
.legal p, .legal li { color: #2b2c31; font-size: 17px; line-height: 1.7; }
.legal p + p, .legal ol, .legal ul { margin-top: 12px; }
.legal ol { list-style: decimal; padding-left: 1.3em; display: grid; gap: 12px; }
.legal ul { list-style: none; display: grid; gap: 8px; }
.legal ul li { position: relative; padding-left: 22px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--blue); }
.legal__meta { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }

.nf { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; position: relative; overflow: hidden; }
.nf__rocket { position: absolute; right: 6vw; top: 18vh; width: clamp(160px, 22vw, 320px); color: var(--blue); animation: float 6s var(--ease-io) infinite alternate; }
@keyframes float { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(24px, -36px) rotate(6deg); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hdr__nav { display: none; }
  .hdr__menu { display: inline-flex; }
  .hdr__right .clock { display: none; }
  .svc-row__title { grid-column: 2 / span 6; }
  .svc-row__text { grid-column: 8 / span 4; }
}
@media (max-width: 1023px) {
  :root { --header-h: 72px; }
  .sec-head__label, .sec-head__title, .sec-head__text, .intro__label, .intro__text { grid-column: 1 / -1; }
  .sec-head__label, .intro__label { padding-top: 0; }
  .hero__lead { grid-column: 1 / -1; }
  .hero__ctas { grid-column: 1 / span 9; margin-top: 28px; }
  .hero__scroll { grid-column: 10 / span 3; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .svc-row { row-gap: 14px; }
  .svc-row__idx { grid-column: 1 / span 2; padding-top: .5em; }
  .svc-row__title { grid-column: 3 / span 9; }
  .svc-row__text { grid-column: 3 / span 9; padding-top: 0; }
  .svc-row__go { grid-column: 12 / span 1; grid-row: 1; }
  .work { height: auto !important; }
  .work__sticky { position: relative; height: auto; overflow: visible; display: block; padding-block: clamp(96px, 13vw, 160px); }
  .work__track { transform: none !important; flex-direction: column; width: auto; gap: 72px; }
  .work__intro, .card, .card--end { width: 100%; }
  .work__progress { display: none; }
  .card--end a { min-height: 240px; }
  .steps__aside { grid-column: 1 / -1; margin-bottom: 40px; }
  .steps__sticky { position: static; }
  .steps__big { display: none; }
  .steps__list { grid-column: 1 / -1; }
  .quotes__nav, .quotes__stage { grid-column: 1 / -1; }
  .quotes__nav { flex-direction: row; overflow-x: auto; gap: 18px; scrollbar-width: none; }
  .qtab { grid-template-columns: 40px auto; min-width: max-content; border: 0 !important; padding: 6px 0 14px; }
  .qtab img { width: 40px; height: 40px; }
  .contact__side, .contact__form { grid-column: 1 / -1; }
  .ftr__claim { grid-column: 1 / -1; }
  .ftr__col, .ftr__col:first-of-type { grid-column: span 4; }
  .phero__lead, .phero__ctas { grid-column: 1 / -1; justify-self: start; }
  .pillars, .offer, .qgrid { grid-template-columns: 1fr; }
  .offer__card { min-height: 300px; }
  .feat__no { grid-column: 1 / -1; padding: 0; }
  .feat__title, .feat__body { grid-column: 1 / -1; }
  .quote-big__title, .quote-big__body { grid-column: 1 / -1; }
  .ref__media, .ref__body, .ref:nth-child(even) .ref__media, .ref:nth-child(even) .ref__body { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hdr__logo { width: 112px; }
  .hdr__right .btn { display: none; }
  .hero__top .mono:last-child { display: none; }
  .hero__lines .ln:nth-child(2), .hero__lines .ln:nth-child(3) { padding-left: 0; }
  .hero__row2 { flex-wrap: nowrap; }
  .rot__w--long { font-size: .56em; line-height: 1.8; }
  .hero__idx { display: none; }
  .hero__ctas { grid-column: 1 / -1; }
  .hero__scroll { display: none; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: space-between; }
  .stat__num { font-size: clamp(3.4rem, 17vw, 5rem); }
  .svc-row__go { width: 40px; height: 40px; }
  .card__meta { grid-template-columns: auto 1fr; }
  .card__link { grid-column: 2; justify-self: start; }
  .card__tags, .card__text { grid-column: 2 / -1; }
  .step { min-height: 0; }
  .cta__lines { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .cta__row { flex-direction: column; align-items: flex-start; }
  .form__row { grid-template-columns: 1fr; }
  .field input, .field textarea, .field label { font-size: 18px; }
  .ftr__col, .ftr__col:first-of-type { grid-column: span 6; }
  .ftr__bottom { flex-direction: column; align-items: flex-start; }
  .dom { min-height: 64px; font-size: 17px; }
  .phero__deco { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .grain { display: none; }
  html.js [data-reveal], html.js [data-split] .ln__i, html.js .hero .ln__i, html.js .hero [data-hero] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .lit .w { opacity: 1 !important; }
}
.form__status-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ---------- sub page extras ---------- */
.wgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 80px) clamp(16px, 2vw, 32px); }
.wtile { display: grid; gap: 22px; }
.wtile .card__media img { transform: scale(1.02); transition: transform 1.2s var(--ease-out); }
.wtile:hover .card__media img { transform: scale(1.07); }
.wtile__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; }
.wtile__text { display: block; max-width: 36em; margin-top: -8px; color: var(--muted); }
.wtile__title { font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 500; letter-spacing: -.03em; }
.three { display: flex; align-items: flex-start; font-weight: 300; font-size: clamp(9rem, 26vw, 26rem); line-height: .78; letter-spacing: -.08em; font-variation-settings: "wdth" 125; color: var(--blue-2); margin-bottom: 28px; }
.three__unit { font-size: .3em; letter-spacing: 0; margin-left: .12em; margin-top: .16em; color: var(--paper); }
.words-sec { overflow: hidden; padding-block: clamp(40px, 6vw, 96px); }
.nsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; }
.nstep { position: relative; display: grid; gap: 14px; align-content: start; padding-top: 26px; }
.domains .price b { font-size: clamp(2rem, 4vw, 4rem); }
.phero__ctas.price { flex-direction: column; align-items: flex-end; gap: 10px; }
@media (max-width: 1023px) {
  .wgrid, .nsteps { grid-template-columns: 1fr; }
  .phero__ctas.price { align-items: flex-start; }
}
.form__status:not([data-mode="sent"]) [data-when="sent"], .form__status[data-mode="sent"] [data-when="mail"] { display: none !important; }
.grain { opacity: .04; }
