/* ===== Base ===== */
:root {
  --bg: #f6f4ef;            /* warm off-white */
  --surface: #ffffff;
  --ink: #16151a;
  --muted: #76737e;
  --line: #e7e3da;
  --orange: #ff6a2b;
  --blue: #2f6bff;
  --green: #1fb86b;
  --yellow: #ffb017;
  --radius: 24px;
  --maxw: 1100px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 18px 40px -22px rgba(20,18,30,.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: var(--bg); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--orange); color: #fff; }
a { color: inherit; text-decoration: none; }
section { padding: 0 24px; position: relative; background-color: var(--bg); }

h1,h2,h3 { font-family: "Plus Jakarta Sans", sans-serif; }

/* ===== Liquid Custom Cursor ===== */
.cursor {
  position: fixed; top: 0; left: 0; width: 24px; height: 24px;
  background: var(--orange); border-radius: 50%; pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%); 
  transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, border-radius 0.3s;
  display: flex; align-items: center; justify-content: center;
  color: #000; font-weight: 700; font-size: 0px; text-transform: uppercase;
  overflow: hidden;
}
.cursor.is-hover { width: 60px; height: 60px; background: #fff; mix-blend-mode: normal; }
.cursor.is-view { width: 80px; height: 80px; background: var(--orange); font-size: 14px; mix-blend-mode: normal; color: #fff; }
.cursor.is-drag { width: 80px; height: 80px; background: var(--blue); font-size: 14px; mix-blend-mode: normal; color: #fff; }
@media (hover: none) { .cursor { display: none; } }

/* ===== Intro / landing animation ===== */
.intro { position: fixed; inset: 0; z-index: 900; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.hide-intro-immediately .intro { display: none !important; }
.intro__inner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 1.5em; }
.intro__name { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: clamp(3.5rem, 12vw, 6.5rem); letter-spacing: 0.02em; display: inline-flex; transition: opacity .5s ease, transform .5s ease; }
.intro__name.is-fade { opacity: 0; transform: scale(.85); }
.intro__name.is-pulse { animation: namePulse .55s ease; }
.intro__ch { display: inline-block; opacity: 0; will-change: transform, opacity; transition: transform .95s cubic-bezier(.16,.84,.28,1.05), opacity .6s ease; }
.intro__ch--space { width: .3em; }
@keyframes namePulse { 0% { transform: scale(1); } 45% { transform: scale(1.06); } 100% { transform: scale(1); } }
.intro__logo { position: absolute; opacity: 0; transform: scale(.3) rotate(-8deg); transition: transform .8s cubic-bezier(.2,.9,.3,1.25), opacity .5s ease; }
.intro__logo.is-show { opacity: 1; transform: scale(1) rotate(0); }
.intro__logo img { height: clamp(120px, 24vw, 260px); filter: brightness(0); display: block; }
.intro__logo--text { font-family: "Plus Jakarta Sans"; font-weight: 700; font-size: clamp(5rem, 20vw, 12rem); letter-spacing: -.04em; }

/* ===== Glassmorphism utility ===== */
.glass { background: rgba(255,255,255,.4); backdrop-filter: blur(12px) saturate(180%); -webkit-backdrop-filter: blur(12px) saturate(180%); border: 1px solid rgba(255,255,255,.3); box-shadow: 0 18px 40px -22px rgba(20,18,30,.25), inset 0 1px 0 rgba(255,255,255,.5); }

/* ===== Hero ID card (physics, strap, video reveal) ===== */
.hero__idwrap { position: absolute; bottom: 0; left: var(--rigleft, 53%); width: 300px; perspective: 1200px; overflow: visible; z-index: 1; }
/* pin removed */
.idcard { position: relative; transform-origin: 50% 6px; cursor: grab; will-change: transform; }
.idcard:active { cursor: grabbing; }
.idcard__hole { display: none; }
.idcard__strap { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: -16px; z-index: 40; width: 24px; height: 100vh; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px; border-radius: 3px; background-color: #0c0c0e; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E"); box-shadow: inset 0 0 14px rgba(0,0,0,.55); mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 220px, rgba(0,0,0,1) 280px); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 220px, rgba(0,0,0,1) 280px); }
.idcard__straptext { writing-mode: vertical-rl; transform: rotate(180deg); color: #fff; font-family: "Plus Jakarta Sans"; font-weight: 700; font-size: 11px; letter-spacing: .22em; white-space: nowrap; opacity: .92; }
.idcard__body { width: 300px; margin: -6px auto 0; border-radius: 24px; padding: 16px; position: relative; z-index: 45; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1), 0 20px 60px -20px rgba(0,0,0,0.15); }
.idcard__hole { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 60px; height: 9px; border-radius: 100px; background: rgba(20,18,30,.22); box-shadow: inset 0 1px 2px rgba(0,0,0,.35); }
.idcard__photo { position: relative; aspect-ratio: 3 / 3.5; border-radius: 16px; overflow: hidden; background: var(--orange); margin-top: 16px; }
.idcard__photo img, .idcard__photo video { position: absolute; inset: 0; width: 100%; height: 110%; object-fit: cover; object-position: top center; }
.idcard__photo video { opacity: 0; transition: opacity .45s ease; }
.idcard.is-playing .idcard__photo video { opacity: 1; }
.idcard__info { text-align: center; margin-top: 16px; display: flex; flex-direction: column; gap: 3px; }
.idcard__name { font-family: "Plus Jakarta Sans"; font-weight: 600; font-size: 1.2rem; }
.idcard__role { color: var(--muted); font-size: 13px; }
.idcard__tag { display: inline-flex; align-items: center; gap: 6px; justify-content: center; font-size: 12px; color: var(--muted); margin-top: 8px; }
.idcard__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
@media (max-width: 860px) { .hero { min-height: auto; } .hero__idwrap { position: static; left: auto; top: auto; bottom: auto; width: auto; order: -1; margin: 14px auto 0; } .idcard__body { width: min(290px, 80vw); } }
body.detail-open { overflow: hidden; }
body.lightbox-open { overflow: hidden; }

/* ===== Smooth scroll (Lenis) ===== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ===== Reveal system ===== */
.reveal { opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); will-change: opacity, transform; }
.reveal[data-anim="up"]    { transform: translateY(38px); }
.reveal[data-anim="scale"] { transform: scale(.92); }
.reveal[data-anim="blur"]  { filter: blur(14px); transform: translateY(20px); }
.reveal[data-anim="left"]  { transform: translateX(-40px); }
.reveal[data-anim="right"] { transform: translateX(40px); }
.reveal[data-anim="clip"]  { clip-path: inset(0 0 100% 0); transform: translateY(10px); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.reveal[data-anim="clip"].is-in { clip-path: inset(0 0 0 0); }

/* ===== Parallax base ===== */
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; transition: none; }
  .intro { display: none; }
  [data-parallax] { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== Scribbles (handwritten notes) ===== */
.scribble {
  font-family: "Caveat", cursive; font-size: 1.35rem; color: var(--muted); line-height: 1.15;
  position: absolute; transform: rotate(-6deg); z-index: 10; max-width: 210px; text-align: center;
}
.scribble::after { content: ""; }
.scribble--1 { top: 12%; left: 8%; transform: rotate(-8deg); }
.scribble--2 { top: 90px; right: 4%; transform: rotate(7deg); }
.scribble--3 { top: 80px; right: 12%; transform: rotate(6deg); }
.scribble--4 { top: 80px; right: 8%; transform: rotate(-5deg); }
.scribble--5 { top: 64px; right: 10%; transform: rotate(5deg); }
.scribble--ig { 
  top: -50px; 
  left: 10px; 
  transform: rotate(-6deg); 
  color: var(--orange); 
  z-index: 10;
  font-size: 2.2rem;
}

/* ===== Nav ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  transform: translate3d(0,0,0);
}
.nav.is-scrolled {
  background: rgba(246,244,239,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 28px;
}
.nav__logo { font-family: "Plus Jakarta Sans"; font-weight: 600; font-size: 18px; display: flex; align-items: center; gap: 9px; }
.nav__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); display: inline-block; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .25s; }
.nav__links a:hover { color: var(--ink); }
@media (min-width: 861px) {
  .nav__links a[href="#playground"] {
    margin-right: 80px;
    transition: margin-right 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .nav.is-scrolled .nav__links a[href="#playground"] {
    margin-right: 0;
  }
}
.nav__cta {
  display: none !important;
}
.nav__cta:hover { transform: translateY(-2px); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ===== Circular menu button (collapses all nav links) ===== */
.nav__links { gap: 14px; }
.nav__menu-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255,255,255,0.5); backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 18px -8px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.6);
  cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.nav__menu-btn span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), width .35s var(--ease), background .3s; }
.nav__menu-btn:hover { transform: scale(1.06); box-shadow: 0 8px 26px -8px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.6); }
.nav__menu-btn:hover span:first-child { width: 22px; }

/* Animate header menu button into an X when menu is open */
.nav__menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
  width: 18px !important;
}
.nav__menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
  width: 18px !important;
}
.nav__menu-btn[aria-expanded="true"]:hover {
  transform: scale(1.06) rotate(90deg) !important;
  background: var(--ink) !important;
}
.nav__menu-btn[aria-expanded="true"]:hover span {
  background: #fff !important;
}

/* Elevate header when menu is open */
body.menu-open .nav {
  z-index: 1100;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
}

/* ===== Full-screen menu overlay ===== */
/* ===== Full-screen menu overlay ===== */
.menu {
  position: fixed; inset: 0; z-index: 1000;
  background: #ffffff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 24px;
  opacity: 0; visibility: hidden;
  transform: scale(1.04);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s linear .5s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: scale(1); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s; }
.menu__top { display: none !important; } /* Hidden because header .nav sits on top now */

.menu__links {
  flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(8px, 1.8vh, 16px); overflow: hidden; padding: 0; width: 100%;
  z-index: 2;
}
.menu__links::before,
.menu__links::after {
  display: none !important;
}

.menu__section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.menu__section-title {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); font-weight: 700;
}
.menu__link-custom {
  font-size: clamp(1.6rem, 4.2vh, 2.4rem) !important; font-weight: 800 !important; color: var(--ink); text-decoration: none; transition: color 0.3s;
}
.menu__link-custom:hover {
  color: var(--orange) !important;
}

.menu__actions {
  display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 2vh, 16px); width: 100%;
  margin-top: clamp(12px, 2.5vh, 22px); margin-bottom: 0;
  z-index: 2;
}

.menu__cta-btn {
  background: var(--ink) !important;
  color: #fff !important;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  padding: 12px 28px !important;
  border-radius: 100px;
  font-size: 0.95rem !important;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(22, 21, 26, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.menu__cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(22, 21, 26, 0.25);
  color: #fff !important;
}

.menu__foot {
  position: absolute;
  bottom: clamp(12px, 3vh, 28px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  width: 100%;
  padding: 0 24px;
  z-index: 2;
}
body.menu-open { overflow: hidden; }

/* ===== Full-screen menu background video ===== */
.menu__bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: #ffffff;
}
.menu__spidey-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Subdued opacity on mobile for readability */
  transition: all 0.3s var(--ease);
}

/* Desktop Split Layout - Spidey Video Fullbleed, links on right */
@media (min-width: 1024px) {
  .menu {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    height: 100vh;
    box-sizing: border-box;
  }
  .menu__top {
    position: absolute;
    top: 40px;
    left: 8%;
    right: 8%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  /* Desktop navigation layout aligned to the center */
  .menu__links {
    margin: auto;
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2.2vh, 18px); /* Responsive tight spacing to fit exactly in one screen */
    padding: 0;
    flex: 0 0 auto;
    z-index: 2;
    overflow: hidden; /* No scrollbar needed */
  }
  .menu__links::before,
  .menu__links::after {
    display: none;
  }
  .menu__section {
    text-align: center;
    align-items: center;
    gap: 2px;
  }
  .menu__link-custom {
    font-size: clamp(2rem, 4.5vh, 2.4rem) !important; /* Scale font size with viewport height to guarantee fit */
  }
  /* Actions column in the center */
  .menu__actions {
    position: static;
    width: auto;
    align-items: center;
    margin-top: clamp(15px, 3vh, 25px);
    margin-bottom: 0;
    z-index: 2;
  }
  /* Full-bleed background video */
  .menu__bg-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  .menu__spidey-video {
    opacity: 0.95; /* Keep high opacity full-screen on desktop */
  }
  .menu__foot {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    padding: 0;
    z-index: 2;
  }
}
@media (max-width: 768px) {
  .menu__spidey-video {
    object-fit: cover !important;
    opacity: 0.15 !important;
    transform: scale(1.05);
  }
}
/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: "Plus Jakarta Sans"; font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: 100px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; will-change: transform; }
.btn--dark, .nav__cta { 
  background: linear-gradient(180deg, #2a2a2e 0%, #14121e 100%) !important;
  color: #fff !important; 
  border: none !important;
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255,255,255,0.05), 0 8px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.btn--dark:hover, .nav__cta:hover { 
  background: linear-gradient(180deg, #333338 0%, #1a1824 100%) !important;
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.25), inset 0 0 0 1px rgba(255,255,255,0.08), 0 12px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.btn--ghost { 
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f5 100%); 
  color: var(--ink); 
  border: none;
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 1), inset 0 0 0 1px rgba(0,0,0,0.03), 0 8px 20px rgba(0, 0, 0, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.btn--ghost { 
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f5 100%); 
  color: var(--ink); 
  border: none;
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 1), inset 0 0 0 1px rgba(0,0,0,0.03), 0 8px 20px rgba(0, 0, 0, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.btn--ghost:hover { 
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 1), inset 0 0 0 1px rgba(0,0,0,0.03), 0 12px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.btn--white { background: #fff !important; color: var(--ink) !important; border: 1px solid var(--line) !important; }
.btn--white:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.btn--lg { padding: 18px 40px; font-size: 17px; }

/* Custom glowing outlines for bottom CTA buttons */
.btn--whatsapp-glow {
  border: 2px solid #25d366 !important;
  background: rgba(37, 211, 102, 0.04) !important;
  color: #25d366 !important;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.2), inset 0 2px 1px rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s ease !important;
}
.btn--whatsapp-glow:hover {
  background: #25d366 !important;
  color: #fff !important;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.7), 0 8px 24px rgba(37, 211, 102, 0.25) !important;
  transform: translateY(-2px);
}

.btn--phone-glow {
  border: 2px solid #2f6bff !important;
  background: rgba(47, 107, 255, 0.04) !important;
  color: #2f6bff !important;
  box-shadow: 0 0 15px rgba(47, 107, 255, 0.2), inset 0 2px 1px rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s ease !important;
}
.btn--phone-glow:hover {
  background: #2f6bff !important;
  color: #fff !important;
  box-shadow: 0 0 25px rgba(47, 107, 255, 0.7), 0 8px 24px rgba(47, 107, 255, 0.25) !important;
  transform: translateY(-2px);
}

/* ===== Nav logo pill & avatar ===== */
.nav__logo-container {
  display: inline-flex;
  align-items: center;
  z-index: 60;
}
.nav__logo-card {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 4px 6px 4px 4px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: all 0.3s var(--ease);
  overflow: hidden;
  max-width: 44px;
  cursor: pointer;
}
.nav__logo-container:hover .nav__logo-card {
  max-width: 280px;
  padding-right: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.nav__logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}
.nav__logo-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
}
.nav__logo-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  color: var(--muted);
}
.nav__logo-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0;
  height: 28px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: width 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease), margin-left 0.3s var(--ease);
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo-wa svg {
  width: 16px;
  height: 16px;
}
.nav__logo-container:hover .nav__logo-wa {
  width: 28px;
  opacity: 1;
  transform: scale(1);
  margin-left: 8px;
}
.nav__logo-wa:hover {
  background: #128c7e;
  transform: scale(1.08) !important;
}

