/* ============================================================
   TRƯƠNG THƯ — "SỔ TAY KỂ CHUYỆN"
   Concept: sketchbook giấy kem + washi tape + sticker + doodle,
   pha ánh lavender mộng mơ từ thế giới key visual của Thư.
   Fonts: Cormorant Garamond (display) · Be Vietnam Pro (body)
          · Shantell Sans (nét tay)
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #fdf8f0;
  --paper-2: #fff;
  --paper-warm: #fbf1e0;

  --ink: #3b2e3e;
  --ink-soft: #71617a;
  --ink-faint: rgba(59, 46, 62, .14);

  --lav: #8f7fd6;
  --lav-deep: #6f5cc3;
  --lav-soft: #cec3f6;
  --lav-bg: #f0ebfd;

  --pink: #e2678f;
  --pink-deep: #c94f78;
  --pink-soft: #f6b8cd;
  --pink-bg: #fdecf2;

  --honey: #eda63a;
  --honey-soft: #f7d492;
  --honey-bg: #fdf3dd;

  --sky: #4f83d4;
  --sky-bg: #e8f0fc;

  --night: #2f2440;
  --night-2: #251b35;

  --font-body: 'Be Vietnam Pro', sans-serif;
  --font-display: 'Cormorant Garamond', serif;
  --font-hand: 'Shantell Sans', cursive;

  /* nét viền "vẽ tay" */
  --wobble: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --wobble-2: 15px 225px 15px 255px / 225px 15px 255px 15px;

  --shadow-soft: 0 6px 24px rgba(59, 46, 62, .07);
  --shadow-lift: 0 18px 44px rgba(59, 46, 62, .14);

  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  /* giấy kẻ chấm của sổ tay */
  background-image: radial-gradient(circle, rgba(59, 46, 62, .055) 1px, transparent 1.3px);
  background-size: 26px 26px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--pink-soft); color: var(--night); }

* { scrollbar-width: thin; scrollbar-color: var(--lav-soft) transparent; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--lav-soft); border-radius: 99px; border: 2px solid var(--paper); }
::-webkit-scrollbar-track { background: transparent; }

:focus-visible { outline: 2.5px dashed var(--pink); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* neo cuộn không bị header dính che mất */
section[id] { scroll-margin-top: 92px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic { width: 1.05em; height: 1.05em; fill: currentColor; vertical-align: -0.18em; }

/* ---------- 3. Nền: washes + grain ---------- */
.wash {
  position: fixed; border-radius: 50%; filter: blur(110px);
  pointer-events: none; z-index: -1; will-change: transform; transform: translateZ(0);
}
.wash-lav   { top: -12%; right: -10%; width: 52vw; height: 52vw; background: radial-gradient(circle, rgba(143, 127, 214, .22), transparent 68%); }
.wash-pink  { top: 42%; left: -14%; width: 46vw; height: 46vw; background: radial-gradient(circle, rgba(226, 103, 143, .16), transparent 68%); }
.wash-honey { bottom: -14%; right: 8%; width: 42vw; height: 42vw; background: radial-gradient(circle, rgba(237, 166, 58, .14), transparent 68%); }

.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  /* dưới lightbox (3000) để ảnh xem phóng to không bị phủ nhiễu hạt */
  pointer-events: none; z-index: 2500; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.23 0 0 0 0 0.18 0 0 0 0 0.24 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 4. Scroll thread ---------- */
.scroll-thread {
  position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1200;
  background: transparent; pointer-events: none;
}
.scroll-thread span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--pink), var(--lav), var(--honey));
  border-radius: 0 99px 99px 0;
  transition: width .1s linear;
}

/* ---------- 5. Chữ nét tay ---------- */
.hand-note {
  font-family: var(--font-hand);
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- 6. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(253, 248, 240, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1.5px dashed var(--ink-faint);
  transition: box-shadow .3s ease;
}
.header.is-scrolled { box-shadow: 0 8px 30px rgba(59, 46, 62, .08); }

.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1.5rem; }

