/* ==========================================================================
   CSS Variables / Design System
   ========================================================================== */
:root {
  /* Colors */
  --concrete: #E8E4DF;
  --concrete-light: #F0EDEA;
  --concrete-dark: #D5D0CA;
  --pink: #E84B8A;
  --pink-light: #F2A0BF;
  --pink-dark: #D43B7A;
  --charcoal: #2C2C2C;
  --dark-border: #1A1A1A;
  --gray: #7A7A7A;
  --gray-light: #B0B0B0;
  --off-white: #F5F2EF;
  --white: #FFFFFF;

  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --section-padding-desktop: 120px;
  --section-padding-tablet: 80px;
  --section-padding-mobile: 60px;
  --transition: 0.3s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--concrete);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Texture Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  line-height: 1.2;
}

/* ==========================================================================
   Layout Utils
   ========================================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-padding-desktop) 0;
}

/* ==========================================================================
   1. Navigation (.site-nav)
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--dark-border);
}

.site-nav.scrolled {
  background-color: rgba(232, 228, 223, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Utility */
.pink {
  color: var(--pink);
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--pink);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--charcoal);
  margin: 5px 0;
  transition: var(--transition);
}

.nav-link.active {
  color: var(--pink);
}

/* ==========================================================================
   2. Hero (.hero)
   ========================================================================== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 70px; /* offset nav */
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 0 24px;
}

.hero-label {
  font-size: 0.875rem;
  color: var(--gray);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
  opacity: 0;
  animation: heroFadeIn 1s forwards 0.2s;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--charcoal);
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8), -1px -1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 8px;
  opacity: 0;
  animation: heroFadeIn 1s forwards 0.4s;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  opacity: 0;
  animation: heroFadeIn 1s forwards 0.6s;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background-color: var(--pink);
  margin: 32px auto;
  opacity: 0;
  animation: heroFadeIn 1s forwards 0.8s;
}

.hero-philosophy {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gray);
  opacity: 0;
  animation: heroFadeIn 1s forwards 1s;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gray);
  opacity: 0;
  animation: heroFadeIn 1s forwards 1.2s;
}

.scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.scroll-arrow {
  font-size: 1.2rem;
  animation: bounce 2s infinite ease-in-out;
}

/* ==========================================================================
   3. Projects (.projects)
   ========================================================================== */
.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

/* Filter Tabs */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--concrete-dark);
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 10px 24px;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.filter-btn.active {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
}

/* Project card hidden state (used by JS filter) */
.project-card.hidden {
  display: none;
}

