/* =============================================
   PORTFOLIO — styles.css
   Design: Black · Chrome · Silver — metallic
   Fonts: Syne (headings) + Inter (body)
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --bg:           #000000;
  --bg-2:         #0a0a0a;
  --bg-card:      #101010;
  --bg-glass:     rgba(255,255,255,0.03);
  --border:       rgba(190,190,190,0.12);
  --border-hover: rgba(210,210,210,0.28);

  /* Chrome / Silver palette */
  --chrome-bright: #f0f0f0;
  --chrome-light:  #c8c8c8;
  --chrome-mid:    #909090;
  --chrome-dark:   #585858;
  --chrome-deep:   #303030;

  /* Metallic gradient — used on primary buttons, badges, accents */
  --metallic: linear-gradient(
    135deg,
    #efefef 0%,
    #a8a8a8 28%,
    #d8d8d8 50%,
    #6e6e6e 72%,
    #c0c0c0 100%
  );

  --accent-1:     #c0c0c0;   /* silver */
  --accent-2:     #888888;   /* chrome */
  --accent-3:     #e8e8e8;   /* bright silver */

  --text:         #f2f2f2;
  --text-muted:   #848484;
  --text-dim:     #404040;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);

  --max-width:    1200px;
  --nav-h:        72px;

  /* Metallic card shadow system */
  --card-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 8px 32px rgba(0,0,0,0.7),
    0 1px 0 rgba(0,0,0,0.5);
  --card-shadow-hover:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 20px 50px rgba(0,0,0,0.85),
    0 0 0 1px rgba(200,200,200,0.12);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grain / film noise overlay — adds depth to negative background space */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.042;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  mix-blend-mode: screen;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--chrome-light), var(--chrome-dark));
  border-radius: 3px;
}

/* ---- Utility ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Metallic text gradient */
.gradient-text {
  background: var(--metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent { color: var(--chrome-light); }

.tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid rgba(160,160,160,0.2);
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.03);
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 900;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(160,160,160,0.1);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--chrome-bright);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--chrome-bright); }
.nav__cta {
  padding: 9px 26px;
  border-radius: 3px;
  font-weight: 600 !important;
  color: #000 !important;
  background: var(--metallic);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    0 4px 16px rgba(0,0,0,0.5);
  transition: opacity var(--transition), transform var(--transition) !important;
}
.nav__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--chrome-light);
  border-radius: 2px;
  transition: var(--transition);
}

/* Nav contact detail links */
.nav__contact-detail a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav__contact-detail a:hover { color: var(--chrome-light); }
.nav__contact-detail i { font-size: 0.72rem; color: var(--chrome-dark); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  overflow: hidden;
}


.hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-light);
  margin-bottom: 20px;
}
.hero__eyebrow::before {
  content: '—';
  color: var(--chrome-dark);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1;
}

/* Name + banner-image block */
.hero__name-block {
  position: relative;
  margin-bottom: 48px;
  /* isolate stacking context */
  isolation: isolate;
}

/* 5-image strip — bleeds full viewport width, anchored to bottom half of name */
.hero__name-strip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 0;             /* full height of name block */
  bottom: -28px;      /* slight bleed — bio still lands on black due to 48px margin */
  display: flex;
  gap: 3px;
  overflow: hidden;
  border-radius: 0;   /* full-bleed — no radius */
  z-index: 0;
  pointer-events: none;
}
/* Dark scrim so name text remains legible */
.hero__name-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
  pointer-events: none;
}

