/* ==========================================================================
   VDESIGN INTÉRIEUR // 2026 ARCHITECTURAL MONOGRAPH DESIGN SYSTEM
   Inspired by Vishaal Panchal's 2026 Editorial Boards (Arcadia & Blossom)
   ========================================================================== */

:root {
  --bg-paper: #f3efea;
  --bg-stone: #eae3d9;
  --bg-elevated: #faf8f5;
  --ink: #161412;
  --ink-secondary: #4e4841;
  --ink-muted: #787067;
  --accent-oxblood: #6d2b23;
  --accent-bronze: #8c6d4f;
  --rule: rgba(22, 20, 18, 0.14);
  --rule-strong: rgba(22, 20, 18, 0.32);

  --cinema-bg: #13110f;
  --cinema-surface: #1c1916;
  --cinema-ink: #f3efea;
  --cinema-muted: #9e958b;
  --cinema-rule: rgba(243, 239, 234, 0.14);

  --font-display: 'Syne', sans-serif;
  --font-editorial: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --pad-x: clamp(1.25rem, 3.5vw, 3.5rem);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-paper);
  color: var(--ink);
  overflow-x: hidden;
  selection-background-color: var(--ink);
}

::selection {
  background: var(--ink);
  color: var(--bg-paper);
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   ARCHITECTURAL UTILITY TOKENS & BLUEPRINT RULES
   ========================================================================== */

.rule-x {
  width: 100%;
  height: 1px;
  background-color: var(--rule);
  transform-origin: left center;
}

.draw-line {
  transform: scaleX(0);
  transition: transform 1.25s var(--ease-expo);
}

.draw-line.is-drawn {
  transform: scaleX(1);
}

.sq {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--accent-oxblood);
  margin-right: 0.45rem;
  vertical-align: middle;
  transform: translateY(-1px);
}

.spec-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  display: inline-flex;
  align-items: center;
}

.mono-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.mono-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mono-link {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.mono-link:hover {
  color: var(--accent-oxblood);
  border-color: var(--accent-oxblood);
}

.inline-underline {
  border-bottom: 1px solid var(--ink);
}

/* ==========================================================================
   SHEET LOADER CURTAIN
   ========================================================================== */

.sheet-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--ink);
  color: var(--bg-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-expo);
}

.sheet-loader.is-done {
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}

.sheet-loader-inner {
  width: min(560px, 100%);
}

.loader-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--cinema-muted);
  margin-bottom: 0.85rem;
}

.loader-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.loader-bar {
  width: 100%;
  height: 1px;
  background: rgba(243, 239, 234, 0.16);
  position: relative;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--bg-paper);
  transition: width 0.25s ease;
}

.loader-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--cinema-muted);
}

/* ==========================================================================
   CUSTOM ARCHITECTURAL CURSOR RING (DESKTOP)
   ========================================================================== */

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9000;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-expo), height 0.3s var(--ease-expo), background-color 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-ring {
    opacity: 1;
  }
}

.cursor-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--bg-paper);
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.cursor-ring.is-hovering {
  width: 78px;
  height: 78px;
  background-color: rgba(22, 20, 18, 0.88);
  border-color: transparent;
  backdrop-filter: blur(4px);
}

.cursor-ring.is-hovering .cursor-label {
  opacity: 1;
}

/* ==========================================================================
   ULTRA-CLEAN ARCHITECTURAL TOPBAR (ONLY 3 ZONES)
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background-color: rgba(243, 239, 234, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.topbar-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.05rem var(--pad-x);
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: start;
}

.brand-mark-sq {
  width: 10px;
  height: 10px;
  background-color: var(--accent-oxblood);
  display: inline-block;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-coordinates {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.coord-sep {
  opacity: 0.4;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

.toplink {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 0.2rem 0;
}

.toplink::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-expo);
}

.toplink:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mono-sup {
  font-size: 0.6rem;
  color: var(--accent-oxblood);
  margin-left: 2px;
}

.index-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.index-toggle:hover,
.index-toggle[aria-expanded="true"] {
  background-color: var(--ink);
  color: var(--bg-paper);
}

/* ==========================================================================
   FULL-SCREEN ARCHITECTURAL INDEX SHEET OVERLAY
   ========================================================================== */

