/* =============================================================
   Siya Saini · CX Portfolio v2
   Theme: pink millimeter grid · Figma selection style · cute
   ============================================================= */

:root {
  --pink-50:  #fff6fa;
  --pink-100: #ffeaf3;
  --pink-200: #ffd1e3;
  --pink-300: #ffaccf;
  --pink-400: #ff7ab6;
  --pink-500: #ff4fa8;
  --pink-600: #ea2f8d;
  --pink-700: #b9166b;

  --plum-1:   #4a2152;
  --plum-2:   #6b2f78;
  --plum-3:   #8e4a99;
  --plum-soft:#b783c0;

  --lav-1:    #efe1ff;
  --lav-2:    #d8c0ff;
  --lav-3:    #b89aff;

  --yellow:   #fff3c2;
  --cream:    #fff8ef;

  /* Selection */
  --sel: #ff4fa8;
  --sel-bg: rgba(255,79,168,.06);
  --sel-handle-bg: #ffffff;
  --sel-handle-stroke: #ff4fa8;
  --sel-label: #ea2f8d;

  /* Grid */
  --grid-base: #fff3f7;
  --grid-minor: rgba(255,170,200,.32);
  --grid-mid:   rgba(255,130,180,.28);
  --grid-major: rgba(255,90,160,.42);
  --grid-glow:  rgba(255,255,255,.6);

  --font-display: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'Inter', ui-monospace, monospace;
  --font-hand: 'Caveat', 'Comic Sans MS', cursive;
}

[data-theme="night"] {
  --grid-base: #1c1030;
  --grid-minor: rgba(180,140,230,.18);
  --grid-mid:   rgba(200,120,220,.24);
  --grid-major: rgba(230,130,220,.38);
  --grid-glow:  rgba(80,40,120,.6);

  --sel: #ff85c9;
  --sel-bg: rgba(255,133,201,.08);
  --sel-handle-bg: #ffeaf3;
  --sel-handle-stroke: #ff85c9;
  --sel-label: #ffb1dc;

  --plum-1: #fdeaff;
  --plum-2: #f4d8ff;
  --plum-3: #d5b1e0;
  --plum-soft: #a585b3;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: var(--font-body);
  color: var(--plum-1);
  background: var(--grid-base);
  overflow-x: hidden;
  min-height: 100%;
}
@media (pointer: fine) {
  html, body { cursor: none; }
}
body {
  transition: background .8s ease;
  position: relative;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* =============================================================
   BACKGROUND — moving pastel pink/purple gradient (+ faint grid)
   ============================================================= */
.grid-bg {
  position: fixed; inset: -20%;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(120deg,
      #ffd6ee 0%,
      #f6c5ff 18%,
      #d8b4ff 38%,
      #ffc0e8 58%,
      #ffd9f3 78%,
      #e0c0ff 100%
    );
  background-size: 280% 280%;
  animation: gradient-flow 22s ease-in-out infinite;
  transition: background-color .8s ease, filter .8s ease;
}
[data-theme="night"] .grid-bg {
  background:
    linear-gradient(120deg,
      #2a1340 0%,
      #4a1f6e 20%,
      #3a1a55 40%,
      #5b2a85 60%,
      #321448 80%,
      #2a1340 100%
    );
  background-size: 280% 280%;
}

/* Crisp white Figma-canvas grid laid over the gradient */
.grid-glow {
  position: fixed; inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    /* 80px major lines */
    linear-gradient(0deg,  rgba(255,255,255,.55) 0 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.55) 0 1px, transparent 1px),
    /* 16px minor lines */
    linear-gradient(0deg,  rgba(255,255,255,.22) 0 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px);
  background-size:
    80px 80px,
    80px 80px,
    16px 16px,
    16px 16px;
  opacity: 1;
}
[data-theme="night"] .grid-glow {
  background-image:
    linear-gradient(0deg,  rgba(255,220,240,.32) 0 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,220,240,.32) 0 1px, transparent 1px),
    linear-gradient(0deg,  rgba(255,220,240,.14) 0 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,220,240,.14) 0 1px, transparent 1px);
}

@keyframes gradient-flow {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 50% 100%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 50% 0%; }
  100% { background-position: 0% 50%; }
}

/* =============================================================
   AMBIENT — bright sun (day) + crescent moon + glittery stars (night)
   ============================================================= */
