/* ==========================================================================
   David Geller — calling card
   Light theme by default, dark theme via [data-theme="dark"] or system pref.
   ========================================================================== */

:root {
  --bg: #fffbf2;
  --bg-2: #fff4dd;
  --card: #ffffff;
  --ink: #17132a;
  --ink-2: #4b4664;
  --ink-3: #7c7793;
  --line: rgba(23, 19, 42, 0.1);
  --shadow: 0 20px 50px -20px rgba(23, 19, 42, 0.25);
  --shadow-lg: 0 40px 90px -30px rgba(23, 19, 42, 0.35);

  --pink: #ec6b9b;
  --orange: #f28a48;
  --yellow: #efc35c;
  --lime: #a9d46c;
  --green: #2fb48a;
  --teal: #3ab5c0;
  --blue: #5b8ded;
  --indigo: #6f72e0;
  --violet: #8f7be0;
  --magenta: #c26fd9;
  --red: #e2605f;

  --grad-hero: linear-gradient(120deg, var(--pink), var(--orange) 35%, var(--yellow) 60%, var(--teal) 85%, var(--violet));
  --font-display: "Bricolage Grotesque", "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", "Inter", system-ui, -apple-system, sans-serif;
  --radius: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0c1b;
    --bg-2: #171430;
    --card: #1b1833;
    --ink: #f6f3ff;
    --ink-2: #c7c2e0;
    --ink-3: #8d88a8;
    --line: rgba(255, 255, 255, 0.1);
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  }
}
:root[data-theme="dark"] {
  --bg: #0e0c1b;
  --bg-2: #171430;
  --card: #1b1833;
  --ink: #f6f3ff;
  --ink-2: #c7c2e0;
  --ink-3: #8d88a8;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; }

/* ---------- background blobs ---------- */
.blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.34;
  animation: drift 26s ease-in-out infinite alternate;
  will-change: transform;
}
.blob-1 { width: 55vw; height: 55vw; background: var(--pink); top: -20vw; left: -15vw; }
.blob-2 { width: 45vw; height: 45vw; background: var(--yellow); top: 10vh; right: -15vw; animation-delay: -8s; animation-duration: 32s; }
.blob-3 { width: 40vw; height: 40vw; background: var(--teal); bottom: -15vw; left: 20vw; animation-delay: -15s; animation-duration: 29s; }
.blob-4 { width: 35vw; height: 35vw; background: var(--violet); bottom: 10vh; right: 5vw; animation-delay: -4s; animation-duration: 35s; }
:root[data-theme="dark"] .blob { opacity: 0.2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .blob { opacity: 0.2; } }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, -4vh) scale(1.12); }
  100% { transform: translate(-4vw, 6vh) scale(0.95); }
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 14px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px; background: var(--grad-hero);
  background-size: 300% 300%; animation: gradient-shift 8s ease infinite;
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 0.95rem;
  box-shadow: 0 6px 16px -6px rgba(255, 77, 141, 0.6);
}
.nav-links { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 0.93rem; padding: 8px 12px; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.nav-links a:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }
@media (max-width: 640px) { .nav-links a:not(.theme-btn) { display: none; } }
.theme-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center;
  font-size: 1.1rem; transition: transform 0.4s var(--ease-bounce), background 0.2s;
}
.theme-btn:hover { transform: rotate(25deg) scale(1.08); }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 40px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; text-align: center; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2); background: var(--card); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow);
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18, 185, 129, 0.6); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(18, 185, 129, 0.6); } 100% { box-shadow: 0 0 0 12px rgba(18, 185, 129, 0); } }

.hero h1 {
  font-size: clamp(3.2rem, 9.5vw, 7.4rem); font-weight: 800; margin: 22px 0 10px;
  line-height: 0.95; letter-spacing: -0.04em;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: inline-block; transform: translateY(110%); animation: rise 0.9s var(--ease) forwards; }
