/* ============================================================
   AAKANKSHA MARULKAR — PORTFOLIO STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Lato:wght@300;400;700;900&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --orange:       #E43A19;
  --orange-hover: #c02e10;
  --orange-tint:  #FEF0E8;
  --orange-mid:   rgba(228,58,25,0.12);

  --navy:      #111F4D;
  --black:     #020205;
  --bg:        #FFFFFF;
  --gray-800:  #2D2D2D;
  --gray-600:  #4A4A4A;
  --gray-500:  #666666;
  --gray-400:  #8C8C8C;
  --gray-300:  #AAAAAA;
  --gray-200:  #DDDDDD;
  --gray-100:  #F4F4F4;
  --white:     #FFFFFF;

  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w:        1200px;
  --max-w-narrow: 960px;
  --nav-h:        64px;
  --sec-pad:      72px;

  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   24px;
  --r-pill: 100px;

  --shadow:       0 4px 24px rgba(0,0,0,0.07);
  --shadow-hover: 0 12px 48px rgba(0,0,0,0.13);
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ── Typography helpers ────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 600; line-height: 1.15; }
.text-orange { color: var(--orange); }
.text-italic  { font-style: italic; }

/* ── Layout helpers ────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 60px;
}
.container-narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 60px;
}

/* ── Section pill label ────────────────────────────────────── */
.section-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 24px;
  border: 1.5px solid var(--orange);
  border-radius: var(--r-pill);
  background: var(--orange-tint);
  color: var(--orange);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 1000;
  /* relative context so nav-links can be absolutely centered */
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s var(--ease);
}
.navbar.scrolled {
  box-shadow: 0 1px 0 var(--gray-200);
}
.nav-logo {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--black);
  letter-spacing: -0.01em;
}
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  background: #f0f0f0;
  border: 1px solid #dcdcdc;
  border-radius: 100px;
  padding: 3px;
}
.nav-links a {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  color: #555;
  padding: 6px 18px;
  border-radius: 100px;
  transition: all 0.18s var(--ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-links a.active {
  background: #2c2c2c;
  color: #fff;
  font-weight: 700;
}
.nav-links a:hover:not(.active) {
  background: rgba(0,0,0,0.06);
  color: #222;
}

.nav-linkedin {
  color: #0A66C2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-linkedin:hover { opacity: 0.7; transform: scale(1.1); }

/* ════════════════════════════════════════════════════════════
   HOME / HERO SECTION
   ════════════════════════════════════════════════════════════ */
.section-home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(var(--nav-h) + 44px);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  padding: 0 24px;
  max-width: 960px;
  margin-bottom: 42px;
}
.hero-tagline {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 1.875rem;
  color: #ff6000;
  margin-bottom: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero-heading {
  font-size: clamp(1.1rem, 2vw, 1.75rem);
  line-height: 1.28;
  color: var(--black);
  font-weight: 400;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.institution-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 44px;
}
.institution-logos img {
  height: 30px;
  width: auto;
  object-fit: contain;
}
.logo-divider {
  width: 1px;
  height: 28px;
  background: var(--gray-300);
  margin: 0 28px;
}

/* ── Carousel ──────────────────────────────────────────────── */
.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 40px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
}
.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollCarousel 50s linear infinite;
  padding: 8px 10px 16px;
  will-change: transform;
}
.carousel-wrapper:hover .carousel-track {
  animation-play-state: paused;
}
@keyframes scrollCarousel {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.carousel-card {
  width: 480px;
  height: auto;
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: pointer;
}
.carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.carousel-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease);
}
.carousel-card:hover img {
  transform: scale(1.03);
}
.carousel-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 56px 20px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  color: var(--white);
  transform: translateY(3px);
  transition: transform 0.3s var(--ease);
}
.carousel-card:hover .carousel-card-overlay {
  transform: translateY(0);
}
.carousel-card-overlay .card-category {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 4px;
}
.carousel-card-overlay .card-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ════════════════════════════════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════════════════════════════════ */
.section-about {
  padding: var(--sec-pad) 0 60px;
}
.section-about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}
/* ── About statement ────────────────────────────────── */
.about-statement {
  text-align: left;
  padding: 0 40px 0 48px;
  border-left: 1px solid var(--gray-200);
}
.statement-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.statement-headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 24px;
}
.statement-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-500);
  max-width: 100%;
  margin: 0 0 36px;
}
.statement-collab {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.statement-collab span {
  padding: 6px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--gray-200);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.04em;
}

