:root {
  --ink: #211822;
  --ink-soft: #5f5361;
  --paper: #fffaf4;
  --paper-soft: rgba(255, 250, 244, 0.76);
  --line: rgba(33, 24, 34, 0.16);
  --white-line: rgba(255, 255, 255, 0.26);
  --violet: #8b5cf6;
  --plum: #40264f;
  --rose: #d85c7a;
  --coral: #f09a7f;
  --sage: #87a878;
  --sky: #6caed6;
  --gold: #f1c66a;
  --mint: #4ec9a6;
  --cobalt: #4568f0;
  --berry: #c6468f;
  --lemon: #f4dc63;
  --apricot: #ffb36b;
  --shadow: 0 28px 90px rgba(42, 24, 50, 0.26);
  --mx: 50%;
  --my: 30%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(130deg, #ffd3c2 0%, #f4cedf 18%, #d9e6c6 38%, #b9e4e8 58%, #d1c7ff 78%, #f8d185 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.66), transparent 34%),
    linear-gradient(32deg, transparent 8%, rgba(69, 104, 240, 0.18) 36%, transparent 58%),
    linear-gradient(153deg, transparent 10%, rgba(78, 201, 166, 0.26) 42%, transparent 72%),
    linear-gradient(225deg, transparent 0%, rgba(198, 70, 143, 0.18) 52%, transparent 82%),
    linear-gradient(300deg, transparent 0%, rgba(244, 220, 99, 0.22) 36%, transparent 58%);
  background-size: 140% 140%, 120% 120%, 160% 160%, 130% 130%, 180% 180%;
  animation: colorField 18s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent),
    linear-gradient(125deg, transparent 0 38%, rgba(255, 255, 255, 0.22) 38% 46%, transparent 46% 100%);
  opacity: 0.72;
  transition: opacity 180ms ease;
}

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

a {
  color: inherit;
}

.page-glass {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 84px);
  mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 1px, transparent 1px);
  background-size: 3px 3px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: var(--progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--gold), var(--sky), var(--violet));
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.55);
}

.motion-layers {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.motion-line {
  position: absolute;
  width: 62vw;
  height: 2px;
  border-radius: 999px;
  opacity: 0.42;
  filter: blur(0.2px);
  transform: rotate(var(--angle));
  animation: driftLine var(--speed) ease-in-out infinite alternate;
}

.motion-line::before {
  content: "";
  position: absolute;
  inset: -1px 0;
  background: linear-gradient(90deg, transparent, var(--line-color), transparent);
}

.motion-line--pink {
  --angle: -18deg;
  --speed: 16s;
  --line-color: rgba(198, 70, 143, 0.74);
  top: 19%;
  left: -15%;
}

.motion-line--blue {
  --angle: 12deg;
  --speed: 19s;
  --line-color: rgba(69, 104, 240, 0.68);
  top: 54%;
  right: -18%;
}

.motion-line--green {
  --angle: -9deg;
  --speed: 22s;
  --line-color: rgba(78, 201, 166, 0.72);
  bottom: 16%;
  left: 15%;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 90;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 70px rgba(42, 24, 50, 0.13);
  backdrop-filter: blur(20px) saturate(1.3);
  transform: translateX(-50%);
}

.brand {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav {
  display: flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(33, 24, 34, 0.76);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.46);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 92svh;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: 72px;
  padding: 138px max(28px, calc((100vw - 1120px) / 2)) 96px;
  overflow: hidden;
}

.hero,
.intro,
.work,
.contact {
  scroll-margin-top: 140px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.hero__aura {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(125deg, rgba(255, 245, 229, 0.9) 0%, rgba(247, 204, 219, 0.86) 25%, rgba(211, 229, 191, 0.78) 48%, rgba(174, 223, 233, 0.78) 67%, rgba(209, 199, 255, 0.84) 100%),
    linear-gradient(24deg, transparent 0 22%, rgba(216, 92, 122, 0.18) 22% 38%, transparent 38% 100%),
    linear-gradient(155deg, transparent 0 46%, rgba(69, 104, 240, 0.16) 46% 61%, transparent 61% 100%),
    linear-gradient(65deg, transparent 0 62%, rgba(244, 220, 99, 0.25) 62% 74%, transparent 74% 100%);
  background-size: 170% 170%, 100% 100%, 100% 100%, 100% 100%;
  animation: heroWash 14s ease-in-out infinite alternate;
}

.hero__beam {
  position: absolute;
  z-index: -1;
  width: min(520px, 58vw);
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08));
  box-shadow: 0 22px 60px rgba(42, 24, 50, 0.08);
  opacity: 0.62;
  backdrop-filter: blur(6px);
  animation: slideBeam 12s ease-in-out infinite alternate;
}

