/* ═══════════════════════════════════════════════════
   DESIGN TOKENS — dark occult / art-nouveau theme
   Nền đen mực, tan da bò cổ điển, xanh ô liu úa
   (lấy cảm hứng từ artwork "TOXIN")
═══════════════════════════════════════════════════ */
:root {
  --ink: #0D0B08;          /* nền chính — đen ấm */
  --ink-2: #13100B;        /* nền section xen kẽ */
  --ink-3: #1B1610;        /* panel nổi */
  --line: #2E2718;         /* viền mờ */

  --tan: #D2B584;          /* tan chính — hoa văn, viền */
  --tan-light: #EBDCBA;    /* chữ sáng nhất */
  --tan-dark: #A78D5F;     /* tan trầm */

  --olive: #5F6C46;        /* xanh ô liu */
  --olive-deep: #39422C;   /* ô liu thẫm */
  --sage: #8A9868;         /* xanh xô thơm */

  --text-light: #E9DFC6;
  --text-body: #C9BA97;
  --text-muted: #96866A;

  /* alias cũ — script.js còn tham chiếu */
  --gold: #D2B584;
  --gold-light: #EBDCBA;
  --gold-dark: #A78D5F;
  --cream: #E9DFC6;
  --cream-2: #C9BA97;
  --cream-3: #96866A;
  --brown-dark: #0D0B08;

  --font-serif: 'Cormorant Garamond', 'DM Serif Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 12px rgba(0,0,0,.5);
  --shadow-md: 0 8px 32px rgba(0,0,0,.6);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.7);
  --shadow-gold: 0 4px 24px rgba(210,181,132,.25);

  --transition: 0.35s cubic-bezier(.4,0,.2,1);
  --transition-slow: 0.6s cubic-bezier(.4,0,.2,1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--text-body);
  overflow-x: hidden;
  cursor: none;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: none; font-family: inherit; }
ul { list-style: none; }

/* ─── CONTAINER ─── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* ─── CUSTOM CURSOR ─── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--tan); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .1s, opacity .3s;
  box-shadow: 0 0 8px rgba(210,181,132,.8);
}
.cursor-follower {
  position: fixed; width: 34px; height: 34px;
  border: 1px solid var(--tan); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .25s ease, opacity .3s;
  opacity: .55;
}
body:hover .cursor { opacity: 1; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(13,11,8,.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(210,181,132,.16);
  transition: all var(--transition);
}
.nav.scrolled {
  padding: .7rem 2.5rem;
  box-shadow: var(--shadow-sm);
}
.nav:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(13,11,8,.65), rgba(13,11,8,0));
  border-bottom-color: transparent;
  backdrop-filter: none;
}
.nav-logo { display: flex; align-items: center; gap: .6rem; }
.logo-initials {
  width: 40px; height: 40px;
  background: transparent; color: var(--tan);
  border: 1px solid rgba(210,181,132,.5);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem;
  letter-spacing: .05em;
  position: relative;
}
.logo-initials::after {
  content: ''; position: absolute; inset: 3px;
  border: 1px solid rgba(210,181,132,.25);
  border-radius: 2px;
}
.logo-name {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 600;
  color: var(--text-light); letter-spacing: .03em;
}
.nav-links { display: flex; gap: 2rem; }
.nav-link {
  font-size: .8rem; font-weight: 500; color: var(--text-muted);
  letter-spacing: .1em; text-transform: uppercase;
  position: relative; padding-bottom: 3px;
  transition: color var(--transition);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 100%;
  height: 1px; background: var(--tan);
  transition: right var(--transition);
}
.nav-link:hover { color: var(--tan-light); }
.nav-link:hover::after { right: 0; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--tan); border-radius: 2px;
  transition: all var(--transition);
}

/* ─── HERO — MYSTIC NIGHT ─── */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; overflow: hidden;
}
.hero--mystic {
  background:
    radial-gradient(ellipse 90% 70% at 50% 32%, #1E1A11 0%, #131009 48%, #0B0906 100%),
    #0B0906;
}

/* Night sky layers */
.hero-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.stars { position: absolute; inset: 0; }
.star {
  position: absolute; border-radius: 50%;
  background: #EBDCBA;
  animation: twinkle var(--tw-dur, 3s) ease-in-out infinite;
  animation-delay: var(--tw-delay, 0s);
  opacity: .2;
}
@keyframes twinkle {
  0%, 100% { opacity: .12; transform: scale(1); }
  50% { opacity: .9; transform: scale(1.3); }
}
.moon-glow {
  position: absolute; left: 50%; top: 34%;
  width: 62vmin; height: 62vmin;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(210,181,132,.20) 0%,
    rgba(167,141,95,.10) 35%,
    rgba(95,108,70,.05) 60%,
    transparent 72%);
  border-radius: 50%;
  animation: moonBreathe 7s ease-in-out infinite;
}
@keyframes moonBreathe {
  0%, 100% { opacity: .8; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); }
}
.fog {
  position: absolute; width: 70vmax; height: 46vmax;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .22; mix-blend-mode: screen;
  will-change: transform;
}
.fog-1 {
  left: -22%; bottom: -28%;
  background: radial-gradient(circle, rgba(95,108,70,.55), transparent 65%);
  animation: fogDrift1 26s ease-in-out infinite alternate;
}
.fog-2 {
  right: -26%; top: -22%;
  background: radial-gradient(circle, rgba(210,181,132,.30), transparent 65%);
  animation: fogDrift2 32s ease-in-out infinite alternate;
}
.fog-3 {
  left: 18%; top: 42%;
  width: 50vmax; height: 30vmax;
  background: radial-gradient(circle, rgba(138,152,104,.25), transparent 65%);
  animation: fogDrift1 21s ease-in-out infinite alternate-reverse;
}
@keyframes fogDrift1 {
  from { transform: translate3d(0,0,0) rotate(0deg); }
  to   { transform: translate3d(9vw,-5vh,0) rotate(14deg); }
}
@keyframes fogDrift2 {
  from { transform: translate3d(0,0,0) rotate(0deg); }
  to   { transform: translate3d(-8vw,6vh,0) rotate(-12deg); }
}

