/* ==========================================================================
   websynq — design 2 "Agency"
   Cinematic: opening screen, full-screen hero, big condensed headlines,
   alternating image/text blocks and smooth reveal animations on scroll.
   ========================================================================== */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0c0d14;
  --night: #12142a;
  --paper: #f6f4ef;
  --white: #ffffff;
  --accent: #ff5a1f;
  --accent-soft: #ffe3d6;
  --text: #15161c;
  --muted: #5d5f6b;
  --muted-dark: #a3a5b3;
  --line: rgba(12, 13, 20, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --r: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--accent); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

.kicker { display: inline-block; font: 400 clamp(1rem, 1.4vw, 1.25rem)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--accent); margin-bottom: 16px; }

/* ---------- Buttons (square-ish, condensed caps) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 54px; padding: .7em 1.5em; border: 0; border-radius: 4px;
  font: 400 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), transform .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scaleY(1); }
.btn svg { width: 1em; height: 1em; flex: none; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent::before { background: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white::before { background: var(--accent); }
.btn--white:hover { color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink::before { background: #fff; }
.btn--ink:hover { color: var(--ink); }

/* ---------- Opening screen ---------- */
.intro { position: fixed; inset: 0; z-index: 500; pointer-events: none; }
.intro__layer { position: absolute; inset: 0; }
.intro__layer--accent { background: var(--accent); }
.intro__layer--night { background: var(--night); display: grid; place-items: center; overflow: hidden; }
.intro__grid {
  position: absolute; inset: 0; opacity: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 60%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 60%);
  animation: iFade 1.2s ease .1s forwards, iGrid 3s linear infinite;
}
.intro__center { position: relative; display: grid; justify-items: center; width: min(460px, 78vw); transition: transform .6s var(--ease), opacity .5s ease, filter .5s ease; }
.intro__mark { position: relative; width: 46%; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 58px; }
.intro__ring { position: absolute; left: -18%; top: -18%; width: 136%; height: 136%; max-width: none; overflow: visible; }
.intro__line { stroke: rgba(255,255,255,.9); stroke-width: 1.6; stroke-dasharray: 553; stroke-dashoffset: 553; transform: rotate(-90deg); transform-origin: 100px 100px; animation: iDraw 1.1s var(--ease) .1s forwards; }
.intro__orbit { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 2 9; opacity: 0; transform-origin: 100px 100px; animation: iFade .8s ease .7s forwards, spin 14s linear infinite; }
.intro__nodes circle { fill: #fff; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: iPop .5s cubic-bezier(.34,1.56,.64,1) forwards; }
.intro__nodes circle:nth-child(1) { animation-delay: .35s; }
.intro__nodes circle:nth-child(2) { animation-delay: .45s; }
.intro__nodes circle:nth-child(3) { animation-delay: .55s; }
.intro__nodes circle:nth-child(4) { animation-delay: .65s; }
.intro__nodes circle:nth-child(5) { animation-delay: .75s; }
.intro__nodes circle:nth-child(6) { animation-delay: .85s; fill: var(--accent); }
.intro__icon { width: 78%; opacity: 0; transform: scale(.4) rotate(-120deg); filter: blur(6px); animation: iIcon 1s var(--ease) .55s forwards; }
.intro__word { width: 100%; overflow: hidden; }
.intro__word img { width: 100%; transform: translateY(110%); filter: blur(8px); opacity: 0; animation: iWord 1s var(--ease) 1s forwards; }
.intro__tag { margin-top: 14px; color: var(--muted-dark); font: 500 .72rem/1 var(--body); text-transform: uppercase; letter-spacing: .9em; opacity: 0; animation: iTag 1.1s var(--ease) 1.25s forwards; text-align: center; }
@keyframes iFade { to { opacity: 1; } }
@keyframes iGrid { to { background-position: 0 64px, 64px 0; } }
@keyframes iDraw { to { stroke-dashoffset: 0; } }
@keyframes iPop { to { transform: scale(1); } }
@keyframes iIcon { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes iWord { to { transform: none; filter: blur(0); opacity: 1; } }
@keyframes iTag { from { letter-spacing: .9em; } to { opacity: 1; letter-spacing: var(--tag-ls, .32em); } }
@media (max-width: 480px) { .intro__tag { --tag-ls: .16em; font-size: .6rem; white-space: nowrap; } .intro__mark { margin-bottom: 44px; } }
/* exit: content zooms away, then the two curtains lift one after another */
.intro.is-done .intro__center { transform: scale(1.12); opacity: 0; filter: blur(6px); }
.intro.is-done .intro__layer--night { animation: iLift .9s cubic-bezier(.76,0,.24,1) .25s forwards; }
.intro.is-done .intro__layer--accent { animation: iLift .9s cubic-bezier(.76,0,.24,1) .42s forwards; }
@keyframes iLift { to { clip-path: inset(0 0 100% 0); } }
.intro__layer { clip-path: inset(0 0 0 0); }
/* the page gently settles into place after the curtain */
.js .hero__media { transform: scale(1.12); }
.js.is-ready .hero__media { transform: none; transition: transform 2s var(--ease); }
html:not(.js) .intro, .intro.is-gone { display: none; }

/* ---------- Floating navigation ---------- */
.nav {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center; gap: 8px; padding-inline: var(--gutter);
  transition: transform .5s var(--ease);
}
.nav.is-hidden { transform: translateY(-140%); }
.nav__bar {
  display: flex; align-items: center; gap: 28px; height: 68px; padding: 0 26px;
  background: var(--ink); color: #fff; border-radius: 4px;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.6);
}
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; padding-right: 26px; border-right: 1px solid var(--line-dark); height: 36px; }
.nav__logo img:first-child { width: 32px; }
.nav__logo img:last-child { width: 108px; }
.nav__links { display: flex; gap: 22px; }
.nav__links a { font: 400 1.2rem/1 var(--display); text-transform: uppercase; text-decoration: none; color: #fff; position: relative; padding: 6px 0; }
.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); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__lang { display: flex; gap: 8px; font: 600 .8rem/1 var(--body); letter-spacing: .06em; }
.nav__lang a, .nav__lang span { text-decoration: none; color: var(--muted-dark); padding: 6px 4px; }
.nav__lang [aria-current="true"] { color: #fff; border-bottom: 2px solid var(--accent); }
.nav__call { height: 68px; padding: 0 26px; box-shadow: 0 18px 40px -20px rgba(0,0,0,.5); }
.nav__burger { display: none; width: 46px; height: 46px; background: transparent; border: 1px solid var(--line-dark); border-radius: 4px; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav__burger i, .nav__burger i::before, .nav__burger i::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .3s, background-color .3s; }
.nav__burger i::before, .nav__burger i::after { content: ""; position: absolute; left: 0; }
.nav__burger i::before { top: -6px; } .nav__burger i::after { top: 6px; }
.menu-open .nav__burger i { background: transparent; }
.menu-open .nav__burger i::before { transform: translateY(6px) rotate(45deg); }
.menu-open .nav__burger i::after { transform: translateY(-6px) rotate(-45deg); }

/* full-screen mobile menu */
.overlay {
  position: fixed; inset: 0; z-index: 90; background: var(--night); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 110px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden;
}
.menu-open .overlay { clip-path: inset(0 0 0 0); visibility: visible; }
.overlay a { font: 400 clamp(2.6rem, 13vw, 4.5rem)/1.05 var(--display); text-transform: uppercase; text-decoration: none; opacity: 0; transform: translateY(30px); transition: opacity .5s var(--ease), transform .6s var(--ease), color .2s; }
.overlay a:hover { color: var(--accent); }
.menu-open .overlay a { opacity: 1; transform: none; }
.menu-open .overlay a:nth-child(2) { transition-delay: .06s; }
.menu-open .overlay a:nth-child(3) { transition-delay: .12s; }
.menu-open .overlay a:nth-child(4) { transition-delay: .18s; }
.menu-open .overlay a:nth-child(5) { transition-delay: .24s; }
.overlay .btn { margin-top: 28px; align-self: flex-start; }

@media (max-width: 1100px) {
  .nav__links { gap: 16px; }
  .nav__bar { gap: 20px; }
  .nav__call .lbl { display: none; }
  .nav__call { width: 68px; padding: 0; }
}
@media (max-width: 900px) {
  .nav { top: 12px; justify-content: space-between; }
  .nav__bar { flex: 1; height: 60px; padding: 0 12px 0 16px; justify-content: space-between; gap: 12px; }
  .nav__links { display: none; }
  .nav__logo { border: 0; padding: 0; }
  .js .nav__burger { display: inline-flex; }
  .nav__call { height: 60px; width: 60px; }
  html:not(.js) .nav__links { display: flex; }
}
@media (max-width: 420px) {
  .nav__logo img:last-child { width: 88px; }
  .nav__bar { gap: 8px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--night); }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Placeholder "footage": slow-moving light until real video/photos are added */
.hero__placeholder {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 70% 35%, rgba(255,90,31,.55), transparent 70%),
    radial-gradient(35% 45% at 25% 70%, rgba(86,110,255,.40), transparent 70%),
    radial-gradient(50% 60% at 85% 85%, rgba(255,160,90,.25), transparent 70%),
    var(--night);
}
@keyframes drift {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-4%,3%,0) scale(1.08); }
  100% { transform: translate3d(3%,-2%,0) scale(1.04); }
}
.hero__grain { position: absolute; inset: 0; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,13,20,.25) 0%, rgba(12,13,20,.1) 40%, rgba(12,13,20,.75) 100%); }
/* the turning circle sits on top of the (static) background, so the background is drawn only once */
.hero__orbit { position: absolute; right: -6vw; top: 12%; width: min(54vw, 720px); opacity: .16; }
.hero__orbit svg { width: 100%; height: auto; } /* static: a slow rotation costs a GPU redraw every frame */
@keyframes spin { to { transform: rotate(360deg); } }