.hero__beam--one {
  top: 26%;
  left: -120px;
  transform: rotate(-15deg);
}

.hero__beam--two {
  right: -120px;
  bottom: 18%;
  transform: rotate(14deg);
  animation-delay: -5s;
}

.hero__content {
  min-width: 0;
  width: min(680px, 100%);
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(33, 24, 34, 0.58);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--rose);
}

.hero h1 {
  margin: 0;
  font-size: 6.1rem;
  line-height: 0.9;
  letter-spacing: 0;
  background: linear-gradient(90deg, #211822 0%, #c6468f 34%, #4568f0 68%, #211822 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: titleColor 10s ease-in-out infinite alternate;
}

.hero__lead {
  width: min(610px, 100%);
  margin: 24px 0 0;
  color: rgba(33, 24, 34, 0.76);
  font-size: 1.22rem;
  line-height: 1.7;
}

.socials {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.socials a,
.contact__links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fffaf4;
  background: rgba(255, 255, 255, 0.11);
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.socials a:hover,
.socials a:focus-visible,
.contact__links a:hover,
.contact__links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.2);
}

.socials a {
  border-color: rgba(33, 24, 34, 0.14);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 40px rgba(42, 24, 50, 0.1);
}

.socials a:nth-child(1) {
  --button-glow: rgba(69, 104, 240, 0.22);
}

.socials a:nth-child(2) {
  --button-glow: rgba(216, 92, 122, 0.24);
}

.socials a:nth-child(3) {
  --button-glow: rgba(244, 220, 99, 0.24);
}

.socials a:nth-child(4) {
  --button-glow: rgba(78, 201, 166, 0.24);
}

.socials a:hover,
.socials a:focus-visible {
  border-color: rgba(33, 24, 34, 0.22);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px var(--button-glow, rgba(42, 24, 50, 0.12));
}

.socials svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.hero__portrait-wrap {
  position: relative;
  justify-self: end;
  width: min(340px, 100%);
  aspect-ratio: 1;
  animation: portraitFloat 7s ease-in-out infinite;
}

.hero__portrait {
  width: 100%;
  height: 100%;
  border: 9px solid rgba(255, 250, 244, 0.78);
  border-radius: 50%;
  object-fit: cover;
  object-position: 52% 34%;
  box-shadow:
    0 38px 90px rgba(64, 38, 79, 0.24),
    inset 0 0 0 1px rgba(33, 24, 34, 0.08);
}

