/* 
   Lisa M. Portfolio - Executive Strategy Design System
   Aesthetics: Elegant, editorial, crisp, warm, and highly professional.
   Colors: Cream backgrounds, rich charcoal body text, vibrant electric blue accents.
*/

/* --- Design Tokens --- */
:root {
  /* Color Palette */
  --bg-cream: #FAF9F5;       /* Warm cream background */
  --bg-white: #FFFFFF;
  --bg-dark: #0A0A0A;        /* True dark for case study sections */
  --text-dark: #111111;      /* Crisp dark charcoal */
  --text-muted: #4A4A4A;     /* Muted body text */
  --text-light: #E0E0E0;
  --accent-blue: #0668E1;    /* Vibrant Tech Blue (matching Meta logo) */
  --accent-blue-hover: #0554B5;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Layout & Transitions */
  --container-max-width: 1160px;
  --section-padding: 8rem 2rem;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-cream);
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.25;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* --- Layout Components --- */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  width: 100%;
}

/* Header Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(250, 249, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(250, 249, 245, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent-blue);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  text-transform: uppercase;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent-blue);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--accent-blue);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 10rem 2rem 4.7rem 2rem;
  min-height: 60.5vh;
  display: flex;
  align-items: center;
  background-color: #0B0C0E;
  color: #FFFFFF;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-glow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  filter: blur(120px);
  -webkit-filter: blur(120px);
}

.hero-glow-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.65; /* Luminous floating gradients on dark background */
  mix-blend-mode: screen;
  will-change: transform;
}

.blob-blue {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-blue) 0%, rgba(6, 104, 225, 0) 70%);
  top: 5%;
  right: 5%;
  -webkit-animation: float-blob-1 8s infinite alternate ease-in-out;
  animation: float-blob-1 8s infinite alternate ease-in-out;
}

.blob-amber {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #FFB13B 0%, rgba(255, 177, 59, 0) 70%); /* Warm yellow/amber gradient */
  bottom: 5%;
  left: 5%;
  -webkit-animation: float-blob-2 6s infinite alternate ease-in-out;
  animation: float-blob-2 6s infinite alternate ease-in-out;
}

.blob-green {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #10AC84 0%, rgba(16, 172, 132, 0) 70%); /* Luminous green gradient */
  top: 15%;
  left: 15%;
  -webkit-animation: float-blob-3 9s infinite alternate ease-in-out;
  animation: float-blob-3 9s infinite alternate ease-in-out;
}

@-webkit-keyframes float-blob-1 {
  0% { -webkit-transform: translate3d(0, 0, 0) scale(1); }
  50% { -webkit-transform: translate3d(-100px, 80px, 0) scale(1.1); }
  100% { -webkit-transform: translate3d(-40px, 30px, 0) scale(0.9); }
}

@-webkit-keyframes float-blob-2 {
  0% { -webkit-transform: translate3d(0, 0, 0) scale(0.95); }
  50% { -webkit-transform: translate3d(100px, -80px, 0) scale(1.15); }
  100% { -webkit-transform: translate3d(40px, -30px, 0) scale(1); }
}

@-webkit-keyframes float-blob-3 {
  0% { -webkit-transform: translate3d(0, 0, 0) scale(1.05); }
  50% { -webkit-transform: translate3d(90px, 90px, 0) scale(0.9); }
  100% { -webkit-transform: translate3d(40px, 40px, 0) scale(1.1); }
}

@keyframes float-blob-1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-100px, 80px, 0) scale(1.1); }
  100% { transform: translate3d(-40px, 30px, 0) scale(0.9); }
}

@keyframes float-blob-2 {
  0% { transform: translate3d(0, 0, 0) scale(0.95); }
  50% { transform: translate3d(100px, -80px, 0) scale(1.15); }
  100% { transform: translate3d(40px, -30px, 0) scale(1); }
}

@keyframes float-blob-3 {
  0% { transform: translate3d(0, 0, 0) scale(1.05); }
  50% { transform: translate3d(90px, 90px, 0) scale(0.9); }
  100% { transform: translate3d(40px, 40px, 0) scale(1.1); }
}

.hero-content {
  max-width: 860px;
}

.hero-subtitle {
  color: var(--accent-blue);
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  display: block;
}

