/* ==========================================================================
   SIGMAFORMA - CONCEPT 3: SHOWROOM PANORÂMICO INTERATIVO (IVORY/LIGHT THEME)
   ========================================================================== */

:root {
  --color-bg: #f5f4f0;           /* Warm ivory/alabaster background */
  --color-bg-card: #ffffff;      /* Pure white cards/form container */
  --color-border: rgba(197, 168, 128, 0.22); /* Delicate warm bronze borders */
  --color-border-active: rgba(197, 168, 128, 0.55);
  
  /* Palette Colors */
  --color-bronze: #ab8e66;       /* Deeper warm bronze */
  --color-charcoal: #1c1d21;     /* Soft dark charcoal for typography */
  --color-muted: #6e7078;        /* Muted slate grey */
  
  /* Fonts */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Outfit', sans-serif;
  --font-mono: Courier, monospace;
  
  /* Transitions */
  --transition-fast: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-pane: flex 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  
  --glass-bg: rgba(245, 244, 240, 0.88);
  --glass-blur: blur(15px);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--color-bg);
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button, input, select, textarea {
  font-family: inherit;
  background: transparent;
  border: none;
  color: inherit;
}

/* ========== TOP NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 100;
  border-bottom: 1px solid rgba(197, 168, 128, 0.12);
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
}

.nav-container {
  width: 92%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  z-index: 101;
}

.logo-img {
  height: 76px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-btn {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-btn:hover {
  color: var(--color-charcoal);
}

.nav-btn.highlight {
  border-color: var(--color-bronze);
  color: var(--color-bronze);
}

.nav-btn.highlight:hover {
  background-color: var(--color-bronze);
  color: #ffffff;
}

/* ========== PANORAMIC SPLIT-SCREEN CONTROLLER ========== */
.panoramic-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #0c0d10;
  position: relative;
  z-index: 1;
}

.pane-column {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-pane);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pane-column:last-child {
  border-right: none;
}

/* Background image of each column */
.pane-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  filter: grayscale(20%) brightness(55%);
}

/* Column black overlay */
.pane-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(7, 8, 10, 0.85) 0%, rgba(7, 8, 10, 0.3) 60%, rgba(7, 8, 10, 0.4) 100%);
  z-index: 2;
  transition: opacity 0.8s ease;
}

/* Vertical titles preview */
.pane-preview {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  color: #ffffff;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.pane-num {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--color-bronze);
}

.pane-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-lr; /* Vertically rotated text */
  transform: rotate(180deg);
}

.pane-tag {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.pane-icon-indicator {
  font-size: 0.8rem;
  color: var(--color-bronze);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-fast);
}

/* Hover transitions on columns */
.panoramic-container:hover .pane-column {
  flex: 0.75;
}

.panoramic-container:hover .pane-column .pane-bg {
  filter: grayscale(80%) brightness(35%);
}

.panoramic-container .pane-column:hover {
  flex: 1.8;
}

.panoramic-container .pane-column:hover .pane-bg {
  filter: grayscale(0%) brightness(75%);
  transform: scale(1.04);
}

.panoramic-container .pane-column:hover .pane-preview {
  transform: scale(1.05);
}

.panoramic-container .pane-column:hover .pane-icon-indicator {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   EXPANDED COLUMN FULL SCREEN SHOWCASE
   ========================================== */
.pane-column.expanded {
  flex: 99999 !important;
  cursor: default;
  z-index: 10;
}

.pane-column.expanded .pane-bg {
  transform: scale(1);
  filter: grayscale(100%) brightness(15%); /* highly desaturated and dark back background */
}

.pane-column.expanded .pane-preview {
  opacity: 0;
  pointer-events: none;
}

.pane-content-full {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 110px 6% 60px 6%;
  transition: opacity 0.8s ease 0.4s;
  background-color: var(--color-bg);
  overflow-y: auto;
}

.pane-column.expanded .pane-content-full {
  opacity: 1;
  pointer-events: auto;
}

/* Back Button */
.btn-back {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-bronze);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition-fast);
  margin-bottom: 2rem;
}

.btn-back:hover {
  border-bottom: 1px solid var(--color-bronze);
}

