/* ============================================================
   Utsav Dzn — Portfolio Stylesheet
   File: assets/css/style.css
   ============================================================ */

/* ── CUSTOM FONTS ───────────────────────────────────────── */
@font-face {
  font-family: 'Tungsten';
  src: url('Tungsten-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── RESET & VARIABLES ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* Hide scrollbar — Chrome, Safari, Edge */
::-webkit-scrollbar { display: none; }
/* Hide scrollbar — Firefox */
* { scrollbar-width: none; }

:root {
  --bg:     #0a0a0a;
  --bg2:    #111114;
  --white:  #f0f0f0;
  --muted:  #555;
  --muted2: #888;
  --accent: #c8f;
  --accent2:#8cf;
  --border: rgba(255, 255, 255, 0.07);
}

/* ── LIGHT MODE VARIABLES ──────────────────────────────── */
body.light {
  --bg:     #f0ede8;
  --bg2:    #e6e2db;
  --white:  #0f0f0f;
  --muted:  #777;
  --muted2: #444;
  --accent: #7020c0;
  --accent2:#1060b0;
  --border: rgba(0, 0, 0, 0.12);
}

/* Light mode specific overrides */
body.light nav.s {
  background: rgba(240, 237, 232, 0.92);
}
body.light .mob-nav {
  background: var(--bg);
}
body.light #loader { background: transparent; }
body.light #loader-panel { background: var(--bg); }
body.light .hero::after {
  background: radial-gradient(ellipse at 60% 50%, rgba(120, 40, 200, .06) 0%, transparent 60%);
}
body.light .proj-item::before { background: rgba(112,32,192,.03); }
body.light .tcard {
  background: #faf8f5;
  border-color: rgba(0,0,0,0.1);
}
body.light .tcard:hover { background: #f2efe9; }
body.light .sk-card {
  background: #faf8f5;
}
body.light .sk-card:hover { background: #f2efe9; }
body.light .tech-card {
  background: #faf8f5;
  border-color: rgba(0,0,0,0.1);
}
body.light .tech-card:hover { background: #f2efe9; }
body.light .astat {
  background: #faf8f5;
}
body.light .astat:hover { background: rgba(112,32,192,.04); }
body.light .about-stats { background: rgba(0,0,0,0.08); }
body.light .exp-bg { background: var(--bg2); }
body.light .skills-bg { background: var(--bg2); }
body.light .contact-wrap { background: var(--bg2); }
body.light footer {
  background: var(--bg);
  border-color: rgba(0,0,0,0.1);
}
body.light .nav-cta {
  background: #0f0f0f;
  color: #f0ede8;
  border-color: #0f0f0f;
}
body.light .nav-cta:hover {
  background: #333;
  border-color: #333;
}
body.light .btn-fill {
  background: #0f0f0f;
  color: #f0ede8;
  border-color: #0f0f0f;
}
body.light .btn-fill:hover {
  background: transparent;
  color: #0f0f0f;
}
body.light .loader-txt,
body.light .loader-tag,
body.light .loader-sub,
body.light .loader-percent { color: var(--white); }
body.light .loader-bar { background: #0f0f0f; }
body.light .loader-bar-wrap { background: rgba(0,0,0,0.12); }
body.light #prog { background: #0f0f0f; }
body.light #btt {
  border-color: rgba(0,0,0,0.15);
  color: #555;
}
body.light #btt:hover { background: #0f0f0f; color: #f0ede8; border-color: #0f0f0f; }
body.light .s-label::after { background: rgba(0,0,0,0.12); }
body.light .tech-progress-bar { background: rgba(0,0,0,0.1); }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

/* Make all sections sit above the background layers */
section, nav, footer, #loader {
  position: relative;
  z-index: 1;
}

/* Prevent text size adjustment on orientation change */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* ── CUSTOM CURSOR ─────────────────────────────────────── */
#cur, #cur-ring { display: none; }

a, button, [role="button"], label, select, input, textarea {
  cursor: pointer;
}

@keyframes spinBurst {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── PAGE LOADER ───────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 8000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main dark panel */
#loader-panel {
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: translateY(0);
  transition: transform 1s cubic-bezier(.76,0,.24,1);
}

/* Accent strip that reveals just before the panel exits */
#loader-strip {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(0);
  transition: transform 1s cubic-bezier(.76,0,.24,1) .04s;
}

/* When exiting — panel slides up, strip follows slightly behind */
#loader.out #loader-panel { transform: translateY(-100%); }
#loader.out #loader-strip { transform: translateY(-100%); }

/* Once fully gone, hide */
#loader.done {
  pointer-events: none;
  visibility: hidden;
}

/* Main content sits above panels */
.loader-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  transform: translateY(0);
  transition: transform 1s cubic-bezier(.76,0,.24,1);
}

#loader.out .loader-content { transform: translateY(-100vh); }

/* Multilingual hello */
.loader-hello {
  font-family: 'Tungsten', 'Outfit', sans-serif;
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .25s, transform .25s;
  min-width: 140px;
  text-align: center;
}

.loader-hello.hello-out {
  opacity: 0;
  transform: translateY(-10px);
}

.loader-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp .6s .2s cubic-bezier(.16,1,.3,1) forwards;
}

.loader-txt {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -.04em;
  overflow: hidden;
  line-height: 1;
  margin-bottom: 16px;
}

.loader-txt span {
  display: inline-block;
  animation: loaderUp .7s cubic-bezier(.16, 1, .3, 1) forwards;
  opacity: 0;
  transform: translateY(110%);
}