.hero__portrait-ring {
  position: absolute;
  inset: -24px;
  border: 1px solid rgba(64, 38, 79, 0.22);
  border-radius: 50%;
  background:
    conic-gradient(from 120deg, transparent 0 14%, rgba(216, 92, 122, 0.56) 14% 18%, transparent 18% 38%, rgba(78, 201, 166, 0.5) 38% 43%, transparent 43% 61%, rgba(69, 104, 240, 0.54) 61% 66%, transparent 66% 82%, rgba(244, 220, 99, 0.62) 82% 86%, transparent 86% 100%);
  mask-image: radial-gradient(circle, transparent 68%, #000 69%);
  animation: rotateRing 15s linear infinite;
}

.hero__note {
  position: absolute;
  min-width: 94px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 8px;
  color: rgba(33, 24, 34, 0.76);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 42px rgba(42, 24, 50, 0.12);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(16px);
  animation: floaty 5.5s ease-in-out infinite;
}

.hero__note--top {
  top: 14px;
  right: -26px;
}

.hero__note--bottom {
  left: -22px;
  bottom: 36px;
  animation-delay: -2.6s;
}

.hero__ribbon {
  position: absolute;
  right: max(28px, calc((100vw - 1120px) / 2));
  bottom: 84px;
  display: grid;
  grid-template-columns: repeat(2, minmax(86px, 1fr));
  gap: 10px;
  width: min(290px, 34vw);
}

.hero__ribbon span {
  padding: 13px 14px;
  border: 1px solid rgba(33, 24, 34, 0.12);
  border-radius: 8px;
  color: rgba(33, 24, 34, 0.78);
  background: rgba(255, 255, 255, 0.48);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(15px);
  animation: floaty 5s ease-in-out infinite;
}

.hero__ribbon span:nth-child(1) {
  background: rgba(185, 228, 232, 0.5);
}

.hero__ribbon span:nth-child(2) {
  background: rgba(248, 209, 133, 0.48);
}

.hero__ribbon span:nth-child(3) {
  background: rgba(209, 199, 255, 0.5);
}

.hero__ribbon span:nth-child(4) {
  background: rgba(217, 230, 198, 0.52);
}

.hero__ribbon span:nth-child(2) {
  animation-delay: -1.2s;
}

.hero__ribbon span:nth-child(3) {
  animation-delay: -2s;
}

.hero__ribbon span:nth-child(4) {
  animation-delay: -3.1s;
}

.scroll-cue {
  position: absolute;
  right: max(28px, calc((100vw - 1120px) / 2));
  bottom: 28px;
  color: rgba(33, 24, 34, 0.6);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.scroll-cue::after {
  content: "";
  display: inline-block;
  width: 42px;
  height: 1px;
  margin-left: 12px;
  vertical-align: middle;
  background: currentColor;
}

.marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(33, 24, 34, 0.12);
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(18px);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 16px 0;
  animation: marqueeMove 28s linear infinite;
}

.marquee__track span {
  position: relative;
  flex: 0 0 auto;
  padding-inline: 22px;
  color: rgba(33, 24, 34, 0.74);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.marquee__track span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -9px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--berry), var(--lemon));
  transform: translateY(-50%) rotate(45deg);
}

.intro {
  display: grid;
  width: min(1120px, calc(100% - 40px));
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 42px;
  margin: 0 auto;
  padding: 96px 0 56px;
}

.intro h2,
.work h2,
.contact h2 {
  margin: 0;
  font-size: 3.2rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.intro__text p,
.work__copy p,
.contact p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.intro__text {
  align-self: end;
  padding-bottom: 10px;
}

.work {
  position: relative;
  display: grid;
  width: min(1120px, calc(100% - 40px));
  min-height: 640px;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 58px;
  margin: 38px auto;
  padding: 64px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.28)),
    linear-gradient(90deg, var(--section-a, rgba(255, 255, 255, 0.5)), rgba(255, 255, 255, 0.2) 48%, var(--section-b, rgba(255, 255, 255, 0.22)));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.work::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 42%, rgba(255, 255, 255, 0.18)),
    linear-gradient(90deg, var(--panel-wash-a), transparent 48%, var(--panel-wash-b));
  pointer-events: none;
}

.work::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: 8px;
  background: linear-gradient(180deg, var(--rail-a), var(--rail-b), var(--rail-c));
  box-shadow: 0 0 34px var(--rail-glow);
}

.work > * {
  position: relative;
  z-index: 1;
}

.work--reverse {
  grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.86fr);
}

.work--reverse .work__copy {
  grid-column: 2;
}

