:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --paper: rgba(255, 255, 255, 0.78);
  --paper-strong: rgba(255, 255, 255, 0.94);
  --ink: #111318;
  --muted: #646b78;
  --quiet: #8b93a1;
  --line: rgba(16, 24, 40, 0.1);
  --shadow: 0 28px 80px rgba(21, 28, 45, 0.1);
  --shadow-hover: 0 34px 95px rgba(21, 28, 45, 0.16);
  --radius-lg: 28px;
  --radius-md: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 16% 12%, rgba(108, 144, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 82% 8%, rgba(179, 126, 255, 0.09), transparent 28rem),
    radial-gradient(circle at 48% 34%, rgba(126, 222, 214, 0.055), transparent 34rem),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 44%, #ffffff 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(17, 19, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 24, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

main {
  overflow: hidden;
}

.hero,
.section,
.contact {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.hero {
  --pointer-x: 50%;
  --pointer-y: 48%;
  --hero-light-strength: 0;
  --name-light-x: 50%;
  --name-light-y: 45%;
  --logo-scroll-x: 0px;
  --logo-scroll-y: 0px;
  --logo-scroll-opacity: 0.82;
  position: relative;
  min-height: 92vh;
  padding: 28px 0 80px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.hero__ambient {
  position: absolute;
  inset: -12% -18% 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  animation: ambientEnter 1.9s ease 520ms both;
}

.hero__ambient::before {
  position: absolute;
  inset: 4% -2% 8%;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 42%, rgba(102, 151, 255, 0.18), transparent 27%),
    radial-gradient(circle at 64% 35%, rgba(177, 125, 255, 0.14), transparent 28%),
    radial-gradient(circle at 52% 74%, rgba(109, 221, 214, 0.1), transparent 26%);
  filter: blur(22px);
  opacity: calc(0.72 + var(--hero-light-strength) * 0.18);
  transform-origin: var(--pointer-x) var(--pointer-y);
  animation: ambientFlow 18s ease-in-out infinite alternate;
}

.hero__ambient::after {
  position: absolute;
  inset: 12% 8% 8%;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.74), transparent 11rem),
    radial-gradient(circle at calc(var(--pointer-x) + 9rem) calc(var(--pointer-y) - 5rem), rgba(116, 160, 255, 0.18), transparent 18rem),
    radial-gradient(circle at calc(var(--pointer-x) - 8rem) calc(var(--pointer-y) + 4rem), rgba(177, 126, 255, 0.14), transparent 17rem),
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.48), transparent 64%);
  filter: blur(16px);
  opacity: calc(0.62 + var(--hero-light-strength) * 0.24);
  transform: translate3d(0, 0, 0);
  transition: opacity 520ms ease;
  animation: ambientBreath 13s ease-in-out infinite alternate;
}

.hero__glow {
  position: absolute;
  width: 38rem;
  aspect-ratio: 1.25;
  border-radius: 50%;
  filter: blur(58px);
  opacity: 0.13;
  will-change: transform;
}

.hero__glow--one {
  top: 6%;
  left: 2%;
  background: rgba(102, 163, 255, 0.52);
  animation: glowDriftOne 20s ease-in-out infinite alternate;
}

.hero__glow--two {
  right: 0;
  bottom: 8%;
  background: rgba(199, 128, 242, 0.42);
  animation: glowDriftTwo 24s ease-in-out infinite alternate;
}

.hero__pointer-glow {
  position: absolute;
  left: var(--pointer-x);
  top: var(--pointer-y);
  width: 38rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 46%, rgba(255, 255, 255, 0.48), transparent 18%),
    radial-gradient(circle, rgba(126, 155, 255, 0.2), rgba(179, 133, 255, 0.1) 34%, transparent 68%);
  opacity: calc(0.34 + var(--hero-light-strength) * 0.42);
  transform: translate(-50%, -50%) scale(calc(0.94 + var(--hero-light-strength) * 0.1));
  transition:
    left 900ms cubic-bezier(0.2, 0.8, 0.2, 1),
    top 900ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 480ms ease,
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.nav__brand {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.7);
  color: #171a21;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(27, 36, 60, 0.08);
  backdrop-filter: blur(18px);
}