/* ─── WATER — mặt nước tĩnh lặng, sáng hắt từ dưới lên ─── */
.water-scene {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
}
.water {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 34%;
  overflow: hidden;
  /* không có mép nước cứng — mặt nước tan dần vào bóng tối,
     chỉ nhận ra nhờ ánh sáng tỏa từ dưới đáy lên */
  background: linear-gradient(to bottom,
    rgba(38,40,26,0) 0%,
    rgba(32,33,21,.5) 20%,
    rgba(20,20,13,.85) 52%,
    rgba(13,12,8,.98) 100%);
}
/* nguồn sáng dưới đáy nước */
.water-glow {
  position: absolute; left: 50%; bottom: -45%;
  width: 130vmin; height: 145%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 44% 100% at 50% 100%,
    rgba(244,236,208,.85) 0%,
    rgba(214,190,140,.5) 30%,
    rgba(130,138,92,.22) 55%,
    transparent 74%);
  filter: blur(5px);
  mix-blend-mode: screen;
  animation: waterGlow 9s ease-in-out infinite;
}
@keyframes waterGlow {
  0%, 100% { opacity: .85; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1.14); }
}
/* vân sáng lăn tăn trên mặt nước */
.water-shimmer {
  position: absolute; inset: 0 5%;
  background: repeating-linear-gradient(to bottom,
    rgba(235,220,186,.08) 0 1px,
    transparent 1px 7px);
  filter: blur(.5px);
  -webkit-mask-image: radial-gradient(ellipse 56% 100% at 50% 100%, rgba(0,0,0,.9), transparent 76%);
  mask-image: radial-gradient(ellipse 56% 100% at 50% 100%, rgba(0,0,0,.9), transparent 76%);
  mix-blend-mode: screen;
  animation: shimmerDrift 8s linear infinite;
}
@keyframes shimmerDrift {
  from { background-position: 0 0; opacity: .75; }
  50% { opacity: 1; }
  to { background-position: 0 16px; opacity: .75; }
}
/* canvas vẽ sóng nước thật — vòng liền mạch, lan rộng, tắt dần */
.water-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  mix-blend-mode: screen;
  pointer-events: none;
}
/* giọt nước — trong suốt như thủy tinh, có điểm phản quang */
.water-drop {
  position: absolute; top: 0; z-index: 2;
  width: 13px; height: 16px;
  margin-left: -6.5px;
  border-radius: 46% 46% 50% 50% / 58% 58% 55% 55%;
  background:
    /* điểm phản quang trên vai giọt */
    radial-gradient(circle at 33% 24%,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.3) 22%,
      transparent 38%),
    /* ánh sáng khúc xạ dồn xuống đáy giọt */
    radial-gradient(ellipse 62% 36% at 50% 84%,
      rgba(244,236,208,.6) 0%,
      rgba(235,220,186,.2) 55%,
      transparent 78%),
    /* thân giọt gần như trong suốt, chỉ sáng ở viền */
    radial-gradient(circle at 50% 50%,
      rgba(235,225,200,.05) 0%,
      rgba(235,225,200,.08) 55%,
      rgba(242,232,205,.3) 85%,
      rgba(250,244,224,.45) 100%);
  box-shadow:
    inset 0 -2px 4px rgba(250,244,224,.5),
    inset 0 1px 2px rgba(255,255,255,.35),
    0 0 6px rgba(235,220,186,.18);
  pointer-events: none;
}
/* vệt đuôi mảnh phía trên khi giọt đang rơi */
.water-drop::before {
  content: ''; position: absolute;
  left: 50%; top: -7px;
  width: 1.5px; height: 8px;
  margin-left: -0.75px;
  border-radius: 2px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(244,236,208,.4) 100%);
}

