/* ============================================================
   upgrade.css — taste pass (ui-ux-pro-max) layered over theme.css
   Additive & reversible. Navy-dominant, calm, premium — follows the
   brand book. Loaded AFTER theme.css so these refinements win.
   ============================================================ */

:root {
  /* premium multi-layer elevation scale */
  --elev-1: 0 1px 2px rgba(7, 20, 43, .05), 0 8px 20px -12px rgba(7, 20, 43, .18);
  --elev-2: 0 2px 6px rgba(7, 20, 43, .07), 0 22px 46px -22px rgba(7, 20, 43, .30);
  --elev-3: 0 34px 80px -40px rgba(7, 20, 43, .46);
  --ring: color-mix(in srgb, var(--accent) 60%, transparent);
  --gold: #CA8A04;
  /* fluid liquid-glass easing */
  --fluid: cubic-bezier(.16, .84, .32, 1);
}

/* crisper type rendering */
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- stronger, on-brand focus ring (a11y CRITICAL) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---- cards: liquid-glass elevation + hairline accent ---- */
.card {
  background: color-mix(in srgb, var(--bg2) 90%, transparent);
  backdrop-filter: blur(9px) saturate(1.1);
  box-shadow: var(--elev-1);
  transition:
    transform .5s var(--fluid),
    box-shadow .5s var(--fluid),
    border-color .5s var(--fluid);
}

.card:hover {
  box-shadow: var(--elev-2);
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 65%, transparent), transparent);
  opacity: 0;
  transition: opacity .5s var(--fluid)
}

.card:hover::before {
  opacity: .9
}

/* ---- work tiles: deeper cinematic elevation ---- */
.work {
  box-shadow: var(--elev-1);
  transition:
    transform .55s var(--fluid),
    box-shadow .55s var(--fluid)
}

.work:hover {
  box-shadow: var(--elev-3)
}

/* ---- primary button: subtle premium rest-shadow ---- */
.btn {
  box-shadow: 0 10px 24px -16px var(--accent)
}

/* ---- hero kicker: airier tracking ---- */
.hero .kick,
.t3d-kick {
  letter-spacing: 3.5px
}

/* ---- CTA band: layered premium texture + deep glow ---- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 90%, #001b3a), var(--accent2));
  box-shadow: var(--elev-3)
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('./assets/cta-texture.jpg') center/cover no-repeat;
  opacity: .30;
  mix-blend-mode: soft-light
}

/* faint gold hairline — the one restrained premium accent */
.cta-band::after {
  content: "";
  position: absolute;
  inset-inline: 12%;
  top: 0;
  height: 1px;
  z-index: 1;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold) 70%, transparent), transparent)
}

.cta-band>* {
  position: relative;
  z-index: 2
}

.cta-band .btn:hover {
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .55)
}

/* ============================================================
   MOTION LAYER (paired with enhance-motion.js)
   ============================================================ */

/* ---- client brand-wall: navy band so the real logos pop ---- */
.trusted3d {
  background:
    radial-gradient(120% 140% at 50% -20%, #16325c 0%, #0a1c3a 55%, #07142b 100%);
  color: #eef4ff;
  box-shadow: var(--elev-3)
}

/* cursor spotlight (set by JS via --sx/--sy) */
.trusted3d::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 30%),
      rgba(0, 166, 251, .18), transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--fluid)
}

.trusted3d:hover::before {
  opacity: 1
}

.trusted3d .t3d-head h2,
.trusted3d .t3d-head h2 span,
.trusted3d .t3d-count {
  color: #eef4ff
}

.trusted3d .t3d-head p {
  color: color-mix(in srgb, #eef4ff 72%, transparent)
}

/* premium two-row marquee chips */
.logo-rivers.premium {
  gap: clamp(14px, 1.6vw, 20px)
}

/* original chip size (big squares) — restored */
.logo-rivers.premium .lchip {
  width: clamp(150px, 15vw, 200px);
  height: clamp(150px, 15vw, 200px);
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .7);
  transform: perspective(700px) rotateY(var(--tx, 0)) rotateX(var(--ty, 0));
  transition: transform .35s var(--fluid), box-shadow .35s var(--fluid), filter .35s var(--fluid);
  will-change: transform
}

