/* =========================================================
   DANISH AHMAD — Portfolio Website
   Theme: Minimal Light + Glass
   ========================================================= */

:root {
  --bg-base: #f6f3ee;
  --bg-soft: #fbf9f5;
  --bg-grad-1: #fff5e6;
  --bg-grad-2: #e9f3f1;
  --bg-grad-3: #f3e9f0;

  --ink: #1a1d2e;
  --ink-soft: #4a5160;
  --ink-mute: #7a8090;
  --line: rgba(15, 20, 35, 0.08);

  --gold: #c97a1a;
  --gold-soft: #f3c97a;
  --teal: #0e6b63;
  --teal-soft: #7fcfc6;
  --pink: #d8467b;
  --plum: #5b3a8a;

  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-edge: rgba(255, 255, 255, 0.7);

  --shadow-sm: 0 4px 20px -8px rgba(15, 20, 35, 0.12);
  --shadow-md: 0 18px 50px -20px rgba(15, 20, 35, 0.22);
  --shadow-lg: 0 30px 80px -28px rgba(15, 20, 35, 0.28);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;

  --serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg-base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

/* =========================================================
   ANIMATED BACKGROUND — floating geometric shapes + gradient
   ========================================================= */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(900px 700px at 12% 8%, var(--bg-grad-1) 0%, transparent 60%),
    radial-gradient(800px 700px at 88% 30%, var(--bg-grad-2) 0%, transparent 60%),
    radial-gradient(900px 800px at 50% 95%, var(--bg-grad-3) 0%, transparent 65%),
    var(--bg-base);
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  will-change: transform;
}

.shape-1 {
  width: 280px; height: 280px;
  top: 8%; left: 6%;
  background: linear-gradient(135deg, var(--gold-soft), transparent 70%);
  border-radius: 36% 64% 49% 51% / 38% 41% 59% 62%;
  animation: floatA 22s ease-in-out infinite;
}
.shape-2 {
  width: 360px; height: 360px;
  top: 35%; right: -4%;
  background: linear-gradient(225deg, var(--teal-soft), transparent 75%);
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  animation: floatB 28s ease-in-out infinite;
}
.shape-3 {
  width: 220px; height: 220px;
  bottom: 12%; left: 14%;
  background: linear-gradient(135deg, #f4b8d6, transparent 70%);
  border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%;
  animation: floatC 25s ease-in-out infinite;
}
.shape-4 {
  width: 180px; height: 180px;
  top: 60%; left: 48%;
  background: linear-gradient(135deg, #d4c0f5, transparent 70%);
  border-radius: 50%;
  animation: floatA 30s ease-in-out infinite reverse;
}
.shape-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(15, 20, 35, 0.12);
  animation: spin 60s linear infinite;
}
.shape-ring.r1 { width: 320px; height: 320px; top: 14%; right: 10%; }
.shape-ring.r2 { width: 460px; height: 460px; bottom: 6%; right: 28%; animation-duration: 90s; }

.shape-cube {
  position: absolute;
  width: 90px; height: 90px;
  background: linear-gradient(135deg, rgba(255,255,255,0.65), rgba(255,255,255,0.25));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.shape-cube.c1 { top: 20%; right: 22%; transform: rotate(18deg); animation: floatTilt 14s ease-in-out infinite; }
.shape-cube.c2 { bottom: 20%; left: 6%; width: 60px; height: 60px; transform: rotate(-12deg); animation: floatTilt 18s ease-in-out infinite reverse; }
.shape-cube.c3 { top: 70%; right: 8%; width: 70px; height: 70px; transform: rotate(28deg); animation: floatTilt 16s ease-in-out infinite; }

.shape-tri {
  position: absolute;
  width: 0; height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(201, 122, 26, 0.18);
  top: 8%; right: 35%;
  animation: floatTilt 20s ease-in-out infinite;
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%     { transform: translate(40px, -30px) scale(1.06); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%     { transform: translate(-50px, 40px) scale(0.95); }
}
@keyframes floatC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%     { transform: translate(30px, 25px) scale(1.08); }
}
@keyframes floatTilt {
  0%, 100% { transform: translate(0, 0) rotate(var(--rot, 0deg)); }
  50%     { transform: translate(0, -22px) rotate(calc(var(--rot, 0deg) + 8deg)); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1180px;
  z-index: 100;
  background: var(--glass-strong);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  padding: 12px 20px 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  box-shadow: 0 0 0 4px rgba(216, 70, 123, 0.12);
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
}
.nav-links a:hover { background: rgba(15, 20, 35, 0.05); color: var(--ink); }
.nav-links a.active {
  background: var(--ink);
  color: #fff;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), #b8651a);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 22px -8px rgba(201, 122, 26, 0.55);
  transition: transform 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.25s; border-radius: 2px; }

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
section { padding: 110px 0 60px; position: relative; }
section.compact { padding: 60px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-edge);
  margin-bottom: 22px;
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; color: var(--ink); }
h1 { font-size: clamp(42px, 6vw, 78px); }
h2 { font-size: clamp(32px, 4.5vw, 54px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }

p.lead { font-size: 18px; color: var(--ink-soft); max-width: 620px; }
p { color: var(--ink-soft); }

.italic { font-family: var(--serif); font-style: italic; color: var(--gold); }
.underline-grad {
  background: linear-gradient(120deg, transparent 0 6%, rgba(216, 70, 123, 0.22) 6% 92%, transparent 92%);
  background-size: 100% 38%;
  background-repeat: no-repeat;
  background-position: 0 78%;
}

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head .row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-meta { font-size: 14px; color: var(--ink-mute); display: flex; align-items: center; gap: 8px; }
.section-meta .pill { background: var(--glass); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--glass-edge); }

/* =========================================================
   GLASS CARD
   ========================================================= */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.glass-strong {
  background: var(--glass-strong);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-edge);
}

/* =========================================================
   HOME — HERO
   ========================================================= */
.hero {
  padding-top: 150px;
  padding-bottom: 70px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-edge);
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 26px;
  font-weight: 500;
}
.hero-tag .live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 107, 99, 0.18);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(14, 107, 99, 0.18); }
  50%     { box-shadow: 0 0 0 8px rgba(14, 107, 99, 0.05); }
}