.nav__links {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px);
}

.nav__links a {
  padding: 9px 15px;
  border-radius: 999px;
  color: #4b5565;
  font-size: 13px;
  transition:
    color 220ms ease,
    background 220ms ease;
}

.nav__links a:hover {
  background: rgba(17, 19, 24, 0.06);
  color: var(--ink);
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  width: min(100%, 880px);
  margin: 0 auto;
  padding: 94px 28px 42px;
  text-align: center;
}

.hero__content::before {
  position: absolute;
  inset: 1% -5%;
  z-index: -1;
  content: "";
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(250, 252, 255, 0.92) 0%,
    rgba(250, 252, 255, 0.7) 48%,
    transparent 70%
  );
  filter: blur(12px);
  pointer-events: none;
}

.hero__content > * {
  animation: heroReveal 1.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero__kicker {
  animation-delay: 560ms;
}

.hero__content h1 {
  animation-delay: 80ms;
}

.hero__role {
  animation-delay: 300ms;
}

.hero__intro {
  animation-delay: 500ms;
}

.hero__meta {
  animation-delay: 700ms;
}

.hero-orbit {
  position: absolute;
  z-index: 2;
  right: -10%;
  bottom: 4%;
  left: -10%;
  height: 150px;
  pointer-events: none;
  opacity: var(--logo-scroll-opacity);
  filter: saturate(0.86) contrast(1.02);
  transform: translate3d(var(--logo-scroll-x), var(--logo-scroll-y), 0);
  animation: orbitEnter 1.7s ease 760ms both;
  mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.34) 8%,
      #000 20%,
      #000 80%,
      rgba(0, 0, 0, 0.34) 92%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.48) 18%, #000 40%, #000 70%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.34) 8%,
      #000 20%,
      #000 80%,
      rgba(0, 0, 0, 0.34) 92%,
      transparent 100%
    ),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.48) 18%, #000 40%, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
}

.hero-orbit::before {
  position: absolute;
  inset: 18% 24% 14%;
  content: "";
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.68), transparent 38%),
    radial-gradient(ellipse at center, rgba(112, 145, 255, 0.24), transparent 66%),
    radial-gradient(ellipse at center, rgba(172, 126, 255, 0.12), transparent 76%);
  filter: blur(28px);
  opacity: 0.88;
  transform: translate3d(0, 0, 0);
  animation: orbitGlowBreath 8s ease-in-out infinite alternate;
}

.hero-orbit::after {
  position: absolute;
  top: 22%;
  right: 13%;
  left: 13%;
  height: 112px;
  content: "";
  border-top: 1px solid rgba(95, 116, 160, 0.13);
  border-radius: 50% 50% 0 0;
  opacity: 0.38;
  transform: translate3d(0, 0, 0);
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
}

.hero-orbit__item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  opacity: 0;
  filter: blur(1.4px) saturate(0.74);
  transform: translate3d(-66vw, 34px, 0) scale(0.5);
  animation: logoLinearFlow 42s linear infinite;
  animation-delay: calc(var(--orbit-index) * -5.25s);
  will-change: transform, opacity, filter;
}

.hero-orbit__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(44px, 4.6vw, 70px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow:
    0 20px 48px rgba(35, 48, 82, 0.12),
    0 0 34px rgba(116, 145, 255, 0.17);
  backdrop-filter: blur(14px);
  transform: translate(-50%, -50%);
}

.hero-orbit__icon::before {
  position: absolute;
  inset: -24%;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 255, 255, 0.64), transparent 32%),
    radial-gradient(circle, rgba(106, 144, 255, 0.26), rgba(175, 126, 255, 0.14) 38%, transparent 70%);
  filter: blur(14px);
  opacity: 0.72;
}

