/* Argon v2 — Reel lightbox styles (Task E) */

.contact[hidden],
.reel[hidden] {
  display: none !important;
}

html[data-overlay] {
  overflow: hidden;
}

.reel {
  --ground: #E8E6E1;
  --ground-2: #DEDBD4;
  --ink: #121110;
  --ink-2: rgba(18, 17, 16, .56);
  --ink-3: rgba(18, 17, 16, .28);
  --line: rgba(18, 17, 16, .14);
  --paper: #FBFAF6;
  --dark: #141210;
  --accent: #C8401F;
  --accent-2: #F07B59;
  --line-on-dark: rgba(251, 250, 246, .14);
  --ink-3-on-dark: rgba(251, 250, 246, .5);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
}

.reel .mono {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 13px;
  letter-spacing: .08em;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.reel :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.reel-veil {
  position: absolute;
  inset: 0;
  background: rgba(18, 17, 16, .35);
}

.reel-panel {
  position: relative;
  z-index: 1;
  background: var(--dark);
  color: var(--paper);
  width: min(1100px, calc(100vw - 32px), calc((100vh - 144px) * 16 / 9 + 40px));
  padding: 16px 20px 20px;
  box-sizing: border-box;
}

.reel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
}

#reel-title {
  color: var(--ink-3-on-dark);
  text-transform: uppercase;
  margin: 0;
}

.reel-close,
.reel-foot button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--paper);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reel-frame {
  margin-top: 8px;
  aspect-ratio: 16 / 9;
  background: var(--dark);
  overflow: hidden;
}

.reel-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--dark);
}

.reel-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.reel-foot[hidden] {
  display: none !important;
}

@media (max-width: 1099.98px) {
  .reel-panel {
    padding: 12px 14px 14px;
  }
}
