/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --blue:       #5B6CFF;
  --blue-light: #A7BFFF;
  --bg:         #FAFAF8;
  --teal:       #DCEAE9;
  --mauve:      #BEB0B8;
  --peach:      #E3B5A3;
  --dark:       #1C1C1E;
  --gray:       #5A5A68;
  --white:      #FFFFFF;
  --border:     #EFEFEF;

  --font-h1:   'Poppins', sans-serif;
  --font-h2:   'Inter', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --nav-h: 68px;
  --max-w: 1160px;
  --radius-card: 16px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  cursor: none; /* hide default — custom cursor active */
}

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

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

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  will-change: transform;
}

.cursor--hover {
  width: 22px;
  height: 22px;
  opacity: 0.6;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease,
              box-shadow 0.3s ease;
}

/* Triggered after 50px scroll */
.nav--scrolled {
  background: rgba(250, 250, 248, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-family: var(--font-h1);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.nav__brand:hover {
  color: var(--blue);
}

.nav__brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav__since {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.7rem;
  color: var(--dark);
  opacity: 0.45;
  letter-spacing: 0.01em;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--dark);
}

/* Animated blue dot on hover */
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  transition: transform 0.2s ease;
}

.nav__link:hover::after {
  transform: translateX(-50%) scale(1);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 40px 100px;
}

/* ── Content block ── */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInUp 0.5s ease 0.1s both;
}

.hero__headline {
  font-family: var(--font-h1);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  animation: fadeInUp 0.5s ease 0.25s both;
}

.hero__headline .accent {
  color: var(--blue);
}

.hero__subline {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--gray);
  letter-spacing: 0.08em;
  margin-bottom: 44px;
  animation: fadeInUp 0.5s ease 0.4s both;
}

/* ── Buttons ── */
.hero__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.5s ease 0.52s both;
}

.btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background 0.18s ease, color 0.18s ease;
  cursor: none;
}

.btn--filled {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(91, 108, 255, 0.25);
}

.btn--filled:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(91, 108, 255, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(91, 108, 255, 0.25);
}

/* ── Photo ── */
.hero__photo {
  position: absolute;
  bottom: 0;
  right: 6%;
  width: clamp(220px, 22vw, 300px);
  z-index: 1;
  animation: fadeInUp 0.7s ease 0.35s both;
}

.hero__img {
  width: 100%;
  height: clamp(300px, 40vh, 420px);
  object-fit: cover;
  object-position: top center;
  border-radius: 40% 60% 0 0 / 50% 50% 0 0;
  filter: brightness(0.97) contrast(1.02);
}

/* ── Floating shapes ── */
.shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
}

.shape--1 {
  width: 240px;
  height: 240px;
  background: var(--blue-light);
  top: 8%;
  left: -4%;
  animation: drift1 8s ease-in-out infinite;
}

.shape--2 {
  width: 100px;
  height: 140px;
  background: var(--blue-light);
  top: 15%;
  right: 8%;
  border-radius: 50%;
  animation: drift2 7s ease-in-out infinite;
}

.shape--3 {
  width: 70px;
  height: 70px;
  background: var(--blue-light);
  bottom: 30%;
  left: 12%;
  animation: drift3 6s ease-in-out infinite;
}

.shape--4 {
  width: 160px;
  height: 110px;
  background: var(--blue);
  bottom: 20%;
  right: 28%;
  border-radius: 30px;
  animation: drift4 9s ease-in-out infinite;
}

/* ── Scroll indicator ── */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: fadeInUp 0.5s ease 0.8s both;
}

.hero__scroll-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  opacity: 0.6;
}

.hero__scroll-arrow {
  font-size: 1rem;
  color: var(--gray);
  opacity: 0.5;
  animation: bob 1.6s ease-in-out infinite;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(18px, -14px); }
  66%       { transform: translate(-10px, 10px); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  40%       { transform: translate(-16px, 12px) rotate(8deg); }
  70%       { transform: translate(10px, -8px) rotate(-4deg); }
}

@keyframes drift3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(12px, -18px); }
}

@keyframes drift4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  30%       { transform: translate(-14px, -10px) rotate(-5deg); }
  70%       { transform: translate(18px, 8px) rotate(5deg); }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
  background: var(--dark);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.stats__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  /* 4 stat cols interleaved with 3 1px divider cols */
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  align-items: center;
}