/* Bracket photo corners */
.photo-frame {
  position: relative;
  padding: 18px;
}
.photo-frame::before,
.photo-frame::after,
.photo-frame .corner-tr,
.photo-frame .corner-bl {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: #BBBBBB;
  border-style: solid;
}
.photo-frame::before { top: 0; left: 0;  border-width: 2px 0 0 2px; }
.photo-frame::after  { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.photo-frame .corner-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.photo-frame .corner-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }

.about-photo {
  width: 100%;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  background: var(--gray-100);
}
.photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--gray-400);
  font-size: 0.875rem;
}

.about-bio > * + * { margin-top: 20px; }
.bio-link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}
.bio-link::after {
  content: ' ↗';
  font-size: 0.7em;
  font-weight: 400;
  vertical-align: super;
  opacity: 0.6;
}
.bio-link:hover { color: var(--orange); }
.about-bio p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-600);
}
.about-bio .bio-greeting {
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
}
.about-bio strong {
  font-weight: 700;
  color: var(--black);
  font-style: italic;
}

/* ── Core Strengths ────────────────────────────────────────── */
.section-strengths {
  padding: 56px 0 var(--sec-pad);
  border-top: 1px solid var(--gray-200);
  margin-top: 0;
}
.strengths-header {
  text-align: center;
  margin-bottom: 48px;
}
/* ── Core Strengths list ────────────────────────────── */
.strengths-section {
  padding: 0 48px 0 80px;
}
.strengths-label {
  text-align: left;
  margin-bottom: 32px;
}
.strengths-label .statement-headline {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}
.strengths-list {
  display: flex;
  flex-direction: column;
}
.strength-item {
  border-top: 1px solid var(--gray-200);
  padding: 22px 0;
  cursor: default;
}
.strength-item:last-child {
  border-bottom: 1px solid var(--gray-200);
}
.strength-item:nth-child(even) {
  padding: 22px 0;
}
.strength-item-head {
  display: flex;
  align-items: center;
  gap: 32px;
}
.strength-num {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  color: #e0e0e0;
  line-height: 1;
  letter-spacing: -0.04em;
  width: 52px;
  flex-shrink: 0;
  transition: color 0.25s var(--ease);
  font-family: var(--font-sans);
  user-select: none;
}
.strength-name {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  transition: color 0.25s var(--ease);
}
.strength-item:hover .strength-num { color: var(--orange); }
.strength-item:hover .strength-name { color: var(--orange); }

/* Hover-reveal skill list */
.strength-skills {
  list-style: none;
  padding: 0 0 0 84px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.strength-item:hover .strength-skills {
  max-height: 220px;
  opacity: 1;
  margin-top: 16px;
}
.strength-skills li {
  font-size: 0.9375rem;
  color: var(--gray-500);
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-100);
  line-height: 1.5;
}
.strength-skills li:last-child { border-bottom: none; }

@media (max-width: 640px) {
  .strength-item-head { gap: 24px; }
  .strength-skills { padding-left: 0; }
}

/* ════════════════════════════════════════════════════════════
   WORK SECTION — PROJECT CARD GRID
   ════════════════════════════════════════════════════════════ */
.section-work {
  padding: var(--sec-pad) 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.work-char-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}
.section-work .container {
  position: relative;
  z-index: 1;
}

/* Minimalist 2-column project card grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.project-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.14);
}

/* Image area */
.project-card-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: block;
}
.project-card-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.55s var(--ease);
}
.project-card:hover .project-card-img img {
  transform: scale(1.03);
}


