/* =========================================================
   Anoia — public site styles
   Colors come from the Anoia logo: deep navy, white, teal.
   ========================================================= */

:root {
  --bg: #060a12;
  --bg-2: #0a111d;
  --surface: #0e1624;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef2f7;
  --muted: #8a96a8;
  --teal: #2cc3b0;
  --teal-2: #1a8f86;
  --blue: #1d4a7a;
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --display: "Readex Pro", "IBM Plex Sans Arabic", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading { overflow: hidden; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--teal); color: var(--bg); }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  direction: ltr;
  unicode-bidi: isolate;
}

/* ---------- Loader ---------- */

.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: grid; place-items: center; align-content: center; gap: 28px;
  transition: clip-path 1.1s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__mark { width: min(200px, 50vw); animation: loaderIn 1.4s var(--ease) both; }
.loader__logo { width: 100%; height: auto; }
.loader__count { color: var(--muted); font-size: 12px; }
.loader__bar { width: min(220px, 50vw); height: 1px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--teal); transition: width 0.2s linear; }

@keyframes loaderIn {
  from { opacity: 0; transform: scale(0.9); filter: blur(12px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* ---------- Global chrome ---------- */

.progress {
  position: fixed; top: 0; right: 0; height: 2px; width: 0; z-index: 60;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.05;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5%, 3%); }
  40% { transform: translate(3%, -6%); }
  60% { transform: translate(-7%, 2%); }
  80% { transform: translate(4%, 5%); }
}

.cursor {
  position: fixed; top: 0; left: 0; z-index: 95; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--teal);
  mix-blend-mode: difference;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.3s;
  display: grid; place-items: center;
}
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.is-view { width: 92px; height: 92px; margin: -46px 0 0 -46px; mix-blend-mode: normal; background: var(--teal); }
.cursor__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--bg); opacity: 0; transition: opacity 0.2s; }
.cursor.is-view .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Nav ---------- */

.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--gutter);
  transition: background 0.4s, padding 0.4s, transform 0.5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(6, 10, 18, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding-block: 12px;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: block; height: 44px; }
.nav__logo { height: 100%; width: auto; }
.nav__links { display: flex; gap: 6px; margin-inline-start: auto; }
.nav__links a {
  padding: 8px 14px; border-radius: 99px; color: var(--muted); font-size: 15px;
  transition: color 0.3s, background 0.3s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 14px;
  transition: border-color 0.3s, background 0.3s;
}
.nav__cta:hover { border-color: var(--teal); background: rgba(44, 195, 176, 0.08); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(44, 195, 176, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(44, 195, 176, 0); } 100% { box-shadow: 0 0 0 0 rgba(44, 195, 176, 0); } }

.nav__burger { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; margin-inline-start: auto; }
.nav__burger span { position: absolute; right: 9px; left: 9px; height: 1.5px; background: var(--text); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.nav__burger span:first-child { top: 15px; }
.nav__burger span:last-child { top: 24px; }
body.menu-open .nav__burger span:first-child { top: 19px; transform: rotate(45deg); }
body.menu-open .nav__burger span:last-child { top: 19px; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    background: rgba(6, 10, 18, 0.97);
    clip-path: circle(0 at calc(100% - 40px) 40px);
    transition: clip-path 0.7s var(--ease);
  }
  .nav__links a { font-size: 28px; font-family: var(--display); color: var(--text); }
  body.menu-open .nav__links { clip-path: circle(150% at calc(100% - 40px) 40px); }
}