.hero h1 .line:nth-child(2) span { animation-delay: 0.12s; }
@keyframes rise { to { transform: translateY(0); } }
.gradient-text {
  background: var(--grad-hero); background-size: 300% 300%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradient-shift 7s ease infinite;
}
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.tagline { font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 500; color: var(--ink-2); margin: 18px 0 0; max-width: 620px; }
@media (max-width: 860px) { .tagline { margin-inline: auto; } .rotator > span { justify-self: center; } }
.rotator { display: inline-grid; vertical-align: bottom; text-align: left; }
.rotator > span {
  grid-area: 1 / 1; font-weight: 800; font-family: var(--font-display);
  color: var(--ink); opacity: 0; transform: translateY(14px) rotateX(-40deg);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  white-space: nowrap;
}
.rotator > span.on { opacity: 1; transform: none; }
.rotator > span::after { content: ""; display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; margin-left: 4px; vertical-align: 0.1em; background: var(--pink); }
.rotator > span:nth-child(2)::after { background: var(--orange); }
.rotator > span:nth-child(3)::after { background: var(--teal); }
.rotator > span:nth-child(4)::after { background: var(--violet); }
.rotator > span:nth-child(5)::after { background: var(--green); }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
@media (max-width: 860px) { .hero-cta { justify-content: center; } }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.35s var(--ease-bounce), box-shadow 0.3s, background 0.3s;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 14px 30px -12px rgba(23, 19, 42, 0.6); }
.btn-primary:hover { box-shadow: 0 20px 40px -12px rgba(23, 19, 42, 0.6); }
.btn-ghost { border-color: var(--line); background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.btn-sm { padding: 10px 16px; font-size: 0.88rem; }

/* portrait */
.portrait-wrap { position: relative; justify-self: center; width: min(360px, 78vw); aspect-ratio: 1; }
.portrait-ring {
  position: absolute; inset: -14px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--pink), var(--orange), var(--yellow), var(--lime), var(--teal), var(--blue), var(--violet), var(--magenta), var(--pink));
  animation: spin 14s linear infinite; filter: saturate(1.2);
}
.portrait-ring::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--bg); }
@keyframes spin { to { transform: rotate(360deg); } }
.portrait {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.sticker {
  position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 10px 14px; font-weight: 700; font-size: 0.85rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}
.sticker-1 { top: 4%; left: -12%; transform: rotate(-8deg); animation-delay: -1s; }
.sticker-2 { bottom: 8%; right: -14%; transform: rotate(6deg); animation-delay: -2.5s; }
.sticker-3 { bottom: -6%; left: 4%; transform: rotate(-3deg); animation-delay: -4s; }
@media (max-width: 480px) { .sticker-1 { left: -4%; } .sticker-2 { right: -4%; } }

/* ---------- marquee ---------- */
.marquee {
  margin: 48px 0 0; padding: 16px 0; overflow: hidden; white-space: nowrap;
  background: var(--ink); color: var(--bg); transform: rotate(-1.2deg) scale(1.03);
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.02em;
}
.marquee-track { display: inline-flex; gap: 40px; animation: marquee 40s linear infinite; padding-right: 40px; }
.marquee-track span { display: inline-flex; align-items: center; gap: 40px; }
.marquee-track i { font-style: normal; color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- stats ---------- */
.stats { padding: 70px 0 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px 22px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-bounce);
}
.stat:hover { transform: translateY(-4px) rotate(-1deg); }
.stat::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 5px; background: var(--c, var(--pink)); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat small { color: var(--ink-3); font-weight: 600; font-size: 0.9rem; }

/* ---------- sections ---------- */
section { padding: 70px 0; scroll-margin-top: 70px; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; margin: 12px 0 14px; letter-spacing: -0.035em; }
.sec-head p { color: var(--ink-2); font-size: 1.1rem; margin: 0; }
.kicker { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink); }