.hero h1 .accent { color: var(--gold); font-style: italic; font-weight: 400; }
.hero p.lead { margin-top: 22px; font-size: 19px; }
.hero-meta {
  margin-top: 38px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-meta .stat { }
.hero-meta .num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--ink);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}
.hero-meta .lbl { font-size: 13px; color: var(--ink-mute); }

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.btn-primary, .btn-ghost {
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: var(--sans);
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(15, 20, 35, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(15, 20, 35, 0.45); }
.btn-ghost {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-edge);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--glass-strong); }

/* Hero portrait */
.hero-visual { position: relative; }
.portrait-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #2c2417 0%, #0d2421 50%, #1a1d2e 100%);
}
.portrait-wrap img,
.portrait-wrap svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portrait-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(201, 122, 26, 0.25), transparent 70%);
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%     { opacity: 1; transform: scale(1.08); }
}

.portrait-badge {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.portrait-badge .ico {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
}
.portrait-badge .txt small { font-size: 11px; color: var(--ink-mute); display: block; text-transform: uppercase; letter-spacing: 0.1em; }
.portrait-badge .txt strong { font-size: 14px; color: var(--ink); }

/* Floating mini-cards around portrait */
.float-card {
  position: absolute;
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-edge);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatTilt 6s ease-in-out infinite;
}
.float-card .emoji {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #fff, #f0eae0);
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 16px;
}
.float-card.fc-1 { top: 8%; left: -28px; animation-delay: -2s; }
.float-card.fc-2 { bottom: 28%; right: -32px; animation-delay: -4s; }
.float-card.fc-3 { top: 42%; right: -50px; animation-delay: -1s; }

/* =========================================================
   MARQUEE STRIP
   ========================================================= */
.marquee {
  margin: 30px 0 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.35);
}
.marquee-track {
  display: flex;
  gap: 56px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
}
.marquee span {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee span::after {
  content: '✦';
  color: var(--gold);
  font-size: 16px;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* =========================================================
   VIDEO GRID
   ========================================================= */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.video-grid.featured-grid { grid-template-columns: 1.5fr 1fr; }
.video-grid.shorts-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; }

.vcard {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-edge);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: block;
  text-decoration: none;
  color: inherit;
}
.vcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.vcard-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.vcard.short .vcard-thumb { aspect-ratio: 9/16; }

.vcard-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.vcard:hover .vcard-thumb img { transform: scale(1.06); }

.vcard-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transition: transform 0.3s ease;
  z-index: 2;
}
.vcard:hover .play-btn { transform: translate(-50%, -50%) scale(1.12); }
.play-btn::after {
  content: '';
  width: 0; height: 0;
  border-left: 18px solid var(--ink);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 5px;
}