.hero-orbit__icon img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__kicker,
.section__label,
.work-card__eyebrow {
  margin: 0;
  color: #657184;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 0;
  background:
    radial-gradient(
      circle at var(--name-light-x) var(--name-light-y),
      rgba(122, 164, 255, calc(0.28 + var(--hero-light-strength) * 0.44)) 0%,
      rgba(172, 133, 226, calc(0.2 + var(--hero-light-strength) * 0.3)) 17%,
      transparent 38%
    ),
    linear-gradient(to top, #2b2b2b 6%, #485466 58%, #786f8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(54px, 7.8vw, 104px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.09em;
}

.hero__role {
  margin: 20px 0 0;
  color: rgba(38, 43, 54, 0.76);
  font-size: clamp(18px, 2.15vw, 31px);
  line-height: 1.18;
  font-weight: 460;
  letter-spacing: 0.04em;
}

.hero__intro {
  max-width: 780px;
  margin: 26px 0 0;
  color: #485160;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.8;
}

.hero__meta {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero__meta span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #4c5564;
  font-size: 14px;
  backdrop-filter: blur(18px);
}

.section {
  padding: 88px 0;
}

.section__heading {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 30px;
}

.section__heading .section__label,
.section__heading h2 {
  opacity: 0.58;
  filter: blur(5px);
  transform: translateY(18px);
  transition:
    opacity 820ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 820ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 820ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 820ms ease,
    text-shadow 820ms ease;
}

.section__heading h2 {
  position: relative;
  overflow: hidden;
  border-radius: 0.45em;
}

.section__heading h2::after {
  position: absolute;
  inset: -0.2em -0.6em;
  content: "";
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255, 255, 255, 0.84) 45%,
    rgba(128, 154, 255, 0.34) 52%,
    transparent 66%
  );
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
}

.section__heading.is-visible .section__label {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.section__heading.is-visible h2 {
  opacity: 1;
  color: #465366;
  filter: blur(0);
  text-shadow: 0 18px 42px rgba(91, 121, 245, 0.1);
  transform: translateY(0);
}

.section__heading.is-visible h2::after {
  animation: titleLightSweep 1.28s cubic-bezier(0.2, 0.8, 0.2, 1) 180ms both;
}

.section--works .section__heading {
  grid-template-columns: 0.55fr 1.45fr;
  align-items: center;
  margin-bottom: 38px;
}

.section--works .section__heading h2 {
  max-width: none;
  color: #566171;
  font-size: clamp(15px, 1.28vw, 18px);
  line-height: 1.72;
  font-weight: 430;
}

.section__heading h2,
.contact h2 {
  margin: 0;
  color: #171a21;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: 0;
}

.section--tools .section__heading h2 {
  color: #566171;
  font-size: clamp(15px, 1.28vw, 18px);
  line-height: 1.72;
  font-weight: 430;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.work-card {
  position: relative;
  min-height: 570px;
  display: grid;
  grid-template-rows: minmax(310px, 1fr) auto;
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.55)),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 360ms ease,
    border-color 360ms ease;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(91, 121, 245, 0.22);
  box-shadow: var(--shadow-hover);
}

.work-card__media {
  position: relative;
  min-height: 315px;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(150deg, rgba(244, 247, 252, 0.92), rgba(232, 237, 246, 0.62));
}

.work-card__media::after {
  position: absolute;
  inset: auto 12% 0;
  height: 26%;
  content: "";
  background: radial-gradient(ellipse at center, rgba(36, 45, 68, 0.16), transparent 70%);
  filter: blur(18px);
  opacity: 0.65;
  transition: opacity 360ms ease;
}

.work-card:hover .work-card__media::after {
  opacity: 0.9;
}

.work-card__content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(20px);
}

.work-card__index {
  color: #a2aaba;
  font-size: 13px;
  font-weight: 700;
}

.work-card h3 {
  margin: 8px 0 0;
  color: #141821;
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.18;
  letter-spacing: 0;
}

.work-card__subtitle {
  margin: 12px 0 0;
  color: #626b78;
  font-size: 15px;
  line-height: 1.7;
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-card__tags span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #687180;
  font-size: 12px;
  white-space: nowrap;
}

.media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.media__image {
  width: min(106%, 590px);
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 22px 44px rgba(22, 28, 45, 0.18));
  transition:
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 520ms ease,
    opacity 520ms ease;
}

.media--swap .media__image--lit {
  position: absolute;
  opacity: 0;
  filter:
    drop-shadow(0 24px 48px rgba(73, 96, 180, 0.22))
    brightness(1.05);
}

.media--swap .media__image {
  transform: scale(1.16);
}

