/* ==========================================================================
   Sunshine Technologies — Water Treatment & Chemicals
   Plain CSS. Brand: Sunshine red #b22d30 · charcoal #373435
   ========================================================================== */

:root {
  --red: #b22d30;
  --red-2: #d23b3e;
  --red-dark: #8c1f22;
  --sun: #f2a33a;
  --water: #3fa7c9;
  --water-soft: #e3f3f8;
  --ink: #16191c;
  --ink-2: #373435;
  --text: #4a4f55;
  --muted: #80868d;
  --bg: #ffffff;
  --bg-soft: #f6f4f1;
  --bg-cool: #f2f6f8;
  --line: #e7e3de;
  --dark: #111417;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -24px rgba(22, 25, 28, .35);
  --shadow-lg: 0 40px 80px -30px rgba(22, 25, 28, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --container: 1240px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--display); color: var(--ink); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { to { transform: translateY(0); opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.18); } to { transform: scale(1.02); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes wave { to { transform: translateX(-50%); } }
@keyframes bubble { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .7; } 100% { transform: translateY(-110vh) scale(1.1); opacity: 0; } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(178, 45, 48, .5); } 100% { box-shadow: 0 0 0 22px rgba(178, 45, 48, 0); } }
@keyframes drop { 0% { transform: translateY(-6px) scale(.9); } 50% { transform: translateY(4px) scale(1); } 100% { transform: translateY(-6px) scale(.9); } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; background: var(--dark); transition: clip-path 1.1s var(--ease), visibility 0s 1.1s; clip-path: inset(0 0 0 0); }
.preloader.done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__logo { width: 190px; opacity: 0; animation: fadeUp .9s var(--ease) .1s forwards; }
.preloader__drop { width: 46px; height: 46px; color: var(--red-2); animation: drop 1.2s ease-in-out infinite; }
.preloader__bar { width: 180px; height: 2px; background: rgba(255,255,255,.12); overflow: hidden; border-radius: 2px; }
.preloader__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--sun)); transition: width .3s var(--ease); }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; background: linear-gradient(90deg, var(--red), var(--sun)); transform-origin: left; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 56px; padding: 0 30px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .01em; overflow: hidden; isolation: isolate; white-space: nowrap; transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn i { transition: transform .4s var(--ease); }
.btn:hover i { transform: translateX(4px) rotate(-45deg); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 14px 30px -12px rgba(178, 45, 48, .7); }
.btn--red::before { background: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light::before { background: var(--red); }
.btn--light:hover { color: #fff; }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::before { background: var(--red); }
.btn:active { transform: scale(.97); }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }

/* ---------- Section heading ---------- */
.section { position: relative; padding: 130px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.title { font-size: clamp(36px, 5vw, 64px); }
.title em { font-style: normal; color: var(--red); }
.lead { font-size: 18px; color: var(--text); max-width: 560px; margin-top: 18px; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.head--center { flex-direction: column; align-items: center; text-align: center; }
.head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.head--center .lead { margin-left: auto; margin-right: auto; }
.on-dark .title { color: #fff; }
.on-dark .lead { color: rgba(255,255,255,.7); }

/* Reveal */
[data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1.1s var(--ease), clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="up"] { transform: translateY(50px); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="zoom"] { transform: scale(.88); }
[data-reveal="clip"] { clip-path: inset(0 100% 0 0); opacity: 1; }
[data-reveal].in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.in .w > span { transform: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background-color .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease), transform .5s var(--ease); }
.header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 10px 30px -20px rgba(0,0,0,.35); height: 72px; }
.header.hide { transform: translateY(-100%); }
.header .container { display: flex; align-items: center; gap: 30px; }
.logo { position: relative; display: block; width: 150px; height: 75px; flex: none; transition: width .5s var(--ease), height .5s var(--ease); }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s; }
.logo .logo--dark { opacity: 0; }
.header.scrolled .logo .logo--light, .menu-open .logo .logo--dark { opacity: 0; }
.header.scrolled .logo .logo--dark, .menu-open .logo .logo--light { opacity: 1; }
.header.scrolled .logo { height: 62px; width: 124px; }
.menu-open .header.scrolled { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .header.scrolled .logo .logo--dark { opacity: 0; }
.nav { margin-left: auto; position: relative; }
.nav ul { display: flex; gap: 6px; }
.nav a { position: relative; display: block; padding: 10px 16px; font-size: 14.5px; font-weight: 700; text-transform: capitalize; letter-spacing: .02em; color: rgba(255,255,255,.85); transition: color .3s; }
.nav a:hover, .nav a.active { color: #fff; }
.header.scrolled .nav a { color: var(--ink-2); }
.header.scrolled .nav a:hover, .header.scrolled .nav a.active { color: var(--red); }
.nav__line { position: absolute; bottom: 2px; left: 0; height: 2px; width: 0; border-radius: 2px; background: var(--red-2); transition: transform .6s var(--spring), width .6s var(--spring), opacity .3s; pointer-events: none; }
.header .btn { height: 48px; padding: 0 22px; font-size: 14px; }
.burger { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--red); flex: none; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--dark); display: flex; flex-direction: column; justify-content: center; padding: 100px 32px 40px; clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .9s var(--ease), visibility 0s .9s; visibility: hidden; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path .9s var(--ease); }
.mobile-menu nav a { display: block; font-family: var(--display); font-size: clamp(34px, 9vw, 52px); font-weight: 700; color: #fff; text-transform: capitalize; padding: 4px 0; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s; }
.mobile-menu nav a:hover { color: var(--red-2); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * 60ms); }
.mobile-menu__foot { margin-top: 40px; color: rgba(255,255,255,.6); font-size: 14px; display: grid; gap: 6px; }
.mobile-menu__foot a { font-weight: 700; color: #fff; }

/* ==========================================================================
   Hero slider
   ========================================================================== */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; background: var(--dark); color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.4s var(--ease), visibility 0s 1.4s; }
.slide.active { opacity: 1; visibility: visible; transition: opacity 1.4s var(--ease); z-index: 1; }
.slide__bg { position: absolute; inset: 0; overflow: hidden; }
.slide__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.slide.active .slide__bg img { animation: kenburns 9s var(--ease) forwards; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,12,14,.88) 0%, rgba(10,12,14,.55) 45%, rgba(10,12,14,.15) 100%), linear-gradient(0deg, rgba(10,12,14,.6), transparent 40%); }
.slide__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; }
.slide__kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: #fff; margin-bottom: 22px; overflow: hidden; }
.slide__kicker span { display: inline-block; transform: translateY(110%); }
.slide__kicker::before { content: ""; width: 0; height: 2px; background: var(--red-2); transition: width 1s var(--ease) .2s; }
.slide.active .slide__kicker::before { width: 46px; }
.slide.active .slide__kicker span { animation: rise 1s var(--ease) .3s forwards; }
.slide__title { font-size: clamp(42px, 8vw, 112px); line-height: .95; color: #fff; max-width: 1000px; letter-spacing: -.035em; text-transform: uppercase; }
.slide__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.slide__title .line > span { display: inline-block; transform: translateY(110%); }
.slide.active .slide__title .line > span { animation: rise 1.2s var(--ease) forwards; animation-delay: calc(.45s + var(--l) * .14s); }
.slide__title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px #fff; }
.slide__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; opacity: 0; transform: translateY(30px); }
.slide.active .slide__cta { animation: rise 1s var(--ease) 1s forwards; }

