@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Instrument+Serif:ital@0;1&display=swap");

/* ========================================
   0. FONT DECLARATIONS
   ======================================== */
@font-face {
  font-family: 'Recoleta-Regular';
  src: url('/font/Recoleta-Regular.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   1. ROOT & THEME VARIABLES
   ======================================== */
:root {
  /* --bg-primary: #f6f5f4; */
    --bg-primary: #fff;
  /* --bg-secondary: #edebea; */
   --bg-secondary: #f6f5f4;
  --bg-card: #F3EFEC;
  --text-primary: #152d29;
  --text-secondary: #757575;
  --text-tertiary: #666;
  --text-muted: #808080;
  --text-light: #999;
  --border-color: #e5e5e5;
  --accent-primary: #152d29;
  --accent-hover: #2b5a53;
  --link-color: #2b5a53;
  --icon-filter: invert(0);
}

[data-theme="dark"] {
  --bg-primary: #1a1a1a;
  --bg-secondary: #242424;
  --bg-card: #2a2a2a;
  --text-primary: #e5e5e5;
  --text-secondary: #d0d0d0;
  --text-tertiary: #b0b0b0;
  --text-muted: #888;
  --text-light: #666;
  --border-color: #333;
  --accent-primary: #e5e5e5;
  --accent-hover: #b8d4cf;
  --link-color: #b8d4cf;
  --icon-filter: invert(1);
}

/* ========================================
   2. GLOBAL STYLES
   ======================================== */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Page transition animation */
@keyframes pageIn {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUpIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  font-family: Recoleta-Regular, Georgia, "Times New Roman", serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  opacity: 0;
  animation: pageIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

body.page-loaded {
  opacity: 1;
}

/* Apply slide-up animation to main content headings and sections */
body.page-loaded h1,
body.page-loaded h2,
body.page-loaded h3,
body.page-loaded .case-overview,
body.page-loaded .content-section {
  animation: slideUpIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

/* Stagger animation timing for multiple elements */
body.page-loaded h1 {
  animation-delay: 0.1s;
}

body.page-loaded h2 {
  animation-delay: 0.15s;
}

body.page-loaded h3 {
  animation-delay: 0.2s;
}

body.page-loaded .case-overview {
  animation-delay: 0.25s;
}

body.page-loaded .content-section {
  animation-delay: 0.3s;
}

/* About page text animations */
body.page-loaded .about-hero {
  animation: slideUpIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
  animation-delay: 0.1s;
}

body.page-loaded .about-text h1 {
  animation: slideUpIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
  animation-delay: 0.15s;
}

body.page-loaded .about-text p {
  animation: slideUpIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
  animation-delay: 0.25s;
}

body.page-loaded .about-image {
  animation: slideUpIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

body.page-loaded .experience {
  animation: slideUpIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
  animation-delay: 0.35s;
}

body.page-loaded .outside-work {
  animation: slideUpIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

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

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

.container.narrow-2 {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

@media (max-width: 1024px) {
  .container,
  .container.narrow,
  .container.narrow-2 {
    max-width: 100%;
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  .container,
  .container.narrow,
  .container.narrow-2 {
    max-width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .container,
  .container.narrow,
  .container.narrow-2 {
    max-width: 100%;
    padding: 0 16px;
  }
}

/* Header Styles */
header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  /* Adding fixed positioning and scroll behavior */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, border-color 0.3s ease;
}

header.menu-open {
  border-bottom-color: var(--border-color);
}

header.header-hidden {
  transform: translateY(-100%);
}

/* Adding padding to body to compensate for fixed header */
main {
  padding-top: 80px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav.desktop-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.menu-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0px;
  display: none;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  color: var(--text-primary);
  position: relative;
  z-index: 1002;
  width: 48px;
  height: 48px;
}

.menu-toggle .menu-icon {
  width: 48px;
  height: 48px;
  filter: var(--icon-filter);
}

.menu-toggle:hover {
  opacity: 0.7;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 24px;
  padding: 24px 0;
  background: var(--bg-primary);
  position: relative;
  z-index: 1001;
  align-items: center;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 18px;
  font-family: "Instrument Sans", helvetica, sans-serif;
  text-align: center;
}

.mobile-menu a:hover {
  opacity: 0.6;
  color: var(--accent-hover);
}

.mobile-menu-cta {
  width: 100%;
  padding: 14px 24px;
  background: var(--accent-primary);
  color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.mobile-menu-cta span,
.mobile-menu-cta i {
  color: var(--bg-primary);
}

.mobile-menu-cta:hover {
  background: var(--accent-hover);
  opacity: 1;
}

.mobile-menu-cta:hover span,
.mobile-menu-cta:hover i {
  color: var(--bg-primary);
}

.mobile-menu-cta span{
gap: 8px;
  display: flex;
  align-items: center;
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

[data-theme="dark"] .menu-overlay {
  background: rgba(26, 26, 26, 0.7);
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

.header-content a {
  text-decoration: none;
  color: var(--text-primary);
}

.header-cta {
  display: flex;
  gap: 16px;
}

.logo {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.2px;
  font-family: "Instrument Sans", helvetica, sans-serif;
  color: var(--text-primary);
}

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

.logo-circle {
  width: 50px;
  /* width: 16px; height: 16px; background-color: #ff764a; */
  /* fixed width */
  aspect-ratio: 1 / 1;
  /* keep it a square */
  background-image: url("/assets/home/Logo.png");
  background-size: contain;
  /* keep proportions */
  background-repeat: no-repeat;
  background-position: center;
}

.logo-circle:hover {
  transform: scale(1.05);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

/* Adding dark mode toggle button styles */
.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  color: var(--text-primary);
  font-size: 18px;
}

.theme-toggle-mobile {
  display: none;
}

.theme-toggle:hover {
  transform: rotate(15deg);
  opacity: 0.7;
}

.theme-icon {
  display: block;
  width: 20px;
  height: 20px;
}

nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 16px;
  font-family: "Instrument Sans", helvetica, sans-serif;
  transition: opacity 0.2s, transform 0.3s ease;
  display: inline-block;
}

nav a:not(.header-cta a) {
  transition: opacity 0.2s, transform 0.3s ease;
}

.header-cta a {
  transition: opacity 0.2s;
  transform: none !important;
}

.header-cta a:hover {
  opacity: 1 !important;
  color: inherit !important;
}

@media (max-width: 768px) {
  nav.desktop-nav {
    display: none;
  }

  .theme-toggle-desktop {
    display: none;
  }

  .theme-toggle-mobile {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .header-right {
    gap: 16px;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }
}

nav a:hover {
  opacity: 0.6;
  color: var(--accent-hover);
}

nav a:not(.header-cta a):hover {
  transform: translateY(-2px);
}

/* Highlight the active nav link based on page */
body.page-about nav a[href="/about.html"] {
  color: var(--link-color);
  font-weight: 500;
}

/* Hero Section */
.hero {
  padding: 130px 0 60px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.3;
  margin-bottom: 30px;
  font-weight: 400;
  max-width: 90%;
  color: var(--text-primary);
}

.hero p {
  font-size: 20px;
  line-height: 1.7;
  max-width: 700px;
  font-family: "Instrument Sans", helvetica, sans-serif;
  color: var(--text-secondary);
  margin-top: 60px;
}

.hero {
  opacity: 0;
  transform: translateY(28px);
  /* slower and more fluid easing */
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* visible state applied via JS */
.hero.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Added wave emoji animation */
.wave-emoji {
  display: inline-block;
  transform-origin: 70% 70%;
  transition: transform 0.2s ease;
}

.wave-emoji:hover {
  animation: wave 1s ease-in-out;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }

  10% {
    transform: rotate(14deg);
  }

  20% {
    transform: rotate(-8deg);
  }

  30% {
    transform: rotate(14deg);
  }

  40% {
    transform: rotate(-4deg);
  }

  50% {
    transform: rotate(10deg);
  }

  60% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero.animate {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* Hero image section */
.hero-image {
  width: 100%;
  overflow: hidden;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 400px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-image {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-image {
    max-height: 250px;
  }
}

/* Back to home link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 24px 0;
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
  color: var(--text-primary);
  transform: translateX(-4px);
}

.back-link i {
  font-size: 12px;
}

/* Featured Work Section */
.featured-work {
  padding: 80px 0;
}

.featured-work h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 400;
  color: var(--text-primary);
}

.project-link {
  text-decoration: none;
  color: inherit;
}

.project-card {
  background: var(--bg-primary);
  border-radius: 0px;
  overflow: hidden;
  margin-bottom: 40px;
  /* transition: transform 0.3s ease; */
}

.project-image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 18 / 10;
  opacity: 1;
  position: relative;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.project-image:hover {
  transform: scale(1.02);
}

/* Project image arrow overlay */
.project-image-wrapper::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 65px;
  height: 65px;
  /* subtle translucent background so backdrop-filter can blur the image behind it */
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  font-size: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease, background 0.2s ease, backdrop-filter 0.28s ease;
  transform: translateY(20px) scale(0.8) rotate(315deg);
  z-index: 10;
  will-change: transform, opacity;
  pointer-events: none; /* allow clicks through to the image */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.project-card:hover .project-image-wrapper::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1) rotate(315deg);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
}

.project-image-wrapper:hover::after {
  border-color: rgba(255,255,255,0.18);
}

/* Support for dark theme: use a darker translucent overlay so blur reads well */
[data-theme="dark"] .project-image-wrapper::after {
  background: rgba(0,0,0,0.28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .project-card:hover .project-image-wrapper::after {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}

/* Responsive arrow size */
@media (max-width: 768px) {
  .project-image-wrapper::after {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
    font-size: 20px;
    border: 1.5px solid #ffffff;
  }

  .project-image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 15 / 10;
  opacity: 1;
  position: relative;
}

.featured-work {
    padding: 20px 0;
}

}

.project-content {
  padding: 30px 0px 0px;
  margin-bottom: 60px;
}

.project-label {
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-family: "Instrument Sans", helvetica, sans-serif;
}

.project-title {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 0px;
  font-weight: 400;
  color: var(--text-primary);
}

.project-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: opacity 0.2s ease;
}

.project-title-link:hover {
  opacity: 0.7;
}

.project-snapshot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.snapshot-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.snapshot-label {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-s);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.snapshot-text {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.project-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 40px 0;
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.metric {
  display: flex;
  gap: 16px;
  font-family: "Instrument Sans", helvetica, sans-serif;
}

.metric-icon {
  color: #e87b15;
  flex-shrink: 0;
  margin-top: 2px;
}

.metric-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.view-more {
  text-align: center;
  margin-top: 16px;
}

.view-more .cta-button {
  text-align: center;
  margin-top: 16px;
  font-size: 16px;
  border-radius: 100px;
}

/* Testimonials Section */
.testimonials {
  padding: 60px 0;
  background-color: var(--bg-primary);
}

.testimonials h2 {
  font-size: 42px;
  margin-bottom: 10px;
  font-weight: 400;
  color: var(--text-primary);
}

.testimonials-description{
   font-size: 18px;
  line-height: 1.7;
  max-width: 700px;
  font-family: "Instrument Sans", helvetica, sans-serif;
  color: var(--text-secondary);
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.testimonial-card {
  background: var(--bg-primary);
  padding: 0px 30px 0px 0px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  font-family: "Instrument Sans", helvetica, sans-serif;
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-size: 15px;
  font-weight: 600;
  font-family: "Instrument Sans", helvetica, sans-serif;
  color: var(--text-primary);
}

.author-title {
  font-size: 14px;
  font-family: "Instrument Sans", helvetica, sans-serif;
  color: var(--text-tertiary);
}

/* Footer Section */
.footer {
  padding: 80px 0 60px;
  background-color: var(--bg-secondary); 
  /* background-color: #f6f5f4; */
}

.footer h2 {
  font-size: 42px;
  margin-bottom: 30px;
  font-weight: 400;
  color: var(--text-primary);
}

.footer-content {
  max-width: 700px;
}

.footer-text {
  font-size: 16px;
  line-height: 1.7;
  font-family: "Instrument Sans", helvetica, sans-serif;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.footer-notes {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 120px;
  font-family: "Instrument Sans", helvetica, sans-serif;
}

.footer-text a {
  color: var(--link-color);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-text a:hover {
  opacity: 0.7;
}

.cta-button {
  display: inline-block;
  background: var(--accent-primary);
  color: var(--bg-primary);
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 14px;
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.cta-button:hover {
  background: var(--accent-hover);
}

.cta-button-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-primary);
  padding: 14px 32px;
  border-radius: 40px;
  border: 2px solid var(--text-primary);
  font-size: 14px;
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.cta-button-secondary:hover {
  background: var(--accent-hover);
  color: var(--bg-primary);
  border: 2px solid var(--accent-hover);
}

.cta-button-sm {
  display: inline-block;
  background: var(--accent-primary);
  color: var(--bg-primary);
  padding: 8px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.cta-button-sm span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-button-sm:hover,
.header-cta a:hover .cta-button-sm,
nav .header-cta a:hover .cta-button-sm {
  background: var(--accent-hover) !important;
  color: var(--bg-primary) !important;
}

.footer-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-buttons i {
  display: inline;
  margin-left: 8px;
}

/* About page */

/* About Hero Section */
.about-hero {
  padding: clamp(60px, 10vw, 120px) 0;
}

.page-label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 24px;
  display: block;
  font-family: "Instrument Sans", helvetica, sans-serif;
}

.about-title {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.2;
  margin-bottom: clamp(32px, 5vw, 48px);
  font-weight: 400;
  color: var(--text-primary);
  max-width: 850px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 60px);
  align-items: flex-start;
}

.about-text {
  order: -1;
  width: 100%;
  max-width: 700px;
}

.about-text p {
  font-size: clamp(15px, 1.2vw, 16px);
  line-height: 1.8;
  font-family: "Instrument Sans", helvetica, sans-serif;
  color: var(--text-secondary);
  margin-bottom: clamp(16px, 2vw, 24px);
}

.about-image {
  width: 100%;
  max-width: 100%;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}


/* Experience Section */
.experience {
  padding: 80px 0;
  background-color: var(--bg-primary);
}

.experience h2 {
  font-size: 42px;
  margin-bottom: 60px;
  font-weight: 400;
  color: var(--text-primary);
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.experience-item {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-color);
}

.experience-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.experience-left {
  flex: 1;
}

.experience-left h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
  font-family: Recoleta-Regular, Georgia, "Times New Roman", serif;}

.experience-left p {
  font-size: 16px;
  font-family: "Instrument Sans", helvetica, sans-serif;
  color: var(--text-tertiary);
}

.experience-right {
  text-align: right;
  flex-shrink: 0;
}

.experience-right p {
  font-size: 14px;
  font-family: "Instrument Sans", helvetica, sans-serif;
  color: var(--text-light);
  margin-bottom: 4px;
}

/* Outside of work section */
.outside-work {
  padding: 80px 0;
  background-color: var(--bg-primary);
}

.outside-work-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.outside-work-text h2 {
  font-size: 42px;
  margin-bottom: 24px;
  font-weight: 400;
  color: var(--text-primary);
}

.outside-work-text p {
  font-size: 16px;
  line-height: 1.7;
  font-family: "Instrument Sans", helvetica, sans-serif;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.outside-work-text p:last-child {
  margin-bottom: 0;
}

.outside-work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.outside-work-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
}

.outside-work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
  .outside-work-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .outside-work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .outside-work-text h2 {
    font-size: 36px;
  }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  .outside-work {
    padding: 60px 0;
  }

  .outside-work-content {
    gap: 32px;
  }

  .outside-work-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .outside-work-text p {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .outside-work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Responsive: Small mobile */
@media (max-width: 480px) {
  .outside-work {
    padding: 40px 0;
  }

  .outside-work-text h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .outside-work-text p {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .outside-work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* Case overview section */

.hero-image {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  margin-bottom: 0px;
  background-size: cover;
}

.container.narrow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.container.narrow-2 {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.case-overview {
  padding: 30px 0 60px;
  background: var(--bg-primary);
}

.case-label {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.case-overview-title {
  font-family: Recoleta-Regular, Georgia, "Times New Roman", serif;;
  font-size: 40px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 60px;
  font-weight: 400;
  max-width: 1000px;
}

/* Two-column meta layout */
.case-meta-two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.meta-left,
.meta-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.meta-item {
  /* border-bottom: 1px solid #e5e5e5; */
  padding-bottom: 16px;
}

.meta-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.meta-item-heading {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  margin-top: 0;
}

.meta-item-text {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .container.narrow {
    padding: 0 32px;
  }

  .case-overview-title {
    font-size: 42px;
  }

  .case-meta-two-col {
    gap: 48px;
  }

  .meta-left,
  .meta-right {
    gap: 36px;
  }

  .meta-item {
    padding-bottom: 28px;
  }
}

@media (max-width: 768px) {
  .case-overview {
    padding: 30px 0 40px;
  }

  .container.narrow {
    padding: 0 20px;
  }

  .case-overview-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .case-meta-two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .meta-left,
  .meta-right {
    gap: 20px;
  }

  .meta-item {
    padding-bottom: 16px;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .about-hero {
    padding: clamp(50px, 8vw, 100px) 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 48px);
  }

  .about-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: clamp(28px, 4vw, 40px);
  }

  .experience-item {
    flex-direction: column;
    gap: 20px;
  }

  .experience-right {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .logo {
    font-size: 18px;
  }

  .about-hero {
    padding: clamp(40px, 6vw, 80px) 0;
  }

  .page-label {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .about-title {
    font-size: 32px;
    margin-bottom: clamp(24px, 3vw, 32px);
  }

  .experience h2 {
    font-size: 32px;
  }

  .outside-work-text h2 {
    font-size: 32px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 36px);
  }

  .about-image {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(24px, 6vw, 30px);
    line-height: 1.35;
    margin-bottom: 24px;
    max-width: 100%;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 32px;
  }
  .featured-work h2,
  .testimonials h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 24px;
  }

  .project-title {
    font-size: 22px;
    line-height: 1.4;
  }

  .project-label {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-family: "Instrument Sans", helvetica, sans-serif;
  }

  nav {
    gap: 20px;
  }

  .project-metrics {
    grid-template-columns: 1fr;
  }

  .project-snapshot {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .inline-image,
  .emoji-box,
  .art-box {
    height: 40px;
    width: 65px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonials {
    padding: 20px 0;
  }

  .footer {
    padding: 60px 0 40px;
  }

  .about-title {
    font-size: clamp(28px, 5vw, 36px);
  }

  .experience-list {
    gap: 40px;
  }

  .experience-item {
    padding-bottom: 40px;
  }

  .footer .container {
    flex-direction: column;
    gap: 8px;
    text-align: left;
  }
.footer h2{
    font-size: 32px;
    margin-bottom: 20px;
  }

  
}

/* Work  ======================================================================================= */
/* Work Page Styles */
.work-hero {
  padding: 80px 0 40px;
}

.work-hero .section-title {
  font-size: 52px;
  line-height: 1.3;
  margin-bottom: 40px;
  font-weight: 400;
  color: var(--text-primary);
}

.work-filters {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.filter-btn {
  background: transparent;
  border: none;
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 16px;
  color: var(--text-light);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.filter-btn:hover {
  color: var(--text-secondary);
}

.filter-btn.active {
  color: var(--text-primary);
  font-weight: 500;
}

/* Case Studies Section */
.case-studies {
  padding: 20px 0 80px;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
}

.case-study-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-4px);
}

.case-study-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
}

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

.case-study-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 30px;
  padding-bottom: 100px;
}

.content-section {
  margin-bottom: 100px;
}

.content-section:last-of-type {
  margin-bottom: 64px;
}

.section-heading {
  font-family: Recoleta-Regular, Georgia, "Times New Roman", serif;;
  font-size: 36px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 24px;
  margin-top: 48px;
  font-weight: 400;
}

.section-text {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
    /* color: var(--text-tertiary); */

  margin-bottom: 16px;
}

.summary-text {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  font-weight: 400;
  margin-bottom: 16px;
}

.section-text:last-child {
  margin-bottom: 0;
}

/* Objectives Grid */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.objective-card {
  background: var(--bg-card);
  padding: 28px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.objective-icon {
  font-size: 32px;
  line-height: 1;
}

.objective-title {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #152d29;
  margin: 0;
}

.objective-text {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Outcomes Grid */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
  margin-bottom: 60px;
}

.outcome-card {
  background: var(--bg-card);
  padding: 28px;

  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.outcome-card-flair {
  background: var(--bg-card);
  padding: 28px;

  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.outcome-metric {
  font-family: Recoleta-Regular, Georgia, "Times New Roman", serif;
  font-size: 40px;
  color: #5b4aff;
  font-weight: 400;
  line-height: 1;
}

.outcome-text {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/* Responsive adjustments for case study content */
@media (max-width: 1024px) {
  .objectives-grid,
  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
  }

  .section-heading {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .objectives-grid,
  .outcomes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 20px 0;
  }

  .section-heading {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .section-text {
    font-size: 15px;
    line-height: 1.7;
  }

  .objective-card,
  .outcome-card,.outcome-card-flair {
    padding: 20px;
  }

  .objective-icon {
    font-size: 28px;
  }

  .outcome-metric {
    font-size: 32px;
  }

  .objective-title {
    font-size: 15px;
  }

  .objective-text {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .objectives-grid,
  .outcomes-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 16px 0;
  }

  .section-heading {
    font-size: 24px;
  }

  .section-text {
    font-size: 14px;
  }

  .objective-card,
  .outcome-card,.outcome-card-flair {
    padding: 16px;
  }

  .objective-icon {
    font-size: 24px;
  }

  .outcome-metric {
    font-size: 28px;
  }
}

.case-study-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  font-family: "Instrument Sans", helvetica, sans-serif;
}

.case-study-title {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--text-primary);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background-color: var(--bg-secondary);
}

.cta-title {
  font-size: 52px;
  margin-bottom: 30px;
  font-weight: 400;
  color: var(--text-primary);
}

.cta-description {
  font-size: 18px;
  line-height: 1.7;
  max-width: 600px;
  font-family: "Instrument Sans", helvetica, sans-serif;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.link-purple {
  color: #6d4aff;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.link-purple:hover {
  opacity: 0.7;
}

/* Showcase section */
.showcase-section {
  padding: 16px 0;
  background: var(--bg-primary);
}

.showcase-img {
  width: 100%;
  height: 660px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  .showcase-img {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .showcase-img {
    height: 300px;
      border-radius: 12px;

  }

  .snapshot-text {
    font-family: "Instrument Sans", helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.snapshot-label {
    font-family: "Instrument Sans", helvetica, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-s);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

}

/* Project image section  */

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  margin-bottom: 36px;
}

/* Completing the responsive styles for project images */
/* The problematic incomplete media query has been removed */

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent-primary);
  color: var(--bg-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease, transform 0.3s ease;
  z-index: 999;
  will-change: transform;
}

.scroll-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-4px);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Responsive scroll-to-top button */
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
}



/* ============================================================================================================== */




/* Additional styles for case study layout */

/* Subsection titles */
.subsection-title {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 48px;
  margin-bottom: 20px;
}

/* Objective cards with numbers */
.objective-number {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Outcome card description */
.outcome-description {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Testimonial box */
.testimonial-box {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 16px;
  margin-top: 48px;
}

.testimonial-quote-large {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-image-small {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name-bold {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.author-title-small {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 14px;
  color: var(--text-tertiary);
}

/* Challenge list with numbers */
.challenge-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.challenge-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.challenge-number {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
  width: 32px;
}

.challenge-content {
  flex: 1;
}

.challenge-text {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Design question callout */
.design-question {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 12px;
  margin-top: 40px;
}

.design-question-flair {
  background: #f4e9fa;
  padding: 32px;
  border-radius: 12px;
  margin-top: 40px;
}

.question-text {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 500;
  margin: 0;
}

/* Research methods */
.research-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

/* Showcase images */
.showcase-image {
  margin: 40px 0;
}

.content-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.image-caption {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  font-style: none;
}

/* Insight sections */
.insight-section {
  margin-top: 24px;
    margin-bottom: 64px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.insight-section:first-child {
  margin-top: 32px;
  padding-top: 0;
  border-top: none;
}

.insight-title {
  font-family: Recoleta-Regular, "Instrument Sans", helvetica, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  margin-top: 32px;
}

.insight-subtitle {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
}

.recommendation-title {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
}

.recommendation-list {
  display: flex;
  flex-direction: column;
  /* gap: 16px; */
  margin: 0px 0;
}

.recommendation-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.recommendation-item .bullet {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 20px;
  color: var(--text-primary);
  flex-shrink: 0;
  line-height: 1.7;
}

.recommendation-item p {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.outcome-title {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
}

.outcome-title2 {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 12px;
  margin-bottom: 16px;
}


.contact-note {
  margin-top: 32px;
  font-style: italic;
  color: var(--text-muted);
}

/* Learning items */
.learning-item {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.learning-number {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
  width: 40px;
}

.learning-content {
  flex: 1;
}

.learning-title {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
}


/* Quote blocks for user feedback */
.project-quote-block {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 12px;
  margin: 16px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
}

.quote-text {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
}

.project-quote-block .quote-text {
    font-style: normal;
}

.quote-caption {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
  font-style: normal;
  font-weight: 500;
}

/* Two-column metadata layout */
.case-meta-two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.meta-left,
.meta-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.meta-item {
  /* border-bottom: 1px solid #e5e5e5; */
  padding-bottom: 16px;
}

.meta-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.meta-item-heading {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  margin-top: 0;
}

.meta-item-text {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Objectives grid */


.objective-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: 12px;
}

.objective-text {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}



.outcome-metric {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

/* Hero image section */

.hero-image {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  margin-bottom: 0px;
  background-size: cover;
}

.container.narrow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.container.narrow-2 {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.case-overview {
  padding: 30px 0 60px;
  background: var(--bg-primary);
}

.case-label {
  font-family: "Instrument Sans", helvetica, sans-serif;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.case-overview-title {
  font-family: Recoleta-Regular, Georgia, "Times New Roman", serif;
  font-size: 40px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 60px;
  font-weight: 400;
  max-width: 1000px;
}

/* Responsive */
@media (max-width: 1024px) {
  .container.narrow {
    padding: 0 32px;
  }

  .case-overview-title {
    font-size: 42px;
  }

  .case-meta-two-col {
    gap: 48px;
  }

  .meta-left,
  .meta-right {
    gap: 36px;
  }

  .meta-item {
    padding-bottom: 28px;
  }
}

@media (max-width: 768px) {
  .case-overview {
    padding: 30px 0 40px;
  }

  .container.narrow {
    padding: 0 20px;
  }

  .case-overview-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .case-meta-two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .meta-left,
  .meta-right {
    gap: 12px;
  }

  .meta-item {
    padding-bottom: 16px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-box {
    padding: 20px;
  }

  .testimonial-quote-large {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .author-image-small {
    width: 40px;
    height: 40px;
  }

  .author-name-bold {
    font-size: 14px;
  }

  .author-title-small {
    font-size: 12px;
  }

  .challenge-item {
    gap: 12px;
  }

  .challenge-number {
    font-size: 14px;
    width: auto;
  }

  .challenge-text {
    font-size: 15px;
  }

  .challenge-title {
    font-size: 15px;
  }

  .design-question {
    padding: 20px;
  }

  .question-text {
    font-size: 16px;
  }

  .insight-section {
    margin-top: 48px;
    padding-top: 40px;
  }

  .insight-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .recommendation-title {
    font-size: 16px;
    margin-top: 24px;
    margin-bottom: 12px;
  }

  .recommendation-list {
    gap: 12px;
    margin: 0px 0;
  }

  .recommendation-item {
    gap: 10px;
  }

  .recommendation-item .bullet {
    font-size: 18px;
  }

  .recommendation-item p {
    font-size: 14px;
    line-height: 1.6;
  }

  .outcome-title {
    font-size: 16px;
    margin-top: px;
    margin-bottom: 12px;
  }
  .outcome-title2 {
    font-size: 16px;
    margin-top: px;
    margin-bottom: 12px;
  }

  .zolo-quote-block {
    padding: 20px;
    margin: 24px 0;
  }

  .quote-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .quote-caption {
    font-size: 12px;
    margin-top: 12px;
  }

  .learning-item {
    gap: 12px;
  }

  .learning-number {
    width: auto;
  }

  .learning-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .subsection-title {
    margin-top: 32px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .challenge-list {
    gap: 16px;
  }

  .challenge-item {
    gap: 8px;
  }

  .challenge-number {
    font-size: 13px;
  }

  .challenge-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .challenge-title {
    font-size: 14px;
  }

  .challenge-description {
    font-size: 13px;
  }

  .design-question {
    padding: 16px;
    border-radius: 8px;
  }

  .question-text {
    font-size: 14px;
    line-height: 1.5;
  }

  .insight-section {
    margin-top: 32px;
    padding-top: 24px;
  }

  .insight-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .subsection-title {
    font-size: 16px;
    margin-top: 24px;
    margin-bottom: 12px;
  }

  .recommendation-title {
    font-size: 15px;
    margin-top: 20px;
    margin-bottom: 12px;
  }

  .recommendation-list {
    gap: 10px;
    margin: 0px 0;
  }

  .recommendation-item {
    gap: 8px;
  }

  .recommendation-item .bullet {
    font-size: 16px;
    line-height: 1.5;
    min-width: 16px;
  }

  .recommendation-item p {
    font-size: 13px;
    line-height: 1.5;
  }

  .outcome-title {
    font-size: 15px;
    margin-top: 12px;
    margin-bottom: 12px;
  }
  .outcome-title2 {
    font-size: 15px;
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .outcome-description {
    font-size: 13px;
  }

  .contact-note {
    font-size: 13px;
    margin-top: 16px;
  }

  .testimonial-box {
    padding: 16px;
    border-radius: 8px;
    margin-top: 32px;
  }

  .testimonial-quote-large {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .testimonial-author-box {
    gap: 12px;
  }

  .author-image-small {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .author-name-bold {
    font-size: 13px;
  }

  .author-title-small {
    font-size: 11px;
  }

  .author-info {
    gap: 1px;
  }

  .zolo-quote-block {
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
  }

  .quote-item {
    padding: 12px 0;
  }

  .quote-text {
    font-size: 13px;
    line-height: 1.5;
  }

  .quote-caption {
    font-size: 11px;
    margin-top: 8px;
  }

  .learning-item {
    gap: 12px;
    margin-bottom: 24px;
  }

  .learning-number {
    font-size: 16px;
    width: auto;
    min-width: 24px;
  }

  .learning-title {
    font-size: 15px;
    margin-bottom: 8px;
  }
}

/* ========================================
   IMAGE LIGHTBOX/ZOOM
   ======================================== */
.content-img {
  cursor: zoom-in;
}

/* Lightbox modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.889);
  animation: fadeIn 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  animation: zoomIn 0.3s ease;
}

.lightbox-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 24px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #000;
  font-size: 40px;
  font-weight: 100;
  cursor: pointer;
  z-index: 10000;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 30px;
  }

  .lightbox-img {
    max-height: 85vh;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .about-hero {
    padding: clamp(32px, 5vw, 60px) 0;
  }

  .page-label {
    font-size: 12px;
    margin-bottom: clamp(12px, 2vw, 16px);
  }

  .about-title {
    font-size: 28px;
    margin-bottom: clamp(16px, 3vw, 24px);
  }

  .experience h2 {
    font-size: 28px;
  }

  .outside-work-text h2 {
    font-size: 28px;
  }

  .about-text p {
    font-size: 15px;
    line-height: 1.7;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 28px);
  }

  .about-image {
    max-width: 100%;
  }

  .experience {
    padding: 60px 0;
  }

  .experience h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .experience-item {
    padding-bottom: 40px;
    gap: 15px;
  }
}