.logo-rivers.premium .lchip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(.5) contrast(.98);
  opacity: .84;
  transition: transform .35s var(--fluid), filter .35s var(--fluid), opacity .35s var(--fluid)
}

.logo-rivers.premium .lchip:hover img {
  transform: scale(1.06)
}

/* tall/portrait logos: cap with a pixel max-height (percent height collapses
   to auto inside the centered grid chip and overflows) so they sit with margin */
.logo-rivers.premium .lchip.tall img {
  width: auto;
  height: auto;
  max-width: 80%;
  max-height: clamp(88px, 9vw, 122px);
  transform: none
}

.logo-rivers.premium .lchip.tall:hover img {
  transform: scale(1.05)
}

.trusted .cchip.clogo.tall img {
  height: auto;
  max-height: clamp(96px, 9.5vw, 132px)
}

.logo-rivers.premium .lchip:hover {
  box-shadow: 0 22px 46px -16px rgba(0, 166, 251, .55)
}

.logo-rivers.premium .lchip:hover img {
  filter: none;
  opacity: 1
}

/* second row drifts the opposite way, a touch slower */
.logo-rivers.premium .lrow.rev.anim .ltrack {
  animation-duration: 60s
}

/* ---- WORK page strip: background removed, logos sized & not cropped ---- */
.trusted {
  background: transparent;
  border-block: none
}

.trusted .cchip.clogo {
  padding: 16px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px -18px rgba(7, 20, 43, .30)
}

/* transparent PNGs are tight — DROP the old JPG zoom so nothing clips,
   keep the logos at the original generous height */
.trusted .cchip.clogo img {
  height: clamp(110px, 11vw, 150px);
  width: auto;
  max-width: 260px;
  transform: none;
  filter: grayscale(.5) contrast(.98);
  opacity: .84;
  transition: transform .35s var(--fluid), filter .35s var(--fluid), opacity .35s var(--fluid)
}

.trusted .cchip.clogo:hover img {
  transform: scale(1.05);
  filter: none;
  opacity: 1
}

/* ---- bulletproof seamless looping (explicit from/to → no drift/gap) ---- */
@keyframes cscroll {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

@keyframes lscroll {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

@media (prefers-reduced-motion: no-preference) {
  .cmarquee {
    animation: cscroll 40s linear infinite
  }
}

@media (prefers-reduced-motion: reduce) {

  .cmarquee,
  .logo-rivers.premium .lrow .ltrack {
    animation: none !important
  }
}

/* ---- hero: staggered entrance on load ---- */
@media (prefers-reduced-motion: no-preference) {

  .hero-copy>.kick,
  .hero-copy>h1,
  .hero-copy>p,
  .hero-copy>.cta-row {
    opacity: 0;
    animation: heroUp .95s var(--fluid) forwards
  }

  .hero-copy>.kick {
    animation-delay: .12s
  }

  .hero-copy>h1 {
    animation-delay: .24s
  }

  .hero-copy>p {
    animation-delay: .42s
  }

  .hero-copy>.cta-row {
    animation-delay: .56s
  }

  @keyframes heroUp {
    from {
      opacity: 0;
      transform: translateY(26px)
    }

    to {
      opacity: 1;
      transform: none
    }
  }
}

/* ---- blur-reveal: enrich the existing scroll reveals ---- */
.mo-blur .reveal {
  transition:
    opacity .85s var(--fluid),
    transform .85s var(--fluid),
    filter .85s var(--fluid)
}

.mo-blur .reveal:not(.in) {
  filter: blur(7px)
}

.mo-blur .reveal.in {
  filter: blur(0)
}

/* ---- CTA heading: slow premium sheen ---- */
@media (prefers-reduced-motion: no-preference) {
  .cta-band h2 {
    background: linear-gradient(100deg, #fff 30%, color-mix(in srgb, var(--gold) 85%, #fff) 50%, #fff 70%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ctaSheen 7s ease-in-out infinite
  }

  @keyframes ctaSheen {

    0%,
    100% {
      background-position: 130% 0
    }

    50% {
      background-position: -30% 0
    }
  }
}

/* ============================================================
   FLOATING BRAND AVATAR (Higgsfield robot) — all pages
   ============================================================ */
#ajad-avatar {
  position: fixed;
  z-index: 45;
  left: clamp(10px, 3vw, 26px);
  bottom: clamp(84px, 12vw, 104px);
  width: clamp(94px, 11vw, 144px);
  pointer-events: none
}

#ajad-avatar .av-figure {
  position: relative;
  display: block;
  width: 100%;
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(0 20px 26px rgba(7, 20, 43, .38));
  animation: avFloat 5.5s ease-in-out infinite;
  transition: transform .3s var(--fluid)
}

#ajad-avatar .av-figure img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none
}