.loader-dot { color: var(--muted2); }

.loader-sub {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp .6s .8s cubic-bezier(.16,1,.3,1) forwards;
}

/* Progress bar */
.loader-bar-wrap {
  width: clamp(200px, 30vw, 360px);
  height: 1px;
  background: rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp .4s .9s forwards;
}

.loader-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: var(--white);
  transition: width .05s linear;
}

.loader-percent {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp .4s .9s forwards;
}

@keyframes loaderUp  { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp    { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ── SCROLL PROGRESS ───────────────────────────────────── */
#prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 1px;
  background: var(--white);
  z-index: 9999;
  width: 0;
  transition: width .1s linear;
  opacity: .4;
}

/* ── BACK TO TOP ───────────────────────────────────────── */
#btt { display: none; }

/* ── NAVIGATION ────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .4s, backdrop-filter .4s;
}

nav.s {
  background: rgba(10, 10, 10, .85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted2);
  text-decoration: none;
  transition: color .25s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--white);
  padding: 9px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition: all .25s;
}

.nav-cta:hover { background: var(--muted2); color: var(--white); }

/* Nav right group */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Theme toggle button */
#theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted2);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s;
  flex-shrink: 0;
}

#theme-toggle:hover {
  border-color: rgba(255,255,255,.3);
  color: var(--white);
  background: rgba(255,255,255,.05);
}

body.light #theme-toggle:hover {
  border-color: rgba(0,0,0,.2);
  color: var(--white);
  background: rgba(0,0,0,.05);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all .3s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav overlay */
.mob-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 150;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  overflow-y: auto;
}

.mob-nav.open { display: flex; }

.mob-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted2);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s;
  line-height: 1;
}

.mob-nav-close:hover { border-color: var(--white); color: var(--white); }

.mob-nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.mob-nav a {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 8vw, 52px);
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color .25s, padding-left .25s;
  line-height: 1;
}

.mob-nav a::after {
  content: '↗';
  font-size: 18px;
  color: var(--muted);
  transition: color .25s, transform .25s;
}

.mob-nav a:hover { color: var(--muted2); padding-left: 8px; }
.mob-nav a:hover::after { color: var(--white); transform: translate(2px, -2px); }

.mob-nav-foot {
  margin-top: 32px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 48px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(200, 100, 255, .04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-left {
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .5); }
  50%       { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.hero-role {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(52px, 6.5vw, 96px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.03em;
  margin-bottom: 32px;
}

.hero-title .line         { display: block; overflow: hidden; }
.hero-title .line span    { display: block; animation: slideUp .9s cubic-bezier(.16, 1, .3, 1) both; }
.hero-title .line:nth-child(2) span { animation-delay: .08s; }
.hero-title .line:nth-child(3) span { animation-delay: .16s; }

@keyframes slideUp {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted2);
  line-height: 1.8;
  max-width: 380px;
  margin-bottom: 48px;
}

.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Buttons */
.btn-fill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--bg);
  background: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: all .3s;
  border: 1px solid var(--white);
}

.btn-fill:hover { background: transparent; color: var(--white); }

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted2);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: all .3s;
}

.btn-line:hover          { color: var(--white); border-color: rgba(255,255,255,.3); }
.btn-line svg            { transition: transform .25s; }
.btn-line:hover svg      { transform: translate(3px, -3px); }

/* Hero — right column (circular photo) */
.hero-right {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  max-width: 46vw;
  max-height: 46vw;
  flex-shrink: 0;
}

.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, rgba(255,255,255,.03) 50%, rgba(255,255,255,.08) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .07);
  z-index: 0;
  animation: rotateBorder 12s linear infinite;
}

@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(10%) contrast(1.05);
  display: block;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.hero-img-label {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* Hero stats */
.hero-stats {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  gap: 40px;
  z-index: 2;
}

.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

.hero-stat-lbl {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ── SECTIONS (shared) ─────────────────────────────────── */
section { padding: 120px 48px; }

.s-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.s-label::before { content: attr(data-num); color: var(--muted); }
.s-label::after  { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── ABOUT ─────────────────────────────────────────────── */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 100%;
}

.about-heading {
  font-family: 'Tungsten', 'Outfit', sans-serif;
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.about-heading em {
  font-style: normal;
  color: var(--accent);
  display: block;
}

.about-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted2);
  line-height: 1.9;
  margin-bottom: 0;
  border-left: 2px solid rgba(200,136,255,.3);
  padding-left: 20px;
}

/* Stats grid */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.astat {
  background: var(--bg);
  padding: 32px 28px;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: background .3s;
}

.astat::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}

.astat:hover::before { transform: scaleX(1); }
.astat:hover { background: rgba(200,136,255,.03); }

.astat-n {
  font-family: 'Tungsten', 'Outfit', sans-serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.astat-l {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

/* About photo */
.about-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.about-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  pointer-events: none;
  z-index: 1;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(10%);
  transition: filter .5s, transform .6s;
}

.about-img-wrap:hover .about-img { filter: grayscale(0%); transform: scale(1.03); }

.about-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted2);
  background: rgba(10, 10, 10, .9);
  padding: 8px 14px;
  border: 1px solid var(--border);
}

