/* -----------------------------------------------------------
   ASHISH BUDAKOTI — CINEMATIC EDITION
   Dark. Dramatic. Unapologetically Cinematic.
   ----------------------------------------------------------- */

:root {
  --clr-void:      #020202;
  --clr-bg:        #050404;
  --clr-bg-2:      #080706;
  --clr-bg-3:      #0d0b09;
  --clr-surface:   #111009;
  --clr-surface-2: #18160e;
  --clr-border:    rgba(201,168,76,.1);
  --clr-border-2:  rgba(201,168,76,.3);

  --clr-gold:      #c9a84c;
  --clr-gold-lt:   #e8c97a;
  --clr-gold-dk:   #7a5c0a;
  --clr-cream:     #ede0c8;
  --clr-cream-dim: #b8a888;
  --clr-muted:     #6b5f4a;
  --clr-dim:       #3a3020;

  --ff-display: 'Syncopate', sans-serif;
  --ff-serif:   'Cinzel', Georgia, serif;
  --ff-sans:    'Montserrat', system-ui, sans-serif;
  --ff-mono:    'Space Mono', monospace;

  --radius-sm:   3px;
  --radius-full: 999px;

  --shadow:      0 12px 60px rgba(0,0,0,.75);
  --glow:        0 0 30px rgba(201,168,76,.2);
  --glow-lg:     0 0 70px rgba(201,168,76,.35);
  --transition:  .28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  background: var(--clr-bg);
  color: var(--clr-cream);
  line-height: 1.78;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
select, input, textarea { font-family: inherit; }



.container { width: min(1200px, 100% - 3rem); margin-inline: auto; }
.section { padding-block: 6.5rem; }
.section--dark { background: var(--clr-bg-2); }
.hidden { display: none !important; }

/* Section Labels */
.section__eyebrow {
  font-family: var(--ff-display);
  font-size: .68rem; font-weight: 700; letter-spacing: .32em;
  text-transform: uppercase; color: var(--clr-gold);
  margin-bottom: .9rem;
  display: flex; align-items: center; gap: .9rem;
}
.section__eyebrow::before, .section__eyebrow::after {
  content: ''; height: 1px; flex: 1; max-width: 36px;
  background: linear-gradient(to right, transparent, var(--clr-gold-dk));
}
.section__eyebrow::before { transform: scaleX(-1); }

.section__title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900;
  line-height: 1.1; color: var(--clr-cream);
  margin-bottom: 2.5rem; letter-spacing: .06em;
  text-transform: uppercase;
}
.section__title em { font-style: normal; color: var(--clr-gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 2.2rem;
  font-family: var(--ff-display); font-size: .68rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  transition: all var(--transition); position: relative;
}
.btn--primary {
  background: var(--clr-gold); color: #060505;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn--primary:hover { background: var(--clr-gold-lt); transform: translateY(-2px); box-shadow: var(--glow); }
.btn--ghost {
  border: 1px solid var(--clr-border-2); color: var(--clr-cream);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn--ghost:hover { border-color: var(--clr-gold); color: var(--clr-gold); transform: translateY(-2px); }
.btn--full { width: 100%; justify-content: center; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(5,4,4,.96); backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--clr-border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: min(1200px, 100% - 3rem); margin-inline: auto;
}
.nav__logo { font-family: var(--ff-display); font-size: 1.15rem; font-weight: 700; color: var(--clr-cream); letter-spacing: .12em; }
.nav__logo span { color: var(--clr-gold); }
.nav__links { display: flex; gap: 2.5rem; }
.nav__links a {
  font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--clr-muted); transition: color var(--transition); position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -.3rem; left: 0; right: 0;
  height: 1px; background: var(--clr-gold);
  transform: scaleX(0); transition: transform var(--transition);
}
.nav__links a:hover { color: var(--clr-gold-lt); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: var(--clr-cream); transition: all var(--transition); }

/* HERO */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6.5rem 0 4rem;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #020202;
}

/* Subtle top and bottom blend for page transition */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(32px, 5vh, 64px);
  z-index: 4;
  pointer-events: none;
}
.hero::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(2,2,2,0.95), transparent);
}
.hero::after {
  bottom: 0;
  background: linear-gradient(to top, var(--clr-bg), transparent);
}

/* 
   Hero Background Frame — Shows the FULL 1080p photo uncropped & unzoomed.
   Framed with small black margins (clamp 12px-32px) so it never crops top/bottom or sides.
*/
.hero__bg {
  position: absolute;
  top: clamp(12px, 2.5vh, 32px);
  bottom: clamp(12px, 2.5vh, 32px);
  right: clamp(12px, 2.5vw, 40px);
  left: clamp(12px, 2.5vw, 40px);
  z-index: 1;
  background-image: url('../assets/hero_bg.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  pointer-events: none;
}

/* Left-side subtle contrast gradient so text is effortlessly readable */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right,
    rgba(2, 2, 2, 0.95) 0%,
    rgba(2, 2, 2, 0.92) 35%,
    rgba(2, 2, 2, 0.7) 54%,
    rgba(2, 2, 2, 0.18) 68%,
    transparent 80%
  );
  pointer-events: none;
}