.work--reverse .work__media {
  grid-column: 1;
  grid-row: 1;
}

.work--excel {
  --section-a: rgba(156, 225, 228, 0.36);
  --section-b: rgba(191, 228, 137, 0.36);
  --panel-wash-a: rgba(69, 183, 255, 0.14);
  --panel-wash-b: rgba(78, 201, 166, 0.14);
  --rail-a: #45b7ff;
  --rail-b: #4ec9a6;
  --rail-c: #d9ff75;
  --rail-glow: rgba(78, 201, 166, 0.42);
}

.work--market {
  --section-a: rgba(255, 179, 107, 0.4);
  --section-b: rgba(255, 126, 151, 0.28);
  --panel-wash-a: rgba(255, 139, 93, 0.15);
  --panel-wash-b: rgba(255, 95, 158, 0.13);
  --rail-a: #ff8b5d;
  --rail-b: #ff5f9e;
  --rail-c: #f4dc63;
  --rail-glow: rgba(255, 126, 151, 0.42);
}

.work--presentations {
  --section-a: rgba(244, 220, 99, 0.34);
  --section-b: rgba(122, 201, 138, 0.28);
  --panel-wash-a: rgba(244, 220, 99, 0.14);
  --panel-wash-b: rgba(122, 201, 138, 0.13);
  --rail-a: #f4dc63;
  --rail-b: #7ac98a;
  --rail-c: #ffb36b;
  --rail-glow: rgba(244, 220, 99, 0.44);
}

.work--ai {
  --section-a: rgba(69, 104, 240, 0.26);
  --section-b: rgba(98, 218, 216, 0.3);
  --panel-wash-a: rgba(69, 104, 240, 0.13);
  --panel-wash-b: rgba(98, 218, 216, 0.14);
  --rail-a: #4568f0;
  --rail-b: #62dad8;
  --rail-c: #c6468f;
  --rail-glow: rgba(69, 104, 240, 0.4);
}

.work--code {
  --section-a: rgba(166, 112, 255, 0.3);
  --section-b: rgba(255, 179, 107, 0.26);
  --panel-wash-a: rgba(166, 112, 255, 0.13);
  --panel-wash-b: rgba(255, 179, 107, 0.14);
  --rail-a: #a670ff;
  --rail-b: #ffb36b;
  --rail-c: #4ec9a6;
  --rail-glow: rgba(166, 112, 255, 0.42);
}

.work__copy {
  display: grid;
  gap: 22px;
}

.work__number {
  margin: 0;
  color: var(--rail-a);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.tags span {
  padding: 8px 10px;
  border: 1px solid rgba(33, 24, 34, 0.12);
  border-radius: 8px;
  color: rgba(33, 24, 34, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.36)),
    linear-gradient(135deg, rgba(255, 127, 157, 0.18), rgba(78, 201, 166, 0.16));
  font-size: 0.84rem;
  font-weight: 800;
}

.work__media {
  min-width: 0;
  transform-style: preserve-3d;
}

.tilt {
  transform:
    perspective(1200px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
  transition: transform 220ms ease;
  will-change: transform;
}

.shine-frame {
  position: relative;
  width: min(620px, 100%);
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 30px 80px rgba(34, 24, 43, 0.2);
  overflow: hidden;
}

.shine-frame::before {
  content: "";
  position: absolute;
  inset: -80% -30%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.72) 50%, transparent 58%);
  transform: translateX(-38%) rotate(8deg);
  animation: shine 5s ease-in-out infinite;
}

.shine-frame img {
  position: relative;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(33, 24, 34, 0.16);
}

.excel-collage {
  position: relative;
  min-height: 430px;
  transform-style: preserve-3d;
}

.excel-collage::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 4%;
  top: 72px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.14)),
    linear-gradient(90deg, rgba(69, 183, 255, 0.1), rgba(78, 201, 166, 0.12));
  box-shadow: 0 32px 80px rgba(34, 24, 43, 0.12);
  backdrop-filter: blur(12px);
}