.project-card {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.project-card {
  width: calc(50% - 12px);
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background-color: var(--concrete-dark);
}

/* Featured / Highlight Card spanning full width */
.project-card.project-featured {
  width: 100%;
  aspect-ratio: 21 / 9; /* Cinematic wide aspect ratio */
}

.project-subtitle {
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: none;
  margin-top: 4px;
  transform: translateY(10px);
  transition: transform 0.4s ease 0.15s;
}

.project-card:hover .project-subtitle {
  transform: translateY(0);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

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

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-category {
  color: var(--pink);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
  display: block;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.project-title {
  color: var(--white);
  font-size: 1.5rem;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  transform: translateY(10px);
  transition: transform 0.4s ease 0.1s;
}

.project-card:hover .project-category,
.project-card:hover .project-title {
  transform: translateY(0);
}

/* ==========================================================================
   4. Services (.services)
   ========================================================================== */
.services {
  background-color: var(--off-white);
}

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

.service-card {
  background-color: var(--white);
  padding: 40px 32px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border-bottom-color: var(--pink);
}

.service-icon {
  color: var(--pink);
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 24px;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.service-desc {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ==========================================================================
   5. About (.about)
   ========================================================================== */
.about-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-photo-wrapper,
.about-image-wrapper {
  flex: 1;
  position: relative;
}

.about-photo,
.about-image {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  position: relative;
  z-index: 2;
}

.about-photo-wrapper::after,
.about-image-wrapper::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  max-width: 380px;
  height: 100%;
  border: 2px solid var(--pink);
  border-radius: 4px;
  z-index: 1;
}

.about-text {
  flex: 1;
}

.about-label {
  color: var(--gray);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  display: block;
}

.about-name {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.about-name span {
  color: var(--pink);
}

.about-role {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.about-bio {
  color: var(--gray);
  margin-bottom: 32px;
}

.about-philosophy {
  background-color: var(--concrete-light);
  padding: 24px;
  border-left: 3px solid var(--pink);
}

.tres-letters {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--pink);
  margin-bottom: 8px;
  letter-spacing: 0.2em;
}

.tres-meaning {
  font-size: 0.9rem;
  color: var(--charcoal);
}

.tres-meaning strong {
  color: var(--pink);
  font-weight: 600;
}

/* ==========================================================================
   6. Tools (.tools)
   ========================================================================== */
.tools {
  background-color: var(--concrete-light);
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px;
  transition: transform var(--transition);
}

.tool-item:hover {
  transform: scale(1.05);
}

.tool-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--pink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(232, 75, 138, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

.tool-item:hover .tool-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(232, 75, 138, 0.3);
}

.tool-name {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.tool-desc {
  font-size: 0.75rem;
  color: var(--gray);
}

/* ==========================================================================
   7. Process (.process)
   ========================================================================== */
.process-timeline,
.process-steps {
  display: flex;
  gap: 24px;
  position: relative;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 40px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 10%;
  right: 10%;
  height: 1px;
  background-color: var(--concrete-dark);
  z-index: 1;
}

.step-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--pink);
  z-index: 2;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--pink);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ==========================================================================
   8. Credentials (.credentials)
   ========================================================================== */
.credentials {
  background-color: var(--off-white);
}

.credentials-content,
.credentials-grid {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.credential-section,
.credential-group {
  flex: 1;
  min-width: 250px;
}

.credential-heading {
  font-size: 1.5rem;
  margin-bottom: 32px;
  color: var(--charcoal);
  border-bottom: 1px solid var(--concrete-dark);
  padding-bottom: 16px;
}

.credential-item {
  margin-bottom: 24px;
}

.credential-year {
  color: var(--pink);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.credential-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.credential-org {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ==========================================================================
   9. Contact (.contact)
   ========================================================================== */
.contact {
  background-color: var(--charcoal);
  color: var(--off-white);
}

.contact .section-title,
.contact .section-subtitle {
  color: var(--off-white);
}

.contact .section-subtitle {
  color: var(--gray-light);
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-intro {
  text-align: center;
  margin-bottom: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 24px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: var(--gray-light);
}

.form-input,
.form-select,
.form-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gray);
  padding: 12px 0;
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-bottom-color: var(--pink);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select option {
  background-color: var(--charcoal);
  color: var(--off-white);
}

.form-submit {
  background-color: var(--pink);
  color: var(--white);
  border: none;
  padding: 16px 48px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--transition);
  align-self: center;
  margin-top: 16px;
}

.form-submit:hover {
  background-color: var(--pink-dark);
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
}

.contact-link {
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.contact-link:hover {
  color: var(--pink);
}

/* ==========================================================================
   10. Footer (.site-footer)
   ========================================================================== */
.site-footer {
  background-color: var(--dark-border);
  color: var(--off-white);
  padding: 40px 24px;
  border-bottom: 4px solid var(--pink);
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-tagline {
  color: var(--gray-light);
  font-size: 0.875rem;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--gray-light);
  font-size: 0.875rem;
}

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

.footer-copyright {
  width: 100%;
  text-align: center;
  margin-top: 32px;
  font-size: 0.75rem;
  color: var(--gray);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

/* ==========================================================================
   Lightbox / Project Gallery Modal
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

/* Container Split */
.lightbox-container {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Close Button */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
  z-index: 9010;
}
.lightbox-close:hover { color: var(--pink); }

/* Sidebar (Brochure style) */
.lightbox-sidebar {
  width: 380px;
  background: var(--concrete);
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 48px 48px;
  border-right: 1px solid var(--concrete-dark);
  flex-shrink: 0;
}

.lightbox-project-info {
  margin-bottom: 32px;
}

.lightbox-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--pink);
  margin-bottom: 12px;
  font-weight: 600;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--charcoal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.2;
}

.lightbox-sub {
  color: var(--gray);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.lightbox-image-info {
  border-top: 1px solid var(--concrete-dark);
  padding-top: 24px;
}

.lightbox-counter {
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  font-weight: 500;
}

.lightbox-image-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.4;
}

.lightbox-image-type {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Main Photo Stage */
.lightbox-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}

.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  min-height: 0;
}

.lightbox-imgwrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 24px;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transition: opacity 0.25s ease;
}

.lightbox-img.loading { opacity: 0.3; }

/* Navigation Arrows */
.lightbox-arrow {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.lightbox-arrow:hover { background: var(--pink); border-color: var(--pink); }
.lightbox-arrow:disabled { opacity: 0.2; cursor: default; }

/* Thumbnails */
.lightbox-footer {
  padding: 24px 40px;
  background: rgba(0,0,0,0.3);
}

.lightbox-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--pink) rgba(255,255,255,0.1);
}
.lightbox-thumbs::-webkit-scrollbar { height: 4px; }
.lightbox-thumbs::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); border-radius: 2px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 2px; }

.lightbox-thumb {
  width: 80px;
  height: 54px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.4;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: all var(--transition);
}
.lightbox-thumb:hover { opacity: 0.8; }
.lightbox-thumb.active {
  opacity: 1;
  border-color: var(--pink);
}

/* Project card — show View Gallery hint */
.project-card::after {
  content: 'VIEW GALLERY';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--pink);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 12px 24px;
  border-radius: 30px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 5;
  pointer-events: none;
}
.project-card:hover::after { 
  opacity: 1; 
  transform: translate(-50%, -50%) scale(1);
}