/* luồng sáng từ mặt nước hắt ngược lên vòng bài */
.water-uplight {
  position: absolute; left: 50%; bottom: 30%;
  width: 90vmin; height: 52%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 38% 100% at 50% 100%,
    rgba(235,220,186,.17) 0%,
    rgba(210,181,132,.09) 42%,
    transparent 70%);
  filter: blur(12px);
  mix-blend-mode: screen;
  animation: uplightBreathe 9s ease-in-out infinite;
}
@keyframes uplightBreathe {
  0%, 100% { opacity: .65; }
  50% { opacity: 1; }
}

/* ─── ORBITING LENORMAND CARDS ─── */
.card-stage {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  perspective: 1400px;
  pointer-events: none;
}
.stage-inner {
  position: relative;
  width: 0; height: 0;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.ring-tilt {
  position: absolute; left: 0; top: 0;
  transform-style: preserve-3d;
}
.ring-tilt-a { transform: rotateX(-12deg); }
.ring-tilt-b { transform: rotateX(16deg) rotateZ(7deg); }
.card-ring {
  position: absolute; left: 0; top: 0;
  transform-style: preserve-3d;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.ring-spin-a { animation-name: ringSpin; animation-duration: 60s; }
.ring-spin-b { animation-name: ringSpinRev; animation-duration: 48s; }
@keyframes ringSpin    { from { transform: rotateY(0deg); }   to { transform: rotateY(360deg); } }
@keyframes ringSpinRev { from { transform: rotateY(360deg); } to { transform: rotateY(0deg); } }

.orbit-card {
  --card-w: clamp(88px, 11.5vmin, 150px);
  position: absolute;
  width: var(--card-w, 120px);
  aspect-ratio: 1543 / 2094;
  margin-left: calc(var(--card-w, 120px) / -2);
  transform-style: preserve-3d;
  top: calc(var(--card-w, 120px) * -0.68);
}
.orbit-card .face, .orbit-card .back {
  position: absolute; inset: 0;
  border-radius: 8px;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.55), 0 0 18px rgba(210,181,132,.16);
  border: 1px solid rgba(210,181,132,.35);
}
.orbit-card .face img, .orbit-card .back img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.orbit-card .back { transform: rotateY(180deg); }

/* Scrim to keep the intro text readable over the cards */
.hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to right, rgba(11,9,6,.88) 0%, rgba(11,9,6,.55) 34%, rgba(11,9,6,0) 62%),
    linear-gradient(to top, rgba(11,9,6,.6) 0%, rgba(11,9,6,0) 22%);
}
.hero-content {
  position: relative; z-index: 3;
  max-width: 700px; padding: 0 2.5rem; padding-top: 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(210,181,132,.08);
  border: 1px solid rgba(210,181,132,.4);
  padding: .4rem 1rem; border-radius: var(--radius-sm);
  font-size: .75rem; font-weight: 500; color: var(--tan);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--sage);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(138,152,104,.2);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 3px rgba(138,152,104,.2); }
  50% { box-shadow: 0 0 0 6px rgba(138,152,104,.06); }
}
.hero-name {
  font-family: var(--font-serif); font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700; line-height: 1; color: var(--text-light);
  margin-bottom: 1rem;
}
.name-line { display: block; }
.name-accent {
  color: var(--tan); font-style: italic;
  text-shadow: 0 2px 20px rgba(210,181,132,.35);
}
.hero-role {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.25rem;
}
.role-tag {
  font-size: clamp(.85rem, 1.5vw, 1rem); font-weight: 500;
  color: var(--text-body); letter-spacing: .14em; text-transform: uppercase;
}
.role-sep { color: var(--tan); font-size: 1.2rem; }
.hero-tagline {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted); margin-bottom: 2rem; line-height: 1.6;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 2rem; border-radius: var(--radius-sm);
  font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; transition: all var(--transition);
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.08);
  transform: translateX(-100%); transition: transform .4s ease;
}
.btn:hover::before { transform: translateX(0); }
.btn-primary {
  background: var(--tan); color: var(--ink);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--tan-light);
  box-shadow: 0 6px 32px rgba(210,181,132,.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--text-light);
  border: 1px solid rgba(210,181,132,.45);
}
.btn-outline:hover {
  border-color: var(--tan); color: var(--tan);
  transform: translateY(-2px);
}
.btn svg { width: 18px; height: 18px; }
.btn-full { width: 100%; justify-content: center; }