.excel-shot {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 26px 54px rgba(33, 24, 34, 0.18);
  animation: mediaFloat 7s ease-in-out infinite;
}

.excel-shot--back {
  right: 3%;
  top: 26px;
  z-index: 1;
  width: min(330px, 56%);
  opacity: 0.9;
}

.excel-shot--main {
  left: 5%;
  top: 112px;
  z-index: 3;
  width: min(470px, 78%);
  animation-delay: -2.4s;
}

.excel-shot--front {
  right: 2%;
  bottom: 30px;
  z-index: 4;
  width: min(335px, 58%);
  animation-delay: -4.1s;
}

.excel-label {
  position: absolute;
  z-index: 5;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  color: rgba(33, 24, 34, 0.72);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 40px rgba(42, 24, 50, 0.12);
  font-size: 0.82rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
  animation: floaty 5.2s ease-in-out infinite;
}

.excel-label--one {
  left: 18%;
  top: 46px;
}

.excel-label--two {
  right: 11%;
  bottom: -14px;
  animation-delay: -2.8s;
}

.market-collage,
.presentation-stack,
.ai-wall,
.code-scene {
  position: relative;
  min-height: 430px;
}

.market-card,
.presentation,
.ai {
  position: absolute;
  border-radius: 8px;
  filter: drop-shadow(0 24px 32px rgba(33, 24, 34, 0.24));
  animation: mediaFloat 7s ease-in-out infinite;
}

.market-card {
  width: min(270px, 45%);
  transform-origin: center;
}

.market-card--one {
  left: 0;
  top: 84px;
  transform: rotate(-8deg);
}

.market-card--two {
  left: 27%;
  top: 0;
  width: min(295px, 48%);
  transform: rotate(6deg);
  animation-delay: -2.4s;
}

.market-card--three {
  right: 0;
  top: 128px;
  transform: rotate(4deg);
  animation-delay: -4.1s;
}

.presentation-stack {
  min-height: 410px;
}

.presentation--main {
  left: 2%;
  top: 116px;
  width: min(360px, 58%);
  z-index: 3;
}

.presentation--back {
  right: 0;
  top: 0;
  width: min(430px, 66%);
  z-index: 1;
  animation-delay: -3.2s;
}

.presentation--front {
  right: 5%;
  top: 190px;
  width: min(370px, 58%);
  z-index: 2;
  animation-delay: -1.6s;
}

.ai-wall {
  min-height: 440px;
}

.ai {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: #111;
}

.ai--one {
  left: 10%;
  top: 6px;
  width: min(430px, 76%);
}

.ai--two {
  left: 0;
  bottom: 18px;
  width: min(340px, 62%);
  z-index: 2;
  animation-delay: -2.8s;
}

.ai--three {
  right: 0;
  top: 142px;
  width: min(400px, 70%);
  z-index: 3;
  animation-delay: -4.6s;
}

.code-scene {
  display: grid;
  min-height: 430px;
  place-items: center;
}

.code-scene img {
  width: min(430px, 78%);
  filter: drop-shadow(0 38px 52px rgba(64, 38, 79, 0.26));
  animation: hoverScene 6s ease-in-out infinite;
}