/* Fallback when no image */
.about-img-wrap.no-img {
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-wrap.no-img::before {
  content: 'Add your photo in assets/images/profile.jpg';
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 20px;
  line-height: 1.6;
}

/* ── SKILLS — SERVICE ROWS ──────────────────────────────── */
.skills-bg { background: var(--bg2); }

/* Replace grid with a stacked list */
.skills-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.sk-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  grid-template-rows: auto auto;
  gap: 0 32px;
  padding: 24px 0 24px 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background .3s;
  background: transparent;
}

/* Force first-row items to align to center of their row */
.sk-num  { align-self: start; padding-top: 3px; }
.sk-main { align-self: start; }
.sk-tools { align-self: start; padding-top: 2px; }

.sk-card:hover {
  background: rgba(255,255,255,.015);
}

/* Left accent bar */
.sk-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
  border-radius: 0 2px 2px 0;
}

.sk-card:hover::before { transform: scaleY(1); }

/* Number */
.sk-num {
  grid-column: 1;
  grid-row: 1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--muted);
  transition: color .3s;
  padding-top: 0;
  margin-bottom: 0;
}

.sk-card:hover .sk-num { color: var(--accent); }

/* Name + icon row */
.sk-main {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.sk-icon {
  font-size: 22px;
  opacity: .4;
  transition: opacity .35s, transform .4s cubic-bezier(.16,1,.3,1);
  flex-shrink: 0;
  margin-bottom: 0;
}

.sk-card:hover .sk-icon {
  opacity: 1;
  transform: scale(1.2) rotate(10deg);
}

.sk-name {
  font-family: 'Tungsten', 'Outfit', sans-serif;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
  margin-bottom: 0;
}

.sk-card:hover .sk-name { transform: translateX(4px); }

/* Tools pill row — right column, row 1 */
.sk-tools {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: flex-end;
  align-items: center;
  opacity: 0;
  transition: opacity .35s;
  padding-right: 16px;
}

.sk-card:hover .sk-tools { opacity: 1; }

.sk-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid rgba(200,136,255,.3);
  color: var(--accent);
  border-radius: 100px;
  background: rgba(200,136,255,.06);
}

/* Desc — always visible, row 2, spans full width */
.sk-desc {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 13px;
  font-weight: 300;
  color: var(--muted2);
  line-height: 1.7;
  max-width: 600px;
  padding-left: 88px;
  padding-top: 6px;
  opacity: .55;
  transition: opacity .3s;
}

.sk-card:hover .sk-desc { opacity: 1; }

/* Light mode */
body.light .sk-card { background: transparent; }
body.light .sk-card:hover { background: rgba(0,0,0,.02); }
body.light .sk-tag {
  border-color: rgba(112,32,192,.25);
  color: var(--accent);
  background: rgba(112,32,192,.05);
}

/* Responsive */
@media (max-width: 768px) {
  .sk-card {
    grid-template-columns: 36px 1fr;
    gap: 0 14px;
    padding: 20px 0;
  }
  .sk-tools { display: none; }
  .sk-name  { font-size: clamp(20px, 5vw, 30px); }
}

/* ── WORK / PROJECTS — THUMBNAIL GRID ─────────────────── */

/* Section heading */
.thumb-section-hd {
  text-align: center;
  margin-bottom: 48px;
}

.thumb-section-title {
  font-family: 'Tungsten', 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.thumb-section-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted2);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* 3-column masonry grid */
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Each thumbnail card */
.thumb-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 16 / 9;
  background: var(--bg2);
  cursor: pointer;
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.16,1,.3,1), filter .4s;
  filter: brightness(.92);
}

.thumb-card:hover .thumb-img {
  transform: scale(1.06);
  filter: brightness(.6);
}

/* Overlay on hover */
.thumb-over {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}

.thumb-card:hover .thumb-over { opacity: 1; }

.thumb-cat {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.thumb-name {
  font-family: 'Tungsten', 'Barlow Condensed', sans-serif;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.thumb-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transform: translate(4px, -4px);
  transition: transform .35s cubic-bezier(.16,1,.3,1), background .3s;
}

.thumb-card:hover .thumb-arrow {
  transform: translate(0, 0);
  background: var(--accent);
}

.work-more { margin-top: 40px; text-align: center; }

.btn-ghost-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted2);
  border: 1px solid var(--border);
  padding: 12px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: all .3s;
}

.btn-ghost-pill:hover { border-color: rgba(255,255,255,.3); color: var(--white); }

/* Light mode */
body.light .thumb-card { background: var(--bg2); }
body.light .thumb-img  { filter: brightness(.96); }

/* Tablet */
@media (max-width: 1024px) {
  .thumb-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* Mobile */
@media (max-width: 768px) {
  .thumb-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .thumb-section-title { font-size: clamp(32px, 8vw, 52px); }

  /* Keep card itself clean — no overlay on mobile */
  .thumb-img  { filter: brightness(.92); }

  /* Move text below the image instead of overlaid */
  .thumb-card {
    position: relative;
    display: flex;
    flex-direction: column;
    aspect-ratio: unset;
    border-radius: 12px;
    overflow: visible;
    background: transparent;
  }
  .thumb-card .thumb-img {
    border-radius: 12px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
    height: auto;
    flex-shrink: 0;
  }
  /* Hide overlay text on mobile — show below instead */
  .thumb-card .thumb-over {
    position: static;
    opacity: 1;
    background: transparent;
    padding: 8px 2px 2px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .thumb-card .thumb-cat {
    font-size: 9px;
    color: var(--accent);
  }
  .thumb-card .thumb-name {
    font-size: clamp(13px, 3.5vw, 16px);
    color: var(--white);
    white-space: normal;
    line-height: 1.2;
  }
  /* Keep arrow inside image */
  .thumb-card .thumb-arrow {
    position: absolute;
    top: 10px;
    right: 10px;
    transform: none;
  }
}

@media (max-width: 480px) {
  .thumb-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ── VIDEO PORTRAIT CARDS ───────────────────────────────── */
.vport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.vport-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 9 / 14;
  background: #111;
}

.vport-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1), filter .4s;
  filter: brightness(.85);
}