/* ─── HERO STATS ─── */
.hero-stats {
  display: flex; align-items: center; gap: 2rem;
}
.stat { display: flex; flex-direction: column; align-items: flex-start; }
.stat-num {
  font-family: var(--font-serif); font-size: 2.5rem; font-weight: 700;
  color: var(--tan); line-height: 1;
}
.stat-plus { color: var(--tan); font-size: 1.25rem; }
.stat-label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--text-muted); margin-top: .2rem;
}
.stat-divider {
  width: 1px; height: 40px; background: rgba(210,181,132,.2);
}

/* ─── SCROLL HINT ─── */
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--text-muted); font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; z-index: 3;
}
.scroll-line {
  width: 1px; height: 50px; background: linear-gradient(to bottom, transparent, var(--tan));
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%, 100% { opacity: .3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ─── SECTIONS ─── */
.section { padding: 6rem 0; scroll-margin-top: 64px; }
.section-header { text-align: center; margin-bottom: 4rem; }
/* Hoa văn kết dưới tiêu đề — như dấu triện trên bìa bài */
.section-header::after {
  content: '✦ ─── ❖ ─── ✦';
  display: block;
  margin-top: 1.4rem;
  font-size: .7rem; letter-spacing: .35em;
  color: var(--tan-dark); opacity: .8;
}
.section-label-pill {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(210,181,132,.45);
  color: var(--tan); padding: .35rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .7rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; margin-bottom: 1rem;
  position: relative;
}
.section-label-pill::before, .section-label-pill::after {
  content: '◆'; position: absolute; top: 50%;
  transform: translateY(-50%);
  font-size: .45rem; color: var(--tan-dark);
}
.section-label-pill::before { left: -1.1rem; }
.section-label-pill::after { right: -1.1rem; }
.section-label-pill.light { color: var(--tan); }
.section-title {
  font-family: var(--font-serif); font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.15; color: var(--text-light);
}
.section-title em { color: var(--tan); font-style: italic; }
.section-title.light { color: var(--text-light); }
.section-title.light em { color: var(--tan); }

/* ─── ABOUT SECTION ─── */
.about { position: relative; overflow: hidden; background: var(--ink-2); }
.about-bg-page {
  position: absolute; inset: 0; z-index: 0;
  opacity: .05;
}
.about-page-img { width: 100%; height: 100%; object-fit: cover; filter: sepia(1) brightness(.4); }
.about-page-overlay { position: absolute; inset: 0; background: var(--ink-2); opacity: .85; }
.about-layout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 280px 1fr 260px;
  gap: 3.5rem;
  align-items: start;
}

/* About Photo — khung kép kiểu lá bài */
.about-photo-frame {
  position: relative; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  border: 1px solid rgba(210,181,132,.5);
}
.about-photo-crop {
  /* Crop chỉ lấy đúng vùng ảnh chân dung ở góc trên-trái của page_02,
     tránh lộ phần chữ CV bên cạnh */
  position: absolute;
  width: 600%; max-width: none; height: auto;
  left: -15%; top: 0;
  transition: transform .8s ease;
  filter: saturate(.85) contrast(1.02);
}
.about-photo-frame:hover .about-photo-crop { transform: scale(1.03); }
.photo-border-accent {
  position: absolute; inset: 7px;
  border: 1px solid rgba(210,181,132,.45);
  border-radius: 4px; pointer-events: none;
}
.about-contact-quick {
  display: flex; flex-direction: column; gap: .6rem; margin-top: 1.5rem;
}
.quick-link {
  display: flex; align-items: center; gap: .6rem;
  font-size: .78rem; color: var(--text-body);
  padding: .5rem .75rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(210,181,132,.03);
  transition: all var(--transition);
}
.quick-link svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--tan); }
.quick-link:hover {
  background: var(--tan); color: var(--ink);
  border-color: var(--tan);
}
.quick-link:hover svg { color: var(--ink); }

