/* ==========================================================================
   The finale — the closing shot.
   Deep black + dark red + crimson + cyan. The furnace canvas sits behind a
   giant NIKHIL SIMHA set in real cyber type, with the cyberpunk comms
   terminal and dedicated holographic video bay.
   ========================================================================== */

/* Pinned stage holds the cyber closing composition */
.fin {
  position: relative;
  height: 240svh;
  background: #000;
}

.fin__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #000;
}

.fin__stage1 {
  position: absolute;
  inset: 0;
  will-change: transform;
}

#finBack,
#finMan {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
#finBack { z-index: 1; }
#finMan { z-index: 3; pointer-events: none; }

/* dims frame 1 as frame 2 advances over it */
.fin__dim {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #000;
  opacity: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Frame 2 — the supplied still, full-bleed, entering from the LEFT under
   scroll control (boot6 writes its transform). Its leading edge throws a
   soft shadow onto frame 1, and a grain veil keeps it in the film's stock.
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Cyberpunk Contact Terminal & Reserved Video Bay
   -------------------------------------------------------------------------- */

.fin__contact-wrap {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1280px, 94vw);
  max-height: calc(100svh - 100px);
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: clamp(16px, 2.2vw, 36px);
  align-items: center;
  pointer-events: auto;
  opacity: 0;
  transform: translate(-50%, -46%) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.fin.is-caps .fin__contact-wrap,
.fin.is-live .fin__contact-wrap,
.fin.is-set .fin__contact-wrap {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Left Column: Comms Terminal */
.fin__contact-main {
  background: rgba(4, 9, 20, 0.82);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.12), inset 0 0 25px rgba(0, 240, 255, 0.04);
  backdrop-filter: blur(14px);
  border-radius: 8px;
  padding: clamp(16px, 2vw, 28px);
  position: relative;
}

.fin__term-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.fin__term-badge {
  font-family: var(--mono);
  font-size: clamp(7.5px, 0.6vw, 9.5px);
  letter-spacing: 0.2em;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.28);
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fin__term-badge--status {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
}

.fin__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.fin__contact-title {
  margin: 0;
  font-family: var(--disp);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.7), 0 0 35px rgba(255, 0, 85, 0.4);
}

.fin__contact-sub {
  margin: 6px 0 16px;
  font-family: var(--ui);
  font-size: clamp(11.5px, 0.9vw, 13.5px);
  letter-spacing: 0.05em;
  color: rgba(220, 235, 255, 0.75);
}
.fin__contact-sub b {
  color: var(--cyan);
  font-weight: 600;
}

/* Comms 3-Card Grid */
.fin__comms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.fin__comm-card {
  background: rgba(10, 20, 35, 0.65);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.fin__comm-card:hover {
  border-color: rgba(0, 240, 255, 0.6);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
  transform: translateY(-2px);
}

.fin__card-tag {
  font-family: var(--mono);
  font-size: clamp(6.8px, 0.52vw, 8px);
  letter-spacing: 0.16em;
  color: rgba(0, 240, 255, 0.65);
  margin-bottom: 4px;
}

.fin__card-label {
  font-family: var(--mono);
  font-size: clamp(8px, 0.62vw, 9.5px);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
  margin-bottom: 6px;
}

.fin__card-val {
  font-family: var(--mono);
  font-size: clamp(9.5px, 0.75vw, 11px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cyan);
  text-decoration: none;
  word-break: break-all;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.fin__card-val:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--cyan);
}

.fin__card-val--static {
  color: #e2e8f0;
  margin-bottom: 4px;
}

.fin__card-meta {
  font-family: var(--mono);
  font-size: clamp(7.5px, 0.56vw, 8.5px);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.fin__card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: clamp(7.5px, 0.58vw, 9px);
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 5px 10px;
  border-radius: 3px;
  text-decoration: none;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: #fff;
  transition: all 0.2s ease;
}
.fin__card-btn:hover {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.7);
}

/* Deployments Grid */
.fin__deploy-hdr {
  font-family: var(--mono);
  font-size: clamp(8px, 0.62vw, 9.5px);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 0, 85, 0.9);
  text-shadow: 0 0 8px rgba(255, 0, 85, 0.4);
  margin-bottom: 10px;
}

