/* ═══════════════════════════════════════════════════════════
   AREEBA HAFEEZ — EDITORIAL B&W PORTFOLIO
   Inspired by: Balasagar aesthetic
   Fonts: Space Grotesk (display) + Inter (body)
   ═══════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --black:    #0A0A0A;
  --black-2:  #111111;
  --black-3:  #1A1A1A;
  --dark:     #222222;
  --mid:      #444444;
  --muted:    #777777;
  --light:    #AAAAAA;
  --border:   #2A2A2A;
  --white:    #FFFFFF;
  --off-white:#F2F2F2;
  --cream:    #E8E4DC;
  --accent:   #FFFFFF;   /* pure white accent on black */

  --display: 'Space Grotesk', system-ui, sans-serif;
  --body:    'Inter', system-ui, sans-serif;

  --t: 0.35s;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --w: 1280px;
}

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

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--black);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ── SHARED SECTION LABELS ── */
.section-eyebrow {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1.5px;
  background: var(--muted);
}
.section-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 0;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  padding: 15px 32px;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: 2px solid var(--black);
  transition: all var(--t) var(--ease);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--white);
  color: var(--black);
}
.btn-cv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--black);
  border-bottom: 1.5px solid var(--black);
  padding-bottom: 2px;
  transition: opacity var(--t);
}
.btn-cv:hover { opacity: 0.5; }
.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--black);
  border-bottom: 1.5px solid var(--black);
  padding-bottom: 2px;
  transition: opacity var(--t);
  margin-top: 1.5rem;
}
.btn-explore:hover { opacity: 0.5; }
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 15px 32px;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: 2px solid rgba(255,255,255,0.35);
  transition: all var(--t) var(--ease);
}
.btn-outline-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  border-bottom: 1.5px solid #e5e5e5;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--t);
}
.nav.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}
.nav-wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-logo-box {
  width: 34px; height: 34px;
  background: var(--black);
  color: var(--white);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--black);
}
.nav-logo-text span { color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.nav-link {
  padding: 5px 14px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color var(--t);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 14px; right: 14px;
  height: 1.5px;
  background: var(--black);
  transform: scaleX(0);
  transition: transform var(--t) var(--ease);
}
.nav-link:hover { color: var(--black); }
.nav-link.active { color: var(--black); }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--black);
  color: var(--white);
  padding: 9px 20px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: all var(--t) var(--ease);
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--dark); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  margin-left: auto;
}
.nav-burger span { display: block; height: 2px; background: var(--black); border-radius: 1px; transition: all var(--t) var(--ease); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: rotate(-45deg); }

.nav-mobile {
  display: none;
  background: var(--white);
  border-top: 1px solid #e5e5e5;
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nm-link {
  display: block;
  padding: 13px 0;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid #e5e5e5;
  transition: color var(--t);
}
.nm-link:hover { color: var(--black); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--white);
  border-bottom: 1.5px solid #e5e5e5;
  padding-top: 68px;
  overflow: hidden;
}

