/* ==========================================================================
   MUHAMMAD FARHAN — QUIET-LUXURY EDITORIAL EXECUTIVE PORTFOLIO (2026)
   Aesthetic: Soft Porcelain Silk, Diplomatic Navy, Brushed Champagne Gold
   ========================================================================== */

:root {
  --bg: #FBF9F6;
  --bg-linen: #F3EFE8;
  --bg-stone: #ECE6DC;
  --surface: #FFFFFF;
  --surface-glass: rgba(251, 249, 246, 0.80);

  --ink: #141C2B;
  --ink-body: #445061;
  --ink-muted: #7B8595;

  --navy: #162A45;
  --navy-deep: #0E1D31;
  --champagne: #A88854;
  --champagne-soft: rgba(168, 136, 84, 0.12);

  --hairline: rgba(22, 42, 69, 0.085);
  --hairline-strong: rgba(22, 42, 69, 0.16);

  --shadow-xs: 0 2px 12px rgba(14, 29, 49, 0.03);
  --shadow-sm: 0 10px 30px rgba(14, 29, 49, 0.05);
  --shadow-md: 0 20px 52px rgba(14, 29, 49, 0.08);
  --shadow-lg: 0 32px 80px rgba(14, 29, 49, 0.13);

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 30px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}

/* Soft ambient atmospheric silk backdrop */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.ambient-bg::before,
.ambient-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
}
.ambient-bg::before {
  width: 640px; height: 640px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(168, 136, 84, 0.16), transparent 70%);
}
.ambient-bg::after {
  width: 720px; height: 720px;
  top: 120px; right: -180px;
  background: radial-gradient(circle, rgba(22, 42, 69, 0.09), transparent 70%);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.justify {
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

/* Hairline Top Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--navy), var(--champagne));
  z-index: 1200;
  transition: width 0.08s linear;
}

/* Floating Glass Pill Navbar */
.navbar {
  position: fixed;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1160px;
  background: var(--surface-glass);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 10px 14px 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: var(--shadow-xs);
  transition: all 0.45s var(--ease);
}

.navbar.scrolled {
  top: 12px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: var(--shadow-sm);
  border-color: var(--hairline-strong);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.015em;
  color: var(--navy-deep);
}

.brand-monogram {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy), var(--navy-deep));
  color: #FBF9F6;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-body);
  position: relative;
  transition: color 0.3s var(--ease);
}

.nav-links a:hover, .nav-links a.active { color: var(--navy-deep); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: var(--champagne);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #FBF9F6 !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.32s var(--ease);
}
.nav-cta:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(14, 29, 49, 0.20);
}
.nav-cta::after { display: none !important; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Sleek Bilingual ID | EN Pill Switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-linen);
  border: 1px solid var(--hairline-strong);
  box-shadow: inset 0 1px 2px rgba(14, 29, 49, 0.04);
}
.lang-btn {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  transition: all 0.26s var(--ease);
  line-height: 1.1;
}
.lang-btn:hover { color: var(--navy-deep); }
.lang-btn.active {
  background: var(--navy-deep);
  color: #FBF9F6;
  box-shadow: 0 3px 10px rgba(14, 29, 49, 0.22);
}

.mobile-toggle {
  display: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  font-size: 1.15rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 136px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--hairline);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
  max-width: 100%;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 0 4px var(--champagne-soft);
}

@media (max-width: 640px) {
  .eyebrow {
    white-space: normal;
    line-height: 1.45;
    border-radius: 16px;
    padding: 8px 14px;
    letter-spacing: 0.08em;
  }
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 5.1vw, 4.45rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--champagne);
  font-weight: 500;
}

.hero-desc {
  font-size: 1rem;
  color: var(--ink-body);
  max-width: 575px;
  margin-bottom: 32px;
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 27px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.35s var(--ease);
}

.btn-primary {
  background: var(--navy);
  color: #FBF9F6;
  box-shadow: 0 12px 30px rgba(14, 29, 49, 0.18);
}
.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(14, 29, 49, 0.25);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-deep);
  border: 1px solid var(--hairline-strong);
}
.btn-soft:hover {
  background: var(--bg-linen);
  border-color: var(--champagne);
  transform: translateY(-2px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
}

.proof-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.08;
  margin-bottom: 3px;
}