.brand { display: flex; align-items: center; gap: .6rem; }
.brand-star { display: grid; place-items: center; width: 38px; height: 38px; background: var(--lav-bg); border-radius: var(--wobble); transition: transform .5s var(--ease-spring), background .3s; }
.brand-star svg { width: 18px; height: 18px; fill: var(--lav); }
.brand:hover .brand-star { transform: rotate(180deg) scale(1.08); background: var(--pink-bg); }
.brand:hover .brand-star svg { fill: var(--pink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 1.42rem; color: var(--ink); }
.brand-tag { font-family: var(--font-hand); font-size: .68rem; color: var(--ink-soft); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav-link {
  position: relative; font-size: .93rem; font-weight: 500; color: var(--ink-soft);
  padding: .25rem 0; transition: color .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='6' viewBox='0 0 56 6'%3E%3Cpath d='M2 4C8 1 14 1 20 3.5 26 6 32 6 38 3 44 .5 50 1 54 3' fill='none' stroke='%23e2678f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center / 56px 6px;
  opacity: 0; transform: scaleX(.4); transform-origin: left; transition: opacity .3s, transform .35s var(--ease-out);
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { opacity: 1; transform: scaleX(1); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: .55rem; }
.nav-toggle span { width: 22px; height: 2.4px; background: var(--ink); border-radius: 99px; transition: transform .3s var(--ease-out), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  padding: .85rem 1.6rem; border: 2px solid var(--ink);
  border-radius: var(--wobble);
  transition: transform .35s var(--ease-spring), box-shadow .3s, background .3s, color .3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px) rotate(-.6deg); }
.btn:active { transform: translateY(0) scale(.97); }

.btn-primary {
  background: var(--pink); border-color: var(--pink-deep); color: #fff;
  box-shadow: 0 6px 0 -2px var(--pink-deep);
}
.btn-primary:hover { background: var(--pink-deep); box-shadow: 0 9px 0 -2px rgba(201, 79, 120, .55); }

.btn-ghost { background: transparent; border-style: dashed; border-color: var(--ink-soft); color: var(--ink); }
.btn-ghost:hover { background: var(--lav-bg); border-color: var(--lav); color: var(--lav-deep); }

.btn-sticker {
  background: var(--paper-2); border-color: var(--ink); color: var(--ink);
  box-shadow: 0 5px 0 -2px var(--ink);
}
.btn-sticker:hover { background: var(--honey-bg); box-shadow: 0 8px 0 -2px var(--ink); }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.nav-fb { color: var(--sky); border-color: var(--sky); box-shadow: 0 4px 0 -2px var(--sky); }
.nav-fb:hover { background: var(--sky-bg); }

/* ---------- 8. Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 0; }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 3rem; align-items: center;
  min-height: min(78vh, 760px); padding-bottom: 4rem;
}

.hero-copy { position: relative; z-index: 2; }

.hero-copy .hand-note { font-size: 1.25rem; color: var(--pink); }
.doodle-heart { width: 1em; height: 1em; fill: var(--pink); vertical-align: -0.12em; animation: heartbeat 1.8s ease-in-out infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.25); } 24% { transform: scale(1); } }

.hero-name {
  position: relative;
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: clamp(3.4rem, 8.5vw, 6rem); line-height: 1.02;
  color: var(--ink); margin: .35rem 0 .4rem; letter-spacing: -0.01em;
}
.hero-name-underline {
  display: block; width: min(320px, 62%); height: 16px; margin-top: .35rem;
  color: var(--pink);
  stroke-dasharray: 160; stroke-dashoffset: 160;
  animation: drawLine 1.1s var(--ease-out) .9s forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.hero-role { font-size: 1.12rem; font-weight: 500; color: var(--lav-deep); letter-spacing: .01em; }
.hero-role em { font-family: var(--font-display); font-size: 1.2em; }

.hero-desc { max-width: 34rem; margin: 1.25rem 0 1.9rem; color: var(--ink-soft); font-size: 1.02rem; }

/* bút dạ quang quẹt ngang chữ (background-size để ăn theo từng dòng) */
.hl {
  font-weight: 600; color: var(--ink);
  background-repeat: no-repeat;
  background-size: 0% 46%;
  background-position: 0 82%;
  transition: background-size .9s var(--ease-out) .35s;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 .12em;
}
.hl-lav { background-image: linear-gradient(100deg, var(--lav-soft), var(--lav-soft)); }
.hl-honey { background-image: linear-gradient(100deg, var(--honey-soft), var(--honey-soft)); transition-delay: .75s; }
body.is-loaded .hl { background-size: 100% 46%; }

.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-stats { display: flex; gap: 2.4rem; margin-top: 2.4rem; }
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; line-height: 1.1; color: var(--ink);
}
.stat-num.stat-plus::after { content: "+"; color: var(--pink); font-size: .7em; vertical-align: .2em; }
.stat-inf { color: var(--lav); }
.stat-label { font-family: var(--font-hand); font-size: .8rem; color: var(--ink-soft); }

/* intro stagger on load */
.intro-1, .intro-2, .intro-3, .intro-4, .intro-5, .intro-6, .intro-7 {
  opacity: 0; animation: introUp .75s var(--ease-out) forwards;
}
.intro-1 { animation-delay: .05s; }
.intro-2 { animation-delay: .15s; }
.intro-3 { animation-delay: .3s; }
.intro-4 { animation-delay: .42s; }
.intro-5 { animation-delay: .55s; }
.intro-6 { animation-delay: .68s; }
.intro-7 { animation-delay: .35s; }
@keyframes introUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* --- Hero scene --- */
.hero-scene { position: relative; min-height: 520px; z-index: 1; }

.polaroid-stack {
  position: relative; width: min(360px, 82%); margin: 2.5rem auto 0; aspect-ratio: 4 / 5.05;
  transform: translate(calc(var(--px, 0) * 8px), calc(var(--py, 0) * 8px));
  transition: transform .25s ease-out;
}
.polaroid {
  position: absolute; background: #fff; padding: 10px 10px 36px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(59, 46, 62, .07);
  transition: transform .55s var(--ease-spring), box-shadow .4s;
}
.polaroid img { width: 100%; height: 100%; object-fit: cover; }
.polaroid figcaption { text-align: center; font-size: .78rem; margin-top: 9px; color: var(--ink-soft); }

.pol-1 { inset: 0; transform: rotate(1.6deg); z-index: 3; }
.pol-1 img { aspect-ratio: 4 / 5; }
.pol-2 { width: 66%; left: -26%; top: 9%; transform: rotate(-8deg); z-index: 2; }
.pol-2 img { aspect-ratio: 16 / 9; }
.pol-3 { width: 62%; right: -22%; bottom: 4%; transform: rotate(7deg); z-index: 1; }
.pol-3 img { aspect-ratio: 1 / 1; }

.polaroid-stack:hover .pol-1 { transform: rotate(0deg) translateY(-8px); box-shadow: var(--shadow-lift); }
.polaroid-stack:hover .pol-2 { transform: rotate(-11deg) translateX(-12px); }
.polaroid-stack:hover .pol-3 { transform: rotate(10deg) translateX(12px); }

/* washi tape */
.tape {
  position: absolute; z-index: 5; width: 92px; height: 26px;
  top: -13px; left: 50%; transform: translateX(-50%) rotate(-4deg);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .22) 0 6px, transparent 6px 12px),
    linear-gradient(rgba(246, 184, 205, .85), rgba(246, 184, 205, .85));
  box-shadow: 0 2px 6px rgba(59, 46, 62, .12);
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  pointer-events: none;
}
.tape-top { transform: translateX(-50%) rotate(-3deg); }
.tape-left { left: 8%; top: -12px; transform: rotate(-14deg); background:
  repeating-linear-gradient(45deg, rgba(255,255,255,.22) 0 6px, transparent 6px 12px),
  linear-gradient(rgba(206, 195, 246, .85), rgba(206, 195, 246, .85)); }
