/* =========================================
   Gimhan | Editorial Portfolio Redesign
   Folioblox Style Sheet
   ========================================= */

:root {
  --black: #000000;
  --dark-surface: #111111;
  --white: #ffffff;
  --text-muted: #888888;
  --brand-orange: #ff5722;
  --font-poppins: "Poppins", sans-serif;
  --font-inter: "Inter", Helvetica, Arial, sans-serif;
  --font-playfair: "Playfair Display", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-inter);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-heading,
.hero-headline,
.dossier-headline,
.project-title,
.service-title,
.plan-price {
  font-family: var(--font-poppins);
}

.italic-serif {
  font-family: var(--font-playfair);
  font-style: italic;
  font-weight: 400;
}

body.editorial-body {
  background-color: var(--black);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background-color: var(--brand-orange);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==================
   TYPOGRAPHY
   ================== */
.section-label {
  color: var(--brand-orange);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-desc {
  color: var(--white);
  font-size: 1.125rem;
  max-width: 400px;
}

.text-center {
  text-align: center;
}

/* Base Buttons */
.primary-action-button {
  background-color: var(--white);
  color: var(--black);
  border: none;
  padding: 0.5rem;
  padding-left: 1.5rem;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.primary-action-button:hover {
  transform: translateY(-2px) scale(1.02);
  background-color: #ff4d00;
  color: #ffffff;
}

.primary-action-button:hover .btn-icon {
  background-color: #ffffff;
  color: #ff4d00;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-orange);
  color: var(--white);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
}

.small-btn {
  padding: 0.25rem;
  padding-left: 1rem;
  gap: 0.75rem;
  background-color: #222;
  color: var(--white);
}

.small-btn .btn-icon {
  width: 1.75rem;
  height: 1.75rem;
}

/* ==================
   NAVIGATION
   ================== */
.main-navigation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  z-index: 1000;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--brand-orange);
}

.portal-nav-link {
  color: var(--text-muted);
  font-weight: 600;
  transition: color 0.3s ease;
}

.portal-nav-link:hover {
  color: var(--brand-orange) !important;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .main-navigation {
    padding: 1.5rem;
  }
}

/* ==================
   HERO BANNER
   ================== */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  padding: 0 4rem;
}