/* Card body */
.project-card-body {
  padding: 20px 24px 12px;
}
.project-card-cat {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 6px;
}
.project-card-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Pill button group — matches navbar aesthetic */
.project-card-btns {
  padding: 0 20px 20px;
}
.pcb-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #f0f0f0;
  border: 1px solid #dcdcdc;
  border-radius: 100px;
  padding: 4px;
  flex-wrap: wrap;
}
.pcb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 100px;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.pcb-btn:hover {
  background: rgba(0,0,0,0.06);
  color: #222;
}
.pcb-btn.pcb-primary {
  background: #2c2c2c;
  color: #fff;
}
.pcb-btn.pcb-primary:hover {
  background: #444;
}

/* Coming soon placeholder */
.project-card-cs {
  background: transparent;
  border: 1.5px dashed var(--gray-300);
  box-shadow: none;
  cursor: default;
  opacity: 0.55;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card-cs:hover {
  transform: none;
  box-shadow: none;
}
.project-card-cs-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.project-card-cs-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-300);
  line-height: 1;
  letter-spacing: -0.03em;
}
.project-card-cs-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* Legacy classes kept for project detail pages */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.tag {
  padding: 5px 14px;
  border-radius: var(--r-pill);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  line-height: 1.4;
}
.tag-primary   { background: var(--orange); color: var(--white); border-color: var(--orange); }
.tag-secondary { background: var(--white);  color: var(--black); border-color: var(--gray-300); }

.project-description {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.project-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
.project-img {
  width: 100%;
  border-radius: var(--r-sm);
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top center;
  background: var(--gray-100);
}

/* ── Horizontal project button row ─────────────────────────── */
.project-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.project-btns .btn-view-project {
  width: auto;
  flex: 1.5;
  min-width: 130px;
  padding: 16px 20px;
  font-size: 0.875rem;
}
.btn-action-outline {
  flex: 1;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 100px;
  background: transparent;
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  letter-spacing: 0.01em;
  text-align: center;
}
.btn-action-outline:hover {
  background: var(--orange-tint);
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .project-btns { flex-direction: column; }
  .project-btns .btn-view-project,
  .btn-action-outline { flex: none; width: 100%; }
}

/* Secondary download button */
.btn-download-report {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 28px;
  background: transparent;
  color: var(--orange);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1.5px solid var(--orange);
  text-decoration: none;
  margin-top: 12px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  letter-spacing: 0.01em;
}
.btn-download-report:hover {
  background: var(--orange-tint);
  transform: translateY(-1px);
}
.btn-download-report svg {
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}
.btn-download-report:hover svg {
  transform: translateY(2px);
}

/* Full-width orange CTA button */
.btn-view-project {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 28px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  letter-spacing: 0.01em;
}
.btn-view-project:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}
.btn-view-project svg {
  transition: transform 0.2s var(--ease);
}
.btn-view-project:hover svg {
  transform: translateX(4px);
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════════ */
.section-testimonials {
  padding: var(--sec-pad) 0;
  border-top: 1px solid var(--gray-100);
}
.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}
/* Testimonials carousel */
.testimonials-carousel-wrap {
  position: relative;
}
.testimonials-carousel-overflow {
  overflow: hidden;
}
.testimonials-carousel-track {
  display: flex;
  gap: 32px;
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 22px);
  min-width: 0;
  padding: 0;
}
.t-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
}
.t-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  color: var(--black);
  flex-shrink: 0;
}
.t-nav-btn:hover:not(:disabled) {
  border-color: var(--black);
  background: var(--black);
  color: #fff;
}
.t-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.t-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--gray-200);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: none;
  padding: 0;
}
.t-dot.active {
  background: var(--black);
  width: 24px;
}

/* Orange quote marks */
.quote-marks {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
}
.qm {
  width: 16px;
  height: 20px;
  position: relative;
}
.qm::before, .qm::after {
  content: '';
  position: absolute;
  width: 7px;
  background: var(--orange);
  border-radius: 1px;
}
.qm::before { height: 12px; left: 0; top: 0; }
.qm::after  { height: 8px;  left: 0; bottom: 0; }