.index-sheet {
  position: fixed;
  top: 57px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 490;
  background-color: var(--bg-paper);
  border-bottom: 1px solid var(--rule-strong);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.65s var(--ease-expo);
  pointer-events: none;
  overflow-y: auto;
}

.index-sheet.is-open {
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
}

.index-sheet-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: calc(100vh - 57px);
}

.index-col-meta {
  padding: 2.5rem var(--pad-x);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--bg-stone);
}

.index-preview-box {
  margin: 1.5rem 0;
}

.index-preview-box img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 0.6rem;
  transition: opacity 0.25s ease;
}

.index-preview-caption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--ink-secondary);
}

.index-studio-details p {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  margin-top: 0.3rem;
}

.index-col-links {
  padding: 2.5rem var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.index-nav-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

.index-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: baseline;
  padding: 1.35rem 0.5rem;
  border-bottom: 1px solid var(--rule);
  transition: padding-left 0.35s var(--ease-expo), background-color 0.25s ease;
}

.index-row:hover {
  padding-left: 1.25rem;
  background-color: rgba(22, 20, 18, 0.03);
}

.index-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.index-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.index-title em {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-style: italic;
}

.index-arrow {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent-oxblood);
}

.index-sheet-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
}

/* ==========================================================================
   SHEET 01 // ARCHITECTURAL MONOGRAPH HERO
   ========================================================================== */

.hero-sheet {
  padding-top: clamp(1.5rem, 3vw, 2.75rem);
}

.hero-top-band {
  padding: 0 var(--pad-x) clamp(1.75rem, 3vw, 2.75rem);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.5rem;
  align-items: end;
}

.hero-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.hero-monograph-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero-monograph-heading em {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-style: italic;
  padding-right: 0.08em;
}

.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.line-inner {
  display: block;
  transform: translateY(105%);
  animation: slideUpLine 1.1s var(--ease-expo) 0.35s forwards;
}

.line-mask:nth-child(2) .line-inner {
  animation-delay: 0.48s;
}

@keyframes slideUpLine {
  to {
    transform: translateY(0%);
  }
}

/* Specification Ledger modeled on Vishaal Panchal's 2026 Instagram Boards */
.hero-spec-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule-strong);
  background-color: var(--bg-elevated);
}

.spec-cell {
  padding: 0.95rem 1.1rem;
  border-right: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.spec-key {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

.spec-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Hero Lower Stage: Left Manifesto + Right Shutter Stage */
.hero-stage-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 640px;
}

.hero-editorial-col {
  padding: clamp(1.75rem, 3vw, 2.75rem) var(--pad-x);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.editorial-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 1rem;
}

.editorial-body {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.stage-counter-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0.75rem;
}

.stage-fraction {
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.hero-plate-strip {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.plate-btn {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  padding: 0.58rem 0.5rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  transition: background-color 0.2s ease, padding-left 0.3s var(--ease-expo);
}

.plate-btn:hover {
  padding-left: 0.85rem;
}

.plate-btn.is-active {
  background-color: var(--ink);
  color: var(--bg-paper);
  padding-left: 0.85rem;
}

.plate-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  opacity: 0.7;
}

.plate-name {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.arch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: background-color 0.3s var(--ease-expo), color 0.3s var(--ease-expo), transform 0.25s ease;
}

.arch-btn-primary {
  background-color: var(--ink);
  color: var(--bg-paper);
}

.arch-btn-primary:hover {
  background-color: var(--accent-oxblood);
  border-color: var(--accent-oxblood);
}

.arch-btn-ghost {
  background-color: transparent;
  color: var(--ink);
}

.arch-btn-ghost:hover {
  background-color: var(--ink);
  color: var(--bg-paper);
}

/* Right Shutter Frame */
.hero-visual-col {
  position: relative;
  background-color: var(--bg-stone);
  overflow: hidden;
}

.hero-shutter-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 640px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.05s var(--ease-expo);
  z-index: 1;
}

.hero-slide.is-active {
  clip-path: inset(0 0% 0 0);
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.07);
  transition: transform 1.4s var(--ease-expo);
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-frame-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(to top, rgba(19, 17, 15, 0.85), rgba(19, 17, 15, 0));
  color: var(--bg-paper);
}

.caption-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.hero-frame-arrows {
  display: flex;
  gap: 0.5rem;
}