.vcard-meta {
  padding: 16px 18px 18px;
}
.vcard-meta .tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}
.vcard-meta h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 6px;
}
.vcard-meta p {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.5;
}

.vcard.highlighted {
  border: 2px solid transparent;
  background: linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box,
              linear-gradient(135deg, var(--gold), var(--pink), var(--teal)) border-box;
  box-shadow: 0 18px 50px -16px rgba(216, 70, 123, 0.35);
}
.vcard.highlighted::before {
  content: '★ Highlighted';
  position: absolute;
  top: 14px; right: 14px;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  color: #fff;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.06em;
  z-index: 3;
  box-shadow: 0 8px 18px -4px rgba(216, 70, 123, 0.45);
}

.vcard.featured {
  grid-column: span 1;
}
.vcard.featured .vcard-meta h4 { font-size: 24px; }
.vcard.featured .vcard-thumb { aspect-ratio: 16/10; }

.vcard.short .vcard-meta { padding: 12px 14px 14px; }
.vcard.short .vcard-meta h4 { font-size: 14px; }
.vcard.short .vcard-meta p { display: none; }
.vcard.short .play-btn { width: 50px; height: 50px; }
.vcard.short .play-btn::after { border-left-width: 14px; border-top-width: 8px; border-bottom-width: 8px; margin-left: 4px; }

/* =========================================================
   STORY SECTION (Home)
   ========================================================= */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.story-card {
  padding: 40px;
  border-radius: var(--radius-lg);
}
.story h2 { margin-bottom: 24px; }

/* =========================================================
   LIGHTBOX (video modal)
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 35, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  background: var(--glass-strong);
  backdrop-filter: blur(28px);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lightbox.active .lightbox-content { transform: scale(1); }

.lightbox-content.short { max-width: 420px; }

.lightbox-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
}
.lightbox-content.short .lightbox-frame { aspect-ratio: 9/16; }

.lightbox-frame iframe {
  width: 100%; height: 100%;
  border: 0;
}

.lightbox-meta { padding: 16px 8px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lightbox-meta h4 { font-family: var(--serif); font-size: 20px; }
.lightbox-meta a { font-size: 13px; color: var(--gold); text-decoration: none; font-weight: 600; }

.lightbox-close {
  position: absolute;
  top: -14px; right: -14px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  z-index: 2;
}

/* =========================================================
   BLOGS PAGE
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.blog-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card .cat {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  font-weight: 700;
}
.blog-card .cat.alt { color: var(--gold); }
.blog-card h3 { font-size: 26px; line-height: 1.15; }
.blog-card p { font-size: 15px; }
.blog-card .meta { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--ink-mute); margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.blog-card .meta .read-more { margin-left: auto; color: var(--gold); font-weight: 600; }

.blog-card .visual {
  height: 160px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  margin-bottom: 6px;
}
.blog-card .visual.v1 { background: linear-gradient(135deg, #fde7c8, #f3c97a, #c97a1a); }
.blog-card .visual.v2 { background: linear-gradient(135deg, #d4e9e6, #7fcfc6, #0e6b63); }
.blog-card .visual.v3 { background: linear-gradient(135deg, #f5d4e3, #d8467b, #5b3a8a); }
.blog-card .visual.v4 { background: linear-gradient(135deg, #e3dafc, #a89af0, #5b3a8a); }
.blog-card .visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), transparent 60%);
}
.blog-card .visual .glyph {
  position: absolute;
  bottom: 14px; left: 18px;
  font-family: var(--serif);
  font-size: 64px;
  color: rgba(255,255,255,0.85);
  line-height: 1;
}

/* Blog modal */
.blog-modal { position: fixed; inset: 0; background: rgba(15, 20, 35, 0.55); backdrop-filter: blur(14px); z-index: 1000; display: none; align-items: flex-start; justify-content: center; padding: 50px 24px; overflow-y: auto; opacity: 0; transition: opacity 0.3s; }
.blog-modal.active { display: flex; opacity: 1; }
.blog-modal-content {
  background: var(--glass-strong);
  backdrop-filter: blur(28px);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  padding: 50px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.blog-modal-content h2 { margin-bottom: 18px; }
.blog-modal-content .cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal); font-weight: 700; margin-bottom: 10px; display: block; }
.blog-modal-content .cat.alt { color: var(--gold); }
.blog-modal-content p { margin-bottom: 18px; font-size: 16px; line-height: 1.75; }
.blog-modal-content h4 { font-family: var(--serif); margin: 26px 0 14px; font-size: 22px; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.about-portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #2c2417, #0d2421, #1a1d2e);
}
.about-portrait img,
.about-portrait svg { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-portrait .pad {
  position: absolute;
  bottom: 22px; left: 22px;
  padding: 14px 18px;
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-edge);
  border-radius: 16px;
  font-size: 13px;
  color: var(--ink);
}
.about-portrait .pad strong { display: block; font-family: var(--serif); font-size: 18px; }