/* pointing pose (Services) mirrored so it points into the page */
#ajad-avatar.flip .av-figure img {
  transform: scaleX(-1)
}

/* live 3D robot canvas (replaces the PNG on the homepage when WebGL is ok) */
#ajad-avatar .av-3d {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 26px rgba(7, 20, 43, .34))
}

/* safety net: entrance keyframes freeze at frame 0 in throttled/background
   tabs; after a beat we force the resting state so the avatar is never stuck
   small/invisible. */
#ajad-avatar.settled.greet-in .av-figure,
#ajad-avatar.settled.intro .av-figure {
  animation: avFloat 5.5s ease-in-out infinite
}

#ajad-avatar .av-halo {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 66%;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(50% 100% at 50% 100%, rgba(0, 166, 251, .55), transparent 70%);
  filter: blur(5px);
  z-index: -1;
  animation: avHalo 5.5s ease-in-out infinite
}

#ajad-avatar .av-figure:hover {
  transform: translateY(-5px) scale(1.05) rotate(-2deg)
}

#ajad-avatar .av-figure:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 6px;
  border-radius: 14px
}

/* entrance */
#ajad-avatar.intro .av-figure {
  animation: avIn .9s var(--fluid) both, avFloat 5.5s ease-in-out 1s infinite
}

/* homepage entrance — a clean pop-in, then settles into the idle float. */
#ajad-avatar.greet-in .av-figure {
  transform-origin: 50% 96%;
  animation:
    avPop .55s cubic-bezier(.2, .9, .3, 1.5) both,
    avFloat 5.5s ease-in-out .8s infinite
}

@keyframes avPop {
  0% {
    opacity: 0;
    transform: scale(.5)
  }

  62% {
    opacity: 1;
    transform: scale(1.07)
  }

  100% {
    opacity: 1;
    transform: scale(1)
  }
}

@keyframes avFloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-9px)
  }
}

@keyframes avHalo {

  0%,
  100% {
    opacity: .55;
    width: 66%
  }

  50% {
    opacity: .3;
    width: 54%
  }
}

@keyframes avIn {
  from {
    opacity: 0;
    transform: translateY(46px) scale(.82)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* speech bubble */
#ajad-avatar .av-bubble {
  position: absolute;
  bottom: 84%;
  left: 58%;
  width: max-content;
  max-width: 220px;
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 5px;
  padding: 12px 14px 13px;
  box-shadow: var(--elev-2);
  font: 500 13px/1.55 Bukra;
  text-align: start;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(.94);
  transform-origin: bottom left;
  transition: opacity .4s var(--fluid), transform .4s var(--fluid)
}

#ajad-avatar.say .av-bubble {
  opacity: 1;
  transform: none;
  pointer-events: auto
}

#ajad-avatar .av-bubble b {
  display: block;
  font: 700 14px/1.2 Bukra;
  color: var(--accent2);
  margin-bottom: 3px
}