.media--single .media__image {
  transform: scale(1.035);
}

.work-card:hover .media--swap .media__image--base {
  opacity: 0;
  transform: scale(1.19);
}

.work-card:hover .media--swap .media__image--lit {
  opacity: 1;
  transform: scale(1.2);
  filter:
    drop-shadow(0 26px 58px rgba(78, 108, 220, 0.28))
    brightness(1.08);
}

.work-card:hover .media--single .media__image {
  transform: scale(1.075);
  filter:
    drop-shadow(0 32px 62px rgba(33, 41, 66, 0.24))
    brightness(1.08);
}

.media--books {
  min-height: 360px;
  perspective: 1200px;
}

.book {
  position: absolute;
  width: min(50%, 310px);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 28px 54px rgba(25, 31, 47, 0.2));
  transition:
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 620ms ease;
}

.book--back {
  transform: translate(42px, 4px) rotate(5deg);
}

.book--front {
  transform: translate(-42px, 28px) rotate(-4deg);
}

.work-card:hover .book--back {
  transform: translate(92px, -2px) rotate(9deg);
  filter: drop-shadow(0 32px 62px rgba(25, 31, 47, 0.24));
}

.work-card:hover .book--front {
  transform: translate(-92px, 24px) rotate(-8deg);
  filter: drop-shadow(0 34px 66px rgba(25, 31, 47, 0.26));
}

.media--generated,
.media--logo {
  min-height: 360px;
}

.ai-orb {
  position: relative;
  width: min(58vw, 260px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.ai-orb__halo,
.ai-orb__ring,
.ai-orb__core,
.ai-orb__pulse {
  position: absolute;
  border-radius: 50%;
}

.ai-orb__halo {
  inset: 18%;
  background: conic-gradient(from 80deg, #54d6ff, #a78bfa, #ff8dc7, #ffe48a, #54d6ff);
  filter: blur(30px);
  opacity: 0.24;
  animation: breathe 5.6s ease-in-out infinite;
}

.ai-orb__ring {
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)) padding-box,
    conic-gradient(from 120deg, #50d5ff, #8d7cff, #ff8bb8, #f5de72, #50d5ff) border-box;
  border: 1px solid transparent;
  box-shadow: inset 0 0 20px rgba(113, 143, 236, 0.06);
  opacity: 0.74;
  animation: orbit 18s linear infinite;
}

.ai-orb__ring--two {
  inset: 20%;
  transform: rotateX(68deg) rotateZ(24deg);
  animation-duration: 15s;
  animation-direction: reverse;
}

.ai-orb__ring--three {
  inset: 29%;
  transform: rotateY(64deg) rotateZ(-18deg);
  animation-duration: 18s;
}

.ai-orb__core {
  width: 30%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.22) 26%, transparent 48%),
    conic-gradient(from 220deg, #6ee7f9, #a78bfa, #fb9fca, #f7e37a, #6ee7f9);
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.5),
    0 16px 42px rgba(89, 116, 230, 0.16);
  opacity: 0.82;
  animation: breathe 5.6s ease-in-out infinite 400ms;
}

.ai-orb__pulse {
  inset: 24%;
  border: 1px solid rgba(122, 145, 238, 0.22);
  animation: pulse 4.8s ease-out infinite;
}

.ai-orb__pulse--two {
  animation-delay: 1.6s;
}

.work-card:hover .ai-orb {
  transform: scale(1.045) rotate(3deg);
}

.work-card:hover .ai-orb__halo {
  opacity: 0.42;
  filter: blur(34px);
}

.gradient-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 32px);
  min-height: 220px;
}

.gradient-dot {
  width: clamp(50px, 6.4vw, 78px);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow:
    inset 0 12px 24px rgba(255, 255, 255, 0.54),
    0 18px 36px rgba(50, 60, 90, 0.09);
  opacity: 0.82;
  animation: dotFloat 6.4s ease-in-out infinite;
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 420ms ease,
    box-shadow 420ms ease;
}

