/* ===========================
   GOOGLE FONTS (fallback)
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ===========================
   DIATYPE VARIABLE
   Place your licensed .woff2 file at: assets/fonts/Diatype-Variable.woff2
   =========================== */
@font-face {
  font-family: 'Diatype Variable';
  src: url('../assets/fonts/Diatype-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
} 

/* ===========================
   UNIVERSAL FONT + BASE STYLES
   =========================== */
* {
  font-family: 'Diatype Variable', 'DM Sans', sans-serif !important;
  font-variation-settings: 'slnt' 0, 'MONO' 0;
}

/* ===========================
   CSS VARIABLES
   =========================== */
:root {
  --font-display: 'Diatype Variable', 'DM Sans', sans-serif;
  --font-body: 'Diatype Variable', 'DM Sans', sans-serif;
  --font-mono: 'Diatype Variable', 'DM Sans', sans-serif;

  --text-primary: #000000;
  --text-secondary: #000000;
  --text-muted: #000000;
  --text-faint: #000000;
  --border: rgba(0, 0, 0, 0.12);
  --border-strong: rgba(0, 0, 0, 0.25);
  --bg: #fafaf8;
  --white: #ffffff;
  --bg: #fafaf8;

  --pad: clamp(1rem, 3vw, 2rem);
  --max-width: 1400px;

  --transition: 0.3s ease;
}

/* ===========================
   RESET & BASE
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-size: 16px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.85);
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0em;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

img {
  background: rgba(0, 0, 0, 0.04);
}

/* Logo: always transparent, no box */
img.logo,
.hero-logo img,
.detail-header img,
.back-logo img,
.logo-link img {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  mix-blend-mode: multiply;
}

a {
  color: inherit !important;
  text-decoration: none;
  font-weight: inherit !important;
  font-size: inherit !important;
  letter-spacing: inherit !important;
  touch-action: manipulation;
}

/* Underline links inside content areas */
.project-specs-block a,
.project-description a,
.sidebar-links a,
.about-contact a,
.lighting-intro a,
.editorial-text a,
.editorial-cta a,
.see-more {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

button {
  cursor: pointer;
  color: inherit;
  touch-action: manipulation;
}

/* ===========================
   FLOATING NAV
   =========================== */
.floating-nav {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  padding: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.floating-nav a,
.floating-nav button {
  pointer-events: auto;
}

.nav-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-col a {
  font-size: 0.72rem;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  transition: opacity var(--transition);
  line-height: 1.3;
}

.nav-col a:hover {
  opacity: 0.5;
}

.nav-backtop {
  position: absolute;
  top: var(--pad);
  right: var(--pad);
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-backtop.visible {
  opacity: 1;
}

.nav-backtop a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  pointer-events: auto;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  padding: 0.5rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  color: #000000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: var(--white);
  z-index: 1000;
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  margin-bottom: 2rem;
  display: block;
  color: var(--text-primary);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mobile-nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: opacity var(--transition);
}

.mobile-nav-links a:hover {
  opacity: 0.5;
}

.mobile-nav-links hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.5rem 0;
}

@media (max-width: 768px) {

  .nav-left,
  .nav-right,
  .nav-backtop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav-overlay {
    display: block;
  }
}

/* ===========================
   SECTION BASE
   =========================== */
.section {
  width: 100%;
}

/* ===========================
   HERO
   =========================== */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
  gap: 2rem;
}

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

.hero-logo .logo {
  width: clamp(80px, 12vw, 160px);
  margin: 0 auto;
}

/* ===========================
   HERO ROW (AJUSTADO FULL WIDTH)
   =========================== */

.hero-content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  /* 🔥 CLAVE: full width real */
  width: 100vw;
  padding: 0 var(--pad);

  gap: 3.5rem;
  box-sizing: border-box;
}

/* NAV COLUMNS */
.hero-content-row .nav-col {
  flex-shrink: 0;
  min-width: 140px;
}

/* 🔥 IZQUIERDA PEGADA */
.hero-content-row .nav-left {
  margin-left: 0;
  text-align: left;
}

/* 🔥 DERECHA PEGADA */
.hero-content-row .nav-right {
  margin-right: 0;
  text-align: right;
}

/* ===========================
   VIDEO
   =========================== */

.hero-video-wrap {
  flex: 1;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  min-height: 52vh;
}

.hero-video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {

  .hero-content-row {
    flex-direction: column;
    width: 100%;
    padding: 0 var(--pad);
    gap: 1.2rem;
  }

  .hero-content-row .nav-col {
    display: none;
  }

  .hero-video-wrap {
    width: 100%;
    min-height: auto;
    aspect-ratio: 16 / 9;
  }
}