.vport-card:hover .vport-thumb {
  transform: scale(1.05);
  filter: brightness(.55);
}

/* Top bar — channel info */
.vport-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 14px 14px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(to bottom, rgba(0,0,0,.7) 0%, transparent 100%);
}

.vport-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #000;
  flex-shrink: 0;
}

.vport-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.vport-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vport-sub {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
}

/* Red YouTube-style play button */
.vport-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ff0000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity .35s, transform .45s cubic-bezier(.16,1,.3,1), background .25s;
  box-shadow: 0 4px 24px rgba(255,0,0,.5);
}

.vport-card:hover .vport-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.vport-play:hover { background: #cc0000; }

/* Mobile */
@media (max-width: 768px) {
  .vport-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vport-card { aspect-ratio: 9 / 14; }
  .vport-play { opacity: 1; transform: translate(-50%, -50%) scale(0.85); }
}

@media (max-width: 480px) {
  .vport-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}






/* ── EXPERIENCE ACCORDION ──────────────────────────────── */
.exp-bg { background: var(--bg2); }

.exp-accordion {
  border-top: 1px solid var(--border);
}

.exp-acc-item {
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background .3s;
}

/* Left accent bar clips itself, no overflow needed on parent */
.exp-acc-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(200,136,255,.6);
  z-index: 2;
}

.exp-acc-item.open::before { transform: scaleY(1); }

/* Watermark big number */
.exp-acc-item.open::after {
  content: attr(data-index);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Tungsten', 'Outfit', sans-serif;
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 700;
  letter-spacing: -.05em;
  color: rgba(200,136,255,.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Header row */
.exp-acc-head {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  gap: 0 24px;
  align-items: center;
  padding: 32px 24px 32px 20px;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  text-align: left;
  transition: background .25s;
}

.exp-acc-head:hover { background: rgba(255,255,255,.015); }
.exp-acc-item.open .exp-acc-head { background: rgba(200,136,255,.025); }

/* Number */
.exp-acc-num {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--muted);
  transition: color .3s;
  flex-shrink: 0;
}

.exp-acc-item.open .exp-acc-num { color: var(--accent); }

/* Role + company */
.exp-acc-summary { display: flex; flex-direction: column; gap: 5px; }

.exp-acc-role {
  font-family: 'Tungsten', 'Outfit', sans-serif;
  font-size: clamp(22px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: .95;
  color: var(--white);
  transition: color .25s, transform .4s cubic-bezier(.16,1,.3,1);
}

.exp-acc-item.open .exp-acc-role {
  color: var(--white);
}

.exp-acc-co {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}

.exp-acc-item.open .exp-acc-co { color: var(--accent); }

/* Year pill */
.exp-acc-yr {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  transition: border-color .3s, color .3s, background .3s;
}

.exp-acc-item.open .exp-acc-yr {
  border-color: rgba(200,136,255,.4);
  color: var(--accent);
  background: rgba(200,136,255,.06);
}

/* Arrow */
.exp-acc-arrow {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted2);
  transition: transform .45s cubic-bezier(.16,1,.3,1), border-color .3s, color .3s, background .3s;
  flex-shrink: 0;
}

.exp-acc-item.open .exp-acc-arrow {
  transform: rotate(180deg);
  border-color: rgba(200,136,255,.4);
  color: var(--accent);
  background: rgba(200,136,255,.08);
}

/* Collapsible body */
.exp-acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s cubic-bezier(.16,1,.3,1);
}

.exp-acc-item.open .exp-acc-body { grid-template-rows: 1fr; }

.exp-acc-inner {
  overflow: hidden;
  padding-left: 20px;
  padding-bottom: 0;
  transition: padding-bottom .4s;
}

.exp-acc-item.open .exp-acc-inner { padding-bottom: 36px; }

.exp-acc-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted2);
  line-height: 1.85;
  max-width: 600px;
  padding-left: 80px;
  margin-bottom: 20px;
}

.exp-acc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 80px;
}

.exp-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 13px;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 100px;
  transition: border-color .25s, color .25s, background .25s;
}

.exp-acc-item.open .exp-tag {
  border-color: rgba(200,136,255,.25);
  color: var(--accent);
  background: rgba(200,136,255,.05);
}