/* Vertical separator line */
.stats__divider {
  background: rgba(255, 255, 255, 0.18);
  height: 56px;
  justify-self: center;
  width: 1px;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
  gap: 12px;
}

.stats__number-wrap {
  display: flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1;
}

.stats__prefix,
.stats__num,
.stats__suffix {
  font-family: var(--font-h1);
  font-weight: 700;
  font-size: clamp(2.6rem, 4.5vw, 3.5rem);
  color: var(--blue);
  line-height: 1;
}

.stats__label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  max-width: 150px;
}

.stats__note {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 3px;
  letter-spacing: 0.01em;
}

@media (max-width: 760px) {
  .stats {
    padding: 60px 24px;
  }

  .stats__inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 48px;
  }

  .stats__divider {
    display: none;
  }

  .stats__item {
    padding: 0 16px;
  }
}

@media (max-width: 380px) {
  .stats__inner {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }
}

/* ============================================================
   SHARED UTILITIES (used across sections)
   ============================================================ */

/* Small uppercase section label — "About", "Selected Work", etc. */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Tool/category pill tag */
.pill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--dark);
  background: rgba(167, 191, 255, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--bg);
  padding: 120px 40px 80px;
  position: relative;
}

.about__inner {
  max-width: 760px;
  margin: 0 auto;
}

/* ── Left: text ── */
.about__headline {
  font-family: var(--font-h2);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about__body p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.75;
}

.why-os {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(91, 108, 255, 0.18);
}

.why-os__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.why-os__word {
  font-family: var(--font-h2);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blue);
  letter-spacing: -0.01em;
}