.hero__strip-img {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.hero__strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.hero__name-block:hover .hero__strip-img img {
  transform: scale(1.05);
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 2;
  background:
    /* Layer 1: the travelling shine streak */
    linear-gradient(
      90deg,
      transparent   0%,
      transparent  44%,
      rgba(255,255,255,0.0) 47%,
      rgba(255,255,255,0.95) 50%,
      rgba(255,255,255,0.55) 52%,
      rgba(255,255,255,0.0) 55%,
      transparent  58%,
      transparent 100%
    ) no-repeat,
    /* Layer 2: static deep-chrome base */
    linear-gradient(
      180deg,
      #ffffff   0%,
      #e8e8e8  10%,
      #f8f8f8  22%,
      #b0b0b0  38%,
      #ffffff  50%,
      #c8c8c8  62%,
      #787878  75%,
      #d4d4d4  88%,
      #f0f0f0 100%
    );
  background-size: 300% 100%, 100% 100%;
  background-position: 85% center, 0 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Perspective tilt kept for 3D depth */
  transform: perspective(600px) rotateX(2deg);
  animation: metalShine 5s ease-in-out infinite;
}

@keyframes metalShine {
  0%   { background-position: 85% center, 0 0; }  /* shine just off left edge */
  40%  { background-position: 15% center, 0 0; }  /* shine just off right edge */
  99%  { background-position: 15% center, 0 0; }  /* hold — no shine visible */
  100% { background-position: 85% center, 0 0; }  /* instant reset, off-screen */
}

/* Ticker — replaces typewriter */
.hero__ticker {
  width: 100%;
  overflow: hidden;
  padding: 8px 0;
  margin-bottom: 28px;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.hero__ticker-track {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: tickerScroll 70s linear infinite;
  width: max-content;
}
.hero__ticker-track span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-dark);
}
.hero__ticker-sep {
  color: var(--text-dim) !important;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero__bio {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  z-index: 2;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--chrome-light), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.1%{ transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 42px;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

/* Primary = polished chrome */
.btn--primary {
  background: var(--metallic);
  color: #000;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 6px 24px rgba(0,0,0,0.55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    0 12px 36px rgba(0,0,0,0.7);
  filter: brightness(1.06);
}

/* Ghost = brushed-metal border */
.btn--ghost {
  border: 1px solid rgba(180,180,180,0.25);
  color: var(--chrome-light);
  background: rgba(255,255,255,0.03);
}
.btn--ghost:hover {
  border-color: rgba(220,220,220,0.5);
  background: rgba(255,255,255,0.06);
  color: var(--chrome-bright);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 4px 16px rgba(0,0,0,0.4);
}
.btn--large {
  padding: 16px 40px;
  font-size: 1rem;
}

/* =============================================
   SECTION SHARED
   ============================================= */
.section {
  padding: 100px 0;
}
.section__eyebrow {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #f8f8f8 0%, #989898 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ---- Hero meta (location + availability) ---- */
.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.hero__location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--chrome-mid);
}
.hero__location i { color: var(--chrome-light); font-size: 0.78rem; }
.hero__meta-divider {
  width: 1px; height: 14px;
  background: var(--chrome-deep);
}
.hero__avail {
  color: var(--text-dim);
}

/* =============================================
   BRANDS STRIP
   ============================================= */
.brands-strip {
  padding: 28px 0 36px;
  border-top: 1px solid rgba(160,160,160,0.06);
  border-bottom: 1px solid rgba(160,160,160,0.06);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
/* Liquid metal shimmer bar at top */
.brands-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(200,200,200,0.1) 20%,
    rgba(240,240,240,0.4) 50%,
    rgba(200,200,200,0.1) 80%, transparent 100%);
}
.brands-strip .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.brands-strip__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  flex-shrink: 0;
}
.brands-strip__logos {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}
.brand-logo {
  flex: 1 1 120px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  transition: opacity var(--transition);
}
.brand-logo:hover {
  opacity: 0.65;
}
.brand-logo img {
  width: 100%;
  max-width: 140px;
  max-height: 52px;
  height: auto;
  object-fit: contain;
  filter: none;
  display: block;
  transition: transform var(--transition);
}
.brand-logo:hover img { transform: scale(1.03); }
.brand-logo .logo-placeholder {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   SKILLS
   ============================================= */
.skills { background: var(--bg-2); }

/* Two-column: heading left, atom right */
.skills__layout {
  display: grid;
  grid-template-columns: 1fr 520px;
  align-items: center;
  gap: 0;
}

.skills__heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 16px;
}

.skills__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--chrome-bright);
}

/* ---- Atom ---- */
.atom-wrap {
  display: flex;
  justify-content: flex-end;
  padding: 16px 0 52px;
}

.atom {
  position: relative;
  width: 520px;
  height: 520px;
  flex-shrink: 0;
}

.atom__nucleus {
  position: absolute;
  width: 48px;
  height: 48px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 36%, rgba(240,240,240,0.16) 0%, rgba(60,60,60,0.06) 100%);
  border: 1px solid rgba(200,200,200,0.28);
  box-shadow:
    0 0 0 8px rgba(200,200,200,0.04),
    0 0 0 16px rgba(200,200,200,0.02),
    0 0 28px rgba(200,200,200,0.1);
  animation: nucleus-pulse 3.5s ease-in-out infinite;
}
.atom__nucleus::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.12) 0%, transparent 65%);
}

