/* =============================================================
   A7 Media — Gallery styles
   ============================================================= */

.gallery {
  position: relative;
}
.gallery::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold-deep), transparent);
  opacity: .4;
}

/* --- Gallery Header --- */
.gallery-header {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 32px;
}
.gallery-header .eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.gallery-header .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
.gallery-h {
  font-family: var(--f-display);
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 300;
  margin: 0;
}
.gallery-h em {
  font-style: italic;
  color: var(--gold);
}

/* --- Controls row --- */
.g-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 56px 0 40px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(244,241,236,0.015), transparent);
}

.g-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.g-chip {
  position: relative;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.g-chip:hover { color: var(--ink-2); }
.g-chip.on {
  color: var(--gold);
  border-color: var(--line-2);
  background: rgba(212, 175, 106, 0.04);
}
.g-chip-dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  margin-left: 10px;
  vertical-align: middle;
  box-shadow: 0 0 6px var(--gold);
}

.g-modes {
  display: flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0,0,0,0.2);
}
.g-mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.g-mode:hover { color: var(--ink-2); }
.g-mode.on {
  color: #1a1405;
  background: var(--gold);
}
.g-mode.on:hover { color: #1a1405; }

/* --- Shared card --- */
.g-card {
  position: relative;
  margin: 0;
  padding: 0;
  cursor: pointer;
  user-select: none;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.g-card:hover {
  border-color: var(--line-2);
}
.g-card:hover .g-img,
.g-card:hover .g-plate { transform: scale(1.04); }
.g-card:hover .g-card-corner { color: var(--gold); }
.g-card:hover .g-card-veil { opacity: 0; }

.g-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ratio);
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.g-img, .g-plate {
  transition: transform 1.2s var(--ease);
  transform-origin: center;
}
.g-img { 
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.g-plate {
  width: 100%;
  height: 100%;
}

.g-card-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 50%, rgba(10,10,10,0.55) 100%);
  transition: opacity .5s var(--ease);
  pointer-events: none;
}

.g-card-corner {
  position: absolute;
  top: 12px; right: 12px;
  color: var(--ink-3);
  transition: color .3s var(--ease);
  pointer-events: none;
}

.g-card-cap {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line);
}
.g-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.g-card-idx { color: var(--gold); }
.g-card-tag { color: var(--ink-3); }
.g-card-title {
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.1;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.g-card-sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  gap: 10px;
}
.g-sep { color: var(--line-2); }

/* --- Plate (placeholder) --- */
.g-plate {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.g-plate-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .6;
  mix-blend-mode: multiply;
}
.g-plate-perf {
  position: absolute;
  left: 0; right: 0;
  height: 14px;
  background-image: radial-gradient(circle at 10px center, rgba(0,0,0,0.3) 3px, transparent 3.5px);
  background-size: 22px 14px;
  background-repeat: repeat-x;
  opacity: .55;
}
.g-plate-perf-t { top: 0; }
.g-plate-perf-b { bottom: 0; }
.g-plate-stamp {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.01em;
  line-height: 1;
  color: rgba(30, 24, 16, 0.55);
  text-align: center;
  padding: 0 16px;
}
.g-plate-small {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(30, 24, 16, 0.45);
}