/* ---------- project cards (flip) ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2); padding: 8px 16px;
  border-radius: 999px; font-weight: 700; font-size: 0.85rem; cursor: pointer;
  font-family: var(--font-body); transition: all 0.25s var(--ease);
}
.chip:hover { transform: translateY(-2px); color: var(--ink); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.card {
  position: relative; min-height: 440px; cursor: pointer; outline: none;
  transform-style: preserve-3d; -webkit-transform-style: preserve-3d; will-change: transform;
  /* Perspective lives on each card, not the grid, so every card turns on its own axis.
     With it on the grid, cards far from the grid's centre (all of them, on a one-column phone layout) skewed.
     The origin must be the card's own centre for the same reason: the vanishing point follows it. */
  transform-origin: center center;
  transform: perspective(1400px) rotateY(0deg);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.grid .card.flipped { transform: perspective(1400px) rotateY(180deg); }
.card.flipped { z-index: 2; }
/* Phones: a wide, tall card swinging through a strong perspective looms at the viewer.
   A longer lens and a quicker turn keep it calm. */
@media (hover: none), (max-width: 700px) {
  .card { transform: perspective(2400px) rotateY(0deg); transition-duration: 0.55s; }
  .grid .card.flipped { transform: perspective(2400px) rotateY(180deg); }
}
.card.hide { display: none; }
.card:focus-visible .face-front { box-shadow: 0 0 0 4px var(--c); }
.face {
  position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; will-change: transform;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.face-front {
  background: var(--card); padding: 26px;
  background-image: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 60%);
}
.face-back {
  transform: rotateY(180deg); background: var(--c); color: #fff; padding: 24px 24px 20px;
  background-image: linear-gradient(160deg, color-mix(in srgb, var(--c) 100%, #fff 0%), color-mix(in srgb, var(--c) 70%, #000));
}
.card-icon {
  width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; overflow: hidden;
  background: #fff; box-shadow: 0 14px 28px -12px var(--c), 0 0 0 1px var(--line);
  transition: transform 0.5s var(--ease-bounce);
}
.card-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (hover: hover) and (pointer: fine) { .card:hover .card-icon { transform: rotate(-8deg) scale(1.08); } }
.card-tag { margin-top: auto; padding: 18px 64px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, transparent); color: color-mix(in srgb, var(--c) 70%, var(--ink)); }
.card h3 { font-size: 1.75rem; font-weight: 800; margin: 20px 0 8px; letter-spacing: -0.03em; }
.card .blurb { color: var(--ink-2); margin: 0; font-size: 1rem; }
.card .years { position: absolute; top: 22px; right: 22px; font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; color: var(--ink-3); background: var(--card); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.flip-hint { position: absolute; bottom: 20px; right: 22px; color: var(--ink-3); font-size: 0.78rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.flip-hint svg { width: 16px; height: 16px; animation: wiggle 2.4s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(180deg); } }

.face-back h3 { font-size: 1.4rem; font-weight: 800; margin: 0 0 10px; }
.face-back p { margin: 0 0 10px; font-size: 0.92rem; line-height: 1.45; color: rgba(255, 255, 255, 0.92); }
.face-back ul { margin: 0 0 10px; padding-left: 18px; font-size: 0.86rem; line-height: 1.4; color: rgba(255, 255, 255, 0.9); }
.face-back ul li { margin-bottom: 3px; }
.back-scroll { overflow: auto; flex: 1; min-height: 0; padding-right: 4px; }
.back-actions { margin-top: auto; padding-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.link-btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 0.9rem;
  color: var(--c); background: #fff; padding: 10px 16px; border-radius: 999px;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
}
.link-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5); }
.link-btn.outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.7); }
.store-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.store-badges a { display: inline-block; transition: transform 0.3s var(--ease-bounce); border-radius: 7px; }
.store-badges a:hover { transform: translateY(-2px) scale(1.04); }
.store-badges img { height: 40px; width: auto; }
.close-x {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, 0.22); color: #fff; font-size: 1.1rem; cursor: pointer;
  display: grid; place-items: center; font-weight: 800;
}
@media (hover: hover) and (pointer: fine) { .close-x { display: none; } }