.hero .hero-subtitle {
  color: #60A5FA;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  margin-bottom: 2rem;
  letter-spacing: -1.5px;
  line-height: 1.15;
}

.hero .hero-title {
  color: #FFFFFF;
}

.hero-description {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--text-muted);
  max-width: 820px;
}

.hero .hero-description {
  color: rgba(255, 255, 255, 0.85);
}

.hero .author-name {
  color: #FFFFFF;
}

.hero .author-title {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Flagship Case Study (The Leadership Summit) --- */
.case-study {
  background-color: var(--bg-cream);
  padding: 2rem 0;
}

.case-study-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 4rem;
}

.case-study-disclosure {
  font-size: 1.05rem;
  color: var(--accent-blue);
  font-weight: 500;
  line-height: 1.6;
  margin-top: -2.5rem;
  margin-bottom: 3.5rem;
}

.meta-item h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.meta-item p {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* Dark Showcase Sections (Stark Black) */
.dark-showcase {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: var(--section-padding);
}

.dark-showcase h2, 
.dark-showcase h3, 
.dark-showcase h4 {
  color: var(--bg-cream);
}

.dark-showcase p {
  color: #9C9C9C;
}

.showcase-text-block {
  max-width: 800px;
  margin: 0 auto 5rem auto;
  text-align: center;
}

.showcase-text-block h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.showcase-text-block p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

.image-showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.showcase-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.full-bleed-image-container {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  background-color: var(--bg-cream);
  border: none;
}

.full-bleed-image-container img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.2);
  mix-blend-mode: multiply;
}

.split-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 3rem;
}

@media (max-width: 768px) {
  .split-image-grid {
    grid-template-columns: 1fr;
  }
}

.captioned-image {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  background-color: #121212;
  border: 1px solid var(--border-dark);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.08);
  transform-origin: center;
}

.image-caption {
  font-size: 0.85rem;
  color: #777777;
  font-style: italic;
}

/* Case Study Narrative */
.narrative-section {
  padding: var(--section-padding);
}

.narrative-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

@media (max-width: 900px) {
  .narrative-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.narrative-sidebar h3 {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  position: sticky;
  top: 100px;
}

.narrative-content p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.narrative-content ul {
  list-style: none;
  margin: 2rem 0;
}

.narrative-content li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.narrative-content li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

.pull-quote {
  border-left: 2px solid var(--accent-blue);
  padding: 1.5rem 0 1.5rem 2.5rem;
  margin: 3.5rem 0;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-dark);
}

/* --- Strategic Capabilities (The 3 Buckets - Split Layout) --- */
.capabilities-section {
  padding: var(--section-padding);
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  max-width: 600px;
}

.section-header p {
  font-size: 1.15rem;
  max-width: 600px;
}

.capabilities-list {
  display: flex;
  flex-direction: column;
}

.capability-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding: 5rem 0;
  border-top: 1px solid var(--border-light);
}

.capability-row:first-child {
  border-top: none; /* No top border for first row since section header is above */
}

@media (max-width: 900px) {
  .capability-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem 0;
  }
}

.capability-intro {
  position: relative;
}

.capability-num {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  display: block;
  text-transform: uppercase;
}

.capability-title {
  font-size: 1.85rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.capability-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.capability-projects {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.project-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.project-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.project-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 1.5px;
  font-weight: 600;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: -0.2px;
}

.project-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
}

/* Project Details (Always expanded) */
.project-details {
  display: block;
  opacity: 1;
  margin-top: 1.25rem;
}

.project-details-inner {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-details-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
}

.project-details-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.detail-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #EAE7DF;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.detail-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-image-placeholder:hover {
  background-color: #DFDCD2;
  transform: scale(1.02);
}


/* --- Design Philosophy Section (AI-Era Thoughts) --- */
.philosophy-section {
  padding: var(--section-padding);
  background-color: var(--bg-cream);
  border-top: 1px solid var(--border-light);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3.5rem;
}

.philosophy-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.philosophy-card h4 {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--text-dark);
}