.why-os__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 600px) {
  .why-os {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.about__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

/* ── Right: photo ── */
.about__photo-wrap {
  display: flex;
  justify-content: center;
}

.about__photo {
  width: 100%;
  max-width: 440px;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
  display: block;
}

/* ── Scrapbook ── */
.about__scrapbook {
  flex-shrink: 0;
  min-width: 420px;
  margin-left: auto;
  align-self: flex-start;
}

.scrapbook-page {
  background: #fefaf3;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 32px 28px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transform: rotate(-1deg);
}

.scrapbook-title {
  font-family: inherit;
  font-size: 0.8rem;
  font-style: italic;
  color: #888;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.scrapbook-photo {
  position: relative;
  background: #fff;
  padding: 10px 10px 36px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.scrapbook-photo--1 { transform: rotate(-2.5deg); }
.scrapbook-photo--2 { transform: rotate(1.8deg); }
.scrapbook-photo--3 { transform: rotate(-1.2deg); }

.scrapbook-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #ddd;
}

.scrapbook-caption {
  font-size: 0.72rem;
  font-style: italic;
  color: #aaa;
  text-align: center;
  margin-top: 6px;
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
}

.tape {
  position: absolute;
  width: 60px;
  height: 20px;
  background: rgba(255, 255, 180, 0.75);
  top: -10px;
  left: 50%;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.scrapbook-photo--1 .tape--top { transform: translateX(-50%) rotate(-2deg); }
.scrapbook-photo--2 .tape--top { transform: translateX(-50%) rotate(1.5deg); }
.scrapbook-photo--3 .tape--top { transform: translateX(-50%) rotate(-1deg); }

/* ── Squiggly connector ── */
.squiggle {
  max-width: var(--max-w);
  margin: 56px auto 0;
  padding: 0 40px;
  overflow: visible;
}

.squiggle svg {
  width: 100%;
  height: 54px;
  display: block;
}

@media (max-width: 900px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Photo below text on mobile */
  .about__photo-wrap {
    order: 2;
  }

  .about__photo {
    max-width: 380px;
    height: 400px;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 80px 24px 60px;
  }

  .squiggle {
    padding: 0 24px;
  }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

/* Scroll-triggered fade-in (used by later sections) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   FIGUREOUTABLE
   ============================================================ */
.figureoutable {
  background: var(--bg);
  padding: 48px 40px;
}

.figureoutable__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.figureoutable__line {
  display: block;
  width: 100px;
  height: 1px;
  background: var(--blue);
  opacity: 0.35;
  flex-shrink: 0;
}

.figureoutable__text {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--gray);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .figureoutable {
    padding: 40px 24px;
  }

  .figureoutable__line {
    width: 48px;
  }

  .figureoutable__text {
    font-size: 1.1rem;
    white-space: normal;
    text-align: center;
  }
}

/* ============================================================
   WORK / CASE STUDIES
   ============================================================ */
.work {
  background: var(--bg);
  padding: 60px 40px 120px;
  position: relative;
}

.work__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.work__headline {
  font-family: var(--font-h2);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 12px;
  margin-bottom: 24px;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Card ── */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: none;
  position: relative;
  overflow: hidden;
}

.card__img {
  width: calc(100% + 64px);
  margin: -32px -32px 4px;
  height: 156px;
  object-fit: cover;
  object-position: top center;
  display: block;
  flex-shrink: 0;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  transition: transform 0.35s ease;
}

.card:hover .card__img {
  transform: scale(1.03);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

/* Card-specific pill — blue on blue tint */
.pill--accent {
  background: rgba(91, 108, 255, 0.12);
  color: var(--blue);
  align-self: flex-start;
}

.card__title {
  font-family: var(--font-h2);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card__desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.75;
  flex: 1;
}

/* Standout metric — large, bold, blue */
.card__metric {
  font-family: var(--font-h1);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--blue);
  line-height: 1.1;
  letter-spacing: -0.02em;
  padding-top: 4px;
}

.card__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid var(--border);
  transition: gap 0.2s ease, color 0.2s ease;
}

.card__link:hover {
  gap: 10px;
  color: var(--dark);
}

@media (max-width: 900px) {
  .work__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .work {
    padding: 80px 24px;
  }

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

  .work__headline {
    margin-bottom: 36px;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav__inner {
    padding: 0 24px;
  }

  .nav__links {
    gap: 28px;
  }

  .hero {
    padding: calc(var(--nav-h) + 32px) 24px 80px;
    text-align: center;
  }

  /* Hide photo on small screens — it overlaps content */
  .hero__photo {
    display: none;
  }

  .shape--1 { width: 140px; height: 140px; }
  .shape--4 { display: none; }
}

@media (max-width: 480px) {
  .nav__links {
    gap: 20px;
  }

  .hero__headline {
    font-size: 2.2rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
}

/* ============================================================
   WORK — DYNAMIC ENHANCEMENTS
   ============================================================ */

/* 1. Needle squiggle underline */
.needle-wrap {
  position: relative;
  display: inline-block;
}

.needle-squiggle {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 14px;
  overflow: visible;
  pointer-events: none;
}

.squiggle-line {
  transition: stroke-dashoffset 0.9s ease 0.2s;
}

.needle-wrap.drawn .squiggle-line {
  stroke-dashoffset: 0;
}

/* 2. Card decor — dot cluster + spinning spark */
.card__decor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.card__dots {
  display: flex;
  gap: 5px;
  align-items: center;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  opacity: 0.65;
}

.card__spark {
  font-size: 0.95rem;
  color: var(--blue-light);
  display: inline-block;
  animation: spin-slow 8s linear infinite;
  line-height: 1;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* 3. Marquee strip */
.marquee {
  overflow: hidden;
  margin: 0 -40px 32px;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(
    to right, transparent, black 10%, black 90%, transparent
  );
  mask-image: linear-gradient(
    to right, transparent, black 10%, black 90%, transparent
  );
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee__item {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray);
  white-space: nowrap;
  padding: 0 18px;
  opacity: 0.65;
}

.marquee__dot {
  font-size: 0.7rem;
  color: var(--blue-light);
  opacity: 0.8;
  line-height: 1;
}

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

/* 4. Connector SVG */
.work__connector-wrap {
  margin: 4px 0 28px;
  overflow: visible;
}

.work__connector {
  width: 100%;
  height: 50px;
  display: block;
  overflow: visible;
}

/* 5. Card hover — alternating tilt + blue glow */
.card:nth-child(odd):hover {
  transform: translateY(-6px) rotate(1.5deg);
  box-shadow: 0 20px 56px rgba(91, 108, 255, 0.16);
}

.card:nth-child(even):hover {
  transform: translateY(-6px) rotate(-1.5deg);
  box-shadow: 0 20px 56px rgba(91, 108, 255, 0.16);
}

/* ── Filter bar ── */
.work__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--dark);
  background: rgba(167, 191, 255, 0.18);
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 6px 16px;
  cursor: none;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  line-height: 1.4;
}

.filter-btn:hover {
  background: rgba(167, 191, 255, 0.35);
  color: var(--blue);
}

.filter-btn--active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(91, 108, 255, 0.22);
}

/* ── Carousel ── */
.work__carousel {
  position: relative;
}

.work__grid {
  transition: opacity 0.25s ease;
}

.work__grid.is-fading {
  opacity: 0;
}

.card--hidden {
  display: none !important;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--gray);
  cursor: none;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.carousel-btn:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(91, 108, 255, 0.15);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: none;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.carousel-dot--active {
  background: var(--blue);
  transform: scale(1.25);
}

.carousel-dot:hover:not(.carousel-dot--active) {
  background: var(--blue-light);
}

/* 6. Gradient bleed at section bottom */
.work__gradient-bleed {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, rgba(220, 234, 233, 0.4));
  pointer-events: none;
}

@media (max-width: 560px) {
  .marquee {
    margin: 0 -24px 28px;
  }
}

/* ============================================================
   ABOUT — DYNAMIC ENHANCEMENTS
   ============================================================ */

/* 1. Circled word — transition managed entirely by JS */
.circle-word {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.circle-svg {
  position: absolute;
  left: -12px;
  top: 50%;
  width: calc(100% + 24px);
  height: 68px;
  transform: translateY(-50%) rotate(-2deg);
  overflow: visible;
  pointer-events: none;
}

/* 2. Photo frame + loose tick marks */
.photo-frame {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 440px;
}

.tick-mark {
  position: absolute;
  pointer-events: none;
  overflow: visible;
}

/* Each mark: different corner position + unique rotation angle */
.tick-mark--1 { top: 22px;    left: -18px;  transform: rotate(12deg);  }
.tick-mark--2 { top: -18px;   right: 44px;  transform: rotate(-22deg); }
.tick-mark--3 { top: 86px;    right: -18px; transform: rotate(28deg);  }
.tick-mark--4 { bottom: 48px; right: -18px; transform: rotate(-10deg); }
.tick-mark--5 { bottom: -16px; left: 54px;  transform: rotate(18deg);  }

@media (max-width: 900px) {
  .photo-frame {
    max-width: 380px;
  }
}

/* ============================================================
   HERO — COLLABORATIVE CURSOR + WORD CYCLER
   ============================================================ */
.word-cycler-wrap {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
}

.word-cycler {
  color: var(--blue);
  font-weight: 700;
}

/* Cursor: positioned absolutely at end of typed text */
.collab-cursor {
  position: absolute;
  width: 2px;
  height: 1.1em;
  bottom: 0.05em;
  left: 0;
  pointer-events: none;
}

/* The actual cursor line — blink animates only this pseudo-element */
.collab-cursor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
}

.collab-cursor--blinking::before {
  animation: collab-blink 500ms step-end infinite;
}

@keyframes collab-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* "Aidan" pill label above the cursor line */
.collab-cursor__label {
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1.4;
  user-select: none;
  letter-spacing: 0.02em;
}

/* Triangle notch pointing down from the label */
.collab-cursor__label::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px 3px 0 3px;
  border-style: solid;
  border-color: var(--blue) transparent transparent transparent;
}