/* ===========================
   PROJECT PREVIEW
   =========================== */

.project-preview {
  padding: clamp(3rem, 8vw, 6rem) var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===========================
   IMAGE
   =========================== */

.project-image-wrap {
  width: min(75%, 800px);
  margin: 0 auto 2rem;
  overflow: hidden;
}

.project-image-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.project-image-wrap:hover img {
  transform: none;
}

/* ===========================
   TEXT CONTAINER (MISMO EJE QUE LA FOTO)
   =========================== */

.project-meta-row {
  width: min(75%, 800px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left; 
}

/* ===========================
   DESCRIPTION
   =========================== */

.project-desc {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* ===========================
   SPECS
   =========================== */

.project-specs {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ===========================
   SEE MORE
   =========================== */

.project-meta-right {
  margin-top: 0.5rem;
}

.see-more {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: underline;
  transition: opacity var(--transition);
}

.see-more:hover {
  opacity: 0.5;
}
@media (max-width: 768px) {
  .project-image-wrap {
    width: 100%;
  }

  .project-meta-row {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about {
  padding: clamp(4rem, 10vw, 8rem) var(--pad);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.about-image-col img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.about-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-contact a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity var(--transition);
}

.about-contact a:hover {
  opacity: 0.5;
}

.social-icon {
  width: 20px;
  height: 20px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-section-label {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.about-text-col p {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  max-width: 72ch;
}

.about-text-col p:last-child {
  margin-bottom: 0;
}

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

  .about-image-col img {
    aspect-ratio: 4 / 3;
    max-width: 400px;
  }
}

/* ===========================
   SITE FOOTER
   =========================== */
.site-footer {
  padding: 3rem var(--pad);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===========================
   DETAIL PAGES
   =========================== */
.project-detail-page {
  background: var(--bg);
}

.detail-header {
  position: fixed;
  top: var(--pad);
  left: var(--pad);
  z-index: 100;
  width: fit-content;
  background: transparent;
}

.back-logo img {
  width: clamp(50px, 8vw, 80px);
  transition: opacity var(--transition);
}

.back-logo:hover img {
  opacity: 0.6;
}

/* Detail top gallery */
.detail-gallery-top {
  padding: 2rem var(--pad) 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .detail-gallery-top {
    padding-top: 6rem;
  }
}

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

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

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

.gallery-grid-3 img,
.gallery-grid-4 img,
.gallery-grid-2 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.detail-gallery-top .gallery-grid-3 img,
.detail-gallery-top .gallery-grid-2 img {
  aspect-ratio: unset;
  height: 65vh;
}

.gallery-grid-3 img:hover,
.gallery-grid-4 img:hover,
.gallery-grid-2 img:hover {
  transform: scale(1.02);
}

/* Freeform gallery */
.freeform-gallery {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.freeform-gallery img {
  position: absolute;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.freeform-gallery img:hover {
  transform: scale(1.02);
  z-index: 2;
}

.freeform-gallery .img-a {
  left: 0;
  top: 0;
  width: 55%;
  height: 85%;
}

.freeform-gallery .img-b {
  right: 0;
  top: 4%;
  width: 42%;
  height: 75%;
}

.freeform-gallery .img-c {
  left: 15%;
  bottom: 0;
  width: 40%;
  height: 50%;
  z-index: 1;
}

@media (max-width: 768px) {
  .freeform-gallery {
    height: auto;
    position: static;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
  }

  .freeform-gallery img {
    position: static;
    width: 85vw;
    height: 240px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .gallery-grid-3,
  .gallery-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {

  .gallery-grid-3,
  .gallery-grid-4,
  .gallery-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Detail main content */
.detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 4rem) var(--pad);
  max-width: var(--max-width);
  margin: 0 auto;
}

.project-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.project-specs-block {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.project-specs-block strong {
  color: var(--text-secondary);
}

.project-description {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.85;
  color: var(--text-secondary);
}

.project-description p {
  margin-bottom: 1.2rem;
}

.project-description p:last-child {
  margin-bottom: 0;
}

/* Two-column description */
.description-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.description-two-col p {
  margin-bottom: 1.2rem;
}

/* Detail sidebar */
.detail-sidebar {
  padding-top: 0.5rem;
}

.sidebar-section {
  margin-bottom: 2.5rem;
}

.sidebar-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
}

.sidebar-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
  transition: opacity var(--transition);
}

.sidebar-links a:hover {
  opacity: 0.5;
}


.sidebar-awards {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-awards li {
  list-style: none;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
}

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

  .description-two-col {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   VIDEO SECTION
   =========================== */
.detail-video-section {
  padding: 0 var(--pad) clamp(2rem, 5vw, 4rem);
  max-width: var(--max-width);
  margin: 0 auto;
}

.video-wrap {
  width: 80%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.video-wrap video,
.video-wrap iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

.video-wrap-small {
  height: 80vh;
  width: auto;
  max-width: calc(80vh * 9 / 16);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  overflow: hidden;
  background: #000;
}

.video-wrap-small video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {

  .video-wrap {
    width: 100%;
  }

  .video-wrap-small {
    height: 60vh;
    width: auto;
    max-width: calc(60vh * 9 / 16);
    aspect-ratio: 9 / 16;
  }
}

/* ===========================
   SLIDESHOW
   =========================== */
.detail-slideshow {
  padding: 0 var(--pad) clamp(2rem, 5vw, 4rem);
  max-width: var(--max-width);
  margin: 0 auto;
}

.slideshow-wrapper {
  position: relative;
}

.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
}

.slideshow-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slideshow-slide.active {
  opacity: 1;
}

.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Bottom detail slideshows show images at actual size (like Missing Room) */
.detail-slideshow .slideshow {
  aspect-ratio: unset;
  height: 65vh;
}

.detail-slideshow .slideshow-slide img {
  object-fit: contain;
  background: var(--bg);
}

.slideshow-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.slideshow-controls button {
  background: none;
  border: 1px solid var(--border-strong);
  width: 42px;
  height: 42px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  color: var(--text-primary);
}

.slideshow-controls button:hover {
  background: var(--text-primary);
  color: var(--white);
}

.slideshow-counter {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Cabin ANNA drawings gallery */




/* ===========================
   SINGLE IMAGE (detail)
   =========================== */
.detail-single-image {
  padding: 0 var(--pad) clamp(2rem, 5vw, 3rem);
  max-width: var(--max-width);
  margin: 0 auto;
}

.detail-single-image img {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
}

/* ===========================
   ROW GALLERY (5 images)
   =========================== */
.gallery-row {
  padding: 0 var(--pad) clamp(2rem, 5vw, 3rem);
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .mobile-slider {
    padding-bottom: 0;
  }

  .mobile-slider-controls {
    margin-top: 1rem;
  }
}

.gallery-row-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-row-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.de-vice-square-gallery img {
  aspect-ratio: 1 / 1;
}

@media (min-width: 769px) {
  .de-vice-responsive-gallery .slideshow {
    display: flex;
    gap: 0.5rem;
    height: auto;
    aspect-ratio: unset;
    overflow: visible;
    background: transparent;
  }

.de-vice-responsive-gallery .slideshow-slide {
  position: static;
  opacity: 1 !important;
  flex: 1;
  pointer-events: auto;
}
.de-vice-responsive-gallery .slideshow-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  pointer-events: auto;
}

  .de-vice-responsive-gallery .slideshow-controls {
    display: none;
  }
}

@media (max-width: 768px) {
  .de-vice-responsive-gallery .slideshow {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .de-vice-responsive-gallery .slideshow-slide img {
    object-fit: cover;
  }
}

.mobile-slider-controls {
  display: none;
}

.mobile-slider-controls.slideshow-controls {
  width: 100%;
  justify-content: space-between;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .mobile-slider {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    aspect-ratio: auto;
    background: transparent;
  }

  .mobile-slider img {
    flex: 0 0 85%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    scroll-snap-align: center;
  }

  .mobile-slider-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
  }
}

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

@media (max-width: 768px) {

  .gallery-row-5,
  .gallery-row-4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-row-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {

  .gallery-row-5,
  .gallery-row-4,
  .gallery-row-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 769px) {
  .axis-responsive-gallery .slideshow {
    display: flex;
    gap: 0.5rem;
    height: auto;
    aspect-ratio: unset;
    overflow: visible;
    background: transparent;
  }

  .axis-responsive-gallery .slideshow-slide {
    position: static;
    opacity: 1 !important;
    flex: 1;
    pointer-events: auto;
  }

  .axis-responsive-gallery .slideshow-slide img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    pointer-events: auto;
  }

  .axis-responsive-gallery .slideshow-controls {
    display: none;
  }
}

@media (max-width: 768px) {
  .axis-responsive-gallery .slideshow {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .axis-responsive-gallery .slideshow-slide img {
    object-fit: cover;
  }
}

/* ===========================
   LIGHTING PAGE
   =========================== */
.lighting-intro {
  padding: 2rem var(--pad);
  max-width: var(--max-width);
  margin: 0 auto;
}

.lighting-intro p {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.lighting-intro a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}

.lighting-intro a:hover {
  opacity: 0.5;
}

.lighting-products {
  padding: 0 var(--pad);
  max-width: var(--max-width);
  margin: 0 auto;
}

.lighting-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 6vw, 5rem) 0;
  align-items: start;
}

.product-gallery {
  position: relative;
}

.product-gallery .slideshow {
  aspect-ratio: 4 / 3;
}

.product-gallery .slideshow-slide img {
  object-fit: contain;
  background: var(--bg);
}

.product-info {
  padding-top: 1rem;
}

.product-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.product-specs {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.product-price {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding-top: 0.5rem;
}

@media (max-width: 768px) {
  .lighting-gallery-top .slideshow {
    aspect-ratio: 3 / 4;
    height: auto !important;
  }

  .lighting-gallery-top .slideshow-slide img {
    object-fit: cover;
  }
}



/* ===========================
   WORK WITH US / SPEAKING
   =========================== */
.editorial-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.editorial-hero {
  padding: clamp(3rem, 8vw, 6rem) 0 0;
}

.editorial-hero-row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8rem;
}

.editorial-hero-row .editorial-cta {
  margin-top: 0;
}

.editorial-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.editorial-location {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
}

.editorial-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 0 0;
}

.editorial-text p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  max-width: 62ch;
}

.editorial-cta {
  margin-top: 2rem;
}

.editorial-cta a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity var(--transition);
}

.editorial-cta a:hover {
  opacity: 0.5;
}

.editorial-aside {
  padding-top: 0.5rem;
}

.editorial-aside .sidebar-section {
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .lighting-product {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
  }

  .product-gallery {
    width: 100%;
  }

  .product-gallery .slideshow {
    width: 100%;
    aspect-ratio: 3 / 4;
  }

  .product-info {
    padding-top: 0;
  }
}

.editorial-body .editorial-cta {
  margin-top: 2rem;
}

.editorial-body .editorial-cta a {
  display: inline-block;
}

@media (max-width: 768px) {
  .editorial-body {
    display: block;
  }

  .editorial-body .editorial-cta {
    margin-top: 1.5rem;
  }
}

/* ===========================
   INLINE VIDEO IN GRID
   =========================== */
.gallery-inline-video {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
}

.gallery-inline-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===========================
   DETAIL FOOTER
   =========================== */
.detail-footer {
  padding: 3rem var(--pad);
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.detail-footer p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===========================
   FADE IN ON SCROLL
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===========================
   UTILITY
   =========================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ===========================
   GALLERY — DESKTOP: ALL IMAGES SIDE BY SIDE
   =========================== */
@media (min-width: 769px) {
  .gallery-grid,
  .gallery-top,
  .freeform-gallery,
  .project-gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 4px;
    width: 100%;
  }

  .gallery-grid img,
  .gallery-top img,
  .freeform-gallery img,
  .project-gallery img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
  }
}

@media (min-width: 1025px) {
  .detail-gallery-top .slideshow {
    display: flex;
    gap: 4px;
    position: static;
    height: 320px;
    aspect-ratio: unset;
    background: none;
    overflow: visible;
  }

  .detail-gallery-top .slideshow-slide {
    position: static;
    flex: 1;
    min-width: 0;
    opacity: 1 !important;
    transition: none;
  }

  .detail-gallery-top .slideshow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .detail-gallery-top .slideshow-controls {
    display: none;
  }

  .lighting-gallery-top .slideshow {
    height: 65vh;
  }
}

@media (max-width: 1024px) {
  .gallery-grid,
  .gallery-top,
  .project-gallery {
    display: block;
  }
}

/* ===========================
   RESPONSIVE — MOBILE
   =========================== */
@media (max-width: 480px) {
  :root {
    --pad: 1rem;
  }

  .editorial-title {
    font-size: 2.2rem;
  }
}

/* ===========================
   LIGHTBOX
   =========================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 4rem 5rem;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.3rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  touch-action: manipulation;
}

.lightbox-close:hover {
  color: #fff;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.2s ease, color 0.2s ease;
  touch-action: manipulation;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-counter {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .lightbox-img-wrap {
    padding: 4rem 3.5rem;
  }

  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
}