.tape-right { left: auto; right: 8%; top: -12px; transform: rotate(12deg); background:
  repeating-linear-gradient(45deg, rgba(255,255,255,.22) 0 6px, transparent 6px 12px),
  linear-gradient(rgba(247, 212, 146, .9), rgba(247, 212, 146, .9)); }

/* chibi sticker */
.chibi-sticker {
  position: absolute; z-index: 4; width: 150px; right: -2%; bottom: -3%;
  filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff)
          drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff)
          drop-shadow(0 10px 14px rgba(59, 46, 62, .22));
  animation: bob 5.5s ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2.5deg); } }

/* họa tiết nổi: hạc cũ + tulip mới */
.crane-fly,
.tulip-float {
  position: absolute; z-index: 6; top: -1.5rem; left: 4%;
  width: 108px; height: 90px; background: none; border: 0; padding: 0;
  filter: drop-shadow(0 10px 16px rgba(143, 127, 214, .35));
  animation: motifFloat 7s ease-in-out infinite;
}
.crane-fly svg,
.tulip-float svg { width: 100%; height: 100%; transition: transform .4s var(--ease-spring); }
.crane-fly:hover svg,
.tulip-float:hover svg { transform: rotate(-6deg) scale(1.08); }
@keyframes motifFloat {
  0%, 100% { transform: translate(0, 0) rotate(-3deg); }
  33% { transform: translate(10px, -16px) rotate(2deg); }
  66% { transform: translate(-8px, -6px) rotate(-5deg); }
}

/* doodles rải rác */
.doodle { position: absolute; pointer-events: none; }
.doodle use { fill: currentColor; }
.d-star-1 { width: 22px; height: 22px; color: var(--honey); top: 12%; right: 6%; animation: twinkle 3.2s ease-in-out infinite; }
.d-star-2 { width: 14px; height: 14px; color: var(--lav); top: 30%; left: -2%; animation: twinkle 2.6s ease-in-out .7s infinite; }
.d-star-3 { width: 17px; height: 17px; color: var(--pink); bottom: 18%; left: 6%; animation: twinkle 3.8s ease-in-out 1.3s infinite; }
.d-heart-1 { width: 18px; height: 18px; color: var(--pink-soft); top: 4%; left: 38%; animation: twinkle 3s ease-in-out .4s infinite; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(18deg); } }

/* sparkle burst (JS tạo) */
.spark {
  position: fixed; z-index: 2000; pointer-events: none;
  width: 14px; height: 14px; will-change: transform, opacity;
  animation: sparkFly .8s var(--ease-out) forwards;
}
.spark svg { width: 100%; height: 100%; }
@keyframes sparkFly {
  from { opacity: 1; transform: translate(0, 0) scale(.4) rotate(0); }
  to { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(1.15) rotate(160deg); }
}

/* ---------- 9. Marquee ---------- */
.marquee {
  position: relative; overflow: hidden;
  border-top: 1.5px dashed var(--ink-faint);
  border-bottom: 1.5px dashed var(--ink-faint);
  background: rgba(240, 235, 253, .55);
  padding: .72rem 0;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-hand); font-size: .95rem; letter-spacing: .12em;
  color: var(--lav-deep); white-space: nowrap; padding-right: .5rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 10. Sections ---------- */