.proof-item span {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

/* Archival Mat Portrait Frame */
.hero-visual {
  position: relative;
}

.portrait-mat {
  padding: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.portrait-frame {
  position: relative;
  border-radius: calc(var(--r-lg) - 8px);
  overflow: hidden;
  background: var(--bg-linen);
  aspect-ratio: 1 / 1.08;
}

.portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 14%;
  transition: transform 1.1s var(--ease);
}
.portrait-mat:hover .portrait-frame img { transform: scale(1.03); }

.floating-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: softFloat 7s ease-in-out infinite;
}

.floating-pill.bottom { bottom: 26px; left: -26px; }
.floating-pill.top { top: 28px; right: -20px; animation-delay: -3.5s; }

.pill-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--champagne-soft);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
}

.floating-pill strong { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy-deep); line-height: 1.25; }
.floating-pill span { font-size: 0.72rem; color: var(--ink-muted); }

@keyframes softFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

/* Role Lens Switcher */
.lens-section { padding: 8px 0 42px; }

.lens-bar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-xs);
}

.lens-label { font-size: 0.85rem; color: var(--ink-body); }
.lens-label strong { color: var(--navy-deep); font-weight: 600; }

.lens-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.lens-btn {
  padding: 9px 19px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-body);
  background: var(--bg-linen);
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.lens-btn:hover { color: var(--navy-deep); border-color: var(--hairline-strong); }
.lens-btn.active {
  background: var(--navy);
  color: #FBF9F6;
  box-shadow: 0 8px 20px rgba(14, 29, 49, 0.18);
}

/* ==========================================================================
   SECTIONS BASE
   ========================================================================== */
section { padding: 92px 0; }
section[id] { scroll-margin-top: 96px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3.6vw, 3.15rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
}

.section-title em { font-style: italic; color: var(--champagne); }

.section-sub {
  max-width: 440px;
  font-size: 0.92rem;
  color: var(--ink-body);
  line-height: 1.72;
}

/* ==========================================================================
   ABOUT & FOUR PILLARS
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 60px;
  align-items: center;
}

.about-photos {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  align-items: start;
}

.about-frame {
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.about-frame.offset { margin-top: 52px; }

.about-frame-inner {
  border-radius: calc(var(--r-md) - 6px);
  overflow: hidden;
  aspect-ratio: 3 / 3.85;
  background: var(--bg-linen);
}
.about-frame.offset .about-frame-inner { aspect-ratio: 1 / 1.15; }

.about-frame-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 1s var(--ease);
}
.about-frame:hover img { transform: scale(1.035); }

.about-caption {
  padding: 10px 6px 4px;
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.about-copy p {
  font-size: 0.97rem;
  color: var(--ink-body);
  margin-bottom: 18px;
  line-height: 1.84;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 19px 20px;
  transition: all 0.35s var(--ease);
}
.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(168, 136, 84, 0.40);
}
.pillar-card h4 { font-size: 0.92rem; font-weight: 600; color: var(--navy-deep); margin-bottom: 6px; }
.pillar-card p { font-size: 0.82rem; color: var(--ink-muted); margin: 0; line-height: 1.6; }

/* ==========================================================================
   SELECTED CASE STUDIES
   ========================================================================== */
.cases-section {
  background: var(--bg-linen);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case-card.hidden-by-lens { display: none; }

.case-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-deep);
}

.case-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.9s var(--ease);
}
.case-card:hover .case-media img { transform: scale(1.045); }

.case-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(14, 29, 49, 0.78);
  backdrop-filter: blur(10px);
  color: #FBF9F6;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-body {
  padding: 24px 25px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--champagne);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.case-body h3 {
  font-family: var(--serif);
  font-size: 1.54rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-deep);
  margin-bottom: 11px;
}

.case-body p {
  font-size: 0.87rem;
  color: var(--ink-body);
  line-height: 1.72;
  margin-bottom: 18px;
  flex: 1;
}

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}

.metric-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-linen);
  color: var(--navy);
}

/* ==========================================================================
   CAREER JOURNEY TIMELINE
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 9px; top: 10px; bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--champagne), rgba(22, 42, 69, 0.14));
}

.timeline-item {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 24px 28px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.timeline-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(168, 136, 84, 0.35);
}

.timeline-dot {
  position: absolute;
  left: -32px; top: 28px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--surface);
  border: 2.5px solid var(--champagne);
  box-shadow: 0 0 0 5px var(--bg);
}

.tl-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.tl-role { font-size: 1.02rem; font-weight: 600; color: var(--navy-deep); }
.tl-date {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--champagne);
  background: var(--champagne-soft);
  padding: 4px 12px;
  border-radius: 999px;
}
.tl-org { font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.tl-desc { font-size: 0.88rem; color: var(--ink-body); line-height: 1.74; }

/* ==========================================================================
   DYNAMIC SOCIAL-PROOF SHOWCASE SLIDER + FILMSTRIP
   ========================================================================== */