@keyframes nucleus-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 8px rgba(200,200,200,0.04),
      0 0 0 16px rgba(200,200,200,0.02),
      0 0 28px rgba(200,200,200,0.08);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(200,200,200,0.07),
      0 0 0 20px rgba(200,200,200,0.035),
      0 0 44px rgba(200,200,200,0.16);
  }
}

.atom__ring {
  position: absolute;
  width: 424px;
  height: 130px;
  top: 50%; left: 50%;
  margin-top: -65px;
  margin-left: -212px;
  border-radius: 50%;
  border: 1px solid rgba(200,200,200,0.1);
}
.atom__ring--1 { transform: rotate(-32deg); }
.atom__ring--2 { transform: rotate(28deg);  border-color: rgba(200,200,200,0.08); }
.atom__ring--3 { transform: rotate(90deg);  border-color: rgba(200,200,200,0.07); }

/* Labels injected by JS */
.atom__label {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--chrome-light);
  white-space: nowrap;
  pointer-events: none;
  will-change: transform, opacity;
  text-shadow:
    0 0 10px rgba(0,0,0,1),
    0 0 20px rgba(0,0,0,0.95),
    0 0 4px rgba(0,0,0,1);
}

/* ---- CTA ---- */
.skills__cta {
  display: flex;
  justify-content: center;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .skills__layout {
    grid-template-columns: 1fr;
  }
  .atom-wrap {
    justify-content: center;
  }
}
@media (max-width: 580px) {
  .atom-wrap {
    transform: scale(0.56);
    transform-origin: top center;
    margin-bottom: -228px;
    padding-bottom: 0;
  }
}

/* =============================================
   HIGHLIGHTS
   ============================================= */
.highlights {
  background: var(--bg);
  overflow: hidden;
}

.hl-block {
  margin-bottom: 120px;
  position: relative;
}
.hl-block:last-child { margin-bottom: 0; }

/* ---- Two-column layout helpers ---- */
.hl-block--video-hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: center;
}
/* Nudge video container left within its column */
.hl-block--video-hero .hl-video-carousel {
  justify-self: start;
  width: 100%;
  max-width: 300px;
}
.hl-block--carousel {
  display: grid;
  grid-template-columns: 540px 1fr;
  gap: 72px;
  align-items: center;
}
.hl-block--infographic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.hl-block__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hl-block__body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 400px;
}

/* Section title — in hl-block side context */
.hl-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  pointer-events: none;
  user-select: none;
  color: var(--chrome-bright);
}
/* Bleed variant kept for any future use */
.hl-title--bleed {
  font-size: clamp(5rem, 14vw, 10rem);
  position: relative;
  z-index: 2;
  margin-bottom: -0.55em;
  margin-left: -0.02em;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.12) 0%,
    rgba(200,200,200,0.07) 50%,
    rgba(100,100,100,0.04) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Hero Video — TikTok 9:16 portrait carousel ---- */
.hl-video-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 9/16;
  max-height: 78vh;
  box-shadow:
    0 0 0 1px rgba(200,200,200,0.07),
    0 40px 100px rgba(0,0,0,0.9),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.hl-video-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.77,0,0.175,1);
  will-change: transform;
}
.hl-video-carousel__slide {
  flex: 0 0 100%;
  position: relative;
  height: 100%;
}
.hl-video-carousel__slide iframe,
.hl-video-carousel__slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
  object-fit: cover;
}
/* Keep legacy single-video class for any direct use */
.hl-hero-video {
  position: relative;
  aspect-ratio: 9/16;
  max-height: 78vh;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(200,200,200,0.07),
    0 40px 100px rgba(0,0,0,0.9),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.hl-hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
}
/* Chrome ring effect around video */
.hl-video-chrome {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200,200,200,0.1);
  border-top-color: rgba(240,240,240,0.22);
  pointer-events: none;
  z-index: 2;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -1px 0 rgba(0,0,0,0.6);
}