/* Floating Musical Notes in Triangular Void (Jellyfish Swimming Motion) */
.hero__notes-gap {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.music-note {
  position: absolute;
  font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Music", "DejaVu Sans", sans-serif;
  color: var(--clr-gold);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  display: inline-block;
  will-change: transform, opacity, filter;
  transform-origin: center bottom;
}

/* 4 Distinct Active Jellyfish Swimming Propulsion Cycles */
.music-note--jelly-1 {
  animation: jellyfish-swim-1 4.6s cubic-bezier(0.25, 0.85, 0.35, 1) infinite;
}
.music-note--jelly-2 {
  animation: jellyfish-swim-2 5.2s cubic-bezier(0.25, 0.85, 0.35, 1) infinite -1.8s;
}
.music-note--jelly-3 {
  animation: jellyfish-swim-3 4.8s cubic-bezier(0.25, 0.85, 0.35, 1) infinite -3.2s;
}
.music-note--jelly-4 {
  animation: jellyfish-swim-4 5.5s cubic-bezier(0.25, 0.85, 0.35, 1) infinite -1.2s;
}

/* Jellyfish 1: Up-right thrust, apex bell flare, soft buoyant glide */
@keyframes jellyfish-swim-1 {
  0% {
    transform: translate(0, 0) scale(1, 1) rotate(-6deg);
    opacity: 0.35;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.45));
  }
  20% {
    transform: translate(6px, -32px) scale(0.82, 1.25) rotate(-2deg);
    opacity: 0.85;
    filter: drop-shadow(0 0 16px rgba(243, 211, 122, 0.9)) drop-shadow(0 0 28px rgba(201, 168, 76, 0.55));
  }
  38% {
    transform: translate(14px, -40px) scale(1.2, 0.82) rotate(8deg);
    opacity: 0.78;
    filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.7));
  }
  65% {
    transform: translate(18px, -18px) scale(1.05, 0.95) rotate(4deg);
    opacity: 0.48;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.4));
  }
  85% {
    transform: translate(8px, -5px) scale(0.96, 1.03) rotate(-3deg);
    opacity: 0.4;
  }
  100% {
    transform: translate(0, 0) scale(1, 1) rotate(-6deg);
    opacity: 0.35;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.45));
  }
}

/* Jellyfish 2: Up-left propulsion, flare open, silky drift */
@keyframes jellyfish-swim-2 {
  0% {
    transform: translate(0, 0) scale(1, 1) rotate(6deg);
    opacity: 0.34;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.45));
  }
  22% {
    transform: translate(-8px, -30px) scale(0.82, 1.24) rotate(2deg);
    opacity: 0.82;
    filter: drop-shadow(0 0 16px rgba(243, 211, 122, 0.9)) drop-shadow(0 0 28px rgba(201, 168, 76, 0.55));
  }
  40% {
    transform: translate(-14px, -38px) scale(1.18, 0.84) rotate(-6deg);
    opacity: 0.75;
    filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.7));
  }
  68% {
    transform: translate(-18px, -16px) scale(1.04, 0.96) rotate(-3deg);
    opacity: 0.46;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.4));
  }
  86% {
    transform: translate(-6px, -4px) scale(0.97, 1.02) rotate(2deg);
    opacity: 0.38;
  }
  100% {
    transform: translate(0, 0) scale(1, 1) rotate(6deg);
    opacity: 0.34;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.45));
  }
}

/* Jellyfish 3: Vertical stroke & buoyant suspension */
@keyframes jellyfish-swim-3 {
  0% {
    transform: translate(0, 0) scale(1, 1) rotate(-8deg);
    opacity: 0.36;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.45));
  }
  20% {
    transform: translate(5px, -35px) scale(0.8, 1.26) rotate(-2deg);
    opacity: 0.88;
    filter: drop-shadow(0 0 16px rgba(243, 211, 122, 0.95)) drop-shadow(0 0 28px rgba(201, 168, 76, 0.6));
  }
  38% {
    transform: translate(10px, -42px) scale(1.22, 0.8) rotate(6deg);
    opacity: 0.8;
    filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.7));
  }
  65% {
    transform: translate(15px, -18px) scale(1.05, 0.95) rotate(3deg);
    opacity: 0.46;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.4));
  }
  85% {
    transform: translate(6px, -5px) scale(0.96, 1.03) rotate(-4deg);
    opacity: 0.4;
  }
  100% {
    transform: translate(0, 0) scale(1, 1) rotate(-8deg);
    opacity: 0.36;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.45));
  }
}

/* Jellyfish 4: Swaying lateral breath with high buoyant lift */
@keyframes jellyfish-swim-4 {
  0% {
    transform: translate(0, 0) scale(1, 1) rotate(4deg);
    opacity: 0.32;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.45));
  }
  24% {
    transform: translate(-6px, -28px) scale(0.84, 1.24) rotate(0deg);
    opacity: 0.8;
    filter: drop-shadow(0 0 16px rgba(243, 211, 122, 0.9)) drop-shadow(0 0 28px rgba(201, 168, 76, 0.55));
  }
  42% {
    transform: translate(-12px, -36px) scale(1.18, 0.84) rotate(-5deg);
    opacity: 0.74;
    filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.7));
  }
  70% {
    transform: translate(-15px, -15px) scale(1.04, 0.96) rotate(-2deg);
    opacity: 0.44;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.4));
  }
  88% {
    transform: translate(-5px, -4px) scale(0.97, 1.02) rotate(2deg);
    opacity: 0.38;
  }
  100% {
    transform: translate(0, 0) scale(1, 1) rotate(4deg);
    opacity: 0.32;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.45));
  }
}

.hero__container {
  position: relative;
  z-index: 3;
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Intro content: Positioned cleanly within standard margin, spreading to the right */
.hero__content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  width: 100%;
  margin: 0;
  text-align: left;
}

.hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.8rem, 5.2vw, 4.6rem);
  font-weight: 900;
  line-height: 1.04;
  color: var(--clr-cream);
  margin-bottom: 0.8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-shadow: 0 4px 50px rgba(0,0,0,.95);
  text-align: left;
}
.hero__title em {
  font-style: normal;
  font-family: var(--ff-serif);
  color: var(--clr-gold);
  display: block;
  text-shadow: 0 0 60px rgba(201,168,76,.4);
}