.gallery-section {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.slider-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.slider-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-body);
  background: var(--bg-linen);
  border: 1px solid transparent;
  transition: all 0.28s var(--ease);
}
.filter-pill:hover { border-color: var(--champagne); color: var(--navy-deep); }
.filter-pill.active {
  background: var(--navy);
  color: #FBF9F6;
  box-shadow: 0 8px 18px rgba(14, 29, 49, 0.16);
}

.slider-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slide-counter {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--navy-deep);
  letter-spacing: 0.05em;
}

.slider-icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  background: var(--bg);
  color: var(--navy-deep);
  font-size: 0.72rem;
  display: grid;
  place-items: center;
  transition: all 0.25s var(--ease);
}
.slider-icon-btn:hover { background: var(--navy); color: #FFF; border-color: var(--navy); }

.showcase-slider {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.2;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--hairline);
  cursor: zoom-in;
}

.showcase-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: opacity 0.45s var(--ease), transform 6s ease-out;
}

.showcase-viewport img.fading { opacity: 0.18; transform: scale(1.015); }
.showcase-viewport img.contain-fit { object-fit: contain; background: #0E1D31; }

.showcase-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,29,49,0.06) 0%, rgba(14,29,49,0.02) 45%, rgba(14,29,49,0.86) 100%);
  pointer-events: none;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(251, 249, 246, 0.86);
  backdrop-filter: blur(12px);
  color: var(--navy-deep);
  font-size: 1.7rem;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  z-index: 5;
  transition: all 0.28s var(--ease);
}
.slide-nav:hover { background: #FFF; transform: translateY(-50%) scale(1.07); }
.slide-nav.prev { left: 20px; }
.slide-nav.next { right: 20px; }

.showcase-meta {
  position: absolute;
  left: 34px; right: 160px; bottom: 28px;
  color: #FBF9F6;
  z-index: 4;
  pointer-events: none;
}

.showcase-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(168, 136, 84, 0.28);
  border: 1px solid rgba(223, 194, 142, 0.45);
  backdrop-filter: blur(8px);
  color: #F2DEC0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.showcase-meta h3 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 5px;
  color: #FFF;
}

.showcase-meta p {
  font-size: 0.88rem;
  color: rgba(251, 249, 246, 0.86);
  max-width: 680px;
}

.showcase-expand {
  position: absolute;
  right: 26px; bottom: 30px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFF;
  font-size: 0.76rem;
  font-weight: 600;
  z-index: 5;
  transition: all 0.25s var(--ease);
}
.showcase-expand:hover { background: rgba(255, 255, 255, 0.28); }

.slide-progress-track {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
  z-index: 6;
}
.slide-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #DFC28E, #FFF);
  transition: width 0.25s linear;
}

/* Interactive Thumbnail Filmstrip */
.filmstrip-wrap {
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(22,42,69,0.22) transparent;
}
.filmstrip {
  display: flex;
  gap: 11px;
  width: max-content;
}
.thumb-btn {
  width: 118px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.56;
  background: var(--bg-linen);
  transition: all 0.28s var(--ease);
  flex-shrink: 0;
  padding: 0;
}
.thumb-btn img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.thumb-btn:hover { opacity: 0.9; transform: translateY(-2px); }
.thumb-btn.active {
  opacity: 1;
  border-color: var(--champagne);
  box-shadow: 0 8px 20px rgba(14, 29, 49, 0.16);
  transform: translateY(-2px);
}

/* ==========================================================================
   OWNERSHIP & DISTINCTION CREDENTIALS (NO PASSIVE PARTICIPANT WEBINARS)
   ========================================================================== */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cred-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: transform 0.38s var(--ease), box-shadow 0.38s var(--ease), border-color 0.38s var(--ease);
}

.cred-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(168, 136, 84, 0.42);
}