.nav__avatar { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--orange); display: inline-flex; flex: none; }
.nav__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ===== Hero ===== */
.hero { max-width: var(--maxw); margin: 0 auto; min-height: 104vh; display: flex; align-items: center; padding-top: 90px; padding-bottom: 60px; position: relative; overflow: visible; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; width: 100%; position: relative; }
.hero__left { display: flex; flex-direction: column; align-items: flex-start; }
.hero__avail { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.4); backdrop-filter: blur(12px) saturate(180%); -webkit-backdrop-filter: blur(12px) saturate(180%); border: 1px solid rgba(255,255,255,.4); color: var(--muted); font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 100px; box-shadow: 0 18px 40px -22px rgba(20,18,30,.2), inset 0 1px 0 rgba(255,255,255,.6); }
.hero__pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(31,184,107,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,184,107,.5); } 70% { box-shadow: 0 0 0 10px rgba(31,184,107,0); } 100% { box-shadow: 0 0 0 0 rgba(31,184,107,0); } }
.hero__title { font-weight: 600; font-size: clamp(3.4rem, 9vw, 7rem); line-height: .9; letter-spacing: -.03em; margin-top: 22px; }
.hero__title span { display: block; }
.hero__role { font-size: clamp(1.05rem, 2.4vw, 1.5rem); font-weight: 600; margin-top: 18px; }
.hero__lede { color: var(--muted); font-weight: 400; max-width: 440px; margin-top: 14px; font-size: 1.05rem; }
.hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__photo { position: relative; aspect-ratio: 4/4.6; background: var(--orange); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 108%; object-fit: cover; object-position: top center; bottom: 0; }

/* ===== Marquee ===== */
.marquee { overflow: hidden; padding: 26px 0; margin-top: 90px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); }
.marquee__track { display: flex; align-items: center; gap: 26px; width: max-content; white-space: nowrap; animation: scroll 30s linear infinite; }
.marquee__track span { font-family: "Plus Jakarta Sans"; font-weight: 600; font-size: clamp(1.3rem, 3vw, 2rem); color: #fff; }
.marquee__track .marquee-svg { width: 32px; height: 32px; margin: 0 10px; color: var(--muted); stroke-width: 1.5; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== Section headings ===== */
.h-section { font-weight: 600; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.08; letter-spacing: -.02em; text-align: center; }
.h-sub { text-align: center; color: var(--muted); font-weight: 500; margin-top: 12px; }

/* ===== About ===== */
.about { max-width: var(--maxw); margin: 0 auto; padding-top: 130px; padding-bottom: 80px; overflow: visible !important; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 56px; }
.about__col { list-style: none; display: flex; flex-direction: column; gap: 36px; }
.about__col--left { text-align: right; }
.about__col li { display: flex; flex-direction: column; gap: 10px; padding: 4px 0; }
.about__col span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; line-height: 1.4; }
.about__col strong { font-family: "Plus Jakarta Sans"; font-weight: 600; font-size: 1.05rem; line-height: 1.5; }
.about__photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--orange);
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  contain: paint;
  will-change: transform;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  isolation: isolate;
}
.about__photo.reveal { transition: opacity 1s var(--ease), filter 1s var(--ease) !important; }
.about__photo::after { content: attr(data-fallback); font-family: "Plus Jakarta Sans"; color: rgba(255,255,255,.85); font-weight: 600; }
.about__photo:has(img)::after { display: none; }
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.center { text-align: center; margin-top: 56px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Skills ===== */
.skills { max-width: var(--maxw); margin: 0 auto; padding-top: 130px; }
.skills__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; padding-bottom: 60px; overflow: visible; }
.scard { background: var(--surface); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 6px solid var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.scard:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -24px rgba(20,18,30,.36); }
.scard--orange { border-top-color: var(--orange); }
.scard--blue { border-top-color: var(--blue); }
.scard--green { border-top-color: var(--green); }
.scard h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 18px; }
.scard ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.scard li { color: var(--muted); font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.scard li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .4; flex: none; }