/* Light mode */
body.light .exp-acc-head:hover { background: rgba(0,0,0,.02); }
body.light .exp-acc-item.open .exp-acc-head { background: rgba(112,32,192,.03); }
body.light .exp-acc-num { color: #bbb; }
body.light .exp-acc-item.open .exp-acc-num { color: var(--accent); }
body.light .exp-acc-item.open::after { color: rgba(112,32,192,.04); }

/* Responsive */
@media (max-width: 768px) {
  .exp-acc-head {
    grid-template-columns: 36px 1fr auto;
    gap: 0 12px;
    padding: 20px 0 20px 14px;
  }
  .exp-acc-yr       { display: none; }
  .exp-acc-role     { font-size: clamp(18px, 5vw, 28px); }
  .exp-acc-desc     { font-size: 14px; padding-left: 48px; }
  .exp-acc-tags     { padding-left: 48px; }
  .exp-acc-num      { font-size: 12px; }
}

@media (max-width: 480px) {
  .exp-acc-head     { grid-template-columns: 28px 1fr auto; gap: 0 10px; padding: 16px 0 16px 10px; }
  .exp-acc-desc     { padding-left: 38px; font-size: 13px; }
  .exp-acc-tags     { padding-left: 38px; }
}


/* ── REVIEW SUBMIT FORM ─────────────────────────────────── */
.review-submit-wrap {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* Subtle glow blob behind the form */
.review-submit-wrap::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(200,136,255,.07) 0%, transparent 70%);
  pointer-events: none;
}

.review-submit-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.review-submit-hd { margin-bottom: 48px; text-align: center; }

.review-submit-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.review-submit-eyebrow::before,
.review-submit-eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: .4;
}

.review-submit-title {
  font-family: 'Tungsten', 'Outfit', sans-serif;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: .95;
  margin-bottom: 16px;
  color: var(--white);
}

.review-submit-title em { font-style: normal; color: var(--accent); }

.review-submit-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted2);
  line-height: 1.7;
}

/* Form box — glassy card */
.review-form {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.light .review-form {
  background: rgba(255,255,255,.7);
  border-color: rgba(0,0,0,.08);
}

.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: end;
}

/* Field group — floating label style */
.rfg {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.rf-full { grid-column: span 2; }

.rfg label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 8px;
  display: block;
  transition: color .25s;
}

.rfg:focus-within label { color: var(--accent); }

.rf-opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  font-size: 9px;
}

.rfg input,
.rfg textarea {
  padding: 0 18px;
  height: 50px;
  background: var(--bg);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
  width: 100%;
  resize: none;
}

.rfg textarea {
  height: auto;
  min-height: 120px;
  padding: 14px 18px;
}

.rfg input::placeholder,
.rfg textarea::placeholder { color: var(--muted); opacity: .6; }

.rfg input:focus,
.rfg textarea:focus {
  border-color: rgba(200,136,255,.5);
  box-shadow: 0 0 0 4px rgba(200,136,255,.08);
  background: rgba(200,136,255,.03);
}

body.light .rfg input,
body.light .rfg textarea {
  background: #fff;
  border-color: rgba(0,0,0,.12);
  color: #0f0f0f;
}

body.light .rfg input:focus,
body.light .rfg textarea:focus {
  border-color: rgba(112,32,192,.35);
  box-shadow: 0 0 0 4px rgba(112,32,192,.06);
  background: rgba(112,32,192,.02);
}

/* Actions row (legacy, kept for safety) */
.review-form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.rf-submit-col {
  display: flex;
  flex-direction: column;
}

/* Instagram handle + submit on same row */
.rf-ig-submit-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 12px;
}

.rf-ig-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rf-ig-inner label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted2);
  transition: color .2s;
}

.rf-ig-inner:focus-within label { color: var(--accent); }

.rf-ig-inner input {
  padding: 12px 16px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}

.rf-ig-inner input:focus { border-color: rgba(255,255,255,.25); }

body.light .rf-ig-inner input {
  background: rgba(0,0,0,.04);
  color: var(--bg);
  border-color: rgba(0,0,0,.1);
}

body.light .rf-ig-inner input:focus { border-color: rgba(0,0,0,.25); }

.review-submit-btn {
  justify-content: center;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  height: 50px;
  letter-spacing: .04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.review-form-note {
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
}

.review-form-note.ok  { color: #4ade80; }
.review-form-note.err { color: #f87171; }

/* Mobile */
@media (max-width: 768px) {
  .review-form { padding: 24px 20px; }
  .review-form-grid { grid-template-columns: 1fr; gap: 16px; }
  .rf-full { grid-column: span 1; }
  .review-submit-title { font-size: clamp(32px, 9vw, 52px); }
  .rf-ig-submit-row { flex-direction: column; align-items: stretch; }
  .review-submit-btn { width: 100%; padding: 0; }
}


/* ── TESTIMONIALS MASONRY ──────────────────────────────── */

/* 3-column masonry grid */
.t-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

/* Each column stacks cards vertically */
.t-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Stagger the columns downward for a true masonry feel */
.t-col:nth-child(2) { margin-top: 40px; }
.t-col:nth-child(3) { margin-top: 80px; }

/* ── Card ── */
.tcard {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color .35s, transform .45s cubic-bezier(.16,1,.3,1),
              background .35s, box-shadow .45s cubic-bezier(.16,1,.3,1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(200,136,255,0);
  animation: tcard-float 4s ease-in-out infinite;
}

/* Stagger float timing per card position */
.t-col:nth-child(1) .tcard:nth-child(1) { animation-delay: 0s; }
.t-col:nth-child(1) .tcard:nth-child(2) { animation-delay: 0.6s; }
.t-col:nth-child(1) .tcard:nth-child(3) { animation-delay: 1.2s; }
.t-col:nth-child(2) .tcard:nth-child(1) { animation-delay: 1.8s; }
.t-col:nth-child(2) .tcard:nth-child(2) { animation-delay: 2.4s; }
.t-col:nth-child(2) .tcard:nth-child(3) { animation-delay: 3.0s; }
.t-col:nth-child(3) .tcard:nth-child(1) { animation-delay: 0.9s; }
.t-col:nth-child(3) .tcard:nth-child(2) { animation-delay: 1.5s; }
.t-col:nth-child(3) .tcard:nth-child(3) { animation-delay: 2.1s; }

@keyframes tcard-float {
  0%, 100% { transform: translateY(0px);  box-shadow: 0 4px 20px rgba(0,0,0,.2); }
  50%       { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(200,136,255,.08); }
}

.tcard::before {
  content: '\201C';
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 72px;
  line-height: 1;
  color: rgba(255,255,255,.04);
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
  transition: color .35s, transform .45s cubic-bezier(.16,1,.3,1);
}

.tcard:hover {
  border-color: rgba(200,136,255,.3);
  background: rgba(255,255,255,.06);
  animation-play-state: paused;
  transform: translateY(-14px);
  box-shadow: 0 24px 52px rgba(0,0,0,.5), 0 0 0 1px rgba(200,136,255,.18);
}

.tcard:hover::before {
  color: rgba(200,136,255,.12);
  transform: scale(1.15) translateY(-4px);
}

/* Entrance animation */
.tcard-enter {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  animation-play-state: paused;
}

.tcard-enter.tcard-in {
  opacity: 1;
  transform: translateY(0);
  animation-play-state: running;
}

/* Stars */
.tcard-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.tcard-stars svg {
  width: 12px;
  height: 12px;
  fill: var(--accent);
  opacity: .9;
}

/* Review text */
.tcard-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted2);
  line-height: 1.85;
  font-style: italic;
  flex: 1;
  margin-bottom: 24px;
}

/* Author row */
.tcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.tcard-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,136,255,.2), rgba(140,200,255,.15));
  border: 1px solid rgba(200,136,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
  letter-spacing: .02em;
}