.hero__subtitle {
  font-family: var(--ff-display);
  font-size: clamp(.74rem, 1.15vw, .9rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--clr-gold);
  font-weight: 700;
  margin-bottom: 1.55rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
.hero__subtitle::after {
  content: '';
  display: inline-block;
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, var(--clr-gold-dk), transparent);
}

/* Hero Work Details — Kept within margin while lines 1 & 2 complete on single lines */
.hero__work-details {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 780px;
  margin: 0 0 1.9rem;
  text-align: left;
}

.hero__work-line {
  font-family: var(--ff-sans);
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  line-height: 1.58;
  color: var(--clr-cream-dim);
  letter-spacing: 0.02em;
  font-weight: 400;
  transition: color var(--transition);
}

.hero__work-line--1 {
  color: var(--clr-cream);
  font-weight: 500;
  letter-spacing: 0.025em;
}

.hero__work-line--1 span {
  color: var(--clr-gold-lt);
  font-weight: 600;
}

.hero__work-line--2 {
  color: var(--clr-cream-dim);
}

.hero__work-line--2 strong {
  color: var(--clr-gold);
  font-weight: 700;
  text-shadow: 0 0 16px rgba(201, 168, 76, 0.35);
}

.hero__work-line--3 {
  color: rgba(237, 224, 200, 0.78);
  font-size: clamp(0.92rem, 1.12vw, 1.02rem);
}

@media (min-width: 1024px) {
  .hero__work-line--1,
  .hero__work-line--2 {
    white-space: nowrap;
  }
}

/* Contact info: Phone, Email, Location — Prominent & Spread */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: .75rem 2.2rem;
  font-size: clamp(0.92rem, 1.15vw, 1.04rem);
  color: var(--clr-cream);
  margin-bottom: 2.2rem;
  letter-spacing: .03em;
  font-weight: 500;
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__meta-icon {
  font-size: 1rem;
}

.hero__meta-icon--mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  transition: transform var(--transition), color var(--transition), filter var(--transition);
}

.hero__meta-icon--mail svg {
  display: block;
}

.hero__meta-item:hover .hero__meta-icon--mail {
  color: var(--clr-gold-lt);
  transform: scale(1.15) translateY(-1px);
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.5));
}

.hero__meta a {
  color: var(--clr-gold);
  transition: color var(--transition);
}

.hero__meta a:hover {
  color: var(--clr-gold-lt);
  text-decoration: underline;
}

.hero__cta {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero__cta .btn {
  padding: .95rem 2.3rem;
  font-size: .72rem;
  letter-spacing: .22em;
}

/* ══ WORK SAMPLES — Big Widescreen Tiles & Side-by-Side Panels ══ */
.work-rows {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* Row default: exactly 3 tiles side-by-side (2 rows = 6 tiles) */
.work-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  transition: min-height .4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Tile Column */
.work-col--tile {
  position: relative;
  display: block;
}

/* Panel Column: hidden by default, expands to 2/3 when open */
.work-col--panel {
  display: none;
  background: rgba(14, 12, 12, 0.96);
  backdrop-filter: blur(24px);
  border: 1px solid var(--clr-border);
  box-shadow: 0 12px 40px rgba(0,0,0,.7);
  overflow: hidden;
  animation: panel-fade-in .32s ease;
}

@keyframes panel-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* When a row is OPEN: 1/3 Tile + 2/3 Media Panel */
.work-row--open {
  min-height: 560px;
}

/* Active Tile 1 (pos a): Tile 1 on 1/3 left, Panel on 2/3 right */
.work-row--open.work-row--active-a {
  grid-template-columns: 1fr 2fr;
}
.work-row--open.work-row--active-a #panel-col-1,
.work-row--open.work-row--active-a #panel-col-2 {
  display: flex;
  flex-direction: column;
  order: 2;
  height: 100%;
  border-left: 2px solid var(--clr-gold);
  border-right: 1px solid var(--clr-border);
}
.work-row--open.work-row--active-a .work-col--tile:nth-of-type(1) {
  display: block;
  order: 1;
  height: 100%;
}
.work-row--open.work-row--active-a .work-col--tile:nth-of-type(2),
.work-row--open.work-row--active-a .work-col--tile:nth-of-type(3) {
  display: none;
}

/* Active Tile 2 (pos b): Tile 2 on 1/3 left, Panel on 2/3 right */
.work-row--open.work-row--active-b {
  grid-template-columns: 1fr 2fr;
}
.work-row--open.work-row--active-b #panel-col-1,
.work-row--open.work-row--active-b #panel-col-2 {
  display: flex;
  flex-direction: column;
  order: 2;
  height: 100%;
  border-left: 2px solid var(--clr-gold);
  border-right: 1px solid var(--clr-border);
}
.work-row--open.work-row--active-b .work-col--tile:nth-of-type(1),
.work-row--open.work-row--active-b .work-col--tile:nth-of-type(3) {
  display: none;
}
.work-row--open.work-row--active-b .work-col--tile:nth-of-type(2) {
  display: block;
  order: 1;
  height: 100%;
}