.hero__ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: 80px; }
.hero__ui .container { display: flex; align-items: center; gap: 28px; }
.hero__count { font-family: var(--display); font-weight: 700; font-size: 15px; color: rgba(255,255,255,.6); }
.hero__count b { color: #fff; font-size: 30px; margin-right: 4px; }
.hero__bars { display: flex; gap: 10px; }
.hero__bars button { position: relative; width: 56px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero__bars button::before { content: ""; position: absolute; inset: -10px 0; }
.hero__bars button::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__bars button.done::after { transform: scaleX(1); }
.hero__bars button.active::after { animation: fill var(--dur, 7s) linear forwards; }
.hero.paused .hero__bars button.active::after { animation-play-state: paused; }
.hero__arrows { margin-left: auto; display: flex; gap: 10px; }
.round { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.35); color: #fff; transition: background-color .4s var(--ease), border-color .4s, transform .4s var(--ease), color .3s; }
.round:hover { background: var(--red); border-color: var(--red); transform: scale(1.06); color: #fff; }
.round--dark { border-color: var(--line); color: var(--ink); }

.hero__scroll { position: absolute; z-index: 5; right: 0; top: 50%; transform: translateY(-50%) rotate(90deg); display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.7); }
.mouse { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.6); border-radius: 12px; position: relative; transform: rotate(-90deg); }
.mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s var(--ease) infinite; }