.hero__content { position: relative; width: 100%; padding-top: 140px; padding-bottom: 150px; }
.hero__kicker { color: #fff; }
.hero h1 { font-size: clamp(3.2rem, 8.4vw, 8.6rem); max-width: 16ch; margin-bottom: 36px; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em 0 .04em; margin-top: -.14em; }
.hero h1 .w > span { display: inline-block; transform: translateY(110%); }
.hero h1 em { font-style: normal; color: var(--accent); }
.is-ready .hero h1 .w > span { transform: none; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__status { position: absolute; right: var(--gutter); bottom: 96px; font: 400 1.1rem/1 var(--display); text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.hero__status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; flex: none; }
/* pulse ring: animated with transform + opacity only, so the GPU handles it (no repaint every frame) */
.hero__status::after { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: rgba(61,220,132,.55); animation: pulse 2s cubic-bezier(.2,.6,.4,1) infinite; will-change: transform, opacity; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.js .fade-in { opacity: 0; transform: translateY(20px); }
.is-ready .fade-in { opacity: 1; transform: none; transition: opacity .9s var(--ease) .5s, transform .9s var(--ease) .5s; }

/* Strip along the bottom of the hero */
.strip { position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--accent); color: #fff; overflow: hidden; }
.strip__track { display: flex; width: max-content; animation: marquee 34s linear infinite; will-change: transform; backface-visibility: hidden; }
.strip ul { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
.strip li { font: 400 clamp(1.1rem, 2vw, 1.6rem)/1 var(--display); text-transform: uppercase; padding: 20px 0; white-space: nowrap; display: flex; align-items: center; }
.strip li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; margin: 0 32px; opacity: .7; }
/* with JavaScript the strip is animated from main.js (pixel based, GPU) */
.strip-js .strip__track { animation: none; }
@keyframes marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (max-width: 700px) {
  .hero__status { display: none; }
  .hero__content { padding-bottom: 120px; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- Scroll reveal system ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(48px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal="clip"] { opacity: 1; transform: none; position: relative; overflow: hidden; }
.js [data-reveal="clip"]::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--cover, var(--paper)); transform-origin: top; transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="clip"].is-in::after { transform: scaleY(0); }
.js [data-reveal="clip"] .vis { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.js [data-reveal="clip"].is-in .vis { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .lines .ln { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em 0 .04em; margin-top: -.14em; }
.js .lines .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0s)); }
.js .lines.is-in .ln > span { transform: none; }

/* ---------- Intro statement (words light up while scrolling) ---------- */
.statement { padding: clamp(100px, 14vw, 200px) 0; background: var(--paper); }
.statement p { font: 400 clamp(2rem, 5.2vw, 4.8rem)/1.26 var(--display); text-transform: uppercase; margin: 0; max-width: 24ch; }
.statement p .word { color: rgba(12,13,20,.14); transition: color .4s; }
.statement p .word.on { color: var(--ink); }
.statement p .word.hot.on { color: var(--accent); }
html:not(.js) .statement p .word { color: var(--ink); }

/* ---------- Services: alternating blocks ---------- */
.services { padding: 0 0 clamp(80px, 10vw, 140px); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(40px, 6vw, 80px) 0; }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; background: var(--night); }
.svc__media .vis { position: absolute; inset: 0; display: grid; place-items: center; transition: transform 1.4s var(--ease); }
.js .svc__media.is-in:hover .vis, .svc__media:hover .vis { transform: scale(1.04); }
.svc__media--accent { background: var(--accent); }
.svc__media--soft { background: var(--accent-soft); }
.svc h2 { font-size: clamp(3.4rem, 8vw, 7.6rem); margin-bottom: 18px; }
.svc p { color: var(--muted); font-size: 1.12rem; max-width: 46ch; }
.svc .btn { margin-top: 12px; }
.svc__num { font: 400 1.1rem/1 var(--display); color: var(--accent); display: block; margin-bottom: 10px; }
@media (max-width: 860px) {
  .svc { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc__media { order: 0; }
  .svc__media { aspect-ratio: 4 / 3.4; }
}

/* Illustrations inside the service blocks (pure HTML/CSS, replaceable by photos) */
.dev-laptop { width: 78%; transform: rotate(-6deg); filter: drop-shadow(0 40px 40px rgba(0,0,0,.45)); }
.dev-laptop .scr { background: #111; padding: 10px; border-radius: 14px 14px 0 0; }
.dev-laptop .base { height: 16px; background: linear-gradient(#cfcfd6, #8d8e99); border-radius: 0 0 16px 16px; margin: 0 -6%; }
.site { background: #fff; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 10; display: grid; grid-template-rows: auto 1fr; }
.site__nav { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid #eee; }
.site__nav b { width: 30%; height: 8px; border-radius: 4px; background: #222; }
.site__nav i { width: 20%; height: 14px; border-radius: 3px; background: var(--accent); }
.site__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; padding: 12px; align-items: center; }
.site__body span { display: block; height: 9px; border-radius: 4px; background: #222; margin-bottom: 6px; }
.site__body span:nth-child(2) { width: 80%; }
.site__body span:nth-child(3) { width: 55%; background: #ccc; height: 6px; }
.site__body em { display: block; width: 45%; height: 14px; border-radius: 3px; background: var(--accent); margin-top: 10px; }
.site__img { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(135deg, #ffb48f, var(--accent)); }
.dev-phone { position: absolute; right: 12%; bottom: 14%; width: 22%; background: #111; border-radius: 18px; padding: 6px; transform: rotate(8deg); box-shadow: 0 30px 40px -10px rgba(0,0,0,.5); }
.dev-phone .site { aspect-ratio: 9 / 18; grid-template-rows: auto 1fr; border-radius: 13px; }
.dev-phone .site__body { grid-template-columns: 1fr; }

.rack { width: 54%; display: grid; gap: 12px; }
.rack div { height: 52px; border-radius: 8px; background: #1b1e3a; border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.rack i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; animation: blink 1.6s infinite; }
.rack div:nth-child(2) i { animation-delay: .4s; } .rack div:nth-child(3) i { animation-delay: .8s; } .rack div:nth-child(4) i { animation-delay: 1.2s; }
.rack b { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); }
.rack em { font: 600 .75rem var(--body); font-style: normal; color: #9aa0c8; letter-spacing: .06em; }
@keyframes blink { 50% { opacity: .25; } }
.ssl { position: absolute; left: 12%; top: 14%; background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 16px; font: 700 .85rem var(--body); display: flex; gap: 8px; align-items: center; box-shadow: 0 20px 30px -12px rgba(0,0,0,.5); }
.ssl svg { width: 16px; height: 16px; color: #1f9d55; }

.update { width: 62%; background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.35); color: var(--ink); }
.update h4 { margin: 0 0 14px; font: 700 .95rem var(--body); display: flex; justify-content: space-between; }
.update h4 span { color: #1f9d55; }
.update li { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #eee; font: 500 .9rem var(--body); }
.update ul { margin: 0; padding: 0; }
.update li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e7f7ee; color: #1f9d55; font-weight: 800; font-size: .75rem; flex: none; }

.serp { width: 70%; display: grid; gap: 10px; }
.serp__bar { background: #fff; border-radius: 999px; padding: 12px 18px; font: 500 .9rem var(--body); color: #555; display: flex; gap: 10px; align-items: center; box-shadow: 0 16px 30px -16px rgba(0,0,0,.3); }
.serp__bar svg { width: 16px; height: 16px; }
.serp__res { background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: 0 16px 30px -16px rgba(0,0,0,.25); }
.serp__res small { display: block; color: #1f9d55; font: 500 .75rem var(--body); }
.serp__res b { display: block; color: #1a3fd1; font: 600 1rem var(--body); margin: 2px 0 6px; }
.serp__res i { display: block; height: 6px; border-radius: 3px; background: #e5e5e5; margin-top: 5px; }
.serp__res i:last-child { width: 70%; }
.serp__res.top { outline: 3px solid var(--accent); transform: scale(1.04); }
.serp__res.dim { opacity: .55; }

/* ---------- Process ---------- */
.process { background: var(--night); color: #fff; padding: clamp(90px, 12vw, 170px) 0; overflow: hidden; }
.process h2 { font-size: clamp(3rem, 8vw, 7.4rem); margin-bottom: clamp(48px, 7vw, 90px); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: var(--line-dark); }
.timeline::after { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: var(--accent); transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform .2s linear; will-change: transform; }
.tl { position: relative; padding-top: 80px; }
.tl__dot { position: absolute; top: 18px; left: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--night); border: 2px solid var(--line-dark); z-index: 1; transition: background-color .4s, border-color .4s; }
.tl.is-in .tl__dot { background: var(--accent); border-color: var(--accent); }
.tl__n { font: 400 1.1rem/1 var(--display); color: var(--accent); }
.tl h3 { font-size: clamp(2rem, 3.2vw, 2.8rem); margin: 10px 0 14px; }
.tl p { color: var(--muted-dark); margin: 0; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before, .timeline::after { left: 12px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: scaleY(var(--progress, 0)); transform-origin: top; }
  .tl { padding: 0 0 44px 56px; }
  .tl__dot { top: 0; left: 0; }
}

/* ---------- About ---------- */
.about { padding: clamp(90px, 12vw, 170px) 0; }
.about__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.about h2 { font-size: clamp(3rem, 8vw, 7.4rem); line-height: 1.12; }
.about__head p { color: var(--muted); font-size: 1.12rem; margin: 0; }
.member { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: #ddd; }
.member picture { display: block; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.member.is-in img { transform: scale(1); }
/* one block per founder, photo and text alternating sides */
.people { display: grid; gap: clamp(64px, 9vw, 130px); margin-top: clamp(72px, 10vw, 140px); }
.person { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.person:nth-child(even) .member { order: 2; }
.person .member { max-width: 480px; width: 100%; }
.person:nth-child(even) .member { justify-self: end; }
.person h3 { font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1.02; margin: 4px 0 22px; }
.person p { color: #3a3b44; font-size: 1.1rem; max-width: 52ch; }
@media (max-width: 860px) {
  .person { grid-template-columns: 1fr; }
  .person:nth-child(even) .member { order: 0; justify-self: start; }
  .person .member { max-width: 420px; }
}
.about__text { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; }
.about__text p { color: #3a3b44; font-size: 1.1rem; }
@media (max-width: 860px) {
  .about__head, .about__text { grid-template-columns: 1fr; }
}

/* ---------- Big call section ---------- */
.call { position: relative; background: radial-gradient(120% 140% at 85% 20%, #c24f24 0%, #a8411d 45%, #7f3016 100%); color: #fff; padding: clamp(100px, 14vw, 200px) 0; overflow: hidden; }
.call h2 { font-size: clamp(3.6rem, 13vw, 13rem); line-height: .86; }
.call__phone { display: inline-flex; align-items: center; gap: .3em; margin: 32px 0 26px; font: 400 clamp(2.2rem, 6.5vw, 6rem)/1 var(--display); text-decoration: none; border-bottom: 4px solid #fff; padding-bottom: 6px; transition: gap .4s var(--ease); }
.call__phone:hover { gap: .5em; }
.call__phone svg { width: .7em; height: .7em; }
.call p { max-width: 52ch; font-size: 1.12rem; color: #fbe7de; }
.call__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.25); max-width: 760px; }
.call__alt span { font: 400 1.4rem/1 var(--display); text-transform: uppercase; }
.btn--line-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); font-family: var(--body); font-weight: 600; font-size: 1.05rem; text-transform: none; letter-spacing: 0; }
.btn--line-light::before { background: #fff; }
.btn--line-light:hover { color: #8f3418; }
.overlay__mail { font: 500 1rem/1.4 var(--body) !important; text-transform: none !important; color: var(--muted-dark); margin-top: 16px; text-decoration: underline !important; }
.call__orbit { position: absolute; right: -12%; top: 50%; width: min(70vw, 860px); transform: translateY(-50%); opacity: .16; pointer-events: none; }
.call__orbit svg { width: 100%; height: auto; animation: spin 70s linear infinite reverse; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: var(--muted-dark); padding: 72px 0 32px; font-size: .95rem; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.ftr__logo { width: 230px; margin-bottom: 18px; }
.ftr h2 { font-size: 1.3rem; color: #fff; margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: 8px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--accent); }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .88rem; }
@media (max-width: 760px) { .ftr__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Text pages ---------- */
.page { padding: 150px 0 100px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(2.8rem, 8vw, 5rem); margin-bottom: 28px; }
.page h2 { font-size: 1.8rem; margin: 1.6em 0 .5em; }
.page p, .page li { color: #333; }
.notice { border-left: 6px solid var(--accent); background: var(--accent-soft); padding: 14px 18px; margin-bottom: 32px; font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal="clip"]::after { display: none; }
  .js [data-reveal], .js .lines .ln > span, .hero h1 .w > span, .js .fade-in { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .intro { display: none; }
  .statement p .word { color: var(--ink); }
}