#ajad-avatar .av-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font: 700 12px/1 Poppins;
  color: #fff;
  background: var(--accent);
  padding: 8px 13px;
  border-radius: 999px;
  transition: transform .2s var(--fluid), box-shadow .2s var(--fluid)
}

#ajad-avatar .av-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -8px var(--accent)
}

#ajad-avatar .av-x {
  position: absolute;
  top: 5px;
  right: 7px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font: 600 15px/1 system-ui;
  cursor: pointer;
  transition: background .2s, color .2s
}

#ajad-avatar .av-x:hover {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--text)
}

@media (max-width: 600px) {
  #ajad-avatar {
    width: 82px;
    bottom: clamp(74px, 20vw, 92px)
  }

  #ajad-avatar .av-bubble {
    display: none
  }
}

/* ============================================================
   AI CHAT PANEL (robot assistant)
   ============================================================ */
#ajad-chat {
  position: fixed;
  z-index: 60;
  left: clamp(12px, 3vw, 26px);
  bottom: clamp(12px, 3vw, 24px);
  width: min(362px, calc(100vw - 24px));
  height: min(72vh, 544px);
  display: flex;
  flex-direction: column;
  color: #eaf2ff;
  background: color-mix(in srgb, #0a1b38 93%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, rgba(255, 255, 255, .12));
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 84px -30px rgba(0, 0, 0, .72);
  opacity: 0;
  transform: translateY(16px) scale(.98);
  transform-origin: bottom left;
  pointer-events: none;
  transition: opacity .3s var(--fluid), transform .3s var(--fluid)
}

#ajad-chat.open {
  opacity: 1;
  transform: none;
  pointer-events: auto
}

.ac-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(0, 166, 251, .16), transparent)
}

.ac-ava {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: #07142b;
  border: 1px solid rgba(255, 255, 255, .16);
  display: grid;
  place-items: center
}

.ac-ava img {
  width: 155%;
  height: 155%;
  object-fit: contain;
  object-position: center 18%
}

.ac-title b {
  display: block;
  font: 700 14.5px/1.2 Bukra
}

.ac-status {
  font: 600 11px/1 Poppins;
  color: #8ff0bd;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px
}

.ac-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38e08a;
  box-shadow: 0 0 8px #38e08a
}

.ac-close {
  margin-inline-start: auto;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #eaf2ff;
  font: 600 18px/1 system-ui;
  cursor: pointer;
  transition: background .2s
}

.ac-close:hover {
  background: rgba(255, 255, 255, .18)
}

.ac-body {
  flex: 1 1 auto;
  min-height: 0;
  /* lets the flex child actually scroll instead of growing */
  overflow-y: auto;
  overscroll-behavior: contain;
  /* wheel/touch stays inside the chat, doesn't scroll the page */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* momentum on iOS */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 166, 251, .45) transparent;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.ac-body::-webkit-scrollbar {
  width: 7px
}

.ac-body::-webkit-scrollbar-track {
  background: transparent
}

.ac-body::-webkit-scrollbar-thumb {
  background: rgba(0, 166, 251, .35);
  border-radius: 99px
}

.ac-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 166, 251, .6)
}

.ac-msg {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 15px;
  font: 400 14px/1.65 Bukra;
  white-space: pre-wrap;
  word-wrap: break-word
}

.ac-msg.user {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-end-start-radius: 4px
}

.ac-msg.bot {
  align-self: flex-end;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
  border-end-end-radius: 4px
}

.ac-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-self: flex-end;
  max-width: 94%
}

.ac-chip {
  border: 1px solid color-mix(in srgb, var(--accent) 45%, rgba(255, 255, 255, .16));
  background: rgba(0, 166, 251, .1);
  color: #eaf2ff;
  font: 600 12.5px/1 Bukra;
  padding: 9px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s
}

.ac-chip:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent)
}