.bubbles { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.bubbles i { position: absolute; bottom: -40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), rgba(255,255,255,.04) 60%); animation: bubble linear infinite; }

.waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 4; height: 60px; pointer-events: none; overflow: hidden; }
.waves svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; animation: wave 14s linear infinite; }
.waves svg:nth-child(2) { animation-duration: 9s; opacity: .45; }

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker { background: var(--red); color: #fff; overflow: hidden; padding: 22px 0; position: relative; z-index: 3; }
.ticker__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--display); font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.ticker span i { font-size: .6em; color: var(--sun); }

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--bg); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 90px; align-items: center; }
.about__media { position: relative; }
.about__img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.about__img img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.about__img2 { position: absolute; right: -40px; bottom: -40px; width: 52%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.about__img2 img { width: 100%; height: 100%; object-fit: cover; }
.about__badge { position: absolute; left: -30px; top: 50px; display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.about__badge .ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 22px; }
.about__badge strong { display: block; font-family: var(--display); font-size: 22px; color: var(--ink); line-height: 1.1; }
.about__badge span { font-size: 13px; color: var(--muted); font-weight: 600; }
.about__ring { position: absolute; left: -70px; bottom: -70px; width: 200px; height: 200px; z-index: -1; color: var(--red); opacity: .2; animation: spin 40s linear infinite; }
.about h3 { font-size: 28px; margin-top: 4px; }
.about h3 span { color: var(--red); }
.about__text { margin-top: 18px; font-size: 17px; }

.tabs { margin-top: 36px; }
.tabs__nav { position: relative; display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.tabs__nav button { position: relative; z-index: 1; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: color .4s var(--ease); }
.tabs__nav button.active { color: #fff; }
.tabs__pill { position: absolute; top: 6px; left: 0; height: calc(100% - 12px); border-radius: 999px; background: var(--ink); transition: transform .6s var(--spring), width .6s var(--spring); }
.tabs__panels { position: relative; margin-top: 26px; min-height: 130px; }
.tabs__panel { display: none; gap: 16px; }
.tabs__panel.active { display: grid; animation: fadeUp .7s var(--ease); }
.tabs__panel p { font-size: 16.5px; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink-2); }
.checks li i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--water-soft); color: var(--water); font-size: 11px; margin-top: 2px; }
.about__cta { display: flex; align-items: center; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.call { display: flex; align-items: center; gap: 14px; }
.call .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--red); animation: pulse 2s infinite; }
.call small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.call strong { font-family: var(--display); font-size: 18px; color: var(--ink); }

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--dark); overflow: hidden; }
.services::before { content: ""; position: absolute; width: 700px; height: 700px; right: -250px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(178,45,48,.35), transparent 65%); pointer-events: none; }
.services::after { content: ""; position: absolute; width: 600px; height: 600px; left: -250px; bottom: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(63,167,201,.22), transparent 65%); pointer-events: none; }
.services .container { position: relative; z-index: 1; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.svc { position: relative; overflow: hidden; isolation: isolate; padding: 40px 34px 36px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); min-height: 470px; display: flex; flex-direction: column; transition: transform .6s var(--ease), border-color .5s, opacity 1s var(--ease); }
.svc__bg { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity .7s var(--ease); }
.svc__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.4s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,20,23,.5), rgba(17,20,23,.95) 65%); opacity: 0; transition: opacity .7s var(--ease); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(178,45,48,.3), transparent 50%); opacity: 0; transition: opacity .4s; }
.svc:hover { transform: translateY(-10px); border-color: rgba(210,59,62,.6); }
.svc:hover .svc__bg, .svc:hover::before, .svc:hover::after { opacity: 1; }
.svc:hover .svc__bg img { transform: scale(1); }
.svc__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 40px; }
.svc__ic { width: 74px; height: 74px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; color: #fff; background: linear-gradient(140deg, var(--red-2), var(--red-dark)); box-shadow: 0 18px 30px -14px rgba(178,45,48,.9); transition: transform .7s var(--spring); }
.svc:hover .svc__ic { transform: rotate(-10deg) scale(1.08); }
.svc__num { font-family: var(--display); font-size: 54px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); transition: -webkit-text-stroke-color .4s; }
.svc:hover .svc__num { -webkit-text-stroke-color: var(--red-2); }
.svc h3 { font-size: 25px; color: #fff; margin-bottom: 16px; }
.svc p { color: rgba(255,255,255,.66); font-size: 15px; }
.svc p + p { margin-top: 12px; color: rgba(255,255,255,.88); }
.svc__more { margin-top: auto; padding-top: 26px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: #fff; }
.svc__more i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: background-color .4s, transform .5s var(--ease); }
.svc:hover .svc__more i { background: var(--red); transform: rotate(-45deg); }

/* ==========================================================================
   Facts
   ========================================================================== */
.facts { position: relative; padding: 120px 0; overflow: hidden; color: #fff; isolation: isolate; }
.facts__bg { position: absolute; inset: -20% 0; z-index: -2; }
.facts__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.facts::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(140,31,34,.94), rgba(17,20,23,.86)); }
.facts__grid { display: grid; grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr)); gap: 30px; align-items: center; }
.facts__intro .title { color: #fff; font-size: clamp(34px, 3.6vw, 48px); }
.facts__intro .eyebrow { color: var(--sun); }
.fact { position: relative; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.2); }
.fact__num { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 5vw, 72px); line-height: 1; color: #fff; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fact__num sup { font-size: .45em; color: var(--sun); vertical-align: top; margin-left: 2px; position: relative; top: .3em; }
.fact h4 { margin-top: 12px; font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* ==========================================================================
   Portfolio (clients)
   ========================================================================== */
.portfolio { background: var(--bg-soft); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); transition: all .35s var(--ease); }
.filters button:hover { border-color: var(--ink); }
.filters button.active { background: var(--red); color: #fff; border-color: var(--red); }
.clients-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.client { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); cursor: zoom-in; text-align: left; transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .45s var(--ease); }
.client.hidden { display: none; }
.client.fading { opacity: 0; transform: scale(.92); }
.client__img { aspect-ratio: 700 / 470; overflow: hidden; display: grid; place-items: center; padding: 18px; }
.client__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .9s var(--ease), filter .6s; filter: grayscale(.35); }
.client:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.client:hover .client__img img { transform: scale(1.06); filter: none; }
.client__info { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-top: 1px solid var(--line); }
.client__info h3 { font-size: 19px; }
.client__info span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.client__go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink); transition: background-color .4s, color .4s, transform .5s var(--ease); flex: none; }
.client:hover .client__go { background: var(--red); color: #fff; transform: rotate(-45deg); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(10,12,14,.9); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.lightbox figure { margin: 0; max-width: 820px; width: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; transform: scale(.9) translateY(20px); transition: transform .6s var(--spring); }
.lightbox.open figure { transform: none; }
.lightbox img { width: 100%; max-height: 70vh; object-fit: contain; background: #fff; padding: 24px; }
.lightbox figcaption { padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--ink); }
.lightbox figcaption small { font-family: var(--body); font-size: 13px; color: var(--muted); font-weight: 600; }
.lightbox__close { position: absolute; top: 20px; right: 20px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav.prev { left: 20px; }
.lightbox__nav.next { right: 20px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { background: var(--bg); overflow: hidden; }
.testi-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.testi-card { position: relative; padding: 60px 56px 48px; border-radius: 28px; background: var(--bg-cool); overflow: hidden; }
.testi-card .quote-mark { position: absolute; right: 36px; top: 0; font-family: var(--display); font-size: 220px; line-height: 1; color: var(--red); opacity: .12; }
.testi-slides { position: relative; min-height: 220px; }
.testi { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(40px); transition: opacity .6s var(--ease), transform .7s var(--ease), visibility 0s .7s; }
.testi.active { position: relative; opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease) .15s, transform .8s var(--ease) .15s; }
.stars { display: flex; gap: 4px; color: var(--sun); margin-bottom: 20px; }
.testi blockquote { margin: 0; font-family: var(--display); font-size: clamp(22px, 2.4vw, 31px); line-height: 1.3; font-weight: 600; color: var(--ink); letter-spacing: -.015em; }
.testi__who { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.testi__who .av { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--display); font-weight: 700; font-size: 20px; border: 3px solid #fff; box-shadow: var(--shadow); }
.testi__who h5 { font-size: 19px; }
.testi__who span { font-size: 13px; color: var(--muted); font-weight: 600; }
.testi-ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 34px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 10px; background: #d4dde1; transition: width .5s var(--ease), background-color .4s; }
.dots button.active { width: 34px; background: var(--red); }
.testi-arrows { display: flex; gap: 10px; }

/* ==========================================================================
   Team
   ========================================================================== */
.team { background: var(--bg-soft); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.member { position: relative; perspective: 900px; }
.member__card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s; box-shadow: var(--shadow); }
.member__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.member:hover .member__card img { transform: scale(1.08); }
.member__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(17,20,23,.88)); opacity: .7; transition: opacity .5s; }
.member:hover .member__card::after { opacity: 1; }
.member__social { position: absolute; right: 16px; top: 16px; z-index: 2; display: grid; gap: 8px; }
.member__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); opacity: 0; transform: translateX(20px); transition: all .5s var(--ease); }
.member__social a:nth-child(2) { transition-delay: .06s; }
.member__social a:nth-child(3) { transition-delay: .12s; }
.member:hover .member__social a { opacity: 1; transform: none; }
.member__social a:hover { background: var(--red); color: #fff; }
.member__info { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #fff; }
.member__info h4 { color: #fff; font-size: 23px; }
.member__info span { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.member__info span::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--red-2); vertical-align: middle; margin-right: 8px; }

/* ==========================================================================
   Partners
   ========================================================================== */
.partners { background: var(--bg); padding-bottom: 90px; }
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner { position: relative; isolation: isolate; display: grid; place-items: center; padding: 30px 40px 58px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.partner img { width: 100%; max-width: 250px; aspect-ratio: 700 / 470; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: .75; transition: filter .6s var(--ease), opacity .6s, transform .8s var(--ease); }
.partner h3 { position: absolute; bottom: 20px; font-family: var(--body); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .4s, transform .5s var(--ease); }
.partner::before { content: ""; position: absolute; inset: 0; background: var(--bg-soft); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.partner:hover::before { transform: scaleY(1); }
.partner:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.partner:hover h3 { color: var(--red); transform: translateY(-3px); }

/* Logo marquee */
.logos { padding: 34px 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos__track { display: flex; width: max-content; align-items: center; animation: marquee 30s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos img { height: 78px; width: auto; margin-right: 80px; filter: grayscale(1); opacity: .6; transition: filter .4s, opacity .4s, transform .4s var(--ease); mix-blend-mode: multiply; }
.logos img:hover { filter: none; opacity: 1; transform: scale(1.08); }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter { padding: 130px 0; background: var(--bg); }
.news-box { position: relative; overflow: hidden; border-radius: 32px; padding: 70px; background: var(--red); color: #fff; display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; isolation: isolate; }
.news-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 20%, rgba(242,163,58,.45), transparent 45%), radial-gradient(circle at 10% 100%, rgba(17,20,23,.5), transparent 50%); }
.news-box .drops { position: absolute; right: -40px; bottom: -70px; width: 300px; color: rgba(255,255,255,.08); z-index: -1; animation: float 8s ease-in-out infinite; }
.news-box .eyebrow { color: #fff; }
.news-box .title { color: #fff; font-size: clamp(32px, 3.6vw, 48px); }
.news-box p { margin-top: 14px; color: rgba(255,255,255,.85); font-size: 17px; }
.news-form { position: relative; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: #fff; box-shadow: 0 30px 50px -25px rgba(0,0,0,.5); }
.news-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 22px; color: var(--ink); font-weight: 600; }
.news-form input:focus { outline: none; }
.news-form .btn { height: 54px; }
.news-form.invalid { animation: shake .45s; }
.news-note { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,.85); min-height: 22px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--bg-cool); overflow: hidden; }
.contact__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: start; }
.info-list { display: grid; gap: 16px; }
.info { display: flex; gap: 20px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, opacity 1s var(--ease); }
.info:hover { transform: translateX(8px); box-shadow: var(--shadow); border-color: transparent; }
.info .ic { flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 20px; transition: transform .6s var(--spring); }
.info:hover .ic { transform: rotate(-12deg) scale(1.06); }
.info h4 { font-size: 20px; margin-bottom: 6px; }
.info p { font-size: 15.5px; color: var(--text); }
.info a { font-weight: 700; color: var(--ink); transition: color .3s; }
.info a:hover { color: var(--red); }
.map { position: relative; margin-top: 16px; border-radius: var(--radius); overflow: hidden; height: 260px; background: #dde6ea url("../img/map.png") center / cover no-repeat; border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.form-card { padding: 50px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.form-card h3 { font-size: 34px; }
.form-card > p { margin-top: 8px; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.form .full { grid-column: 1 / -1; }
.fl { position: relative; }
.fl input, .fl textarea { width: 100%; height: 60px; padding: 24px 18px 8px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--bg-soft); transition: border-color .3s, background-color .3s, box-shadow .3s; }
.fl textarea { height: 160px; resize: vertical; padding-top: 30px; }
.fl label { position: absolute; left: 19px; top: 19px; font-size: 15px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), font-size .3s var(--ease), color .3s; transform-origin: left; }
.fl input:focus, .fl textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 5px rgba(178,45,48,.1); }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label, .fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label { transform: translateY(-11px); font-size: 12px; font-weight: 700; color: var(--red); }
.fl.err input, .fl.err textarea { border-color: var(--red); animation: shake .45s; }
.fl .msg { display: block; font-size: 12.5px; font-weight: 600; color: var(--red); margin-top: 6px; }
.fl .msg:empty { display: none; }
.form .btn { justify-self: start; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; background: var(--dark); color: rgba(255,255,255,.65); padding-top: 100px; overflow: hidden; }
.footer__big { position: absolute; left: 50%; bottom: 60px; transform: translateX(-50%); font-family: var(--display); font-weight: 800; font-size: clamp(80px, 19vw, 290px); line-height: .8; letter-spacing: -.05em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); pointer-events: none; user-select: none; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 190px; }
.footer__logo { width: 170px; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: 18px; margin-bottom: 22px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { position: relative; display: inline-block; transition: color .3s, transform .4s var(--ease); }
.footer ul a:hover { color: #fff; transform: translateX(6px); }
.footer ul a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--red-2); transform: translateY(-50%) scale(0); transition: transform .4s var(--spring); }
.footer ul a:hover::before { transform: translateY(-50%) scale(1); }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); color: #fff; transition: background-color .4s, border-color .4s, transform .4s var(--spring); }
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-4px); }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact i { color: var(--red-2); margin-top: 6px; width: 16px; flex: none; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { position: relative; border-top: 1px solid rgba(255,255,255,.1); padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.footer__bottom a:hover { color: #fff; }

/* Back to top */
.to-top { position: fixed; right: 26px; bottom: 26px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s, color .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s; }
.to-top:hover { color: var(--red); transform: translateY(-4px); }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: 163.4; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 300; display: flex; align-items: center; gap: 12px; padding: 12px 22px 12px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow-lg); transform: translate(-50%, 160%); transition: transform .6s var(--spring); max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast .ic { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #2b8a57; }
.toast.err .ic { background: var(--red); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav, .header .btn { display: none; }
  .burger { display: block; margin-left: auto; }
  .about__grid, .testi-wrap, .contact__grid, .news-box { grid-template-columns: minmax(0, 1fr); }
  .about__grid { gap: 80px; }
  .about__media { max-width: 560px; }
  .svc-grid, .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; }
  .facts__intro { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; padding-bottom: 150px; }
  .testi-wrap { gap: 50px; }
  .hero__scroll { display: none; }
}
@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .container { padding: 0 16px; }
  .section, .newsletter { padding: 90px 0; }
  .head { margin-bottom: 44px; }
  .logo { width: 120px; height: 60px; }
  .hero { min-height: 600px; height: 100svh; }
  .hero__ui { bottom: 70px; }
  .hero__ui .container { gap: 16px; }
  .hero__bars button { width: 28px; }
  .hero__arrows .round { width: 46px; height: 46px; }
  .slide__cta .btn { height: 50px; padding: 0 22px; }
  .svc-grid, .clients-grid, .partner-grid { grid-template-columns: minmax(0, 1fr); }
  .svc { min-height: 0; padding: 32px 24px; }
  .team-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
  .member__info { left: 14px; right: 14px; bottom: 14px; }
  .member__info h4 { font-size: 17px; }
  .member__info span { font-size: 10px; }
  .member__info span::before { display: none; }
  .member__social { display: none; }
  .about__img2 { right: -8px; bottom: -30px; border-width: 5px; }
  .about__badge { left: -8px; top: 24px; padding: 14px 16px; }
  .about__badge .ic { width: 44px; height: 44px; font-size: 18px; }
  .about__ring { display: none; }
  .tabs__nav { display: flex; width: 100%; }
  .tabs__nav button { flex: 1; padding: 10px 6px; font-size: 13px; }
  .facts { padding: 90px 0; }
  .fact { padding-left: 18px; }
  .testi-card { padding: 40px 24px 30px; }
  .news-box { padding: 44px 22px; border-radius: 24px; }
  .news-form { flex-direction: column; border-radius: 22px; }
  .news-form input { height: 52px; }
  .form-card { padding: 30px 20px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 100px; }
  .to-top { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .info { padding: 20px; gap: 16px; }
}

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

/* ==========================================================================
   Extra motion: typing, entrances, cursor
   ========================================================================== */

/* Typing caret */
.tw { position: relative; white-space: pre; }
.tw::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -.12em; background: currentColor; animation: caret 1s steps(1) infinite; }
.tw.idle::after { animation: caret 1s steps(1) infinite; }
.tw.finished::after { animation: caret 1s steps(1) 3 forwards; }
@keyframes caret { 50% { opacity: 0; } }
.eyebrow .tw::after { width: 2px; }

/* Hero typed line */
.slide__typed { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: clamp(16px, 1.6vw, 21px); font-weight: 600; color: rgba(255,255,255,.85); opacity: 0; transform: translateY(20px); min-height: 1.6em; }
.slide.active .slide__typed { animation: rise .9s var(--ease) .85s forwards; }
.slide__typed .lbl { color: rgba(255,255,255,.6); }
.slide__typed .tw { color: #fff; font-weight: 800; padding: 2px 10px; border-radius: 8px; background: rgba(178,45,48,.85); }
.slide__typed .tw:empty { padding: 2px 4px; }

/* Eyebrow line draws in */
.eyebrow::before, .head--center .eyebrow::after { width: 0; transition: width .9s var(--ease) .2s; }
.eyebrow.in::before, .head--center .eyebrow.in::after { width: 28px; }

/* Word reveal gets a slight rotation + blur */
.split .w > span { transform: translateY(105%) rotate(7deg); transform-origin: left bottom; filter: blur(4px); transition: transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split.in .w > span { transform: none; filter: none; }

/* Additional entrance types */
[data-reveal="blur"] { filter: blur(14px); transform: scale(1.04); }
[data-reveal="blur"].in { filter: none; }
[data-reveal="flip"] { transform: perspective(1000px) rotateX(-28deg) translateY(60px); transform-origin: top center; }
[data-reveal="rotate"] { transform: rotate(-6deg) translateY(70px); transform-origin: left bottom; }
[data-reveal="rotate-r"] { transform: rotate(6deg) translateY(70px); transform-origin: right bottom; }
[data-reveal="pop"] { transform: scale(.6); }
[data-reveal="pop"].in { transition-timing-function: var(--spring), var(--spring), var(--ease); }
[data-reveal="down"] { transform: translateY(-40px); }
[data-reveal] { transition-property: opacity, transform, clip-path, filter; }

/* Curtain wipe for images */
.curtain { position: relative; overflow: hidden; }
.curtain::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--red); transform: scaleX(1); transform-origin: right; transition: transform 1.2s var(--ease) var(--d, 0s); }
.curtain > img { transform: scale(1.3); transition: transform 1.6s var(--ease) var(--d, 0s); }
.curtain.in::after { transform: scaleX(0); }
.curtain.in > img { transform: scale(1); }
.about__img.curtain > img { transform: scale(1.3); }
.about__img.curtain.in > img { transform: none; }

/* Stagger containers: children enter one by one */
[data-stagger] > * { opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); filter: blur(6px); transition-delay: calc(var(--si, 0) * 90ms); }
[data-stagger].in > * { opacity: 1; transform: none; filter: none; }