/* Second pillar */
.qm + .qm::before { left: 9px; }
.qm + .qm::after  { left: 9px; }

/* Simpler quote mark approach — using ❝ styled */
.quote-icon {
  font-size: 2.5rem;
  color: var(--orange);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.quote-text {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--gray-500);
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-divider {
  height: 1px;
  background: var(--gray-200);
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.author-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.author-photo {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  object-fit: cover;
  object-position: top;
  background: var(--gray-200);
  flex-shrink: 0;
}
.author-info .author-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 2px;
  white-space: nowrap;
}
.author-info .author-title {
  font-size: 0.8125rem;
  color: var(--black);
  line-height: 1.5;
}
.company-logo-img {
  height: 28px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.testimonial-card:hover .company-logo-img {
  opacity: 1;
  filter: grayscale(0%);
}

/* ════════════════════════════════════════════════════════════
   FOOTER CTA + FOOTER
   ════════════════════════════════════════════════════════════ */
.footer-cta {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 100px 24px;
}
.footer-cta h2 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.footer-cta h2 span { color: var(--orange); }
.footer-cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
}
.btn-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.25s var(--ease);
}
.btn-email:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  color: rgba(255,255,255,0.4);
  font-size: 0.8125rem;
}
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.8125rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }

/* ════════════════════════════════════════════════════════════
   PROJECT DETAIL PAGES
   ════════════════════════════════════════════════════════════ */
.project-page { padding-top: var(--nav-h); }

.project-hero-img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: var(--gray-100);
}

.project-detail-wrap {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 56px 60px 0;
}

.project-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 48px;
  transition: color 0.2s var(--ease);
}
.project-back:hover { color: var(--orange); }

.project-detail-num {
  font-family: var(--font-sans);
  font-size: 7rem;
  font-weight: 400;
  color: #EEEEEE;
  line-height: 0.85;
  display: block;
  margin-bottom: -24px;
  letter-spacing: -0.04em;
}

.project-detail-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.project-detail-desc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-600);
  margin: 24px 0 44px;
  max-width: 680px;
}

.btn-prototype {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 56px;
  transition: all 0.2s var(--ease);
}
.btn-prototype:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232,85,32,0.35);
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-bottom: 80px;
}
.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-sm);
  background: var(--gray-100);
  cursor: zoom-in;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.gallery-img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.gallery-img.col-span-2 { grid-column: 1 / -1; }

/* Lightbox overlay */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 24px;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  cursor: default;
}
#lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
#lightbox-close:hover { background: rgba(255,255,255,0.24); }

/* ── Recognition badge (project card overlay) ─────────────── */
.recognition-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}
.recognition-badge a {
  display: inline-block;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.recognition-badge a:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--black);
  border-color: rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* ── Recognition section ───────────────────────────────────── */
.recognition-section {
  padding: 72px 60px;
}
.recognition-eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 32px;
}
.recognition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.recognition-card {
  background: var(--gray-100);
  border-radius: var(--r-md);
  overflow: hidden;
}
.recognition-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--gray-100);
}
.recognition-img-wrap img {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-sm);
}
.recognition-body {
  padding: 28px 32px 36px;
}
.recognition-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}
.recognition-link:hover { opacity: 0.7; }
.recognition-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 12px;
  line-height: 1.3;
}
.recognition-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin: 0;
}

/* Project page nav */
.project-subnav {
  border-top: 1px solid var(--gray-200);
  padding: 40px 60px;
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.proj-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.proj-nav-link .nav-dir {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  font-weight: 600;
}
.proj-nav-link .nav-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--black);
  transition: color 0.2s var(--ease);
}
.proj-nav-link:hover .nav-title { color: var(--orange); }
.proj-nav-link.right { text-align: right; }

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