/* Active Tile 3 (pos c): Panel on 2/3 left, Tile 3 on 1/3 right */
.work-row--open.work-row--active-c {
  grid-template-columns: 2fr 1fr;
}
.work-row--open.work-row--active-c #panel-col-1,
.work-row--open.work-row--active-c #panel-col-2 {
  display: flex;
  flex-direction: column;
  order: 1;
  height: 100%;
  border-right: 2px solid var(--clr-gold);
  border-left: 1px solid var(--clr-border);
}
.work-row--open.work-row--active-c .work-col--tile:nth-of-type(1),
.work-row--open.work-row--active-c .work-col--tile:nth-of-type(2) {
  display: none;
}
.work-row--open.work-row--active-c .work-col--tile:nth-of-type(3) {
  display: block;
  order: 2;
  height: 100%;
}

/* Big Cinematic Thumbnail Tile */
.cat-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 250px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
}

.cat-tile:hover {
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: 0 10px 35px rgba(0,0,0,.7), 0 0 24px rgba(201, 168, 76, 0.15);
  transform: translateY(-2px);
}

.cat-tile__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(0.2, 0.8, 0.2, 1), filter .6s ease;
  filter: brightness(.58) saturate(.85);
}

.cat-tile:hover .cat-tile__img {
  transform: scale(1.05);
  filter: brightness(.46) saturate(1.1);
}

/* When the tile is active inside an open row */
.work-row--open .cat-tile {
  height: 100%;
  min-height: 100%;
  aspect-ratio: unset;
  border-color: rgba(201, 168, 76, 0.7);
  box-shadow: 0 0 35px rgba(201, 168, 76, 0.2);
  transform: none;
}

.work-row--open .cat-tile .cat-tile__img {
  filter: brightness(.4) saturate(.9);
}

.cat-tile__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,4,4,.92) 0%, rgba(5,4,4,.4) 45%, rgba(5,4,4,.1) 100%);
  z-index: 1;
}

.cat-tile__content {
  position: relative; z-index: 2;
  padding: 1.4rem 1.6rem;
  display: flex; flex-direction: column; gap: .35rem;
  width: 100%;
}

.cat-tile__badge {
  font-family: var(--ff-display);
  font-size: .62rem;
  color: var(--clr-gold);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0,0,0,.9);
}

.cat-tile__label {
  font-family: var(--ff-display);
  font-size: clamp(0.95rem, 1.25vw, 1.25rem);
  font-weight: 700;
  color: var(--clr-cream);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0,0,0,.9);
  white-space: normal;
  line-height: 1.25;
  transition: color var(--transition);
}

.cat-tile:hover .cat-tile__label {
  color: var(--clr-gold-lt);
}

.work-row--open .cat-tile__label {
  color: var(--clr-gold-lt);
}

.cat-tile__cue {
  font-size: .72rem;
  color: rgba(244, 239, 230, 0.75);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .3rem;
  transition: all var(--transition);
}

.cat-tile:hover .cat-tile__cue {
  color: var(--clr-gold);
  transform: translateX(4px);
}

/* Category Panel Inside Panel Column */
.cat-panel {
  display: none;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.cat-panel.cat-panel--active {
  display: flex;
}

/* Panel Header */
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.6rem;
  border-bottom: 1px solid var(--clr-border);
  background: rgba(10, 8, 8, 0.6);
  flex-shrink: 0;
  gap: 1rem;
}

.panel-header__info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.panel-header__eyebrow {
  font-family: var(--ff-display);
  font-size: .58rem;
  color: var(--clr-gold);
  text-transform: uppercase;
  letter-spacing: .24em;
}

.panel-header__title {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  color: var(--clr-cream);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.panel-header__count {
  font-family: var(--ff-mono);
  font-size: .66rem;
  color: var(--clr-gold-lt);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.panel-header__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.panel-switch {
  font-family: var(--ff-sans);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-gold);
  background: rgba(201, 168, 76, 0.09);
  border: 1px solid rgba(201, 168, 76, 0.35);
  padding: .45rem .85rem;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.panel-switch:hover {
  background: var(--clr-gold);
  color: #050404;
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.4);
}

.panel-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(6, 5, 5, 0.65);
  padding: 3px;
  border: 1px solid rgba(201, 168, 76, 0.22);
}

.panel-pill {
  font-family: var(--ff-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--clr-muted);
  background: transparent;
  border: 1px solid transparent;
  padding: .38rem .72rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.panel-pill:hover {
  color: var(--clr-cream);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(201, 168, 76, 0.3);
}

.panel-pill.is-active {
  color: #060505;
  background: var(--clr-gold);
  border-color: var(--clr-gold);
  font-weight: 700;
  box-shadow: 0 0 14px rgba(201, 168, 76, 0.35);
}

.panel-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--clr-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--clr-border);
  cursor: pointer;
  transition: all var(--transition);
}

.panel-close:hover {
  color: var(--clr-gold-lt);
  border-color: var(--clr-gold);
  background: rgba(201, 168, 76, 0.15);
  transform: rotate(90deg);
}

/* Tracks Scroll Area */
.tracks-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.6rem;
  max-height: 560px;
}

.tracks-scroll::-webkit-scrollbar {
  width: 5px;
}
.tracks-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.35);
}
.tracks-scroll::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.4);
  border-radius: 2px;
}
.tracks-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--clr-gold);
}

/* Placeholder for coming soon */
.tab-placeholder {
  text-align: center;
  padding: 3.2rem 1.5rem;
  border: 1px dashed rgba(201, 168, 76, 0.25);
  color: var(--clr-muted);
  background: rgba(0, 0, 0, 0.2);
}

.tab-placeholder__icon {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 1rem;
}

.tab-placeholder h3 {
  font-family: var(--ff-serif);
  color: var(--clr-cream);
  margin-bottom: .6rem;
  letter-spacing: .06em;
  font-size: 1.05rem;
}

.tab-placeholder p {
  margin-bottom: .4rem;
  font-size: .84rem;
  line-height: 1.7;
}