.cred-thumb {
  aspect-ratio: 16 / 11;
  background: var(--bg-linen);
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cred-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(14, 29, 49, 0.08);
  transition: transform 0.65s var(--ease);
}
.cred-card:hover .cred-thumb img { transform: scale(1.03); }

.cred-info { padding: 18px 20px 20px; }
.cred-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--champagne);
  margin-bottom: 6px;
}
.cred-title { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; color: var(--navy-deep); line-height: 1.22; margin-bottom: 6px; }
.cred-issuer { font-size: 0.78rem; color: var(--ink-muted); line-height: 1.45; }

.cred-archive-note {
  margin-top: 32px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  font-size: 0.84rem;
  color: var(--ink-body);
  line-height: 1.7;
}
.cred-archive-note strong { color: var(--navy-deep); }

/* ==========================================================================
   ATS CAREER SUITE DOWNLOAD CENTER
   ========================================================================== */
.downloads-section {
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 65%, #1E385B 100%);
  color: #FBF9F6;
}

.downloads-section .section-title { color: #FBF9F6; }
.downloads-section .section-sub { color: rgba(251, 249, 246, 0.76); }

.resume-showcase {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: center;
}

.resume-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #DFC28E;
}

.resume-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dl-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.28s var(--ease);
}

.dl-link.cv { background: #FBF9F6; color: var(--navy-deep); }
.dl-link.cv:hover { background: #DFC28E; color: var(--navy-deep); transform: translateY(-2px); }

.dl-link.cl { background: rgba(255, 255, 255, 0.08); color: #FBF9F6; border: 1px solid rgba(255, 255, 255, 0.18); }
.dl-link.cl:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

/* ==========================================================================
   CONTACT & FOOTER
   ========================================================================== */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.contact-links { display: flex; flex-direction: column; gap: 11px; }

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy-deep);
  transition: all 0.28s var(--ease);
}
.contact-row:hover { border-color: var(--champagne); background: var(--bg-linen); transform: translateX(3px); }
.contact-row span.label {
  font-size: 0.7rem;
  color: var(--ink-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

footer {
  padding: 28px 0 48px;
  text-align: center;
  font-size: 0.81rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   FULL-RES LIGHTBOX & TOAST
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 20, 34, 0.93);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox-inner {
  max-width: 1140px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-inner img {
  max-height: 80vh;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  background: #FFF;
}

.lightbox-caption { color: #FBF9F6; text-align: center; font-size: 0.95rem; }
.lightbox-caption small { display: block; color: rgba(251, 249, 246, 0.72); font-size: 0.8rem; margin-top: 3px; }

.lightbox-close {
  position: fixed;
  top: 22px; right: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #FFF;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  transition: background 0.25s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }

.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--navy-deep);
  color: #FBF9F6;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.38s var(--ease);
  z-index: 2200;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Smooth Reveal Choreography */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .contact-card, .resume-showcase { grid-template-columns: 1fr; gap: 36px; }
  .resume-showcase { padding: 36px 28px; }
  .cases-grid, .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .floating-pill.bottom { left: 16px; }
  .floating-pill.top { right: 16px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 66px; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--hairline-strong);
    border-radius: 20px;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: flex; }
  .hero-proof { grid-template-columns: repeat(2, 1fr); }
  .cases-grid, .cred-grid, .dl-grid, .pillars-grid { grid-template-columns: 1fr; }
  .photo-tile.span-7, .photo-tile.span-5, .photo-tile.span-4, .photo-tile.span-6 { grid-column: span 12; aspect-ratio: 16 / 11; }
  .contact-card { padding: 32px 22px; }
  section { padding: 64px 0; }
  .floating-pill { padding: 9px 12px; gap: 9px; }
  .floating-pill.top { top: 12px; right: 12px; }
  .floating-pill.bottom { bottom: 12px; left: 12px; }
  .showcase-viewport { aspect-ratio: 4 / 3; border-radius: 20px; }
  .showcase-meta { left: 16px; right: 16px; bottom: 16px; }
  .showcase-meta h3 { font-size: 1.35rem; }
  .showcase-meta p { font-size: 0.78rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .showcase-expand { top: 14px; right: 14px; bottom: auto; padding: 6px 12px; font-size: 0.72rem; }
  .slide-nav { width: 38px; height: 38px; font-size: 1.35rem; }
  .slide-nav.prev { left: 10px; }
  .slide-nav.next { right: 10px; }
  .thumb-btn { width: 88px; height: 58px; }
}