/* ── Back to top ───────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 42px;
  height: 42px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 500;
  font-size: 1rem;
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
#back-to-top:hover { transform: translateY(-3px); }

/* ── Custom scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ════════════════════════════════════════════════════════════
   HAMBURGER / MOBILE NAV
   ════════════════════════════════════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px 4px;
  background: none;
  border: none;
  color: var(--black);
  z-index: 201;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  padding: 8px 24px 24px;
  border-bottom: 1px solid var(--gray-100);
  z-index: 198;
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 15px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.2s var(--ease);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--orange); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .projects-grid { gap: 16px; }
}

@media (max-width: 900px) {
  :root { --sec-pad: 64px; }
  .container, .container-narrow { padding: 0 28px; }
  .navbar { padding: 0 24px; }
  .nav-links { gap: 4px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .strength-row { grid-template-columns: 52px 1fr; }
  .strength-blurb { grid-column: 2; margin-top: 10px; }
  .testimonial-card { flex: 0 0 calc(50% - 16px); }
  .project-images { grid-template-columns: 1fr 1fr; }
  .footer { padding: 18px 28px; flex-direction: column; gap: 12px; text-align: center; }
  /* Project pages */
  .project-gallery { gap: 12px; }
  .project-subnav { flex-direction: column; gap: 16px; }
}

@media (max-width: 768px) {
  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; --sec-pad: 48px; }
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-linkedin { display: none; }
  .nav-hamburger { display: flex; }
  .hero-heading { font-size: 1.25rem; line-height: 1.4; }
  .hero-tagline { font-size: 0.9rem; }
  .carousel-card { width: 280px; height: auto; }
  .container, .container-narrow { padding: 0 18px; }
  /* About */
  .about-headline { font-size: 1rem; }
  .bio-greeting { font-size: 1.5rem; }
  /* Project gallery pages */
  .project-gallery { grid-template-columns: 1fr; padding: 32px 18px 48px; gap: 10px; }
  .gallery-img.col-span-2 { grid-column: 1; }
  .project-detail-wrap { padding: 32px 18px 0; }
  .project-detail-title { font-size: 1.5rem; }
  .project-subnav { padding: 28px 18px; flex-direction: column; gap: 16px; }
  .proj-nav-link.right { text-align: left; }
  .btn-prototype { margin-bottom: 32px; font-size: 0.875rem; padding: 10px 20px; }
  /* Work grid already 1-col from 768px */
  .project-images { grid-template-columns: 1fr; }
  /* Testimonials */
  .testimonial-card { flex: 0 0 100%; }
  .t-carousel-controls { margin-top: 32px; }
  /* Footer */
  .footer { padding: 16px 18px; flex-direction: column; gap: 10px; text-align: center; }
  .footer-cta h2 { font-size: 1.5rem; }
  /* About page */
  .about-page-wrap { padding: calc(var(--nav-h) + 28px) 18px 48px; }
  .bento-bio { padding: 24px; }
  .about-strengths-grid { grid-template-columns: 1fr; }
  /* Institution logos */
  .institution-logos { gap: 0; }
  .institution-logos img { height: 24px; }
}

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════ */
.about-page-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 56px) 40px 80px;
}

.about-page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

/* About page: bio card + cards column */
.about-two-col {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 64px;
}

/* Left: large bio card */
.about-bio-card {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-bio-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.about-bio-heading {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--black);
}
.about-bio-heading strong {
  font-weight: 800;
}
.bio-rule {
  height: 1px;
  background: #ebebeb;
  flex-shrink: 0;
}
.bio-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bio-section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.bio-section-text {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--gray-600);
}
.bio-section-text strong {
  color: var(--black);
  font-weight: 600;
}