/* ---- Infographic carousel (1:1 square) ---- */
.hl-infographic-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 1/1;
  box-shadow:
    0 0 0 1px rgba(200,200,200,0.07),
    0 40px 100px rgba(0,0,0,0.9),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.hl-infographic-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.77,0,0.175,1);
  will-change: transform;
}
.hl-infographic-carousel__slide {
  flex: 0 0 100%;
  position: relative;
  height: 100%;
}
.hl-infographic-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

/* ---- Infographic block (legacy single) ---- */
.hl-infographic {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 1/1;
  box-shadow:
    0 0 0 1px rgba(200,200,200,0.07),
    0 40px 100px rgba(0,0,0,0.9),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.hl-infographic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.hl-infographic:hover img { transform: scale(1.04); }

/* ---- Carousel ---- */
.hl-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(200,200,200,0.07),
    0 40px 100px rgba(0,0,0,0.9),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.hl-carousel__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.77,0,0.175,1);
  will-change: transform;
}
.hl-carousel__slide {
  flex: 0 0 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.hl-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hl-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(24,24,24,0.9), rgba(8,8,8,0.95));
  border: 1px solid rgba(200,200,200,0.18);
  border-top-color: rgba(240,240,240,0.3);
  color: var(--chrome-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all var(--transition);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -1px 0 rgba(0,0,0,0.5),
    0 8px 24px rgba(0,0,0,0.7);
}
.hl-carousel__btn:hover {
  background: var(--metallic);
  color: #000;
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 8px 32px rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.06);
}
.hl-carousel__btn--prev { left: 20px; }
.hl-carousel__btn--next { right: 20px; }
.hl-carousel__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.hl-carousel__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all var(--transition);
  cursor: pointer;
}
.hl-carousel__dot.active {
  background: var(--chrome-bright);
  width: 22px;
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(220,220,220,0.5);
}

/* ---- Mixed Grid ---- */
.hl-mixed-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hl-mixed__item {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  min-height: 220px;
}
.hl-mixed__item--tall {
  grid-row: span 2;
}
.hl-mixed__item--video {
  grid-column: span 1;
}
.hl-mixed__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease, filter 0.4s ease;
}
.hl-mixed__item:hover img {
  transform: scale(1.06);
  filter: brightness(0.7);
}
/* Liquid chrome border on each cell */
.hl-mixed__item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200,200,200,0.06);
  pointer-events: none;
  z-index: 2;
}
.hl-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%) scale(0.85);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--metallic);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.1rem;
  z-index: 3;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.5),
    inset 0 -2px 0 rgba(0,0,0,0.3),
    0 0 40px rgba(200,200,200,0.2),
    0 10px 30px rgba(0,0,0,0.7);
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}
.hl-mixed__item:hover .hl-play-btn {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.55),
    inset 0 -2px 0 rgba(0,0,0,0.35),
    0 0 60px rgba(200,200,200,0.35),
    0 14px 40px rgba(0,0,0,0.8);
}

/* =============================================
   PORTFOLIO HOVER-REVEAL LIST
   ============================================= */
.portfolio-list { background: var(--bg-2); }

.plist {
  border-top: 1px solid rgba(160,160,160,0.08);
  margin-top: 0;
}

.plist__item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 260px;
  align-items: center;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(160,160,160,0.07);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: padding var(--transition);
}
/* Liquid metal background wash on hover */
.plist__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200,200,200,0.025) 40%,
    rgba(200,200,200,0.05) 60%,
    transparent 100%
  );
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.23,1,0.32,1);
}
.plist__item:hover::before,
.plist__item.active::before {
  opacity: 1;
  transform: translateX(0);
}
/* Chrome left accent line */
.plist__item::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--chrome-light), transparent);
  transform: scaleY(0);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
  transform-origin: center;
}
.plist__item:hover::after,
.plist__item.active::after { transform: scaleY(1); }

.plist__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 24px;
}
.plist__num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  transition: color var(--transition);
}
.plist__item:hover .plist__num,
.plist__item.active .plist__num { color: var(--chrome-mid); }
.plist__type {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chrome-dark);
  transition: color var(--transition);
}
.plist__item:hover .plist__type,
.plist__item.active .plist__type { color: var(--chrome-light); }