.frame-nav-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(243, 239, 234, 0.4);
  background: rgba(19, 17, 15, 0.55);
  color: var(--bg-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.frame-nav-btn:hover {
  background-color: var(--bg-paper);
  color: var(--ink);
  border-color: var(--bg-paper);
}

/* ==========================================================================
   SHEET 02 // SELECTED WORKS & MULTI-SLIDE SCRUB GALLERY
   ========================================================================== */

.works-sheet {
  padding-top: clamp(3.5rem, 6vw, 6rem);
}

.section-header-grid {
  padding: 0 var(--pad-x) clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 2rem;
  align-items: end;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.section-heading em {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-style: italic;
}

.section-subcopy {
  max-width: 62ch;
  font-size: 0.96rem;
  color: var(--ink-secondary);
}

.section-filter-col {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--rule-strong);
  transition: all 0.25s ease;
}

.filter-chip.is-active,
.filter-chip:hover {
  background-color: var(--ink);
  color: var(--bg-paper);
  border-color: var(--ink);
}

/* Asymmetric Editorial Monograph Grid */
.monograph-list {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.monograph-entry {
  padding: clamp(2rem, 3.5vw, 3.25rem) var(--pad-x);
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.3s ease;
}

.monograph-entry.span-wide {
  grid-column: span 7;
}

.monograph-entry.span-narrow {
  grid-column: span 5;
}

.monograph-entry.span-half {
  grid-column: span 6;
}

.monograph-entry.is-hidden {
  display: none;
}

.entry-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.25rem;
}

.entry-index {
  color: var(--ink);
  font-weight: 500;
}

.entry-visual-stage {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-stone);
  aspect-ratio: 16 / 11;
  margin-bottom: 1.5rem;
  cursor: ew-resize;
}

.entry-visual-stage.aspect-tall {
  aspect-ratio: 4 / 4.3;
}

.curtain-reveal {
  width: 100%;
  height: 100%;
  clip-path: inset(12% 0 0 0);
  opacity: 0;
  transform: translateY(20px);
  transition: clip-path 1s var(--ease-expo), opacity 0.8s ease, transform 1s var(--ease-expo);
}

.curtain-reveal.is-revealed {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateY(0);
}

.scrub-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-expo);
}

.entry-visual-stage:hover .scrub-main-img {
  transform: scale(1.03);
}

.scrub-hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(18, 16, 14, 0.82), transparent);
  color: var(--bg-paper);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.scrub-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.scrub-segments {
  display: grid;
  grid-auto-flow: column;
  gap: 4px;
  width: 100%;
}

.scrub-segments .seg {
  height: 2px;
  background: rgba(243, 239, 234, 0.32);
  transition: background-color 0.2s ease;
}

.scrub-segments .seg.is-active {
  background: var(--bg-paper);
}

.entry-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.entry-title-group {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.entry-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.entry-location {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.entry-summary {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.62;
}

.entry-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
  margin-top: 0.25rem;
}

.text-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s ease, gap 0.25s ease;
}

.text-action-btn:hover {
  color: var(--accent-oxblood);
  gap: 0.8rem;
}

.ig-source-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.ig-source-link:hover {
  color: var(--ink);
}

/* ==========================================================================
   SHEET 03 // DARK ARCHITECTURAL CINEMA ROOM (SPATIAL ANATOMY FILMSTRIP)
   ========================================================================== */

.cinema-sheet {
  background-color: var(--cinema-bg);
  color: var(--cinema-ink);
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  border-top: 1px solid var(--cinema-rule);
  border-bottom: 1px solid var(--cinema-rule);
}

.cinema-header {
  padding: 0 var(--pad-x) 2.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 2rem;
  align-items: end;
}

.cinema-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.cinema-heading em {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-style: italic;
}

.cinema-sub {
  font-size: 0.94rem;
  color: var(--cinema-muted);
  line-height: 1.6;
}

.cinema-controls {
  display: flex;
  gap: 0.6rem;
}

.cinema-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid var(--cinema-rule);
  color: var(--cinema-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.cinema-arrow:hover {
  background-color: var(--cinema-ink);
  color: var(--cinema-bg);
}

.filmstrip-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 var(--pad-x);
  cursor: grab;
}

.filmstrip-viewport::-webkit-scrollbar {
  display: none;
}