.ambient {
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* SUN — visible in day mode */
.sun {
  position: absolute;
  top: -60px; left: -50px;
  width: 300px; height: 300px;
  filter: drop-shadow(0 0 30px rgba(255,200,120,.5));
  animation: sun-drift 18s ease-in-out infinite;
}
.sun__svg { width: 100%; height: 100%; }
.sun__halo  { animation: halo-pulse 5s ease-in-out infinite; transform-origin: center; }
.sun__rays  { animation: spin-slow 32s linear infinite; transform-origin: center; }
.sun__flares g, .sun__flares { transform-origin: center; }
.sun__flares { animation: flares-orbit 28s linear infinite; }
.flare.f1 { animation: flare-pulse 6s ease-in-out infinite; }
.flare.f2 { animation: flare-pulse 6s ease-in-out infinite 1.5s; }
.flare.f3 { animation: flare-pulse 6s ease-in-out infinite 3s; }
.flare.f4 { animation: flare-pulse 6s ease-in-out infinite 4.5s; }
.sun__core  { filter: drop-shadow(0 0 12px rgba(255,220,120,.7)); }
.sun__face  { animation: floaty 6s ease-in-out infinite; transform-origin: center; }

[data-theme="night"] .sun { display: none; }

/* CRESCENT MOON — visible in night mode */
.moon {
  position: absolute;
  top: 70px; right: 90px;
  width: 110px; height: 110px;
  display: none;
  animation: floaty 8s ease-in-out infinite;
}
[data-theme="night"] .moon { display: block; }

.moon__crescent {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff8e0 0%, #f6e3a8 55%, #d4b65a 100%);
  /* The inset box-shadow on the right + bottom carves out the dark side → crescent */
  box-shadow:
    inset -28px -10px 0 -4px rgba(20,12,42,.85),
    0 0 50px rgba(255,236,180,.55),
    0 0 100px rgba(255,236,180,.3);
}
.moon__glow {
  position: absolute; inset: -30%;
  background: radial-gradient(circle, rgba(255,236,180,.35) 0%, transparent 65%);
  border-radius: 50%;
  z-index: -1;
  animation: halo-pulse 5s ease-in-out infinite;
}
.moon__crater {
  position: absolute; border-radius: 50%;
  background: rgba(140,110,60,.28);
  box-shadow: inset 1px 1px 2px rgba(0,0,0,.15);
}
.moon__crater.c1 { width: 14px; height: 14px; top: 28%; left: 22%; }
.moon__crater.c2 { width: 8px;  height: 8px;  top: 50%; left: 18%; }
.moon__crater.c3 { width: 18px; height: 18px; top: 65%; left: 38%; }

/* STARS — glittery 4-point sparkles (injected by JS, see .star styling) */
.stars { position: absolute; inset: 0; display: none; }
[data-theme="night"] .stars { display: block; }
.stars .star {
  position: absolute;
  color: #fff;
  font-size: 12px;
  text-shadow:
    0 0 6px rgba(255,255,255,.95),
    0 0 14px rgba(255,236,180,.7);
  animation: twinkle 2.6s ease-in-out infinite;
  transform-origin: center;
  font-family: 'Quicksand', sans-serif;
}
.stars .star::before { content: '✦'; display: block; }

.shooting-star {
  position: absolute;
  top: 22%; left: -10%;
  width: 140px; height: 2px;
  background: linear-gradient(to right, transparent, #fff, transparent);
  filter: drop-shadow(0 0 8px #fff);
  opacity: 0;
  transform: rotate(15deg);
}

/* =============================================================
   TOOLBAR
   ============================================================= */
.toolbar {
  position: sticky; top: 14px;
  z-index: 50;
  margin: 14px auto 0;
  max-width: 1480px;
  padding: 8px 10px 8px 14px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,79,168,.25);
  border-radius: 14px;
  box-shadow: 0 8px 30px -10px rgba(255,79,168,.25);
}
[data-theme="night"] .toolbar {
  background: rgba(40,22,60,.7);
  border-color: rgba(255,133,201,.3);
  color: #fff;
}

.toolbar__brand { display: flex; align-items: center; gap: 8px; padding-right: 12px; border-right: 1px dashed rgba(255,79,168,.3); }
.brand__logo {
  width: 22px; height: 22px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 30%, #fff 0 3px, transparent 4px),
    linear-gradient(135deg, #ff7ab6, #b89aff);
  box-shadow: 0 0 0 1.5px #fff, 0 4px 10px rgba(255,79,168,.4);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.01em;
}
.brand__dot { color: var(--pink-500); }
.brand__path {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--plum-soft);
  letter-spacing: -.01em;
}

.toolbar__center { flex: 1; display: flex; justify-content: center; }
.presence {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 6px;
  background: rgba(255,79,168,.08);
  border-radius: 999px;
  font-size: 12px;
  color: var(--plum-2);
  font-weight: 600;
}
[data-theme="night"] .presence { background: rgba(255,133,201,.15); color: #fde6ff; }
.presence__avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -6px;
  display: inline-block;
}
.presence__avatar:first-child { margin-left: 0; }
.presence__avatar.a1 { background: linear-gradient(135deg, #ff7ab6, #ff4fa8); }
.presence__avatar.a2 { background: linear-gradient(135deg, #b89aff, #8e5bff); }
.presence__avatar.a3 { background: linear-gradient(135deg, #ffd76a, #ff8a5b); }
.presence__count { margin-left: 4px; }

.toolbar__tools { display: flex; gap: 6px; align-items: center; }

.tool-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,79,168,.3);
  background: rgba(255,255,255,.7);
  color: var(--plum-1);
  font-weight: 600;
  font-size: 13px;
  font-family: var(--font-body);
  transition: all .25s;
}
@media (pointer: fine) { .tool-btn { cursor: none; } }
.tool-btn:hover { transform: translateY(-1px); background: #fff; box-shadow: 0 4px 14px rgba(255,79,168,.3); }
[data-theme="night"] .tool-btn { background: rgba(80,40,110,.7); color: #fff; border-color: rgba(255,133,201,.35); }
[data-theme="night"] .tool-btn:hover { background: rgba(100,50,130,.85); }

.tool-btn--cta {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255,79,168,.55);
  padding: 7px 14px;
}
.tool-btn--cta:hover { color: #fff; background: linear-gradient(135deg, var(--pink-500), var(--pink-600)); transform: translateY(-1px); }
.tool-btn__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.4);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
  50% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

.theme-toggle { position: relative; min-width: 38px; min-height: 32px; justify-content: center; }
.theme-icon { transition: opacity .4s, transform .4s; position: absolute; }
.theme-icon--moon { opacity: 0; transform: rotate(-90deg); }
[data-theme="night"] .theme-icon--sun  { opacity: 0; transform: rotate(90deg); }
[data-theme="night"] .theme-icon--moon { opacity: 1; transform: rotate(0); }

/* =============================================================
   CANVAS + FRAMES (Figma selection-style)
   ============================================================= */
.canvas {
  position: relative;
  margin: 60px auto 80px;
  padding: 40px 24px;
  max-width: 1600px;
  min-height: 2300px;
}

.frame {
  position: absolute;
  width: var(--w, 360px);
  background: transparent;
  outline: 1.5px solid var(--sel);
  outline-offset: 0;
  user-select: none;
  will-change: transform;
  transition: outline-color .25s ease;
  z-index: 2;
}
.frame.is-placed .frame__inner { animation: frame-place-inner .55s cubic-bezier(.34,1.56,.64,1) both; }
.frame.is-dragging { z-index: 40; }
.frame:hover { outline-color: var(--pink-600); }

.frame__inner {
  position: relative;
  padding: 22px 24px;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  z-index: 1;
}
[data-theme="night"] .frame__inner {
  background: rgba(50,28,75,.86);
  color: #f9eaff;
}

/* Layer name label floating above-left */
.layer-label {
  position: absolute;
  top: -22px;
  left: -1px;
  height: 18px;
  display: inline-flex; align-items: center;
  padding: 0 8px;
  background: var(--sel);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  border-radius: 3px 3px 0 0;
  z-index: 2;
}
.layer-label::before { content: attr(data-l); }
.frame .layer-label::before { content: attr(data-l); }
/* feed the parent's data-layer through */
.frame .layer-label { display: inline-flex; }

/* Use ::before to render data-layer text on the label itself */
.frame .layer-label::after {
  content: attr(data-text);
}

/* Corner handles — persistent, sharp white squares with pink stroke */
.handle {
  position: absolute;
  width: 9px; height: 9px;
  background: var(--sel-handle-bg);
  border: 1.5px solid var(--sel-handle-stroke);
  border-radius: 1px;
  z-index: 3;
  pointer-events: auto;
}
@media (pointer: fine) { .handle { cursor: nwse-resize; } }
.handle--tl { top: -5px; left: -5px; }
.handle--tr { top: -5px; right: -5px; }
.handle--bl { bottom: -5px; left: -5px; }
.handle--br { bottom: -5px; right: -5px; }
.handle--tl, .handle--br { cursor: nwse-resize; }
.handle--tr, .handle--bl { cursor: nesw-resize; }

/* Rotation pip — small circle above center */
.handle--rot {
  width: 10px; height: 10px;
  border-radius: 50%;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1.5px solid var(--sel);
  cursor: grab;
}
.handle--rot::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  width: 1.5px; height: 14px;
  margin-left: -.75px;
  background: var(--sel);
}

/* Selection shadow (subtle) */
.frame__inner::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--sel-bg);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.frame:hover .frame__inner::after { opacity: 1; }

/* =============================================================
   HERO FRAME content
   ============================================================= */
.kicker {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,79,168,.12);
  color: var(--pink-600);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 14px;
}
.kicker--alt { background: rgba(255,215,106,.22); color: #b88200; }
[data-theme="night"] .kicker { background: rgba(255,133,201,.18); color: #ffe0f0; }
[data-theme="night"] .kicker--alt { background: rgba(255,215,106,.18); color: #ffe89a; }

.hero__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 8vw, 124px);
  line-height: .92;
  letter-spacing: -.02em;
  margin: 0 0 12px;
  color: var(--pink-600);
}
[data-theme="night"] .hero__name { color: #ffb1dc; }

.hero__role {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--plum-3);
  margin: 0 0 14px;
  font-weight: 600;
}
[data-theme="night"] .hero__role { color: #e8c8f0; }

.hero__sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--plum-2);
  margin: 0 0 22px;
}
[data-theme="night"] .hero__sub { color: #efd5f6; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.big-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--pink-400) 0%, var(--pink-500) 50%, var(--pink-600) 100%);
  color: #fff !important;
  border-radius: 14px;
  box-shadow: 0 12px 30px -10px rgba(255,79,168,.7), 0 2px 0 rgba(255,255,255,.25) inset;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.big-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s ease;
}
.big-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(255,79,168,.85); }
.big-cta:hover::before { transform: translateX(100%); }
.big-cta__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.22);
  border-radius: 10px;
  flex: 0 0 auto;
}
.big-cta__label { display: flex; flex-direction: column; line-height: 1.2; }
.big-cta__label strong { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.big-cta__label em { font-style: normal; font-size: 11.5px; opacity: .85; font-family: var(--font-mono); }
.big-cta__arrow { font-size: 22px; font-weight: 800; }
.big-cta--alt {
  background: linear-gradient(135deg, #ff7ab6, #ea2f8d);
  margin-top: 16px;
}

.ghost-cta {
  display: inline-flex; align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: transparent;
  color: var(--pink-600) !important;
  font-weight: 600;
  font-size: 14px;
  border: 1.5px dashed var(--pink-300);
}
.ghost-cta:hover { background: rgba(255,79,168,.08); }
[data-theme="night"] .ghost-cta { color: #ffb1dc !important; border-color: rgba(255,133,201,.35); }

/* =============================================================
   STICKY NOTE FRAME
   ============================================================= */
.frame--sticky .frame__inner {
  background: #fff5b5;
  padding: 20px 18px 22px;
  font-family: var(--font-hand);
  font-size: 22px;
  line-height: 1.2;
  color: #7a4b1a;
  text-align: center;
}
.frame--sticky em { color: #b9166b; font-style: italic; font-weight: 700; }
.sticky-pin {
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px;
  background: radial-gradient(circle at 30% 30%, #ffb0b0, #e63333 80%);
  border-radius: 50%;
  box-shadow: 0 3px 5px rgba(0,0,0,.3);
}

/* =============================================================
   AVATAR FRAME
   ============================================================= */
.avatar-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 16px; }
.avatar {
  position: relative;
  width: 130px; height: 140px;
  margin-bottom: 6px;
}
.avatar__hair {
  position: absolute; top: -4px; left: 50%; width: 110px; height: 80px;
  background: linear-gradient(135deg, #4a2a2a, #2a1414);
  border-radius: 60% 60% 30% 30% / 80% 80% 20% 20%;
  margin-left: -55px;
  z-index: 1;
}
.avatar__bun {
  position: absolute; top: -16px; right: 16px; width: 26px; height: 26px;
  background: #4a2a2a;
  border-radius: 50%;
  z-index: 1;
}
.avatar__bun::after {
  content: '✿';
  position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  color: var(--pink-400);
  font-size: 14px;
}
.avatar__face {
  position: absolute; top: 18px; left: 50%;
  width: 84px; height: 88px;
  margin-left: -42px;
  background: linear-gradient(135deg, #ffe2c4, #ffcfa3);
  border-radius: 50% 50% 45% 45% / 50% 50% 60% 60%;
  z-index: 2;
  box-shadow: inset -6px -8px 16px rgba(195,135,90,.3);
}
.avatar__eye {
  position: absolute; top: 36px;
  width: 8px; height: 11px;
  background: #2a1414;
  border-radius: 50%;
  animation: blink 4.5s ease-in-out infinite;
}
.avatar__eye.left  { left: 16px; }
.avatar__eye.right { right: 16px; }
.avatar__lash {
  position: absolute; top: 32px;
  width: 12px; height: 4px;
  border-top: 2px solid #2a1414;
  border-radius: 50% 50% 0 0;
}
.avatar__lash.left  { left: 14px; transform: rotate(-12deg); }
.avatar__lash.right { right: 14px; transform: rotate(12deg); }
.avatar__cheek {
  position: absolute; top: 55px;
  width: 14px; height: 8px; border-radius: 50%;
  background: rgba(255,120,180,.55);
}
.avatar__cheek.left  { left: 6px; }
.avatar__cheek.right { right: 6px; }
.avatar__smile {
  position: absolute; bottom: 18px; left: 50%;
  width: 22px; height: 10px;
  border-bottom: 2.5px solid #2a1414;
  border-radius: 0 0 22px 22px;
  transform: translateX(-50%);
}
.avatar__shoulders {
  position: absolute; bottom: 0; left: 50%;
  width: 110px; height: 36px;
  margin-left: -55px;
  background: linear-gradient(135deg, var(--pink-300), var(--pink-400));
  border-radius: 60px 60px 0 0;
  z-index: 1;
}
.avatar__sparkle {
  position: absolute;
  font-size: 18px;
  color: var(--pink-500);
  animation: sparkle-pulse 2.6s ease-in-out infinite;
}
.avatar__sparkle.s1 { top: 0;   left: -6px; animation-delay: 0s; }
.avatar__sparkle.s2 { top: 30px; right: -4px; animation-delay: 1s; color: #ffd76a; }
.avatar__sparkle.s3 { bottom: 10px; left: -10px; animation-delay: 2s; color: var(--lav-3); }
.avatar__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--plum-1); }
[data-theme="night"] .avatar__name { color: #fde6ff; }
.avatar__where { font-size: 12px; color: var(--plum-3); font-family: var(--font-mono); }
[data-theme="night"] .avatar__where { color: #e8c8f0; }

/* =============================================================
   GENERAL FRAME ELEMENTS
   ============================================================= */
.frame__h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -.01em;
  margin: 0 0 16px;
  color: var(--plum-1);
}
.frame__h--big {
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.05;
}
.frame__h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--plum-3);
  margin: 18px 0 8px;
  font-weight: 700;
}
[data-theme="night"] .frame__h { color: #fde6ff; }
[data-theme="night"] .frame__h3 { color: #e8c8f0; }

/* Job rows */
.job + .job { margin-top: 18px; padding-top: 18px; border-top: 1px dashed rgba(255,79,168,.25); }
.job__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.job__role { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--plum-1); }
[data-theme="night"] .job__role { color: #fff; }
.job__date { font-family: var(--font-mono); font-size: 11.5px; color: var(--plum-3); font-weight: 600; }
.job__co {
  display: inline-block;
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--pink-600);
  font-weight: 700;
}
[data-theme="night"] .job__co { color: #ffb1dc; }
.job__list { margin: 8px 0 0; padding: 0; list-style: none; }
.job__list li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--plum-2);
}
.job__list li::before {
  content: '✿';
  position: absolute; left: 0; top: 5px;
  color: var(--pink-400);
  font-size: 13px;
}
[data-theme="night"] .job__list li { color: #efd5f6; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe8f0 0%, #f3e3ff 100%);
  color: var(--plum-1);
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid rgba(255,79,168,.25);
  transition: transform .25s;
}
.chip:hover { transform: translateY(-2px) rotate(-1deg); }
[data-theme="night"] .chip {
  background: linear-gradient(135deg, rgba(255,159,210,.22), rgba(184,154,255,.28));
  color: #fde6ff;
  border-color: rgba(255,180,220,.3);
}
.chips--tools .chip--tool { background: linear-gradient(135deg, #ece1ff, #dceeff); }
[data-theme="night"] .chips--tools .chip--tool { background: linear-gradient(135deg, rgba(184,154,255,.3), rgba(95,207,255,.22)); }

/* Typography chip — each letter is a different typographic gesture */
.chip--typo {
  padding: 6px 14px;
  background: linear-gradient(135deg, #fff8d4 0%, #ffd5e8 50%, #e2cfff 100%);
  border-color: rgba(234,47,141,.45);
  letter-spacing: .01em;
  display: inline-flex; align-items: baseline; gap: 1px;
  font-size: 15px;
}
[data-theme="night"] .chip--typo {
  background: linear-gradient(135deg, rgba(255,243,194,.18), rgba(234,47,141,.22), rgba(184,154,255,.25));
  border-color: rgba(255,180,220,.45);
}
.chip--typo .t-serif { font-family: 'Fraunces', 'Times New Roman', serif; font-weight: 800; font-size: 17px; }
.chip--typo .t-ital  { font-family: 'Plus Jakarta Sans', sans-serif; font-style: italic; font-weight: 500; font-size: 15px; color: var(--pink-600); }
.chip--typo .t-mono  { font-family: 'Inter', ui-monospace, monospace; font-weight: 700; font-size: 13px; letter-spacing: -.02em; }
.chip--typo .t-hand  { font-family: 'Caveat', cursive; font-weight: 700; font-size: 20px; color: var(--pink-500); }
.chip--typo .t-light { font-family: 'Quicksand', sans-serif; font-weight: 500; font-size: 14px; }
.chip--typo .t-bold  { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 16px; color: var(--pink-700); }
.chip--typo .t-small { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 11px; vertical-align: 2px; }
.chip--typo .t-up    { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 15px; text-transform: uppercase; }
[data-theme="night"] .chip--typo .t-ital,
[data-theme="night"] .chip--typo .t-hand { color: #ffb1dc; }
[data-theme="night"] .chip--typo .t-bold { color: #fde6ff; }

/* Typography in-practice showcase */
.typo-showcase {
  display: flex; gap: 16px; align-items: flex-end;
  margin: 6px 0 8px;
  padding: 16px 18px 12px;
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,79,168,.12) 23px 24px),
    linear-gradient(135deg, rgba(255,243,247,.65), rgba(232,219,255,.55));
  border-radius: 12px;
  border: 1px dashed rgba(234,47,141,.35);
  position: relative;
  overflow: hidden;
}
[data-theme="night"] .typo-showcase {
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,133,201,.12) 23px 24px),
    linear-gradient(135deg, rgba(60,30,90,.55), rgba(80,40,110,.5));
  border-color: rgba(255,180,220,.4);
}
.typo-showcase::before {
  content: 'baseline · cap-height · x-height';
  position: absolute;
  top: 4px; right: 8px;
  font-family: 'Inter', monospace;
  font-size: 9px;
  letter-spacing: .04em;
  color: rgba(234,47,141,.55);
  text-transform: uppercase;
}
[data-theme="night"] .typo-showcase::before { color: rgba(255,180,220,.55); }
.ts-letter {
  display: inline-flex; align-items: baseline;
  line-height: 1;
  color: var(--plum-1);
}
[data-theme="night"] .ts-letter { color: #fde6ff; }
.ts-serif   { font-family: 'Fraunces', 'Times New Roman', serif; font-weight: 800; font-size: 44px; }
.ts-sans    { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 40px; letter-spacing: -.02em; }
.ts-mono    { font-family: 'Inter', ui-monospace, monospace; font-weight: 700; font-size: 38px; letter-spacing: -.05em; }
.ts-hand    { font-family: 'Caveat', cursive; font-weight: 700; font-size: 48px; color: var(--pink-500); }
.ts-display { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 42px; font-style: italic; color: var(--pink-700); }
[data-theme="night"] .ts-hand    { color: #ff85c9; }
[data-theme="night"] .ts-display { color: #ffb1dc; }

.typo-note {
  margin: 4px 0 0;
  font-family: 'Caveat', cursive;
  font-size: 18px;
  color: var(--plum-3);
  line-height: 1.2;
}
[data-theme="night"] .typo-note { color: #e8c8f0; }

/* Friendly footer credit line */
.footer__credit-line {
  display: inline-block;
  margin-right: 6px;
  font-family: 'Caveat', cursive;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .01em;
  opacity: .95;
}

/* Links list */
.links { list-style: none; padding: 0; margin: 0; }
.links li { padding: 8px 0; border-bottom: 1px dashed rgba(255,79,168,.2); font-size: 14px; color: var(--plum-2); }
.links li:last-child { border: 0; }
[data-theme="night"] .links li { color: #efd5f6; border-color: rgba(255,133,201,.2); }
.links a { color: var(--pink-600); font-weight: 600; }
[data-theme="night"] .links a { color: #ffb1dc; }
.links a:hover { text-decoration: underline; }

/* =============================================================
   CONTACT FRAME
   ============================================================= */
.contact-inner__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  margin: 8px 0 12px;
  color: var(--plum-1);
}
[data-theme="night"] .contact-inner__title { color: #fff; }
.glow {
  background: linear-gradient(135deg, #ff4fa8, #b89aff, #5fcfff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}
.contact-inner__sub { font-size: 14.5px; line-height: 1.55; color: var(--plum-2); margin: 0 0 12px; }
[data-theme="night"] .contact-inner__sub { color: #efd5f6; }
.contact-inner__bullets { list-style: none; padding: 0; margin: 16px 0 12px; }
.contact-inner__bullets li { padding: 4px 0; font-size: 13.5px; color: var(--plum-2); }
[data-theme="night"] .contact-inner__bullets li { color: #efd5f6; }
.contact-inner__mail {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--pink-600);
  font-weight: 600;
  border-bottom: 1px dashed currentColor;
}
[data-theme="night"] .contact-inner__mail { color: #ffb1dc; }

/* =============================================================
   UPCOMING FRAME
   ============================================================= */
.upcoming-inner { padding: 28px 32px; }
.upcoming-inner__sub { font-size: 15px; color: var(--plum-2); margin: 8px 0 26px; max-width: 640px; }
[data-theme="night"] .upcoming-inner__sub { color: #efd5f6; }
.wiggle {
  display: inline-block;
  background: linear-gradient(135deg, #ff4fa8, #b89aff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: wiggle 3s ease-in-out infinite;
  transform-origin: bottom;
}
.wiggle--alt {
  background: linear-gradient(135deg, #ff8a5b, #ffd76a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation-delay: .4s;
}

.placeholders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.placeholder {
  background: rgba(255,255,255,.85);
  border-radius: 12px;
  padding: 14px;
  border: 1.5px solid rgba(255,79,168,.18);
  transition: transform .3s ease;
}
[data-theme="night"] .placeholder { background: rgba(60,30,90,.7); color: #f9eaff; border-color: rgba(255,133,201,.2); }
.placeholder:hover { transform: translateY(-4px) rotate(-.5deg); }
.placeholder__thumb {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  display: grid; place-items: center;
}
.placeholder strong { display: block; font-family: var(--font-display); font-size: 16px; }
.placeholder p { margin: 4px 0 0; font-size: 12.5px; color: var(--plum-2); line-height: 1.45; }
[data-theme="night"] .placeholder p { color: #efd5f6; }
.ribbon {
  position: absolute; top: 6px; right: 6px;
  background: #fff; color: var(--pink-600);
  padding: 2px 8px;
  font-size: 10px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.placeholder__loader {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, #fff 30%, transparent 60%);
  animation: spin 2.5s linear infinite;
}
.p1 { background: linear-gradient(135deg, #ffd1ec, #ffb3a5); }
.p2 { background: linear-gradient(135deg, #d8c0ff, #b3d8ff); }
.p3 { background: linear-gradient(135deg, #b5f0d2, #b3d8ff); }
.p4 { background: linear-gradient(135deg, #ffe89a, #ffc6e1); }

/* =============================================================
   FAQ
   ============================================================= */
.faq-q {
  border-top: 1px dashed rgba(255,79,168,.25);
  padding: 12px 0;
}
.faq-q:first-of-type { border-top: 0; padding-top: 4px; }
.faq-q summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex; align-items: center; gap: 10px;
  color: var(--plum-1);
}
@media (pointer: fine) { .faq-q summary { cursor: none; } }
[data-theme="night"] .faq-q summary { color: #fff; }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::before {
  content: '+';
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  background: var(--pink-500);
  color: #fff;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  flex: 0 0 auto;
  transition: transform .3s;
}
.faq-q[open] summary::before { transform: rotate(45deg); }
.faq-q p { margin: 8px 0 4px 32px; font-size: 14px; color: var(--plum-2); line-height: 1.55; }
[data-theme="night"] .faq-q p { color: #efd5f6; }

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  position: relative;
  margin-top: 40px;
  padding: 50px 24px 30px;
  background: linear-gradient(180deg, var(--pink-400) 0%, var(--pink-500) 100%);
  color: #fff;
}
[data-theme="night"] .footer { background: linear-gradient(180deg, #2d1450 0%, #4a1e6e 100%); }
.footer__wrap { max-width: 1200px; margin: 0 auto; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__sig { font-family: var(--font-display); font-weight: 700; font-size: 26px; display: block; }
.footer__role { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: 12px; opacity: .9; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__nav a {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  font-weight: 600;
  font-size: 13px;
}
.footer__nav a:hover { background: rgba(255,255,255,.32); }
.footer__seo { margin: 22px 0 0; font-size: 13px; opacity: .9; max-width: 720px; line-height: 1.55; }
.footer__small-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); }
.footer__small { margin: 0; font-size: 12px; opacity: .85; }
.footer__credit { margin: 0; font-size: 12px; opacity: .9; }
.pd-credit {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  font-weight: 700;
  transition: all .25s ease;
}
.pd-credit:hover { background: rgba(255,255,255,.32); transform: translateY(-1px); }
.pd-credit__logo {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 4px;
  background:
    radial-gradient(circle at 30% 30%, #fff 0 2px, transparent 2.5px),
    linear-gradient(135deg, #5fcfff 0%, #b89aff 50%, #ff6fbf 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.4);
}

/* =============================================================
   STICKY BOTTOM CTA — appears on scroll
   ============================================================= */
.sticky-cta {
  position: fixed;
  bottom: -100px;
  left: 50%; transform: translateX(-50%);
  z-index: 55;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px 10px 18px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px) saturate(150%);
  border-radius: 999px;
  box-shadow: 0 14px 30px -8px rgba(255,79,168,.45);
  border: 1.5px solid rgba(255,79,168,.35);
  transition: bottom .55s cubic-bezier(.34,1.56,.64,1);
  max-width: 92vw;
}
.sticky-cta.is-visible { bottom: 22px; }
.sticky-cta.is-dismissed { display: none; }
[data-theme="night"] .sticky-cta { background: rgba(40,22,60,.92); color: #fff; border-color: rgba(255,133,201,.35); }
.sticky-cta__pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--plum-1); flex-wrap: wrap; }
[data-theme="night"] .sticky-cta__pill { color: #fde6ff; }
.sticky-cta__pill strong { color: var(--plum-1); }
[data-theme="night"] .sticky-cta__pill strong { color: #fff; }
.sticky-cta__pill em { font-style: italic; color: var(--plum-3); font-size: 12px; }
.dot-live {
  width: 8px; height: 8px;
  background: #34d97b;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52,217,123,.6);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.sticky-cta__btn {
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 6px 14px rgba(255,79,168,.5);
}
.sticky-cta__btn:hover { transform: translateY(-1px); }
.sticky-cta__close {
  background: none; border: 0; font-size: 18px; line-height: 1;
  color: var(--plum-3); padding: 4px 8px;
  border-radius: 50%;
}
.sticky-cta__close:hover { background: rgba(255,79,168,.1); color: var(--plum-1); }
@media (pointer: fine) { .sticky-cta__btn, .sticky-cta__close { cursor: none; } }

/* =============================================================
   DESIGN-EVENT TOAST TICKER
   ============================================================= */
.event-toast {
  position: fixed;
  left: 22px; bottom: 22px;
  z-index: 50;
  padding: 8px 14px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,79,168,.25);
  border-radius: 12px;
  box-shadow: 0 8px 24px -10px rgba(255,79,168,.4);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px;
  color: var(--plum-1);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s, transform .4s;
  font-family: var(--font-mono);
}
.event-toast.is-show { opacity: 1; transform: translateY(0); }
[data-theme="night"] .event-toast { background: rgba(40,22,60,.92); color: #fde6ff; border-color: rgba(255,133,201,.3); }
.event-toast__dot {
  width: 7px; height: 7px;
  background: var(--pink-500);
  border-radius: 50%;
  animation: pulse-dot 1.6s ease-in-out infinite;
}

/* =============================================================
   COMMENT PINS
   ============================================================= */
.comment-pin {
  position: absolute;
  z-index: 6;
  width: 28px; height: 28px;
  border-radius: 50% 50% 50% 4px;
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  color: #fff;
  border: 2px solid #fff;
  font-weight: 700;
  font-size: 12px;
  font-family: var(--font-display);
  box-shadow: 0 6px 14px rgba(255,79,168,.5);
  transform: rotate(-8deg);
  animation: pin-pulse 2.4s ease-in-out infinite;
}
@media (pointer: fine) { .comment-pin { cursor: none; } }
.comment-pin:hover { transform: rotate(-8deg) scale(1.15); }

.comment-pop {
  position: fixed;
  z-index: 70;
  width: 280px;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid rgba(255,79,168,.35);
  box-shadow: 0 16px 36px -10px rgba(255,79,168,.5);
  padding: 12px 14px;
  display: none;
  font-size: 13px;
  color: var(--plum-1);
}
.comment-pop.is-open { display: block; animation: pop-in .3s ease both; }
[data-theme="night"] .comment-pop { background: #3a1f5a; color: #fff; border-color: rgba(255,133,201,.4); }
.comment-pop__head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px dashed rgba(255,79,168,.2); }
.comment-pop__avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #ff7ab6, #b89aff); }
.comment-pop__author { font-weight: 700; font-size: 13px; }
.comment-pop__close {
  margin-left: auto;
  background: none; border: 0;
  font-size: 18px; line-height: 1;
  color: var(--plum-3);
}
@media (pointer: fine) { .comment-pop__close, .comment-pop button { cursor: none; } }
.comment-pop__body { margin: 10px 0; line-height: 1.5; }
.comment-pop__reply { display: flex; gap: 6px; }
.comment-pop__reply input {
  flex: 1;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,79,168,.3);
  background: rgba(255,79,168,.06);
  font-family: inherit; font-size: 12.5px;
  color: var(--plum-1);
}
[data-theme="night"] .comment-pop__reply input { background: rgba(255,255,255,.08); color: #fff; }
.comment-pop__reply button {
  padding: 6px 12px;
  border-radius: 8px;
  border: 0;
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

/* =============================================================
   GHOST CURSORS
   ============================================================= */
.ghost-layer { position: fixed; inset: 0; pointer-events: none; z-index: 30; }
.ghost {
  position: absolute;
  display: flex; align-items: flex-start; gap: 4px;
  transition: transform .6s ease;
  pointer-events: none;
}
.ghost__pencil {
  width: 16px; height: 22px;
  background: linear-gradient(180deg, #fff, currentColor);
  clip-path: polygon(50% 0, 100% 12%, 100% 80%, 60% 100%, 40% 100%, 0 80%, 0 12%);
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.2));
}
.ghost__label {
  margin-top: 16px;
  padding: 2px 8px;
  border-radius: 4px;
  background: currentColor;
  color: #fff !important;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.2));
}
.ghost__label span { color: #fff; }

/* =============================================================
   BARBIE PHONE — calmer, one decisive ring every ~12s
   ============================================================= */
.barbie-phone {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 92px; height: 100px;
  z-index: 60;
}
@media (pointer: fine) { .barbie-phone { cursor: none; } }
.phone-bubble {
  position: absolute;
  bottom: 100%; right: -10px;
  margin-bottom: 8px;
  padding: 8px 14px;
  background: #fff;
  color: var(--plum-1);
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 8px 20px rgba(255,79,168,.4);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  border: 1.5px solid var(--pink-400);
  opacity: 0;
  transform: translateY(8px) scale(.92);
  transition: all .35s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.phone-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px; right: 16px;
  width: 12px; height: 12px;
  background: #fff;
  border-right: 1.5px solid var(--pink-400);
  border-bottom: 1.5px solid var(--pink-400);
  transform: rotate(45deg);
}
.phone-bubble__row1 { display: block; color: var(--pink-600); }
.phone-bubble__row2 { display: block; font-family: var(--font-hand); font-size: 16px; color: var(--plum-1); }
.barbie-phone:hover .phone-bubble,
.barbie-phone.is-ringing .phone-bubble {
  opacity: 1; transform: translateY(0) scale(1);
}
[data-theme="night"] .phone-bubble { background: #2d1450; color: #fde6ff; }
[data-theme="night"] .phone-bubble::after { background: #2d1450; }
[data-theme="night"] .phone-bubble__row2 { color: #fde6ff; }

.barbie-phone { display: block; }
.phone-svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 10px 18px rgba(234,47,141,.35));
  animation: phone-idle-bob 3.4s ease-in-out infinite;
  transform-origin: 70px 130px;
}
.phone-shadow { animation: phone-shadow 3.4s ease-in-out infinite; transform-origin: center; }
.phone-base   { transform-origin: 70px 130px; }
.phone-cord   { stroke-dasharray: 4 4; animation: cord-jiggle 1.4s linear infinite; }

.phone-handset {
  transform-origin: 70px 60px;
  transform: rotate(-4deg);
  transition: transform .3s ease;
  animation: handset-idle 5s ease-in-out infinite;
}
.phone-waves .wave {
  opacity: 0;
  transform-origin: 70px 50px;
}
.barbie-phone.is-ringing .phone-svg     { animation: phone-ring-shake 1.4s cubic-bezier(.22,1,.36,1); }
.barbie-phone.is-ringing .phone-handset { animation: handset-ring 1.4s cubic-bezier(.34,1.56,.64,1); }
.barbie-phone.is-ringing .phone-waves .wave { animation: wave-fan 1.4s ease-out forwards; }
.barbie-phone.is-ringing .wave.w1, .barbie-phone.is-ringing .wave.w4 { animation-delay: 0s; }
.barbie-phone.is-ringing .wave.w2, .barbie-phone.is-ringing .wave.w5 { animation-delay: .15s; }
.barbie-phone.is-ringing .wave.w3, .barbie-phone.is-ringing .wave.w6 { animation-delay: .3s; }

.barbie-phone:hover .phone-handset { transform: rotate(-12deg) translate(0, -2px); }

/* =============================================================
   APPLE PENCIL CURSOR + ink trail
   ============================================================= */
.pencil-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  filter: drop-shadow(0 4px 6px rgba(234,47,141,.3));
}
.pencil-cursor.is-press { transform: translate(-50%,-50%) scale(.85); }
.pencil-cursor.is-hidden { display: none; }

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--pink-500);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  z-index: 9998;
  box-shadow: 0 0 8px rgba(255,79,168,.6);
}
.ink-trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9996;
}
.sparkle-layer { position: fixed; inset: 0; pointer-events: none; z-index: 9997; }
.sparkle-layer .sparkle {
  position: absolute;
  transform: translate(-50%,-50%);
  animation: sparkle-pop 1s ease-out forwards;
  font-size: 14px;
}

/* =============================================================
   GLITTER RAIN — full-viewport 3s shower every 120s
   ============================================================= */
.glitter-rain {
  position: fixed; inset: 0;
  z-index: 35;
  pointer-events: none;
  overflow: hidden;
}
.glitter-rain .flake {
  position: absolute;
  top: -40px;
  font-size: 14px;
  will-change: transform, opacity;
  animation:
    glitter-fall var(--fall, 3.2s) linear forwards,
    glitter-spin 1.6s linear infinite;
  filter: drop-shadow(0 2px 4px rgba(255,79,168,.4));
}
@keyframes glitter-fall {
  0%   { transform: translate3d(0, -10vh, 0); opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translate3d(var(--drift, 30px), 115vh, 0); opacity: 0; }
}
@keyframes glitter-spin {
  to { rotate: 360deg; }
}

/* =============================================================
   BUNNY + BUTTERFLY (calmer)
   ============================================================= */
.bunny {
  position: fixed;
  bottom: 10px; left: -100px;
  width: 56px; height: 64px;
  z-index: 3;
  animation: bunny-hop 26s ease-in-out infinite;
}
.bunny__ear { position: absolute; top: -10px; width: 7px; height: 24px; background: linear-gradient(180deg, #fff, #ffe4f1); border-radius: 7px; border: 1.5px solid #ffc2dd; }
.bunny__ear::after { content: ''; position: absolute; inset: 3px 1px; background: linear-gradient(180deg, #ffd1ec, #ff9dcb); border-radius: 5px; }
.bunny__ear.left { left: 14px; transform: rotate(-8deg); }
.bunny__ear.right { right: 14px; transform: rotate(8deg); }
.bunny__head { position: absolute; top: 6px; left: 6px; width: 44px; height: 36px; background: linear-gradient(180deg, #fff, #fff0f8); border-radius: 50%; border: 1.5px solid #ffc2dd; z-index: 2; }
.bunny__eye { position: absolute; top: 14px; width: 4px; height: 6px; background: #2a1414; border-radius: 50%; animation: blink 4s ease-in-out infinite; }
.bunny__eye.left { left: 10px; } .bunny__eye.right { right: 10px; }
.bunny__nose { position: absolute; bottom: 8px; left: 50%; width: 5px; height: 4px; background: var(--pink-500); border-radius: 50%; transform: translateX(-50%); }
.bunny__cheek { position: absolute; top: 20px; width: 6px; height: 4px; background: rgba(255,120,180,.55); border-radius: 50%; }
.bunny__cheek.left { left: 4px; } .bunny__cheek.right { right: 4px; }
.bunny__body { position: absolute; bottom: 4px; left: 4px; width: 48px; height: 32px; background: linear-gradient(180deg, #fff, #ffe4f1); border-radius: 50%; border: 1.5px solid #ffc2dd; }
.bunny__tail { position: absolute; right: -4px; bottom: 18px; width: 12px; height: 12px; background: #fff; border: 1.5px solid #ffc2dd; border-radius: 50%; }

.butterfly {
  position: fixed;
  top: 30%; left: -80px;
  width: 40px; height: 40px;
  z-index: 4;
  animation: butterfly-fly 40s linear infinite;
  animation-delay: 8s;
}
.butterfly__wing {
  position: absolute;
  top: 0; width: 18px; height: 30px;
  background: linear-gradient(135deg, var(--pink-400), var(--lav-3));
  border-radius: 50% 80% 50% 80%;
  animation: wing-flap 0.4s ease-in-out infinite alternate;
  transform-origin: right center;
}
.butterfly__wing.right { right: 0; transform-origin: left center; background: linear-gradient(225deg, var(--pink-400), var(--lav-3)); border-radius: 80% 50% 80% 50%; }
.butterfly__wing.left { left: 0; }
.butterfly__body { position: absolute; top: 4px; left: 50%; width: 4px; height: 28px; margin-left: -2px; background: #4a2052; border-radius: 4px; }
.butterfly__body::before, .butterfly__body::after { content: ''; position: absolute; top: -2px; width: 6px; height: 6px; background: #4a2052; border-radius: 50%; }
.butterfly__body::before { left: -3px; }
.butterfly__body::after { right: -3px; }

/* =============================================================
   LIFE SCENES — scroll-triggered (one at a time)
   ============================================================= */
.scenes { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.scene {
  position: absolute;
  opacity: 0;
  transform: translateY(20px) scale(.95);
  transition: opacity .8s ease, transform 1s ease;
}
.scene.is-active { opacity: .92; transform: translateY(0) scale(1); }

/* Bed: bottom-right */
.scene--bed { right: 4%; bottom: 12%; width: 220px; height: 170px; }
.bed { position: relative; width: 100%; height: 100%; }
.bed__pillow { position: absolute; left: 0; bottom: 30px; width: 60px; height: 40px; background: linear-gradient(135deg, #fff, #ffe4f1); border-radius: 12px; box-shadow: 0 4px 10px rgba(234,47,141,.18); }
.bed__blanket { position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(135deg, var(--pink-200), var(--pink-300)); border-radius: 0 0 20px 20px; box-shadow: 0 6px 14px rgba(234,47,141,.3); }
.bed__girl { position: absolute; bottom: 38px; left: 50px; width: 100px; height: 90px; }
.girl__head { position: absolute; top: 0; left: 24px; width: 50px; height: 50px; background: linear-gradient(135deg, #ffe1c8, #ffd0a8); border-radius: 50%; }
.girl__hair { position: absolute; top: -6px; left: -4px; width: 58px; height: 24px; background: linear-gradient(135deg, #4a2a2a, #2a1414); border-radius: 50% 50% 30% 30% / 80% 80% 30% 30%; }
.girl__bun { position: absolute; top: -12px; right: 4px; width: 18px; height: 18px; background: #4a2a2a; border-radius: 50%; }
.girl__eye { position: absolute; top: 22px; width: 4px; height: 6px; background: #2a1414; border-radius: 50%; animation: blink 4s ease-in-out infinite; }
.girl__eye.left { left: 14px; } .girl__eye.right { right: 14px; }
.girl__smile { position: absolute; bottom: 12px; left: 50%; width: 12px; height: 6px; border-bottom: 2px solid #2a1414; border-radius: 0 0 12px 12px; transform: translateX(-50%); }
.girl__cheek { position: absolute; top: 32px; width: 8px; height: 5px; border-radius: 50%; background: rgba(255,120,180,.6); }
.girl__cheek.left { left: 4px; } .girl__cheek.right { right: 4px; }
.girl__body { position: absolute; top: 44px; left: 14px; width: 70px; height: 40px; background: linear-gradient(135deg, var(--pink-200), var(--pink-300)); border-radius: 30px 30px 8px 8px; }
.girl__ipad { position: absolute; top: 50px; left: -10px; width: 60px; height: 44px; background: linear-gradient(135deg, #2a1f2e, #18101c); border-radius: 6px; transform: rotate(-15deg); box-shadow: 0 4px 8px rgba(0,0,0,.25); }
.ipad__screen { position: absolute; inset: 3px; background: linear-gradient(135deg, var(--pink-200) 0%, var(--lav-3) 100%); border-radius: 3px; }
.girl__pencil { position: absolute; top: 38px; left: 40px; width: 26px; height: 4px; background: linear-gradient(90deg, #fff, var(--pink-200)); border-radius: 4px; transform: rotate(-35deg); box-shadow: 0 2px 4px rgba(234,47,141,.3); }
.bed__tray { position: absolute; right: 6px; bottom: 38px; width: 56px; height: 30px; background: linear-gradient(135deg, #fff, #ffe4d6); border-radius: 4px; box-shadow: 0 4px 8px rgba(0,0,0,.15); }
.tray__cup { position: absolute; top: -16px; left: 6px; width: 18px; height: 22px; background: linear-gradient(180deg, #fff, var(--pink-200)); border-radius: 4px 4px 8px 8px; }
.tray__cookie { position: absolute; bottom: 6px; right: 8px; width: 16px; height: 16px; background: radial-gradient(circle at 30% 30%, #d4a373, #a07248); border-radius: 50%; }
.zzz { position: absolute; top: -20px; left: 30%; font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--lav-3); }
.zzz span { display: inline-block; animation: zzz 2.4s ease-in-out infinite; }
.zzz span:nth-child(2) { animation-delay: .3s; font-size: 16px; }
.zzz span:nth-child(3) { animation-delay: .6s; font-size: 14px; }

/* TV: bottom-left */
.scene--tv { left: 3%; bottom: 12%; width: 170px; height: 130px; }
.tv { position: relative; width: 100%; height: 100%; }
.tv__screen { position: absolute; top: 0; left: 0; width: 140px; height: 90px; background: linear-gradient(135deg, var(--pink-400), var(--lav-3)); border-radius: 12px; border: 4px solid #2a1f2e; overflow: hidden; display: grid; place-items: center; }
.tv__show { font-family: var(--font-display); font-weight: 800; color: #fff; background: rgba(0,0,0,.35); padding: 3px 12px; border-radius: 999px; font-size: 12px; }
.tv__stand { position: absolute; bottom: 30px; left: 64px; width: 12px; height: 14px; background: #2a1f2e; }
.tv__stand::after { content: ''; position: absolute; bottom: -4px; left: -20px; right: -20px; height: 4px; background: #2a1f2e; border-radius: 2px; }
.popcorn { position: absolute; bottom: 0; right: 0; width: 70px; height: 50px; background: linear-gradient(180deg, var(--pink-300) 0%, var(--pink-400) 100%); border-radius: 0 0 8px 8px; box-shadow: inset 0 8px 0 rgba(255,255,255,.4); }
.popcorn::before { content: ''; position: absolute; top: -10px; left: -4px; right: -4px; height: 24px; background: radial-gradient(circle at 20% 60%, #fff 0 7px, transparent 8px), radial-gradient(circle at 50% 40%, #fff 0 7px, transparent 8px), radial-gradient(circle at 80% 60%, #fff 0 7px, transparent 8px); }
.kernel { position: absolute; width: 8px; height: 8px; background: #fff; border-radius: 50%; animation: popcorn-jump 2s ease-in-out infinite; }
.kernel:nth-child(1) { left: 16px; top: -18px; animation-delay: 0s; }
.kernel:nth-child(2) { left: 30px; top: -22px; animation-delay: .35s; }
.kernel:nth-child(3) { right: 22px; top: -16px; animation-delay: .7s; }
.kernel:nth-child(4) { right: 8px; top: -24px; animation-delay: 1.1s; }

/* Food scooter: middle bottom traveling */
.scene--food { left: -200px; bottom: 15%; width: 200px; height: 100px; }
.scene--food.is-active { animation: scooter-ride 8s linear forwards; }
.scooter { position: relative; width: 100%; height: 100%; }
.scooter__body { position: absolute; bottom: 20px; left: 30px; width: 100px; height: 36px; background: linear-gradient(180deg, var(--pink-400), var(--pink-600)); border-radius: 12px 30px 8px 8px; box-shadow: 0 4px 8px rgba(234,47,141,.4); }
.scooter__body::after { content: ''; position: absolute; top: -20px; right: 6px; width: 24px; height: 24px; background: #fff; border-radius: 50%; }
.scooter__wheel { position: absolute; bottom: 0; width: 28px; height: 28px; background: radial-gradient(circle, #2a1f2e 30%, #1a1018 70%); border-radius: 50%; border: 4px solid #fff; animation: spin 1.2s linear infinite; }
.scooter__wheel.front { right: 16px; }
.scooter__wheel.back { left: 20px; }
.scooter__bag { position: absolute; bottom: 50px; left: 56px; font-size: 26px; }

/* Chores: center bottom */
.scene--chores { left: 50%; bottom: 12%; margin-left: -90px; width: 180px; height: 140px; }
.basket { position: relative; width: 110px; height: 70px; margin: 50px auto 0; }
.basket__body { position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.4) 0 4px, transparent 4px 8px), linear-gradient(135deg, var(--pink-200), var(--pink-300)); border-radius: 0 0 30px 30px / 0 0 50% 50%; border: 2px solid #fff; border-top: 0; }
.basket__sock { position: absolute; width: 14px; height: 22px; border-radius: 8px 8px 4px 4px; box-shadow: 0 2px 4px rgba(0,0,0,.12); animation: bubble-up 5s ease-in-out infinite; }
.basket__sock.s1 { top: -8px; left: 10px; background: linear-gradient(180deg, var(--yellow), #ffd76a); animation-delay: 0s; }
.basket__sock.s2 { top: -12px; left: 38px; background: linear-gradient(180deg, #d6ecff, #b3d8ff); animation-delay: 1s; }
.basket__sock.s3 { top: -6px; right: 12px; background: linear-gradient(180deg, var(--pink-200), var(--pink-300)); animation-delay: 2s; }
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubbles span { position: absolute; width: 14px; height: 14px; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,.4) 60%, rgba(255,255,255,0)); border-radius: 50%; bottom: 30px; animation: bubble-rise 4s ease-in infinite; }
.bubbles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.bubbles span:nth-child(2) { left: 25%; animation-delay: .5s; width: 18px; height: 18px; }
.bubbles span:nth-child(3) { left: 45%; animation-delay: 1.1s; }
.bubbles span:nth-child(4) { left: 65%; animation-delay: 1.7s; width: 10px; height: 10px; }
.bubbles span:nth-child(5) { left: 80%; animation-delay: 2.3s; width: 22px; height: 22px; }
.bubbles span:nth-child(6) { left: 92%; animation-delay: 3s; }

/* =============================================================
   ANIMATIONS
   ============================================================= */
@keyframes frame-place-inner {
  0%   { transform: translateY(14px) scale(.94); }
  60%  { transform: translateY(-2px) scale(1.01); }
  100% { transform: translateY(0)    scale(1); }
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes blink { 0%,92%,100% { transform: scaleY(1); } 94%,98% { transform: scaleY(.15); } }
@keyframes twinkle { 0%,100% { opacity: .3; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes wiggle { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sparkle-pop {
  0% { transform: translate(-50%,-50%) scale(.4) rotate(0); opacity: 1; }
  100% { transform: translate(-50%,-150%) scale(1.4) rotate(180deg); opacity: 0; }
}
@keyframes sparkle-pulse {
  0%,100% { transform: scale(1) rotate(0); opacity: .7; }
  50% { transform: scale(1.3) rotate(20deg); opacity: 1; }
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(.85) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes pin-pulse {
  0%,100% { box-shadow: 0 6px 14px rgba(255,79,168,.5), 0 0 0 0 rgba(255,79,168,.5); }
  50%     { box-shadow: 0 6px 14px rgba(255,79,168,.5), 0 0 0 10px rgba(255,79,168,0); }
}
@keyframes phone-idle-bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-3px) rotate(1deg); }
}
@keyframes phone-shadow {
  0%, 100% { transform: scale(1); opacity: .18; }
  50%      { transform: scale(.85); opacity: .12; }
}
@keyframes cord-jiggle {
  to { stroke-dashoffset: -16; }
}
@keyframes handset-idle {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-1deg) translateY(-1px); }
}
@keyframes phone-ring-shake {
  0%, 100% { transform: rotate(0) translateY(0); }
  8%   { transform: rotate(-7deg) translateY(-2px); }
  18%  { transform: rotate(7deg)  translateY(-2px); }
  28%  { transform: rotate(-6deg) translateY(-1px); }
  38%  { transform: rotate(5deg) translateY(-1px); }
  50%  { transform: rotate(-4deg); }
  62%  { transform: rotate(3deg); }
  74%  { transform: rotate(-2deg); }
  86%  { transform: rotate(1deg); }
}
@keyframes handset-ring {
  0%   { transform: rotate(-4deg) translateY(0); }
  20%  { transform: rotate(-18deg) translateY(-12px); }
  40%  { transform: rotate(8deg)   translateY(-10px); }
  60%  { transform: rotate(-12deg) translateY(-12px); }
  80%  { transform: rotate(6deg)   translateY(-8px); }
  100% { transform: rotate(-4deg) translateY(0); }
}
@keyframes wave-fan {
  0%   { opacity: 0; transform: scale(.6); }
  30%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}
@keyframes sun-drift {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50%      { transform: translate(8px, 6px) rotate(2deg); }
}
@keyframes halo-pulse {
  0%, 100% { transform: scale(1);    opacity: .85; }
  50%      { transform: scale(1.08); opacity: 1; }
}
@keyframes flares-orbit { to { transform: rotate(360deg); } }
@keyframes flare-pulse {
  0%, 100% { opacity: .25; }
  50%      { opacity: .8; }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes bunny-hop {
  0%   { left: -100px; transform: translateY(0); }
  6%   { transform: translateY(-22px); }
  12%  { transform: translateY(0); }
  18%  { transform: translateY(-22px); }
  24%  { transform: translateY(0); }
  30%  { transform: translateY(-22px); left: 30vw; }
  36%  { transform: translateY(0); }
  46%  { transform: translateY(-22px); }
  52%  { transform: translateY(0); }
  62%  { transform: translateY(-22px); left: 65vw; }
  68%  { transform: translateY(0); }
  78%  { transform: translateY(-22px); }
  84%  { transform: translateY(0); }
  92%  { transform: translateY(-22px); }
  100% { left: 110vw; transform: translateY(0); }
}
@keyframes butterfly-fly {
  0%   { left: -80px; top: 30%; }
  25%  { left: 30vw; top: 22%; }
  50%  { left: 55vw; top: 38%; }
  75%  { left: 78vw; top: 24%; }
  100% { left: 110vw; top: 32%; }
}
@keyframes wing-flap { 0% { transform: rotateY(0); } 100% { transform: rotateY(60deg); } }
@keyframes scooter-ride { 0% { left: -200px; } 100% { left: 110vw; } }
@keyframes popcorn-jump { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes zzz { 0%,100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(-8px); opacity: 0; } }
@keyframes bubble-up { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes bubble-rise {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  10% { opacity: .85; }
  100% { transform: translateY(-140px) scale(1.1); opacity: 0; }
}
@keyframes shooting {
  0%   { left: -10%; top: 22%; opacity: 0; }
  20%  { opacity: 1; }
  100% { left: 110%; top: 12%; opacity: 0; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1000px) {
  html, body { cursor: auto; }
  .pencil-cursor, .cursor-dot, .sparkle-layer, .ink-trail, .ghost-layer { display: none !important; }
  .tool-btn, .barbie-phone, .comment-pin, .faq-q summary,
  .sticky-cta__btn, .sticky-cta__close, .comment-pop__close, .comment-pop button { cursor: pointer; }

  .canvas { min-height: auto; padding: 24px 16px 40px; max-width: 720px; }
  .frame {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin: 36px 0 0;
  }
  .frame .handle, .frame .handle--rot { display: none; }
  .layer-label { left: 0; font-size: 10px; padding: 0 6px; }
  .frame__inner { padding: 20px 20px; }

  .toolbar { flex-wrap: wrap; padding: 8px 10px; gap: 8px; }
  .toolbar__brand { padding-right: 8px; }
  .brand__path { display: none; }
  .toolbar__center { width: 100%; order: 3; justify-content: flex-start; }

  .scenes, .bunny, .butterfly { display: none; }

  /* Hide pins (their absolute coords assume the canvas) and the floating phone — sticky CTA does the job on mobile */
  .comment-pin { display: none; }
  .barbie-phone { display: none; }

  /* Hero responsive tweaks */
  .hero__name { font-size: clamp(48px, 11vw, 84px); }
  .big-cta { flex-wrap: wrap; padding: 12px 14px; gap: 10px; }
  .big-cta__label { flex: 1 1 0%; min-width: 0; }
  .big-cta__icon { width: 32px; height: 32px; }

  /* Typography showcase tightens up */
  .typo-showcase { gap: 10px; padding: 14px 14px 10px; }
  .ts-letter { font-size: 32px !important; }

  /* Sticky CTA — vertical card, button beneath text */
  .sticky-cta {
    left: 12px; right: 12px;
    bottom: -260px;
    transform: none;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    border-radius: 18px;
    padding: 14px 16px 16px;
    gap: 10px;
  }
  .sticky-cta.is-visible { bottom: 14px; }
  .sticky-cta__pill {
    flex-direction: column;
    gap: 4px;
    padding: 0 22px;
    justify-content: center;
    font-size: 13.5px;
  }
  .sticky-cta__pill em { display: inline; font-size: 12px; }
  .sticky-cta__btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    text-align: center;
  }
  .sticky-cta__close {
    position: absolute;
    top: 6px; right: 8px;
  }

  /* Event toast — narrower so it doesn't cover sticky CTA */
  .event-toast { left: 12px; bottom: auto; top: 88px; max-width: calc(100% - 24px); }

  /* Comment popover — center inside viewport */
  .comment-pop { width: calc(100% - 32px); max-width: 360px; left: 16px !important; right: 16px; }
}

/* Tight phones — < 480px */
@media (max-width: 480px) {
  .toolbar { padding: 6px 8px; }
  .toolbar__nav { display: none; }
  .toolbar__tools { gap: 4px; margin-left: auto; }
  .tool-btn { padding: 6px 10px; font-size: 12px; }
  .tool-btn--cta span:not(.tool-btn__dot) { display: none; }
  .tool-btn--cta { padding: 7px 10px; }
  .canvas { padding: 16px 12px 32px; }
  .frame__inner { padding: 18px 16px; }
  .hero__name { font-size: clamp(40px, 13vw, 68px); }
  .hero__role { font-size: 12px; }
  .hero__sub { font-size: 14px; }
  .big-cta__label strong { font-size: 15px; }
  .big-cta__label em { font-size: 11px; }
  .upcoming-inner { padding: 22px 18px; }
  .placeholders { grid-template-columns: 1fr; }
  .contact-inner__title { font-size: 24px; }
  .footer { padding: 36px 18px 24px; }
  .footer__sig { font-size: 22px; }
  .footer__role { font-size: 11px; }
  .footer__nav a { padding: 4px 9px; font-size: 12px; }
  .footer__small-row { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