/* ---------- Buttons ---------- */

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 28px; border-radius: 99px; border: 1px solid transparent;
  font-weight: 500; font-size: 15px;
  transition: transform 0.3s var(--ease), border-color 0.3s, color 0.3s;
}
.btn span, .btn i { position: relative; z-index: 1; font-style: normal; }
.btn i { transition: transform 0.4s var(--ease); }
.btn:hover i { transform: translateX(-6px); }
.btn--primary { background: var(--teal); color: #03201d; }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; background: #fff;
  transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.btn--primary:hover::before { transform: none; }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  padding: 120px var(--gutter) 90px;
  overflow: hidden; isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(29, 74, 122, 0.45), transparent 70%),
    radial-gradient(30% 30% at 70% 70%, rgba(44, 195, 176, 0.12), transparent 70%);
}
.hero__inner { text-align: center; max-width: 980px; width: 100%; min-width: 0; }
.eyebrow { color: var(--teal); margin: 0 0 8px; }
.hero__word {
  margin: 0; line-height: 0.95;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(64px, 22vw, 300px);
  letter-spacing: -0.04em;
  direction: ltr;
  color: #fff;
  text-shadow: 0 20px 60px rgba(44, 195, 176, 0.22);
}
/* Gradient lives on each letter: background-clip:text on the parent breaks on transformed children */
.hero__word .ch {
  display: inline-block; transform: translateY(110%) rotate(8deg); opacity: 0; transition: transform 1.2s var(--ease), opacity 1.2s var(--ease);
  background: linear-gradient(180deg, #ffffff 35%, #9fb3c8 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__word.is-in .ch { transform: none; opacity: 1; }
.hero__word .ch:first-child { position: relative; }
.hero__word .ch:first-child::after {
  content: ""; position: absolute; left: 4%; bottom: 18%; width: 44%; height: 0.07em;
  background: var(--teal); border-radius: 4px; transform: skewX(-20deg) scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease) 1.3s;
}
.hero__word.is-in .ch:first-child::after { transform: skewX(-20deg) scaleX(1); }
.hero__title { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 4vw, 46px); line-height: 1.3; margin: 18px 0 6px; }
.hero__en { color: var(--muted); margin: 0 0 18px; font-size: 11px; }
.hero__sub { color: var(--muted); max-width: 620px; margin: 0 auto 36px; font-size: clamp(15px, 1.6vw, 18px); }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 10px;
}
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--teal), transparent); animation: scrollLine 2s var(--ease) infinite; transform-origin: top; }
@media (max-height: 900px) { .hero__scroll { display: none; } }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); direction: ltr; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 48px; font-family: var(--display); font-size: clamp(22px, 3vw, 38px); white-space: nowrap; color: var(--text); }
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.marquee__item::after { content: "✦"; color: var(--teal); font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 12vw, 160px) var(--gutter); position: relative; }
.section__head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line); padding-bottom: 28px;
}
.section__num { font-size: 13px; color: var(--teal); align-self: start; padding-top: 10px; }
.section__kicker { color: var(--muted); margin: 0 0 8px; }
.section__title { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(36px, 6vw, 80px); line-height: 1.1; }
.section__note { color: var(--muted); max-width: 300px; margin: 0; }
/* With a note beside the title, the kicker spans to the far left like the other sections */
@media (min-width: 821px) {
  .services .section__head > div { grid-column: 2 / 4; grid-row: 1; }
  .services .section__note { grid-column: 3; grid-row: 1; }
}
@media (max-width: 820px) {
  .section__head { grid-template-columns: auto 1fr; }
  .section__note { grid-column: 1 / -1; max-width: none; }
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.35em; margin-bottom: -0.27em; }
.split .w > span { display: inline-block; transform: translateY(150%); transition: transform 1s var(--ease); }
.split.is-in .w > span { transform: none; }

/* ---------- Services ---------- */