.philosophy-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- About Me Section --- */
.about-section {
  padding: var(--section-padding);
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-statement {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.25;
  color: var(--text-dark);
  letter-spacing: -0.75px;
  position: sticky;
  top: 120px;
}

.about-text p {
  font-size: 1.08rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.contact-button {
  display: inline-block;
  background-color: var(--accent-blue);
  color: var(--bg-white);
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  margin-top: 1rem;
  box-shadow: 0 10px 25px rgba(0, 47, 167, 0.12);
  transition: var(--transition-smooth);
}

.contact-button:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 47, 167, 0.2);
  color: var(--bg-white);
}

/* --- Footer --- */
footer {
  background-color: var(--bg-cream);
  border-top: 1px solid var(--border-light);
  padding: 5rem 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-logo span {
  color: var(--accent-blue);
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links a:hover {
  color: var(--accent-blue);
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Designer Thought Process Callout */
.thought-process-box {
  background-color: rgba(6, 104, 225, 0.03); /* Soft translucent tech blue */
  border-left: 2px solid var(--accent-blue);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 2rem 0;
  border-radius: 0 6px 6px 0;
}

.thought-process-box h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.thought-process-box p {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-dark);
}

/* --- Brand Logos Section --- */
.logos-section {
  padding: 5rem 2rem;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.logos-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3.5rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
  --logo-base-height: 36px;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  height: calc(var(--logo-base-height, 36px) * var(--scale, 1));
  opacity: 0.8; /* Subtle transparency to blend color logos with cream bg */
}

.logo-item svg {
  height: 100%;
  width: auto;
}

.logo-item:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.06);
}

/* Individual scaling to balance visual weights of different logo shapes */
.logo-item[title="Google"] {
  --scale: 0.8;
}
.logo-item[title="Meta"] {
  --scale: 1.15;
}
.logo-item[title="Wired"] {
  --scale: 0.85;
}
.logo-item[title="eBay"] {
  --scale: 1.1;
}
.logo-item[title="Foote Cone & Belding"] {
  --scale: 1.1;
}

@media (max-width: 900px) {
  .logos-container {
    justify-content: center;
    gap: 3rem;
    --logo-base-height: 26px;
  }
}

/* --- Animation Utilities --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Placeholder image styling */
.image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #555555;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Graceful missing file fallbacks */
.image-wrapper.placeholder-active {
  aspect-ratio: 16 / 10;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-wrapper.placeholder-active::before {
  content: 'Image coming soon';
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #555555;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 3-column layout for showcase collage */
.triple-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

@media (max-width: 768px) {
  .triple-image-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Seamless Split Logo Card */
.logo-container-seamless {
  display: flex !important;
  flex-direction: row;
  width: 100%;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  border-radius: 16px;
  background-color: var(--bg-cream);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border: none;
}

.logo-half {
  width: 50%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.logo-left-half {
  background-color: #0A0A0A; /* Match the deep black background of the section */
}

.logo-right-half {
  background-color: var(--bg-cream); /* Cream background */
}

.logo-left-img {
  width: 200% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: left !important;
  filter: saturate(1.2) contrast(1.4) brightness(0.65) !important; /* Darkens the grey background to solid black */
}

.logo-right-img {
  width: 200% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: right !important;
  filter: saturate(1.2) !important;
  mix-blend-mode: multiply !important;
}

.project-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 7;
  background-color: #EAE7DF;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, box-shadow 0.4s ease;
}

.project-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-block {
  cursor: pointer;
}

.project-block:hover .project-image-placeholder {
  background-color: #DFDCD2;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

/* Author Signature Profile Card */
.author-profile-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  flex-shrink: 0;
}

.author-profile-card.avatar-fallback::before {
  content: "LM";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent-blue);
  color: var(--bg-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.author-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.author-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.author-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Project Metadata Grid for accordion details */
.project-metadata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  padding: 1rem 1.25rem;
  background-color: rgba(6, 104, 225, 0.02); /* very light blue tint */
  border-radius: 6px;
  border-left: 2px solid var(--accent-blue);
  color: var(--text-muted);
}

.project-metadata-grid strong {
  color: var(--text-dark);
}

/* --- Lightbox Modal Styles --- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000; /* Ensure it is above the header */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  object-fit: contain;
  cursor: zoom-out;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.modal-caption {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  text-align: center;
  font-family: var(--font-body);
  max-width: 600px;
  line-height: 1.5;
}

/* Cursor cues for expandable/closable detailed images and placeholders */
.detail-image-placeholder {
  cursor: zoom-in;
}