/* Footer big word: letters rise */
.footer__big .ch { display: inline-block; transform: translateY(100%); opacity: 0; transition: transform 1.2s var(--ease), opacity 1.2s var(--ease); transition-delay: calc(var(--ci) * 70ms); }
.footer__big.in .ch { transform: none; opacity: 1; }

/* Facts title letters */
.chars .ch { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(12deg); transition: opacity .6s var(--ease), transform .8s var(--spring); transition-delay: calc(var(--ci) * 35ms); }
.chars.in .ch { opacity: 1; transform: none; }

/* Scroll-velocity skew for marquees */
.ticker, .logos { will-change: transform; transition: transform .4s var(--ease); }

/* Section number shimmer on service cards when entering */
.svc.in .svc__num { animation: numIn 1.4s var(--ease) backwards; animation-delay: calc(var(--d, 0s) + .3s); }
@keyframes numIn { from { -webkit-text-stroke-color: var(--red-2); transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.svc.in .svc__ic { animation: icIn 1s var(--spring) backwards; animation-delay: calc(var(--d, 0s) + .2s); }
@keyframes icIn { from { transform: scale(0) rotate(-45deg); } to { transform: none; } }

/* Info cards icon bounce on enter */
.info.in .ic { animation: icIn .9s var(--spring) backwards; animation-delay: calc(var(--d, 0s) + .25s); }

/* Custom cursor (desktop only) */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s; }
.cursor { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid var(--red); mix-blend-mode: normal; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--red); }
.has-cursor .cursor, .has-cursor .cursor-dot { opacity: 1; }
.cursor.hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(178,45,48,.12); border-color: rgba(178,45,48,.4); }
.cursor.down { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.cursor.on-dark { border-color: #fff; }
.cursor-dot.on-dark { background: #fff; }

@media (max-width: 720px) {
  .slide__typed { flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-stagger] > *, .footer__big .ch, .chars .ch { opacity: 1 !important; transform: none !important; filter: none !important; }
  .curtain::after { display: none; }
  .curtain > img { transform: none !important; }
  .cursor, .cursor-dot { display: none; }
}