.services__list { border-top: 1px solid var(--line); }
.service {
  position: relative; display: grid; grid-template-columns: 70px 1fr 1.1fr 50px; gap: 24px; align-items: center;
  padding: 34px 8px; border-bottom: 1px solid var(--line); overflow: hidden;
  transition: padding 0.5s var(--ease);
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(270deg, rgba(44, 195, 176, 0.12), rgba(29, 74, 122, 0.08) 60%, transparent);
  transform: scaleX(0); transform-origin: right; transition: transform 0.7s var(--ease);
}
.service:hover::before { transform: scaleX(1); }
.service:hover { padding-inline: 24px; }
.service__num { color: var(--muted); }
.service__title { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.3; }
.service__en { display: block; color: var(--teal); margin-top: 6px; font-size: 10px; }
.service__desc { margin: 0; color: var(--muted); }
.service__arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: background 0.4s, transform 0.5s var(--ease), border-color 0.4s;
}
.service:hover .service__arrow { background: var(--teal); border-color: var(--teal); color: var(--bg); transform: rotate(-45deg); }
@media (max-width: 820px) {
  .service { grid-template-columns: 44px 1fr; gap: 10px 16px; }
  .service__desc { grid-column: 2; }
  .service__arrow { display: none; }
}

/* ---------- Work ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line-2); background: none; font-size: 14px; color: var(--muted);
  transition: all 0.3s;
}
.filter:hover { color: var(--text); border-color: var(--text); }
.filter.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter sup { font-family: var(--mono); font-size: 10px; margin-inline-start: 4px; opacity: 0.7; }

.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 22px; }
@media (max-width: 1000px) { .work__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .work__grid { grid-template-columns: 1fr; } }

.card {
  position: relative; border-radius: 18px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); cursor: pointer;
  transform-style: preserve-3d; transition: transform 0.6s var(--ease), border-color 0.4s, opacity 0.5s, scale 0.5s;
  opacity: 0; translate: 0 40px;
}
.card.is-in { opacity: 1; translate: 0 0; transition: transform 0.6s var(--ease), border-color 0.4s, opacity 0.9s var(--ease), translate 0.9s var(--ease); }
.card:hover { border-color: rgba(44, 195, 176, 0.5); }
.card.is-featured { grid-column: span 2; }
@media (max-width: 600px) { .card.is-featured { grid-column: auto; } }
.card__media { aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.card.is-featured .card__media { aspect-ratio: 16 / 10; }
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img, .card:hover .card__media video { transform: scale(1.07); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(6, 10, 18, 0.92)); }
.card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--bg-2)); font-family: var(--display); font-size: 40px; }
.card__badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 6px 12px; border-radius: 99px; background: rgba(6, 10, 18, 0.6); backdrop-filter: blur(8px); font-size: 10px;
  border: 1px solid var(--line-2);
}
.card__count {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 10px; border-radius: 999px;
  font-size: 12px; background: rgba(6, 10, 18, 0.7); border: 1px solid var(--line-2); backdrop-filter: blur(6px);
}
.card__play { position: absolute; top: 14px; left: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: var(--bg); display: grid; place-items: center; font-size: 12px; }
.card__play + .card__count { left: 58px; }
.card__body { position: absolute; bottom: 0; inset-inline: 0; z-index: 2; padding: 22px; }
.card__title { margin: 0; font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.35; }
.card__meta { color: var(--muted); margin-top: 6px; font-size: 10px; }
.work__empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* ---------- About ---------- */

.about__body { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.about__text { font-size: clamp(20px, 2.3vw, 30px); line-height: 1.7; margin: 0; font-weight: 300; }
.stats { display: grid; gap: 0; border-top: 1px solid var(--line); }
.stat { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.stat__value { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 6vw, 72px); line-height: 1; direction: ltr; }
.stat__value em { color: var(--teal); font-style: normal; }
.stat__label { color: var(--muted); }
@media (max-width: 820px) { .about__body { grid-template-columns: 1fr; } }

/* ---------- Band ---------- */

.band {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(100px, 16vw, 200px) var(--gutter);
  background: radial-gradient(60% 80% at 50% 50%, rgba(29, 74, 122, 0.35), transparent 70%), var(--bg-2);
  border-block: 1px solid var(--line);
}
.band__lines {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 79px, var(--line) 79px 80px);
  mask-image: radial-gradient(closest-side, #000, transparent);
}
.band__kicker { color: var(--teal); margin: 0 0 20px; position: relative; }
.band__quote { position: relative; margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(42px, 9vw, 130px); line-height: 1.15; }
.band__en { position: relative; color: var(--muted); margin: 18px 0 0; }

/* ---------- Contact ---------- */

.contact__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 80px); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field span { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); font: inherit;
  transition: border-color 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #101b2b; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: 22px 50%, 17px 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form__status { margin: 0; min-height: 1.5em; font-size: 14px; }