.gradient-dot--one {
  background: radial-gradient(circle at 32% 24%, #ffffff, #8dd9ff 28%, #7c8cff 68%, #6b54ff);
}

.gradient-dot--two {
  background: radial-gradient(circle at 30% 22%, #ffffff, #ffc1de 30%, #ff9a7b 70%, #ffcf6a);
  animation-delay: 120ms;
}

.gradient-dot--three {
  background: radial-gradient(circle at 34% 24%, #ffffff, #9ff3ce 30%, #4dbbd4 70%, #476df0);
  animation-delay: 240ms;
}

.gradient-dot--four {
  background: radial-gradient(circle at 30% 24%, #ffffff, #d6c4ff 30%, #a77cf4 68%, #ff91c6);
  animation-delay: 360ms;
}

.work-card:hover .gradient-dot {
  filter: brightness(1.04) saturate(1.05);
  box-shadow:
    inset 0 14px 28px rgba(255, 255, 255, 0.58),
    0 22px 44px rgba(80, 91, 140, 0.13);
  opacity: 0.92;
}

.work-card:hover .gradient-dot--one {
  transform: translateY(-12px) scale(1.05);
}

.work-card:hover .gradient-dot--two {
  transform: translateY(8px) scale(1.08);
  transition-delay: 60ms;
}

.work-card:hover .gradient-dot--three {
  transform: translateY(-8px) scale(1.06);
  transition-delay: 120ms;
}

.work-card:hover .gradient-dot--four {
  transform: translateY(10px) scale(1.04);
  transition-delay: 180ms;
}

.logo-preview {
  width: min(58%, 270px);
  max-height: 260px;
  object-fit: contain;
  filter:
    drop-shadow(0 22px 48px rgba(21, 28, 45, 0.16))
    saturate(0.9)
    brightness(0.96);
  transition:
    transform 460ms ease,
    filter 460ms ease;
}

.media--logo {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(145deg, #f7f8fb, #eceff5);
}

.work-card:hover .media--logo-gold .logo-preview {
  transform: translateY(-4px) scale(1.035);
  filter:
    drop-shadow(0 0 28px rgba(223, 181, 84, 0.46))
    drop-shadow(0 26px 52px rgba(21, 28, 45, 0.16))
    brightness(1.05);
}

.work-card:hover .media--logo-blue .logo-preview {
  transform: translateY(-4px) scale(1.035);
  filter:
    drop-shadow(0 0 28px rgba(72, 137, 255, 0.42))
    drop-shadow(0 26px 52px rgba(21, 28, 45, 0.16))
    brightness(1.05);
}

.section--tools {
  padding-top: 76px;
}

.section--downloads {
  padding-top: 76px;
}

.section--downloads .section__heading h2 {
  color: #566171;
  font-size: clamp(15px, 1.28vw, 18px);
  line-height: 1.72;
  font-weight: 430;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.download-card {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: 26px;
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.9), transparent 34%),
    rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 48px rgba(18, 54, 103, 0.08);
  backdrop-filter: blur(18px);
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 320ms ease,
    border-color 320ms ease,
    background 320ms ease;
}

.download-card:hover {
  transform: translateY(-7px);
  border-color: rgba(91, 121, 245, 0.24);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 28px 72px rgba(18, 54, 103, 0.12),
    0 0 28px rgba(91, 121, 245, 0.1);
}

.download-card__eyebrow {
  margin: 0 0 14px;
  color: #657184;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-card h3 {
  margin: 0;
  color: #141821;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.12;
  font-weight: 650;
}

.download-card p:not(.download-card__eyebrow) {
  margin: 12px 0 0;
  color: #626b78;
  font-size: 15px;
  line-height: 1.72;
}

.download-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-card__actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #283348;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.download-card__actions a:first-child {
  border-color: rgba(91, 121, 245, 0.18);
  background: linear-gradient(135deg, rgba(91, 121, 245, 0.13), rgba(139, 221, 230, 0.11));
}

.download-card__actions a:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 121, 245, 0.28);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(18, 54, 103, 0.1);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.tool-card {
  position: relative;
  min-height: 120px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px 12px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(18, 28, 45, 0.06);
  backdrop-filter: blur(18px);
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 121, 245, 0.2);
  box-shadow: 0 22px 48px rgba(18, 28, 45, 0.1);
}

.tool-card__liquid,
.tool-card__aura {
  position: absolute;
  pointer-events: none;
}

.tool-card__liquid {
  z-index: -1;
  right: -12%;
  bottom: -100%;
  left: -12%;
  height: var(--skill-level);
  border-radius: 48% 52% 0 0 / 10px 10px 0 0;
  background:
    radial-gradient(circle at 24% 16%, rgba(255, 255, 255, 0.72) 0 3px, transparent 4px),
    radial-gradient(circle at 72% 8%, rgba(255, 255, 255, 0.62) 0 4px, transparent 5px),
    linear-gradient(180deg, rgba(119, 171, 255, 0.052), rgba(127, 124, 246, 0.1));
  opacity: 0;
  transform: translateY(18%);
  transition:
    bottom 700ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 420ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-card--skill:hover .tool-card__liquid {
  bottom: 0;
  opacity: 0.68;
  transform: translateY(0);
}

.tool-card__aura {
  z-index: -1;
  inset: -45%;
  border-radius: 50%;
  background: conic-gradient(
    from 90deg,
    rgba(98, 190, 255, 0.22),
    rgba(151, 120, 255, 0.26),
    rgba(255, 143, 196, 0.18),
    rgba(98, 190, 255, 0.22)
  );
  filter: blur(22px);
  opacity: 0;
  transform: scale(0.62) rotate(0deg);
  transition:
    opacity 420ms ease,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-card--ai:hover {
  border-color: rgba(132, 112, 240, 0.28);
  box-shadow:
    0 22px 48px rgba(18, 28, 45, 0.1),
    0 0 0 1px rgba(128, 150, 255, 0.08);
}

.tool-card--ai:hover .tool-card__aura {
  opacity: 1;
  transform: scale(1) rotate(24deg);
}

.tool-card img {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.tool-card__name {
  position: relative;
  z-index: 1;
  color: #596273;
  font-size: 12px;
  text-align: center;
}

.tool-card__level {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 11px;
  color: rgba(64, 75, 96, 0.58);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.tool-card--skill:hover .tool-card__level {
  opacity: 1;
  transform: translateY(0);
}

.contact {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 44px;
  align-items: start;
  margin-top: 52px;
  margin-bottom: 40px;
  padding: 54px;
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 255, 0.7)),
    rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.contact h2 {
  max-width: 460px;
  font-size: clamp(28px, 3.05vw, 41px);
  line-height: 1.34;
  font-weight: 640;
}

.contact__line {
  display: block;
  white-space: nowrap;
}

.contact .section__label {
  margin-bottom: 14px;
}

.contact__links {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 64px;
  padding: 14px 18px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.contact-link:hover {
  transform: translateX(4px);
  border-color: rgba(91, 121, 245, 0.22);
  background: rgba(255, 255, 255, 0.94);
}

.contact-link span {
  color: var(--quiet);
  font-size: 13px;
}

.contact-link strong {
  min-width: 0;
  color: #222733;
  font-size: 15px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

@keyframes orbit {
  to {
    rotate: 1turn;
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.96);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.7);
    opacity: 0.58;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

@keyframes dotFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}

@keyframes ambientFlow {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(0.98) rotate(-1deg);
  }

  100% {
    transform: translate3d(3%, 2%, 0) scale(1.04) rotate(1.5deg);
  }
}

@keyframes ambientBreath {
  0% {
    transform: translate3d(-1.4%, 1%, 0) scale(0.98);
    opacity: 0.48;
  }

  100% {
    transform: translate3d(1.6%, -1.2%, 0) scale(1.05);
    opacity: 0.78;
  }
}

@keyframes ambientEnter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes glowDriftOne {
  to {
    transform: translate3d(18%, 10%, 0) rotate(8deg);
  }
}

@keyframes glowDriftTwo {
  to {
    transform: translate3d(-16%, -8%, 0) rotate(-7deg);
  }
}

@keyframes heroReveal {
  from {
    opacity: 0;
    filter: blur(9px);
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes titleLightSweep {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  18% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes logoLinearFlow {
  0% {
    opacity: 0;
    filter: blur(1.5px) saturate(0.68) brightness(0.92);
    transform: translate3d(-66vw, 34px, 0) scale(0.5);
  }

  15% {
    opacity: 0.16;
    filter: blur(1.15px) saturate(0.74) brightness(0.95);
    transform: translate3d(-46vw, 24px, 0) scale(0.6);
  }

  34% {
    opacity: 0.58;
    filter: blur(0.4px) saturate(0.92) brightness(1);
    transform: translate3d(-21vw, 9px, 0) scale(0.86);
  }

  50% {
    opacity: 1;
    filter: blur(0) saturate(1.18) brightness(1.12);
    transform: translate3d(0, -8px, 0) scale(1.32);
  }

  66% {
    opacity: 0.58;
    filter: blur(0.4px) saturate(0.92) brightness(1);
    transform: translate3d(21vw, 9px, 0) scale(0.86);
  }

  85% {
    opacity: 0.16;
    filter: blur(1.15px) saturate(0.74) brightness(0.95);
    transform: translate3d(46vw, 24px, 0) scale(0.6);
  }

  100% {
    opacity: 0;
    filter: blur(1.5px) saturate(0.68) brightness(0.92);
    transform: translate3d(66vw, 34px, 0) scale(0.5);
  }
}

@keyframes orbitGlowBreath {
  0% {
    opacity: 0.46;
    transform: translate3d(-1.5%, 1%, 0) scale(0.94);
  }

  100% {
    opacity: 0.76;
    transform: translate3d(1.5%, -1%, 0) scale(1.05);
  }
}

@keyframes orbitEnter {
  from {
    filter: saturate(0.6) blur(5px);
  }

  to {
    filter: saturate(0.86) contrast(1.02) blur(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .section,
  .contact {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero {
    min-height: auto;
    padding-bottom: 56px;
  }

  .hero__content {
    padding-top: 76px;
  }

  .hero-orbit {
    inset: auto -18% 2%;
    height: 132px;
    opacity: 0.64;
  }

  .section__heading,
  .contact {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section--works .section__heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: 0;
  }

  .tools-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .contact {
    width: min(calc(100% - 24px), var(--max));
  }

  .nav {
    height: auto;
    align-items: flex-start;
  }

  .nav__links {
    gap: 2px;
  }

  .nav__links a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero__content {
    padding-top: 64px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .hero h1 {
    font-size: clamp(50px, 18vw, 78px);
  }

  .hero__intro {
    font-size: 16px;
  }

  .hero-orbit {
    display: none;
  }

  .hero__ambient {
    inset: -8% -30% 0;
  }

  .section {
    padding: 58px 0;
  }

  .section__heading {
    margin-bottom: 22px;
  }

  .section--works .section__heading h2 {
    font-size: 17px;
    line-height: 1.65;
  }

  .works-grid {
    gap: 18px;
  }

  .work-card {
    border-radius: 22px;
  }

  .work-card__media {
    min-height: 270px;
    padding: 18px;
  }

  .work-card__content {
    padding: 22px;
  }

  .media__image {
    width: min(108%, 590px);
    max-height: 292px;
  }

  .media--books,
  .media--generated,
  .media--logo {
    min-height: 286px;
  }

  .book {
    width: min(54%, 210px);
  }

  .book--back {
    transform: translate(26px, 0) rotate(5deg);
  }

  .book--front {
    transform: translate(-26px, 20px) rotate(-4deg);
  }

  .work-card:hover .book--back {
    transform: translate(52px, -2px) rotate(8deg);
  }

  .work-card:hover .book--front {
    transform: translate(-52px, 20px) rotate(-7deg);
  }

  .tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .download-card {
    min-height: 0;
    padding: 22px;
  }

  .download-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .download-card__actions a {
    min-width: 0;
    padding: 0 10px;
    white-space: nowrap;
  }

  .tool-card {
    min-height: 104px;
    border-radius: 16px;
  }

  .tool-card img {
    width: 38px;
    height: 38px;
  }

  .tool-card__level {
    top: 8px;
    right: 8px;
  }

  .contact {
    padding: 26px;
    margin-bottom: 24px;
  }

  .contact h2 {
    font-size: 30px;
  }

  .contact-link {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section__heading .section__label,
  .section__heading h2 {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .section__heading h2::after {
    display: none !important;
  }

  .hero-orbit {
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