.section { padding: 5.5rem 0; position: relative; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 3rem; }
.section-head.is-left { text-align: left; margin: 0 0 1.6rem; }
.kicker { font-size: 1.05rem; color: var(--pink); letter-spacing: .06em; }
.section-title {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.18; color: var(--ink);
  margin-top: .3rem;
}
.title-squiggle { width: 130px; height: 14px; margin: .7rem auto 0; color: var(--lav); display: block; }
.section-head.is-left .title-squiggle { margin-left: 0; }
.section-sub { color: var(--ink-soft); margin-top: 1rem; font-size: .98rem; }

.chip-demo {
  display: inline-grid; place-items: center; width: 1.55em; height: 1.55em;
  background: var(--lav-bg); color: var(--lav-deep); border-radius: 8px 12px 9px 11px;
  vertical-align: -0.4em;
}

/* ---------- 11. Filter chips ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-bottom: 2.6rem; }
.filter-chip {
  font-family: var(--font-hand); font-size: .92rem; font-weight: 500;
  color: var(--ink-soft); background: var(--paper-2);
  border: 1.8px solid var(--ink-faint); border-radius: var(--wobble);
  padding: .5rem 1.15rem;
  transition: all .3s var(--ease-out);
}
.filter-chip:hover { border-color: var(--lav); color: var(--lav-deep); transform: translateY(-2px) rotate(-1deg); }
.filter-chip.is-active {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
  transform: rotate(-1.5deg);
  box-shadow: 3px 4px 0 var(--pink-soft);
}
.filter-chip .count { opacity: .65; font-size: .82em; margin-left: .2em; }

/* ---------- 12. Portfolio grid ---------- */
.p-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.7rem;
}
.p-card[data-new-project="true"] { order: -1; }

.p-card {
  --tilt: 0deg;
  position: relative; background: var(--paper-2);
  border: 1px solid rgba(59, 46, 62, .08);
  border-radius: 14px 18px 12px 20px;
  padding: .85rem .85rem 1.1rem;
  box-shadow: var(--shadow-soft);
  transform: rotate(var(--tilt));
  transition: transform .5s var(--ease-spring), box-shadow .4s ease;
  cursor: zoom-in;
}
.p-card:nth-child(4n+1) { --tilt: -1deg; }
.p-card:nth-child(4n+2) { --tilt: .8deg; }
.p-card:nth-child(4n+3) { --tilt: -.5deg; }
.p-card:nth-child(4n+4) { --tilt: 1.1deg; }
.p-card:hover, .p-card:focus-within {
  transform: rotate(0deg) translateY(-9px);
  box-shadow: var(--shadow-lift);
  z-index: 3;
}

.p-card .tape { opacity: 0; transition: opacity .3s; }
.p-card:hover .tape, .p-card:focus-within .tape { opacity: 1; }

.p-imgbox {
  position: relative; overflow: hidden; border-radius: 9px 13px 8px 14px;
  aspect-ratio: 4 / 3; background: var(--lav-bg);
}
.p-imgbox.is-portrait { aspect-ratio: 3.4 / 4; }
.p-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.p-card:hover .p-img { transform: scale(1.06) rotate(.4deg); }

.p-hover {
  position: absolute; inset: auto 8px 8px 8px; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  font-family: var(--font-hand); font-size: .85rem; color: var(--night);
  background: rgba(253, 248, 240, .92); border: 0; border-radius: 8px 12px 9px 11px;
  padding: .45rem; cursor: zoom-in;
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s, transform .35s var(--ease-out);
}
.p-card:hover .p-hover, .p-card:focus-within .p-hover { opacity: 1; transform: none; }

.p-chip {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: .32rem;
  font-family: var(--font-hand); font-size: .78rem; font-weight: 500;
  color: var(--lav-deep); background: rgba(253, 248, 240, .93);
  border-radius: 8px 11px 9px 12px; padding: .28rem .6rem;
  box-shadow: 0 3px 8px rgba(59, 46, 62, .12);
}
.p-chip .ic { width: .95em; height: .95em; fill: none; stroke: currentColor; }