.contact {
  position: relative;
  width: 100%;
  margin: 56px auto 0;
  padding: 110px max(28px, calc((100vw - 1120px) / 2)) 104px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0;
  background:
    linear-gradient(105deg, rgba(24, 17, 26, 0.98) 0%, rgba(42, 33, 72, 0.96) 42%, rgba(26, 76, 82, 0.88) 74%, rgba(92, 55, 88, 0.9) 100%),
    linear-gradient(135deg, rgba(216, 92, 122, 0.28), rgba(244, 220, 99, 0.18), rgba(108, 174, 214, 0.2));
  box-shadow: var(--shadow);
  color: #fffaf4;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 44%, rgba(216, 92, 122, 0.18) 44% 57%, transparent 57% 100%),
    linear-gradient(35deg, transparent 0 62%, rgba(78, 201, 166, 0.18) 62% 74%, transparent 74% 100%);
  background-size: 64px 64px, 64px 64px, 100% 100%, 100% 100%;
  animation: contactGrid 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.contact::after {
  content: "";
  position: absolute;
  left: max(28px, calc((100vw - 1120px) / 2));
  right: max(28px, calc((100vw - 1120px) / 2));
  top: 34px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7f9d, #f4dc63, #4ec9a6, #4568f0, #c6468f);
  background-size: 220% 100%;
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.22);
  animation: titleColor 8s ease-in-out infinite alternate;
}

.contact__content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.contact .eyebrow.dark {
  color: #ff7f9d;
}

.contact h2 {
  color: #fffaf4;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  max-width: 900px;
}

.contact p {
  margin-top: 22px;
  color: rgba(255, 250, 244, 0.74);
  max-width: 720px;
}

.contact__links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.contact__visual {
  position: absolute;
  right: max(28px, calc((100vw - 1120px) / 2));
  bottom: 22px;
  z-index: 1;
  width: min(360px, 34vw);
  opacity: 0.9;
}

.contact__visual img {
  width: 100%;
  filter: drop-shadow(0 36px 48px rgba(0, 0, 0, 0.36));
  animation: hoverScene 7s ease-in-out infinite;
}

.contact__spark {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.6);
  animation: sparkle 3.8s ease-in-out infinite;
  transform: rotate(45deg);
}

.contact__spark--one {
  left: 4%;
  top: 28%;
}

.contact__spark--two {
  right: 8%;
  top: 16%;
  animation-delay: -1.3s;
}

.contact__spark--three {
  right: 32%;
  bottom: 12%;
  animation-delay: -2.4s;
}

.contact__aside {
  position: absolute;
  top: 86px;
  right: max(28px, calc((100vw - 1120px) / 2));
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  gap: 10px;
  width: min(270px, 28vw);
}

.contact__aside span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 250, 244, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(14px);
  animation: floaty 6s ease-in-out infinite;
}

.contact__aside span:nth-child(1) {
  border-color: rgba(244, 220, 99, 0.32);
}

.contact__aside span:nth-child(2) {
  border-color: rgba(255, 127, 157, 0.32);
  animation-delay: -1.8s;
}

.contact__aside span:nth-child(3) {
  border-color: rgba(78, 201, 166, 0.32);
  animation-delay: -3.1s;
}