/* About Bio */
.about-heading {
  font-family: var(--font-serif); font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700; line-height: 1.2; color: var(--text-light);
  margin: .75rem 0 1.25rem;
}
.about-heading em { color: var(--tan); font-style: italic; }
.about-lead {
  font-size: 1rem; line-height: 1.7; color: var(--text-body);
  margin-bottom: 1rem;
}
.about-lead strong { color: var(--tan-light); }
.about-body {
  font-size: .925rem; line-height: 1.75; color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.about-body strong { color: var(--text-body); }
.about-info-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.info-chip {
  font-size: .78rem; padding: .35rem .85rem;
  background: var(--ink-3); border-radius: var(--radius-sm);
  color: var(--text-body); border: 1px solid var(--line);
}
.skills-preview { display: flex; flex-wrap: wrap; gap: .4rem; }
.sw-pill {
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  padding: .3rem .8rem; border-radius: var(--radius-sm);
  background: var(--olive-deep); color: var(--tan-light);
  border: 1px solid rgba(210,181,132,.25);
}

/* About Skills Column */
.skills-sub-heading {
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700;
  color: var(--text-light); margin-bottom: 1.5rem;
}
.skills-sub-heading::after {
  content: ' ❖'; color: var(--tan-dark); font-size: .8em;
}
.skill-list { display: flex; flex-direction: column; gap: 1.1rem; }
.skill-info {
  display: flex; justify-content: space-between;
  font-size: .8rem; font-weight: 600; margin-bottom: .4rem;
  color: var(--text-body);
}
.skill-pct { color: var(--tan); }
.skill-bar {
  height: 4px; background: var(--line); border-radius: var(--radius-full);
  overflow: hidden;
}
.skill-fill {
  height: 100%; width: 0; border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--olive), var(--tan));
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}

/* ─── WORKS SECTION ─── */
.works { background: var(--ink); }

/* Category quick-nav (sticky chips) */
.works-nav {
  position: sticky; top: 68px; z-index: 50;
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
  margin-bottom: 3.5rem; padding: .75rem 1rem;
  background: rgba(19,16,11,.88);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(210,181,132,.2);
}
.works-nav-chip {
  padding: .5rem 1.15rem; border-radius: var(--radius-sm);
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted);
  border: 1px solid var(--line);
  background: transparent;
  transition: all var(--transition);
}
.works-nav-chip:hover, .works-nav-chip.active {
  background: var(--tan); color: var(--ink);
  border-color: var(--tan);
}

/* Category group */
.work-group {
  margin-bottom: 5rem;
  scroll-margin-top: 140px;
}
.work-group:last-child { margin-bottom: 0; }
.work-group-header {
  display: flex; align-items: baseline; gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(210,181,132,.3);
  position: relative;
}
/* nút thoi nhỏ chốt cuối đường kẻ nhóm */
.work-group-header::after {
  content: '◆'; position: absolute; right: 0; bottom: -0.42rem;
  font-size: .55rem; color: var(--tan-dark);
}
.work-group-header::before {
  content: '◆'; position: absolute; left: 0; bottom: -0.42rem;
  font-size: .55rem; color: var(--tan-dark);
}
.work-group-num {
  font-family: var(--font-serif); font-size: 2.6rem; font-weight: 700;
  font-style: italic; color: var(--tan); line-height: 1;
}
.work-group-title {
  font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700; color: var(--text-light); line-height: 1.15;
}
.work-group-title em { color: var(--tan-dark); font-style: italic; font-size: .8em; }
.work-group-desc {
  font-size: .875rem; color: var(--text-muted); margin-top: .3rem;
}