.p-body { padding: .9rem .35rem 0; }
.p-cat {
  font-family: var(--font-hand); font-size: .74rem; letter-spacing: .05em;
  color: var(--lav-deep);
}
.p-card[data-category="illustrations"] .p-cat { color: var(--pink-deep); }
.p-card[data-category="social-posts"] .p-cat { color: var(--sky); }
.p-card[data-category="design-products"] .p-cat { color: var(--honey); }
.p-card[data-category="templates"] .p-cat { color: #4b9b6e; }

.p-title {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: 1.32rem; line-height: 1.25; margin: .2rem 0 .35rem; color: var(--ink);
}
.p-role { font-size: .86rem; color: var(--ink-soft); }
.p-note { font-size: .82rem; margin-top: .5rem; color: var(--lav-deep); }

.p-badge {
  position: absolute; bottom: -10px; left: 18px;
  font-family: var(--font-hand); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: lowercase;
  background: var(--honey-soft); color: var(--night);
  border: 1.5px solid var(--night);
  padding: .18rem .7rem; border-radius: var(--wobble);
  transform: rotate(-2deg);
  box-shadow: 2px 3px 0 rgba(59, 46, 62, .2);
}
.p-card[data-category="brand-identity"] .p-badge { background: var(--lav-soft); }
.p-card[data-category="illustrations"] .p-badge { background: var(--pink-soft); }
.p-card[data-category="social-posts"] .p-badge { background: var(--sky-bg); }
.p-card[data-category="templates"] .p-badge { background: #cdeedd; }

/* trạng thái ẩn/hiện của filter + load more */
.p-card.is-hidden { display: none; }
.p-card.is-entering { opacity: 0; transform: translateY(24px) rotate(var(--tilt)); }
.p-card.is-shown { opacity: 1; transition: opacity .5s var(--ease-out), transform .55s var(--ease-out), box-shadow .4s; }

.load-more-wrap { display: flex; justify-content: center; margin-top: 3.2rem; }

/* ---------- 13. About ---------- */
.section-about {
  background: linear-gradient(180deg, transparent, rgba(240, 235, 253, .5) 14%, rgba(240, 235, 253, .5) 86%, transparent);
}
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }

.about-visual { position: relative; padding: 1.5rem 0; }
.about-polaroid {
  position: relative; background: #fff; padding: 14px 14px 46px;
  transform: rotate(-2.4deg);
  box-shadow: var(--shadow-lift);
  transition: transform .5s var(--ease-spring);
}
.about-polaroid:hover { transform: rotate(-.6deg) translateY(-6px); }
.about-polaroid img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.about-polaroid figcaption { text-align: center; margin-top: 12px; font-size: .92rem; }
.d-about-star { width: 26px; height: 26px; color: var(--honey); top: 0; right: 8%; animation: twinkle 3.4s ease-in-out infinite; }
.d-about-heart { width: 22px; height: 22px; color: var(--pink); bottom: 2%; left: -2%; animation: twinkle 2.8s ease-in-out 1s infinite; }

.about-text p + p { margin-top: .9rem; }
.about-text strong { color: var(--lav-deep); }
.about-text em { color: var(--pink-deep); font-style: italic; }

.skill-stickers { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 1.5rem 0 2.2rem; }
.skill-stickers li {
  font-family: var(--font-hand); font-size: .84rem; font-weight: 500;
  background: var(--paper-2); border: 1.6px solid var(--ink-faint);
  border-radius: var(--wobble-2); padding: .32rem .85rem;
  transition: transform .3s var(--ease-spring), border-color .3s, background .3s;
}
.skill-stickers li:nth-child(odd) { transform: rotate(-1.4deg); }
.skill-stickers li:nth-child(even) { transform: rotate(1.2deg); }
.skill-stickers li:hover { transform: rotate(0) translateY(-3px); border-color: var(--pink); background: var(--pink-bg); }

/* timeline — con đường khâu chỉ */
.timeline { position: relative; }
.timeline-title { font-size: 1.1rem; margin-bottom: 1.2rem; color: var(--ink); }
.tl-item {
  position: relative; padding: 0 0 1.8rem 2.2rem;
  border-left: 2px dashed var(--lav-soft);
  margin-left: .55rem;
}
.tl-item:last-child { padding-bottom: .2rem; }
.tl-star {
  position: absolute; left: -13px; top: -2px;
  display: grid; place-items: center;
  width: 24px; height: 24px; background: var(--paper);
  border-radius: 50%;
}
.tl-star svg { width: 15px; height: 15px; fill: var(--pink); transition: transform .4s var(--ease-spring); }
.tl-item:hover .tl-star svg { transform: rotate(72deg) scale(1.3); fill: var(--honey); }
.tl-date { font-family: var(--font-hand); font-size: .78rem; color: var(--pink-deep); letter-spacing: .04em; }
.tl-role { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-top: .1rem; }
.tl-org { font-size: .86rem; font-weight: 500; color: var(--lav-deep); }
.tl-desc { font-size: .87rem; color: var(--ink-soft); margin-top: .3rem; }

/* ---------- 14. Capabilities ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.cap-card {
  position: relative; background: var(--paper-2);
  border: 1.6px solid var(--ink-faint); border-radius: 18px 22px 16px 24px;
  padding: 1.8rem 1.4rem 1.5rem;
  transition: transform .45s var(--ease-spring), border-color .3s, box-shadow .4s;
}
.cap-card:hover { transform: translateY(-7px) rotate(-.7deg); border-color: var(--lav-soft); box-shadow: var(--shadow-lift); }
.cap-ic {
  display: grid; place-items: center; width: 54px; height: 54px;
  border-radius: var(--wobble); margin-bottom: 1.1rem;
  transition: transform .5s var(--ease-spring);
}
.cap-card:hover .cap-ic { transform: rotate(-8deg) scale(1.1); }
.cap-ic svg { width: 26px; height: 26px; }
.ic-lav { background: var(--lav-bg); } .ic-lav svg { fill: var(--lav-deep); }
.ic-pink { background: var(--pink-bg); } .ic-pink svg { fill: var(--pink-deep); }
.ic-honey { background: var(--honey-bg); } .ic-honey svg { fill: var(--honey); }
.ic-sky { background: var(--sky-bg); } .ic-sky svg { fill: var(--sky); }
.cap-title { font-size: 1.08rem; font-weight: 700; margin-bottom: .5rem; }
.cap-desc { font-size: .87rem; color: var(--ink-soft); }
.cap-note { font-size: .82rem; margin-top: .8rem; color: var(--pink); }

/* ---------- 15. Contact — lá thư ---------- */
.section-contact { padding-bottom: 6.5rem; }
.letter {
  position: relative; max-width: 780px; margin: 0 auto;
  background: var(--paper-warm);
  background-image: repeating-linear-gradient(transparent 0 30px, rgba(59, 46, 62, .05) 30px 31px);
  border: 1.6px solid rgba(59, 46, 62, .12);
  border-radius: 6px 10px 8px 12px;
  box-shadow: var(--shadow-lift);
  padding: 3.2rem 3rem 2.6rem;
  transform: rotate(-.4deg);
}
.letter-head { text-align: center; }
.letter-sub { max-width: 30rem; margin: 1rem auto 0; color: var(--ink-soft); font-size: .95rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 2.2rem; }
.c-chip {
  display: flex; align-items: center; gap: .9rem;
  background: var(--paper-2); border: 1.6px solid var(--ink-faint);
  border-radius: 12px 16px 11px 15px; padding: .95rem 1.1rem;
  transition: transform .35s var(--ease-spring), border-color .3s, box-shadow .3s;
}
.c-chip:not(.is-static):hover { transform: translateY(-4px) rotate(-.5deg); border-color: var(--pink); box-shadow: var(--shadow-soft); }
.c-ic {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px;
  background: var(--lav-bg); border-radius: var(--wobble);
}
.c-ic svg { width: 20px; height: 20px; fill: var(--lav-deep); }
.c-chip:nth-child(2) .c-ic { background: var(--pink-bg); } .c-chip:nth-child(2) .c-ic svg { fill: var(--pink-deep); }
.c-chip:nth-child(3) .c-ic { background: var(--honey-bg); } .c-chip:nth-child(3) .c-ic svg { fill: var(--honey); }
.c-chip:nth-child(4) .c-ic { background: var(--sky-bg); } .c-chip:nth-child(4) .c-ic svg { fill: var(--sky); }
.c-text { display: flex; flex-direction: column; min-width: 0; }
.c-label { font-family: var(--font-hand); font-size: .72rem; color: var(--ink-soft); }
.c-value { font-weight: 600; font-size: .92rem; color: var(--ink); overflow-wrap: anywhere; }
.c-arrow { margin-left: auto; width: 17px; height: 17px; color: var(--ink-soft); opacity: 0; transform: translate(-4px, 4px); transition: all .3s var(--ease-out); flex: none; }
.c-chip:hover .c-arrow { opacity: 1; transform: none; color: var(--pink); }

.letter-ps { text-align: center; margin-top: 1.8rem; font-size: .95rem; color: var(--pink-deep); }

/* ---------- 16. Footer — đêm đầy sao ---------- */
.footer {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: #cfc4e8; text-align: center;
  padding: 4rem 0 2.4rem;
  border-top: 6px solid transparent;
  border-image: linear-gradient(90deg, var(--pink), var(--lav), var(--honey)) 1;
}
.footer-stars, .footer-stars::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 30%, #fff 40%, transparent 60%),
    radial-gradient(1.2px 1.2px at 28% 68%, #e8dffb 40%, transparent 60%),
    radial-gradient(1.8px 1.8px at 41% 22%, #fff 40%, transparent 60%),
    radial-gradient(1.1px 1.1px at 57% 55%, #f6b8cd 40%, transparent 60%),
    radial-gradient(1.6px 1.6px at 68% 18%, #fff 40%, transparent 60%),
    radial-gradient(1.2px 1.2px at 79% 62%, #e8dffb 40%, transparent 60%),
    radial-gradient(1.7px 1.7px at 90% 34%, #fff 40%, transparent 60%),
    radial-gradient(1.2px 1.2px at 6% 80%, #f7d492 40%, transparent 60%);
  animation: starPulse 4.5s ease-in-out infinite;
}
.footer-stars::after {
  background-image:
    radial-gradient(1.3px 1.3px at 18% 48%, #fff 40%, transparent 60%),
    radial-gradient(1.6px 1.6px at 35% 82%, #e8dffb 40%, transparent 60%),
    radial-gradient(1.1px 1.1px at 50% 12%, #fff 40%, transparent 60%),
    radial-gradient(1.5px 1.5px at 64% 76%, #f6b8cd 40%, transparent 60%),
    radial-gradient(1.2px 1.2px at 84% 88%, #fff 40%, transparent 60%),
    radial-gradient(1.6px 1.6px at 95% 58%, #f7d492 40%, transparent 60%);
  animation-delay: 2.2s;
}
@keyframes starPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.footer-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.footer-crane,
.footer-tulip { width: 84px; height: 70px; margin-bottom: .4rem; filter: drop-shadow(0 6px 18px rgba(143, 127, 214, .5)); animation: motifFloat 8s ease-in-out infinite; }
.footer-name { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.9rem; color: #fff; }
.footer-line { color: #b1a3d4; font-size: .95rem; }
.footer-links { display: flex; gap: .8rem; margin: .9rem 0 .4rem; }
.footer-links a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1.5px solid rgba(255, 255, 255, .25); border-radius: var(--wobble);
  color: #e8dffb; transition: all .3s var(--ease-spring);
}
.footer-links a:hover { background: rgba(246, 184, 205, .15); border-color: var(--pink-soft); color: #fff; transform: translateY(-3px) rotate(-4deg); }
.footer-links .ic { width: 18px; height: 18px; }
.footer-copy { font-size: .78rem; color: #8d7fb3; margin-top: .8rem; }

/* ---------- 17. Back to top ---------- */
.to-top {
  /* dưới header (1000) để không đè lên menu mobile đang mở */
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 900;
  width: 62px; height: 56px; padding: 8px;
  background: var(--paper-2); border: 2px solid var(--ink);
  border-radius: var(--wobble);
  box-shadow: 0 6px 0 -2px var(--ink);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .35s, transform .45s var(--ease-spring), box-shadow .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); box-shadow: 0 10px 0 -2px var(--ink); }
.to-top svg { width: 100%; height: 100%; }

/* ---------- 18. Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center; gap: .8rem;
  background: rgba(37, 27, 53, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2.2rem 1rem;
  animation: lbIn .3s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }

.lb-stage { max-width: min(1020px, 88vw); text-align: center; }
.lb-stage img {
  max-width: 100%; max-height: 76vh; margin: 0 auto;
  border: 8px solid #fff; border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  background: #fff;
  animation: lbImgIn .35s var(--ease-spring);
}
@keyframes lbImgIn { from { opacity: 0; transform: scale(.94) rotate(-1deg); } }
.lb-caption {
  margin-top: 1.1rem; color: #e8dffb;
  display: flex; flex-direction: column; gap: .15rem; align-items: center;
}
.lb-caption strong { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: #fff; }
.lb-counter { font-family: var(--font-hand); font-size: .85rem; color: #b1a3d4; }

.lb-close, .lb-nav {
  flex: none; display: grid; place-items: center;
  background: rgba(253, 248, 240, .12); color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: var(--wobble);
  transition: all .25s var(--ease-out);
}
.lb-close { position: absolute; top: 1.2rem; right: 1.4rem; width: 46px; height: 46px; font-size: 1.7rem; line-height: 1; }
.lb-nav { width: 52px; height: 64px; font-size: 2rem; }
.lb-close:hover, .lb-nav:hover { background: rgba(246, 184, 205, .25); border-color: var(--pink-soft); transform: scale(1.06); }
.lb-nav[disabled] { opacity: .25; pointer-events: none; }

/* ---------- 19. Scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .75s var(--ease-out); transition-delay: var(--rv-delay, 0ms); }
.rv[data-rv="left"] { transform: translateX(-36px); }
.rv[data-rv="right"] { transform: translateX(36px); }
.rv[data-rv="pop"] { transform: scale(.92) rotate(-1deg); }
.rv.in { opacity: 1; transform: none; }
.letter.rv.in { transform: rotate(-.4deg); }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 1.5rem; }
  .hero-scene { min-height: 0; padding: 2rem 0 3rem; }
  .polaroid-stack { margin-top: 3rem; }
  .crane-fly, .tulip-float { top: 0; left: 8%; }
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 420px; margin: 0 auto; }
}

/* header cần ~900px mới đủ chỗ — chuyển sang menu gấp sớm hơn 768px */
@media (max-width: 920px) {
  .nav {
    position: fixed; z-index: 1500; inset: 74px 14px auto;
    flex-direction: column; align-items: stretch; gap: .3rem;
    background: var(--paper);
    border: 2px solid var(--ink); border-radius: 18px 24px 16px 26px;
    box-shadow: 0 18px 50px rgba(59, 46, 62, .25);
    padding: 1.1rem;
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    opacity: 0; transform: translateY(-14px) scale(.97); pointer-events: none;
    transition: opacity .3s, transform .35s var(--ease-spring);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-link { font-size: 1.05rem; padding: .6rem .4rem; }
  .nav-fb { justify-content: center; margin-top: .6rem; }
  .nav-toggle { display: flex; }
}

/* ====== MOBILE: nén nhịp trang — chữ gọn hơn, cuộn ngắn hơn ====== */
@media (max-width: 768px) {
  html { font-size: 15px; }
  section[id] { scroll-margin-top: 72px; }

  .hero { padding-top: 1.6rem; }
  .hero-grid { gap: .6rem; padding-bottom: 1.4rem; min-height: 0; }
  .hero-copy .hand-note { font-size: 1.05rem; }
  .hero-name { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .hero-role { font-size: .98rem; }
  .hero-desc { font-size: .93rem; margin: .9rem 0 1.3rem; }
  .hero-cta { gap: .6rem; }
  .hero-cta .btn { padding: .68rem 1.15rem; font-size: .88rem; }
  .hero-stats { gap: 1.4rem; margin-top: 1.6rem; flex-wrap: wrap; }
  .stat-num { font-size: 1.65rem; }
  .stat-label { font-size: .72rem; }

  .hero-scene { padding: .4rem 0 1.9rem; }
  .polaroid-stack { width: min(235px, 62%); margin-top: 1.9rem; }
  .polaroid { padding: 7px 7px 24px; }
  .polaroid figcaption { font-size: .66rem; margin-top: 6px; }
  .pol-2 { left: -16%; }
  .pol-3 { right: -13%; }
  .crane-fly, .tulip-float { width: 72px; height: 60px; top: 0; left: 3%; }
  .chibi-sticker { width: 88px; right: 0; bottom: -2%; }

  .marquee { padding: .45rem 0; }
  .marquee-track span { font-size: .8rem; }

  .section { padding: 2.9rem 0; }
  .section-head { margin-bottom: 1.8rem; }
  .section-title { font-size: clamp(1.5rem, 6.4vw, 1.85rem); }
  .section-sub { font-size: .88rem; margin-top: .7rem; }
  .kicker { font-size: .92rem; }
  .title-squiggle { width: 96px; margin-top: .45rem; }

  /* filter: một hàng cuộn ngang cho dễ với ngón cái */
  .filter-bar {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    margin: 0 -1.5rem 1.7rem; padding: .3rem 1.5rem .6rem;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-chip { white-space: nowrap; font-size: .84rem; padding: .38rem .85rem; flex: none; }

  .load-more-wrap { margin-top: 1.9rem; }

  .about-grid { gap: 2rem; }
  .about-visual { max-width: 300px; padding: .6rem 0; }
  .about-polaroid { padding: 10px 10px 32px; }
  .about-polaroid figcaption { font-size: .8rem; margin-top: 8px; }
  .about-text { font-size: .93rem; }
  .skill-stickers { margin: 1.1rem 0 1.6rem; gap: .45rem; }
  .skill-stickers li { font-size: .76rem; padding: .26rem .7rem; }
  .tl-item { padding: 0 0 1.3rem 1.9rem; }
  .tl-role { font-size: .98rem; }
  .tl-desc, .tl-org { font-size: .82rem; }

  .letter { padding: 2.1rem 1.25rem 1.8rem; }
  .letter-sub { font-size: .88rem; }
  .contact-grid { grid-template-columns: 1fr; gap: .6rem; margin-top: 1.5rem; }
  .c-chip { padding: .7rem .9rem; gap: .7rem; }
  .c-ic { width: 36px; height: 36px; }
  .c-ic svg { width: 17px; height: 17px; }
  .letter-ps { margin-top: 1.3rem; font-size: .86rem; }

  .footer { padding: 2.6rem 0 1.7rem; }
  .footer-crane, .footer-tulip { width: 62px; height: 52px; }
  .footer-name { font-size: 1.55rem; }
  .footer-line { font-size: .85rem; }

  .to-top { width: 52px; height: 47px; right: 1rem; bottom: 1rem; }
}

@media (max-width: 600px) {
  /* grid 2 cột compact: ẩn mô tả, giữ tiêu đề — cuộn ngắn đi một nửa */
  .p-grid { grid-template-columns: repeat(2, 1fr); gap: 1.35rem .8rem; }
  .p-card { padding: .45rem .45rem .6rem; border-radius: 10px 13px 9px 14px; }
  .p-body { padding: .55rem .2rem 0; }
  .p-cat { font-size: .62rem; }
  .p-title { font-size: .98rem; line-height: 1.28; margin: .12rem 0 0; }
  .p-role, .p-note { display: none; }
  .p-badge { font-size: .58rem; padding: .1rem .5rem; left: 10px; bottom: -8px; box-shadow: 1px 2px 0 rgba(59, 46, 62, .2); }
  .p-chip { font-size: .66rem; padding: .2rem .45rem; top: 5px; right: 5px; gap: .22rem; }
  .p-imgbox { border-radius: 7px 10px 6px 11px; }
  .p-imgbox.is-portrait { aspect-ratio: 4 / 3; } /* đồng bộ chiều cao 2 cột */

  .cap-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .cap-card { padding: 1.1rem .9rem 1rem; border-radius: 13px 16px 12px 17px; }
  .cap-ic { width: 40px; height: 40px; margin-bottom: .7rem; }
  .cap-ic svg { width: 20px; height: 20px; }
  .cap-title { font-size: .92rem; margin-bottom: .35rem; }
  .cap-desc { font-size: .78rem; }
  .cap-note { font-size: .72rem; margin-top: .55rem; }

  .lb-stage img { max-height: 66vh; border-width: 5px; }
  .lb-caption strong { font-size: 1.05rem; }
  .lb-nav { position: fixed; bottom: 1.1rem; z-index: 1; width: 46px; height: 54px; }
  .lb-prev { left: 20%; }
  .lb-next { right: 20%; }
}

/* thiết bị cảm ứng: không có hover — ẩn pill "xem gần hơn" cho đỡ nhấp nháy */
@media (hover: none) {
  .p-hover { display: none; }
}

/* ---------- 21. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .rv, .intro-1, .intro-2, .intro-3, .intro-4, .intro-5, .intro-6, .intro-7 { opacity: 1; transform: none; }
  .hero-name-underline { stroke-dashoffset: 0; }
  .hl::before { transform: scaleX(1) skewX(-10deg); }
  .marquee-track { animation: none; }
}