.contact__aside span:nth-child(4) {
  border-color: rgba(69, 104, 240, 0.34);
  animation-delay: -4.4s;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes colorField {
  from {
    background-position: 0% 0%, 100% 0%, 0% 100%, 100% 100%, 50% 50%;
  }
  to {
    background-position: 100% 40%, 0% 70%, 80% 20%, 30% 0%, 100% 20%;
  }
}

@keyframes driftLine {
  from {
    translate: -4vw 0;
    opacity: 0.22;
  }
  to {
    translate: 8vw 4vh;
    opacity: 0.52;
  }
}

@keyframes heroWash {
  from {
    background-position: 0% 50%, 0 0, 0 0, 0 0;
  }
  to {
    background-position: 100% 50%, 0 0, 0 0, 0 0;
  }
}

@keyframes slideBeam {
  from {
    translate: -28px 0;
  }
  to {
    translate: 34px 18px;
  }
}

@keyframes titleColor {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes portraitFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rotateRing {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shine {
  0%,
  42% {
    transform: translateX(-38%) rotate(8deg);
  }
  70%,
  100% {
    transform: translateX(42%) rotate(8deg);
  }
}

@keyframes hoverScene {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes mediaFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes contactGrid {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  to {
    background-position: 28px 0, 0 28px, 0 0, 0 0;
  }
}

@keyframes sparkle {
  0%,
  100% {
    scale: 1;
    opacity: 0.55;
  }
  50% {
    scale: 1.55;
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 150px;
  }

  .hero h1 {
    font-size: 4.6rem;
  }

  .hero__lead {
    font-size: 1.08rem;
  }

  .hero__portrait-wrap {
    width: min(280px, 72vw);
    justify-self: start;
  }

  .hero__ribbon {
    position: static;
    width: min(410px, 100%);
    margin-top: 34px;
  }

  .scroll-cue {
    display: none;
  }

  .intro,
  .work,
  .work--reverse {
    grid-template-columns: 1fr;
  }

  .work--reverse .work__copy,
  .work--reverse .work__media {
    grid-column: auto;
    grid-row: auto;
  }

  .intro h2,
  .work h2 {
    font-size: 2.45rem;
  }

  .work {
    min-height: 0;
    padding: 44px;
  }

  .excel-collage,
  .market-collage,
  .presentation-stack,
  .ai-wall,
  .code-scene {
    min-height: 390px;
  }

  .contact {
    padding: 76px 28px 390px;
  }

  .contact__aside {
    position: relative;
    top: auto;
    right: auto;
    width: min(360px, 100%);
    margin-top: 32px;
  }

  .contact__visual {
    right: 50%;
    bottom: 18px;
    width: min(330px, 76vw);
    transform: translateX(50%);
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px;
  }

  .site-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 88svh;
    padding: 160px 20px 54px;
    gap: 30px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero__lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero__portrait-wrap {
    width: min(230px, 68vw);
  }

  .hero__note {
    min-width: 82px;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .hero__note--top {
    right: -10px;
  }

  .hero__note--bottom {
    left: -8px;
    bottom: 18px;
  }

  .socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .socials a {
    min-width: 0;
    padding-inline: 8px;
  }

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

  .intro,
  .work {
    width: calc(100% - 24px);
  }

  .intro {
    padding: 68px 0 26px;
  }

  .intro h2,
  .work h2 {
    font-size: 2rem;
  }

  .intro__text p,
  .work__copy p,
  .contact p {
    font-size: 0.98rem;
  }

  .work {
    gap: 34px;
    margin: 24px auto;
    padding: 28px;
  }

  .shine-frame {
    padding: 10px;
  }

  .excel-collage,
  .market-collage,
  .presentation-stack,
  .ai-wall {
    min-height: 330px;
  }

  .excel-collage::before {
    left: 0;
    right: 0;
    top: 58px;
    height: 206px;
  }

  .excel-shot--back {
    right: 0;
    top: 18px;
    width: 62%;
  }

  .excel-shot--main {
    left: 0;
    top: 98px;
    width: 88%;
  }

  .excel-shot--front {
    right: 0;
    bottom: 24px;
    width: 68%;
  }

  .excel-label {
    font-size: 0.76rem;
  }

  .excel-label--one {
    left: 6%;
    top: 66px;
  }

  .excel-label--two {
    right: 4%;
    bottom: -12px;
  }

  .market-card {
    width: 50%;
  }

  .market-card--one {
    top: 76px;
  }

  .market-card--two {
    left: 22%;
  }

  .market-card--three {
    top: 130px;
  }

  .presentation--main {
    width: 60%;
    top: 98px;
  }

  .presentation--back {
    width: 72%;
  }

  .presentation--front {
    top: 178px;
    width: 66%;
  }

  .ai--one {
    left: 6%;
    width: 82%;
  }

  .ai--two {
    width: 65%;
  }

  .ai--three {
    top: 138px;
    width: 72%;
  }

  .code-scene {
    min-height: 300px;
  }

  .code-scene img {
    width: min(310px, 90%);
  }

  .contact {
    width: 100%;
    margin-bottom: 44px;
    padding: 58px 20px 318px;
  }

  .contact h2 {
    font-size: 2.35rem;
  }

  .contact__links a {
    flex: 1 1 130px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