/* ===== Work ===== */
.work { max-width: var(--maxw); margin: 0 auto; padding-top: 130px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.filter { background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 14px; padding: 9px 20px; border-radius: 100px; cursor: pointer; transition: all .25s var(--ease); }
.filter:hover { color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.wcard { cursor: pointer; }
.wcard__media { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--vibe, #e3ded3); border: none; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); padding: 24px; }
.wcard__media::after { content: attr(data-fallback); font-family: "Plus Jakarta Sans"; font-weight: 600; color: #b9b3a6; font-size: 1.1rem; }
.wcard__media:has(img)::after { display: none; }
.wcard__media img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; transform: scale(1); transition: transform .7s var(--ease); box-shadow: 0 8px 24px -8px rgba(0,0,0,0.2); }
.wcard:hover .wcard__media img { transform: scale(0.92); }
/* hover action buttons */
.wcard__btns { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; display: flex; justify-content: space-between; gap: 8px; opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none; }
.wcard:hover .wcard__btns { opacity: 1; transform: none; }
.wcard__btn { font-size: 12.5px; font-weight: 600; padding: 9px 15px; border-radius: 100px; color: var(--ink); white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.wcard__btn--cat { color: var(--muted); }
/* view more + lazy reveal */
.wcard--extra { display: none; }
.grid.is-expanded .wcard--extra { display: block; }
.wcard.is-hidden { display: none !important; }
.viewmore { display: block; margin: 50px auto 0; padding: 14px 34px; border-radius: 100px; font-family: inherit; font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer; transition: transform .25s var(--ease); }
.viewmore:hover { transform: translateY(-3px); }
.wcard__play { position: absolute; z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.85); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 14px; transition: transform .3s var(--ease), background .3s; }
.wcard:hover .wcard__play { transform: scale(1.12); background: var(--orange); color: #fff; }
.wcard__info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.wcard__info h3 { font-family: "Plus Jakarta Sans"; font-weight: 600; font-size: 1.1rem; }
.wcard__info span { color: var(--muted); font-size: 13px; text-align: right; }
.wcard.is-hidden { display: none; }

/* ===== Experience Timeline (Bento) ===== */
.experience { max-width: 900px; margin: 0 auto; padding-top: 100px; padding-bottom: 80px; }
.experience__title { font-size: clamp(3rem, 8vw, 5rem); font-weight: 600; text-align: center; line-height: 1.1; margin-bottom: 80px; letter-spacing: -0.03em; }

/* ===== ZIGZAG GRAPH (Experience) ===== */
.zigzag-wrap { position: relative; margin: 60px auto 0; padding: 40px 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.zigzag-wrap::-webkit-scrollbar { display: none; }
.zigzag-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.zigzag-graph { display: flex; align-items: center; justify-content: space-between; gap: 80px; position: relative; z-index: 2; width: max-content; padding: 0 40px; margin: 0 auto; height: 500px; }

/* The Nodes */
.zigzag-item { position: relative; display: flex; flex-direction: column; align-items: center; width: 280px; }
.zigzag-item:nth-child(1) { align-self: flex-end; margin-bottom: 20px; }
.zigzag-item:nth-child(2) { align-self: center; margin-top: 150px; }
.zigzag-item:nth-child(3) { align-self: center; margin-bottom: 150px; }
.zigzag-item:nth-child(4) { align-self: flex-start; margin-top: 80px; }
.zigzag-item:nth-child(5) { align-self: flex-start; margin-top: 0; }

.zigzag-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--node-color); border: 4px solid var(--bg); box-shadow: 0 0 0 2px var(--node-color); margin-bottom: 24px; z-index: 3; position: relative; transition: transform 0.3s; }
.zigzag-item:hover .zigzag-dot { transform: scale(1.3); }

/* The Cards */
.zigzag-card { background: var(--surface); padding: 24px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid var(--line); position: relative; transition: transform 0.3s var(--ease), box-shadow 0.3s; text-align: left; width: 100%; }
.zigzag-item:hover .zigzag-card { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.zigzag-item:nth-child(odd) { flex-direction: column-reverse; }
.zigzag-item:nth-child(odd) .zigzag-dot { margin-bottom: 0; margin-top: 24px; }

.zigzag-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.zigzag-company { background: transparent; padding: 4px 12px; border-radius: 100px; font-size: 0.8rem; font-weight: 700; color: var(--node-color) !important; border: 2px solid var(--node-color) !important; text-transform: uppercase; letter-spacing: 0.05em; }
.zigzag-date { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.zigzag-card h3 { font-size: 1.2rem; margin-bottom: 8px; line-height: 1.2; font-weight: 700; color: var(--ink); }
.zigzag-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; margin-bottom: 12px; }
.zigzag-loc { display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; color: var(--muted); }

@media (max-width: 768px) {
  .zigzag-wrap { padding: 20px 20px; }
  .zigzag-graph { gap: 40px; padding: 0 20px; }
}

/* ===== Feedback ===== */
.feedback { max-width: 1100px; margin: 0 auto; padding-top: 100px; padding-bottom: 120px; }
.feedback__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 40px; box-shadow: 0 12px 34px rgba(0,0,0,0.03); transition: transform 0.3s var(--ease); }
.fcard:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); }
.fcard:nth-child(even) { margin-top: 60px; }
.fcard p { font-size: 1.15rem; font-weight: 500; line-height: 1.6; margin-bottom: 32px; color: var(--ink); }
.fcard__author { display: flex; align-items: center; gap: 16px; }
.fcard__av { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; color: #fff; font-size: 1.2rem; }
.fcard__author strong { display: block; font-weight: 600; font-size: 1.05rem; }
.fcard__author span { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 900px) {
  .feedback__grid { grid-template-columns: 1fr; }
  .fcard:nth-child(even) { margin-top: 0; }
  .timeline__line { left: 24px; }
  .timeline__dot { left: 24px; }
  .timeline__card { width: calc(100% - 60px); margin-left: 60px !important; margin-right: 0 !important; }
}

/* ===== Contact ===== */
.contact { max-width: var(--maxw); margin: 0 auto; padding-top: 140px; padding-bottom: 80px; }
.contact__card { background: var(--ink); border-radius: 40px; padding: 80px 32px; text-align: center; color: #fff; }
.contact__eyebrow { font-family: "Caveat"; font-size: 1.6rem; color: var(--orange); }
.contact__title { font-weight: 600; font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: 1; margin: 14px 0 38px; }
.contact__links { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.contact__links a { color: rgba(255,255,255,.65); font-size: 15px; transition: color .25s; }
.contact__links a:hover { color: #fff; }


/* ===== Footer ===== */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 30px 24px 50px; display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.footer__name { font-family: "Plus Jakarta Sans"; font-weight: 600; color: var(--ink); }
.footer__spidey { width: 40px; opacity: .35; transition: opacity .3s, transform .3s var(--ease); }
.footer__spidey:hover { opacity: .7; transform: rotate(-10deg) scale(1.15); }


/* ===== Card badges / count ===== */
.wcard__badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255,255,255,.9); color: var(--ink); font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 100px; display: flex; align-items: center; gap: 6px; }
.wcard__badge.is-video { background: var(--ink); color: #fff; }
.wcard__count { position: absolute; bottom: 12px; right: 12px; z-index: 2; background: rgba(20,18,30,.7); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 100px; }

/* ===== Project detail page ===== */
.detail { position: fixed; inset: 0; z-index: 150; background: var(--bg); transform: translateY(100%); transition: transform .7s var(--ease); display: flex; flex-direction: column; visibility: hidden; }
.detail.is-open { transform: none; visibility: visible; }
.detail__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; border-bottom: 1px solid var(--line); background: rgba(246,244,239,.85); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 2; }
.detail__back { background: none; border: 1px solid var(--line); border-radius: 100px; padding: 9px 18px; font: inherit; font-weight: 500; cursor: pointer; transition: all .25s var(--ease); }
.detail__back:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.detail__brand { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.detail__brandav { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: var(--orange); display: inline-flex; }
.detail__brandav img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.detail__cta { background: var(--ink); color: #fff; padding: 9px 18px; border-radius: 100px; font-size: 14px; }
.detail__scroll { overflow-y: auto; flex: 1; padding: 64px 24px 130px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.detail__head { max-width: 900px; margin: 0 auto; text-align: center; }
.detail__meta { display: flex; gap: 12px; justify-content: center; margin-bottom: 26px; }
.detail__meta span { background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 7px 16px; font-size: 14px; color: var(--muted); }
.detail__title { font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.detail__role { color: var(--muted); margin-top: 16px; font-size: 1.1rem; }
.detail__hero { max-width: 1000px; margin: 50px auto 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.detail__hero img, .detail__hero video { width: 100%; display: block; }
.detail__blurb { max-width: 680px; margin: 46px auto 0; text-align: center; font-size: 1.2rem; line-height: 1.65; color: #44424a; }
.detail__gallery { max-width: 1000px; margin: 54px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.detail__gallery img { width: 100%; border-radius: 16px; cursor: zoom-in; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.detail__gallery img:hover { transform: translateY(-4px); }
.detail__gallery img:only-child { grid-column: span 2; }
.detail__next { display: block; margin: 74px auto 0; background: var(--ink); color: #fff; border: 0; border-radius: 100px; padding: 16px 38px; font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; transition: transform .25s var(--ease); }
.detail__next:hover { transform: translateY(-3px); }
@media (max-width: 560px) { .detail__gallery { grid-template-columns: 1fr; } .detail__cta { display: none; } .detail__scroll { padding-top: 44px; } }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(16,15,20,.92); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s var(--ease); }
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__stage { max-width: min(1100px, 92vw); height: 86vh; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.lightbox__stage img, .lightbox__stage video { max-width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); background: #000; }
.lightbox__close { position: absolute; top: 22px; right: 26px; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 18px; cursor: pointer; transition: background .25s; }
.lightbox__close:hover { background: rgba(255,255,255,.25); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; transition: background .25s; }
.lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__meta { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #fff; display: flex; gap: 14px; justify-content: center; font-family: "Plus Jakarta Sans"; font-weight: 500; }
.lightbox__meta span:last-child { color: rgba(255,255,255,.55); }
@media (max-width: 560px) { .lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; } }

/* ===== Bottom frosted blur ===== */
.bottom-blur {
  position: fixed; left: 0; right: 0; bottom: 0; height: 120px; z-index: 40; pointer-events: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(to top, var(--bg) 8%, rgba(246,244,239,.4) 55%, transparent);
  -webkit-mask-image: linear-gradient(to top, #000 35%, transparent);
  mask-image: linear-gradient(to top, #000 35%, transparent);
}
@media (prefers-reduced-motion: reduce) { .bottom-blur { backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* ===== Services (Rivers-style fanned cards w/ mirror) ===== */
.services { max-width: var(--maxw); margin: 0 auto; padding-top: 130px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 70px; }
.svc {
  background: var(--surface); border-radius: 26px; border-top: 5px solid var(--ink);
  box-shadow: var(--shadow); aspect-ratio: 1 / 1; margin: 0 -8px; padding: 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
  -webkit-box-reflect: below 12px linear-gradient(transparent 70%, rgba(0,0,0,.12));
}
.svc:nth-child(1) { transform: rotate(-5deg) translateY(16px); z-index: 1; }
.svc:nth-child(2) { transform: translateY(-4px); z-index: 3; }
.svc:nth-child(3) { transform: rotate(5deg) translateY(16px); z-index: 1; }
.services__grid:hover .svc { transform: rotate(0) translateY(0); }
.svc:hover { transform: rotate(0) translateY(-14px) !important; z-index: 5; box-shadow: 0 38px 64px -26px rgba(20,18,30,.45); }
.svc__icon { width: 74px; height: 74px; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 14px 26px -12px currentColor; }
.svc__icon svg { width: 32px; height: 32px; }
.svc--orange { border-top-color: var(--orange); } .svc--orange .svc__icon { background: var(--orange); }
.svc--blue { border-top-color: var(--blue); } .svc--blue .svc__icon { background: var(--blue); }
.svc--green { border-top-color: var(--green); } .svc--green .svc__icon { background: var(--green); }
.svc h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; text-align: center; line-height: 1.18; letter-spacing: -.01em; }

/* ===== Experience timeline (Replaced by Zigzag) ===== */
.experience { max-width: 1200px; margin: 0 auto; padding-top: 130px; overflow: hidden; text-align: center; }

/* ===== Achievements ===== */
.achievements { max-width: var(--maxw); margin: 0 auto; padding-top: 130px; }
.achievements__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 56px; }
.achv { background: var(--surface); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); border: 1px solid var(--line); border-left: 6px solid var(--orange); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.achv:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -24px rgba(20,18,30,.36); }
.achv__year { font-size: 13px; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: .08em; }
.achv__title { font-size: 1.3rem; font-weight: 600; margin-top: 10px; }
.achv__desc { color: var(--muted); font-size: .95rem; margin-top: 8px; line-height: 1.5; }
.achv--blue { border-left-color: var(--blue); } .achv--blue .achv__year { color: var(--blue); }
.achv--green { border-left-color: var(--green); } .achv--green .achv__year { color: var(--green); }
.about__title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 600;
  text-align: center;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.about__lead { max-width: 680px; margin: 0 auto 60px; text-align: center; font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }

/* ===== Playground ===== */
.playground { max-width: none; margin: 0; padding-top: 130px; }
.board { 
  position: relative; height: 720px; margin-top: 50px; 
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  border-radius: 24px;
  background-color: rgba(255,255,255,0.01);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
  perspective: 1000px;
}
.pcard { 
  position: absolute; width: 240px; border-radius: 12px; overflow: hidden; 
  box-shadow: 0 15px 35px rgba(0,0,0,0.4); background: #ffffff; 
  cursor: grab; will-change: transform; 
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, z-index 0s; 
  touch-action: none; padding: 8px; padding-bottom: 24px; transform-style: preserve-3d;
}
.pcard:active { cursor: grabbing; }
.pcard.is-drag { box-shadow: 0 30px 60px rgba(0,0,0,0.6); }
.pcard img { width: 100%; height: 160px; object-fit: cover; display: block; pointer-events: none; border-radius: 6px; }
.pcard span { display: block; padding-top: 8px; font-size: 13px; font-weight: 600; color: #111; text-align: center; }
/* ===== Intro / landing animation ===== */
.intro {
  position: fixed; inset: 0; z-index: 950;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.intro__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.95;
  pointer-events: none;
  z-index: 1;
  animation: introBgBreathe 18s ease-in-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
}

@keyframes introBgBreathe {
  0% { transform: scale(1); }
  100% { transform: scale(1.06) translate(-1%, -1%); }
}
.intro__border {
  position: absolute;
  top: 14px; left: 14px; right: 14px; bottom: 14px;
  width: calc(100% - 28px); height: calc(100% - 28px);
  pointer-events: none;
  z-index: 10;
}
.intro__border rect {
  rx: 18px;
  ry: 18px;
}
.border-track {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.5px;
}
.border-glow {
  stroke: #ffffff;
  stroke-width: 8px;
  stroke-linecap: round;
  filter: blur(12px);
  opacity: 0.65;
  stroke-dasharray: 100 300;
  animation: borderTrace 4.5s linear infinite;
}
.border-active {
  stroke: #ffffff;
  stroke-width: 1.5px;
  stroke-linecap: round;
  stroke-dasharray: 100 300;
  animation: borderTrace 4.5s linear infinite;
}
@keyframes borderTrace {
  0% { stroke-dashoffset: 400; }
  100% { stroke-dashoffset: 0; }
}
.intro__inner {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  min-height: 1.5em;
}
.intro__name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700; font-size: clamp(3.5rem, 12vw, 6.5rem);
  letter-spacing: 0.02em; display: inline-flex;
  align-items: baseline;
  color: #ffffff;
  transition: opacity .5s ease, transform .5s ease;
  user-select: none;
}
.intro__name.is-fade { opacity: 0; transform: scale(.85); }
.intro__name.is-pulse { animation: namePulse .55s ease; }
.intro__ch {
  display: inline-block; opacity: 0; will-change: transform, opacity;
  transition: transform .95s cubic-bezier(.16,.84,.28,1.05), opacity .6s ease;
}
.intro__ch--space { width: .3em; }
.intro__ch--orange {
  display: inline-block !important;
  width: 0.18em;
  height: 0.18em;
  background-color: #ffe600 !important;
  color: transparent !important;
  border-radius: 50%;
  vertical-align: baseline;
  position: relative;
  top: -0.05em;
  margin: 0 0.04em;
  box-shadow: 0 0 12px rgba(255, 230, 0, 0.8), 0 0 3px rgba(255, 230, 0, 0.4);
}
@keyframes namePulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.intro__logo {
  position: absolute; opacity: 0;
  transform: scale(.3) rotate(-8deg);
  transition: transform .8s cubic-bezier(.2,.9,.3,1.25), opacity .5s ease;
  z-index: 3;
}
.intro__logo.is-show {
  opacity: 1;
  transform: scale(1) rotate(0);
}
.intro__logo.is-show img {
  animation: logoBreathe 3s ease-in-out infinite alternate;
}
@keyframes logoBreathe {
  0% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.35)); }
  100% { transform: scale(1.04); filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.6)); }
}
.intro__logo.is-zooming {
  pointer-events: none;
  transform: scale(150) rotate(0deg);
  opacity: 1;
  transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1);
}
.intro__logo.is-zooming img {
  animation: none;
  filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0));
  transition: filter 0.3s ease;
}
.intro__logo img {
  height: clamp(120px, 24vw, 260px);
  display: block;
}
.intro__logo--text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700; font-size: clamp(5rem, 20vw, 12rem);
  letter-spacing: -.04em; color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.45);
}
.intro.is-leaving {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease 0.6s;
}
.intro.is-leaving .intro__border {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
body.intro-lock { overflow: hidden; height: 100vh; }



/* ===== About Video Upgrade ===== */
.about__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.about__img--base { transform: scale(1.35); transform-origin: center 60%; }
.about__img--animated { opacity: 0; transition: opacity 0.4s ease; transform: scale(1); }
.about__photo:hover .about__img--animated { opacity: 1; }

.about__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3); opacity: 0; transition: opacity 0.4s ease;
  z-index: 2; pointer-events: none; border-radius: inherit;
}
.about__photo:hover .about__overlay { opacity: 1; }
.about__hint {
  color: #fff; font-size: 0.9rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 12px 24px; border-radius: 30px;
  background: rgba(20,18,30,0.6); backdrop-filter: blur(8px);
  transform: translateY(10px); transition: transform 0.4s ease;
}
.about__photo:hover .about__hint { transform: translateY(0); }

.about__crt-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 3; opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
  border-radius: inherit;
}
.about__crt-video.is-active { opacity: 1; pointer-events: auto; }

.about__close-btn {
  position: absolute; top: 16px; right: 16px; z-index: 4;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(20,18,30,0.65); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.about__close-btn svg { width: 20px; height: 20px; }
.about__close-btn.is-active { opacity: 1; pointer-events: auto; }

/* ===== Honorable Mentions ===== */
.mentions { max-width: var(--maxw); margin: 0 auto; padding-top: 130px; }
.mentions__container {
  background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 56px 48px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 38px;
  position: relative;
}
.mentions__lead {
  font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 600;
  line-height: 1.1; letter-spacing: -.03em; text-align: center;
  color: #fff;
}
.mentions__video-wrap {
  position: relative; aspect-ratio: 16/9; width: 100%;
  border-radius: 20px; overflow: hidden;
  background: #111;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
}
.mentions__video { width: 100%; height: 100%; border: 0; object-fit: cover; }
.mentions__impact {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.15); padding-top: 32px;
}
.mentions__stat { display: flex; flex-direction: column; gap: 6px; }
.mentions__stat strong {
  font-size: clamp(1.2rem, 2.4vw, 1.8rem); font-weight: 700;
  color: var(--orange);
}
.mentions__stat span { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.4; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero__flank { display: none !important; }
  .achievements__grid { grid-template-columns: 1fr; }
  .scribble--5 { display: none; }
  .nav__burger { display: none; }
  .skills__grid, .services__grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .svc { margin: 0; aspect-ratio: auto; padding: 40px 30px; -webkit-box-reflect: none; transform: none !important; }
  .services__grid:hover .svc { transform: none; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; margin-top: 40px; }
  .about__col { text-align: center !important; align-items: center; gap: 40px; }
  .about__col li { gap: 12px; padding: 6px 0; }
  .about__col--left { order: 2; }
  .about__photo { width: 100%; max-width: 280px; aspect-ratio: 4/5; margin: 0 auto; order: 1; contain: paint; will-change: transform; -webkit-mask-image: -webkit-radial-gradient(white, black); isolation: isolate; }
  .about__img--base { transform: scale(1) !important; transform-origin: center center !important; }
  .about__overlay {
    align-items: flex-end !important;
    padding-bottom: 24px !important;
  }
  .about__col--right { order: 3; }
  .scribble { display: none; }
  .hero { min-height: auto; padding-top: 130px; padding-bottom: 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__left { align-items: center; text-align: center; }
  .hero__lede { text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__photo { max-width: 340px; margin: 0 auto; width: 100%; order: -1; }
  .mentions__impact { grid-template-columns: 1fr 1fr; gap: 20px; }
  .mentions__container { padding: 36px 24px; }
  
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; gap: 6px; }
  .footer { flex-direction: column; gap: 8px; text-align: center; }
  .contact__card { padding: 56px 22px; border-radius: 28px; }
  .mentions__impact { grid-template-columns: 1fr; }
  
  /* Layout breathing space improvements for mobile */
  .nav { padding: 12px 16px; }
  .nav.is-scrolled { padding: 8px 16px; }
  .detail__bar { padding: 12px 16px; }
  .nav__cta { display: none !important; }
  
  /* Footer Form Cards padding reduction to make fields wider */
  .footer-framer { padding: 80px 16px 16px !important; }
  .footer-card { padding: 32px 20px !important; min-height: auto !important; }
  
  /* Footer Bottom Pill Stacking */
  .footer-pill { flex-direction: column; gap: 12px; padding: 18px 20px !important; border-radius: 24px !important; text-align: center; }
}

.suiii-confetti {
  position: fixed;
  z-index: 9999;
  font-family: 'Impact', 'Arial Black', sans-serif;
  text-transform: uppercase;
  pointer-events: none;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 900;
  text-shadow: 0 4px 15px rgba(255,0,0,0.6), 0 0 5px #000;
  animation: suiiiiScatter forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform, opacity;
  transform: translate(-50%, -50%) scale(0.1);
  opacity: 0;
}

@keyframes suiiiiScatter {
  0% { transform: translate(-50%, -50%) scale(0.1) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; filter: blur(0px); }
  100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(var(--s)) rotate(var(--r)); opacity: 0; filter: blur(4px); }
}


/* ===== TILTED LIST CARDS (What I Do) ===== */
.tilted-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 60px;
  overflow: visible;
}
.tcard { width: 300px; background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); border-top: 8px solid; }
.tcard:hover { transform: translateY(-10px) rotate(0deg) !important; z-index: 10 !important; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.tcard--orange { border-color: var(--orange); }
.tcard--blue { border-color: var(--blue); }
.tcard--green { border-color: var(--green); }
.tcard__head { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; color: var(--ink); text-align: center; }
.tcard__list { list-style: none; padding: 0; margin: 0; }
.tcard__list li { padding: 10px 0 10px 24px; color: var(--muted); font-size: 1.05rem; position: relative; font-weight: 500; }
.tcard__list li::before { content: "•"; position: absolute; left: 4px; color: #c4c4c4; font-size: 1.2rem; top: 12px; line-height: 1; }

/* ===== CTA BANNER ===== */
.cta-banner-wrap { padding: 60px 24px; max-width: 1000px; margin: 0 auto; }
.cta-banner { background: #fff; border-radius: 40px; padding: 40px 50px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); border: 1px solid var(--line); }
.cta-banner__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; line-height: 1.1; color: var(--ink); letter-spacing: -0.02em; }
.cta-banner__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== TILTED STATS (Achievements) ===== */
.achieved { overflow: visible !important; }
.tilted-stats { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; max-width: 1000px; margin: 0 auto; padding-top: 40px; padding-bottom: 60px; overflow: visible; }
.tstat { width: 300px; background: #fff; border-radius: 32px; padding: 50px 30px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.08); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); border-top: 6px solid; }
.tstat:hover { transform: translateY(-10px) rotate(0deg) !important; z-index: 10 !important; }
.tstat--orange { border-color: var(--orange); box-shadow: 0 40px 80px -20px rgba(255,106,43,0.3); }
.tstat--blue { border-color: var(--blue); box-shadow: 0 40px 80px -20px rgba(47,107,255,0.3); }
.tstat--green { border-color: var(--green); box-shadow: 0 40px 80px -20px rgba(31,184,107,0.3); }
.tstat strong { display: block; font-size: 4rem; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 8px; }
.tstat span { font-size: 1.1rem; color: var(--muted); font-weight: 500; }

/* ===== OLIVIA RIVERS STYLE FOOTER ===== */
.spidey-contact { background: var(--ink); color: #fff; padding: 120px 24px 60px; border-radius: 40px 40px 0 0; margin-top: 100px; }
.spidey-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.spidey-left h2 { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 600; line-height: 1; margin-bottom: 40px; letter-spacing: -0.03em; }
.spidey-actions { display: flex; gap: 16px; margin-bottom: 80px; flex-wrap: wrap; }
.spidey-actions .btn--ghost { background: #fff; color: var(--ink); border-color: #fff; }
.spidey-actions .btn--ghost:hover { background: rgba(255,255,255,0.8); }
.spidey-nav { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; }
.spidey-col { display: flex; flex-direction: column; gap: 12px; }
.spidey-col a { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.spidey-col a:hover { color: #fff; }
.spidey-socials { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.pill-link { padding: 8px 16px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 0.9rem; transition: background 0.3s, color 0.3s; }
.pill-link:hover { background: #fff; color: var(--ink); }
.spidey-form-wrap { background: rgba(255,255,255,0.03); padding: 50px; border-radius: 32px; border: 1px solid rgba(255,255,255,0.05); }
.spidey-connect { font-size: 2rem; margin-bottom: 30px; display: flex; align-items: center; gap: 12px; }
.spidey-blink { width: 12px; height: 12px; background: var(--orange); border-radius: 50%; animation: blink 2s infinite; }
.spidey-form { display: flex; flex-direction: column; gap: 20px; }
.spidey-form input, .spidey-form textarea { width: 100%; padding: 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; color: #fff; font: inherit; outline: none; transition: border-color 0.3s; }
.spidey-form input:focus, .spidey-form textarea:focus { border-color: rgba(255,255,255,0.3); }
.spidey-form textarea { min-height: 150px; resize: none; }
.spidey-form button { margin-top: 10px; width: 100%; justify-content: center; border: none; }
.spidey-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.spidey-form__status { margin: 4px 0 0; min-height: 1.2em; font-size: 0.9rem; line-height: 1.4; color: rgba(255,255,255,0.6); transition: color 0.3s; }
.spidey-form__status.is-error { color: #ff8a6a; }
.spidey-form__status.is-success { color: #6ee7a8; }
.spidey-form__status.is-pending { color: rgba(255,255,255,0.75); }
@media (max-width: 960px) {
  .spidey-wrap { grid-template-columns: 1fr; }
  .spidey-form-wrap { padding: 30px; }
  .cta-banner { flex-direction: column; text-align: center; justify-content: center; padding: 40px 24px; }
  .tilted-cards, .tilted-stats { flex-direction: column; align-items: center; }
  .tcard, .tstat { transform: none !important; margin-bottom: 20px; width: 100%; }
}


/* ===== AWWWARDS UPGRADES ===== */
/* 1. Cinematic Film Grain */
.noise {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 9999; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* 3. Sequential Split-Text Reveals */
.word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.h-section.is-in .word-inner, .reveal.is-in .word-inner {
  transform: translateY(0);
}
.word-wrapper {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.16em;
  margin-right: 0.25em;
  vertical-align: top;
}


/* ===== FEATURED CASE STUDIES ===== */
.featured { padding-top: 140px; padding-bottom: 60px; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.case { display: grid; grid-template-columns: 300px 1fr; gap: 40px; margin-bottom: 80px; align-items: center; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }
.case__info h3 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 16px; color: var(--ink); letter-spacing: -0.03em; }
.case__info p { color: var(--muted); font-size: 1.1rem; line-height: 1.6; }
.case__scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 30px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.case__scroll::-webkit-scrollbar { display: none; }
.case__scroll img { height: 450px; width: auto; border-radius: 24px; scroll-snap-align: start; box-shadow: 0 20px 40px rgba(0,0,0,0.1); transition: transform 0.4s var(--ease); object-fit: cover; }
.case__scroll img:hover { transform: scale(1.02); }

/* ===== CINEMATIC MOTION REEL ===== */
.motion-reel { padding: 60px 24px; max-width: 1200px; margin: 0 auto; }
.motion-reel__inner { position: relative; width: 100%; border-radius: 40px; overflow: hidden; background: #000; display: flex; align-items: center; justify-content: center; aspect-ratio: 16/9; box-shadow: 0 40px 80px rgba(0,0,0,0.3); cursor: pointer; }
.motion-reel__inner video { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.5s ease; pointer-events: none; }
.motion-reel__inner.is-playing video { opacity: 1; }
.motion-reel__overlay { position: absolute; bottom: 50px; left: 50px; color: #fff; z-index: 2; pointer-events: none; transition: opacity 0.4s ease; }
.motion-reel__inner.is-playing .motion-reel__overlay { opacity: 0; }
.motion-reel__overlay h2 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; line-height: 1; margin-bottom: 10px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); letter-spacing: -0.02em; }
.motion-reel__overlay p { font-size: 1.2rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); opacity: 0.8; }
.motion-reel__play { position: absolute; z-index: 3; font-size: 1.1rem; padding: 20px 40px; border-radius: 100px; font-weight: 700; transition: opacity 0.4s ease, transform 0.4s ease; pointer-events: none; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); color: #fff; border: 1px solid rgba(255,255,255,0.2); text-transform: uppercase; letter-spacing: 0.05em; }
.motion-reel__inner.is-playing .motion-reel__play { opacity: 0; transform: scale(0.8); }

@media (max-width: 768px) {
  .motion-reel__inner { aspect-ratio: 4/5; border-radius: 24px; }
  .motion-reel__overlay { bottom: 30px; left: 30px; }
  .case__scroll img { height: 350px; }
}


/* ===== YOUTUBE GALLERIES ===== */
.yt-galleries { max-width: 1200px; margin: 0 auto; padding-bottom: 60px; padding-left: 24px; padding-right: 24px; }
.yt-gallery { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: center; }
.yt-gallery__info { padding-right: 16px; }
.yt-gallery__info h3 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 16px; color: var(--ink); letter-spacing: -0.03em; line-height: 1.06; padding-bottom: 0.08em; }
.yt-gallery__info p { color: var(--muted); font-size: 1.1rem; line-height: 1.6; margin-bottom: 24px; }
.swipe-hint { display: inline-block; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); }

.yt-gallery__scroll { display: flex; gap: 30px; overflow-x: auto; padding: 20px 0 40px; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: center; }
.yt-gallery__scroll::-webkit-scrollbar { display: none; }

.yt-card { height: 400px; width: 711px; flex-shrink: 0; scroll-snap-align: center; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); opacity: 0.6; transform: scale(0.95); background: #000; }
.yt-card--portrait { width: 281px; height: 500px; } /* 9:16, enlarged so verticals get more focus */
.yt-card.is-centered { opacity: 1; transform: scale(1); box-shadow: 0 30px 60px rgba(0,0,0,0.15); }
.yt-card iframe { width: 100%; height: 100%; pointer-events: auto; }

@media (max-width: 900px) {
  .yt-gallery { grid-template-columns: 1fr; }
  .yt-card { height: 300px; width: 533px; }
  .yt-card--portrait { width: 219px; height: 390px; }
}
@media (max-width: 600px) {
  .yt-card { height: 220px; width: 391px; }
  .yt-card--portrait { width: 174px; height: 310px; }
}


/* ===== INSTAGRAM PROFILE ===== */
.ig-wrapper {
  position: relative;
  max-width: var(--maxw);
  margin: 100px auto;
  padding: 5px;
  border-radius: 40px;
  background: transparent;
  overflow: hidden;
}
.ig-wrapper::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: conic-gradient(from 0deg, #f09433 0%, #e6683c 20%, #dc2743 40%, #bc1888 60%, #cc2366 80%, #f09433 100%);
  animation: igRotateBorder 3s linear infinite;
  z-index: 0;
}
@keyframes igRotateBorder {
  100% { transform: rotate(360deg); }
}

@media (max-width: 800px) {
  .ig-wrapper {
    margin: 60px 16px;
    border-radius: 24px;
  }
}

.ig-profile {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: 36px;
  padding: 60px 50px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
}

@media (max-width: 800px) {
  .ig-profile {
    border-radius: 20px;
    padding: 40px 24px;
  }
}

.ig-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 24px;
}
.ig-avatar img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.ig-info {
  flex: 1;
}
.ig-username {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.ig-username h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}
.ig-badge {
  width: 18px;
  height: 18px;
  color: #0095f6;
  fill: #0095f6;
}
.ig-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.ig-stats p {
  margin: 0;
}
.ig-stats strong {
  font-weight: 600;
}
.ig-bio {
  font-size: 0.95rem;
  line-height: 1.4;
}
.ig-bio p {
  margin: 0 0 2px 0;
}
.ig-bio a {
  color: #00376b;
  text-decoration: none;
  font-weight: 600;
}

.ig-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}
.ig-btn {
  flex: 1;
  background: var(--bg-card);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
  color: var(--ink);
}
.ig-btn:hover {
  background: var(--line);
}

.ig-highlights {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 20px;
}
.ig-highlights::-webkit-scrollbar {
  display: none;
}
.ig-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.ig-highlight__ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) border-box;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.ig-highlight:hover .ig-highlight__ring {
  transform: scale(0.95);
  opacity: 0.8;
}
.ig-highlight__ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.ig-highlight span {
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== INSTAGRAM STORY MODAL ===== */
.story-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.story-modal.is-active {
  opacity: 1;
  pointer-events: all;
}
.story-modal__bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.story-modal__content {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 100%;
  max-height: 850px;
  background: #111;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (min-width: 500px) {
  .story-modal__content {
    height: 90vh;
    border-radius: 12px;
  }
}

.story-progress {
  display: flex;
  gap: 4px;
  padding: 12px 12px 0;
  position: absolute;
  top: 0; left: 0; width: 100%;
  z-index: 10;
}
.story-bar {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
}
.story-bar__fill {
  height: 100%;
  width: 0%;
  background: #fff;
  transition: width 0.1s linear;
}

.story-header {
  position: absolute;
  top: 24px; left: 0; width: 100%;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  color: #fff;
}
.story-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-user img {
  width: 32px; height: 32px;
  border-radius: 50%;
}
.story-username {
  font-weight: 600;
  font-size: 0.9rem;
}
.story-time {
  font-size: 0.85rem;
  opacity: 0.7;
}
.story-close {
  cursor: pointer;
  padding: 4px;
}

.story-media {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
}
.story-media img, .story-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-tap {
  position: absolute;
  top: 0;
  height: 100%;
  z-index: 5;
  cursor: pointer;
}
.story-tap--left {
  left: 0; width: 30%;
}
.story-tap--right {
  right: 0; width: 70%;
}

@media (max-width: 600px) {
  .ig-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}


/* ===== STORY NAV PREVIEWS & BORDER ===== */
@keyframes igGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.story-modal__content::before {
  content: "";
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  background-size: 200% 200%;
  animation: igGradientFlow 3s ease infinite;
  z-index: -1;
  border-radius: 15px;
}
@media (max-width: 500px) {
  .story-modal__content::before {
    display: none;
  }
}

.story-nav-preview {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.6);
  width: 100%;
  max-width: 440px;
  height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0.5;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.story-nav-preview:hover {
  transform: translateY(-50%) scale(0.62);
  opacity: 1;
}
.story-nav-preview .preview-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  z-index: 1;
}
.story-nav-preview .preview-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.story-nav-preview .preview-avatar-wrap img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.story-nav-preview .preview-title {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  text-transform: capitalize;
}
.story-nav-preview .preview-time {
  color: rgba(255,255,255,0.9);
  font-size: 20px;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.story-nav-preview--left {
  left: -180px;
}
.story-nav-preview--right {
  right: -180px;
}
@media (max-width: 900px) {
  .story-nav-preview {
    display: none !important;
  }
}


/* ===== STORY ARROW ICONS ===== */
.story-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  transition: opacity 0.2s;
  pointer-events: none;
}
.story-tap:hover .story-arrow {
  opacity: 1;
}
.story-tap--left .story-arrow {
  left: 12px;
}
.story-tap--right .story-arrow {
  right: 12px;
}
.story-tap {
  display: flex;
  align-items: center;
}





/* ===== IG BUTTONS ===== */
.ig-btn--link {
  text-decoration: none;
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-weight: 600;
  transition: all 0.2s ease;
}
.ig-btn--link:hover {
  background: var(--line);
  color: var(--ink);
}


/* ===== VIHAAN VIDEO FIX ===== */
.mentions .yt-gallery__scroll {
  padding-left: 0;
  padding-right: 0;
  scroll-padding-left: 0;
}
.mentions .yt-card {
  width: 100%;
  height: 500px;
  max-width: none;
}
@media (max-width: 900px) {
  .mentions .yt-card { height: 350px; }
}
@media (max-width: 600px) {
  .mentions .yt-card { height: 250px; }
}


/* ===== PINTEREST GRID ===== */
.pinterest-grid {
  column-count: 3;
  column-gap: 20px;
  padding: 40px 0;
}
@media (max-width: 900px) {
  .pinterest-grid { column-count: 2; }
}
@media (max-width: 500px) {
  .pinterest-grid { column-count: 3; column-gap: 4px; }
  .pinterest-item { margin-bottom: 4px; border-radius: 12px; }
}
.pinterest-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.pinterest-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.pinterest-item img {
  width: 100%;
  height: auto;
  display: block;
}
.pinterest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.pinterest-item:hover .pinterest-overlay {
  opacity: 1;
}
.pinterest-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}
.pinterest-item:hover .pinterest-title {
  transform: translateY(0);
}

/* ===== THROUGH MY LENS — Pinterest-style window ===== */
.lens { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.scribble--lens { top: 78px; right: 9%; transform: rotate(-5deg); color: var(--orange); font-size: 2rem; z-index: 10; }

.pin-app {
  margin-top: 40px;
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.25);
  overflow: hidden;
}

/* top bar */
.pin-bar {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky; top: 0; z-index: 5;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pin-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.pin-logo {
  width: 34px; height: 34px; border-radius: 50%;
  background: #e60023; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; font-family: Georgia, "Times New Roman", serif;
}
.pin-brandname { font-weight: 700; font-size: 1.15rem; color: #111; letter-spacing: -0.01em; }
.pin-search {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: #efefef; border-radius: 100px; padding: 11px 18px; color: #767676;
  transition: background .2s, box-shadow .2s;
}
.pin-search:focus-within { background: #fff; box-shadow: 0 0 0 2px #111 inset; }
.pin-search input { flex: 1; border: none; background: transparent; outline: none; font: inherit; font-size: 0.95rem; color: #111; }
.pin-bar-actions { flex-shrink: 0; }
.pin-avatar img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: top; display: block; border: 1px solid rgba(0,0,0,0.08); }

/* category pills */
.pin-cats { display: flex; gap: 10px; overflow-x: auto; padding: 16px 20px; scrollbar-width: none; }
.pin-cats::-webkit-scrollbar { display: none; }
.lens-tab {
  flex-shrink: 0; background: #f0f0f0; border: none; color: #111;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 14px; font-weight: 600;
  padding: 10px 18px; border-radius: 100px; cursor: pointer; transition: all .2s var(--ease);
}
.lens-tab:hover { background: #e2e2e2; }
.lens-tab.is-active { background: #111; color: #fff; }

/* masonry feed */
.pin-app .pinterest-grid { padding: 8px 20px 28px; column-gap: 16px; }
.lens-empty { text-align: center; color: #767676; padding: 48px 20px; font-size: 0.95rem; }
@media (max-width: 800px) {
  .pin-app { border-radius: 20px; }
  .pin-brandname { display: none; }
  .pin-bar { gap: 12px; padding: 12px 14px; }
  .pin-app .pinterest-grid { padding: 8px 14px 22px; }
}
@media (max-width: 500px) {
  .pin-app .pinterest-grid { padding: 6px 6px 18px; column-gap: 4px; }
  .pin-app .pinterest-item { margin-bottom: 4px; border-radius: 12px; }
}

/* Pinterest-style cards */
.pin-app .pinterest-item { margin-bottom: 16px; box-shadow: none; border-radius: 18px; }
.pin-app .pinterest-item:hover { transform: none; box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.pin-app .pinterest-item::after {
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.06);
  opacity: 0; transition: opacity .2s var(--ease); pointer-events: none; border-radius: inherit;
}
.pin-app .pinterest-item:hover::after { opacity: 1; }
.pin-view {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  background: #e60023; color: #fff; border: none; cursor: pointer;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 700; font-size: 13px;
  padding: 9px 15px; border-radius: 100px;
  opacity: 0; transform: translateY(-4px); transition: all .2s var(--ease);
}
.pinterest-item:hover .pin-view { opacity: 1; transform: translateY(0); }
.pin-view:hover { background: #ad081b; }
.pin-app .pinterest-overlay { background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 55%); }
.pin-app .pinterest-title { font-size: 0.85rem; font-weight: 600; }

/* video cards */
.pinterest-item.is-video video { width: 100%; height: auto; display: block; }
.pin-badge {
  position: absolute; bottom: 12px; left: 12px; z-index: 4;
  display: flex; align-items: center; gap: 5px;
  background: rgba(0,0,0,0.6); color: #fff; border-radius: 8px; padding: 4px 8px;
  font-size: 12px; font-weight: 600; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.pin-badge svg { width: 13px; height: 13px; }
.pinterest-item.is-playing .pin-badge { background: var(--orange); }

/* ===== Pinterest portal (home teaser -> gallery page) ===== */
.pin-portal {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  width: max-content; max-width: 90%; margin: 56px auto 0;
  text-decoration: none; cursor: pointer;
}
.pin-portal__swing {
  position: relative; display: flex; flex-direction: column; align-items: center;
  transform-origin: top center; will-change: transform;
}
.pin-portal__string {
  width: 2px; height: 70px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.22), rgba(0,0,0,0.04));
}
.pin-portal__badge {
  position: relative; width: 96px; height: 96px; border-radius: 50%;
  background: #e60023; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 45px -12px rgba(230,0,35,0.6), inset 0 2px 0 rgba(255,255,255,0.35);
  transition: transform .3s var(--ease);
}
.pin-portal__logo { width: 50px; height: 50px; color: #fff; }
.pin-portal__glow {
  position: absolute; inset: -8px; border-radius: 50%; background: #e60023;
  filter: blur(20px); opacity: .35; z-index: -1; animation: portalPulse 2.6s ease-in-out infinite;
}
@keyframes portalPulse { 0%,100% { transform: scale(1); opacity: .3; } 50% { transform: scale(1.16); opacity: .55; } }
.pin-portal__hand {
  font-family: 'Caveat', cursive; font-size: 1.7rem; color: var(--orange);
  transform: rotate(-3deg); transition: transform .3s var(--ease), opacity .3s; opacity: .9;
}
.pin-portal__cta {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 600; font-size: .95rem;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  padding: 11px 22px; border-radius: 100px; transition: all .25s var(--ease);
}
.pin-portal:hover .pin-portal__badge { transform: scale(1.06); }
.pin-portal:hover .pin-portal__hand { transform: rotate(-3deg) translateY(-3px) scale(1.04); opacity: 1; }
.pin-portal:hover .pin-portal__cta { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .pin-portal__glow { animation: none; } }

/* ===== BOTTOM BLUR ===== */
.bottom-blur {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  pointer-events: none;
  z-index: 100;
  transition: opacity 0.3s ease;
}
.bottom-blur.is-hidden {
  opacity: 0;
}


/* ===== TCARD ICONS (Glass effect) ===== */
.tcard-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.1), 0 12px 24px rgba(0, 0, 0, 0.08);
}
.tcard-icon svg {
  color: #fff;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.tcard-icon--orange {
  background: linear-gradient(135deg, #ff9b5a, var(--orange));
  box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.5), inset 0 -3px 6px rgba(0, 0, 0, 0.15), 0 12px 24px rgba(255, 94, 20, 0.25);
}
.tcard-icon--blue {
  background: linear-gradient(135deg, #5ba4ff, var(--blue));
  box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.5), inset 0 -3px 6px rgba(0, 0, 0, 0.15), 0 12px 24px rgba(0, 119, 255, 0.25);
}
.tcard-icon--green {
  background: linear-gradient(135deg, #5ceb90, var(--green));
  box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.5), inset 0 -3px 6px rgba(0, 0, 0, 0.15), 0 12px 24px rgba(16, 185, 129, 0.25);
}


/* ===== iOS BIRTHDAY PICKER ===== */
.birthday-gate {
  font-family: "Plus Jakarta Sans", sans-serif;
}
.ios-picker-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  background: var(--bg);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  /* Faded edges via CSS mask */
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
}
.ios-picker-highlight {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 44px;
  transform: translateY(-50%);
  background: rgba(150, 150, 150, 0.1);
  border-radius: 10px;
  pointer-events: none;
  z-index: 0;
}
.ios-picker-col {
  flex: 1;
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
}
.ios-picker-col::-webkit-scrollbar {
  display: none;
}
.picker-item {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  scroll-snap-align: center;
  user-select: none;
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
}
.picker-item.is-selected {
  opacity: 1;
  transform: scale(1.1);
}
.ios-picker-pad {
  height: calc(50% - 22px);
}


/* ===== PHOTOGRAPHY SCATTER HERO ===== */
@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 0.8; }
}

.hero-scatter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.scatter-img {
  position: absolute;
  object-fit: contain;
  opacity: 0.85;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
  will-change: transform;
}

/* Floating Animations */
@keyframes floatUp {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatDown {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(15px) rotate(-2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatSide {
  0% { transform: translateX(0px) rotate(0deg); }
  50% { transform: translateX(10px) rotate(3deg); }
  100% { transform: translateX(0px) rotate(0deg); }
}

/* Scatter Positioning & Sizing */
.scatter-1 {
  width: 180px;
  top: 10%;
  left: 5%;
  animation: floatUp 6s ease-in-out infinite;
}

.scatter-2 {
  width: 140px;
  bottom: 20%;
  left: 12%;
  animation: floatDown 5s ease-in-out infinite;
  animation-delay: 1s;
}

.scatter-3 {
  width: 160px;
  top: 15%;
  right: 8%;
  animation: floatSide 7s ease-in-out infinite;
}

.scatter-4 {
  width: 130px;
  bottom: 15%;
  right: 18%;
  animation: floatUp 5.5s ease-in-out infinite;
  animation-delay: 2s;
}

.scatter-5 {
  width: 120px;
  top: 50%;
  left: 2%;
  animation: floatDown 6.5s ease-in-out infinite;
}

/* Hide or scale down on mobile to prevent clutter */
@media (max-width: 768px) {
  .scatter-img {
    opacity: 0.3;
    transform: scale(0.6);
  }
  .scatter-1 { left: -10%; top: 5%; }
  .scatter-3 { right: -10%; top: 10%; }
}

/* Additional Scatter Positioning & Sizing */
.scatter-6 {
  width: 140px;
  top: 18%;
  left: 20%;
  animation: floatDown 6s ease-in-out infinite;
  animation-delay: 1.5s;
}

.scatter-7 {
  width: 130px;
  bottom: 25%;
  right: 8%;
  animation: floatUp 5s ease-in-out infinite;
  animation-delay: 2.5s;
}

/* ===== NEW PLAYGROUND SCATTERED PHOTOS ===== */
.playground .board {
  position: relative;
}

.pcard {
  position: absolute;
  width: clamp(150px, 20vw, 300px);
  padding: 8px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  cursor: grab;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, z-index 0s;
  will-change: transform, left, top;
}

.pcard:active {
  cursor: grabbing;
}

.pcard img {
  border-radius: 4px;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none; /* Prevents image dragging bug */
}

/* Hover effects */
.pcard:hover {
  transform: scale(1.1) rotate(0deg) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  z-index: 100 !important; /* Bring to front on hover */
}

/* Remove old pcard text styling */
.pcard span {
  display: none;
}

/* ===== SCATTER POSITIONING & SIZING (Tuned for 11 items, more breathing space) ===== */
.scatter-1 { width: 150px; top: 12%; left: 3%; animation: floatUp 6s ease-in-out infinite; }
.scatter-2 { width: 120px; bottom: 15%; left: 10%; animation: floatDown 5s ease-in-out infinite; animation-delay: 1s; }
.scatter-3 { width: 140px; top: 18%; right: 5%; animation: floatSide 7s ease-in-out infinite; }
.scatter-4 { width: 110px; bottom: 12%; right: 15%; animation: floatUp 5.5s ease-in-out infinite; animation-delay: 2s; }
.scatter-5 { width: 100px; top: 45%; left: -2%; animation: floatDown 6.5s ease-in-out infinite; }
.scatter-6 { width: 120px; top: 15%; left: 22%; animation: floatDown 6s ease-in-out infinite; animation-delay: 1.5s; }
.scatter-7 { width: 110px; bottom: 20%; right: 5%; animation: floatUp 5s ease-in-out infinite; animation-delay: 2.5s; }
.scatter-8 { width: 130px; top: 60%; right: 2%; animation: floatDown 5.5s ease-in-out infinite; animation-delay: 0.5s; }
.scatter-9 { width: 110px; top: 5%; left: 40%; animation: floatSide 6.5s ease-in-out infinite; animation-delay: 1.2s; }
.scatter-10 { width: 140px; top: 75%; left: 25%; animation: floatUp 7s ease-in-out infinite; animation-delay: 2.1s; }
.scatter-11 { width: 100px; top: 30%; right: 22%; animation: floatSide 5s ease-in-out infinite; animation-delay: 0.8s; }

/* Hide or scale down on mobile to prevent clutter */
@media (max-width: 768px) {
  .scatter-img { opacity: 0.2; transform: scale(0.5); }
}

/* Shared premium grid paper background for light sections */
.grid-bg-pattern {
  position: relative;
  overflow: hidden;
}
.grid-bg-pattern::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20,18,30,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,18,30,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 50%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 68% at 50% 50%, #000 52%, transparent 100%);
}

/* ============================================================
   HERO declutter + grid paper (Nithin-inspired)
   ============================================================ */
.hero { position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -90px 0 0 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20,18,30,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,18,30,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 42%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 68% at 50% 42%, #000 52%, transparent 100%);
}
.hero__grid { position: relative; z-index: 1; }
.hero__dot { display: inline-block; width: .16em; height: .16em; background: var(--orange); border-radius: 50%; margin: 0 .04em; position: relative; top: -.05em; }
.hero__sep { color: var(--muted); margin: 0 .3em; }
.hero__seework { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); text-decoration: none; font-size: 1rem; opacity: .75; transition: opacity .2s, transform .2s; align-self: center; }
.hero__seework:hover { opacity: 1; }
.hero__seework span { display: inline-block; animation: heroBob 1.6s ease-in-out infinite; }
@keyframes heroBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* ============================================================
   BOLD PORTRAIT (page 2)
   ============================================================ */
.bp { position: relative; width: 100vw; margin-left: calc(50% - 50vw); background: var(--orange); overflow: hidden; }
.bp__inner { position: relative; max-width: 1120px; margin: 0 auto; height: min(86vh, 720px); display: flex; align-items: flex-end; justify-content: center; }
.bp__squiggle { position: absolute; top: 32%; left: 50%; transform: translate(-50%,-50%); width: min(72%, 660px); opacity: .92; z-index: 1; }
.bp__photo { position: relative; z-index: 2; height: 94%; width: auto; max-width: 92%; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 30px 55px rgba(0,0,0,.28)); }
.bp__pill {
  position: absolute; z-index: 3; background: #16151a; color: #fff; font-weight: 700;
  font-size: clamp(.82rem, 1.5vw, 1.05rem); padding: 12px 22px; border-radius: 100px;
  box-shadow: 0 16px 32px -12px rgba(0,0,0,.45); white-space: nowrap; translate: 0 0;
  animation: bpFloat 5s ease-in-out infinite;
}
.bp__pill--a { top: 24%; left: 5%; transform: rotate(-4deg); }
.bp__pill--b { top: 17%; right: 5%; transform: rotate(4deg); animation-delay: .6s; }
.bp__pill--c { bottom: 30%; left: 3%; transform: rotate(3deg); animation-delay: 1.2s; }
.bp__pill--d { bottom: 22%; right: 3%; transform: rotate(-3deg); animation-delay: 1.8s; }
@keyframes bpFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -11px; } }
@media (max-width: 760px) {
  .bp__inner { height: min(70vh, 540px); }
  .bp__pill { font-size: .75rem; padding: 9px 15px; }
  .bp__pill--a { left: 1%; } .bp__pill--b { right: 1%; } .bp__pill--c { left: 0; } .bp__pill--d { right: 0; }
}

/* ============================================================
   DARK STATEMENT (page 3)
   ============================================================ */
.stmt { position: relative; width: 100vw; margin-left: calc(50% - 50vw); background: #141318; color: #fff; }
.stmt__inner { position: relative; max-width: none; margin: 0 auto; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 120px 24px; }
.stmt__text { font-weight: 600; font-size: clamp(1.8rem, 5vw, 3.5rem); line-height: 1.2; letter-spacing: -.02em; text-align: center; max-width: 18ch; position: relative; z-index: 2; }
.stmt__w { opacity: .16; transition: opacity .35s ease; }
.stmt__w.lit { opacity: 1; }
.stmt__path { position: absolute; left: 0; right: 0; bottom: 12%; width: 100%; height: 200px; z-index: 1; opacity: .55; }
.stmt__node { position: absolute; bottom: 13%; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; justify-content: center; opacity: .85; }
.stmt__node img { width: 58px; height: auto; filter: brightness(0) invert(1); opacity: .9; }
@media (prefers-reduced-motion: reduce) {
  .bp__pill { animation: none; }
  .stmt__w { opacity: 1; }
}

/* prevent full-bleed sections from causing horizontal scroll (clip keeps sticky working) */
body { overflow-x: clip; }

/* ============================================================
   HERO v2 — centered ID card, flanking labels, name below
   ============================================================ */
.hero { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero__stage { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 5vw, 64px); width: 100%; position: relative; z-index: 1; }
.hero__flank { flex: 0 0 auto; font-weight: 700; font-size: clamp(.88rem, 1.6vw, 1.15rem); line-height: 1.4; color: var(--ink); max-width: 180px; }
.hero__flank--left { text-align: right; }
.hero__flank--right { text-align: left; }

/* hero side labels — gentle living drift + hover accent sweep */
.hero__flank {
  display: inline-block;
  position: relative;
  cursor: default;
  transition: color .35s ease, transform .45s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.hero__flank--left  { animation: flankFloat 6s ease-in-out infinite; }
.hero__flank--right { animation: flankFloat 6s ease-in-out infinite; animation-delay: -3s; }
.hero__flank::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.hero__flank--left::after  { transform-origin: right; }
.hero__flank:hover { color: var(--orange); transform: translateY(-2px) scale(1.04); }
.hero__flank:hover::after { transform: scaleX(1); }
@keyframes flankFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__flank--left, .hero__flank--right { animation: none; }
}
.hero__idwrap { position: static !important; left: auto !important; bottom: auto !important; top: auto !important; width: auto; margin: 0; flex: 0 0 auto; }
.hero__title { text-align: center; margin: 18px auto 0; font-weight: 800; font-size: clamp(3.4rem, 11vw, 8.5rem); line-height: .9; letter-spacing: -.03em; }
.hero__dot { background: var(--orange); width: .15em; height: .15em; top: -.02em; }
.hero__actions { display: flex; justify-content: center; gap: 14px; margin-top: 24px; margin-bottom: clamp(24px, 5vh, 50px); flex-wrap: wrap; }
/* stronger hero button presence */
.hero__actions .btn--dark { padding: 16px 32px; font-size: 16px; box-shadow: inset 0 2px 1px rgba(255,255,255,.2), inset 0 0 0 1px rgba(255,255,255,.06), 0 12px 30px rgba(0,0,0,.28); }
.hero__seework { opacity: 1 !important; font-weight: 700; color: var(--ink); }
.hero__seework::after { content: ""; position: absolute; }
@media (max-width: 720px) {
  .hero__stage { gap: 8px; }
  .hero__flank { font-size: .68rem; max-width: 84px; }
}

/* ============================================================
   SCROLL SCENES — tall sticky tracks + stacked panel transitions
   ============================================================ */
.bp {
  height: 200vh; position: relative; z-index: 2; overflow: visible;
  margin-top: -5vh;
  background: #16151a;
  clip-path: polygon(0% 12%, 15% 12%, 15% 6%, 35% 6%, 35% 0%, 65% 0%, 65% 6%, 85% 6%, 85% 12%, 100% 12%, 100% 100%, 0% 100%);
}

/* Interactive Dot Grid (Parallax) */
.bp__dot-grid {
  position: absolute;
  top: -10%; left: -10%; width: 120%; height: 120%;
  z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  will-change: transform;
}
.bp__bg-wrap { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden; background: #16151a; }
.bp__bg-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; position: absolute; top: 0; left: 0;
  will-change: opacity;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.bp__bg-img--sky { z-index: 1; opacity: 1; }
.bp__bg-img--hiran { z-index: 2; opacity: 0; }
.bp__inner { position: sticky; top: 0; height: 100vh; overflow: hidden; border-radius: 46px 46px 0 0; z-index: 2; }
.bp__intro-layer { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 2; will-change: opacity, transform; transition: opacity .45s ease, transform .45s ease; }
/* pills use independent transform props so float + rotate + entrance never fight */
.bp__pill { transform: none; opacity: 0; scale: .8; translate: 0 0; transition: opacity .45s ease, scale .55s cubic-bezier(.2,.8,.2,1); }
.bp__pill.show { opacity: 1; scale: 1; }
.bp__pill--a { rotate: -4deg; }
.bp__pill--b { rotate: 4deg; }
.bp__pill--c { rotate: 3deg; }
.bp__pill--d { rotate: -3deg; }
@keyframes bpFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -11px; } }

.bp__photo-layer { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 0 24px; opacity: 0; transform: translateY(40px); transition: opacity 0.6s cubic-bezier(.2,.8,.2,1), transform 0.6s cubic-bezier(.2,.8,.2,1); z-index: 2; pointer-events: none; }
.bp__photo-layer.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.bp__intro-card { background: rgba(18, 18, 20, 0.88); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 32px; padding: 48px 40px; max-width: 520px; width: 100%; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); text-align: center; color: #fff; }
.bp__intro-title { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.02em; color: #fff; }
.bp__intro-desc { font-size: clamp(1rem, 1.8vw, 1.15rem); line-height: 1.55; color: rgba(255, 255, 255, 0.85); font-weight: 400; }

@media (max-width: 760px) {
  .bp__intro-card { padding: 32px 24px; }
}

.stmt {
  height: 220vh; position: relative; z-index: 3;
  border-radius: 46px 46px 0 0; margin-top: -5vh;
  box-shadow: 0 -34px 70px -34px rgba(0,0,0,.45);
}
.stmt__inner { position: sticky; top: 0; height: 100vh; min-height: 0; overflow: hidden; }

/* marquee: orange, sits flush under the dark statement (no white gap) */
.marquee { margin-top: 0; background: var(--orange); border-top: none; position: relative; z-index: 4; }
.marquee__track span { color: #16151a; }
.marquee__track .marquee-svg { color: rgba(22,21,26,.55); }

@media (prefers-reduced-motion: reduce) {
  .bp { height: auto; } .bp__inner { position: static; height: auto; }
  .stmt { height: auto; } .stmt__inner { position: static; height: auto; min-height: 100vh; }
  .bp__pill { opacity: 1; scale: 1; } .bp__squiggle { opacity: .92; }
}

/* ============================================================
   iMessage typing cursor (first screen only)
   ============================================================ */
.imsg {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  display: inline-flex; align-items: center;
  background: #0b93f6; color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: -0.01em;
  padding: 10px 14px; border-radius: 19px; white-space: nowrap; box-sizing: border-box; overflow: hidden;
  box-shadow: 0 12px 30px -10px rgba(11,147,246,.55);
  opacity: 0; transform: translate(-200px,-200px);
  transition: width .15s cubic-bezier(.34,1.2,.64,1), opacity .22s ease;
  will-change: transform, width;
}
.imsg.show { opacity: 1; }
.imsg__text { display: inline-block; min-width: 1px; }
.imsg__caret { display: inline-block; width: 2px; height: 16px; background: #fff; margin-left: 3px; border-radius: 1px; animation: imsgBlink 1.06s steps(1) infinite; }
@keyframes imsgBlink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
/* little iMessage tail, bottom-left */
.imsg::after { content: ""; position: absolute; left: -3px; bottom: 1px; width: 13px; height: 13px; background: #0b93f6; border-radius: 0 0 3px 13px; z-index: -1; }
@media (hover: none), (pointer: coarse) { .imsg { display: none; } }
@media (prefers-reduced-motion: reduce) { .imsg__caret { animation: none; } }

/* ===== Spline (Hana) 3D — full-screen first home page ===== */
.home3d {
  position: relative; width: 100vw; margin-left: calc(50% - 50vw);
  height: 100vh; min-height: 600px; overflow: hidden; background: var(--bg);
  display: block;
}
.home3d hana-viewer,
.home3d iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.home3d__cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-weight: 600; color: var(--ink); text-decoration: none; opacity: .75;
  display: inline-flex; align-items: center; gap: 6px;
}
.home3d__cue span { display: inline-block; animation: heroBob 1.6s ease-in-out infinite; }
@media (max-width: 800px) { .home3d { height: 82vh; min-height: 460px; } }

/* organicdotgrid Spline as the dark statement background */
.stmt__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.stmt__bg iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
.stmt__text { position: relative; z-index: 2; }

/* ===== Mini-game (Spline · infinite fall) ===== */
.minigame { max-width: var(--maxw); margin: 0 auto; padding: 130px 24px 50px; text-align: center; }
.minigame__head { margin-bottom: 30px; }
.minigame__stage { position: relative; width: 100%; height: 78vh; min-height: 460px; border-radius: 28px; overflow: hidden; background: #0e0e12; box-shadow: 0 40px 90px -40px rgba(0,0,0,.5); }
.minigame__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 800px) { .minigame__stage { height: 64vh; } }

/* native particle canvas behind the dark statement text */
.stmt__particles { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; }

/* keep the hero name on a single line (override old span{display:block}) */
.hero__title { white-space: nowrap; }
.hero__title .hero__dot { display: inline-block; }

/* playground wallpaper viewer (in-page, with back ✕ + download) */
.lb-wallpaper .lightbox__nav { display: none; }
.lb-wallpaper .lightbox__stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.lb-download { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #16151a; font-weight: 700; font-size: .95rem; padding: 12px 22px; border-radius: 100px; text-decoration: none; transition: transform .15s var(--ease), background .2s; }
.lb-download:hover { background: #f0f0f0; transform: translateY(-1px); }

/* ============================================================
   CLOUD REVEAL (page 2) — sky photo + scroll-revealed lines
   ============================================================ */
.reveal-scene { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: 340vh; background: #e9e7e2; }
.rs__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.rs__bg {
  position: absolute; inset: -4%; background-size: cover; background-position: 50% 56%;
  transform: scale(1); transform-origin: 48% 60%; will-change: transform;
}
.rs__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 55%, rgba(255,255,255,0) 50%, rgba(233,231,226,.35) 100%); }
.rs__lines { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.rs__line {
  position: absolute; font-weight: 700; letter-spacing: -.01em; color: #16151a;
  font-size: clamp(1.3rem, 3.4vw, 2.6rem); opacity: 0;
  transition: opacity .5s ease, transform .6s var(--ease);
  text-shadow: 0 1px 22px rgba(255,255,255,.75);
}
.rs__line--l { left: 6%; text-align: left; transform: translateX(-24px); }
.rs__line--r { right: 6%; text-align: right; transform: translateX(24px); }
.rs__line.show { opacity: 1; transform: translateX(0); }
.rs__line[data-i="0"] { top: 20%; }
.rs__line[data-i="1"] { top: 33%; }
.rs__line[data-i="2"] { top: 47%; }
.rs__line[data-i="3"] { top: 61%; }
.rs__line[data-i="4"] { top: 74%; }
.rs__final {
  position: absolute; left: 0; right: 0; bottom: 13%; text-align: center; z-index: 3;
  font-weight: 800; font-size: clamp(2rem, 6.5vw, 4.2rem); letter-spacing: -.02em; color: #16151a;
  opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s var(--ease);
  text-shadow: 0 2px 26px rgba(255,255,255,.7);
}
.rs__final.show { opacity: 1; transform: none; }
@media (max-width: 760px) { .reveal-scene { height: 280vh; } .rs__line { font-size: 1.15rem; } }
@media (prefers-reduced-motion: reduce) {
  .reveal-scene { height: auto; } .rs__sticky { position: static; height: 100vh; }
  .rs__line, .rs__final { opacity: 1; transform: none; } .rs__bg { transform: none; }
}

/* hero title split letters (GSAP-animated) */
.hero__title .ht { display: inline-block; will-change: transform, opacity; }

/* ===== Page 2 "get to know me" quip + side cards ===== */
.bp__quip, .bp__side {
  position: fixed; z-index: 200; width: min(340px, 80vw); padding: 18px 20px 16px;
  border-radius: 24px; color: #14131a; text-align: left;
  background: rgba(255,255,255,0.66);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 26px 54px -22px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.75);
  pointer-events: none; touch-action: none;
}
.bp__quip { left: clamp(16px, 4vw, 48px); bottom: clamp(20px, 6vh, 56px);
  opacity: 0; transform: translateY(26px) scale(.92) rotate(-1.4deg);
  transition: opacity .6s var(--ease), transform .7s cubic-bezier(.22,1.2,.36,1); }
.bp__quip.show { opacity: 1; transform: translateY(0) scale(1) rotate(-1.4deg); pointer-events: auto; }

.bp__quip-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.bp__quip-tag {
  display: inline-block; font-family: "Caveat", cursive; font-size: 1.15rem; font-weight: 600;
  color: var(--orange); transform: rotate(-3deg);
}
.bp__quip-menu { background: none; border: 0; cursor: pointer; padding: 0;
  font-family: "Plus Jakarta Sans", sans-serif; font-size: .72rem; font-weight: 600; color: #14131a;
  opacity: .6; transition: opacity .2s, color .2s; }
.bp__quip-menu:hover { opacity: 1; color: var(--orange); }
.bp__quip-title { font-size: 1.42rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; color: #100f15; }
.bp__quip-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bp__quip-list li { font-size: .92rem; line-height: 1.38; color: #211f29; padding-left: 18px; position: relative; font-weight: 500; }
.bp__quip-list li::before { content: "›"; position: absolute; left: 2px; top: -1px; color: var(--orange); font-weight: 700; }
.bp__quip-list b { color: #100f15; }
.bp__quip-suii { font-weight: 700; }
.bp__quip-suii b { color: var(--orange); font-style: italic; letter-spacing: .02em; }
.bp__quip-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 4px; }
.bp__quip-sign { font-family: "Caveat", cursive; font-size: 1.1rem; color: #3a3844; }
.bp__quip-coffee {
  align-self: stretch; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  padding: 11px 16px; border-radius: 100px; border: 0;
  background: var(--orange); color: #fff; font-weight: 700; font-size: .82rem;
  font-family: "Plus Jakarta Sans", sans-serif; letter-spacing: .01em;
  box-shadow: 0 8px 18px -5px rgba(232,93,42,.65);
  animation: coffeePulse 2.1s ease-in-out infinite;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.bp__quip-coffee svg { width: 19px; height: 19px; }
.bp__quip-coffee:hover { transform: translateY(-2px) scale(1.03); animation: none; box-shadow: 0 12px 24px -6px rgba(232,93,42,.75); }
@keyframes coffeePulse {
  0%, 100% { box-shadow: 0 8px 18px -5px rgba(232,93,42,.65), 0 0 0 0 rgba(232,93,42,.5); }
  50% { box-shadow: 0 8px 18px -5px rgba(232,93,42,.65), 0 0 0 11px rgba(232,93,42,0); }
}
@media (prefers-reduced-motion: reduce) { .bp__quip-coffee { animation: none; } }

/* right-side reveal cards (coffee recipe + fun menu) */
.bp__side { right: clamp(16px, 4vw, 48px); bottom: clamp(20px, 6vh, 56px);
  opacity: 0; transform: translateY(26px) scale(.92) rotate(1.4deg);
  transition: opacity .5s var(--ease), transform .55s cubic-bezier(.22,1.2,.36,1); }
.bp__side.show { opacity: 1; transform: translateY(0) scale(1) rotate(1.4deg); pointer-events: auto; }
.bp__side-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; cursor: pointer;
  font-size: 1.3rem; line-height: 1; color: #14131a; opacity: .5; transition: opacity .2s; }
.bp__side-close:hover { opacity: 1; }
.bp__side-steps { margin: 6px 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.bp__side-steps li { font-size: .9rem; line-height: 1.35; color: #211f29; font-weight: 500; }
.bp__side-steps li span { color: #5a5864; font-style: italic; }
.bp__side-menu { list-style: none; margin: 6px 0 12px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.bp__side-menu li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: .9rem; }
.bp__side-menu li span { color: #211f29; font-weight: 500; }
.bp__side-menu li::after { content: ""; flex: 1; border-bottom: 1px dotted rgba(0,0,0,.25); margin: 0 2px 3px; }
.bp__side-menu li b { color: var(--orange); font-family: "Caveat", cursive; font-size: 1.05rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) {
  .bp__quip, .bp__side { padding: 15px 17px; width: min(290px, 88vw); }
  .bp__quip-title { font-size: 1.22rem; }
  .bp__side { left: clamp(16px,4vw,48px); right: auto; bottom: auto; top: clamp(80px, 14vh, 120px); }
}

.mp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
}

.mp__fab {
  width: 54px; height: 54px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; position: relative;
  background: rgba(255, 106, 43, 0.15) !important; color: #fff; border: 2px solid rgba(255, 106, 43, 0.5);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(255, 106, 43, 0.15);
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.mp__fab:hover {
  transform: scale(1.07);
  background: rgba(255, 106, 43, 0.25) !important;
  border-color: rgba(255, 106, 43, 0.9);
  box-shadow: 0 8px 24px rgba(255, 106, 43, 0.25);
}
.mp__fab:focus, .mp__fab:focus-visible { outline: none !important; box-shadow: none !important; }
.mp__note {
  width: 28px; height: 28px; pointer-events: none; transition: opacity .25s, transform 0.25s;
  fill: #ff6a2b !important;
}
.mp__eq {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  align-items: flex-end;
  gap: 2.5px;
  height: 18px;
  z-index: 5;
}
.mp__eq i { width: 3px; background: #ff6a2b !important; border-radius: 2px; height: 5px; animation: mpEq .9s ease-in-out infinite; }
.mp__eq i:nth-child(2){ animation-delay:.2s } .mp__eq i:nth-child(3){ animation-delay:.4s } .mp__eq i:nth-child(4){ animation-delay:.1s }
@keyframes mpEq { 0%,100%{ height:5px } 50%{ height:17px } }
.mp.is-playing .mp__fab {
  background: #ff6a2b !important;
  border-color: #ff6a2b !important;
  box-shadow: 0 10px 28px rgba(255, 106, 43, 0.45);
}
.mp.is-playing .mp__fab .mp__note {
  fill: #ffffff !important;
  opacity: 0.25 !important;
}
.mp.is-playing .mp__fab .mp__eq { display: flex; }
.mp.is-playing .mp__eq i { background: #ffffff !important; }

.mp__panel {
  position: absolute; right: 0; bottom: 0; width: 320px; height: 82px;
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 8px; padding: 10px 12px;
  border-radius: 20px; color: #fff; background: rgba(18, 18, 18, 0.82);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 16px 40px -14px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96); transform-origin: bottom right;
  transition: opacity .35s var(--ease), transform .4s var(--ease), visibility 0s linear .35s, box-shadow 0.3s ease, border-color 0.3s ease;
}
.mp.is-playing .mp__panel {
  box-shadow: 0 16px 40px -14px rgba(0,0,0,.6), 0 0 20px -5px rgba(255, 106, 43, 0.22);
  border-color: rgba(255, 106, 43, 0.25);
}
.mp.is-open .mp__panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); transition: opacity .35s var(--ease), transform .4s var(--ease), visibility 0s; }
.mp.is-open .mp__fab { opacity: 0; pointer-events: none; }
.mp__art { width: 48px; height: 48px; border-radius: 8px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  background: #282828; color: #b3b3b3; border: 1px solid rgba(255,255,255,0.05); }
.mp__art svg { width: 24px; height: 24px; }
.mp__meta { flex: 1; min-width: 0; margin-right: 6px; }
.mp__panel-logo {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0; transition: transform 0.2s;
}
.mp__panel-logo svg {
  fill: #ff6a2b !important;
  width: 100%; height: 100%; display: block;
}
.mp__marquee { overflow: hidden; white-space: nowrap; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mp__title { display: inline-block; font-size: 13px; font-weight: 600; color: #ffffff; letter-spacing: -0.01em; line-height: 1.4; padding-left: 100%; animation: mpScroll 11s linear infinite; }
.mp.is-paused .mp__title { animation-play-state: paused; }
@keyframes mpScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.mp__artist { font-size: 11px; color: rgba(255,255,255,.6); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.01em; line-height: 1.4; margin-top: 2px; }
.mp__ctrls { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.mp__btn { width: 28px; height: 28px; border-radius: 50%; border: 0; background: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s, opacity .2s; }
.mp__btn svg { width: 15px; height: 15px; }
.mp__btn:hover { background: rgba(255,255,255,.12); }
.mp__btn:active { transform: scale(0.92); opacity: 0.85; }
.mp__btn:focus, .mp__btn:focus-visible { outline: none !important; box-shadow: none !important; }
.mp__btn--play { background: #fff; color: #16151a; } .mp__btn--play:hover { background: #fff; transform: scale(1.08); } .mp__btn--play:active { transform: scale(0.94) !important; }
.mp__btn--queue.is-active { background: rgba(255,255,255,.16); color: #ff6a2b; }
.mp__close { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #16151a; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.4); transition: transform .2s, background .2s; }
.mp__close:active { transform: scale(0.92); }
.mp__close:focus, .mp__close:focus-visible { outline: none !important; }
.mp__close svg { width: 12px; height: 12px; }
.mp__close svg { width: 12px; height: 12px; }

.mp__close-panel {
  position: absolute;
  top: 4px;
  right: 8px;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mp__close-panel:hover {
  color: #fff;
  transform: scale(1.15);
}

/* playlist / queue popup */
.mp__queue {
  position: absolute; right: 0; bottom: 86px; width: 320px; max-height: 0; overflow: hidden;
  border-radius: 20px; background: rgba(18, 18, 18, 0.82);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 16px 40px -14px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: max-height .4s var(--ease), opacity .3s var(--ease), transform .35s var(--ease);
}
.mp.is-queue .mp__queue { max-height: 280px; opacity: 1; transform: translateY(0); pointer-events: auto; }
.mp__queue-head { padding: 12px 14px 8px; font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .04em; text-transform: uppercase; }
.mp__queue-head span { color: rgba(255,255,255,.45); font-weight: 500; }
.mp__queue-list { list-style: none; margin: 0; padding: 0 6px 8px; max-height: 232px; overflow-y: auto; }
.mp__queue-list li {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer;
  transition: background .2s;
}
.mp__queue-list li:hover { background: rgba(255,255,255,.08); }
.mp__queue-list li.is-current { background: rgba(255, 106, 43, 0.12); }
.mp__qnum { font-size: 11px; color: rgba(255,255,255,.4); width: 16px; flex: 0 0 auto; text-align: center; }
.mp__qmeta { min-width: 0; }
.mp__qtitle { display: block; font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp__qartist { display: block; font-size: 11px; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp__queue-list li.is-current .mp__qtitle { color: #ff6a2b; }
@media (max-width: 600px) {
  .mp { right: 14px; bottom: 14px; }
  .mp__panel { width: 270px; gap: 6px; padding: 10px; }
  .mp__queue { width: 270px; }
  .mp__btn { width: 26px; height: 26px; }
  .mp__btn svg { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) { .mp__title { animation: none; padding-left: 0; } .mp__eq i { animation: none; } }

/* ===== Gift teaser removed (merged into bottom gift card) ===== */



/* ===== The gift (rickroll trigger) ===== */
.gift { max-width: 760px; margin: 0 auto; padding: 50px 24px 90px; text-align: center; }
.gift__inner { background: #16151a; border-radius: 36px; padding: 56px 32px; position: relative; overflow: hidden; }
.gift__label { display: inline-block; font-family: "Caveat", cursive; font-size: 1.3rem; color: var(--orange); margin-bottom: 6px; }
.gift__inner h2 { color: #fff; font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 12px; }
.gift__inner p { color: rgba(255,255,255,.62); margin: 0 0 26px; font-size: 1.05rem; }
.gift__btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--orange); color: #fff; border: 0; padding: 18px 38px; border-radius: 100px;
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 1.1rem;
  box-shadow: 0 14px 34px -8px rgba(232,93,42,.7);
  animation: giftPulse 1.8s ease-in-out infinite; transition: transform .2s var(--ease);
}
.gift__btn-emoji { font-size: 1.3rem; display: inline-block; animation: giftWiggle 1.4s ease-in-out infinite; }
.gift__btn:hover { transform: translateY(-3px) scale(1.04); animation: none; }
@keyframes giftPulse { 0%,100%{ box-shadow: 0 14px 34px -8px rgba(232,93,42,.7), 0 0 0 0 rgba(232,93,42,.5);} 50%{ box-shadow: 0 14px 34px -8px rgba(232,93,42,.7), 0 0 0 16px rgba(232,93,42,0);} }
@keyframes giftWiggle { 0%,100%{ transform: rotate(-8deg);} 50%{ transform: rotate(8deg);} }
.gift__hint { display: block; margin-top: 16px; color: rgba(255,255,255,.4); font-size: .85rem; font-style: italic; }
@media (prefers-reduced-motion: reduce) { .gift__btn, .gift__btn-emoji, .giftteaser__spark { animation: none; } }

/* ===== Rickroll fullscreen overlay ===== */
.rick {
  position: fixed; inset: 0; z-index: 3000; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; padding: 30px 20px; text-align: center;
  background: rgba(40,40,46,0.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.rick.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.rick__top { color: #fff; font-size: clamp(1.1rem, 3vw, 1.7rem); font-weight: 700; max-width: 760px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.rick__top b { color: #ff7a4d; }
.rick__top span { font-style: italic; opacity: .8; font-weight: 500; }
.rick__frame { width: min(880px, 92vw); aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); background: #000; }
.rick__video, .rick__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.rick__bottom { color: rgba(255,255,255,.85); font-size: clamp(.82rem, 2vw, .98rem); line-height: 1.5; max-width: 680px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.rick__bottom b { color: #fff; }
.rick__close { position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: rgba(0,0,0,.3); color: #fff; font-size: 1.5rem; cursor: pointer; transition: transform .3s, background .3s; }
.rick__close:hover { transform: rotate(90deg); background: rgba(0,0,0,.6); }

/* ===== Music player seek slider ===== */
.mp__seek { position: absolute; left: 14px; right: 44px; bottom: 8px; width: auto; height: 4px; -webkit-appearance: none; appearance: none; background: rgba(255,255,255,.18); border-radius: 4px; cursor: pointer; outline: none; }
.mp__seek:focus, .mp__seek:focus-visible { outline: none !important; }
.mp__seek::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 11px; height: 11px; border-radius: 50%; background: #ff6a2b; cursor: pointer; box-shadow: 0 0 0 3px rgba(255, 106, 43, 0.25); margin-top: -3.5px; }
.mp__seek::-moz-range-thumb { width: 11px; height: 11px; border: 0; border-radius: 50%; background: #ff6a2b; cursor: pointer; }
.mp__time { position: absolute; right: 14px; bottom: 4px; font-size: 9px; color: rgba(255,255,255,.55); }

/* ===== Music player volume buttons ===== */
#mpVolToggle {
  transition: opacity 0.2s, transform 0.2s;
}
#mpVolToggle:hover {
  opacity: 1 !important;
  transform: scale(1.15);
}
.mp__vol-bars {
  display: flex;
  align-items: flex-end;
  gap: 3.5px;
  height: 20px;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: width 0.3s var(--ease), opacity 0.3s var(--ease);
}
.mp__volume-wrap.is-active .mp__vol-bars {
  width: 25px;
  opacity: 1;
}
.mp__vol-bar {
  width: 5px;
  background: rgba(255, 255, 255, 0.28);
  border: 0;
  padding: 0;
  border-radius: 1.5px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.mp__vol-bar:hover {
  transform: scaleY(1.15);
  background: rgba(255, 255, 255, 0.5);
}
.mp__vol-bar:focus, .mp__vol-bar:focus-visible {
  outline: none !important;
}
.mp__vol-bar--low { height: 8px; }
.mp__vol-bar--med { height: 14px; }
.mp__vol-bar--high { height: 20px; }

.mp__vol-bar.is-active {
  background: #ff6a2b !important; /* brand orange */
  box-shadow: 0 0 8px rgba(255, 106, 43, 0.4);
}

/* ===== Instagram-gradient "View more" button ===== */
.insta-btn {
  display: inline-block; padding: 12px 24px; border-radius: 30px; font-weight: 600;
  color: var(--ink); text-decoration: none; font-size: 0.9rem; margin-bottom: 20px;
  position: relative; background: #fff;
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(95deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  background-origin: border-box; background-clip: padding-box, border-box;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.insta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -10px rgba(214,41,118,.6); }



/* ===== Music FAB circular text ===== */
.mp__ring { position: absolute; inset: 50% auto auto 50%; width: 96px; height: 96px; transform: translate(-50%, -50%);
  pointer-events: none; animation: mpRingSpin 9s linear infinite; opacity: .9; transition: opacity .3s; }
.mp__ring svg { width: 100%; height: 100%; overflow: visible; }
.mp__ring text { font-size: 9.2px; font-weight: 700; fill: #16151a; letter-spacing: .06em; text-transform: uppercase; }
@keyframes mpRingSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.mp.is-open .mp__ring { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .mp__ring { animation: none; } }

/* ===== Journey connector (squiggly dashed line) ===== */
.journey { position: relative; }
.journey__line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.journey__line path { opacity: .8; }
@media (max-width: 820px) { .journey__line { display: none; } }

/* draggable cards cue */
.bp__quip, .bp__side { cursor: grab; }
.bp__quip:active, .bp__side:active { cursor: grabbing; }
.bp__quip a, .bp__quip button, .bp__side button { cursor: pointer; }

/* ===== Music FAB: colored when playing ===== */

/* ===== Drag hint on quip + side cards ===== */
.bp__drag-hint {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 4px;
  font-size: .64rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: #8a8893; opacity: .7; pointer-events: none;
}
.bp__drag-hint svg { width: 12px; height: 12px; }

/* ===== Vihaan: swipe hint + tighter spacing ===== */
.mentions__swipe {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--orange);
  margin: 0;
  pointer-events: none;
}
.mentions .yt-gallery__scroll { padding-top: 6px; padding-bottom: 6px; }

/* ===== Statement: accent-coloured highlight words (orange / blue / green) ===== */
.stmt__w { transition: opacity .35s ease, color .5s ease, text-shadow .5s ease; }
.stmt__w--o.lit { color: #f0833f; text-shadow: 0 0 22px rgba(240,131,63,.5); }
.stmt__w--b.lit { color: #5b8cff; text-shadow: 0 0 22px rgba(91,140,255,.5); }
.stmt__w--g.lit { color: #36c98a; text-shadow: 0 0 22px rgba(54,201,138,.5); }

/* ===== Music Player enhancements (glassmorphic bubble + queue close) ===== */
.mp__bubble {
  position: absolute;
  top: -34px;
  right: 12px;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000000 !important;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  pointer-events: auto;
  cursor: pointer;
  animation: bubbleFloat 2.5s ease-in-out infinite;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s;
}
.mp__bubble:hover {
  transform: scale(1.05);
}
.mp.is-queue .mp__bubble {
  opacity: 0;
  visibility: hidden;
}
@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.mp__queue-head {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}
.mp__queue-close {
  background: none;
  border: 0;
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mp__queue-close:hover {
  color: #fff;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .yt-galleries {
    padding-top: 80px !important;
    padding-bottom: 60px !important;
  }
  .yt-gallery {
    gap: 12px !important;
    margin-bottom: 70px;
  }
  .yt-gallery__scroll {
    padding-top: 10px !important;
  }
  .mentions__container {
    gap: 20px !important;
  }
}

/* ===== Fullscreen Cinematic Theater Mode ===== */
.theater {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: #0c0b0e;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}
#curtainCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.theater__back {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  font-size: 0.95rem;
  font-family: inherit;
}
.theater__back:hover {
  background: rgba(255,255,255,0.16);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}
.theater__back:active {
  transform: translateY(1px);
}
.theater__back:focus {
  outline: none !important;
}

/* Focus cleanup for Vihaan Movie button */
.vihaan-movie-btn {
  outline: none !important;
}
.vihaan-movie-btn:focus, .vihaan-movie-btn:focus-visible {
  outline: none !important;
  box-shadow: 0 10px 30px rgba(255, 106, 43, 0.4) !important;
}

/* ===== Playground Credit Box (Instagram offset outline) ===== */
.playground-credit-box {
  position: relative;
  width: calc(100% - 48px);
  margin: -20px auto 0;
  box-sizing: border-box;
}
.playground-credit-box::after {
  content: '';
  position: absolute;
  inset: -3.5px;
  border-radius: 18.5px;
  padding: 1.25px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ===== Animated Gift SVG Icon ===== */
@keyframes subtleWiggle {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(-5deg); }
  30% { transform: rotate(4deg); }
  45% { transform: rotate(-3deg); }
  60% { transform: rotate(2deg); }
  75% { transform: rotate(-1deg); }
  100% { transform: rotate(0deg); }
}
.gift-wiggle-svg {
  animation: subtleWiggle 2.5s infinite ease-in-out;
  transform-origin: bottom center;
  transition: transform 0.3s;
  display: block;
}
.gift-wiggle-svg:hover {
  animation: none;
  transform: scale(1.1) rotate(5deg);
}

/* ===== Interactive Gift Card (Instagram Gradient Outline) ===== */
.gift-card-interactive {
  background: #ffffff;
  padding: 36px 40px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(255, 106, 43, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 460px;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  position: relative;
}
.gift-card-interactive::after {
  content: '';
  position: absolute;
  inset: -3.5px;
  border-radius: 27.5px;
  padding: 3.5px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.gift-card-interactive:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 25px 60px rgba(230, 104, 60, 0.22);
}
.gift-card-interactive__icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 106, 43, 0.1), rgba(220, 39, 67, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.gift-card-interactive:hover .gift-card-interactive__icon-wrap {
  background: linear-gradient(135deg, #ff6a2b, #dc2743);
  transform: scale(1.08);
}
.gift-card-interactive__svg {
  fill: var(--orange);
  width: 36px;
  height: 36px;
  transition: fill 0.3s;
  animation: subtleWiggle 2.5s infinite ease-in-out;
  transform-origin: bottom center;
  display: block;
}
.gift-card-interactive:hover .gift-card-interactive__svg {
  fill: #ffffff;
  animation: none;
  transform: scale(1.1) rotate(5deg);
}
.gift-card-interactive__title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.gift-card-interactive__text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}