.hero-left {
  padding: 6rem 3rem 6rem 4rem;
  max-width: 640px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--black);
  display: inline-block;
}
.hero-intro {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: 1.75rem;
}
.hero-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-title-icon {
  display: flex;
  flex-shrink: 0;
}
.hero-title-icon svg { width: 52px; height: 52px; }
.hero-desc {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-style: italic;
  max-width: 460px;
}
.hero-desc u { text-decoration-color: var(--black); }
.hero-desc strong { color: var(--black); font-style: normal; }
.hero-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
}
.hero-pillar {
  display: flex;
  gap: 10px;
}
.pillar-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--black);
  flex-shrink: 0;
  margin-top: 5px;
}
.hero-pillar strong {
  display: block;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--black);
  margin-bottom: 4px;
}
.hero-pillar p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Hero Right */
.hero-right {
  position: relative;
  height: 100%;
  min-height: 100vh;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-left: 1.5px solid #e5e5e5;
}
.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ink brush SVG */
.hero-brush {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Portrait */
.hero-portrait {
  position: relative;
  z-index: 2;
  width: 340px;
  height: 440px;
  bottom: -20px;
}
.portrait-placeholder {
  width: 100%; height: 100%;
  overflow: hidden;
}
.portrait-placeholder svg { width: 100%; height: 100%; }
/* Real photo: */
.portrait-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Floating Icons */
.float-icon {
  position: absolute;
  z-index: 3;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  animation: floatBob 4s ease-in-out infinite alternate;
}
.float-icon svg { width: 56px; height: 56px; }

.fi-clapboard  { top: 14%;  left: 8%;   animation-delay: 0s;    animation-duration: 5s; }
.fi-filmstrip  { top: 20%;  right: 6%;  animation-delay: -1.2s; animation-duration: 4.5s; }
.fi-scissors   { top: 55%;  left: 5%;   animation-delay: -2.5s; animation-duration: 6s; }
.fi-pr         { bottom: 28%; left: 12%; animation-delay: -0.8s; animation-duration: 5.5s; }
.fi-ae         { bottom: 22%; right: 8%; animation-delay: -3s;   animation-duration: 4s; }
.fi-capcut     { top: 40%;  right: 8%;  animation-delay: -1.8s; animation-duration: 5s; }

@keyframes floatBob {
  from { transform: translateY(0px) rotate(-2deg); }
  to   { transform: translateY(-12px) rotate(2deg); }
}

/* Business card */
.float-card {
  position: absolute;
  bottom: 18%; right: 4%;
  z-index: 4;
  background: var(--white);
  border: 1.5px solid #e5e5e5;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 170px;
  animation: floatBob 6s ease-in-out infinite alternate;
  animation-delay: -4s;
}
.fc-inner { display: flex; flex-direction: column; gap: 3px; }
.fc-title {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--black);
}
.fc-sub {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ═══════════════════════════════════════
   STATS BAR
═══════════════════════════════════════ */
.stats-bar {
  background: var(--black);
  border-bottom: 1px solid var(--border);
}
.stats-bar-inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: stretch;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 3rem 3.5rem;
  flex: 1;
  position: relative;
  transition: background var(--t);
}
.stat-item:hover { background: var(--black-3); }
.stat-icon { width: 22px; height: 22px; color: var(--muted); flex-shrink: 0; }
.stat-num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-label {
  font-family: var(--display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  background: var(--border);
  margin: 2rem 0;
  flex-shrink: 0;
}

/* ── Social strip ── */
.hero-strip {
  background: var(--off-white);
  border-bottom: 1.5px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 2rem;
  max-width: 100%;
}
.strip-left { display: flex; gap: 1.5rem; }
.strip-link {
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color var(--t);
}
.strip-link:hover { color: var(--black); }
.strip-right { }

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.about {
  border-bottom: 1.5px solid #e5e5e5;
}
.about-inner {
  max-width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.about-left {
  padding: 7rem 4rem 7rem 2rem;
  border-right: 1.5px solid #e5e5e5;
  display: flex;
  align-items: flex-start;
  padding-left: 3rem;
}
.about-heading {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--black);
  position: sticky;
  top: 120px;
}
.about-right {
  padding: 7rem 3rem 7rem 4rem;
}
.about-eyebrow {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.about-body {
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-family: var(--body);
}
.about-body strong { color: var(--black); font-weight: 700; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.about-tags span {
  padding: 6px 14px;
  border: 1.5px solid #d5d5d5;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--mid);
  transition: all var(--t);
}
.about-tags span:hover { border-color: var(--black); color: var(--black); }

/* ═══════════════════════════════════════
   CHANNELS
═══════════════════════════════════════ */
.channels {
  background: var(--black);
  border-bottom: 1px solid var(--border);
}
.channels-inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: 6rem 2rem;
}
.channels-header { margin-bottom: 4rem; }
.channels-header .section-eyebrow { color: var(--muted); }
.channels-header .section-eyebrow::before { background: var(--muted); }
.channels-header .section-title { color: var(--white); }

.channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.channel-card {
  background: var(--black-2);
  padding: 3rem;
  transition: background var(--t);
  animation-delay: var(--delay);
}
.channel-card:hover { background: var(--black-3); }
.channel-card-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.channel-avatar {
  width: 56px; height: 56px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
}
.channel-avatar svg { width: 56px; height: 56px; }
.channel-meta { flex: 1; }
.channel-name {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.channel-type {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.channel-duration {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  border: 1px solid var(--border);
  padding: 5px 12px;
  flex-shrink: 0;
}
.channel-desc {
  font-size: 0.92rem;
  color: var(--light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2rem;
}
.channel-tags span {
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  transition: all var(--t);
}
.channel-tags span:hover { border-color: var(--white); color: var(--white); }
.channel-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  gap: 1rem;
}
.ch-stat { display: flex; flex-direction: column; gap: 3px; }
.ch-stat-num {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.ch-stat-label {
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════
   EXPERIENCE
═══════════════════════════════════════ */
.experience {
  background: var(--white);
  border-bottom: 1.5px solid #e5e5e5;
}
.exp-inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: 6rem 2rem;
}
.exp-header { margin-bottom: 4rem; }
.exp-timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.exp-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  padding: 3rem 0 3rem 2rem;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  transition: background var(--t);
  animation-delay: var(--delay);
}
.exp-item:last-child { border-bottom: none; }
.exp-item:hover { background: var(--off-white); }
.exp-item-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding-top: 6px;
}
.exp-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--black);
  position: absolute;
  left: -9px;
  top: 3.25rem;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--black);
}
.exp-duration {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.exp-item-right { }
.exp-type {
  display: block;
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.exp-role {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}
.exp-desc {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.exp-tags span {
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--mid);
  border: 1px solid #d5d5d5;
  padding: 4px 10px;
}

/* ═══════════════════════════════════════
   SKILLS
═══════════════════════════════════════ */
.skills {
  background: var(--off-white);
  border-bottom: 1.5px solid #e5e5e5;
}
.skills-inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: 6rem 2rem;
}
.skills-header { margin-bottom: 4rem; }
.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.skill-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #ddd;
  transition-delay: calc(var(--i) * 0.06s);
}
.skill-label-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.skill-num {
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 700;
  color: #ccc;
  letter-spacing: 0.08em;
}
.skill-name {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--black);
}
.skill-bar-track {
  flex: 1;
  height: 3px;
  background: #ddd;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  width: var(--w);
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(0.4,0,0.2,1);
  transition-delay: calc(var(--i) * 0.08s + 0.2s);
}
.skill-row.visible .skill-bar-fill { transform: scaleX(1); }
.skill-pct {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mid);
  min-width: 36px;
  text-align: right;
}