/* ---------- timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 4px; border-radius: 4px; background: var(--line); }
.timeline .rail { position: absolute; left: 10px; top: 0; width: 4px; border-radius: 4px; background: var(--grad-hero); background-size: 100% 300%; height: var(--progress, 0%); transition: height 0.2s linear; }
.tl-item { position: relative; padding: 0 0 34px 18px; }
.tl-item::before {
  content: ""; position: absolute; left: -32px; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--c, var(--pink)); border: 4px solid var(--bg); box-shadow: 0 0 0 3px var(--c, var(--pink));
  transition: transform 0.4s var(--ease-bounce);
}
.tl-item:hover::before { transform: scale(1.3); }
.tl-item .year { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--c, var(--pink)); letter-spacing: 0.02em; }
.tl-item h4 { font-size: 1.35rem; font-weight: 800; margin: 4px 0 6px; }
.tl-item p { margin: 0; color: var(--ink-2); max-width: 640px; }
.tl-item p a { color: var(--c, var(--pink)); font-weight: 700; text-decoration: none; white-space: nowrap; }
.tl-item p a:hover { text-decoration: underline; }
.tl-shot { display: block; width: min(300px, 100%); height: auto; margin-top: 14px; border-radius: 6px; border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(-1.5deg); transition: transform 0.4s var(--ease-bounce); image-rendering: auto; }
.tl-shot:hover { transform: rotate(0) scale(1.03); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy p { font-size: 1.1rem; color: var(--ink-2); margin: 0 0 18px; }
.about-copy p b { color: var(--ink); }
.pull {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.25; letter-spacing: -0.02em;
}
.pull::before { content: "“"; position: absolute; top: -30px; left: 14px; font-size: 9rem; color: var(--pink); opacity: 0.18; font-family: Georgia, serif; }
.pull small { display: block; margin-top: 16px; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; color: var(--ink-3); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; transition: transform 0.35s var(--ease-bounce); }
.fact:hover { transform: translateY(-3px) rotate(1deg); }
.fact .em { font-size: 1.6rem; }
.fact b { display: block; font-size: 0.95rem; }
.fact span { font-size: 0.82rem; color: var(--ink-3); }

/* ---------- contact / footer ---------- */
.contact-band {
  border-radius: 34px; padding: clamp(40px, 6vw, 70px); text-align: center; color: #fff; position: relative; overflow: hidden;
  background: var(--grad-hero); background-size: 300% 300%; animation: gradient-shift 10s ease infinite;
}
.contact-band h2 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.04em; margin: 0 0 12px; }
.contact-band p { font-size: 1.15rem; max-width: 560px; margin: 0 auto 26px; color: rgba(255, 255, 255, 0.92); }
.contact-band .btn-primary { background: #fff; color: var(--ink); }
.contact-band .btn-ghost { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: rgba(255, 255, 255, 0.4); backdrop-filter: blur(8px); }
.contact-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i {
  position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; opacity: 0.85;
  animation: fall linear infinite;
}
@keyframes fall { 0% { transform: translateY(-20px) rotate(0); } 100% { transform: translateY(110vh) rotate(720deg); } }

footer { padding: 50px 0 60px; color: var(--ink-3); font-size: 0.9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--ink); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px) scale(0.98); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-flip { opacity: 0; }
.reveal-flip.in { opacity: 1; animation: flip-in 0.9s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes flip-in {
  from { opacity: 0; transform-origin: top center; transform: perspective(1200px) rotateX(-22deg) translateY(30px); }
  to { opacity: 1; transform-origin: top center; transform: none; }
}

/* ---------- cursor glow (desktop) ---------- */
.glow { position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 0; left: 0; top: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--pink) 12%, transparent), transparent 65%);
  transform: translate(-50%, -50%); transition: opacity 0.4s; opacity: 0; mix-blend-mode: multiply; }
:root[data-theme="dark"] .glow { mix-blend-mode: screen; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .glow { mix-blend-mode: screen; } }
@media (hover: none) { .glow { display: none; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.2s !important; }
  .reveal, .reveal-flip { opacity: 1; transform: none; }
  .hero h1 .line span { transform: none; }
  .marquee-track { animation: none; }
}