/* Header Block */
.pane-header-block {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.details-subtitle {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  font-style: italic;
}

/* Details Section Titles */
.details-section {
  margin-bottom: 0.5rem;
}

.details-section h4 {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-bronze);
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-border);
}

/* Specs List */
.specs-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.specs-list li {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--color-muted);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.specs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background-color: var(--color-bronze);
  border-radius: 50%;
}

.mt-2 {
  margin-top: 2rem;
}

/* Expanded Grid Content */
.pane-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  align-items: start;
}
/* ========== PROJECTS SHOWCASE GRID ========== */
.projects-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  padding: 20px 0;
  width: 100%;
}

.project-showcase-card {
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.project-showcase-card:hover {
  transform: translateY(-8px);
}

.project-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4; /* clean vertical layout */
  overflow: hidden;
  border-radius: 4px;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop grid cover to fill the vertical 3/4 box uniformly */
  display: block;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 29, 33, 0.05);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.project-card-count {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #fff;
  background-color: rgba(171, 142, 102, 0.9);
  padding: 4px 8px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.project-card-info {
  padding: 0;
  background: transparent;
}

.project-card-info h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-charcoal);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.project-card-info span {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .projects-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects-showcase {
    grid-template-columns: 1fr;
  }
}

/* ========== CAROUSEL MODAL ========== */
/* ========== CAROUSEL MODAL (SIDE-BY-SIDE DESIGN) ========== */
.carousel-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(14, 15, 17, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  padding: 3rem 4%;
}

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

.carousel-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.carousel-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg) scale(1.05);
}

.carousel-container-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
}

.carousel-left-panel {
  flex: 1.25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.05);
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 6px;
}

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

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.05);
}

.carousel-arrow:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.carousel-prev { left: 1.5rem; }
.carousel-next { right: 1.5rem; }

.carousel-dots {
  display: flex;
  gap: 8px;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
  background: var(--color-bronze);
  transform: scale(1.3);
}

.carousel-counter {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  margin-top: 0.8rem;
}

.carousel-right-panel {
  flex: 0.75;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 450px;
  text-align: center;
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  backdrop-filter: blur(10px);
}

.carousel-right-panel .details-label {
  color: var(--color-bronze);
}

.carousel-title-serif {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.2;
}

.carousel-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  text-align: justify;
}

@media (max-width: 992px) {
  .carousel-modal {
    padding: 4rem 5% 2rem 5%;
    overflow-y: auto;
  }
  .carousel-container-inner {
    flex-direction: column;
    gap: 2.5rem;
  }
  .carousel-right-panel {
    max-width: 100%;
    width: 100%;
    padding: 2rem;
  }
  .carousel-viewport {
    max-width: 100%;
  }
}

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

.details-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 650px;
}

.details-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--color-bronze);
  text-transform: uppercase;
}

.details-title-serif {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--color-charcoal);
  text-transform: uppercase;
}

.details-desc {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-muted);
  text-align: justify;
}

.project-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-charcoal);
  margin-top: 1rem;
}

.project-specs span {
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-card);
  padding: 6px 12px;
  border-radius: 2px;
}

.details-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Image / Sketch box in expanded state */
.sketch-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #faf9f6;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(171, 142, 102, 0.10);
  padding: 1.5rem;
  background-image: 
    radial-gradient(rgba(171, 142, 102, 0.08) 1px, transparent 1px);
  background-size: 25px 25px;
  border-radius: 4px;
}

.sketch-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sketch-svg path, .sketch-svg line, .sketch-svg rect, .sketch-svg polygon {
  stroke: rgba(28, 29, 33, 0.45);
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
}

/* ========== SLIDING SIDE DRAWERS (ABOUT & BRIEFING) ========== */
.side-drawer {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 500px;
  max-width: 90vw;
  background-color: var(--color-bg-card);
  z-index: 10000;
  padding: 120px 3.5rem 60px 3.5rem;
  box-shadow: 0 0 60px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.drawer-left {
  left: 0;
  transform: translateX(-100%);
  border-right: 1px solid var(--color-border);
}

.drawer-right {
  right: 0;
  transform: translateX(100%);
  border-left: 1px solid var(--color-border);
}

/* Open drawer states */
.drawer-left.active {
  transform: translateX(0);
}

.drawer-right.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.drawer-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-bronze);
}

