/* ============================================================
   KENDALL NOVAK PORTFOLIO — UNIFIED STYLESHEET
   Fonts: DM Serif Display, DM Sans (Google Fonts)
   ============================================================

   COLOR PALETTE
   ─────────────────────────────────────────────────────────
   #2D1B5E  — Deep Purple     → Nav, Footer, Process, CTA
   #7B52B0  — Mid Purple      → Hero, Skills, accent sections
   #C0A8E0  — Lavender        → Buttons, tags, links
   #F5F0E0  — Warm Cream      → Page BG, cards
   #F5C842  — Gold            → Stats, highlights, hover
   #EDE8F8  — Soft Lavender   → About BG, testimonials
   #1A0F3A  — Near-Black Navy → Footer BG
   #1E1050  — Darkest Purple  → Hero photo BG, case study stat bar
   #FFFFFF  — White           → Cards, buttons

   BREAKPOINTS
   ─────────────────────────────────────────────────────────
   Base              320px+   Mobile (default styles)
   @min 481px        481px+   iPads / Tablets
   @min 769px        769px+   Small screens / Laptops
   @min 1025px       1025px+  Desktops / Large screens
   ============================================================ */


/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* ============================================================
   BASE / MOBILE FIRST  (320px – 480px)
   ============================================================ */

body {
  background: #f5f0e0;
  font-family: 'DM Sans', sans-serif;
  color: #2d1b5e;
}

/* ---- UTILITY CLASSES ---- */
.slabel {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7b52b0;
  margin-bottom: 5px;
}
.slabel-light {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8d9ff;
  opacity: 0.7;
  margin-bottom: 5px;
}
.sh {
  font-size: 18px;
  font-weight: 800;
  color: #2d1b5e;
  margin-bottom: 16px;
  line-height: 1.2;
  font-family: 'DM Serif Display', serif;
}
.gold { color: #f5c842; }
.tag-star {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  display: inline-block;
  filter: invert(85%) sepia(60%) saturate(600%) hue-rotate(5deg) brightness(105%);
  opacity: 0.9;
}

/* Star replaces the period on .cta-headline .gold — period hidden via font-size 0, star injected */
.cta-headline .gold {
  font-size: inherit;
  display: inline;
}

.vdiv { width: 0.5px; background: rgba(255,255,255,0.18); }

/* ---- BUTTONS ---- */
.btn-lav {
  display: inline-block;
  background: #c0a8e0;
  color: #2d1b5e;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn-lav:hover {
  background: #f5c842;
  color: #2d1b5e;
  box-shadow: 0 4px 14px rgba(245,200,66,0.35);
}
.btn-white {
  display: inline-block;
  background: #fff;
  color: #2d1b5e;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn-white:hover {
  background: #f5c842;
  color: #2d1b5e;
  box-shadow: 0 4px 14px rgba(245,200,66,0.35);
}
.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(192,168,224,0.7);
  color: #c0a8e0;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s, box-shadow 0.18s;
}
.btn-outline:hover {
  background: rgba(245,200,66,0.12);
  border-color: #f5c842;
  color: #f5c842;
  box-shadow: 0 4px 14px rgba(245,200,66,0.18);
}