.tab-placeholder__note {
  font-size: .72rem;
  color: var(--clr-gold);
  margin-top: 1.2rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ═══ Track Cards (Horizontal Layout & Full-Length Waveform) ═══ */
.tracks {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.track {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  background: rgba(18, 16, 14, 0.85);
  border: 1px solid var(--clr-border);
  border-left: 2px solid transparent;
  border-radius: 0;
  padding: 0.85rem 1.15rem;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  position: relative;
}

.track:hover {
  border-left-color: var(--clr-gold);
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(25, 22, 19, 0.95);
}

.track.is-playing {
  border-left-color: var(--clr-gold);
  border-color: rgba(201, 168, 76, 0.6);
  box-shadow: 0 0 25px rgba(201, 168, 76, 0.15);
  background: rgba(25, 22, 19, 0.98);
}

/* Track Header: Horizontal Full Width */
.track__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.track__title-group {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  overflow: hidden;
}

.track__num {
  font-family: var(--ff-mono);
  font-size: .75rem;
  color: var(--clr-gold);
  font-weight: 700;
  letter-spacing: .08em;
  flex-shrink: 0;
}

.track__title {
  font-family: var(--ff-sans);
  font-size: .95rem;
  font-weight: 600;
  color: var(--clr-cream);
  letter-spacing: .03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.track__tags {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-left: 1rem;
  flex-shrink: 0;
}

.track__tag {
  font-family: var(--ff-sans);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--clr-gold-lt);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 999px;
  padding: .18rem .65rem;
  flex-shrink: 0;
  white-space: nowrap;
  transition: border-color var(--tr-fast), background var(--tr-fast), color var(--tr-fast);
}

.track__tag--mood {
  color: rgba(245, 237, 224, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

.track:hover .track__tag {
  border-color: rgba(201, 168, 76, 0.55);
}

.track:hover .track__tag--mood {
  border-color: rgba(201, 168, 76, 0.35);
}

/* Timing Display: ALWAYS VISIBLE */
.track__timing {
  font-family: var(--ff-mono);
  font-size: .76rem;
  color: var(--clr-cream);
  letter-spacing: .05em;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: .22rem .65rem;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}

.player__current, .video__current {
  color: var(--clr-gold-lt);
  font-weight: 700;
}

.timing-sep {
  color: var(--clr-muted);
}

.player__duration, .video__duration {
  color: var(--clr-cream-dim);
}

/* Player Row: Play Button + Full-Length Waveform */
.track__player-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
}

.player__play {
  width: 32px;
  height: 32px;
  background: var(--clr-gold);
  color: #060505;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
}

.player__play:hover {
  background: var(--clr-gold-lt);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.45);
  transform: scale(1.04);
}

.player__play svg {
  width: 13px;
  height: 13px;
}
.player__play .icon-play {
  margin-left: 2px;
}

/* Full Length Waveform Visualizer - High Resolution & Compact */
.waveform-wrap {
  flex: 1;
  height: 28px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  background: rgba(6, 5, 5, 0.82);
  border: 1px solid rgba(201, 168, 76, 0.22);
  padding: 0 3px;
  overflow: hidden;
  border-radius: 2px;
  transition: border-color var(--transition);
}

.waveform-wrap:hover {
  border-color: rgba(201, 168, 76, 0.55);
}

.waveform-bg,
.waveform-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 2px 4px;
}

/* Base Waveform Bars (Unplayed: muted gold/charcoal) */
.waveform-bg .w-bar {
  flex: 1;
  background: rgba(201, 168, 76, 0.24);
  border-radius: 0.5px;
  min-width: 1px;
  transition: background var(--transition);
}

.waveform-wrap:hover .waveform-bg .w-bar {
  background: rgba(201, 168, 76, 0.35);
}

/* Played Waveform Overlay (Glowing Radiant Gold) */
.waveform-fill {
  clip-path: inset(0 calc(100% - var(--progress, 0%)) 0 0);
  pointer-events: none;
  z-index: 2;
}

.waveform-fill .w-bar {
  flex: 1;
  background: linear-gradient(to top, var(--clr-gold-dk), var(--clr-gold-lt));
  border-radius: 0.5px;
  min-width: 1px;
  box-shadow: 0 0 3px rgba(243, 211, 122, 0.35);
}

/* Dynamic Needle / Scrubber line */
.waveform-needle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--progress, 0%);
  width: 1.5px;
  background: #fff;
  box-shadow: 0 0 6px #fff, 0 0 12px var(--clr-gold);
  z-index: 3;
  pointer-events: none;
  transform: translateX(-50%);
  transition: left 0.08s linear;
}

/* Video Track */
.track--video .track__video-wrap {
  width: 100%;
  background: #000;
  border: 1px solid rgba(201, 168, 76, 0.2);
  overflow: hidden;
}

.track--video .track__video {
  width: 100%;
  max-height: 290px;
  display: block;
}

/* ═══ YouTube Ambient Cards (Two Thumbnails in a Row) ═══ */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  width: 100%;
}

.yt-card {
  display: flex;
  flex-direction: column;
  background: rgba(18, 16, 14, 0.92);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.yt-card:hover {
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(25, 22, 19, 0.98);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.65);
}

/* Video wrapper: 16:9 widescreen full width */
.yt-card__video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.yt-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
  filter: brightness(0.92) contrast(1.04);
}

.yt-card__video-wrap:hover .yt-card__thumb {
  transform: scale(1.04);
  filter: brightness(1.02);
}

/* Play button centered on thumbnail */
.yt-card__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.85));
}

.yt-play-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.yt-play-shape {
  fill: rgba(30, 26, 20, 0.88);
  transition: fill var(--transition);
}