.ac-typing {
  display: flex;
  gap: 4px;
  align-items: center
}

.ac-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  animation: acDot 1s infinite ease-in-out
}

.ac-typing i:nth-child(2) {
  animation-delay: .15s
}

.ac-typing i:nth-child(3) {
  animation-delay: .3s
}

@keyframes acDot {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: .5
  }

  30% {
    transform: translateY(-4px);
    opacity: 1
  }
}

.ac-wa {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  background: #25D366;
  color: #06301a;
  font: 700 13px/1 Bukra
}

.ac-input {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .16)
}

.ac-input textarea {
  flex: 1;
  resize: none;
  max-height: 120px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #eaf2ff;
  font: 400 14px/1.5 Bukra;
  outline: none;
  transition: border-color .2s
}

.ac-input textarea::placeholder {
  color: rgba(234, 242, 255, .5)
}

.ac-input textarea:focus {
  border-color: var(--accent)
}

.ac-send {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s, transform .2s
}

.ac-send:hover {
  background: var(--accent2);
  transform: translateY(-1px)
}

.ac-send svg {
  transform: scaleX(-1)
}

@media (max-width: 520px) {
  #ajad-chat {
    left: 8px;
    right: 8px;
    width: auto;
    bottom: 8px;
    height: min(80vh, 580px)
  }
}

/* ---- inline greeter on the contact page ---- */
.contact-greeter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line)
}

.cg-figure {
  position: relative;
  flex: 0 0 auto;
  width: clamp(92px, 12vw, 136px)
}

.cg-figure img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 22px rgba(7, 20, 43, .35));
  animation: avFloat 5.5s ease-in-out infinite
}

.cg-halo {
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 62%;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(50% 100% at 50% 100%, rgba(0, 166, 251, .5), transparent 70%);
  filter: blur(5px);
  animation: avHalo 5.5s ease-in-out infinite
}

.cg-bubble {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 15px 15px 15px 4px;
  padding: 12px 15px;
  box-shadow: var(--elev-1);
  font: 500 14px/1.6 Bukra
}

.cg-bubble b {
  display: block;
  font: 700 15px/1.3 Bukra;
  color: var(--accent2);
  margin-bottom: 3px
}

@media (max-width: 560px) {
  .contact-greeter {
    flex-direction: column;
    text-align: center
  }
}

/* ---- 404 page ---- */
.notfound {
  min-height: 74vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(40px, 8vw, 96px) 20px
}

.nf-figure {
  position: relative;
  width: clamp(170px, 26vw, 300px);
  margin: 0 auto 6px
}

.nf-figure img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 26px 34px rgba(7, 20, 43, .4));
  animation: avFloat 5.5s ease-in-out infinite
}

.nf-halo {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 60%;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(50% 100% at 50% 100%, rgba(0, 166, 251, .5), transparent 70%);
  filter: blur(7px);
  animation: avHalo 5.5s ease-in-out infinite
}

.notfound .nf-code {
  font: 800 clamp(20px, 3vw, 26px)/1 Poppins;
  letter-spacing: 6px;
  color: var(--accent);
  margin: 18px 0 6px
}

.notfound h1 {
  font-family: Poppins;
  font-weight: 700;
  font-size: clamp(30px, 5vw, 58px);
  letter-spacing: -.02em;
  margin: 0 0 12px
}

.notfound p {
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 26px;
  line-height: 1.9
}

.notfound .nf-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap
}

@media (prefers-reduced-motion: reduce) {

  .cg-figure img,
  .cg-halo,
  .nf-figure img,
  .nf-halo {
    animation: none !important
  }
}

/* ---- respect reduced motion for everything added here ---- */
@media (prefers-reduced-motion: reduce) {

  .card,
  .work,
  .card::before,
  .logo-rivers.premium .lchip,
  #ajad-avatar .av-figure,
  #ajad-avatar .av-halo {
    transition: none !important;
    animation: none !important
  }

  .trusted3d::before {
    display: none
  }
}