/* ============================================================
   STATS — SHIMMER SWEEP
   ============================================================ */
.stats--shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.13) 50%,
    transparent
  );
  animation: shimmer-sweep 0.8s ease-in-out forwards;
  pointer-events: none;
}

@keyframes shimmer-sweep {
  from { transform: translateX(-100%); }
  to   { transform: translateX(260%);  }
}

/* ============================================================
   ABOUT — PILL SCALE REVEAL (each pill pops in individually)
   ============================================================ */
.about__pills .pill {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s ease,
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about__pills .pill.pill--visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   STACK — LOGO CARD ANIMATIONS
   ============================================================ */

/* Float bob — middle layer, never conflicts with outer or inner transforms */
@keyframes logo-float {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-8px); }
}

/* Click jiggle — fires on .logo-card__btn */
@keyframes logo-jiggle {
  0%   { transform: scale(1.15) rotate(0deg);  }
  25%  { transform: scale(1.15) rotate(-5deg); }
  50%  { transform: scale(1.15) rotate(5deg);  }
  75%  { transform: scale(1.15) rotate(-3deg); }
  100% { transform: scale(1)    rotate(0deg);  }
}

/* Mobile spring-in — used in grid fallback mode */
@keyframes logo-spring-in {
  0%   { opacity: 0; transform: scale(0.85); }
  60%  { opacity: 1; transform: scale(1.05); }
  80%  {             transform: scale(0.98); }
  100% {             transform: scale(1);    }
}

/* ============================================================
   FOOTER — BACKGROUND GRADIENT PULSE
   (Ready for when the footer section is built)
   ============================================================ */