.filmstrip-track {
  display: flex;
  gap: 2rem;
  width: max-content;
}

.film-plate {
  width: clamp(320px, 44vw, 620px);
  flex-shrink: 0;
}

.film-img-wrap {
  position: relative;
  aspect-ratio: 4 / 4.2;
  overflow: hidden;
  background-color: var(--cinema-surface);
  border: 1px solid var(--cinema-rule);
}

.film-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotspot-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(243, 239, 234, 0.95);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(243, 239, 234, 0.22);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  z-index: 4;
}

.hotspot-pin:hover,
.hotspot-pin.is-active {
  transform: translate(-50%, -50%) scale(1.15);
  background-color: var(--accent-oxblood);
  color: var(--bg-paper);
  box-shadow: 0 0 0 8px rgba(109, 43, 35, 0.35);
  z-index: 10;
}

.hotspot-pin.is-active .hotspot-plus-icon {
  transform: rotate(45deg);
}

.hotspot-plus-icon {
  display: inline-block;
  line-height: 1;
  transition: transform 0.25s ease;
  pointer-events: none;
}

/* Inline Popover Card right at the + Pin */
.hotspot-popover {
  position: absolute;
  z-index: 12;
  width: min(260px, calc(100% - 24px));
  background: rgba(19, 17, 15, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(243, 239, 234, 0.28);
  padding: 0.85rem 1rem;
  color: var(--bg-paper);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.25s var(--ease-expo), transform 0.25s var(--ease-expo);
}

.hotspot-popover.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hotspot-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.hotspot-popover-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c89d7c;
}

.hotspot-popover-close {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cinema-muted);
  line-height: 1;
  padding: 2px 4px;
}

.hotspot-popover-close:hover {
  color: var(--bg-paper);
}

.hotspot-popover-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--bg-paper);
  margin-bottom: 0.3rem;
}

.hotspot-popover-desc {
  font-size: 0.78rem;
  line-height: 1.48;
  color: rgba(243, 239, 234, 0.82);
}

.film-plate-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.9rem;
  font-size: 0.9rem;
}

.film-plate-meta .mono-tag {
  color: var(--cinema-muted);
}

.hotspot-readout {
  margin: 2.25rem var(--pad-x) 0;
  padding: 1.15rem 1.5rem;
  background-color: var(--cinema-surface);
  border: 1px solid var(--cinema-rule);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.hotspot-readout .mono-tag {
  color: var(--accent-bronze);
}

/* ==========================================================================
   SHEET 04 // THE PRACTICE & PRINCIPAL DESIGNER (VISHAAL PANCHAL)
   ========================================================================== */

.practice-sheet {
  padding: clamp(4rem, 7vw, 6.5rem) var(--pad-x);
}

.practice-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.portrait-frame {
  position: sticky;
  top: 90px;
  background-color: var(--bg-stone);
  padding: 1.5rem;
  border: 1px solid var(--rule);
}

.portrait-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 1rem;
  background-color: #f3eee5;
}

.portrait-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.portrait-caption-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.portrait-caption-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.portrait-caption-row span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.practice-lead {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 1.25rem 0;
}

.practice-body {
  font-size: 0.98rem;
  color: var(--ink-secondary);
  line-height: 1.72;
  margin-bottom: 2rem;
}

.ledger-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  margin-bottom: 2.5rem;
}

.ledger-stat-cell {
  padding: 1.35rem 1rem 1.35rem 0;
  border-right: 1px solid var(--rule);
}

.ledger-stat-cell:not(:first-child) {
  padding-left: 1.25rem;
}

.ledger-stat-cell:last-child {
  border-right: none;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.method-item {
  border-top: 1px solid var(--rule);
  padding: 1rem 0;
}

.method-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.method-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.method-item summary::-webkit-details-marker {
  display: none;
}

.method-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-oxblood);
}

.method-icon {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.method-item[open] .method-icon {
  transform: rotate(45deg);
}

.method-item p {
  padding: 0.75rem 0 0.25rem 42px;
  font-size: 0.92rem;
  color: var(--ink-secondary);
  max-width: 60ch;
}

/* ==========================================================================
   SHEET 05 // INSTAGRAM DISPATCHES & REELS (@VDESIGNINTERIEUR)
   ========================================================================== */

.dispatches-sheet {
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.dispatches-sheet .section-header-grid {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
}

.ig-dispatch-grid {
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ig-card {
  border: 1px solid var(--rule);
  background-color: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ig-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--bg-stone);
  cursor: pointer;
}

.ig-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-expo);
}

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