/* Work grid — all artworks are 16:9 slides */
.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.work-card--full { grid-column: 1 / -1; }
.work-card {
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(210,181,132,.28);
  background: var(--ink-3);
  transition: transform .4s ease, box-shadow .4s ease, opacity .4s ease, border-color .4s ease;
}
.work-img-wrap {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius-md) - 1px);
}
/* khung kép bên trong — tiểu tiết kiểu lá bài cổ */
.work-img-wrap::after {
  content: ''; position: absolute; inset: 8px;
  border: 1px solid rgba(210,181,132,.35);
  border-radius: 3px;
  pointer-events: none; z-index: 2;
  transition: inset .4s ease, border-color .4s ease;
}
.work-card:hover .work-img-wrap::after {
  inset: 12px; border-color: rgba(235,220,186,.55);
}
.work-img-wrap img {
  width: 100%; display: block;
  aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .7s ease;
}
.work-card:hover .work-img-wrap img { transform: scale(1.05); }
.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,9,6,.93) 0%, rgba(11,9,6,.5) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0; transition: opacity .4s ease;
  z-index: 1;
}
.work-card:hover .work-overlay { opacity: 1; }
.work-cat-tag {
  display: inline-block; font-size: .62rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--tan);
  background: rgba(13,11,8,.6); border: 1px solid rgba(210,181,132,.45);
  padding: .2rem .6rem; border-radius: var(--radius-sm);
  margin-bottom: .5rem; width: fit-content;
}
.work-title {
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700;
  color: var(--text-light); margin-bottom: .35rem; line-height: 1.2;
}
.work-desc {
  font-size: .78rem; color: var(--text-muted); line-height: 1.5;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(210,181,132,.12);
  border-color: rgba(210,181,132,.55);
}
/* Touch devices: always show caption (no hover available) */
@media (hover: none) {
  .work-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(11,9,6,.88) 0%, rgba(11,9,6,.25) 40%, transparent 65%);
  }
  .work-desc { display: none; }
}

/* ─── EXPERIENCE SECTION ─── */
.experience { position: relative; overflow: hidden; padding: 6rem 0; background: var(--ink-2); }
.exp-bg { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.exp-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center right; filter: brightness(.5) sepia(.3); }
.exp-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,11,8,.95) 0%, rgba(19,16,11,.88) 100%);
}
.experience .container { position: relative; z-index: 1; }

/* TIMELINE */
.timeline {
  display: flex; flex-direction: column; gap: 0;
  position: relative; padding-left: 3rem;
}
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, var(--tan), rgba(210,181,132,.08));
}
.timeline-item {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 0 0 3rem 0;
  position: relative;
}
/* chấm thoi ◆ thay cho chấm tròn */
.timeline-dot {
  position: absolute; left: -3rem;
  width: 12px; height: 12px;
  background: var(--tan); border: 2px solid var(--ink);
  box-shadow: 0 0 0 2px rgba(210,181,132,.4);
  transform: translateX(calc(-50% + 0.5px)) rotate(45deg);
  flex-shrink: 0;
  top: 6px;
}
.timeline-dot--edu {
  background: var(--sage);
  box-shadow: 0 0 0 2px rgba(138,152,104,.4);
}
.timeline-content {
  flex: 1; background: rgba(210,181,132,.04);
  border: 1px solid rgba(210,181,132,.2);
  border-radius: var(--radius-md); padding: 1.5rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.timeline-content:hover {
  background: rgba(210,181,132,.08);
  border-color: rgba(210,181,132,.45);
  transform: translateX(4px);
}
.timeline-period {
  font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--tan);
  display: block; margin-bottom: .4rem;
}
.timeline-role {
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700;
  color: var(--text-light); margin-bottom: .25rem;
}
.timeline-company {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--tan-light);
  background: rgba(57,66,44,.5); border: 1px solid rgba(138,152,104,.35);
  padding: .2rem .7rem; border-radius: var(--radius-sm);
  margin-bottom: .75rem;
}
.timeline-desc {
  font-size: .875rem; color: var(--text-muted); line-height: 1.65;
}