.form__status.ok { color: var(--teal); }
.form__status.err { color: #ff7a7a; }

.contact__info { display: grid; gap: 28px; align-content: start; }
.info { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.info__label { color: var(--muted); margin: 0 0 8px; }
.info__value { font-family: var(--display); font-size: clamp(18px, 2vw, 24px); word-break: break-word; transition: color 0.3s; }
a.info__value:hover { color: var(--teal); }
.info__value--sm { margin: 0; font-size: 17px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: background 0.4s, border-color 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.social svg { width: 20px; height: 20px; }
.social:hover { background: var(--teal); border-color: var(--teal); color: var(--bg); transform: translateY(-4px); }

/* ---------- Footer ---------- */

.footer { padding: 60px var(--gutter) 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big {
  font-family: var(--display); font-weight: 700; direction: ltr; text-align: center;
  font-size: clamp(80px, 24vw, 360px); line-height: 0.85; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px var(--line-2);
  user-select: none;
}
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; color: var(--muted); }
.footer__row p { margin: 0; }
.footer__logo { height: 48px; width: auto; }

/* ---------- Floating buttons ---------- */

.float { position: fixed; bottom: 22px; left: 22px; z-index: 55; display: grid; gap: 12px; }
.float__btn {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--ease);
}
.float__btn:hover { transform: scale(1.1); }
.float__btn svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.float__btn--wa { background: #1fae5b; }
.float__btn--mail { background: var(--surface); border: 1px solid var(--line-2); }
.float__btn--wa::before, .float__btn--wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid #1fae5b;
  animation: ring 2.4s var(--ease) infinite;
}
.float__btn--wa::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.9); opacity: 0; } }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 80;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 0;
  background: rgba(4, 7, 12, 0.94); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__media { display: grid; place-items: center; padding: 40px; min-height: 0; }
.lightbox__media img, .lightbox__media video, .lightbox__media iframe {
  max-height: 86vh; max-width: 100%; border-radius: 12px; width: auto;
  transform: scale(0.94); transition: transform 0.7s var(--ease);
}
.lightbox__media iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.lightbox.is-open .lightbox__media > * { transform: none; }
.lightbox__info { padding: 80px 40px 40px; border-inline-end: 1px solid var(--line); overflow: auto; }
.lightbox__info .mono { color: var(--teal); margin: 0 0 12px; }
.lightbox__info h3 { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); margin: 0 0 14px; line-height: 1.3; }
.lightbox__info p { color: var(--muted); }
/* Project with several images: scroll through them like a case study */
.lightbox__media.is-gallery { display: flex; flex-direction: column; align-items: center; gap: 16px; overflow-y: auto; overscroll-behavior: contain; }
.lightbox__media.is-gallery img, .lightbox__media.is-gallery video { width: 100%; max-width: 1100px; max-height: none; height: auto; }
.lightbox__close {
  position: absolute; top: 20px; left: 20px; z-index: 2; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--bg); font-size: 26px; line-height: 1;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.lightbox__close:hover { transform: rotate(90deg); border-color: var(--teal); }
@media (max-width: 820px) {
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; overflow: auto; }
  .lightbox__media { padding: 80px 16px 16px; }
  .lightbox__media img, .lightbox__media video { max-height: 60vh; }
  .lightbox__info { padding: 20px 16px 40px; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .card, .split .w > span, .hero__word .ch { opacity: 1 !important; transform: none !important; translate: none !important; }
}

.static *, .static *::before, .static *::after { transition: none !important; animation: none !important; }