/* Tools */
.tools-panel { }
.tools-label {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tools-label::before { content: ''; display: block; width: 24px; height: 1.5px; background: var(--muted); }
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #ddd;
  border: 1px solid #ddd;
}
.tool-card {
  background: var(--white);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: background var(--t);
  animation-delay: var(--delay);
}
.tool-card:hover { background: var(--black); }
.tool-card:hover .tool-name { color: var(--white); }
.tool-card:hover .tool-level { color: var(--muted); }
.tool-logo { width: 64px; height: 64px; flex-shrink: 0; }
.tool-logo svg { width: 64px; height: 64px; }
.tool-info { display: flex; flex-direction: column; gap: 5px; }
.tool-name {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  transition: color var(--t);
}
.tool-level {
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color var(--t);
}

/* ═══════════════════════════════════════
   WORK
═══════════════════════════════════════ */
.work { background: var(--white); border-bottom: 1.5px solid #e5e5e5; }
.work-inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: 6rem 2rem;
}
.work-header { margin-bottom: 4rem; }
.work-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1rem;
  font-family: var(--body);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: #e5e5e5;
  border: 1px solid #e5e5e5;
}
.work-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: background var(--t);
}
.work-card:hover { background: var(--off-white); }
.work-card--wide { grid-column: span 2; }