.btn-resume {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn-resume:hover { background: #333; transform: translateY(-1px); }

/* Right: photo + facts column */
.about-cards-col {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-photo-card {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--gray-100);
}
.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-facts-card {
  background: var(--black);
  border-radius: 18px;
  padding: 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fact-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.fact-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.45;
}

/* About page: two-column layout (main + photo sidebar) */
.about-content-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.about-main {
  flex: 1;
  min-width: 0;
}

/* Life photos sidebar — vertical auto-scroll */
.about-life-sidebar {
  width: 176px;
  flex-shrink: 0;
  height: calc(100vh - var(--nav-h) - 48px);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  overflow: hidden;
  border-radius: 16px;
  background: var(--gray-100);
}
.about-life-sidebar .life-strip {
  flex-direction: column;
  width: 100%;
  height: max-content;
  animation: scrollLifeV 55s linear infinite;
  padding: 10px;
  gap: 10px;
  align-items: stretch;
}
.about-life-sidebar .life-strip:hover { animation-play-state: paused; }
.about-life-sidebar .life-strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

@keyframes scrollLifeV {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Horizontal life strip (used elsewhere if needed) */
.life-strip {
  display: flex;
  gap: 12px;
  height: 100%;
  width: max-content;
  animation: scrollLife 40s linear infinite;
  padding: 0 12px;
  align-items: stretch;
}
.life-strip:hover { animation-play-state: paused; }

.life-strip img {
  height: 100%;
  width: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

@keyframes scrollLife {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* About page core strengths — accordion */
.about-strengths {
  margin-top: 64px;
}
.about-strengths-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.about-strengths-accordion {
  display: flex;
  flex-direction: column;
}
.asc-item {
  border-top: 1px solid #d0d0d0;
  cursor: default;
}
.asc-item:last-child { border-bottom: 1px solid #d0d0d0; }
.asc-head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  user-select: none;
}
.asc-num {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 800;
  color: #d0d0d0;
  width: 44px;
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color 0.25s var(--ease);
}
.asc-name {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  color: var(--black);
  flex: 1;
  letter-spacing: -0.01em;
  transition: color 0.25s var(--ease);
}
.asc-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: #aaa;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.35s var(--ease), color 0.25s var(--ease);
}
.asc-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 0 0 68px;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding-bottom 0.3s ease;
}
.asc-item:hover .asc-body {
  max-height: 120px;
  opacity: 1;
  padding-bottom: 20px;
}
.asc-body p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--gray-500);
  margin: 0;
}
.asc-item:hover .asc-num  { color: var(--orange); }
.asc-item:hover .asc-name { color: var(--orange); }
.asc-item:hover .asc-icon { transform: rotate(45deg); color: var(--orange); }

/* About page background */
body.about-page { background: #f2f2f2; }
body.about-page .footer-cta {
  background: #f2f2f2;
  color: var(--black);
}
body.about-page .footer-cta h2 { color: var(--black); }
body.about-page .footer-cta p { color: var(--gray-500); }
body.about-page .footer-cta .btn-email { color: var(--black); border-color: var(--black); }

/* Right column: slideshow + LinkedIn cards */
.about-right-col {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Slideshow card */
.about-slideshow-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  aspect-ratio: 1 / 1;
  position: relative;
}
.slideshow-box {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #eee;
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* LinkedIn card */
.about-linkedin-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8e8e8;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  cursor: pointer;
}
.about-linkedin-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.li-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.li-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid #e8e8e8;
}
.li-info { flex: 1; min-width: 0; }
.li-name {
  font-family: 'Lato', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 2px;
}
.li-title {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.4;
}
.li-location {
  font-size: 0.75rem;
  color: #999;
  margin-top: 2px;
}
.li-logo-icon { flex-shrink: 0; }
.li-divider { height: 1px; background: #efefef; }
.li-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Lato', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0A66C2;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .about-content-layout { flex-direction: column; }
  .about-two-col { flex-direction: column; }
  .about-right-col { width: 100%; flex-direction: row; }
  .about-slideshow-card { flex: 1; }
  .about-linkedin-card { flex: 1; }
  .about-strengths-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .about-page-wrap { padding: calc(var(--nav-h) + 32px) 20px 60px; }
  .about-bio-card { padding: 28px; }
  .about-right-col { flex-direction: column; }
  .about-strengths-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   MOBILE / TABLET ENHANCEMENTS
   ════════════════════════════════════════════════════════════ */

/* ── Tablet: ≤900px ─────────────────────────────────────── */
@media (max-width: 900px) {

  /* Navbar: switch to hamburger on all tablets */
  .nav-links  { display: none; }
  .nav-linkedin { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero: scale tagline down */
  .hero-tagline { font-size: 1.5rem; }

  /* Homepage About: collapse 2-col grid to stacked */
  .section-about .container {
    grid-template-columns: 1fr;
  }
  .about-statement {
    border-left: none;
    border-top: 1px solid var(--gray-200);
    padding: 40px 0 0;
    margin-top: 40px;
  }

  /* Strengths: reduce excess left padding */
  .strengths-section { padding: 0 0; }
  .strength-skills { padding-left: 52px; }

  /* About page: hide vertical life sidebar, keep content full-width */
  .about-life-sidebar { display: none; }

  /* Project detail page number */
  .project-detail-num { font-size: 5rem; }

  /* Recognition grid: single column on tablet */
  .recognition-grid { grid-template-columns: 1fr; }
  .recognition-section { padding: 48px 28px; }

  /* Footer CTA */
  .footer-cta { padding: 72px 28px; }
}

/* ── Tablet portrait: ≤768px ────────────────────────────── */
@media (max-width: 768px) {

  /* Hero: reduce top space */
  .section-home { padding-top: calc(var(--nav-h) + 24px); }
  .hero-content { padding: 0 20px; }

  /* Hero heading line-breaks: remove forced <br> effect */
  .hero-heading { font-size: clamp(1rem, 3.5vw, 1.5rem); }

  /* Carousel cards */
  .carousel-card { width: 320px; }

  /* Work grid already 1-col from 768px */
  .projects-grid { grid-template-columns: 1fr; }

  /* About page bio card heading */
  .about-bio-heading { font-size: 1.6rem; }

  /* Project pages */
  .project-detail-num { font-size: 4.5rem; }
  .project-detail-wrap { padding: 40px 28px 0; }
  .recognition-section { padding: 48px 28px; }
  .project-subnav { padding: 32px 28px; }
}

/* ── Mobile: ≤640px supplement ─────────────────────────── */
@media (max-width: 640px) {

  /* Hero */
  .section-home { padding-top: calc(var(--nav-h) + 16px); }
  .hero-content { margin-bottom: 24px; padding: 0 16px; }
  .hero-tagline { font-size: 1.25rem; }
  .hero-heading { font-size: 1.1rem; line-height: 1.5; }

  /* About section on homepage */
  .about-statement { padding: 28px 0 0; margin-top: 28px; }
  .statement-headline { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .statement-body { font-size: 0.9375rem; }
  .statement-collab { justify-content: flex-start; }

  /* Strengths */
  .strengths-section { padding: 0; }
  .strength-skills { padding-left: 40px; }
  .strengths-label { margin-bottom: 20px; }

  /* Carousel */
  .carousel-card { width: 260px; }

  /* Work section: project card buttons wrap cleanly */
  .pcb-group { flex-wrap: wrap; }
  .pcb-btn { font-size: 0.75rem; padding: 6px 14px; }

  /* About page: two-col stacks, cards side by side then wrap */
  .about-two-col { gap: 16px; }
  .about-cards-col {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .about-photo-card { flex: 1; min-width: 160px; aspect-ratio: 1/1; }
  .about-facts-card { flex: 1; min-width: 160px; }
  .about-bio-card { padding: 24px 20px; gap: 20px; }
  .about-bio-head { flex-direction: column; gap: 12px; }
  .btn-resume { align-self: flex-start; }

  /* Project detail */
  .project-detail-num { font-size: 3.5rem; }
  .project-hero-img { aspect-ratio: 4 / 3; }

  /* Recognition */
  .recognition-grid { grid-template-columns: 1fr; }
  .recognition-section { padding: 40px 18px; }
  .recognition-body { padding: 20px 20px 28px; }
  .recognition-img-wrap { padding: 24px; }

  /* Footer CTA */
  .footer-cta { padding: 52px 18px; }
  .footer-cta p { font-size: 0.9rem; }
  .btn-email { font-size: 0.875rem; padding: 13px 28px; }
}