.tcard-author-info { display: flex; flex-direction: column; gap: 3px; }

.tcard-name {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
  color: var(--white);
}

.tcard-role {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Light mode */
body.light .tcard {
  background: #ffffff;
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

body.light .tcard:hover {
  background: #faf8f5;
  border-color: rgba(112,32,192,.25);
  box-shadow: 0 20px 48px rgba(0,0,0,.1), 0 0 0 1px rgba(112,32,192,.1);
  transform: translateY(-10px);
}

body.light .tcard::before { color: rgba(0,0,0,.04); }

body.light .tcard-author { border-top-color: rgba(0,0,0,.07); }

body.light .tcard-av {
  background: rgba(112,32,192,.08);
  border-color: rgba(112,32,192,.2);
  color: var(--accent);
}

/* Tablet — 2 columns */
@media (max-width: 1024px) {
  .t-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .t-col:nth-child(2) { margin-top: 28px; }
  .t-col:nth-child(3) { display: none; }
}
@media (max-width: 768px) {
  .t-masonry {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .t-col:nth-child(2) { margin-top: 0; }
  .t-col:nth-child(3) { margin-top: 0; display: flex; }
  .tcard { padding: 22px 18px; }
  .tcard-text { font-size: 13px; margin-bottom: 18px; }
}

/* ── CONTACT ───────────────────────────────────────────── */
.contact-wrap { background: var(--bg2); }

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.contact-eyebrow::before,
.contact-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--border);
}

.contact-heading {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
  margin-bottom: 32px;
}

.contact-heading em {
  font-style: normal;
  color: var(--white);
}

.contact-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted2);
  line-height: 1.7;
  margin-bottom: 56px;
}

.contact-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.contact-socials {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.contact-socials a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .25s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-socials a:hover { color: var(--white); }

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  padding: 28px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
}

.foot-l  { font-size: 11px; font-weight: 400; letter-spacing: .06em; color: var(--muted); }
.foot-r  { font-size: 11px; font-weight: 400; letter-spacing: .06em; color: var(--muted); }

.foot-links { display: flex; gap: 24px; }

.foot-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .25s;
}

.foot-links a:hover { color: var(--white); }

/* ── SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}

.reveal.in          { opacity: 1; transform: translateY(0); }
.reveal-delay-1     { transition-delay: .1s; }
.reveal-delay-2     { transition-delay: .2s; }
.reveal-delay-3     { transition-delay: .3s; }

/* ── RESPONSIVE ────────────────────────────────────────── */

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  nav                          { padding: 22px 32px; }
  section                      { padding: 100px 32px; }
  .hero                        { padding: 0 32px; grid-template-columns: 1fr 1fr; }
  .hero-stats                  { right: 32px; }
  .hero-scroll-hint            { left: 32px; }
  .skills-grid                 { grid-template-columns: repeat(2, 1fr); }
  footer                       { padding: 24px 32px; }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
  /* Global */
  body                         { cursor: auto; }
  #cur, #cur-ring              { display: none; }
  *                            { cursor: auto !important; }

  /* Nav */
  nav                          { padding: 16px 20px; }
  .nav-links, .nav-cta         { display: none; }
  .hamburger                   { display: flex; }
  /* Hide theme toggle from nav on mobile — it moves to fixed corner */
  .nav-right #theme-toggle     { display: none; }

  /* Fixed dark mode toggle — bottom left corner */
  #theme-toggle-mobile {
    display: flex;
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 200;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--muted2);
    font-size: 14px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s, opacity .3s;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
  }

  body.light #theme-toggle-mobile {
    background: rgba(255,255,255,.9);
    border-color: rgba(0,0,0,.12);
    color: #555;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
  }

  #theme-toggle-mobile:hover {
    border-color: rgba(255,255,255,.3);
    color: var(--white);
  }

  body.light #theme-toggle-mobile:hover {
    border-color: rgba(0,0,0,.25);
    color: #111;
  }

  /* Sections */
  section                      { padding: 72px 20px; }
  .s-label                     { margin-bottom: 40px; font-size: 10px; }

  /* ── HERO ── */
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 20px 60px;
    min-height: 100svh;
    align-items: center;
  }
  .hero-left                   { padding: 0; }
  .hero-right                  { display: none; }

  .hero-badge                  { margin-bottom: 20px; font-size: 10px; }
  .hero-role                   { font-size: 11px; margin-bottom: 14px; }
  .hero-title                  { font-size: clamp(42px, 12vw, 64px); margin-bottom: 20px; line-height: 1; }
  .hero-sub                    { font-size: 14px; margin-bottom: 32px; max-width: 100%; }

  .hero-actions                { gap: 12px; }
  .btn-fill                    { padding: 13px 24px; font-size: 13px; width: 100%; justify-content: center; }
  .btn-line                    { font-size: 13px; }

  .hero-stats {
    position: static;
    margin-top: 40px;
    gap: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
  }
  .hero-stats > div            { padding: 16px 12px; border-right: 1px solid var(--border); text-align: center; }
  .hero-stats > div:last-child { border-right: none; }
  .hero-stat-num               { font-size: 22px; }
  .hero-stat-lbl               { font-size: 9px; }
  .hero-scroll-hint            { display: none; }

  /* ── ABOUT ── */
  .about-wrap                  { grid-template-columns: 1fr; gap: 40px; }
  .about-heading               { font-size: clamp(32px, 9vw, 52px); margin-bottom: 20px; }
  .about-body                  { font-size: 14px; margin-bottom: 0; }
  .astat                       { padding: 20px 16px; }
  .astat-n                     { font-size: 32px; }
  .astat-l                     { font-size: 10px; }

  /* ── SKILLS ── */
  .skills-grid                 { grid-template-columns: 1fr; }
  .sk-card                     { padding: 28px 20px; }
  .sk-name                     { font-size: 20px; }
  .sk-desc                     { font-size: 13px; }

  /* ── WORK ── */
  .proj-item { grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 14px 16px; }
  .proj-num  { display: none; }
  .proj-img-wrap { grid-column: 1 / -1; width: 100%; height: 180px; }
  .proj-title { font-size: clamp(18px, 5vw, 22px); }
  .proj-desc  { opacity: 1; transform: none; }
  .proj-cat   { opacity: 1; transform: none; }

  /* ── EXPERIENCE ── */
  .exp-acc-head { padding: 20px 0 20px 14px; gap: 0 14px; }
  .exp-acc-role { font-size: clamp(16px, 4.5vw, 20px); }
  .exp-acc-yr   { display: none; }

  /* ── REVIEW FORM — handled in component block ── */

  /* ── TESTIMONIALS ── */
  .tcard                       { padding: 22px 18px; }
  .tcard-text                  { font-size: 13px; margin-bottom: 18px; }

  /* ── CONTACT ── */
  .contact-wrap                { padding: 72px 20px; }
  .contact-heading             { font-size: clamp(36px, 12vw, 64px); margin-bottom: 20px; }
  .contact-sub                 { font-size: 14px; margin-bottom: 36px; }
  .contact-btns                { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 40px; }
  .btn-fill, .btn-ghost-pill   { width: 100%; justify-content: center; }
  .contact-socials             { gap: 16px; flex-wrap: wrap; }
  .contact-socials a           { font-size: 10px; }

  /* ── FOOTER ── */
  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px 20px;
  }
  .foot-links                  { justify-content: center; gap: 20px; }
  .foot-r                      { display: none; }

  /* ── BACK TO TOP ── */
  #btt                         { bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: 15px; }
}

/* Small mobile ≤ 480px */
@media (max-width: 480px) {
  nav                          { padding: 14px 16px; }
  section                      { padding: 60px 16px; }
  .hero                        { padding: 100px 16px 48px; }
  .hero-title                  { font-size: clamp(38px, 13vw, 56px); }
  .hero-sub                    { font-size: 13px; }
  .about-heading               { font-size: clamp(28px, 10vw, 44px); }
  .sk-card                     { padding: 24px 16px; }
  .tcard                       { padding: 24px 16px; }
  .contact-heading             { font-size: clamp(32px, 13vw, 52px); }
  .exp-role                    { font-size: 16px; }
  footer                       { padding: 20px 16px; }
}

/* Very small ≤ 360px */
@media (max-width: 360px) {
  .hero-title                  { font-size: clamp(34px, 14vw, 48px); }
  .hero-stats                  { grid-template-columns: repeat(3, 1fr); }
  .hero-stat-num               { font-size: 18px; }
  .about-heading               { font-size: clamp(26px, 11vw, 38px); }
  .contact-heading             { font-size: clamp(28px, 14vw, 44px); }
  .mob-nav a                   { font-size: clamp(28px, 9vw, 40px); padding: 10px 0; }
}

/* ── TECH STACK ────────────────────────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.tech-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  z-index: 1;
}

.tech-card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(255,255,255,0.01) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.tech-card:hover .tech-card-bg {
  opacity: 1;
}

/* After Effects — #00005B purple */
.tech-card[data-color="ae"]:hover {
  border-color: #00005B;
}
/* Photoshop — #31A8FF blue */
.tech-card[data-color="photoshop"]:hover {
  border-color: rgba(49, 168, 255, 0.5);
}
/* Figma — #F24F1D orange */
.tech-card[data-color="figma"]:hover {
  border-color: #F24F1D;
}
/* CapCut — white glow */
.tech-card[data-color="capcut"]:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.tech-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  position: relative;
}