.wc-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.work-card--wide .wc-thumb { aspect-ratio: 16/8; }
.wc-placeholder { position: absolute; inset: 0; }
.wc-placeholder svg { width: 100%; height: 100%; display: block; }
/* Real image: */
.wc-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.wc-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0);
  transition: background var(--t);
}
.work-card:hover .wc-overlay { background: rgba(0,0,0,0.5); }
.wc-play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.75);
  transition: all var(--t) var(--ease);
  padding-left: 3px;
}
.work-card:hover .wc-play { opacity: 1; transform: scale(1); }
.wc-channel-badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.65);
  padding: 4px 10px;
  backdrop-filter: blur(6px);
}
.wc-meta {
  padding: 1.5rem;
  border-top: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.wc-cat {
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.wc-title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  flex: 1;
  letter-spacing: -0.01em;
}
.wc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 0.5rem;
  transition: color var(--t);
  align-self: flex-start;
}
.wc-link:hover { color: var(--black); }
.wc-link svg { transition: transform var(--t); }
.wc-link:hover svg { transform: translate(2px,-2px); }

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
.services { background: var(--off-white); border-bottom: 1.5px solid #e5e5e5; }
.services-inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: 6rem 2rem;
}
.services-header { margin-bottom: 4rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: #ddd;
  border: 1px solid #ddd;
}
.svc-card {
  background: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition: background var(--t);
  animation-delay: var(--delay);
  border-bottom: 3px solid transparent;
}
.svc-card:hover { background: var(--black); border-bottom-color: var(--white); }
.svc-card:hover .svc-name { color: var(--white); }
.svc-card:hover .svc-desc { color: var(--light); }
.svc-card:hover .svc-num { color: var(--muted); }
.svc-card:hover .svc-icon { color: var(--white); }
.svc-card:hover .svc-arrow { color: var(--white); }
.svc-num {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ccc;
  transition: color var(--t);
}
.svc-icon {
  width: 28px; height: 28px;
  color: var(--black);
  transition: color var(--t);
  margin-bottom: 0.5rem;
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-name {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
  transition: color var(--t);
}
.svc-desc {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.7;
  flex: 1;
  transition: color var(--t);
}
.svc-arrow {
  align-self: flex-end;
  font-size: 1.25rem;
  color: var(--muted);
  transition: all var(--t);
  line-height: 1;
  margin-top: auto;
}
.svc-card:hover .svc-arrow { transform: translate(3px,-3px); }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact { background: var(--black); }
.contact-inner {
  max-width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.contact-left {
  padding: 6rem 4rem 6rem 2rem;
  border-right: 1px solid var(--border);
}
.contact-left .section-eyebrow { color: var(--muted); }
.contact-left .section-eyebrow::before { background: var(--muted); }
.contact-heading {
  font-family: var(--display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.contact-dot { color: var(--white); opacity: 0.4; }
.contact-sub {
  font-size: 0.97rem;
  color: var(--light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.contact-details { display: flex; flex-direction: column; gap: 0; margin-bottom: 2.5rem; }
.cd-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
  padding-right: 1rem;
}
a.cd-item:hover { margin-left: -1rem; padding-left: 1rem; background: var(--black-2); }
.cd-label {
  font-family: var(--display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  min-width: 70px;
}
.cd-value {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  flex: 1;
  transition: color var(--t);
}
a.cd-item:hover .cd-value { color: #ccc; }
.cd-arrow { color: var(--muted); font-size: 0.9rem; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Contact right - Big badge */
.contact-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}
.contact-badge {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badgeSpin 20s linear infinite;
  position: relative;
}
@keyframes badgeSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.cb-inner {
  text-align: center;
  animation: badgeSpinReverse 20s linear infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
@keyframes badgeSpinReverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
.cb-title {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.04em;
  line-height: 1;
}
.cb-sub {
  font-family: var(--display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--mid);
  text-transform: uppercase;
}
.cb-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--black-2);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo-box {
  width: 34px; height: 34px;
  background: var(--white);
  color: var(--black);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.footer-name {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
}
.footer-sub {
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 0; }
.footer-nav a {
  padding: 4px 12px;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color var(--t);
}
.footer-nav a:hover { color: var(--white); }
.footer-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.footer-copy span {
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 60vh; border-left: none; border-top: 1.5px solid #e5e5e5; }
  .hero-left { padding: 5rem 2rem 3rem; }
  .about-inner { grid-template-columns: 1fr; }
  .about-left { border-right: none; border-bottom: 1.5px solid #e5e5e5; padding: 4rem 2rem; }
  .about-left .about-heading { position: static; }
  .about-right { padding: 4rem 2rem; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-left { border-right: none; padding: 4rem 2rem; }
  .contact-right { padding: 3rem 2rem; }
}

@media (max-width: 900px) {
  .channels-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card--wide { grid-column: span 2; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .skills-layout { grid-template-columns: 1fr; gap: 3rem; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar-inner { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; padding: 2rem; }
  .stat-divider { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card--wide { grid-column: span 1; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 3.5rem; }
  .hero-pillars { grid-template-columns: 1fr; }
  .float-icon svg { width: 44px; height: 44px; }
  .exp-item { grid-template-columns: 1fr; gap: 1rem; }
  .exp-item-left { flex-direction: row; align-items: center; }
}

@media (max-width: 520px) {
  .hero-title { font-size: 3rem; }
  .about-heading { font-size: 2.8rem; }
  .section-title { font-size: 2.2rem; }
  .stat-item { flex: 0 0 100%; }
  .strip-right { display: none; }
  .footer-copy { align-items: flex-start; }
  .tools-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .skill-bar-fill { transform: scaleX(1); }
}

/* ── ADDITIONAL: project card description ── */
.wc-desc {
  font-size: 0.78rem;
  color: var(--mid);
  line-height: 1.6;
  margin-top: 2px;
}

/* ── Portrait image real photo fix ── */
.hero-portrait {
  position: relative;
  z-index: 2;
  width: 340px;
  height: 440px;
  bottom: -20px;
  overflow: hidden;
}
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ── Remove old placeholder when real image present ── */
.portrait-img ~ .portrait-placeholder { display: none; }

/* ── Channel name clickable links ── */
.channel-name-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.channel-name-link:hover { color: #ffffff; text-decoration: underline; }

.exp-role-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.exp-role-link:hover { color: #111; text-decoration: underline; }

/* ── Real YouTube thumbnail image ── */
.wc-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; background: #0a0a0a; }
.work-card--wide .wc-thumb { aspect-ratio: 16/8; }
.wc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.work-card:hover .wc-img { transform: scale(1.04); }