.yt-play-triangle {
  fill: var(--clr-gold);
  transition: fill var(--transition);
}

.yt-card__video-wrap:hover .yt-card__play-btn {
  transform: translate(-50%, -50%) scale(1.14);
}

.yt-card__video-wrap:hover .yt-play-shape {
  fill: #cc0000;
}

.yt-card__video-wrap:hover .yt-play-triangle {
  fill: #ffffff;
}

.yt-card__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  z-index: 3;
}

/* Info container below video */
.yt-card__info {
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.yt-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.yt-card__num {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  color: var(--clr-gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.yt-card__title {
  font-family: var(--ff-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-cream);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.yt-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(201, 168, 76, 0.14);
  flex-wrap: wrap;
}

.yt-card__channel {
  font-family: var(--ff-display);
  color: var(--clr-gold-lt);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.yt-card__link {
  font-family: var(--ff-sans);
  color: var(--clr-cream-dim);
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition);
}

.yt-card__link:hover {
  color: var(--clr-gold);
  text-decoration: underline;
}

/* ═══ Multi-Row YouTube Layout (Guitar & Vocals) ═══ */
.yt-flow {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  width: 100%;
}

.yt-flow__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.2rem 0;
}

.yt-flow__divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.35), transparent);
}

.yt-flow__divider-label {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-gold-lt);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

/* 3 in a row grid (Vertical Shorts) */
.yt-grid--vertical-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  width: 100%;
}

/* 2 in a row grid (Horizontal Videos) */
.yt-grid--horizontal-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  width: 100%;
}

/* ═══ Vertical Shorts Card styling (Self-contained 9:16 Aspect Ratio) ═══ */
.yt-card--vertical {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
  border: 1px solid rgba(201, 168, 76, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.yt-card--vertical:hover {
  border-color: rgba(201, 168, 76, 0.65);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.75), 0 0 20px rgba(201, 168, 76, 0.12);
}

/* Full bleed video container filling exactly the 9:16 card */
.yt-card--vertical .yt-card__video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  background: #000;
  z-index: 1;
}

.yt-card--vertical .yt-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.88) contrast(1.05);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.yt-card--vertical:hover .yt-card__thumb {
  transform: scale(1.04);
  filter: brightness(0.96) contrast(1.08);
}

.yt-card--vertical .yt-card__play-btn {
  width: 52px;
  height: 36px;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.9));
}

.yt-card--vertical:hover .yt-card__play-btn {
  transform: translate(-50%, -50%) scale(1.15);
}

/* Overlay info contained within the bottom of the 9:16 aspect ratio */
.yt-card--vertical .yt-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 3rem 0.9rem 0.9rem;
  background: linear-gradient(
    to top,
    rgba(6, 5, 8, 0.96) 0%,
    rgba(6, 5, 8, 0.82) 45%,
    rgba(6, 5, 8, 0.4) 80%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Fade out info when video is playing so player controls are unobstructed */
.yt-card--vertical.is-playing .yt-card__info {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.yt-card--vertical .yt-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  pointer-events: none;
}

.yt-card--vertical .yt-card__num {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--clr-gold);
  line-height: 1.35;
  flex-shrink: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.yt-card--vertical .yt-card__title {
  font-family: var(--ff-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-card--vertical .yt-card__meta {
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

/* Aesthetic button for Watch on YouTube */
.yt-card--vertical .yt-card__link {
  font-family: var(--ff-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clr-cream);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem 0.72rem;
  background: rgba(18, 16, 22, 0.82);
  border: 1px solid rgba(201, 168, 76, 0.42);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
  transition: all var(--transition);
  text-decoration: none;
  pointer-events: auto;
}

.yt-card--vertical .yt-card__link:hover {
  background: rgba(201, 168, 76, 0.25);
  border-color: var(--clr-gold);
  color: var(--clr-gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
  text-decoration: none;
}

#panel-guitar-vocals .yt-card--horizontal .yt-card__meta {
  justify-content: flex-end;
}

/* Format badges (Shorts / Full Video) */
.yt-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.48rem;
  border-radius: 2px;
  pointer-events: none;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.yt-badge--short {
  background: rgba(220, 38, 38, 0.88);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.yt-badge--full {
  background: rgba(14, 12, 10, 0.88);
  color: var(--clr-gold-lt);
  border: 1px solid rgba(201, 168, 76, 0.4);
}



/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 2.2rem; padding-left: 1.8rem; border-left: 1px solid var(--clr-border); }
.timeline__item { position: relative; }
.timeline__dot { position: absolute; left: calc(-1.8rem - 5px); top: 1.6rem; width: 10px; height: 10px; background: var(--clr-gold); box-shadow: 0 0 14px rgba(201,168,76,.6); }
.timeline__card { background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: 0; padding: 2rem 2.4rem; transition: border-color var(--transition); position: relative; }
.timeline__card::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 2px; background: var(--clr-gold); transform: scaleY(0); transform-origin: bottom; transition: transform .35s ease; }
.timeline__card:hover::before { transform: scaleY(1); }
.timeline__card:hover { border-color: rgba(201,168,76,.25); }
.timeline__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.timeline__header h3 { font-family: var(--ff-serif); font-size: 1.18rem; color: var(--clr-cream); letter-spacing: .06em; }
.timeline__company { font-size: .84rem; color: var(--clr-gold); margin-top: .3rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 600; }
.timeline__date { font-size: .78rem; color: var(--clr-muted); border: 1px solid var(--clr-border); padding: .3rem .85rem; white-space: nowrap; letter-spacing: .06em; }
.timeline__bullets { padding-left: 1.2rem; }
.timeline__bullets li { list-style: disc; font-size: .95rem; color: var(--clr-cream-dim); margin-bottom: .55rem; line-height: 1.75; }

/* Skills — Symmetrical 4x2 Grid (Full Width, Low-Profile Slim Height) */
.skills__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: 100%;
}

.skill-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 0;
  padding: 1.25rem 1.4rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 124px;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--clr-gold), transparent);
  transform: scaleX(0);
  transition: transform .4s ease;
}