.tech-logo {
  flex-shrink: 0;
  transition: transform 0.3s;
}
.tech-logo-fig {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #141416;
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, border-color 0.3s;
}

.tech-card:hover .tech-logo,
.tech-card:hover .tech-logo-fig {
  transform: scale(1.08);
}
.tech-card[data-color="figma"]:hover .tech-logo-fig {
  border-color: #ff7262;
}

.tech-title-wrap {
  flex: 1;
}

.tech-name {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.tech-type {
  font-size: 11px;
  color: var(--muted2);
}

.tech-mastery {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  padding: 4px 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.tech-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted2);
  line-height: 1.6;
  margin-bottom: 20px;
  height: 60px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tech-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}

.tech-progress-fill {
  height: 100%;
  background: var(--muted2);
  border-radius: 2px;
  width: 0;
  transition: width 1s ease-in-out;
}

.tech-card[data-color="ae"] .tech-progress-fill { background: #00005B; }
.tech-card[data-color="photoshop"] .tech-progress-fill { background: #31A8FF; }
.tech-card[data-color="figma"] .tech-progress-fill { background: #ff7262; }
.tech-card[data-color="capcut"] .tech-progress-fill { background: #ffffff; }

/* ── VIDEO WORK ────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.vcard-video-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  cursor: pointer;
}

.vcard-video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.vcard-video-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.vcard-video-el {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  filter: grayscale(40%);
  transition: opacity 0.5s, filter 0.5s, transform 0.7s cubic-bezier(.16,1,.3,1);
  position: relative;
  z-index: 1;
}

.vcard-video-card:hover .vcard-video-el {
  filter: grayscale(0%);
  transform: scale(1.04);
}

/* When video is actually playing, show it over thumbnail */
.vcard-video-card.video-playing .vcard-video-el {
  opacity: 0.95;
}

/* Drive folder thumbnail placeholder */
.vcard-drive-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, #0d0d10 0%, #1a1a22 100%);
  color: var(--muted2);
  position: absolute;
  inset: 0;
}

.vcard-drive-thumb--hidden {
  display: none;
}

.vcard-drive-thumb span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 0 20px;
}

/* Thumbnail image — shown when video can't load */
.vcard-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
  filter: grayscale(20%);
  transition: opacity 0.5s, filter 0.5s, transform 0.7s cubic-bezier(.16,1,.3,1);
  z-index: 0;
}

.vcard-thumb-img.hidden {
  display: none;
}

.vcard-video-card:hover .vcard-thumb-img {
  opacity: 0.9;
  filter: grayscale(0%);
  transform: scale(1.04);
}

/* When video is playing on hover, hide thumbnail */
.vcard-video-card.video-playing .vcard-thumb-img {
  opacity: 0;
}

.vcard-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, transparent 55%);
  transition: opacity 0.4s;
}

.vcard-play-icon { display: none; }


.vcard-video-card:hover .vcard-play-icon {
  transform: scale(1.1);
  background-color: var(--white);
  border-color: var(--white);
  color: var(--bg);
}

.vcard-video-body {
  padding: 24px;
}

.vcard-video-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 8px;
}

.vcard-video-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--white);
}

.vcard-video-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted2);
  line-height: 1.6;
  margin-bottom: 20px;
}

.vcard-video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vcard-video-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--muted2);
  border-radius: 100px;
  transition: all 0.3s;
}

.vcard-video-card:hover .vcard-video-tag {
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}

/* ── VIDEO LIGHTBOX MODAL ──────────────────────────────── */
.vid-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.vid-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.vid-lightbox-bg {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.vid-lightbox-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 28px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9910;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.vid-lightbox-close:hover {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--bg);
  transform: rotate(90deg);
}

.vid-lightbox-content {
  width: 90%;
  max-width: 1100px;
  position: relative;
  z-index: 9905;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vid-lightbox.active .vid-lightbox-content {
  transform: scale(1);
}

.vid-lightbox-title { display: none; }

.vid-lightbox-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vid-lightbox-frame video {
  width: 100%;
  height: 100%;
  display: block;
}

.vid-lightbox-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.vid-lightbox-loader {
  position: absolute;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 2;
}

.vid-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

/* ── RESPONSIVE OVERRIDES ──────────────────────────────── */
@media (max-width: 768px) {
  /* Video grid — single column */
  .video-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  /* Disable hover lift on touch */
  .vcard-video-card:hover {
    transform: none;
    box-shadow: none;
  }

  /* Video element always visible on mobile */
  .vcard-video-el {
    opacity: 0.85;
    filter: none;
  }

  /* Bigger play button for touch */
  .vcard-play-icon {
    width: 64px;
    height: 64px;
  }

  .vcard-play-icon svg {
    width: 26px;
    height: 26px;
  }

  /* Card body padding */
  .vcard-video-body {
    padding: 16px;
  }

  .vcard-video-title {
    font-size: 18px;
  }

  /* Lightbox full screen on mobile */
  .vid-lightbox-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .vid-lightbox-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    border-radius: 0;
  }

  .vid-lightbox-title {
    font-size: 16px;
    padding: 12px 16px;
  }

  .tech-desc {
    height: auto;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }
}