/* ─── CONTACT SECTION ─── */
.contact { background: var(--ink); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.contact-lead {
  font-size: 1.05rem; line-height: 1.75;
  color: var(--text-body); margin-bottom: 2rem;
  font-family: var(--font-serif); font-style: italic;
}
.contact-links { display: flex; flex-direction: column; gap: .75rem; }
.contact-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: all var(--transition);
  background: var(--ink-3);
}
.contact-link:hover {
  border-color: var(--tan);
  background: rgba(210,181,132,.06);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.contact-link-icon { font-size: 1.4rem; }
.contact-link-label {
  display: block; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em; color: var(--text-muted);
}
.contact-link-value {
  display: block; font-size: .9rem; font-weight: 600; color: var(--text-light);
}
.arrow-icon { width: 18px; height: 18px; margin-left: auto; color: var(--tan); flex-shrink: 0; }

/* FORM — khung kép như tấm thiệp cổ */
.contact-form {
  background: var(--ink-3);
  border: 1px solid rgba(210,181,132,.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow-md);
  position: relative;
}
.contact-form::before {
  content: ''; position: absolute; inset: 8px;
  border: 1px solid rgba(210,181,132,.18);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}
.form-group { margin-bottom: 1.25rem; position: relative; z-index: 1; }
.form-group label {
  display: block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--tan-dark); margin-bottom: .4rem;
}
.form-group input, .form-group textarea {
  width: 100%; padding: .85rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-size: .9rem;
  color: var(--text-light); background: var(--ink);
  outline: none; transition: border-color var(--transition);
  resize: none;
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(150,134,106,.5);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--tan);
  box-shadow: 0 0 0 3px rgba(210,181,132,.1);
}
.contact-form .btn { position: relative; z-index: 1; }
.form-success {
  display: none; margin-top: 1rem; padding: .75rem 1rem;
  background: rgba(138,152,104,.08); border: 1px solid rgba(138,152,104,.35);
  border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 600; color: var(--sage);
  text-align: center;
  position: relative; z-index: 1;
}
.form-success.show { display: block; }

/* ─── FOOTER ─── */
.footer {
  background: #080604;
  padding: 3rem 0;
  border-top: 1px solid rgba(210,181,132,.2);
  position: relative;
}
.footer::before {
  content: '❖'; position: absolute; top: -0.6rem; left: 50%;
  transform: translateX(-50%);
  color: var(--tan-dark); font-size: .8rem;
  background: var(--ink); padding: 0 .8rem;
}
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.footer-logo { display: flex; align-items: center; gap: .75rem; }
.footer-logo .logo-initials { background: transparent; color: var(--tan); }
.footer-name { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; color: var(--text-light); }
.footer-tagline { font-size: .85rem; color: var(--text-muted); }
.footer-copy { font-size: .78rem; color: rgba(150,134,106,.55); }

/* ─── SOUND TOGGLE — âm thanh thiên nhiên ─── */
.sound-toggle {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1500;
  display: flex; align-items: center; gap: .55rem;
  height: 46px; padding: 0 1rem;
  background: rgba(27,22,16,.8);
  border: 1px solid rgba(210,181,132,.45);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.sound-toggle:hover {
  border-color: var(--tan);
  box-shadow: var(--shadow-md), 0 0 18px rgba(210,181,132,.2);
}
.sound-toggle-label {
  font-size: .62rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-muted);
  transition: color var(--transition);
}
.sound-toggle.playing .sound-toggle-label { color: var(--tan); }
.sound-bars {
  display: flex; align-items: flex-end; gap: 2.5px;
  height: 14px;
}
.sound-bars span {
  width: 2.5px; border-radius: 2px;
  background: var(--tan-dark);
  height: 30%;
  transition: background var(--transition);
}
.sound-toggle.playing .sound-bars span {
  background: var(--tan);
  animation: soundBar 1.1s ease-in-out infinite;
}
.sound-toggle.playing .sound-bars span:nth-child(1) { animation-delay: 0s; }
.sound-toggle.playing .sound-bars span:nth-child(2) { animation-delay: .25s; }
.sound-toggle.playing .sound-bars span:nth-child(3) { animation-delay: .5s; }
.sound-toggle.playing .sound-bars span:nth-child(4) { animation-delay: .12s; }
@keyframes soundBar {
  0%, 100% { height: 30%; }
  50% { height: 100%; }
}
@media (max-width: 768px) {
  .sound-toggle { bottom: 1rem; right: 1rem; height: 42px; padding: 0 .85rem; }
  .sound-toggle-label { display: none; }
}