.btn-close-drawer {
  font-size: 1.1rem;
  color: var(--color-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-close-drawer:hover {
  color: var(--color-charcoal);
}

.drawer-body {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.drawer-title-serif {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-charcoal);
  text-transform: uppercase;
}

.drawer-paragraph {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-muted);
  text-align: justify;
}

.drawer-paragraph strong {
  font-weight: 500;
  color: var(--color-charcoal);
}

/* Disciplines list inside drawer */
.drawer-disciplines-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.drawer-disc-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.drawer-disc-item strong {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--color-charcoal);
}

.drawer-disc-item span {
  font-size: 0.82rem;
  color: var(--color-muted);
  font-weight: 300;
}

/* Form block in drawer */
.editorial-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.editorial-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.editorial-form-group label {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-muted);
}

.editorial-form-group input, 
.editorial-form-group select, 
.editorial-form-group textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color-border);
  padding: 0.5rem 0;
  transition: var(--transition-fast);
  color: var(--color-charcoal);
}

.editorial-form-group input::placeholder, 
.editorial-form-group textarea::placeholder {
  color: #b0b2b8;
  opacity: 0.8;
}

.editorial-form-group input:focus, 
.editorial-form-group select:focus, 
.editorial-form-group textarea:focus {
  border-bottom: 1px solid var(--color-bronze);
}

.editorial-form-group select {
  cursor: pointer;
  color: var(--color-muted);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ab8e66'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 14px;
}

.editorial-form-group select option {
  background-color: var(--color-bg-card);
  color: var(--color-charcoal);
  padding: 8px;
}

.editorial-form-footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.form-status-msg {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-marker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-muted);
}

.form-status-msg.success .status-marker-dot {
  background-color: #2dc937;
  box-shadow: 0 0 8px rgba(45, 201, 55, 0.4);
}

.editorial-submit-btn {
  border: 1px solid var(--color-bronze);
  color: var(--color-bronze);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: var(--transition-fast);
}

.editorial-submit-btn:hover {
  background-color: var(--color-bronze);
  color: #ffffff;
}

.drawer-contacts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

.drawer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.72rem;
}

.drawer-contact-block strong {
  color: var(--color-bronze);
  letter-spacing: 0.1em;
}

.drawer-contact-block span {
  color: var(--color-muted);
  line-height: 1.5;
}

/* Background overlay block when drawers are active */
.drawer-overlay-blocker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(7, 8, 10, 0.4);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(5px);
  transition: opacity 0.5s ease;
}

.drawer-overlay-blocker.active {
  opacity: 1;
  pointer-events: auto;
}

/* Sketch HUD removed */

/* ========== RESPONSIVE STACKING FOR MOBILE SCREEN ========== */
@media (max-width: 900px) {
  .side-drawer {
    width: 100vw;
    max-width: 100vw;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 80px;
  }
  
  .nav-links {
    gap: 0.5rem;
    margin-left: auto;
  }

  .nav-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  /* Container: JS vai gerir as alturas, aqui apenas direção */
  .panoramic-container {
    flex-direction: column !important;
    height: 100dvh !important;
    padding-top: 80px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Desativar hover flex para não desequilibrar painéis */
  .panoramic-container:hover .pane-column,
  .panoramic-container .pane-column:hover {
    flex: none !important;
  }
  .panoramic-container .pane-column:hover .pane-bg {
    filter: grayscale(20%) brightness(55%) !important;
    transform: none !important;
  }
  .panoramic-container .pane-column:hover .pane-preview {
    transform: none !important;
  }

  /* Painel expandido ocupa ecrã inteiro */
  .pane-column.expanded {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 150 !important;
    flex: none !important;
  }

  .pane-column {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .pane-title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 1.1rem;
    letter-spacing: 0.18em;
  }

  .pane-num {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }

  .pane-tag {
    display: none !important;
  }
  
  .pane-preview {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
  }

  .pane-icon-indicator {
    opacity: 1;
    transform: none;
  }
  
  .pane-content-full {
    padding: 100px 5% 60px 5%;
    overflow-y: auto;
  }

  /* Ocultar imediatamente o conteúdo quando colapsa para não deixar fundo branco */
  .pane-column:not(.expanded) .pane-content-full {
    display: none !important;
    opacity: 0 !important;
    transition: none !important;
  }
  
  .pane-details-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