.plist__label {
  flex: 1;
}
.plist__label h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--chrome-bright);
  margin-bottom: 4px;
  transition: background var(--transition), -webkit-text-fill-color var(--transition);
}
.plist__item:hover .plist__label h3,
.plist__item.active .plist__label h3 {
  background: var(--metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.plist__platform {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.plist__item:hover .plist__platform,
.plist__item.active .plist__platform { color: var(--chrome-dark); }

/* Preview image — always in grid, hidden until hover/active */
.plist__preview {
  width: 260px;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  opacity: 0;
  transform: translateX(16px) scale(0.96);
  transition: opacity 0.4s cubic-bezier(0.23,1,0.32,1), transform 0.4s cubic-bezier(0.23,1,0.32,1);
  border: 1px solid rgba(200,200,200,0.1);
  border-top-color: rgba(220,220,220,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 8px 24px rgba(0,0,0,0.6);
}
.plist__item:hover .plist__preview,
.plist__item.active .plist__preview {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.plist__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plist__preview-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  color: var(--chrome-bright);
  font-size: 0.8rem;
}

/* =============================================
   TONE-OF-VOICE CAPTION CARDS
   ============================================= */
.captions { background: var(--bg); }

.tone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 0;
}

.tone-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  /* 3D depth layer */
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 1px solid rgba(190,190,190,0.1);
  border-top-color: rgba(220,220,220,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -2px 0 rgba(0,0,0,0.6),
    0 8px 32px rgba(0,0,0,0.6),
    0 2px 4px rgba(0,0,0,0.8);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  /* Perspective for 3D tilt */
  transform-style: preserve-3d;
  min-height: 180px;
}
/* Molten metal liquid edge highlight */
.tone-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.06) 0%,
    transparent 40%,
    transparent 60%,
    rgba(0,0,0,0.2) 100%
  );
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}
.tone-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(200,200,200,0.22);
  border-top-color: rgba(240,240,240,0.38);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -2px 0 rgba(0,0,0,0.7),
    0 28px 60px rgba(0,0,0,0.85),
    0 0 0 1px rgba(200,200,200,0.1),
    0 4px 8px rgba(0,0,0,0.9);
}
.tone-card:focus-visible {
  outline: 2px solid var(--chrome-light);
  outline-offset: 3px;
}

/* Front face — always visible */
.tone-card__front {
  padding: 26px 24px 22px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity var(--transition), transform var(--transition);
  height: 100%;
}
.tone-card:hover .tone-card__front,
.tone-card:focus-visible .tone-card__front {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.tone-card__tone {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chrome-dark);
  display: block;
}
.tone-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: linear-gradient(180deg, #f5f5f5 0%, #909090 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tone-card__platform {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: auto;
}
.tone-card__platform i { color: var(--chrome-dark); }

/* Reveal layer — hidden until hover */
.tone-card__reveal {
  position: absolute;
  inset: 0;
  padding: 24px;
  background: linear-gradient(145deg, #161616, #0a0a0a);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s cubic-bezier(0.23,1,0.32,1),
              transform 0.35s cubic-bezier(0.23,1,0.32,1);
  z-index: 3;
  border-radius: inherit;
}
/* Liquid shimmer on reveal surface */
.tone-card__reveal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(220,220,220,0.3), transparent);
}
.tone-card:hover .tone-card__reveal,
.tone-card:focus-visible .tone-card__reveal {
  opacity: 1;
  transform: translateY(0);
}

.tone-card__copy {
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--text);
  font-style: italic;
  border-left: 2px solid;
  border-image: linear-gradient(to bottom, transparent, var(--chrome-light), transparent) 1;
  padding-left: 14px;
}

/* Long-copy variant — scrollable reveal */
.tone-card--long .tone-card__reveal {
  justify-content: flex-start;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(160,160,160,0.2) transparent;
}
.tone-card--long .tone-card__reveal::-webkit-scrollbar {
  width: 4px;
}
.tone-card--long .tone-card__reveal::-webkit-scrollbar-thumb {
  background: rgba(160,160,160,0.2);
  border-radius: 2px;
}
.tone-card--long .tone-card__copy {
  font-size: 0.82rem;
  line-height: 1.68;
}
.tone-card__stats {
  display: flex;
  gap: 14px;
  font-size: 0.75rem;
  color: var(--chrome-dark);
}
.tone-card__stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* =============================================
   OLD SECTION STYLES — cleaned up
   (brands/captions/portfolio legacy classes retained for print)
   ============================================= */
