*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg: #0A0A0A;
    --surface: #141414;
    --surface-hover: #1C1C1C;
    --text: #F0EBE1;
    --text-muted: #C2BCB6; /* Upgraded to improve contrast and readability */
    --gold: #C8A96E;
    --gold-dim: rgba(200,169,110,0.12);
    --border: rgba(240,235,225,0.08);
  }

  html { scroll-behavior: smooth; }

  body {
    background: #09090C;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
  }

  /* Blueprint Grid / Canvas Pattern overlay on the background */
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.02;
    background-image: 
      linear-gradient(rgba(240, 235, 225, 0.15) 1px, transparent 1px),
      linear-gradient(90deg, rgba(240, 235, 225, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
  }

  /* GPU-Accelerated Animated Film Grain Texture Overlay. Uses a static canvas-generated image and moves via GPU layers to eliminate SVG noise recalculations. */
  body::before {
    content: '';
    position: fixed;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    width: 200%; height: 200%;
    background-image: var(--noise-bg);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.35;
    animation: filmGrainAnim 0.5s steps(8) infinite;
    will-change: transform;
  }
  @keyframes filmGrainAnim {
    0%, 100% { transform: translate3d(0, 0, 0); }
    10% { transform: translate3d(-1%, -1%, 0); }
    20% { transform: translate3d(-2%, 1%, 0); }
    30% { transform: translate3d(1%, -2%, 0); }
    40% { transform: translate3d(-1%, 2%, 0); }
    50% { transform: translate3d(-2%, 1%, 0); }
    60% { transform: translate3d(2%, -1%, 0); }
    70% { transform: translate3d(1%, 1%, 0); }
    80% { transform: translate3d(-1%, -2%, 0); }
    90% { transform: translate3d(1%, 2%, 0); }
  }
  body.modal-open::before {
    animation-play-state: paused !important;
  }

  /* CINEMATIC BACKDROP & SPOTLIGHT DRIFT */
  .cinematic-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0F0E14 0%, #040406 100%);
  }
  .spotlight {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    pointer-events: none;
    will-change: transform;
  }
  .spot-gold {
    width: 65vw;
    height: 65vw;
    top: -12vw;
    right: -10vw;
    opacity: 0.3;
    background: radial-gradient(circle, rgba(200, 169, 110, 0.45) 0%, rgba(200, 169, 110, 0.15) 45%, transparent 75%);
  }
  .spot-blue {
    width: 80vw;
    height: 80vw;
    bottom: -15vw;
    left: -15vw;
    opacity: 0.4;
    background: radial-gradient(circle, rgba(40, 90, 180, 0.5) 0%, rgba(40, 90, 180, 0.15) 45%, transparent 75%);
  }
  .spot-burgundy {
    width: 70vw;
    height: 70vw;
    top: 25vh;
    left: 20vw;
    opacity: 0.25;
    background: radial-gradient(circle, rgba(140, 20, 60, 0.4) 0%, rgba(140, 20, 60, 0.12) 45%, transparent 75%);
  }
  .spotlight-drift-gold {
    position: absolute;
    inset: 0;
    pointer-events: none;
    animation: spotlightDrift 28s infinite alternate ease-in-out;
  }
  .spotlight-drift-blue {
    position: absolute;
    inset: 0;
    pointer-events: none;
    animation: spotlightDrift 38s infinite alternate-reverse ease-in-out;
  }
  .spotlight-drift-burgundy {
    position: absolute;
    inset: 0;
    pointer-events: none;
    animation: spotlightDrift 33s infinite alternate ease-in-out;
  }
  @keyframes spotlightDrift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(6%, -5%, 0) scale(1.1); }
    100% { transform: translate3d(-3%, 3%, 0) scale(0.95); }
  }

  /* CINEMATIC NOISE & CELLULOID SCRATCHES */
  .cinematic-celluloid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.12;
    will-change: transform;
    overflow: hidden;
  }
  .cinematic-celluloid-inner {
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 300vw;
    background-image: 
      linear-gradient(to right, transparent 45%, rgba(240, 235, 225, 0.15) 45.1%, transparent 45.3%),
      linear-gradient(to right, transparent 80%, rgba(200, 169, 110, 0.1) 80.1%, transparent 80.3%);
    background-size: 100vw 100%;
    animation: celluloidDrift 14s infinite linear;
    will-change: transform;
  }
  @keyframes celluloidDrift {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100vw, 0, 0); }
  }

  /* CAMERA VIEWFINDER HUD BACKGROUND OVERLAY */
  .viewfinder-hud {
    position: fixed;
    inset: 2rem;
    border: 1px solid rgba(240, 235, 225, 0.12);
    pointer-events: none;
    z-index: 90;
    will-change: transform, opacity;
  }
  .viewfinder-corner {
    position: absolute;
    width: 24px; height: 24px;
    border-color: rgba(200, 169, 110, 0.35);
    border-style: solid;
  }
  .viewfinder-tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
  .viewfinder-tr { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
  .viewfinder-bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
  .viewfinder-br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

  .viewfinder-info {
    position: absolute;
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem;
    color: rgba(200, 169, 110, 0.35);
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }
  .hud-top-left { top: 12px; left: 16px; }
  .hud-top-right { top: 12px; right: 16px; display: flex; align-items: center; gap: 8px; }
  .hud-bottom-left { bottom: 12px; left: 16px; }
  .hud-bottom-right { bottom: 12px; right: 16px; }
  
  .hud-dot {
    width: 6px; height: 6px;
    background: rgba(230, 80, 80, 0.8);
    border-radius: 50%;
    display: inline-block;
    animation: blinkRed 1s infinite alternate;
    box-shadow: 0 0 4px rgba(230, 80, 80, 0.3);
  }
  @keyframes blinkRed {
    0% { opacity: 0.2; }
    100% { opacity: 1; }
  }

  @media (max-width: 768px) {
    .viewfinder-hud { inset: 1rem; }
    .viewfinder-corner { width: 16px; height: 16px; }
    .viewfinder-info { font-size: 0.45rem; }
  }

  /* CELLULOID FILM SPROCKETS ON EDGES */
  .film-edge {
    position: fixed;
    top: -40px;
    width: 24px;
    height: calc(100vh + 80px);
    z-index: 85;
    pointer-events: none;
    opacity: 0.15;
    background-image: 
      linear-gradient(to bottom, transparent 12px, var(--bg) 12px, var(--bg) 28px, transparent 28px),
      linear-gradient(to right, rgba(240, 235, 225, 0.2) 1px, transparent 1px, transparent 23px, rgba(240, 235, 225, 0.2) 23px);
    background-size: 24px 40px;
    background-color: rgba(240, 235, 225, 0.05);
    transition: opacity 0.3s;
    will-change: transform;
  }
  .film-edge-left { left: 1.5rem; border-right: 1px dashed rgba(240, 235, 225, 0.06); }
  .film-edge-right { right: 1.5rem; border-left: 1px dashed rgba(240, 235, 225, 0.06); }

  @media (max-width: 1024px) {
    .film-edge { display: none; }
  }

  /* NAV */
  nav {
    position: fixed;
    top: 1.5rem; left: 1.5rem; right: 1.5rem;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2.5rem;
    background: rgba(20, 20, 20, 0.8); /* Translucent dark slate background matching --bg */
    backdrop-filter: blur(16px);
    border: 1px solid rgba(200, 169, 110, 0.15); /* Gold-tinted translucent border for cohesive branding */
    border-radius: 9999px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6); /* High lift shadow */
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  }
  .nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #D4CEC9; /* High readability warm light gray */
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
  }
  .nav-links a:hover { color: var(--gold); } /* Golden hover matches theme */
  .nav-links a.active { color: var(--gold) !important; }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 1px;
    background-color: var(--gold);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .nav-links a:hover::after,
  .nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
  }

  /* HERO */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 3rem 5rem;
    position: relative;
    overflow: hidden;
  }
  .hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: auto auto 0 auto;
    padding-top: 8rem;
  }
  .hero-photo-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  .hero-photo-frame {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 3/4;
    border: 1px solid rgba(240, 235, 225, 0.06);
    padding: 10px;
    background: var(--surface);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease;
    overflow: hidden;
    will-change: transform;
  }
  .hero-photo-frame::before, .hero-photo-frame::after {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    border-color: var(--gold); border-style: solid;
    transition: all 0.3s ease;
  }
  .hero-photo-frame::before { top: 4px; left: 4px; border-width: 1px 0 0 1px; }
  .hero-photo-frame::after { bottom: 4px; right: 4px; border-width: 0 1px 1px 0; }
  
  .photo-corner-tr, .photo-corner-bl {
    position: absolute; width: 16px; height: 16px;
    border-color: var(--gold); border-style: solid;
    transition: all 0.3s ease;
  }
  .photo-corner-tr { top: 4px; right: 4px; border-width: 1px 1px 0 0; }
  .photo-corner-bl { bottom: 4px; left: 4px; border-width: 0 0 1px 1px; }
  
  .hero-photo-frame:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
  }
  .hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%) contrast(102%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
    will-change: transform;
  }
  .hero-photo-frame:hover .hero-photo {
    transform: scale(1.06);
    filter: grayscale(0%) contrast(100%) brightness(1.15);
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(200,169,110,0.06) 0%, transparent 60%);
  }
  .film-strip {
    position: absolute;
    top: 0; right: 8%;
    width: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0.06;
  }
  .film-hole {
    width: 20px; height: 14px;
    border: 1px solid var(--text);
    border-radius: 2px;
    margin: 6px auto;
    flex-shrink: 0;
  }
  .hero-eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
  }
  .hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
  }
  .hero-name em { font-style: italic; color: var(--gold); }
  .hero-bio {
    max-width: 540px;
    display: block;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    margin-top: 1.5rem;
  }
  .hero-bio-vi { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
  .hero-bio-en { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; font-style: italic; }
  .scroll-hint {
    position: absolute;
    bottom: 2rem; right: 3rem;
    display: flex; align-items: center; gap: 0.75rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem; letter-spacing: 0.2em;
    color: var(--text-muted); text-transform: uppercase;
  }
  .scroll-line {
    width: 40px; height: 1px;
    background: var(--text-muted);
    animation: scrollline 2s ease-in-out infinite;
  }
  @keyframes scrollline {
    0%, 100% { transform: scaleX(1); opacity: 0.4; }
    50% { transform: scaleX(0.4); opacity: 1; }
  }

  /* SECTION */
  section {
    padding: 6rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 6rem; /* Ensures smooth scroll landing isn't obscured by floating nav */
  }
  .section-header { display: flex; align-items: baseline; gap: 1.5rem; margin-bottom: 0.75rem; }
  .section-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem; letter-spacing: 0.25em;
    color: var(--gold); text-transform: uppercase;
  }
  .section-rule { flex: 1; height: 1px; background: var(--border); }
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300; line-height: 1; margin-bottom: 0.5rem;
  }
  .section-subtitle { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 3.5rem; font-style: italic; }

  /* PROJECT GRID */
  .project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); }
  .project-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }

  /* PROJECT CARD */
  .project-card {
    background: var(--surface);
    padding: 2rem;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: background 0.3s;
    cursor: pointer; /* Whole card is clickable to expand */
  }
  .project-card:hover { background: var(--surface-hover); }
  .project-card::before, .project-card::after {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    border-color: var(--gold); border-style: solid;
    opacity: 0; transition: opacity 0.3s;
  }
  .project-card::before { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
  .project-card::after { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }
  .project-card:hover::before, .project-card:hover::after { opacity: 1; }
  .card-corner-tr, .card-corner-bl {
    position: absolute; width: 16px; height: 16px;
    border-color: var(--gold); border-style: solid;
    opacity: 0; transition: opacity 0.3s;
  }
  .card-corner-tr { top: 12px; right: 12px; border-width: 1px 1px 0 0; }
  .card-corner-bl { bottom: 12px; left: 12px; border-width: 0 0 1px 1px; }
  .project-card:hover .card-corner-tr,
  .project-card:hover .card-corner-bl { opacity: 1; }

  /* IMAGE PLACEHOLDER */
  .card-image-placeholder {
    width: 100%;
    aspect-ratio: 16/9; /* Widescreen cinematic proportion */
    background: var(--surface-hover);
    border: 1px solid rgba(240,235,225,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
  }
  .card-image-placeholder img {
    position: absolute;
    width: 102%;
    height: 102%;
    top: -1%;
    left: -1%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
  }
  .project-card:hover .card-image-placeholder img {
    transform: scale(1.05);
  }

  /* CARD CONTENT */
  .card-status {
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem; letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    border: 1px solid;
    display: inline-block;
    margin-bottom: 1.25rem;
  }
  .status-completed { color: var(--gold); border-color: var(--gold); }
  .status-dev { color: var(--text-muted); border-color: rgba(122,117,112,0.4); }
  .card-type {
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem; letter-spacing: 0.15em;
    color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.5rem;
  }
  .card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem; font-weight: 300; line-height: 1.1; margin-bottom: 1.25rem;
  }
  .card-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 0.5rem; }
  .card-desc-en { font-size: 0.76rem; color: rgba(240,235,225,0.6); font-style: italic; line-height: 1.65; margin-bottom: 1.5rem; }

  /* CARD VIEW DETAILS TEXT LINK */
  .card-view-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    text-transform: uppercase;
    transition: opacity 0.3s ease;
  }
  .card-view-details-arrow {
    transition: transform 0.3s ease;
  }
  .project-card:hover .card-view-details-arrow {
    transform: translateX(4px);
  }

  /* EXPANDED CONTENT (Hidden in card layout, rendered dynamically in modal) */
  .card-expanded {
    display: none;
  }

  .expanded-section-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem; letter-spacing: 0.25em;
    color: var(--gold); text-transform: uppercase;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    display: flex; align-items: center; gap: 0.75rem;
  }
  .expanded-section-label:first-of-type {
    margin-top: 0;
  }
  .expanded-section-label::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
  }

  .expanded-text {
    font-size: 0.8rem; color: var(--text-muted); line-height: 1.75;
    margin-bottom: 1.5rem;
  }
  .expanded-text-en {
    font-size: 0.75rem; color: rgba(240,235,225,0.6);
    font-style: italic; line-height: 1.75; margin-bottom: 1.5rem;
  }

  .contribution-list { list-style: none; margin-bottom: 1.5rem; }
  .contribution-list li {
    font-size: 0.78rem; color: var(--text-muted);
    padding: 0.65rem 0 0.65rem 1.2rem;
    border-bottom: 1px solid var(--border);
    position: relative;
    line-height: 1.55;
  }
  .contribution-list li::before {
    content: '•'; color: var(--gold); position: absolute; left: 0; top: 0.65rem; font-size: 0.7rem;
  }
  .contribution-list li strong { color: var(--text); font-weight: 400; display: inline; }

  .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    margin-bottom: 1.5rem;
  }
  .img-placeholder {
    background: var(--surface-hover);
    aspect-ratio: 16/9;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    border: 1px solid rgba(240,235,225,0.06);
    overflow: hidden;
  }
  .img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .img-placeholder:hover img {
    transform: scale(1.08);
  }

  .card-link-row {
    display: flex; gap: 1rem; flex-wrap: wrap;
    padding-top: 1rem; border-top: 1px solid var(--border);
  }
  .card-ext-link {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem; letter-spacing: 0.12em;
    color: var(--gold); text-transform: uppercase;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.65rem 1.25rem;
    border: 1px solid rgba(200, 169, 110, 0.35);
    background: rgba(10, 10, 10, 0.4);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    font-weight: 500;
  }
  .card-ext-link:hover {
    background: var(--gold);
    color: #0A0A0A;
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(200, 169, 110, 0.25);
    transform: translateY(-2px);
  }

  /* FEATURED CARD */
  .card-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .card-achievement {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem; font-weight: 300; color: var(--gold);
    line-height: 1.2; margin-bottom: 1.25rem;
  }
  .card-achievement-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem; letter-spacing: 0.2em;
    color: var(--text-muted); text-transform: uppercase; margin-bottom: 2rem;
    line-height: 1.5;
  }

  /* SKILLS */
  .skills-section {
    padding: 6rem 3rem;
    border-top: 1px solid var(--border);
    scroll-margin-top: 6rem;
  }
  .skills-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--border);
    max-width: 1200px; margin: 0 auto;
  }
  .skill-item { background: var(--surface); padding: 2rem; }
  .skill-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem; font-weight: 300; color: var(--gold);
    opacity: 0.3; line-height: 1; margin-bottom: 1rem;
  }
  .skill-name-vi { font-size: 0.85rem; font-weight: 400; margin-bottom: 0.2rem; line-height: 1.4; }
  .skill-name-en {
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem; letter-spacing: 0.15em;
    color: var(--gold); text-transform: uppercase; margin-bottom: 0.75rem;
  }
  .skill-desc { font-size: 0.75rem; color: var(--text-muted); line-height: 1.6; }

  /* CONTACT */
  .contact-section {
    padding: 8rem 3rem; max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 6rem; align-items: center;
    border-top: none;
    scroll-margin-top: 6rem;
  }
  /* CINEMATIC SPACER */
  .cinematic-spacer {
    height: 18rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--gold);
    opacity: 0.6;
    border-top: 1px solid var(--border);
    margin-top: 6rem;
  }
  @media (max-width: 768px) {
    .cinematic-spacer {
      height: 10rem;
      font-size: 0.6rem;
      margin-top: 3rem;
    }
  }
  .contact-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 300;
    line-height: 1; margin-bottom: 1.5rem;
  }
  .contact-heading em { font-style: italic; color: var(--gold); }
  .contact-sub { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 0.5rem; }
  .contact-sub-en { font-size: 0.78rem; color: rgba(240,235,225,0.6); font-style: italic; line-height: 1.7; }
  .contact-links { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
  .contact-link {
    position: relative;
    background: var(--surface); padding: 1.25rem 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    text-decoration: none; color: inherit;
    transition: background 0.3s, box-shadow 0.3s;
  }
  .contact-link-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem; letter-spacing: 0.2em;
    color: var(--text-muted); text-transform: uppercase;
  }
  .contact-link-value { font-size: 0.82rem; color: var(--text); transition: color 0.3s; }
  .contact-link-arrow {
    color: var(--gold);
    font-size: 1rem;
    transition: transform 0.3s ease;
  }
  .contact-link:hover .contact-link-arrow {
    transform: translateX(6px);
  }

  /* HOVER GLOW STATE FOR ALL CONTACT LINKS */
  .contact-link:hover {
    background: rgba(200, 169, 110, 0.04);
    box-shadow: inset 0 0 0 1px rgba(200, 169, 110, 0.25);
    z-index: 2;
  }
  .contact-link:hover .contact-link-value {
    color: var(--gold);
    font-weight: 500;
    text-shadow: 0 0 10px rgba(200, 169, 110, 0.15);
  }
  .footer-tel {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.25rem;
    transition: color 0.3s, text-shadow 0.3s;
  }
  .footer-tel:hover {
    color: var(--text);
    text-shadow: 0 0 8px rgba(240, 235, 225, 0.3);
  }

  /* FOOTER */
  footer {
    padding: 2rem 3rem;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer-copy {
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem; letter-spacing: 0.15em;
    color: var(--text-muted); text-transform: uppercase;
  }
  .footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem; font-style: italic; color: var(--text-muted);
  }

  /* ANIMATIONS */
  .fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .fade-up.visible { opacity: 1; transform: translateY(0); }

  /* RESPONSIVE */
  @media (max-width: 1024px) {
    .project-grid-3 { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 768px) {
    nav { top: 1rem; left: 1rem; right: 1rem; padding: 0.8rem 1.5rem; }
    .nav-links { display: none; }
    .hero { padding: 0 1.5rem 4rem; }
    .hero-container { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 6rem; margin-bottom: 2rem; }
    .hero-photo-wrapper { justify-content: center; order: -1; }
    .hero-photo-frame { max-width: 280px; }
    .hero-bio { display: block; }
    section { padding: 4rem 1.5rem; scroll-margin-top: 4.5rem; }
    .project-grid { grid-template-columns: 1fr; }
    .project-grid-3 { grid-template-columns: 1fr; }
    .card-featured { grid-column: span 1; grid-template-columns: 1fr; gap: 2rem; }
    .image-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .skills-section { padding: 4rem 1.5rem; scroll-margin-top: 4.5rem; }
    .contact-section { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; scroll-margin-top: 4.5rem; }
    footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 1.5rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    .fade-up { opacity: 1; transform: none; transition: none; }
    .scroll-line { animation: none; }
  }

  /* CUSTOM SCROLLBARS FOR MAIN WINDOW & ALL SCROLLABLE ELEMENTS */
  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  .modal-scroll-wrapper::-webkit-scrollbar,
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  html::-webkit-scrollbar-track,
  body::-webkit-scrollbar-track,
  .modal-scroll-wrapper::-webkit-scrollbar-track,
  ::-webkit-scrollbar-track {
    background: #0A0A0A;
  }
  html::-webkit-scrollbar-thumb,
  body::-webkit-scrollbar-thumb,
  .modal-scroll-wrapper::-webkit-scrollbar-thumb,
  ::-webkit-scrollbar-thumb {
    background: rgba(200, 169, 110, 0.35);
    border: 1px solid rgba(240, 235, 225, 0.08);
    border-radius: 9999px;
  }
  html::-webkit-scrollbar-thumb:hover,
  body::-webkit-scrollbar-thumb:hover,
  .modal-scroll-wrapper::-webkit-scrollbar-thumb:hover,
  ::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
    border-color: rgba(240, 235, 225, 0.15);
  }
  html, body, .modal-scroll-wrapper, * {
    scrollbar-width: thin;
    scrollbar-color: rgba(200, 169, 110, 0.35) #0A0A0A;
  }

  /* DYNAMIC CARD GLOW LAYER */
  .card-glow-layer {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 240px at var(--x, 50%) var(--y, 50%), rgba(200, 169, 110, 0.04) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
  }
  .project-card:hover .card-glow-layer {
    opacity: 1;
  }

  /* LANGUAGE SWITCHER LOGIC & ANIMATION */
  body.lang-en .lang-vi {
    display: none !important;
  }
  body:not(.lang-en) .lang-en {
    display: none !important;
  }
  
  body.lang-en .lang-en {
    animation: langFadeIn 0.35s ease-out forwards;
  }
  body:not(.lang-en) .lang-vi {
    animation: langFadeIn 0.35s ease-out forwards;
  }

  @keyframes langFadeIn {
    0% { opacity: 0; transform: translateY(2px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  .lang-switch-btn {
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(240, 235, 225, 0.08);
    color: var(--text-muted);
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    padding: 2px;
    border-radius: 9999px;
    width: 70px;
    height: 28px;
    transition: all 0.3s ease;
  }
  .lang-switch-btn:hover {
    border-color: rgba(200, 169, 110, 0.3);
  }
  .lang-switch-pill {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 31px;
    height: 22px;
    background: var(--gold);
    border-radius: 9999px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
  }
  body.lang-en .lang-switch-pill {
    transform: translateX(33px);
  }
  .lang-switch-label {
    flex: 1;
    text-align: center;
    z-index: 2;
    transition: color 0.3s ease;
    font-weight: 500;
  }
  body.lang-en .lang-switch-label.lang-btn-en {
    color: #0A0A0A;
  }
  body.lang-en .lang-switch-label.lang-btn-vi {
    color: var(--text-muted);
  }
  body:not(.lang-en) .lang-switch-label.lang-btn-vi {
    color: #0A0A0A;
  }
  body:not(.lang-en) .lang-switch-label.lang-btn-en {
    color: var(--text-muted);
  }

  /* SCROLL PROGRESS BAR */
  .scroll-progress {
    position: fixed;
    top: 0; left: 0; height: 3px;
    background: var(--gold);
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    z-index: 1001;
    will-change: transform;
  }

  /* MODAL SYSTEM & LOCKING SCROLL STATE */
  body.modal-open {
    overflow: hidden;
  }
  body.modal-open .spotlight-drift-gold,
  body.modal-open .spotlight-drift-blue,
  body.modal-open .spotlight-drift-burgundy,
  body.modal-open .cinematic-celluloid-inner {
    animation-play-state: paused !important;
  }

  /* MODAL SYSTEM */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    overflow: hidden;
  }
  .modal-scroll-wrapper {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  .modal-overlay.active {
    opacity: 1;
    pointer-events: all;
  }
  .modal-container {
    background: var(--surface);
    border: 1px solid rgba(240, 235, 225, 0.08);
    width: 100%;
    max-width: 800px;
    height: auto;
    max-height: none;
    overflow: visible;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 3rem;
    margin: 2rem auto;
  }
  .modal-container::before, .modal-container::after {
    content: '';
    position: absolute;
    width: 24px; height: 24px;
    border-color: var(--gold); border-style: solid;
  }
  .modal-container::before { top: 16px; left: 16px; border-width: 1px 0 0 1px; }
  .modal-container::after { bottom: 16px; right: 16px; border-width: 0 1px 1px 0; }
  
  .modal-corner-tr, .modal-corner-bl {
    position: absolute; width: 24px; height: 24px;
    border-color: var(--gold); border-style: solid;
  }
  .modal-corner-tr { top: 16px; right: 16px; border-width: 1px 1px 0 0; }
  .modal-corner-bl { bottom: 16px; left: 16px; border-width: 0 0 1px 1px; }
  
  .modal-overlay.active .modal-container {
    transform: translateY(0);
  }
  .modal-close-btn {
    position: fixed;
    top: 2rem; right: 2rem;
    background: rgba(30, 30, 32, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(240, 235, 225, 0.1);
    color: var(--text-muted);
    font-size: 2rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
    z-index: 1010;
    line-height: 1;
    padding-bottom: 4px;
  }
  .modal-close-btn:hover {
    background: var(--gold);
    color: #0A0A0A;
    border-color: var(--gold);
  }
  .modal-header-info {
    margin-bottom: 2rem;
  }
  .modal-hero-image-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
    border: 1px solid rgba(240, 235, 225, 0.06);
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.2);
  }
  .modal-hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    cursor: zoom-in;
  }
  .modal-body-content {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.75;
  }
  .modal-body-content .expanded-inner {
    padding-top: 0;
  }

  /* MODAL TABS SYSTEM */
  .modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
    gap: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .modal-tabs::-webkit-scrollbar {
    display: none;
  }
  .modal-tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  .modal-tab-btn:hover {
    color: var(--text);
  }
  .modal-tab-btn.active {
    color: var(--gold);
    border-color: var(--gold);
  }
  .modal-tab-pane {
    display: none;
    animation: tabFadeIn 0.4s ease forwards;
  }
  .modal-tab-pane.active {
    display: block;
  }
  @keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* MODAL NAVIGATION SYSTEM */
  .modal-nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 30, 32, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(240, 235, 225, 0.1);
    color: var(--text-muted);
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1010;
  }
  .modal-nav-btn:hover {
    background: var(--gold);
    color: #0A0A0A;
    border-color: var(--gold);
  }
  .modal-nav-btn:hover.prev-btn {
    transform: translateY(-50%) translateX(-4px);
  }
  .modal-nav-btn:hover.next-btn {
    transform: translateY(-50%) translateX(4px);
  }
  .prev-btn { left: 2rem; }
  .next-btn { right: 2rem; }

  /* Modal Footer Navigation (Mobile-first inline controls) */
  .modal-nav-footer {
    display: none;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
  }
  .modal-nav-footer-btn {
    background: rgba(10, 10, 10, 0.3);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
  }
  .modal-nav-footer-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(200, 169, 110, 0.05);
  }

  .modal-two-columns {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 3.5rem;
    margin-top: 2rem;
  }
  .modal-main-column {
    min-width: 0;
  }
  .modal-sidebar-column {
    min-width: 0;
  }
  @media (min-width: 769px) {
    .modal-sidebar-sticky {
      position: sticky;
      top: 5.5rem;
      max-height: calc(100vh - 8rem);
      overflow-y: auto;
      scrollbar-width: none;
    }
    .modal-sidebar-sticky::-webkit-scrollbar {
      display: none;
    }
  }

  @media (max-width: 768px) {
    .modal-two-columns {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    .modal-sidebar-column {
      order: 2;
    }
    .modal-nav-btn {
      display: none !important;
    }
    .modal-nav-footer {
      display: flex !important;
    }
  }

  /* MOBILE NAVIGATION */
  .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 0;
  }
  .hamburger-bar {
    width: 100%;
    height: 1.5px;
    background-color: #D4CEC9;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
  }
  .nav-active .hamburger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-active .hamburger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  
  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  .mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
  }
  .mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }
  .mobile-menu-links a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: #D4CEC9;
    text-decoration: none;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
  }
  .mobile-menu-links a:hover {
    color: var(--gold);
    letter-spacing: 0.05em;
  }

  /* CINEMATIC LIGHTBOX */
  .lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
  }
  .lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border: 1px solid rgba(240, 235, 225, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .lightbox-overlay.active .lightbox-image {
    transform: scale(1);
    cursor: zoom-out;
  }
  .lightbox-close-btn {
    position: absolute;
    top: 2rem; right: 2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
  }
  .lightbox-close-btn:hover {
    color: var(--gold);
  }

  .case-study-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: 1.5rem;
    cursor: zoom-in;
    transition: border-color 0.3s ease;
  }
  .case-study-img:hover {
    border-color: rgba(200, 169, 110, 0.3);
  }

  .case-study-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  @media (max-width: 768px) {
    .case-study-grid {
      grid-template-columns: 1fr;
    }
  }

  /* SKILLS SERVICE TABS ADJUSTMENTS */
  .skill-title { font-size: 0.85rem; font-weight: 400; margin-bottom: 0.2rem; line-height: 1.4; }
  .skill-subtitle-mono {
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem; letter-spacing: 0.15em;
    color: var(--gold); text-transform: uppercase; margin-bottom: 0.75rem;
  }
  body.lang-en .skill-title {
    margin-bottom: 0.75rem;
  }

  /* AUTEUR DNA SECTION STYLING */
  .dna-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
  }
  .dna-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .dna-pillar {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
  }
  .dna-pillar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 3px; height: 100%;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .dna-pillar:hover, .dna-pillar.active {
    background: var(--surface-hover);
    border-color: rgba(200, 169, 110, 0.2);
    transform: translateX(8px);
  }
  .dna-pillar:hover::before, .dna-pillar.active::before {
    transform: scaleY(1);
    transform-origin: top;
  }
  .dna-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.3s ease;
  }
  .dna-pillar:hover .dna-num, .dna-pillar.active .dna-num {
    opacity: 1;
  }
  .dna-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  .dna-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text);
  }
  .dna-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
  }
  .dna-quote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--gold);
    border-left: 1px solid var(--gold);
    padding-left: 0.75rem;
    margin-top: 0.25rem;
    line-height: 1.4;
  }
  
  .dna-viewscreen {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .dna-screen-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid rgba(240, 235, 225, 0.08);
    padding: 8px;
  }
  .dna-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .dna-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .dna-img.active {
    opacity: 0.75;
    transform: scale(1);
    z-index: 1;
  }
  .dna-overlay-shutter {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
  }
  .dna-indicator-box {
    position: absolute;
    bottom: 16px; left: 16px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    color: var(--gold);
  }
  .dna-indicator-dot {
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    display: inline-block;
    animation: pulseGlow 1.5s infinite alternate;
  }
  @keyframes pulseGlow {
    0% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 8px var(--gold); }
  }

  /* SCRIPT-TO-SCREEN SPLIT VIEWER STYLING */
  .script-screen-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: stretch;
  }
  .script-side {
    background: #080808;
    border: 1px solid var(--border);
    padding: 1.5rem;
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #E2DDD5;
    max-height: 380px;
    overflow-y: auto;
    border-radius: 4px;
    box-shadow: inset 0 4px 12px rgba(0,0,0,0.5);
  }
  .screen-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
  }
  .screen-side img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border: 1px solid rgba(240, 235, 225, 0.08);
    cursor: zoom-in;
    transition: transform 0.3s ease, border-color 0.3s ease;
  }
  .screen-side img:hover {
    transform: scale(1.02);
    border-color: var(--gold);
  }
  .screen-caption {
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
  }
  .slugline {
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: var(--gold);
  }
  .action {
    margin-bottom: 0.75rem;
  }
  .dialogue-block {
    margin: 0 auto 0.75rem auto;
    width: 85%;
  }
  .character {
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0.1rem;
    font-weight: bold;
    color: var(--text);
    letter-spacing: 0.05em;
  }
  .parenthetical {
    text-align: center;
    font-style: italic;
    margin-bottom: 0.1rem;
    opacity: 0.8;
  }
  .dialogue {
    text-align: left;
    padding-left: 8%;
    padding-right: 8%;
  }

  /* SOUND TOGGLE BUTTON STYLING */
  .sound-toggle-btn {
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(240, 235, 225, 0.08);
    color: var(--text-muted);
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 12px;
    border-radius: 9999px;
    height: 28px;
    transition: all 0.3s ease;
  }
  .sound-toggle-btn:hover, .sound-toggle-btn.playing {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(200, 169, 110, 0.05);
  }
  .sound-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 12px;
    position: relative;
  }
  .sound-icon-waves {
    display: none;
    align-items: flex-end;
    justify-content: space-between;
    width: 12px;
    height: 10px;
  }
  .sound-wave-bar {
    width: 2px;
    background-color: var(--gold);
    border-radius: 1px;
    animation: soundWavePlay 1.2s ease-in-out infinite alternate;
  }
  .sound-wave-bar.bar-1 { height: 30%; animation-delay: 0.1s; }
  .sound-wave-bar.bar-2 { height: 100%; animation-delay: 0.3s; }
  .sound-wave-bar.bar-3 { height: 60%; animation-delay: 0.5s; }
  @keyframes soundWavePlay {
    0% { height: 20%; }
    100% { height: 100%; }
  }

  @media (max-width: 768px) {
    .dna-container {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }
    .dna-viewscreen {
      order: -1;
    }
    .script-screen-split {
      grid-template-columns: 1fr;
      gap: 1.25rem;
    }
    .script-side {
      max-height: 280px;
    }
  }

  @media (max-width: 768px) {
    .mobile-menu-toggle {
      display: flex;
    }
  }

  /* INTERACTIVE SCRIPT-TO-SCREEN SYNC & CV BUTTONS */
  .script-segment {
    padding: 0.75rem 1rem;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0.45;
    margin-bottom: 0.5rem;
  }
  .script-segment:hover, .script-segment.active {
    opacity: 1;
    border-left-color: var(--gold);
    background: rgba(200, 169, 110, 0.04);
  }
  .screen-side img {
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .screen-side img.fade-out {
    opacity: 0.2;
    transform: scale(0.97);
  }
  
  .nav-pdf-btn {
    background: none;
    border: 1px solid rgba(240, 235, 225, 0.15);
    color: var(--gold);
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    height: 28px;
    padding: 0 12px;
    transition: all 0.3s ease;
  }
  .nav-pdf-btn:hover {
    border-color: var(--gold);
    background: rgba(200, 169, 110, 0.05);
    box-shadow: 0 0 10px rgba(200, 169, 110, 0.15);
  }

  /* JOURNEY TIMELINE */
  .journey-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0 auto;
    padding-left: 2.5rem;
    border-left: 1px solid var(--border);
  }
  .timeline-item {
    display: grid;
    grid-template-columns: 0.3fr 0.7fr;
    gap: 3rem;
    position: relative;
  }
  .timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-2.5rem - 5px);
    top: 6px;
    width: 9px;
    height: 9px;
    background: var(--surface);
    border: 1px solid var(--gold);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
  }
  .timeline-item:hover::before {
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
    transform: scale(1.3);
  }
  .timeline-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }
  .timeline-date {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 0.05em;
  }
  .timeline-org {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
  }
  .timeline-role {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }
  .timeline-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
  }
  .timeline-desc strong {
    color: var(--text);
    font-weight: 400;
  }
  @media (max-width: 768px) {
    .timeline-item {
      grid-template-columns: 1fr;
      gap: 0.5rem;
    }
    .journey-timeline {
      padding-left: 1.5rem;
      gap: 2.5rem;
    }
    .timeline-item::before {
      left: calc(-1.5rem - 5px);
    }
  }

  /* CONTACT SCRIPT DRAFT BACKGROUND TEXTURE */
  .contact-section {
    position: relative;
    overflow: hidden;
  }
  .contact-script-texture {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
  }
  .contact-script-page {
    width: 42%;
    height: 90%;
    border: 1px solid var(--text-muted);
    padding: 1.5rem;
    font-family: 'Courier Prime', monospace;
    font-size: 0.65rem;
    line-height: 1.5;
    color: var(--text-muted);
    background: rgba(10, 10, 10, 0.3);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 2px;
  }
  .contact-script-page.page-left {
    transform: rotate(-3deg) translateY(-10px);
  }
  .contact-script-page.page-right {
    transform: rotate(3deg) translateY(10px);
  }
  .contact-script-note {
    position: absolute;
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    color: var(--gold);
    transform: rotate(-10deg);
  }
  @media (max-width: 900px) {
    .contact-script-texture {
      padding: 1rem;
    }
    .contact-script-page {
      width: 45%;
      font-size: 0.55rem;
      padding: 1rem;
    }
  }
  @media (max-width: 768px) {
    .contact-script-texture {
      flex-direction: column;
      gap: 2rem;
      padding: 3rem 1rem;
    }
    .contact-script-page {
      width: 90%;
      height: 45%;
    }
  }

  /* Section Header Act secondary line styles */
  .section-header {
    align-items: flex-start !important;
  }
  .section-label {
    display: flex;
    flex-direction: column;
  }
  .section-sub-label {
    font-family: 'Courier Prime', monospace;
    font-style: italic;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: 0.05em;
    margin-top: 0.3rem;
    font-weight: normal;
  }

  
  /* Cinematic text reveal and entrance effects */
  @keyframes heroEntrance {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes trackingIn {
    from {
      opacity: 0;
      letter-spacing: -0.15em;
      filter: blur(4px);
    }
    to {
      opacity: 1;
      letter-spacing: 0.25em;
      filter: blur(0);
    }
  }

  .hero-eyebrow {
    opacity: 0;
    animation: trackingIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  }

  .hero-name {
    opacity: 0;
    animation: heroEntrance 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
  }

  .hero-bio-vi, .hero-bio-en {
    opacity: 0;
    animation: heroEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
  }

  /* Target specific hero content children to override default IntersectionObserver fade-up delay */
  .hero-content .hero-credibility {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    animation: heroRevealOverride 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards !important;
    transition: none !important;
  }

  .hero-content .hero-actions {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    animation: heroRevealOverride 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards !important;
    transition: none !important;
  }

  @keyframes heroRevealOverride {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-photo-frame {
    opacity: 0;
    animation: heroEntrance 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
  }

  /* Nav link hover underline animation handled in the main nav block */

  /* Typewriter Countdown Preloader */
  #preloader {
    position: fixed;
    inset: 0;
    background: #020203;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Space Mono', monospace;
    flex-direction: column;
  }
  .preloader-countdown {
    font-size: 7rem;
    font-weight: bold;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 25px rgba(200, 169, 110, 0.5);
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .clapperboard-svg {
    width: 240px;
    height: 240px;
    display: block;
    margin: 0 auto;
    overflow: visible;
  }
  .clapperboard-svg .clapper-top {
    transform-origin: 10% 36%;
    transform: rotate(-30deg);
    animation: clapper-snap 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }
  @keyframes clapper-snap {
    0% {
      transform: rotate(-30deg);
    }
    30% {
      transform: rotate(0deg);
    }
    40% {
      transform: rotate(-8deg);
    }
    50% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(0deg);
    }
  }
  .preloader-status {
    font-size: 1.15rem;
    color: var(--text-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.6;
    max-width: 90%;
    padding: 0 1rem;
    transition: color 0.3s ease, font-size 0.3s ease;
  }

  /* Responsive adjustments for mobile screens */
  @media (max-width: 768px) {
    .preloader-countdown {
      font-size: 5.5rem;
      min-height: 200px;
      margin-bottom: 1rem;
    }
    .clapperboard-svg {
      width: 180px;
      height: 180px;
    }
    .preloader-status {
      font-size: 0.95rem;
      letter-spacing: 0.12em;
    }
  }
  .preloader-skip {
    margin-top: 2.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid rgba(240, 235, 225, 0.15);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
  }
  .preloader-skip:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(200, 169, 110, 0.05);
    box-shadow: 0 0 15px rgba(200, 169, 110, 0.15);
  }
  .preloader-skip.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  @media (max-width: 768px) {
    .preloader-skip {
      margin-top: 2rem;
      font-size: 0.7rem;
      padding: 0.4rem 1rem;
    }
  }