/* Mobile Adjustments for Lightbox */
@media (max-width: 900px) {
  .lightbox-container { flex-direction: column; }
  .lightbox-sidebar { 
    width: 100%; 
    padding: 24px; 
    border-right: none; 
    border-bottom: 1px solid var(--concrete-dark);
    flex-direction: row;
    align-items: center;
  }
  .lightbox-project-info { margin-bottom: 0; }
  .lightbox-image-info { border-top: none; padding-top: 0; text-align: right; }
  .lightbox-title { font-size: 1.4rem; }
  .lightbox-image-title { font-size: 0.95rem; }
  .lightbox-stage { padding: 20px 10px; }
  .lightbox-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
  .lightbox-footer { padding: 12px 20px; }
}

@media (max-width: 768px) {
  .project-card::after { 
    opacity: 1; 
    top: 20px;
    right: 20px;
    left: auto;
    bottom: auto;
    transform: none;
    font-size: 0.7rem;
    padding: 8px 16px;
  }
  .project-card:hover::after {
    transform: none;
  }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
/* Tablet */
@media (max-width: 1024px) {
  section {
    padding: var(--section-padding-tablet) 0;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  
  .about-photo-wrapper,
  .about-image-wrapper {
    margin-bottom: 24px;
  }
  
  .about-photo-wrapper::after,
  .about-image-wrapper::after {
    left: 50%;
    transform: translateX(-50%);
    margin-left: 10px;
  }
  
  .about-philosophy {
    text-align: left;
  }
  
  .credentials-content {
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  section {
    padding: var(--section-padding-mobile) 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--concrete);
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--concrete-dark);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .project-card {
    width: 100%;
  }
  
  .project-card.project-featured {
    aspect-ratio: 16 / 9;
  }

  /* Make project overlay always visible on mobile */
  .project-overlay {
    opacity: 1;
  }
  
  .project-category,
  .project-title,
  .project-subtitle {
    transform: translateY(0);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline,
  .process-steps {
    flex-direction: column;
    gap: 40px;
  }

  .process-timeline::before,
  .process-steps::before {
    top: 0;
    bottom: 0;
    left: 4px;
    width: 1px;
    height: auto;
    right: auto;
  }

  .process-step {
    padding-top: 0;
    padding-left: 32px;
    text-align: left;
    display: flex;
    flex-direction: column;
  }

  .step-dot {
    left: 0;
    top: 10px;
    transform: none;
  }
  
  .step-number {
    margin-bottom: 8px;
    font-size: 2.5rem;
  }

  .credentials-content,
  .credentials-grid {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
    gap: 24px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