/* ─── LIGHTBOX — xem tác phẩm phóng lớn ─── */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(8,6,4,.93);
  backdrop-filter: blur(10px);
}
.lightbox-inner {
  position: relative; z-index: 1;
  max-width: min(1100px, 92vw);
  width: 100%;
  padding: 0 1rem;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.1rem;
  transform: scale(.96) translateY(12px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.lightbox.open .lightbox-inner { transform: scale(1) translateY(0); }
.lightbox-img-frame {
  position: relative;
  border: 1px solid rgba(210,181,132,.55);
  border-radius: var(--radius-md);
  background: var(--ink-3);
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(210,181,132,.12);
  max-width: 100%;
}
.lightbox-img-frame::after {
  content: ''; position: absolute; inset: 5px;
  border: 1px solid rgba(210,181,132,.25);
  border-radius: calc(var(--radius-md) - 3px);
  pointer-events: none;
}
.lightbox-img-frame img {
  display: block;
  max-width: 100%;
  max-height: min(68vh, 700px);
  width: auto; height: auto;
  border-radius: 3px;
}
.lightbox-caption { text-align: center; max-width: 720px; }
.lightbox-meta {
  display: flex; align-items: center; justify-content: center;
  gap: .8rem; margin-bottom: .5rem;
}
.lightbox-tag {
  display: inline-block; font-size: .62rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--tan);
  border: 1px solid rgba(210,181,132,.45);
  padding: .22rem .7rem; border-radius: var(--radius-sm);
}
.lightbox-counter {
  font-size: .7rem; letter-spacing: .18em;
  color: var(--text-muted);
}
.lightbox-title {
  font-family: var(--font-serif); font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700; color: var(--text-light); line-height: 1.2;
  margin-bottom: .35rem;
}
.lightbox-title::after {
  content: ' ❖'; color: var(--tan-dark); font-size: .65em;
}
.lightbox-desc {
  font-size: .85rem; color: var(--text-muted); line-height: 1.6;
}
.lightbox-close, .lightbox-arrow {
  position: absolute; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  color: var(--tan);
  background: rgba(27,22,16,.75);
  border: 1px solid rgba(210,181,132,.45);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  backdrop-filter: blur(6px);
}
.lightbox-close:hover, .lightbox-arrow:hover {
  background: var(--tan); color: var(--ink);
  border-color: var(--tan);
}
.lightbox-close {
  top: 1.25rem; right: 1.5rem;
  width: 44px; height: 44px;
  font-size: 1.05rem;
}
.lightbox-arrow {
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 64px;
  font-size: 2rem; font-family: var(--font-serif); line-height: 1;
}
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
@media (max-width: 768px) {
  .lightbox-arrow { width: 38px; height: 52px; font-size: 1.5rem; }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
  .lightbox-close { top: .75rem; right: .75rem; width: 38px; height: 38px; }
  .lightbox-img-frame img { max-height: 58vh; }
}
body.lightbox-locked { overflow: hidden; }

/* ─── ANIMATIONS ─── */
.reveal-up, .reveal-left, .reveal-right, .reveal-card {
  opacity: 0; transition: opacity .8s ease, transform .8s ease;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-card { transform: translateY(30px) scale(.97); }
.visible {
  opacity: 1 !important; transform: translate(0) scale(1) !important;
}
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }
.delay-4 { transition-delay: .48s; }
.delay-5 { transition-delay: .6s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .about-layout { grid-template-columns: 240px 1fr; }
  .about-skills-col { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; top: 64px;
    background: rgba(13,11,8,.97); backdrop-filter: blur(20px);
    padding: 3rem 2rem; gap: 1.5rem; align-items: center; z-index: 999;
  }
  .nav-links.open .nav-link { font-size: 1.5rem; }
  .hero-content { padding: 0 1.5rem; padding-top: 100px; }
  .hero-stats { gap: 1.2rem; }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo-frame { aspect-ratio: 1; max-width: 280px; margin: 0 auto; }
  .works-nav { position: static; }
  .work-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .work-group { margin-bottom: 3.5rem; scroll-margin-top: 80px; }
  .work-group-num { font-size: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .timeline { padding-left: 2rem; }
  .section-title { font-size: 2.2rem; }
}
@media (max-width: 480px) {
  .hero-stats { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .stat-divider { display: none; }
}

/* Hero cards — smaller screens & reduced motion */
@media (max-width: 768px) {
  .orbit-card { --card-w: clamp(64px, 17vmin, 96px); }
  .hero-scrim {
    background:
      linear-gradient(to top, rgba(11,9,6,.92) 0%, rgba(11,9,6,.45) 45%, rgba(11,9,6,.2) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .card-ring, .fog, .moon-glow, .star,
  .water-glow, .water-shimmer, .water-uplight { animation: none !important; }
  .water-glow, .water-uplight { opacity: .8; }
}
@media (max-width: 768px) {
  .water { height: 26%; }
  .water-uplight { bottom: 22%; }
}