/* ---- SECTION DIVIDERS ---- */
.sec-div {
  height: 3px;
  background: linear-gradient(90deg, #2d1b5e, #7b52b0, #c0a8e0);
}
.sec-div-gold {
  height: 3px;
  background: linear-gradient(90deg, #f5c842 0%, #c0a8e0 45%, #7b52b0 72%, #2d1b5e 100%);
}

/* ---- SECTION BACKGROUNDS ---- */
.ombre-cream    { background: #f5f0e0; }
.ombre-dark     { background: #2d1b5e; }
.ombre-purple   { background: #7b52b0; }
.ombre-lavender { background: #ede8f8; }
.ombre-white    { background: #fff; }

/* ---- IMAGE PLACEHOLDER ---- */
.img-ph {
  background: #5a3d8a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-ph::after {
  content: '';
  display: block;
  width: 44px;
  height: 44px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Cline x1='0' y1='0' x2='44' y2='44' stroke='%23c0a8e0' stroke-width='1.5'/%3E%3Cline x1='44' y1='0' x2='0' y2='44' stroke='%23c0a8e0' stroke-width='1.5'/%3E%3Crect x='1' y='1' width='42' height='42' fill='none' stroke='%23c0a8e0' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
  opacity: 0.4;
}

/* ---- NAV ---- */
nav {
  background: linear-gradient(180deg, #1a0f3a 0%, #2d1b5e 100%);
  padding: 13px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-logo {
  font-size: 13px;
  font-weight: 400;
  color: #c0a8e0;
  letter-spacing: 0.04em;
  font-family: 'DM Serif Display', serif;
}
.nav-links {
  display: flex;
  gap: 18px;
}
.nav-links a {
  font-size: 13px;
  color: rgba(192,168,224,0.75);
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover { color: #c0a8e0; }
.nav-cta {
  display: inline-block;
  background: #c0a8e0;
  color: #2d1b5e;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 20px;
}
.nav-back {
  font-size: 13px;
  color: rgba(192,168,224,0.75);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-back:hover { color: #c0a8e0; }

/* ---- HERO ---- */
.hero-v2 {
  background: #2d1b5e;
  display: flex;
  flex-direction: column;
}
.hero-photo {
  width: 100%;
  height: 230px;
  background: #1e1050;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 28px,
    rgba(192,168,224,0.04) 28px,
    rgba(192,168,224,0.04) 29px
  );
}
.hero-photo::after {
  content: '';
  display: block;
  width: 52px;
  height: 52px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 52'%3E%3Cline x1='0' y1='0' x2='52' y2='52' stroke='%237b52b0' stroke-width='1.5'/%3E%3Cline x1='52' y1='0' x2='0' y2='52' stroke='%237b52b0' stroke-width='1.5'/%3E%3Crect x='1' y='1' width='50' height='50' fill='none' stroke='%237b52b0' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
  opacity: 0.3;
  position: relative;
  z-index: 1;
}
.hero-v2-inner {
  padding: 24px 22px 30px;
  text-align: center;
}
.hero-v2-tag {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #c0a8e0;
  opacity: 0.75;
  margin-bottom: 10px;
  text-align: center;
}
.hero-v2-name {
  font-size: 38px;
  font-weight: 400;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  font-family: 'DM Serif Display', serif;
}
.hero-v2-role {
  font-size: 9px;
  font-weight: 700;
  color: #f5c842;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-v2-desc {
  font-size: 11px;
  color: rgba(232,217,255,0.7);
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 100%;
}
.hero-v2-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- STATS BAR ---- */
.stats {
  background: #2d1b5e;
  padding: 18px 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.stat { text-align: center; }
.stat-n { font-size: 22px; font-weight: 800; color: #f5c842; }
.stat-l { font-size: 9px; color: #e8d9ff; margin-top: 2px; opacity: 0.75; }

/* ---- INTRO STRIP ---- */
.intro-strip {
  background: #f5f0e0;
  padding: 22px;
  border-bottom: 0.5px solid #e2dac8;
}
.intro-strip p {
  font-size: 13px;
  color: #3a2a50;
  line-height: 1.75;
  font-style: italic;
}
.intro-strip strong {
  font-style: normal;
  font-weight: 700;
  color: #7b52b0;
}

/* ---- CASE STUDIES ---- */
.cases {
  background: #f5f0e0;
  padding: 28px 18px;
}
.cases-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 0;
}
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 0.5px solid #ddd6c8;
  transition: transform 0.15s;
}
.card:hover { transform: translateY(-2px); }
.card-img { height: 175px; }
.card-body { padding: 15px 16px; }
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 7px;
}
.card-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.card-yr { font-size: 11px; color: #bbb; white-space: nowrap; margin-left: 6px; font-weight: 600; }
.card-title {
  font-size: 14px;
  font-weight: 400;
  color: #2d1b5e;
  margin-bottom: 5px;
  font-family: 'DM Serif Display', serif;
}
.card-role { font-size: 10px; font-weight: 600; color: #7b52b0; margin-bottom: 14px; }
.card-desc { font-size: 10px; color: #555; line-height: 1.65; margin-bottom: 12px; }
.card-foot { display: flex; justify-content: flex-end; align-items: center; }
.card-stats { display: flex; gap: 14px; }
.cs-n { font-size: 13px; font-weight: 800; color: #f5c842; }
.cs-l { font-size: 9px; color: #aaa; margin-top: 1px; }
.tag {
  display: inline-block;
  background: #ede8f8;
  color: #2d1b5e;
  font-size: 10px;
  padding: 2px 9px;
  border-radius: 20px;
  font-weight: 600;
}

/* ---- PROCESS ---- */
.process {
  background: #2d1b5e;
  padding: 26px 20px;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 14px;
}
.process-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  font-size: 20px;
  font-weight: 900;
  color: #f5c842;
  min-width: 28px;
  line-height: 1;
  margin-top: 1px;
}
.step-title { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.step-desc { font-size: 10px; color: #e8d9ff; opacity: 0.75; line-height: 1.5; }

/* ---- TOOLKIT / SKILLS SECTION ---- */
.toolkit-outer {
  background: #2d1b5e;
  padding: 28px 20px;
  position: relative;
}
.toolkit-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}
.toolkit-card {
  background: #7b52b0;
  border-radius: 12px;
  padding: 16px 16px 28px 16px;
  border: 1px solid rgba(192,168,224,0.25);
  position: relative;
  overflow: visible;
}
.toolkit-card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(245,200,66,0.1) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 12px;
  overflow: hidden;
}
.toolkit-card-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8d9ff;
  opacity: 0.7;
  margin-bottom: 4px;
}
.toolkit-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  font-family: 'DM Serif Display', serif;
}
.toolkit-icon-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 8px;
  justify-items: center;
  padding-bottom: 20px;
}

/* ---- SKILL ICON BUTTONS ---- */
.skill-icon-btn {
  width: 86px;
  height: 86px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid #c0a8e0 !important;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  position: relative;
  font-size: 22px;
}
.skill-icon-btn img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
}
.skill-icon-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(192,168,224,0.45);
  border-color: #f5c842 !important;
}
.skill-icon-btn::after {
  content: attr(data-label);
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: #e8d9ff;
  white-space: nowrap;
  opacity: 1;
  pointer-events: none;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.03em;
}
.skill-icon-btn:hover::after { opacity: 1; }

/* Always show labels — extra bottom padding to make room */
.toolkit-icon-row {
  padding-bottom: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 8px;
  justify-items: center;
}

/* skill icon background colors */
.sib-figma    { background: #000000; }
.sib-adobe    { background: #00072d; }
.sib-canva    { background: #ffffff; }
.sib-tiktok   { background: #010101; padding: 0 !important; }
.sib-ig       { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.sib-pinterest{ background: #E60023; }
.sib-facebook { background: #1877F2; }
.sib-discord  { background: #5865F2; }
.sib-capcut   { background: #ffffff; }
.sib-vscode   { background: #007ACC; }
.sib-blender  { background: #265787; }
.sib-procreate{ background: #000000; }
.sib-tiktok img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 18px; }

/* Discord: fill button edge-to-edge */
.sib-discord { padding: 0 !important; }
.sib-discord img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 18px; }
/* Facebook: blue bg, filter logo to white so it's visible */
.sib-facebook { background: #1877F2 !important; }
.sib-facebook img { filter: brightness(0) invert(1); width: 60px !important; height: 60px !important; }
/* Figma: fill button edge-to-edge */
.sib-figma { padding: 0 !important; }
.sib-figma img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 18px; }
/* Instagram: fill button edge-to-edge */
.sib-ig { padding: 0 !important; }
.sib-ig img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 18px; }
/* Pinterest: fill button edge-to-edge */
.sib-pinterest { padding: 0 !important; }
.sib-pinterest img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 18px; }
/* Facebook: fill entire button so white bg in PNG doesn't show */
.sib-facebook { background: #1877F2 !important; padding: 0 !important; }
.sib-facebook img { width: 100% !important; height: 100% !important; object-fit: cover; filter: none; border-radius: 10px; clip-path: inset(0 round 10px); }
/* VS Code: logo is blue on transparent — make it white so it shows on blue bg */
.sib-vscode img { width: 58px !important; height: 58px !important; filter: brightness(0) invert(1); }
/* Blender — only constrain width so height scales naturally */
.sib-blender img { width: 62px !important; height: auto !important; }

/* ---- PLATFORMS & TOOLS ---- */
.platforms { background: #f5f0e0; padding: 26px 18px; }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.plat-item { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.plat-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  font-weight: 800;
}
.plat-label { font-size: 9px; color: #555; font-weight: 500; text-align: center; }
.p-tiktok   { background: #010101; }
.p-ig       { background: #d62976; }
.p-fb       { background: #1877F2; }
.p-discord  { background: #5865F2; }
.p-pinterest{ background: #E60023; }
.p-canva    { background: #00C4CC; }
.p-capcut   { background: #1a1a1a; }
.p-figma    { background: #1E1E1E; }
.p-ga       { background: #E37400; font-size: 11px; }
.p-tableau  { background: #1F6CB0; font-size: 11px; }
.p-wp       { background: #21759B; font-size: 11px; }
.p-excel    { background: #217346; font-size: 11px; }

/* ---- ABOUT ME ---- */
.about { padding: 28px 22px; }
.about-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.about-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ede8f8;
  flex-shrink: 0;
  border: 2px solid #c0a8e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #7b52b0;
}
.about-intro-name {
  font-size: 16px;
  font-weight: 400;
  color: #2d1b5e;
  margin-bottom: 3px;
  font-family: 'DM Serif Display', serif;
}
.about-intro-title { font-size: 10px; color: #7b52b0; font-weight: 600; letter-spacing: 0.05em; }
.about-body { font-size: 11px; color: #444; line-height: 1.75; margin-bottom: 18px; }
.about-body strong { color: #2d1b5e; font-weight: 700; }
.about-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.about-draft-note {
  font-size: 9px;
  font-weight: 600;
  color: #7b52b0;
  opacity: 0.6;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.about-gif-placeholder {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: #ede8f8;
  border: 2px dashed #c0a8e0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.about-gif-placeholder .gif-icon { font-size: 36px; }
.about-gif-placeholder .gif-label {
  font-size: 9px;
  font-weight: 700;
  color: #c0a8e0;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.6;
}
.about-gif-placeholder .gif-label span { font-weight: 400; opacity: 0.7; }

/* ---- TESTIMONIALS ---- */
.testi { background: #f5f0e0; padding: 26px 18px; }
.testi-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.tquote {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  border-left: 3px solid #c0a8e0;
  border-top: 0.5px solid #ddd6c8;
  border-right: 0.5px solid #ddd6c8;
  border-bottom: 0.5px solid #ddd6c8;
  transition: transform 0.18s, box-shadow 0.18s, border-left-color 0.18s;
  cursor: default;
}
.tquote:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(123,82,176,0.13);
  border-left-color: #f5c842;
}
.tquote-text { font-size: 11px; color: #444; line-height: 1.7; font-style: italic; margin-bottom: 10px; }
.tquote-who { display: flex; align-items: center; gap: 9px; }
.tq-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ede8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #2d1b5e;
  flex-shrink: 0;
}
.tq-name { font-size: 10px; font-weight: 700; color: #2d1b5e; }
.tq-role { font-size: 9px; color: #aaa; }

/* ---- CTA BAND ---- */
.cta-band {
  background: #2d1b5e;
  padding: 36px 24px;
  text-align: center;
}
.cta-eyebrow { font-size: 9px; color: #c0a8e0; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; }
.cta-headline {
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
  font-family: 'DM Serif Display', serif;
}
.cta-sub { font-size: 11px; color: #e8d9ff; opacity: 0.65; margin-bottom: 22px; line-height: 1.6; }
.cta-contact-row { display: flex; flex-direction: column; gap: 5px; margin-bottom: 22px; }
.cta-contact-row a { font-size: 11px; color: #c0a8e0; text-decoration: none; }

/* ---- FOOTER ---- */
footer {
  background: #1a0f3a;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.foot-logo { font-size: 11px; font-weight: 800; color: #c0a8e0; }
.foot-links { display: flex; gap: 14px; }
.foot-links span { font-size: 10px; color: rgba(192,168,224,0.45); cursor: pointer; }
.foot-copy { font-size: 9px; color: rgba(255,255,255,0.2); }


/* ============================================================
   CASE STUDY STYLES
   ============================================================ */
.cs-hero {
  background: linear-gradient(180deg, #1e1050 0%, #2d1b5e 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.cs-hero-img {
  width: 100%;
  height: 220px;
  background: #3a2470;
  position: relative;
  overflow: hidden;
}
.cs-hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(192,168,224,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(245,200,66,0.08) 0%, transparent 50%);
}
.cs-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 52'%3E%3Cline x1='0' y1='0' x2='52' y2='52' stroke='%237b52b0' stroke-width='1'/%3E%3Cline x1='52' y1='0' x2='0' y2='52' stroke='%237b52b0' stroke-width='1'/%3E%3Crect x='1' y='1' width='50' height='50' fill='none' stroke='%237b52b0' stroke-width='0.5'/%3E%3C/svg%3E") repeat;
  opacity: 0.2;
}
.cs-hero-inner { padding: 20px 22px 26px; text-align: center; }
.cs-tags-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; justify-content: center; }
.cs-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #e8d9ff;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
  border: 0.5px solid rgba(255,255,255,0.18);
}
.cs-title {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  font-family: 'DM Serif Display', serif;
  line-height: 1.2;
  margin-bottom: 6px;
}
.cs-role {
  font-size: 10px;
  font-weight: 700;
  color: #f5c842;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cs-meta-row { display: flex; gap: 18px; justify-content: center; }
.cs-meta-item { display: flex; flex-direction: column; gap: 2px; }
.cs-meta-label { font-size: 8px; color: rgba(232,217,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.cs-meta-val { font-size: 11px; color: #e8d9ff; font-weight: 600; }
.cs-stat-bar {
  background: #1e1050;
  padding: 16px 22px;
  display: flex;
  justify-content: space-around;
  border-bottom: 0.5px solid rgba(192,168,224,0.15);
}
.cs-stat { text-align: center; }
.cs-stat-n { font-size: 22px; font-weight: 800; color: #f5c842; font-family: 'DM Serif Display', serif; }
.cs-stat-l { font-size: 10px; color: rgba(232,217,255,0.55); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.cs-section { padding: 24px 22px; }
.cs-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7b52b0;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(123,82,176,0.2);
}
.cs-body { font-size: 14px; color: #444; line-height: 1.8; }
.cs-body strong { color: #2d1b5e; font-weight: 700; }
.cs-section-dark { padding: 24px 22px; background: #2d1b5e; }
.cs-section-dark .cs-section-title { color: #c0a8e0; border-bottom-color: rgba(192,168,224,0.2); }
.cs-section-dark .cs-body { color: #e8d9ff; }
.cs-section-dark .cs-body strong { color: #f5c842; }
.cs-section-purple { padding: 24px 22px; background: #7b52b0; }
.cs-section-purple .cs-section-title { color: #e8d9ff; border-bottom-color: rgba(255,255,255,0.2); }
.cs-section-purple .cs-body { color: #e8d9ff; }
.cs-section-purple .cs-body strong { color: #f5c842; }
.cs-steps { display: flex; flex-direction: column; gap: 0; margin-top: 14px; }
.cs-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 0.5px solid rgba(192,168,224,0.15);
}
.cs-step:last-child { border-bottom: none; }
.cs-step-num {
  font-size: 20px;
  font-weight: 800;
  color: #f5c842;
  font-family: 'DM Serif Display', serif;
  min-width: 24px;
  line-height: 1;
  margin-top: 1px;
}
.cs-step-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cs-step-desc { font-size: 13px; color: #e8d9ff; opacity: 0.85; line-height: 1.6; }
.cs-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.cs-img-tile {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 9/16;
  background: #3a2470;
  position: relative;
}
.cs-img-tile.wide { grid-column: span 2; aspect-ratio: 16/9; }
.cs-img-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Cline x1='0' y1='0' x2='44' y2='44' stroke='%23c0a8e0' stroke-width='1.5'/%3E%3Cline x1='44' y1='0' x2='0' y2='44' stroke='%23c0a8e0' stroke-width='1.5'/%3E%3C/svg%3E") center no-repeat;
  opacity: 0.2;
}
.cs-img-label {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 8px;
  font-weight: 700;
  color: rgba(232,217,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cs-results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.cs-result-card {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 12px;
  border: 0.5px solid rgba(192,168,224,0.2);
  text-align: center;
}
.cs-result-n { font-size: 24px; font-weight: 800; color: #f5c842; font-family: 'DM Serif Display', serif; }
.cs-result-l { font-size: 11px; color: rgba(232,217,255,0.6); margin-top: 3px; line-height: 1.4; }
.cs-takeaway-quote {
  font-size: 13px;
  font-weight: 400;
  color: #2d1b5e;
  font-family: 'DM Serif Display', serif;
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 10px;
}
.cs-takeaway-attr {
  font-size: 9px;
  font-weight: 700;
  color: #7b52b0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cs-carousel {
  position: relative;
  margin-top: 14px;
  /* overflow visible so neighboring slides peek in */
  overflow: hidden;
}
.cs-carousel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* padding lets the active slide sit centered with neighbors peeking */
  padding-left: calc(50% - 41vw);
  padding-right: calc(50% - 41vw);
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.cs-carousel-track::-webkit-scrollbar { display: none; }
.cs-carousel-slide {
  /* 82vw wide so ~9vw of the next/prev card peeks either side */
  min-width: 82vw;
  max-width: 82vw;
  flex-shrink: 0;
  scroll-snap-align: center;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 9/16;
  background: #3a2470;
  position: relative;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0.45;
  transform: scale(0.93);
}
.cs-carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.cs-carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Cline x1='0' y1='0' x2='44' y2='44' stroke='%23c0a8e0' stroke-width='1.5'/%3E%3Cline x1='44' y1='0' x2='0' y2='44' stroke='%23c0a8e0' stroke-width='1.5'/%3E%3C/svg%3E") center no-repeat;
  opacity: 0.2;
}
.cs-carousel-label {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  color: rgba(232,217,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* On wider screens, cap the slide width so it doesn't get huge */
@media (min-width: 481px) {
  .cs-carousel-slide { min-width: 55vw; max-width: 55vw; }
  .cs-carousel-track {
    padding-left: calc(50% - 27.5vw);
    padding-right: calc(50% - 27.5vw);
  }
}
@media (min-width: 769px) {
  .cs-carousel-slide { min-width: 340px; max-width: 340px; }
  .cs-carousel-track {
    padding-left: calc(50% - 170px);
    padding-right: calc(50% - 170px);
  }
}
.cs-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; align-items: center; }
.cs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(192,168,224,0.25);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
  position: relative;
}
.cs-dot:hover { background: rgba(245,200,66,0.4); }
.cs-dot.active {
  background: transparent;
  width: 16px;
  height: 16px;
  border-radius: 0;
  background-image: url('img/Star_Twinkle.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  /* Makes the black PNG render as gold #f5c842 */
  filter: brightness(0) saturate(100%) invert(83%) sepia(55%) saturate(700%) hue-rotate(2deg) brightness(103%);
  transform: scale(1.1);
}
.cs-nav-pill {
  display: flex;
  justify-content: center;
  gap: 0;
  background: #1e1050;
  padding: 8px 6px;
  border-bottom: 0.5px solid rgba(192,168,224,0.12);
  overflow: visible;
  pointer-events: auto;
  touch-action: none;
}
.cs-nav-pill::-webkit-scrollbar { display: none; }
.cs-pill-item {
  font-size: 8.5px;
  font-weight: 700;
  color: rgba(192,168,224,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 7px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 1;
  transition: background 0.15s, color 0.15s;
}
.cs-pill-item.active { background: rgba(192,168,224,0.15); color: #c0a8e0; }
.cs-pill-item:hover { color: #c0a8e0; }

/* ---- PAGE VIEW TRANSITIONS ---- */
#view-portfolio { display: block; }
#view-casestudy-fireflies { display: none; }
.page-view { animation: fadeIn 0.25s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   TABLET  (481px – 768px)
   ============================================================ */
@media (min-width: 481px) {
  nav { padding: 14px 28px; }
  .nav-logo { font-size: 15px; }

  .hero-photo { height: 280px; }
  .hero-v2-name { font-size: 44px; }
  .hero-v2-inner { padding: 28px 28px 36px; }

  .cases { padding: 28px 24px; }
  .cases-inner { gap: 20px; }

  .process { padding: 26px 28px; }
  .toolkit-outer { padding: 28px 28px; }
  .platforms { padding: 26px 24px; }
  .about { padding: 28px 28px; }
  .testi { padding: 26px 24px; }

  .platform-grid { grid-template-columns: repeat(6, 1fr); }

  /* On tablet+, revert icon row back to a single flex row */
  .toolkit-icon-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    padding-bottom: 36px;
  }

  .stats { padding: 18px 28px; }
  .intro-strip { padding: 22px 28px; }
}


/* ============================================================
   SMALL LAPTOP  (769px – 1024px)
   ============================================================ */
@media (min-width: 769px) {
  nav { padding: 13px 36px; }
  .nav-logo { font-size: 15px; }
  .nav-links a { font-size: 15px; }

  /* Hero: true 50/50 side by side */
  .hero-v2 { flex-direction: row; min-height: 420px; align-items: stretch; }
  .hero-photo { width: 50%; flex-shrink: 0; height: auto; min-height: 340px; }
  .hero-v2-inner { text-align: center; width: 50%; flex-shrink: 0; padding: 0 56px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
  .hero-v2-tag { text-align: center; font-size: 10px; }
  .hero-v2-name { font-size: 60px; text-align: center; }
  .hero-v2-role { text-align: center; font-size: 11px; }
  .hero-v2-desc { text-align: center; max-width: 100%; font-size: 14px; }
  .hero-v2-btns { justify-content: center; }

  /* Larger text at small-laptop */
  .sh { font-size: 30px; }
  .slabel { font-size: 11px; }
  .slabel-light { font-size: 11px; }
  .card-title { font-size: 17px; }
  .card-role { font-size: 12px; }
  .card-desc { font-size: 11px; }
  .step-title { font-size: 14px; }
  .step-desc { font-size: 12px; }
  .toolkit-card-title { font-size: 17px; }
  .toolkit-card-label { font-size: 10px; }
  .about-body { font-size: 14px; }
  .btn-lav { font-size: 13px; }
  .btn-outline { font-size: 13px; }
  .cs-body { font-size: 13px; }
  .cs-title { font-size: 22px; }
  .nav-back { font-size: 14px; }

  .stats { padding: 18px 36px; }
  .intro-strip { padding: 24px 36px; }

  /* Case studies: 3 columns */
  .cases { padding: 32px 36px; }
  .cases-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  /* Process: horizontal */
  .process { padding: 28px 36px; }
  .process-steps { flex-direction: row; }
  .process-step {
    flex: 1;
    flex-direction: column;
    padding: 16px 18px;
    border-bottom: none;
    border-right: 0.5px solid rgba(255,255,255,0.08);
  }
  .process-step:last-child { border-right: none; }
  .step-num { margin-top: 0; margin-bottom: 8px; }

  .tquote-text { font-size: 14px; }
  .tq-name { font-size: 14px; }

  /* Bigger icons at laptop */
  .skill-icon-btn { width: 80px; height: 80px; border-radius: 18px; }
  .skill-icon-btn img { width: 62px !important; height: 62px !important; }
  .sib-discord img { width: 76px !important; height: 76px !important; }
  .sib-figma img { width: 76px !important; height: 76px !important; }
  .sib-ig img { width: 62px !important; height: 62px !important; }
  .sib-pinterest img { width: 76px !important; height: 76px !important; }
  .sib-facebook img { width: 100% !important; height: 100% !important; object-fit: cover; }
  .sib-vscode img { width: 50px !important; height: 50px !important; }
  .sib-blender img { width: 54px !important; height: auto !important; }
  .skill-icon-btn::after { font-size: 10px; bottom: -24px; opacity: 0; transition: opacity 0.15s; }
  .skill-icon-btn:hover::after { opacity: 1; }
  .toolkit-icon-row { padding-bottom: 20px; }

  /* Toolkit: 3 side by side */
  .toolkit-outer { padding: 28px 36px; }
  .toolkit-section { flex-direction: row; gap: 14px; }
  .toolkit-card { flex: 1; }

  .platforms { padding: 28px 36px; }
  .platform-grid { grid-template-columns: repeat(8, 1fr); }

  .about { padding: 32px 36px; }
  .about-links { justify-content: flex-start; }

  /* About: 50/50 split like hero */
  .about-inner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .about-gif-placeholder {
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }
  .about-draft-note { text-align: left; }
  .about-links { margin-bottom: 16px; }

  .testi { padding: 28px 36px; }
  .testi-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .cta-band { padding: 44px 36px; }
  .cta-headline { font-size: 28px; }

  footer { padding: 16px 36px; }

  /* Case study */
  .cs-section { padding: 24px 36px; }
  .cs-section-dark { padding: 24px 36px; }
  .cs-section-purple { padding: 24px 36px; }
  .cs-hero-inner { padding: 22px 36px 28px; }
  .cs-stat-bar { padding: 16px 36px; }
  .cs-nav-pill { padding: 8px 12px; justify-content: center; }
  .cs-img-grid { grid-template-columns: repeat(3, 1fr); }
  .cs-img-tile.wide { grid-column: span 3; }
  .cs-results-grid { grid-template-columns: repeat(4, 1fr); }
}


/* ============================================================
   DESKTOP / LARGE SCREENS  (1025px – 1200px+)
   ============================================================ */
@media (min-width: 1025px) {
  nav { padding: 13px 48px; }
  .nav-logo { font-size: 16px; }
  .nav-links { gap: 26px; }
  .nav-links a { font-size: 16px; }

  /* Hero: desktop */
  .hero-photo { width: 50%; min-height: 480px; }
  .hero-v2 { min-height: 480px; }
  .hero-v2-inner { width: 50%; padding: 0 64px; }
  .hero-v2-name { font-size: 80px; }
  .hero-v2-desc { max-width: 100%; font-size: 16px; }
  .hero-v2-role { font-size: 13px; }
  .hero-v2-tag { font-size: 11px; }

  /* Larger text at desktop */
  .sh { font-size: 36px; }
  .slabel { font-size: 12px; }
  .slabel-light { font-size: 12px; }
  .card-title { font-size: 20px; }
  .card-role { font-size: 13px; }
  .card-desc { font-size: 12px; }
  .step-title { font-size: 16px; }
  .step-desc { font-size: 13px; }
  .toolkit-card-title { font-size: 20px; }
  .toolkit-card-label { font-size: 11px; }
  .btn-lav { font-size: 14px; padding: 10px 22px; }
  .btn-outline { font-size: 14px; padding: 9px 22px; }
  .cs-body { font-size: 14px; }

  .stats { padding: 18px 48px; }
  .stat-n { font-size: 26px; }

  .intro-strip { padding: 28px 48px; }
  .intro-strip p { font-size: 15px; }

  .cases { padding: 36px 48px; }
  .cases-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .process { padding: 28px 48px; }

  .toolkit-outer { padding: 36px 48px; }

  .platforms { padding: 28px 48px; }
  .platform-grid { grid-template-columns: repeat(12, 1fr); }

  .about { padding: 56px 64px; }
  .about-body { font-size: 15px; line-height: 1.8; }
  .about-inner-grid { gap: 64px; }

  .testi { padding: 28px 48px; }
  .testi-inner { gap: 20px; }
  .tquote-text { font-size: 15px; line-height: 1.75; }
  .tq-name { font-size: 15px; }

  /* Even bigger icons at desktop */
  .skill-icon-btn { width: 86px; height: 86px; border-radius: 20px; }
  .skill-icon-btn img { width: 66px !important; height: 66px !important; }
  .sib-discord img { width: 66px !important; height: 66px !important; }
  .sib-figma img { width: 66px !important; height: 66px !important; }
  .sib-ig img { width: 66px !important; height: 66px !important; }
  .sib-pinterest img { width: 66px !important; height: 66px !important; }
  .sib-facebook img { width: 100% !important; height: 100% !important; object-fit: cover; }
  .sib-vscode img { width: 54px !important; height: 54px !important; }
  .sib-blender img { width: 58px !important; height: auto !important; }

  .cta-band { padding: 56px 48px; }
  .cta-headline { font-size: 34px; }

  footer { padding: 16px 48px; }

  /* Case study */
  .cs-section { padding: 28px 48px; }
  .cs-section-dark { padding: 28px 48px; }
  .cs-section-purple { padding: 28px 48px; }
  .cs-hero-inner { padding: 24px 48px 32px; }
  .cs-stat-bar { padding: 16px 48px; }
  .cs-nav-pill { padding: 8px 24px; justify-content: center; }
  .cs-img-grid { grid-template-columns: repeat(4, 1fr); }
  .cs-img-tile.wide { grid-column: span 4; }
  .cs-results-grid { grid-template-columns: repeat(4, 1fr); }
  .cs-title { font-size: 36px; }
  .cs-role { font-size: 13px; }
  .cs-meta-label { font-size: 10px; }
  .cs-meta-val { font-size: 13px; }
  .cs-takeaway-quote { font-size: 16px; }
  .nav-back { font-size: 16px; font-weight: 600; }
}

/* ============================================================
   HAMBURGER MENU  (mobile + tablet — hidden on 769px+)
   ============================================================ */

/* ---- Hamburger button ---- */
.nav-hamburger {
  display: none; /* shown via media query below */
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  color: #c0a8e0;
  line-height: 0;
  transition: color 0.18s, background 0.18s;
}
.nav-hamburger:hover {
  color: #f5c842;
  background: rgba(192,168,224,0.1);
}
.nav-hamburger svg {
  width: 26px;
  height: 26px;
  display: block;
}

/* ---- Overlay ---- */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 7, 30, 0.72);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.mobile-menu-overlay.is-open {
  display: block;
  opacity: 1;
}

/* ---- Slide-in panel ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  background: linear-gradient(160deg, #1a0f3a 0%, #2d1b5e 55%, #3d2580 100%);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(13,7,30,0.55);
}
.mobile-menu.is-open {
  transform: translateX(0);
}

/* Prevent body scroll when menu open */
body.menu-open { overflow: hidden; }

/* ---- Menu header ---- */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px 16px;
  border-bottom: 1px solid rgba(192,168,224,0.15);
}
.mobile-menu-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 15px;
  color: #c0a8e0;
  letter-spacing: 0.04em;
}
.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(192,168,224,0.6);
  padding: 4px;
  border-radius: 6px;
  line-height: 0;
  transition: color 0.18s, background 0.18s;
}
.mobile-menu-close:hover {
  color: #f5c842;
  background: rgba(192,168,224,0.1);
}
.mobile-menu-close svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* ---- Nav links ---- */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 0;
  gap: 0;
  align-items: stretch;
}
.mobile-menu-link {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: rgba(232,217,255,0.85);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(192,168,224,0.1);
  display: block;
  width: 100%;
  text-align: left;
  letter-spacing: -0.01em;
  transition: color 0.18s, padding-left 0.22s;
  position: relative;
}
.mobile-menu-link::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  color: #f5c842;
  transition: opacity 0.18s, left 0.22s;
}
.mobile-menu-link:hover {
  color: #fff;
  padding-left: 20px;
}
.mobile-menu-link:hover::before {
  opacity: 1;
  left: 0;
}
.mobile-menu-link:last-child {
  border-bottom: none;
}
.mobile-menu-item .mobile-menu-link--toggle::before {
  display: none !important;
}



/* ---- Footer area inside menu ---- */
.mobile-menu-footer {
  padding: 24px 22px 32px;
  border-top: 1px solid rgba(192,168,224,0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.mobile-menu-cta {
  font-size: 13px !important;
  padding: 10px 22px !important;
}
.mobile-menu-socials {
  display: flex;
  gap: 18px;
}
.mobile-menu-socials span {
  font-size: 11px;
  font-weight: 700;
  color: rgba(192,168,224,0.45);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-socials span:hover { color: #c0a8e0; }

/* ---- Gold accent line at top of panel ---- */
.mobile-menu::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #f5c842 0%, #c0a8e0 50%, #7b52b0 100%);
  flex-shrink: 0;
}

/* ---- Show hamburger / hide desktop links on mobile+tablet ---- */
@media (max-width: 768px) {
  .nav-hamburger { display: block; }
  .nav-links     { display: none; }
}


/* ============================================================
   MOBILE MENU — WORK DROPDOWN
   ============================================================ */

.mobile-menu-item {
  border-bottom: 1px solid rgba(192,168,224,0.1);
}

/* Toggle button row */
.mobile-menu-link--toggle {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  padding: 10px 0;
}
.mobile-menu-link--toggle:focus-visible {
  outline: 2px solid rgba(192,168,224,0.5);
  outline-offset: 2px;
  border-radius: 4px;
}
.mobile-menu-link--toggle span {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: rgba(232,217,255,0.85);
  letter-spacing: -0.01em;
  transition: color 0.18s;
}
.mobile-menu-link--toggle:hover span,
.mobile-menu-link--toggle.is-active span {
  color: #fff;
}

/* Chevron icon */
.toggle-chevron {
  width: 20px;
  height: 20px;
  color: rgba(192,168,224,0.5);
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), color 0.18s;
}
.mobile-menu-link--toggle.is-active .toggle-chevron {
  transform: rotate(180deg);
  color: #f5c842;
}

/* Dropdown container — animates open/closed */
.mobile-menu-dropdown {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.mobile-menu-dropdown.is-open {
  grid-template-rows: 1fr;
}
.mobile-menu-dropdown-inner {
  overflow: hidden;
}

/* Individual project sub-links */
.mobile-menu-sub {
  display: block;
  text-decoration: none;
  padding: 12px 14px;
  margin: 4px 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(192,168,224,0.1);
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
  position: relative;
  overflow: hidden;
}
.mobile-menu-sub::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #c0a8e0;
  border-radius: 3px 0 0 3px;
  transition: background 0.18s;
}
.mobile-menu-sub:last-child {
  margin-bottom: 14px;
}
.mobile-menu-sub:hover {
  background: rgba(192,168,224,0.1);
  border-color: rgba(192,168,224,0.3);
  transform: translateX(4px);
}
.mobile-menu-sub:hover::before {
  background: #f5c842;
}

.sub-tag-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.sub-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(192,168,224,0.6);
  background: rgba(192,168,224,0.1);
  padding: 2px 7px;
  border-radius: 20px;
}
.sub-title {
  font-family: 'DM Serif Display', serif;
  font-size: 14px;
  color: rgba(232,217,255,0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}
.sub-role {
  font-size: 10px;
  font-weight: 600;
  color: #f5c842;
  letter-spacing: 0.04em;
}