.g-plate-umber  { background: linear-gradient(135deg, #8a6d45 0%, #6b4f2d 60%, #4a3720 100%); }
.g-plate-bone   { background: linear-gradient(135deg, #e6ddc8 0%, #cabf9e 60%, #a89770 100%); }
.g-plate-sand   { background: linear-gradient(135deg, #c9ad7b 0%, #a4884f 60%, #7d6432 100%); }
.g-plate-olive  { background: linear-gradient(135deg, #7a7152 0%, #585134 60%, #3a3520 100%); }
.g-plate-ink    { background: linear-gradient(135deg, #3b3b3f 0%, #23232a 60%, #101014 100%); }
.g-plate-ink .g-plate-stamp,
.g-plate-ink .g-plate-small,
.g-plate-umber .g-plate-stamp,
.g-plate-umber .g-plate-small,
.g-plate-olive .g-plate-stamp,
.g-plate-olive .g-plate-small { color: rgba(244, 241, 236, 0.55); }
.g-plate-ink .g-plate-small,
.g-plate-umber .g-plate-small,
.g-plate-olive .g-plate-small { color: rgba(244, 241, 236, 0.4); }
.g-plate-clay   { background: linear-gradient(135deg, #b08359 0%, #8c5f38 60%, #5f3d1e 100%); }
.g-plate-clay .g-plate-stamp { color: rgba(244, 241, 236, 0.5); }
.g-plate-clay .g-plate-small { color: rgba(244, 241, 236, 0.4); }
.g-plate-linen  { background: linear-gradient(135deg, #efe6d3 0%, #d6c9a6 60%, #b49e72 100%); }

/* ===================== REEL ===================== */
.g-reel-wrap {
  position: relative;
  /* break out of .wrap margin to use full viewport width */
  margin-left: calc(50% - 50vw + 48px);
  margin-right: calc(50% - 50vw + 48px);
}
@media (max-width: 768px) {
  .g-reel-wrap {
    margin-left: calc(50% - 50vw + 24px);
    margin-right: calc(50% - 50vw + 24px);
  }
}
.g-reel {
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scroll-behavior: auto;
  scroll-snap-type: x proximity;
}
.g-reel.g-dragging { cursor: grabbing; }
.g-reel.g-dragging * { pointer-events: none; }
.g-reel::-webkit-scrollbar { display: none; }

/* Desktop: show custom scrollbar on hover */
@media (hover: hover) and (pointer: fine) {
  .g-reel {
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
  }
  .g-reel::-webkit-scrollbar {
    display: block;
    height: 8px;
  }
  .g-reel::-webkit-scrollbar-track {
    background: transparent;
  }
  .g-reel::-webkit-scrollbar-thumb {
    background: var(--line-2);
    border-radius: 4px;
  }
  .g-reel::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
  }
}

.g-reel-inner {
  display: flex;
  gap: 28px;
  padding: 0 2px;
  align-items: stretch;
}
.g-reel .g-card {
  flex: 0 0 auto;
  width: auto;
  display: flex;
  flex-direction: column;
}
.g-reel .g-card-media {
  /* Fixed height in reel; width derives from image aspect ratio.
     This makes portrait cards narrower and landscape cards wider,
     so every photo shows in full with no black bars. */
  aspect-ratio: auto !important;
  height: 62vh !important;
  max-height: 620px !important;
  min-height: 420px !important;
  width: auto !important;
  background: transparent !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto !important;
}
.g-reel .g-card-media .g-img {
  height: 100% !important;
  width: auto !important;
  max-width: none !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}
.g-reel .g-card-cap {
  /* caption width tracks the image width above */
  width: 100%;
}
.g-reel-tail {
  flex: 0 0 80px;
}
@media (max-width: 960px) {
  .g-reel .g-card-media {
    height: 54vh !important;
    min-height: 320px !important;
    max-height: 520px !important;
  }
}
@media (max-width: 600px) {
  .g-reel .g-card-media {
    height: 48vh !important;
    min-height: 300px !important;
    max-height: 420px !important;
  }
  .g-reel-inner { gap: 16px; }
}

.g-reel-hud {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  padding: 0 48px;
}
.g-arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
}
.g-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.05);
}
.g-reel-meter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 280px;
}
.g-reel-bar {
  width: 100%;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.g-reel-fill {
  height: 100%;
  background: var(--gold);
  transition: width .1s linear;
}
.g-reel-count {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
}
.g-reel-count .n { color: var(--gold); }
.g-reel-count .s { color: var(--ink-3); margin-left: 6px; }

.g-reel-hint {
  position: absolute;
  top: -36px; right: 0;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ===================== STACK ===================== */
.g-stack {
  display: grid;
  grid-template-columns: 2.4fr 1fr;
  gap: 40px;
  /* widen beyond .wrap on all screens */
  margin-left: calc(50% - 50vw + 48px);
  margin-right: calc(50% - 50vw + 48px);
}
@media (max-width: 768px) {
  .g-stack {
    margin-left: 0;
    margin-right: 0;
  }
}

.g-stack-feature {
  cursor: pointer;
}
.g-stack-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.g-stack-frame .g-img { 
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.g-stack-frame .g-plate {
  width: 100%;
  aspect-ratio: 3 / 2;
  transition: transform 1.6s var(--ease);
}
.g-stack-feature:hover .g-img,
.g-stack-feature:hover .g-plate { transform: scale(1.03); }
.g-stack-num {
  position: absolute;
  top: 24px; left: 24px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 88px;
  line-height: 1;
  color: var(--ink);
  text-shadow: 0 2px 30px rgba(0,0,0,0.6);
  letter-spacing: -0.02em;
}
.g-stack-badge {
  position: absolute;
  top: 30px; right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(244,241,236,0.25);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  background: rgba(10,10,10,0.45);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.g-stack-open {
  position: absolute;
  bottom: 24px; right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--gold);
  color: #1a1405;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all .3s var(--ease);
}
.g-stack-feature:hover .g-stack-open {
  background: var(--gold-2);
  transform: translateX(4px);
}

.g-stack-meta {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.g-stack-title {
  font-family: var(--f-display);
  font-size: clamp(36px, 3.6vw, 56px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.g-stack-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.g-stack-row .g-k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.g-stack-row .g-v {
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--ink);
}

/* Right rail */
.g-stack-rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: 720px;
}
.g-stack-rail-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.g-stack-thumbs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.g-stack-thumbs::-webkit-scrollbar { width: 4px; }
.g-stack-thumbs::-webkit-scrollbar-thumb { background: var(--line-2); }

.g-thumb {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: all .3s var(--ease);
  align-items: center;
}
.g-thumb:hover {
  border-color: var(--line-2);
  background: rgba(244,241,236,0.02);
}
.g-thumb-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.g-thumb-media .g-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform .7s var(--ease);
}
.g-thumb-media .g-plate {
  width: 100%; 
  height: 100%;
  transition: transform .7s var(--ease);
}
.g-thumb:hover .g-img,
.g-thumb:hover .g-plate { transform: scale(1.05); }
.g-thumb-media .g-plate-stamp { font-size: 18px; }
.g-thumb-media .g-plate-small { display: none; }
.g-thumb-media .g-plate-perf { height: 8px; background-size: 14px 8px; }

.g-thumb-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.g-thumb-idx {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.g-thumb-title {
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 1.1;
  color: var(--ink);
}
.g-thumb-sub {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ===================== GRID ===================== */
.g-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  grid-auto-flow: dense;
  /* widen beyond .wrap */
  margin-left: calc(50% - 50vw + 48px);
  margin-right: calc(50% - 50vw + 48px);
}
@media (max-width: 1200px) {
  .g-grid { margin-left: 0; margin-right: 0; }
}

/* mix sizes for editorial rhythm — larger feature cells */
.g-grid-cell { grid-column: span 3; }
.g-grid-cell:nth-child(6n+1) { grid-column: span 4; }
.g-grid-cell:nth-child(6n+2) { grid-column: span 2; }
.g-grid-cell:nth-child(6n+3) { grid-column: span 3; }
.g-grid-cell:nth-child(6n+4) { grid-column: span 3; }
.g-grid-cell:nth-child(6n+5) { grid-column: span 2; }
.g-grid-cell:nth-child(6n+6) { grid-column: span 4; }

.g-grid .g-card { 
  height: 100%;
  display: flex;
  flex-direction: column;
}
.g-grid .g-card-media { 
  flex: 1 1 auto;
  aspect-ratio: auto;
  height: auto;
}
.g-grid .g-card-media .g-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g-grid .g-card-cap {
  flex: 0 0 auto;
}

@media (max-width: 960px) {
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .g-grid-cell,
  .g-grid-cell:nth-child(8n+1),
  .g-grid-cell:nth-child(8n+4),
  .g-grid-cell:nth-child(8n+6),
  .g-grid-cell:nth-child(8n+7) { grid-column: span 1; }
}

/* ===================== FOOT ===================== */
.g-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.g-foot-k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ===================== LIGHTBOX ===================== */
.g-lb {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 3, 0.96);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  animation: gLbIn .4s var(--ease);
  backdrop-filter: blur(8px);
}
@keyframes gLbIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.g-lb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--line);
}
.g-lb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.g-lb-brand .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
.g-lb-count {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.25em;
}
.g-lb-count .n { color: var(--gold); font-size: 16px; }
.g-lb-count .s { color: var(--ink-3); margin-left: 8px; }
.g-lb-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
}
.g-lb-close:hover { color: var(--gold); border-color: var(--gold); transform: rotate(90deg); }

.g-lb-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px;
  min-height: 0;
  position: relative;
}
.g-lb-frame {
  flex: 1;
  max-width: 1280px;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gLbFrame .6s var(--ease);
}
@keyframes gLbFrame {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}
.g-lb-frame .g-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.g-lb-frame .g-plate {
  width: min(100%, 900px);
  aspect-ratio: 3 / 2;
  height: auto;
}

.g-lb-nav {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(10,10,10,0.6);
  color: var(--ink-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .3s var(--ease);
}
.g-lb-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,106,0.08);
}

.g-lb-meta {
  padding: 24px 32px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.g-lb-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.g-lb-cat {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.g-lb-title h3 {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.01em;
}
.g-lb-info {
  display: flex;
  gap: 40px;
}
.g-lb-info div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.g-lb-info .k {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.g-lb-info .v {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-2);
}

/* Responsive */
@media (max-width: 960px) {
  .g-controls {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    padding: 20px;
  }
  .g-stack { grid-template-columns: 1fr; }
  .g-stack-rail { max-height: none; }
  .g-lb-meta { flex-direction: column; align-items: flex-start; gap: 20px; }
  .g-lb-info { flex-wrap: wrap; gap: 20px; }
  .g-reel-hint { display: none; }
  .g-reel-hud { gap: 12px; padding: 0 16px; margin-top: 28px; }
  .g-reel-meter { min-width: 0; flex: 1 1 auto; }

  /* Sikre at galleri-seksjonen ikke tillater horisontal scroll */
  .g-section, .g-stack, .g-grid { overflow-x: hidden; max-width: 100%; }
}
@media (max-width: 600px) {
  .g-arrow { width: 44px; height: 44px; }
  .g-reel-hud { gap: 10px; padding: 0 12px; }
  .g-reel-meter { gap: 8px; }
  .g-reel-count { font-size: 10px; letter-spacing: 0.18em; }
  .g-filters { flex-wrap: wrap; gap: 8px; }
  .g-modes { align-self: stretch; }
  .g-chip { font-size: 11px; padding: 8px 14px; }
  .g-mode { flex: 1; min-height: 44px; }
}