.fin__deploy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.fin__deploy-card {
  background: rgba(6, 14, 26, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: 5px;
  padding: 10px 12px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.fin__deploy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
  border-color: var(--cyan);
}

.fin__deploy-status {
  font-family: var(--mono);
  font-size: clamp(6.5px, 0.5vw, 7.5px);
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.fin__deploy-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.fin__deploy-title {
  font-family: var(--mono);
  font-size: clamp(9.5px, 0.78vw, 12px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 2px;
}

.fin__deploy-sub {
  font-family: var(--ui);
  font-size: clamp(8px, 0.6vw, 9.5px);
  color: rgba(200, 220, 245, 0.65);
}

.fin__deploy-card--cyan {
  border-color: rgba(0, 240, 255, 0.4);
}
.fin__deploy-card--cyan:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.5);
}
.fin__deploy-card--cyan .fin__deploy-title {
  color: var(--cyan);
}

.fin__deploy-card--pink {
  border-color: rgba(255, 0, 85, 0.35);
}
.fin__deploy-card--pink:hover {
  border-color: var(--pink);
  box-shadow: 0 0 22px rgba(255, 0, 85, 0.5);
}
.fin__deploy-card--pink .fin__deploy-dot {
  background: var(--pink);
  box-shadow: 0 0 6px var(--pink);
}
.fin__deploy-card--pink .fin__deploy-title {
  color: #ff3377;
}

.fin__deploy-card--blue:hover {
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.fin__deploy-card--purple:hover {
  border-color: #a855f7;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

/* --------------------------------------------------------------------------
   Right Column: Reserved Cyber Video Bay
   -------------------------------------------------------------------------- */
.fin__video-bay-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fin__bay-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 12px;
  background: rgba(4, 9, 20, 0.88);
  border: 1px solid rgba(0, 240, 255, 0.32);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.fin__bay-code {
  font-family: var(--mono);
  font-size: clamp(7.5px, 0.6vw, 9px);
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.fin__bay-pill {
  font-family: var(--mono);
  font-size: clamp(7px, 0.55vw, 8.5px);
  letter-spacing: 0.16em;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 7px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.fin__bay-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 1.5s infinite;
}

.fin__video-bay {
  position: relative;
  width: 100%;
  height: clamp(360px, 52vh, 500px);
  background: #02060e;
  border: 1px solid rgba(0, 240, 255, 0.45);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.2), 0 0 80px rgba(255, 0, 85, 0.12), inset 0 0 35px rgba(0, 0, 0, 0.85);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fin__video-bay:hover {
  border-color: rgba(0, 240, 255, 0.8);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.4), 0 0 100px rgba(255, 0, 85, 0.25), inset 0 0 40px rgba(0, 240, 255, 0.08);
  transform: translateY(-3px);
}

/* God-Level Corner Brackets with pulsating glow */
.fin__corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--cyan);
  z-index: 6;
  pointer-events: none;
  filter: drop-shadow(0 0 6px var(--cyan));
  transition: all 0.3s ease;
  animation: corner-breath 3s ease-in-out infinite;
}
.fin__corner--tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.fin__corner--tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.fin__corner--bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.fin__corner--br { bottom: 8px; right: 8px; border-left: none; border-top: none; }

.fin__video-bay:hover .fin__corner--tl { top: 6px; left: 6px; width: 22px; height: 22px; border-color: #fff; }
.fin__video-bay:hover .fin__corner--tr { top: 6px; right: 6px; width: 22px; height: 22px; border-color: #fff; }
.fin__video-bay:hover .fin__corner--bl { bottom: 6px; left: 6px; width: 22px; height: 22px; border-color: #fff; }
.fin__video-bay:hover .fin__corner--br { bottom: 6px; right: 6px; width: 22px; height: 22px; border-color: #fff; }

@keyframes corner-breath {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; filter: drop-shadow(0 0 10px var(--cyan)) drop-shadow(0 0 15px rgba(255, 0, 85, 0.6)); }
}

/* Sweeping Laser Scanline */
.fin__bay-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 240, 255, 0.2) 20%, #ffffff 50%, rgba(0, 240, 255, 0.2) 80%, transparent 100%);
  box-shadow: 0 0 12px #00f0ff, 0 0 24px #00f0ff;
  z-index: 5;
  pointer-events: none;
  opacity: 0.85;
  animation: laser-sweep 4s linear infinite;
}

@keyframes laser-sweep {
  0% { top: -4%; opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; }
  100% { top: 104%; opacity: 0; }
}

/* The trimmed & cropped video of Nikhil Simha */
.fin__bay-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
  filter: contrast(1.12) brightness(1.06) saturate(1.08);
  transition: transform 0.5s ease;
}
.fin__video-bay:hover .fin__bay-video {
  transform: scale(1.02);
}

.fin__bay-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
}