.ig-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.65rem;
  background: rgba(22, 20, 18, 0.82);
  color: var(--bg-paper);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

.ig-badge-reel {
  background: var(--accent-oxblood);
}

.ig-card-foot {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}

.ig-card-foot p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  flex-grow: 1;
}

.ig-card-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.ig-card-links button {
  font-weight: 500;
  color: var(--accent-oxblood);
}

/* ==========================================================================
   SHEET 06 // COMMISSION SPECIFICATION & CONTACT
   ========================================================================== */

.commission-sheet {
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}

.commission-grid {
  padding: clamp(3.5rem, 6vw, 5.5rem) var(--pad-x) 0;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.commission-lead {
  font-size: 1rem;
  color: var(--ink-secondary);
  line-height: 1.68;
  margin-bottom: 2.25rem;
}

.contact-directory {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.75rem;
}

.directory-row p {
  margin: 0.35rem 0;
  font-size: 0.98rem;
}

.large-contact-link {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  transition: color 0.2s ease;
}

.large-contact-link:hover {
  color: var(--accent-oxblood);
}

.sub-note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
}

/* Architectural Brief Form */
.brief-form {
  background-color: var(--bg-elevated);
  border: 1px solid var(--rule-strong);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}

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

.brief-field-group {
  margin-bottom: 1.5rem;
}

.pill-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.spec-pill {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--rule-strong);
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.spec-pill.is-selected,
.spec-pill:hover {
  background-color: var(--ink);
  color: var(--bg-paper);
  border-color: var(--ink);
}