.timeline {
  position: relative;
  padding-left: 38px;
  margin-top: 60px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 6px; bottom: 6px; left: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--pink), var(--teal));
}
.tl-item {
  position: relative;
  padding-bottom: 38px;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: -32px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 122, 26, 0.12);
}
.tl-item .when { font-size: 12px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-bottom: 6px; }
.tl-item h4 { font-family: var(--serif); font-size: 22px; margin-bottom: 4px; }
.tl-item .role { font-size: 14px; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.tl-item p { font-size: 15px; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.skill-card {
  padding: 26px;
  border-radius: var(--radius-md);
  text-align: left;
}
.skill-card .num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.skill-card h4 { font-family: var(--serif); font-size: 18px; margin-bottom: 6px; }
.skill-card p { font-size: 13px; color: var(--ink-mute); }

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.tools span {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-edge);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}
.contact-card {
  padding: 26px 28px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 22px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.contact-card .icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: #fff;
  font-weight: 700;
}
.contact-card .icon.email { background: linear-gradient(135deg, var(--gold), #b8651a); }
.contact-card .icon.phone { background: linear-gradient(135deg, var(--teal), #074842); }
.contact-card .icon.linkedin { background: linear-gradient(135deg, #0a66c2, #064a8f); }

.contact-card .info { flex: 1; }
.contact-card .info small { font-size: 12px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 4px; }
.contact-card .info strong { font-family: var(--serif); font-size: 20px; color: var(--ink); font-weight: 500; }
.contact-card .arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  display: grid; place-items: center;
  transition: transform 0.3s ease;
}
.contact-card:hover .arrow { transform: rotate(-45deg); background: var(--ink); color: #fff; }

.contact-mascot-wrap {
  position: relative;
  aspect-ratio: 1;
  display: grid; place-items: center;
}

/* =========================================================
   MASCOT
   ========================================================= */
.mascot {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(15, 20, 35, 0.18));
}
.mascot .body { animation: bob 4s ease-in-out infinite; transform-origin: center bottom; transform-box: fill-box; }
.mascot .head { animation: bobHead 4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.mascot .arm-wave { transform-origin: 78px 78px; animation: wave 2.5s ease-in-out infinite; }
.mascot .blink { animation: blink 4s infinite; transform-origin: center; transform-box: fill-box; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
@keyframes bobHead {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%     { transform: translateY(-3px) rotate(-1.5deg); }
}
@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  20%     { transform: rotate(-15deg); }
  40%     { transform: rotate(20deg); }
  60%     { transform: rotate(-10deg); }
  80%     { transform: rotate(15deg); }
}
@keyframes blink {
  0%, 92%, 96%, 100% { transform: scaleY(1); }
  94%               { transform: scaleY(0.05); }
}

.mascot-mini {
  width: 70px; height: 70px;
  position: absolute;
  bottom: 14px; right: 14px;
  z-index: 50;
  pointer-events: none;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  margin-top: 100px;
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h5 { font-family: var(--serif); font-size: 16px; margin-bottom: 14px; color: var(--ink); }
.footer-grid a { display: block; color: var(--ink-soft); text-decoration: none; font-size: 14px; padding: 4px 0; transition: color 0.2s; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-mute);
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .hero-grid, .story, .about-hero, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-grid.featured-grid { grid-template-columns: 1fr; }
  .video-grid.shorts-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 70px; right: 16px; flex-direction: column; background: var(--glass-strong); backdrop-filter: blur(20px); border: 1px solid var(--glass-edge); border-radius: 22px; padding: 14px; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .float-card { display: none; }
}
@media (max-width: 600px) {
  section { padding: 80px 0 40px; }
  .hero { padding-top: 130px; }
  .video-grid, .video-grid.shorts-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-meta { gap: 22px; }
  .hero-meta .num { font-size: 28px; }
  .skills-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .blog-modal-content { padding: 32px 22px; }
  .container { padding: 0 18px; }
  .nav { padding: 10px 14px 10px 16px; }
  .nav-brand { font-size: 17px; }
}