.fin__bay-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Rotating Holographic Radar Scanner */
.fin__bay-radar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.25);
  box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.06);
  pointer-events: none;
  animation: radar-pulse 3s ease-in-out infinite;
}
.fin__bay-radar::before {
  content: '';
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 255, 0.12);
}
.fin__bay-radar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 240, 255, 0.18) 0deg, transparent 60deg);
  animation: radar-spin 4s linear infinite;
}

@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes radar-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.06); opacity: 0.9; }
}

.fin__bay-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: 50%;
  pointer-events: none;
}
.fin__bay-crosshair::before,
.fin__bay-crosshair::after {
  content: '';
  position: absolute;
  background: rgba(0, 240, 255, 0.6);
}
.fin__bay-crosshair::before {
  top: 50%; left: -8px; right: -8px; height: 1px;
}
.fin__bay-crosshair::after {
  left: 50%; top: -8px; bottom: -8px; width: 1px;
}

/* Top Status with Active Equalizer */
.fin__bay-top-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.fin__bay-tag {
  font-family: var(--mono);
  font-size: clamp(7px, 0.55vw, 8.5px);
  letter-spacing: 0.18em;
  color: var(--cyan);
  background: rgba(4, 10, 22, 0.85);
  padding: 3px 7px;
  border-radius: 3px;
  border: 1px solid rgba(0, 240, 255, 0.28);
  backdrop-filter: blur(6px);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.5);
}

.fin__bay-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
  background: rgba(4, 10, 22, 0.85);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(0, 240, 255, 0.25);
}
.fin__bay-equalizer span {
  width: 2.5px;
  background: var(--cyan);
  border-radius: 1px;
  box-shadow: 0 0 4px var(--cyan);
  animation: eq-bounce 1.2s ease-in-out infinite;
}
.fin__bay-equalizer span:nth-child(1) { height: 4px; animation-delay: 0.0s; }
.fin__bay-equalizer span:nth-child(2) { height: 11px; animation-delay: 0.2s; }
.fin__bay-equalizer span:nth-child(3) { height: 7px; animation-delay: 0.4s; }
.fin__bay-equalizer span:nth-child(4) { height: 13px; animation-delay: 0.1s; }
.fin__bay-equalizer span:nth-child(5) { height: 6px; animation-delay: 0.3s; }
.fin__bay-equalizer span:nth-child(6) { height: 10px; animation-delay: 0.5s; }

@keyframes eq-bounce {
  0%, 100% { height: 3px; opacity: 0.5; }
  50% { height: 13px; opacity: 1; }
}