.hero-liquid-orb {
  position: absolute;
  top: -20%;
  left: 10%;
  width: 80vw;
  height: 80vh;
  background: radial-gradient(
    circle at center,
    rgba(255, 87, 34, 0.6) 0%,
    rgba(156, 39, 176, 0.4) 60%,
    transparent 80%
  );
  filter: blur(120px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

/* Gradient fade to pure black at bottom of hero */
.section-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50vh;
  background: linear-gradient(to top, var(--black) 10%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  grid-row: 2;
  align-self: center;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-intro {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-inter);
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-headline {
  font-size: clamp(3rem, 5vw + 1rem, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  max-width: 900px;
  font-family: var(--font-poppins);
}

.hero-subtext-container {
  max-width: 450px;
  margin-top: 4rem;
}

.hero-subheading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-paragraph {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  font-family: var(--font-inter);
  line-height: 1.6;
}

.hero-categories {
  grid-row: 3;
  align-self: end;
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.cat-num {
  color: var(--brand-orange);
  margin-right: 0.25rem;
}

@media (max-width: 1024px) {
  .section-hero {
    padding: 0 1.5rem;
    padding-top: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .hero-headline {
    font-size: 3rem;
  }
  .hero-subtext-container {
    margin-top: 2rem;
    margin-left: 0;
  }
  .hero-categories {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 6rem;
    margin-bottom: 2rem;
  }
}

/* ==================
   TRUSTED MARQUEE
   ================== */
.section-trusted {
  width: 100%;
  margin-top: 2rem;
  position: relative;
  z-index: 20;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trusted-headline {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 2rem;
  width: 100%;
  text-align: center;
}

.marquee-track-container {
  width: 100%;
  height: 60px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Fading edges for marquee */
.marquee-track-container::before,
.marquee-track-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 2;
  pointer-events: none;
}
.marquee-track-container::before {
  left: 0;
  background: linear-gradient(to right, var(--black), transparent);
}
.marquee-track-container::after {
  right: 0;
  background: linear-gradient(to left, var(--black), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-item {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 4rem;
  white-space: nowrap;
}

img.marquee-item {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.6);
  transition: filter 0.3s ease;
  padding: 0 3rem;
  flex-shrink: 0;
}

img.marquee-item:hover {
  filter: grayscale(0%) brightness(1);
}

img.marquee-item:hover {
  filter: grayscale(0%) brightness(1);
}

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

/* ==================
   PROJECTS SHOWCASE
   ================== */
.section-projects {
  padding: 4rem 4rem 8rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.projects-header,
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.projects-title-area,
.services-title-area {
  flex: 1;
  max-width: 500px;
}

.projects-desc-area,
.services-desc-area {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.desc-cta {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .lg-offset-top {
    margin-top: -3rem;
  }
}

.project-image-wrapper {
  background-color: var(--dark-surface);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
}

.project-image-wrapper img,
.about-portrait-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Explicit Grayscale requirement */
.grayscale-filter img {
  filter: grayscale(100%);
}

.project-info {
  text-align: left;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.project-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .lg-offset-top {
    margin-top: 0;
  }
  .section-projects {
    padding: 4rem 1.5rem;
  }
}

/* ==================
   ABOUT ME
   ================== */
.section-about {
  padding: 8rem 4rem;
  background-color: var(--dark-surface); /* gives differentiation */
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.huge-text {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 2rem;
}

.about-subheadline {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-paragraph {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 450px;
}

.about-paragraph strong {
  color: var(--white);
  font-weight: 700;
}

.about-portrait-wrapper {
  aspect-ratio: 3/4;
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: var(--black);
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .huge-text {
    font-size: 3rem;
  }
  .section-about {
    padding: 4rem 1.5rem;
  }
}

/* ==================
   PRICING
   ================== */
.section-pricing {
  padding: 8rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-pricing .section-heading {
  margin-bottom: 4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  background-color: var(--dark-surface);
  border-radius: 1.5rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-card.highlighted {
  background-color: var(--brand-orange);
  color: var(--white);
  transform: scale(1.05);
  z-index: 2;
  border: none;
}

.plan-badge {
  position: relative;
  align-self: flex-end;
  margin-top: -1.5rem;
  margin-bottom: 1.5rem;
  margin-right: -1.5rem;
  display: inline-block;
  width: max-content;
  background-color: var(--black);
  color: var(--brand-orange);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 87, 34, 0.3);
}

.plan-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
}

.price-period {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.6;
}

.plan-desc {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 2rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.plan-features li::before {
  content: "✓";
  margin-right: 0.75rem;
  opacity: 0.5;
}

.pricing-btn {
  margin-top: auto;
  padding: 1rem;
  border-radius: 99px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.pricing-btn:hover {
  transform: scale(1.02);
  background-color: #ff4d00;
  color: #ffffff;
}

.pricing-btn:hover .arr {
  background-color: #ffffff;
  color: #ff4d00;
}

.dark-btn {
  background-color: #222;
  color: var(--white);
}

.light-btn {
  background-color: var(--white);
  color: var(--brand-orange);
}

.pricing-btn .arr {
  background-color: rgba(255, 255, 255, 0.1);
  color: inherit;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.light-btn .arr {
  background-color: var(--brand-orange);
  color: var(--white);
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.highlighted {
    transform: none;
  }
  .section-pricing {
    padding: 4rem 1.5rem;
  }
}

/* ==================
   SERVICES
   ================== */
.section-services {
  padding: 8rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-box {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2.5rem;
  background-color: transparent;
  transition: border-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-box:hover {
  border-color: var(--brand-orange);
}

.service-icon {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-orange);
  margin-bottom: 4rem;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .section-services {
    padding: 4rem 1.5rem;
  }
}

/* ==================
   CONTACT DOSSIER
   ================== */
.section-contact {
  padding: 8rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.dossier-card {
  background-color: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 6rem 4rem;
  width: 100%;
  max-width: 700px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dossier-headline {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 3rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.dossier-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 5rem;
}

.dossier-btn {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 1.25rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dossier-btn.dossier-primary {
  background-color: var(--white);
  color: var(--black);
  border: none;
}

.dossier-btn.dossier-primary:hover {
  background-color: var(--brand-orange);
  color: var(--white);
}

.dossier-btn.dossier-secondary {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.dossier-btn.dossier-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.dossier-disclaimer {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.dossier-btn:hover {
  border-color: #ff4d00;
  background-color: #ff4d00;
  color: var(--white);
  transform: scale(1.02);
}

.dossier-embossed {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: transparent;
  text-shadow:
    -1px -1px 1px rgba(0, 0, 0, 0.8),
    1px 1px 1px rgba(255, 255, 255, 0.15);
}

/* ==================
   MODAL & UTILITIES
   ================== */
.hidden-strategic-text {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.6s ease;
}

.hidden-strategic-text.expanded {
  max-height: 500px;
  opacity: 1;
  margin-top: 1.5rem;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
  margin-top: 1rem;
}

.read-more-link:hover {
  color: #ff4d00;
}

.dropdown-arrow {
  transition: transform 0.4s ease;
}

.dropdown-arrow.rotated {
  transform: rotate(180deg);
}

/* Glow Card Functionality */
.glow-card {
  position: relative;
  overflow: hidden;
}

.glow-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 77, 0, 0.1),
    transparent 40%
  );
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-card:hover::before {
  opacity: 1;
}

.glow-card > * {
  position: relative;
  z-index: 1;
}

/* Glassmorphism Modal */
.contact-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.contact-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal {
  background-color: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 1rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.contact-modal-overlay.active .contact-modal {
  transform: translateY(0);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.coming-soon-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.modal-option-btn {
  display: block;
  width: 100%;
  padding: 1.25rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.modal-option-btn:hover {
  background-color: #d4af37;
  border-color: #d4af37;
  transform: scale(1.02);
}

.modal-close-btn {
  margin-top: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.9rem;
}
.modal-close-btn:hover {
  color: var(--white);
}

/* ==================
   PROJECT DETAIL MODAL
   ================== */
.project-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  padding: 2rem;
}

.project-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.project-modal {
  background-color: var(--dark-surface);
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  border-radius: 2rem;
  position: relative;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: translateY(30px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.project-modal-overlay.active .project-modal {
  transform: translateY(0);
}

.project-modal::-webkit-scrollbar {
  width: 6px;
}

.project-modal::-webkit-scrollbar-track {
  background: transparent;
}

.project-modal::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.project-modal::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.project-modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  z-index: 10;
}

.project-modal-close:hover {
  background: var(--brand-orange);
  transform: rotate(90deg);
}

.modal-body {
  padding: 4rem;
}

.modal-header {
  margin-bottom: 3rem;
}

.modal-project-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--white);
}

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

.case-study-section {
  margin-bottom: 2.5rem;
}

.case-study-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-top: 1rem;
}

.deliverables-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.deliverables-list li {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-gallery-container {
  width: 100%;
}

.modal-gallery {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.gallery-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .modal-body {
    padding: 2rem;
    padding-top: 5rem;
  }
  .modal-project-title {
    font-size: 2.5rem;
  }
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .project-modal {
    max-height: 100vh;
    border-radius: 0;
  }
}

/* ==================
   THE DESIGN ARCHIVE
   ================== */
.section-archive {
  padding: 8rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.archive-header {
  text-align: center;
  margin-bottom: 4rem;
}

.archive-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
  line-height: 1.6;
}

.archive-filters {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.filter-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.filter-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-orange);
  transition: width 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--white);
}

.filter-btn.active::after {
  width: 100%;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.archive-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #333;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.archive-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.archive-item:hover {
  transform: scale(0.98);
}

.archive-item:hover img {
  transform: scale(1.1);
}

/* ==================
   LIGHTBOX
   ================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.98);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

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

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
}

@media (max-width: 1024px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-archive {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }
  .archive-filters {
    gap: 1rem;
    flex-wrap: wrap;
  }
}