@keyframes footer-pulse {
  0%, 100% { background-color: #1C1C1E; }
  50%       { background-color: #12122A; }
}

.footer {
  animation: footer-pulse 4s ease-in-out infinite;
}

/* ============================================================
   STACK — FLOATING LOGO FIELD
   ============================================================ */
.stack {
  background: var(--bg);
  padding: 100px 40px 0;
  position: relative;
}

.stack__inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.stack__headline {
  font-family: var(--font-h2);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--dark);
  margin: 12px 0 16px;
}

.stack__subline {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Logo field — the floating canvas ───────────────────── */
.logo-field {
  position: relative;
  height: 560px;
  margin-top: 48px;
  overflow: visible;
}

/* Outer positioner — burst entry transform lives here */
.logo-card {
  position: absolute;
  width: 72px;
  /* left / top set inline by JS */
}

/* Middle float layer — translateY loop, isolated from outer+inner */
.logo-card__float.is-floating {
  animation: logo-float var(--float-dur, 4s) ease-in-out var(--float-delay, 0s) infinite;
}

/* Visual card — hover + click interactions */
.logo-card__btn {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: none;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-card__btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.logo-card__btn.is-jigglin {
  animation: logo-jiggle 0.4s ease forwards;
}

.logo-card__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Fallback card when image fails to load */
.logo-card__fallback {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  line-height: 1.25;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* ── Mobile: 4-column grid, spring-in entry ─────────────── */
@media (max-width: 768px) {
  .stack { padding: 80px 20px 60px; }

  .logo-field {
    position: static;
    height: auto;
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    overflow: hidden;
  }

  .logo-card {
    position: static;
    width: auto;
    opacity: 1 !important;
    transform: none !important;
  }

  .logo-card__float { animation: none !important; }

  .logo-card__btn {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 14px;
    cursor: pointer;
  }

  .logo-card__img {
    width: 36px;
    height: 36px;
  }
}

/* ============================================================
   BLOG TEASER SECTION
   ============================================================ */
.blog {
  background: var(--bg);
  padding: 100px 40px 120px;
}

.blog__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.blog__headline {
  font-family: var(--font-h2);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--dark);
  margin: 12px 0 14px;
}

.blog__subline {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--gray);
  margin: 0 0 56px;
  line-height: 1.6;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

/* Blog card — same card DNA as work cards */
.blog-card {
  background: #fff;
  border: 1px solid #efefef;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(28, 28, 30, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(91, 108, 255, 0.1);
}

.blog-card__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue);
  background: rgba(91, 108, 255, 0.09);
  border-radius: 999px;
  padding: 4px 12px;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  align-self: flex-start;
}

.blog-card__title {
  font-family: var(--font-h2);
  font-size: 1.1rem;
  color: var(--dark);
  line-height: 1.4;
  margin: 0 0 14px;
  font-weight: 700;
}

.blog-card__excerpt {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.blog-card__read-time {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #9999AA;
}

.blog-card__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  transition: gap 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card__link:hover {
  gap: 8px;
}

.blog__cta {
  text-align: center;
}

@media (max-width: 900px) {
  .blog__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .blog { padding: 80px 20px 80px; }
  .blog__grid { grid-template-columns: 1fr; }
  .blog__subline { margin-bottom: 36px; }
}

/* ============================================================
   FOOTER / CTA
   ============================================================ */
.footer {
  /* background-color pulsed by footer-pulse animation above */
  padding: 100px 40px 0;
  text-align: center;
  /* reveal items inside need white text */
}

/* Override reveal opacity-start to be visible on dark bg:
   reveal still starts opacity:0 and animates to 1 — that's fine.
   Color is set by specific footer child rules below. */
.footer .reveal {
  /* inherit the animation; color comes from children */
}

.footer__inner {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.footer__quote {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
  padding: 0 24px;
}

.footer__quote-text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.75;
  margin: 0 0 12px;
}

.footer__quote-attr {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #9999AA;
  letter-spacing: 0.04em;
}

.footer__headline {
  font-family: var(--font-h1);
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  color: #fff;
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.footer__subline {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #9999AA;
  line-height: 1.7;
  margin: 0 0 48px;
}

.footer__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Ghost button — outline style for dark backgrounds */
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.footer__divider {
  max-width: 1160px;
  margin: 0 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer__bottom {
  padding: 28px 40px;
  text-align: center;
}

.footer__bottom p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #5A5A68;
  margin: 0;
}

@media (max-width: 580px) {
  .footer { padding: 80px 20px 0; }
  .footer__headline { font-size: 2rem; }
  .footer__buttons { flex-direction: column; align-items: center; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

/* Visible keyboard focus for all interactive elements */
.btn:focus-visible,
.nav__link:focus-visible,
.filter-btn:focus-visible,
.carousel-btn:focus-visible,
.carousel-dot:focus-visible,
.card__link:focus-visible,
.blog-card__link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Custom cursor only makes sense with a fine pointer that can hover.
   On touch / coarse pointers, restore the native cursor and hide the dot. */
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  .cursor { display: none; }
}

/* Respect users who ask for less motion: cut animations, transitions,
   and smooth scrolling; reveal anything that's normally animated in. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  body { cursor: auto; }
  .cursor { display: none; }

  /* Scroll-reveal elements must be visible without their JS-driven animation */
  .reveal { opacity: 1 !important; transform: none !important; }

  /* Stop the infinite marquee/float/drift loops in place */
  .marquee__track,
  .shape,
  .hero__scroll-arrow,
  .card__spark { animation: none !important; }
}

/* ============================================================
   HOW I WORK
   ============================================================ */
.how {
  background: var(--bg);
  padding: 100px 40px 40px;
}

.how__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.how__headline {
  font-family: var(--font-h2);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 8px 0 44px;
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.how-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.how-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.how-card__icon {
  font-size: 1.6rem;
  line-height: 1;
}

.how-card__title {
  font-family: var(--font-h2);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.how-card__desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ── Real-photo polaroids ── */
.how__photos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 56px;
}

.polaroid {
  background: #fff;
  padding: 12px 12px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.14);
  width: 220px;
  margin: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.polaroid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #eee;
}

.polaroid figcaption {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-style: italic;
  color: #9a9aa6;
  text-align: center;
  padding: 12px 4px 16px;
}

.polaroid--1 { transform: rotate(-2.5deg); }
.polaroid--2 { transform: rotate(1.6deg); }
.polaroid--3 { transform: rotate(-1.2deg); }

.polaroid:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 16px 36px rgba(0,0,0,0.2);
  z-index: 2;
}

@media (max-width: 900px) {
  .how__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .how { padding: 70px 24px 30px; }
  .how__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CARD HOVER POLISH — top accent bar + link nudge
   ============================================================ */
.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  z-index: 3;
}

.card:hover::after {
  transform: scaleX(1);
}

.card__link {
  transition: color 0.2s ease, gap 0.2s ease, transform 0.2s ease;
}

.card:hover .card__link {
  transform: translateX(3px);
}

/* ============================================================
   EASTER EGG — center-stage burst + springing card
   ============================================================ */
.egg-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 28, 30, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
  cursor: pointer;
}

.egg-overlay--in {
  background: rgba(28, 28, 30, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Confetti explodes from the exact center of the overlay */
.egg-burst {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}

.egg-confetti {
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 16px;
  border-radius: 2px;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  animation: egg-explode 1.25s cubic-bezier(0.18, 0.9, 0.32, 1) forwards;
}

@keyframes egg-explode {
  0%   { transform: translate(-50%, -50%) scale(0) rotate(0deg); opacity: 1; }
  12%  { transform: translate(-50%, -50%) scale(1.2) rotate(40deg); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 220px)) scale(0.9) rotate(var(--rot)); opacity: 0; }
}

/* The card springs up into the center */
.egg-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 22px;
  padding: 44px 48px 36px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(28, 28, 30, 0.35);
  cursor: default;
  max-width: 90vw;
  transform: scale(0) translateY(30px);
  opacity: 0;
  animation: egg-spring 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s forwards;
}

@keyframes egg-spring {
  0%   { transform: scale(0) translateY(30px); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.egg-card__spark {
  font-size: 2.6rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 14px;
  animation: spin-slow 6s linear infinite;
}

.egg-card__line {
  font-family: var(--font-h1);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.egg-card__line span { color: var(--blue); }

.egg-card__close {
  margin-top: 26px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--gray);
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.egg-card__close:hover {
  color: var(--dark);
  border-color: var(--gray);
}

/* Reduced motion: no spring, no explosion — just a clean fade-in */
@media (prefers-reduced-motion: reduce) {
  .egg-card {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .egg-card__spark { animation: none !important; }
  .egg-confetti { display: none !important; }
}