.fin__bay-telemetry {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: clamp(6.8px, 0.52vw, 8px);
  letter-spacing: 0.14em;
  color: rgba(0, 240, 255, 0.9);
  background: rgba(4, 10, 22, 0.85);
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid rgba(0, 240, 255, 0.28);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.fin__bay-caption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 12px;
  background: rgba(4, 9, 20, 0.88);
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.fin__bay-caption-title {
  font-family: var(--mono);
  font-size: clamp(8px, 0.62vw, 9.5px);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

.fin__bay-caption-sub {
  font-family: var(--ui);
  font-size: clamp(8px, 0.58vw, 9px);
  letter-spacing: 0.06em;
  color: rgba(220, 240, 255, 0.75);
}

/* Resume Download Action below video */
.fin__resume-wrap {
  margin-top: 4px;
}

.fin__resume-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(6, 18, 32, 0.95), rgba(10, 28, 48, 0.9));
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: 6px;
  backdrop-filter: blur(12px);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), inset 0 0 12px rgba(0, 240, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.fin__resume-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.fin__resume-btn:hover::before {
  left: 100%;
}

.fin__resume-btn:hover {
  transform: translateY(-2px);
  border-color: #00f0ff;
  box-shadow: 0 6px 24px rgba(0, 240, 255, 0.35), inset 0 0 16px rgba(0, 240, 255, 0.2);
}

.fin__resume-btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00f0ff;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.fin__resume-btn:hover .fin__resume-btn-icon {
  transform: scale(1.08);
  background: rgba(0, 240, 255, 0.25);
  color: #ffffff;
}

.fin__resume-btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.fin__resume-btn-label {
  font-family: var(--display, 'Oswald', sans-serif);
  font-size: clamp(10px, 0.75vw, 12px);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-transform: uppercase;
}

.fin__resume-btn-sub {
  font-family: var(--mono);
  font-size: clamp(7.5px, 0.52vw, 8.5px);
  letter-spacing: 0.1em;
  color: #00f0ff;
}

.fin__resume-btn-badge {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid #00ff88;
  color: #00ff88;
  padding: 3px 8px;
  border-radius: 4px;
  text-shadow: 0 0 6px #00ff88;
  white-space: nowrap;
}

/* Responsive Stacking */
@media (max-width: 960px) {
  .fin {
    height: auto;
    min-height: 100svh;
  }
  .fin__pin {
    position: relative;
    height: auto;
    min-height: 100svh;
    padding-bottom: 80px;
  }
  .fin__stage1 {
    position: relative;
    inset: auto;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 16px 80px;
  }
  .fin__contact-wrap {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    grid-template-columns: 1fr;
    max-height: none;
    width: 100%;
    margin: 20px auto;
  }
  .fin.is-caps .fin__contact-wrap,
  .fin.is-live .fin__contact-wrap,
  .fin.is-set .fin__contact-wrap {
    transform: none;
  }
  .fin__comms-grid {
    grid-template-columns: 1fr;
  }
  .fin__deploy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fin__video-bay {
    height: 320px;
  }
}

@media (max-width: 520px) {
  .fin__deploy-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .fin__video-bay {
    height: 260px;
  }
  .fin__contact-title {
    font-size: 24px;
  }
}

/* --------------------------------------------------------------------------
   The functional row — Cyberpunk terminal dock.
   -------------------------------------------------------------------------- */

.fin__bar {
  position: absolute;
  z-index: 7;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(20px, 3.6vw, 62px) 16px;
  background: rgba(3, 7, 16, 0.92);
  border-top: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 -4px 20px rgba(0, 240, 255, 0.15);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: clamp(8px, 0.65vw, 11px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.fin.is-bar .fin__bar { opacity: 1; transform: none; }

.fin__bar a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.35s ease, text-shadow 0.35s ease;
}
.fin__bar a:hover,
.fin__bar a:focus-visible {
  color: #fff;
  text-shadow: 0 0 14px var(--cyan);
  outline: none;
}
.fin__soc {
  display: flex;
  gap: 2.4em;
}
.fin__c {
  font-size: inherit;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   Portrait + fallbacks
   -------------------------------------------------------------------------- */

.fin.is-portrait .f-cap--tr,
.fin.is-portrait .f-cap--tl,
.fin.is-portrait .f-cap--blw { display: none; }
.fin.is-portrait .f-cap--quote { top: auto; bottom: 24vh; }
.fin.is-portrait .fin__bar {
  flex-direction: column;
  gap: 10px;
  padding-bottom: 20px;
}

.fin.is-fallback #finBack,
.fin.is-fallback #finMan { display: none; }
.fin.is-fallback {
  background: #000 url('../../public/fin/plate.jpg') center / cover no-repeat;
}
.fin.is-set .f-cap,
.fin.is-set .fin__bar { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .f-cap, .fin__bar { transition-duration: 0.01ms; transition-delay: 0s; }
}