.logo-placeholder {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   PORTFOLIO GRID — legacy classes (kept for lightbox)
   ============================================= */
.portfolio { background: var(--bg); }

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: var(--bg-2);
  padding: 120px 0;
}
.contact__inner {
  text-align: center;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.contact__orb { display: none; }
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 16px 0 20px;
  position: relative;
  color: var(--chrome-bright);
}
.contact__desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
  position: relative;
}
.contact__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.contact__note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--chrome-light);
  min-height: 22px;
  position: relative;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #000;
  border-top: 1px solid rgba(140,140,140,0.1);
  padding: 28px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--chrome-bright);
}
.footer p {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer__links {
  display: flex;
  gap: 16px;
}
.footer__links a {
  color: var(--text-dim);
  font-size: 1rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--chrome-light); }

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(160,160,160,0.15), 0 40px 100px rgba(0,0,0,0.9);
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1e1e1e, #0e0e0e);
  border: 1px solid rgba(160,160,160,0.18);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--chrome-light);
  font-size: 1rem;
  transition: background var(--transition);
}
.lightbox__close:hover {
  background: var(--metallic);
  color: #000;
}

/* =============================================
   MOBILE NAV
   ============================================= */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.mobile-nav__close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--chrome-light);
  font-size: 1.2rem;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.mobile-nav__link {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(180deg, #f0f0f0, #808080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: filter var(--transition);
}
.mobile-nav__link:hover { filter: brightness(1.3); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .tone-grid { grid-template-columns: repeat(2, 1fr); }
  .skills__layout { grid-template-columns: 280px 1fr; }
  .hl-block--video-hero { grid-template-columns: 1fr 240px; gap: 48px; }
  .hl-block--video-hero .hl-video-carousel { max-width: 240px; }
  .hl-block--carousel { grid-template-columns: 420px 1fr; gap: 48px; }
  .hl-block--infographic { grid-template-columns: 1fr 1fr; gap: 48px; }
  .plist__item { grid-template-columns: 80px minmax(0,1fr) 200px; }
  .plist__preview { width: 200px; height: 140px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav { padding: 0 24px; }
  .brands-strip .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .brands-strip__logos { width: 100%; }
  .skills__layout { grid-template-columns: 1fr; }
  .skills__list { border-right: none; border-bottom: 1px solid rgba(160,160,160,0.08); display: grid; grid-template-columns: repeat(3, 1fr); }
  .skills__item { border-bottom: none; border-right: 1px solid rgba(160,160,160,0.07); }
  .skills__item:nth-child(3n) { border-right: none; }
  .skills__panel { position: relative; }
  .skills__panel:not(.active) { display: none; }
  .hl-block--video-hero,
  .hl-block--carousel,
  .hl-block--infographic { grid-template-columns: 1fr; gap: 32px; }
  .hl-block--video-hero .hl-video-carousel { max-width: 280px; margin: 0 auto; }
  .hl-block--infographic .hl-infographic { max-width: 480px; margin: 0 auto; }
  .plist__item { grid-template-columns: 70px minmax(0,1fr) 160px; gap: 16px; }
  .plist__preview { width: 160px; height: 110px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero__actions { flex-direction: column; align-items: center; }
  .contact__actions { flex-direction: column; align-items: center; }
  .footer__inner { flex-direction: column; align-items: center; text-align: center; }
  .tone-grid { grid-template-columns: 1fr; }
  .hl-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .plist__item { grid-template-columns: 60px 1fr; }
  .plist__preview { display: none; }
}

/* =============================================
   PRINT / PDF EXPORT
   ============================================= */
@media print {
  .nav, .hero__scroll,
  .lightbox, .mobile-nav,
  .hero__orb, .hero__bg-grid { display: none !important; }

  body { background: #fff !important; color: #000 !important; }
  .hero { min-height: auto; padding: 40px 24px; }
  .hero__name, .section__title, .contact__title,
  .mobile-nav__link, .footer__logo,
  .nav__logo {
    -webkit-text-fill-color: #000 !important;
    color: #000 !important;
    background: none !important;
  }
  .gradient-text { -webkit-text-fill-color: #000 !important; }
  .section { padding: 40px 0; }
  .tone-card { break-inside: avoid; border: 1px solid #ddd !important; background: #f9f9f9 !important; box-shadow: none !important; }
  .plist__item { break-inside: avoid; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.7rem; color: #666; }
}