.skill-card:hover::before {
  transform: scaleX(1);
}

.skill-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--glow);
}

.skill-card__icon {
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
  display: inline-block;
  transform-origin: center bottom;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.skill-card:hover .skill-card__icon {
  animation: icon-float-bounce 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.65));
}

@keyframes icon-float-bounce {
  0%   { transform: translateY(0) scale(1) rotate(0deg); }
  30%  { transform: translateY(-5px) scale(1.18) rotate(-6deg); }
  60%  { transform: translateY(-6px) scale(1.2) rotate(5deg); }
  100% { transform: translateY(-4px) scale(1.15) rotate(0deg); }
}

.skill-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  color: var(--clr-cream);
  margin-bottom: .25rem;
  letter-spacing: .06em;
}

.skill-card p {
  font-size: .84rem;
  color: var(--clr-muted);
  line-height: 1.45;
}

/* Education */
.edu__grid { display: flex; flex-direction: column; gap: 1.15rem; max-width: 960px; margin-inline: auto; }
.edu-card { display: flex; align-items: center; gap: 1.6rem; background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: 0; padding: 1.6rem 2.2rem; transition: border-color var(--transition); }
.edu-card:hover { border-color: rgba(201,168,76,.25); }
.edu-card__icon { font-size: 2.1rem; flex-shrink: 0; }
.edu-card h3 { font-family: var(--ff-serif); color: var(--clr-cream); margin-bottom: .35rem; font-size: 1.08rem; letter-spacing: .06em; }
.edu-card p  { font-size: .92rem; color: var(--clr-cream-dim); line-height: 1.6; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact__info  { display: flex; flex-direction: column; gap: 2rem; }
.contact__item  { display: flex; align-items: flex-start; gap: 1.35rem; }
.contact__icon  { font-size: 1.4rem; flex-shrink: 0; margin-top: .15rem; }
.contact__label { font-size: .76rem; color: var(--clr-gold); text-transform: uppercase; letter-spacing: .18em; margin-bottom: .35rem; font-weight: 600; }
.contact__val   { font-size: 1.02rem; color: var(--clr-cream); line-height: 1.5; }
a.contact__val:hover { color: var(--clr-gold-lt); text-decoration: underline; }

/* Minimalist Email Envelope Icon — Clean Standalone Vector (No Enclosing Outline) */
.contact__icon--mail {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  margin-top: .15rem;
  transition: color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.contact__icon--mail svg {
  display: block;
}

.contact__item:hover .contact__icon--mail {
  color: var(--clr-gold-lt);
  transform: scale(1.12);
}

/* WhatsApp Channel — Harmonized Obsidian-Emerald Glass with Amber Accents */
.contact__icon--whatsapp {
  color: #38b26e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__val--whatsapp {
  color: var(--clr-cream) !important;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition);
}

.contact__val--whatsapp:hover {
  color: var(--clr-gold-lt) !important;
  text-decoration: underline;
}

.contact__wa-card {
  margin-top: 0.4rem;
}

.btn--whatsapp {
  background: rgba(14, 24, 18, 0.82);
  border: 1px solid rgba(56, 178, 110, 0.38);
  color: var(--clr-cream);
  font-family: var(--ff-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem 1.7rem;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 16px rgba(56, 178, 110, 0.08);
}

.btn--whatsapp svg {
  color: #38b26e;
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0;
}

.btn--whatsapp:hover {
  background: rgba(20, 36, 26, 0.95);
  border-color: rgba(56, 178, 110, 0.7);
  color: var(--clr-gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 178, 110, 0.22);
}

.btn--whatsapp:hover svg {
  color: #4ade80;
  transform: scale(1.1);
}
.contact-form { background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: 0; padding: 2.6rem; }
.form-group { margin-bottom: 1.35rem; }
.form-group label { display: block; font-size: .76rem; font-weight: 700; color: var(--clr-cream-dim); margin-bottom: .55rem; text-transform: uppercase; letter-spacing: .16em; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: .85rem 1.1rem; background: var(--clr-bg-3); border: 1px solid var(--clr-border); border-radius: 0; color: var(--clr-cream); font-size: .95rem; transition: border-color var(--transition); appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--clr-gold); }
.form-group input:user-invalid, .form-group textarea:user-invalid { border-color: #7c1a1a; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--clr-muted); font-size: .92rem; }
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-group select option { background: var(--clr-bg-3); }
.form-note { font-size: .82rem; color: var(--clr-muted); text-align: center; margin-top: 1rem; letter-spacing: .06em; }
.form-success { margin-top: 1rem; padding: 1rem; background: rgba(39,174,96,.07); border: 1px solid rgba(39,174,96,.22); text-align: center; font-size: .95rem; color: #2ecc71; }

/* Footer */
.footer { padding-block: 3.2rem; text-align: center; border-top: 1px solid var(--clr-border); position: relative; }
.footer::before { content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 56px; height: 1px; background: var(--clr-gold); }
.footer__logo { font-family: var(--ff-display); font-size: 1.45rem; font-weight: 700; color: var(--clr-cream); margin-bottom: .55rem; letter-spacing: .12em; }
.footer__logo span { color: var(--clr-gold); }
.footer p { font-size: .84rem; color: var(--clr-muted); letter-spacing: .07em; line-height: 1.7; }
.footer__location { margin-top: .35rem; font-size: .82rem; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* Responsive Media Queries */
@media (max-width: 960px) {
  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 0 3.8rem;
    position: relative;
    background-color: #020202;
    overflow: hidden;
  }

  /* Full uncropped, unzoomed cover photo at the top of the mobile hero */
  .hero__bg {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    aspect-ratio: 1924 / 1080;
    max-height: 48vh;
    background-image: url('../assets/hero_bg.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    z-index: 1;
    margin-top: 3.8rem;
  }

  /* Soft gradient fade blending the bottom of the photo into the black canvas */
  .hero__overlay {
    position: absolute;
    top: 3.8rem;
    left: 0;
    right: 0;
    aspect-ratio: 1924 / 1080;
    max-height: 48vh;
    z-index: 2;
    background: linear-gradient(to bottom,
      transparent 0%,
      transparent 55%,
      rgba(2, 2, 2, 0.65) 80%,
      #020202 100%
    );
    pointer-events: none;
  }

  .hero__notes-gap {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
  }

  .hero__container {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
    padding-inline: 1.5rem;
    position: relative;
    z-index: 3;
    display: block;
    margin-top: -1.5rem;
  }

  .hero__content {
    max-width: 100%;
    margin: 0;
    text-align: left;
  }

  .hero__title {
    font-size: clamp(2.4rem, 7vw, 3.4rem);
    margin-bottom: 0.65rem;
  }

  .hero__subtitle {
    font-size: clamp(0.72rem, 2.2vw, 0.85rem);
    letter-spacing: 0.22em;
    margin-bottom: 1.4rem;
  }

  .hero__work-details {
    gap: 0.55rem;
    margin-bottom: 1.6rem;
  }

  .hero__work-line {
    font-size: clamp(0.92rem, 2.6vw, 1.02rem);
    line-height: 1.55;
  }

  .hero__meta {
    gap: 0.6rem 1.6rem;
    font-size: clamp(0.88rem, 2.5vw, 0.98rem);
    margin-bottom: 1.8rem;
  }

  .hero__cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .work-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .work-row--open {
    min-height: auto;
  }
  .work-row--open.work-row--active-a,
  .work-row--open.work-row--active-b,
  .work-row--open.work-row--active-c {
    grid-template-columns: 1fr;
  }
  .work-row--open.work-row--active-a #panel-col-1,
  .work-row--open.work-row--active-a #panel-col-2,
  .work-row--open.work-row--active-b #panel-col-1,
  .work-row--open.work-row--active-b #panel-col-2,
  .work-row--open.work-row--active-c #panel-col-1,
  .work-row--open.work-row--active-c #panel-col-2 {
    order: 2;
    border-left: 2px solid var(--clr-gold);
    border-right: 1px solid var(--clr-border);
  }
  .work-row--open.work-row--active-a .work-col--tile:nth-of-type(1),
  .work-row--open.work-row--active-b .work-col--tile:nth-of-type(2),
  .work-row--open.work-row--active-c .work-col--tile:nth-of-type(3) {
    order: 1;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 220px;
  }
  .work-row--open .cat-tile {
    height: auto;
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }
  .work-col--panel {
    min-height: 440px;
  }
  .panel-header {
    flex-wrap: wrap;
    gap: .75rem;
  }
  .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .skills__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; width: 100%; }
  .yt-grid--vertical-3 { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .yt-grid--horizontal-2 { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .track { padding: 0.8rem 1rem; }
}

@media (max-width: 600px) {
  .nav__links { display: none; flex-direction: column; gap: 1.5rem; position: absolute; top: 100%; left: 0; right: 0; background: rgba(4,3,3,.97); backdrop-filter: blur(24px); padding: 2rem; border-bottom: 1px solid var(--clr-border); }
  .nav__links.open { display: flex; }
  .nav__burger { display: flex; }
  .hero {
    padding: 0 0 3rem;
  }
  .hero__bg {
    margin-top: 3.5rem;
    max-height: 42vh;
  }
  .hero__overlay {
    top: 3.5rem;
    max-height: 42vh;
  }
  .hero__container {
    padding-inline: 1.25rem;
    margin-top: -1.2rem;
  }
  .hero__title {
    font-size: clamp(2.1rem, 9.5vw, 2.8rem);
    line-height: 1.06;
  }
  .hero__subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    margin-bottom: 1.2rem;
    gap: 0.6rem;
  }
  .hero__subtitle::after {
    width: 32px;
  }
  .hero__work-details {
    gap: 0.5rem;
    margin-bottom: 1.4rem;
  }
  .hero__work-line {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .hero__meta {
    gap: 0.5rem 1.2rem;
    font-size: 0.86rem;
    margin-bottom: 1.6rem;
  }
  .hero__cta {
    gap: 0.8rem;
  }
  .hero__cta .btn {
    padding: 0.82rem 1.5rem;
    font-size: 0.66rem;
  }
  .timeline     { padding-left: 1rem; }
  .timeline__dot { left: calc(-1rem - 5px); }
  .timeline__header { flex-direction: column; }
  .player__vol-wrap { display: none; }
  .contact-form { padding: 1.5rem; }
  .skills__grid { grid-template-columns: 1fr; gap: 0.85rem; width: 100%; }
  .yt-grid,
  .yt-grid--vertical-3,
  .yt-grid--horizontal-2 { grid-template-columns: 1fr; }
  .track__tags { gap: 0.3rem; margin-left: 0.5rem; }
  .track__tag { font-size: 0.54rem; padding: 0.14rem 0.5rem; letter-spacing: 0.02em; }
}