.brief-inputs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.input-cell {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.input-cell input,
.input-cell textarea {
  width: 100%;
  padding: 0.75rem 0;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  outline: none;
  transition: border-color 0.25s ease;
}

.input-cell input:focus,
.input-cell textarea:focus {
  border-bottom-color: var(--accent-oxblood);
}

.brief-submit-row {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0.75rem;
}

/* ==========================================================================
   ARCHITECTURAL MONOGRAPH FOOTER
   ========================================================================== */

.arch-footer {
  background-color: var(--bg-stone);
}

.footer-top-grid {
  padding: 3.5rem var(--pad-x);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0.5rem 0 0.35rem;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

.footer-col p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

.footer-links {
  list-style: none;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.88rem;
}

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

.footer-giant-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 4.75vw, 5.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-align: center;
  color: rgba(22, 20, 18, 0.12);
  padding: 0.9rem var(--pad-x);
  user-select: none;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  white-space: nowrap;
}

.footer-bottom-bar {
  padding: 1.25rem var(--pad-x);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

/* ==========================================================================
   FULLSCREEN PLATE DOSSIER & REEL MODALS
   ========================================================================== */

.dossier-modal,
.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(19, 17, 15, 0.96);
  color: var(--bg-paper);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.dossier-modal.is-open,
.reel-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.dossier-topbar {
  padding: 1.15rem var(--pad-x);
  border-bottom: 1px solid var(--cinema-rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.dossier-meta {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.dossier-meta h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.dossier-loc {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cinema-muted);
}

.dossier-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dossier-close {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--cinema-rule);
  color: var(--bg-paper);
}

.dossier-close:hover {
  background-color: var(--bg-paper);
  color: var(--ink);
}

.dossier-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 0;
}

.dossier-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 0;
}

.dossier-img-container {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dossier-img-container img {
  max-height: calc(100vh - 140px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.dossier-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid var(--cinema-rule);
  background: rgba(19, 17, 15, 0.75);
  color: var(--bg-paper);
  font-size: 1.1rem;
  z-index: 5;
}

.dossier-nav.prev {
  left: 1.5rem;
}

.dossier-nav.next {
  right: 1.5rem;
}

.dossier-sidebar {
  border-left: 1px solid var(--cinema-rule);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  overflow-y: auto;
}

.dossier-spec-block p {
  font-size: 0.9rem;
  color: var(--cinema-muted);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.dossier-materials {
  list-style: none;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--bg-paper);
}

.dossier-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.dossier-thumb-btn {
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.dossier-thumb-btn.is-active,
.dossier-thumb-btn:hover {
  opacity: 1;
  border-color: var(--bg-paper);
}

.dossier-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reel Modal */
.reel-modal {
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.reel-modal-inner {
  width: min(480px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: var(--cinema-surface);
  border: 1px solid var(--cinema-rule);
}

.reel-modal-head {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--cinema-rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reel-iframe-wrap {
  width: 100%;
  aspect-ratio: 9 / 14;
  max-height: calc(92vh - 54px);
  background: #000;
}

.reel-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   RESPONSIVE & MOBILE-FIRST TOUCH OPTIMIZATIONS
   ========================================================================== */

@media (max-width: 1080px) {
  .topbar-coordinates,
  .mono-hide-sm {
    display: none;
  }

  .topbar-grid {
    grid-template-columns: 1fr auto;
  }

  .hero-top-band,
  .hero-stage-grid,
  .section-header-grid,
  .cinema-header,
  .practice-grid,
  .commission-grid,
  .dossier-body {
    grid-template-columns: 1fr;
  }

  .hero-editorial-col {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    order: 2;
  }

  .hero-visual-col {
    order: 1;
  }

  .hero-shutter-frame {
    min-height: 440px;
  }

  .monograph-entry {
    border-right: none;
  }

  .monograph-entry.span-wide,
  .monograph-entry.span-narrow,
  .monograph-entry.span-half {
    grid-column: span 12;
  }

  .ig-dispatch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .index-sheet-grid {
    grid-template-columns: 1fr;
  }

  .index-col-meta {
    display: none;
  }

  .portrait-frame {
    position: static;
  }

  /* Scrollable Dossier on Tablet & Phone */
  .dossier-modal {
    overflow-y: auto;
  }

  .dossier-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: rgba(19, 17, 15, 0.96);
    backdrop-filter: blur(8px);
  }

  .dossier-body {
    display: flex;
    flex-direction: column;
    flex: none;
  }

  .dossier-stage {
    padding: 1rem;
    min-height: 52vh;
    max-height: 62vh;
  }

  .dossier-img-container,
  .dossier-img-container img {
    max-height: 56vh;
  }

  .dossier-sidebar {
    border-left: none;
    border-top: 1px solid var(--cinema-rule);
    padding: 1.5rem var(--pad-x) 2.5rem;
    overflow-y: visible;
  }
}

@media (max-width: 640px) {
  .topbar-grid {
    padding: 0.85rem var(--pad-x);
  }

  .brand-wordmark {
    font-size: 0.84rem;
    letter-spacing: 0.06em;
  }

  .toplink {
    display: none;
  }

  .index-sheet {
    top: 50px;
  }

  .index-row {
    grid-template-columns: 44px 1fr auto;
    padding: 1.1rem 0.25rem;
  }

  .index-title {
    font-size: 1.25rem;
  }

  .hero-monograph-heading {
    font-size: clamp(2.05rem, 9.5vw, 2.85rem);
  }

  .hero-spec-ledger {
    grid-template-columns: 1fr;
  }

  .spec-cell {
    padding: 0.75rem 0.8rem;
  }

  .spec-val {
    font-size: 0.75rem;
  }

  .hero-shutter-frame {
    min-height: 340px;
    aspect-ratio: 4 / 4.3;
  }

  .hero-frame-caption {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .caption-tag {
    font-size: 0.62rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .entry-visual-stage,
  .entry-visual-stage.aspect-tall {
    aspect-ratio: 4 / 3.4;
    touch-action: pan-y;
  }

  .film-plate {
    width: min(84vw, 350px);
  }

  /* Ensure + Material Popover never overflows narrow phone cards */
  .hotspot-popover {
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
  }

  .hotspot-pin {
    width: 36px;
    height: 36px;
  }

  .brief-inputs-grid,
  .brief-submit-row,
  .ig-dispatch-grid,
  .footer-top-grid,
  .ledger-stats {
    grid-template-columns: 1fr;
  }

  .ledger-stat-cell {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 1rem 0 !important;
  }

  .dossier-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .dossier-controls {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .dossier-nav {
    width: 40px;
    height: 40px;
  }

  .dossier-nav.prev {
    left: 0.5rem;
  }

  .dossier-nav.next {
    right: 0.5rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
