/* ============================================================
   Flaneur 718 — Footer Styles
   Scoped to body.fl718-footer-active (global on all pages).
   Source: Footer/footer–desktop-index.html + Footer/mobile/footer–mobile-index.html
   ============================================================ */

:where(body.fl718-footer-active) * ,
:where(body.fl718-footer-active) *::before,
:where(body.fl718-footer-active) *::after {
  box-sizing: border-box;
}

/* ────────────────────────────────────────────────
   FOOTER SHELL
   #242220 — warm dark charcoal, approved
──────────────────────────────────────────────── */
body.fl718-footer-active .fl718-footer {
  background: #242220;
  color: #ddd;
  width: 100%;
}

/* Inner wrapper — consistent horizontal padding */
body.fl718-footer-active .fl718-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px 0 44px;
}

/* ────────────────────────────────────────────────
   ZONE 1 — HERO ROW: Alive (left) + Dispatch (right)
──────────────────────────────────────────────── */
body.fl718-footer-active .fl718-footer__hero-band {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: visible;
}

body.fl718-footer-active .fl718-footer__hero-row {
  display: flex;
  align-items: flex-start;
}

/* ── Alive column (left) ── */
body.fl718-footer-active .fl718-footer__alive-col {
  flex: 1;
  padding: 56px 56px 60px 0;
  border-right: 1px solid rgba(255,255,255,0.05);
}

/* ── Dispatch column (right) — slip fills full column width ── */
body.fl718-footer-active .fl718-footer__dispatch-col {
  flex: 0 0 48%;
  padding: 56px 10px 60px 80px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}

body.fl718-footer-active .fl718-zone-header {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  margin-bottom: 20px;
}

/* ALIVE — column heading, prominent */
body.fl718-footer-active .fl718-footer__alive-col .fl718-zone-header {
  font-family: 'Courier Prime', monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  padding-bottom: 14px;
  position: relative;
}

body.fl718-footer-active .fl718-footer__alive-col .fl718-zone-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right,
    rgba(148,118,52,0.75) 0%,
    rgba(130,102,40,0.40) 30%,
    rgba(255,255,255,0.12) 65%,
    transparent 100%
  );
}

/* DISPATCHES — column heading, prominent */
body.fl718-footer-active .fl718-footer__dispatch-col .fl718-zone-header {
  font-family: 'Courier Prime', monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  padding-bottom: 14px;
  position: relative;
}

body.fl718-footer-active .dispatch-sub {
  display: inline;
  font-family: 'Courier Prime', monospace;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.52);
  margin-left: 6px;
  text-transform: none;
}

body.fl718-footer-active .fl718-footer__dispatch-col .fl718-zone-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right,
    rgba(196,69,54,0.8) 0%,
    rgba(196,69,54,0.4) 30%,
    rgba(255,255,255,0.15) 65%,
    transparent 100%
  );
}

/* ─────────────────────────────────────────────────────
   THE CRYPTEX DRUM
──────────────────────────────────────────────────── */
body.fl718-footer-active .flaneur-alive {
  background: #0e0e0e;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 36px 56px rgba(0,0,0,0.95),
    inset 0 -36px 56px rgba(0,0,0,0.95);
}

body.fl718-footer-active .flaneur-alive::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 36% 100% at 0% 50%, rgba(0,0,0,0.80) 0%, transparent 100%),
    radial-gradient(ellipse 36% 100% at 100% 50%, rgba(0,0,0,0.80) 0%, transparent 100%);
  pointer-events: none;
  z-index: 10;
}

body.fl718-footer-active .flaneur-alive__row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0 2rem;
  height: 48px;
  position: relative;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.38) 0%,
    rgba(255,255,255,0.016) 35%,
    rgba(255,255,255,0.038) 50%,
    rgba(255,255,255,0.010) 65%,
    rgba(0,0,0,0.38) 100%
  );
}

body.fl718-footer-active .flaneur-alive__row.is-locking {
  animation: fl718-row-lock-flash 0.55s ease-out forwards;
}

@keyframes fl718-row-lock-flash {
  0%   { background: linear-gradient(to bottom, rgba(148,118,52,0.12) 0%, rgba(148,118,52,0.06) 50%, rgba(148,118,52,0.12) 100%); }
  100% { background: linear-gradient(to bottom, rgba(0,0,0,0.38) 0%, rgba(255,255,255,0.016) 35%, rgba(255,255,255,0.038) 50%, rgba(255,255,255,0.010) 65%, rgba(0,0,0,0.38) 100%); }
}

body.fl718-footer-active .flaneur-alive__row:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.92) 0%,
    rgba(105,82,38,0.65) 35%,
    rgba(148,118,52,0.55) 50%,
    rgba(88,68,28,0.60) 65%,
    rgba(0,0,0,0.90) 100%
  );
}

body.fl718-footer-active .flaneur-alive__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #aaa;
  white-space: nowrap;
  min-width: 12rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

body.fl718-footer-active .drum-viewport {
  flex: 1;
  height: 48px;
  overflow: hidden;
  perspective: 400px;
  position: relative;
  z-index: 2;
}

body.fl718-footer-active .drum-track {
  transform-style: preserve-3d;
  position: relative;
  width: 100%;
  height: 48px;
}

body.fl718-footer-active .drum-face {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 48px;
  display: block;
  line-height: 48px;
  font-family: 'Courier Prime', monospace;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backface-visibility: hidden;
  letter-spacing: 0.02em;
  padding-left: 0.6rem;
}

body.fl718-footer-active .drum-face--target { color: #9a7c3a; }
body.fl718-footer-active .drum-face--wrong  { color: #5c4820; }
body.fl718-footer-active .drum-face--cipher { color: #2e2e2e; font-size: 0.76rem; letter-spacing: 0.1em; }

/* Mascot — standing in nav row, left edge */
body.fl718-footer-active .fl718-footer__mascot {
  position: absolute;
  bottom: -128px;
  left: max(24px, calc(50% - 660px));
  height: 320px;
  width: auto;
  opacity: 0.4;
  pointer-events: none;
  z-index: 2;
}

/* ────────────────────────────────────────────────
   ZONE 2 — NAV: THREE MENU TRIGGERS + RUSSIAN ROULETTE
──────────────────────────────────────────────── */
body.fl718-footer-active .fl718-footer__nav-band {
  padding: 44px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: visible;
}

body.fl718-footer-active .fl718-nav-triggers {
  display: flex;
  align-items: center;
}

body.fl718-footer-active .fl718-nav-trigger {
  font-family: 'Courier Prime', monospace;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding-right: 56px;
  transition: color 0.22s ease;
  user-select: none;
  white-space: nowrap;
}

body.fl718-footer-active .fl718-nav-trigger:last-child {
  padding-right: 0;
}

body.fl718-footer-active .fl718-nav-trigger::after {
  content: '\2191';
  font-size: 11px;
  margin-left: 7px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  color: #c44536;
  flex-shrink: 0;
}

body.fl718-footer-active .fl718-nav-trigger:hover {
  color: #c44536;
}

body.fl718-footer-active .fl718-nav-trigger:hover::after {
  opacity: 1;
  transform: translateY(0);
}

body.fl718-footer-active .fl718-nav-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

body.fl718-footer-active .fl718-nav-triggers {
  grid-column: 2;
  justify-self: center;
  transform: translateX(-48px);
}

body.fl718-footer-active .fl718-roulette {
  grid-column: 3;
  justify-self: end;
}

/* ── RUSSIAN ROULETTE ── */
body.fl718-footer-active .fl718-roulette {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  padding: 4px 0;
}

body.fl718-footer-active .roulette-svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  overflow: visible;
}

body.fl718-footer-active .cylinder-rim {
  opacity: 0.22;
  transition: opacity 0.35s ease;
}

body.fl718-footer-active .fl718-roulette:hover .cylinder-rim {
  opacity: 0.48;
}

body.fl718-footer-active .fl718-roulette:active .cylinder-rim {
  opacity: 0.48;
}

body.fl718-footer-active .roulette-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

body.fl718-footer-active .roulette-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  transition: color 0.3s ease;
}

body.fl718-footer-active .roulette-main {
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  transition: color 0.32s ease;
}

body.fl718-footer-active .fl718-roulette:hover .roulette-main {
  color: #c44536;
}

body.fl718-footer-active .fl718-roulette:hover .roulette-sub {
  color: rgba(255,255,255,0.30);
}

body.fl718-footer-active .fl718-roulette:active .roulette-main {
  color: #c44536;
}

/* ────────────────────────────────────────────────
   ZONE 3 — SOCIAL ICONS
──────────────────────────────────────────────── */
body.fl718-footer-active .fl718-footer__social-band {
  padding: 44px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

body.fl718-footer-active .fl718-footer__social-band .fl718-footer__inner {
  transform: translateX(-32px);
}

body.fl718-footer-active .fl718-social-label {
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 20px;
  display: block;
  text-align: center;
}

body.fl718-footer-active .fl718-social-row {
  display: flex;
  align-items: center;
  list-style: none;
  justify-content: center;
}

body.fl718-footer-active .fl718-social-item {
  display: flex;
  align-items: center;
}

body.fl718-footer-active .fl718-social-item--primary {
  margin-right: 28px;
}

body.fl718-footer-active .fl718-social-item--secondary + .fl718-social-item--secondary {
  margin-left: 16px;
}

body.fl718-footer-active .fl718-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  outline-offset: 4px;
  border-radius: 2px;
}

body.fl718-footer-active .fl718-social-link--primary svg {
  opacity: 1;
  transition: opacity 200ms ease-out, transform 200ms ease-out;
}

body.fl718-footer-active .fl718-social-link--primary:hover svg {
  opacity: 0.85;
  transform: scale(1.03);
}

body.fl718-footer-active .fl718-social-link--secondary svg {
  opacity: 0.55;
  transition: opacity 200ms ease-out, transform 200ms ease-out;
}

body.fl718-footer-active .fl718-social-link--secondary:hover svg {
  opacity: 1;
  transform: scale(1.05);
}

/* ────────────────────────────────────────────────
   ZONE 4 — BOTTOM BAR
──────────────────────────────────────────────── */
body.fl718-footer-active .fl718-footer__bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.fl718-footer-active .footer-bottom__left,
body.fl718-footer-active .footer-bottom__right {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.18);
}

body.fl718-footer-active .footer-bottom__center {
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.1);
  letter-spacing: 0.05em;
  font-style: italic;
}

/* ────────────────────────────────────────────────
   DISPATCH SLIP — namespace: ds-
──────────────────────────────────────────────── */
body.fl718-footer-active .ds-slip-wrapper {
  position: relative;
  width: 100%;
  transform: rotate(2deg);
  transform-origin: center center;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.7)) drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

body.fl718-footer-active .ds-slip {
  width: 100%;
  background: #f5f0e8;
  padding: 36px 42px 46px;
  position: relative;
  overflow: visible;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

body.fl718-footer-active .ds-slip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.12), transparent);
}

body.fl718-footer-active .ds-header {
  border-bottom: 1px solid #c8bfa8;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

body.fl718-footer-active .ds-header-title {
  font-family: 'Courier Prime', monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #2a2318;
  text-transform: uppercase;
  margin-bottom: 10px;
}

body.fl718-footer-active .ds-header-rule {
  border: none;
  border-top: 1px solid #c8bfa8;
  margin: 10px 0 13px;
}

body.fl718-footer-active .ds-header-fields {
  font-family: 'Courier Prime', monospace;
  font-size: 13px;
  color: #5a4f3c;
  line-height: 1.9;
  white-space: pre;
}

body.fl718-footer-active .ds-contents-label {
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #8a7d65;
  text-transform: uppercase;
  margin-bottom: 8px;
}

body.fl718-footer-active .ds-contents-body {
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  color: rgba(42,35,24,0.72);
  line-height: 1.65;
  font-style: italic;
}

body.fl718-footer-active .ds-field-section {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #c8bfa8;
}

body.fl718-footer-active .ds-form {
  display: flex;
  align-items: baseline;
  gap: 0;
}

body.fl718-footer-active .ds-deliver-label {
  font-family: 'Courier Prime', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(180,58,42,0.82);
  text-transform: uppercase;
  display: inline-block;
  margin-right: 10px;
}

body.fl718-footer-active .ds-email-input {
  border: none;
  border-bottom: 1.5px solid #5a4f3c;
  background: transparent;
  font-family: 'Courier Prime', monospace;
  font-size: 15px;
  color: #2a2318;
  padding: 5px 0;
  outline: none;
  flex: 1;
  caret-color: #2a2318;
}

body.fl718-footer-active .ds-email-input::placeholder {
  color: rgba(90,79,60,0.55);
  font-style: italic;
}

body.fl718-footer-active .ds-email-input:focus {
  border-bottom-color: #2a2318;
}

body.fl718-footer-active .ds-stamp-area {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
  min-height: 80px;
}

body.fl718-footer-active .ds-stamp {
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: filter 0.15s ease;
}

body.fl718-footer-active .ds-stamp:hover { filter: brightness(0.88); }
body.fl718-footer-active .ds-stamp:active { filter: brightness(0.75); }

body.fl718-footer-active .ds-stamp-transmit,
body.fl718-footer-active .ds-stamp-sent {
  font-family: 'Courier Prime', monospace;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 3px solid currentColor;
  position: relative;
  display: inline-block;
}

body.fl718-footer-active .ds-stamp-transmit {
  color: rgba(90,79,60,0.50);
  border-width: 3px 2.5px 3.5px 3px;
  border-color: rgba(90,79,60,0.30);
  transform: rotate(-2.5deg);
  box-shadow:
    1.5px 1px   0 rgba(90,79,60,0.13),
    -0.5px 0.5px 0 rgba(90,79,60,0.09),
    2.5px  0.5px 0 rgba(90,79,60,0.05),
    -1px   2px   0 rgba(90,79,60,0.04),
    0 2px 5px rgba(0,0,0,0.07);
  text-shadow:
    0.7px  0.2px 0   rgba(90,79,60,0.22),
    -0.5px -0.3px 0  rgba(90,79,60,0.13),
    0.3px -0.4px 0.6px rgba(90,79,60,0.09);
}

body.fl718-footer-active .ds-stamp-transmit::before {
  content: '';
  position: absolute;
  top: 5px; left: 4px; right: 5px; bottom: 4px;
  border: 1px solid rgba(90,79,60,0.10);
  pointer-events: none;
}

body.fl718-footer-active .ds-stamp-transmit::after {
  content: '';
  position: absolute;
  top: 42%; left: 6%;
  width: 88%; height: 2px;
  background: rgba(90,79,60,0.05);
  transform: rotate(-0.4deg);
  pointer-events: none;
}

body.fl718-footer-active .ds-stamp-sent {
  font-family: 'Courier Prime', monospace;
  color: #c44536;
  border-color: #c44536;
  position: absolute;
  bottom: 0; right: 0;
  opacity: 0;
  box-shadow:
    2px 2px 0 rgba(196,69,54,0.2),
    -1px -1px 0 rgba(196,69,54,0.1),
    0 0 8px rgba(196,69,54,0.15);
}

body.fl718-footer-active .ds-stamp-sent::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(196,69,54,0.3);
  pointer-events: none;
}

body.fl718-footer-active .ds-success-message {
  margin-top: 22px;
  font-family: 'Courier Prime', monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  font-style: italic;
  opacity: 0;
  -webkit-backface-visibility: hidden;
}

body.fl718-footer-active .ds-stamp-hint {
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  color: rgba(90,79,60,0.4);
  letter-spacing: 0.1em;
  text-align: right;
  margin-top: 6px;
  text-transform: uppercase;
}

/* ────────────────────────────────────────────────
   FOCUS STATES
──────────────────────────────────────────────── */
body.fl718-footer-active .fl718-social-link:focus-visible {
  outline: 1px solid rgba(228,223,214,0.5);
}

body.fl718-footer-active .fl718-nav-trigger:focus-visible {
  outline: 1px solid rgba(196,69,54,0.7);
  outline-offset: 4px;
  border-radius: 2px;
}

body.fl718-footer-active .ds-stamp:focus-visible {
  outline: 1px solid rgba(90,79,60,0.6);
  outline-offset: 4px;
  border-radius: 2px;
}

body.fl718-footer-active .fl718-roulette:focus-visible {
  outline: 1px solid rgba(196,69,54,0.7);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ────────────────────────────────────────────────
   RESPONSIVE — narrow desktop (901–1100px)
──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  body.fl718-footer-active .flaneur-alive__label {
    min-width: 8.5rem;
    font-size: 0.7rem;
  }
  body.fl718-footer-active .fl718-footer__alive-col {
    padding: 56px 32px 60px 0;
  }
  body.fl718-footer-active .fl718-nav-triggers {
    transform: translateX(-24px);
  }
}

/* ────────────────────────────────────────────────
   RESPONSIVE — tablet / mobile (≤ 900px)
──────────────────────────────────────────────── */
@media (max-width: 900px) {

  body.fl718-footer-active .fl718-footer__inner {
    padding: 0 20px;
  }

  body.fl718-footer-active .fl718-footer__hero-row {
    flex-direction: column;
  }

  /* Swap order on mobile: Dispatches first, Field Notes second */
  body.fl718-footer-active .fl718-footer__dispatch-col {
    flex: none;
    width: 100%;
    padding: 40px 20px;
    order: 1;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  body.fl718-footer-active .fl718-footer__alive-col {
    border-right: none;
    border-bottom: none;
    padding: 40px 0;
    width: 100%;
    order: 2;
  }

  body.fl718-footer-active .ds-slip-wrapper {
    transform: none;
  }

  body.fl718-footer-active .dispatch-sub {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  body.fl718-footer-active .ds-stamp-area {
    min-height: auto;
    margin-top: 20px;
  }

  body.fl718-footer-active .ds-stamp {
    touch-action: manipulation;
  }

  body.fl718-footer-active .ds-stamp-transmit {
    transform: none;
  }

  body.fl718-footer-active .ds-slip {
    padding: 28px 24px 36px;
  }

  body.fl718-footer-active .ds-header-fields {
    white-space: pre-wrap;
  }

  body.fl718-footer-active .ds-email-input {
    font-size: 16px;
  }

  body.fl718-footer-active .fl718-footer__alive-col .fl718-zone-header {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body.fl718-footer-active .flaneur-alive__row {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 10px 1rem;
    gap: 0;
  }

  body.fl718-footer-active .flaneur-alive__label {
    min-width: auto;
    width: 100%;
    font-size: 0.7rem;
    margin-bottom: 2px;
    flex-shrink: 0;
  }

  body.fl718-footer-active .drum-viewport {
    width: 100%;
    height: 48px;
  }

  body.fl718-footer-active .flaneur-alive::before {
    background:
      radial-gradient(ellipse 20% 100% at 0% 50%, rgba(0,0,0,0.80) 0%, transparent 100%),
      radial-gradient(ellipse 20% 100% at 100% 50%, rgba(0,0,0,0.80) 0%, transparent 100%);
  }

  body.fl718-footer-active .flaneur-alive {
    box-shadow:
      inset 0 28px 44px rgba(0,0,0,0.95),
      inset 0 -28px 44px rgba(0,0,0,0.95);
  }

  body.fl718-footer-active .fl718-footer__mascot {
    position: absolute;
    bottom: -54px;
    left: 16px;
    height: 200px;
    width: auto;
    opacity: 0.4;
  }

  body.fl718-footer-active .fl718-nav-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  body.fl718-footer-active .fl718-roulette {
    align-self: flex-end;
  }

  body.fl718-footer-active .fl718-nav-triggers {
    grid-column: unset;
    justify-self: unset;
    transform: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  body.fl718-footer-active .fl718-nav-trigger {
    display: block;
    width: 100%;
    padding: 14px 0;
    padding-right: 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    touch-action: manipulation;
  }

  body.fl718-footer-active .fl718-nav-trigger:last-child {
    border-bottom: none;
  }

  body.fl718-footer-active .fl718-nav-trigger::after {
    opacity: 0.25;
    transform: translateY(0);
  }

  body.fl718-footer-active .fl718-nav-trigger:active {
    color: #c44536;
  }

  body.fl718-footer-active .fl718-nav-trigger:active::after {
    opacity: 1;
  }

  body.fl718-footer-active .fl718-roulette {
    grid-column: unset;
    justify-self: unset;
    touch-action: manipulation;
  }

  body.fl718-footer-active .roulette-svg {
    width: 38px;
    height: 38px;
  }

  body.fl718-footer-active .roulette-main {
    font-size: 10px;
  }

  body.fl718-footer-active .roulette-sub {
    font-size: 7px;
  }

  body.fl718-footer-active .fl718-footer__social-band .fl718-footer__inner {
    transform: none;
  }

  body.fl718-footer-active .fl718-social-link {
    padding: 8px;
  }

  body.fl718-footer-active .fl718-social-item--secondary + .fl718-social-item--secondary {
    margin-left: 12px;
  }

  body.fl718-footer-active .fl718-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  body.fl718-footer-active .footer-bottom__center {
    display: none;
  }

  body.fl718-footer-active .footer-bottom__right {
    align-self: flex-start;
  }

}

/* ────────────────────────────────────────────────
   RESPONSIVE — phone (≤ 480px)
──────────────────────────────────────────────── */
@media (max-width: 480px) {

  body.fl718-footer-active .fl718-footer__inner {
    padding: 0 16px;
  }

  body.fl718-footer-active .fl718-footer__alive-col {
    padding: 32px 0;
  }

  body.fl718-footer-active .fl718-footer__dispatch-col {
    padding: 32px 16px;
  }

  body.fl718-footer-active .fl718-footer__alive-col .fl718-zone-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.fl718-footer-active .flaneur-alive__row {
    padding: 8px 0.8rem;
  }

  body.fl718-footer-active .flaneur-alive::before {
    background:
      radial-gradient(ellipse 16% 100% at 0% 50%, rgba(0,0,0,0.75) 0%, transparent 100%),
      radial-gradient(ellipse 16% 100% at 100% 50%, rgba(0,0,0,0.75) 0%, transparent 100%);
  }

  body.fl718-footer-active .flaneur-alive {
    box-shadow:
      inset 0 28px 44px rgba(0,0,0,0.95),
      inset 0 -28px 44px rgba(0,0,0,0.95);
  }

  body.fl718-footer-active .fl718-footer__nav-band {
    padding: 32px 0;
  }

  body.fl718-footer-active .fl718-nav-trigger {
    font-size: 14px;
    padding: 14px 0;
    min-height: 44px;
  }

  body.fl718-footer-active .ds-slip {
    padding: 24px 20px 32px;
  }

  body.fl718-footer-active .ds-form {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  body.fl718-footer-active .ds-deliver-label {
    margin-right: 0;
  }

  body.fl718-footer-active .ds-email-input {
    width: 100%;
    font-size: 16px;
    padding: 10px 0;
    min-height: 44px;
  }

  body.fl718-footer-active .fl718-footer__social-band {
    padding: 32px 0;
  }

  body.fl718-footer-active .fl718-footer__bottom {
    padding: 16px 0;
    gap: 8px;
  }

}

/* ── Contact Zone wrapper + header ───────────────────────────── */

body.fl718-footer-active .fl718-footer__contact-zone {
  margin-top: 36px;
}

body.fl718-footer-active .fl718-footer__contact-zone .fl718-zone-header {
  font-family: 'Courier Prime', monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  padding-bottom: 14px;
  position: relative;
  text-transform: uppercase;
}

body.fl718-footer-active .fl718-footer__contact-zone .fl718-zone-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right,
    rgba(148,118,52,0.75) 0%,
    rgba(130,102,40,0.40) 30%,
    rgba(255,255,255,0.12) 65%,
    transparent 100%
  );
}

/* ── Dead Letter Office (Contact Drawer) ──────────────────────── */

body.fl718-footer-active .fl718-dlo {
  position: relative;
  cursor: pointer;
  user-select: none;
}

body.fl718-footer-active .fl718-dlo__face {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #1a1815;
  border: 1px solid rgba(148,118,52,0.22);
  border-bottom: 1px solid rgba(148,118,52,0.08);
  position: relative;
  z-index: 2;
  transition: border-color 0.25s ease;
}

body.fl718-footer-active .fl718-dlo:hover .fl718-dlo__face,
body.fl718-footer-active .fl718-dlo.is-open .fl718-dlo__face {
  border-color: rgba(148,118,52,0.45);
}

body.fl718-footer-active .fl718-dlo__pull {
  width: 28px;
  height: 10px;
  border: 1px solid rgba(148,118,52,0.55);
  border-radius: 3px;
  background: linear-gradient(to bottom,
    rgba(148,118,52,0.12) 0%,
    rgba(148,118,52,0.28) 50%,
    rgba(148,118,52,0.10) 100%
  );
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.25s ease;
}

body.fl718-footer-active .fl718-dlo__pull::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 4px;
  border: 1px solid rgba(148,118,52,0.40);
  border-radius: 1px;
}

body.fl718-footer-active .fl718-dlo:hover .fl718-dlo__pull {
  border-color: rgba(201,168,80,0.75);
}

body.fl718-footer-active .fl718-dlo__face-label {
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  flex: 1;
  transition: color 0.25s ease;
}

body.fl718-footer-active .fl718-dlo:hover .fl718-dlo__face-label {
  color: rgba(148,118,52,0.72);
}

body.fl718-footer-active .fl718-dlo__peek {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  opacity: 0.30;
  margin-right: 4px;
  transition: opacity 0.25s ease;
}

body.fl718-footer-active .fl718-dlo:hover .fl718-dlo__peek { opacity: 0.55; }
body.fl718-footer-active .fl718-dlo.is-open .fl718-dlo__peek { opacity: 0; }

body.fl718-footer-active .fl718-dlo__peek-edge {
  width: 18px;
  height: 10px;
  border: 1px solid rgba(201,168,80,0.50);
  border-bottom: none;
  background: rgba(201,168,80,0.06);
  border-radius: 1px 1px 0 0;
  transform-origin: bottom center;
}

body.fl718-footer-active .fl718-dlo__peek-edge:nth-child(2) { height: 8px; opacity: 0.7; }
body.fl718-footer-active .fl718-dlo__peek-edge:nth-child(3) { height: 6px; opacity: 0.4; }

body.fl718-footer-active .fl718-dlo__body-wrap {
  overflow: hidden;
  height: 0;
  border-left: 1px solid rgba(148,118,52,0.18);
  border-right: 1px solid rgba(148,118,52,0.18);
  border-bottom: 1px solid rgba(148,118,52,0.18);
  background: #161412;
}

body.fl718-footer-active .fl718-dlo__body {
  padding: 28px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.fl718-footer-active .fl718-dlo__envelope-wrap {
  width: 100%;
  max-width: 310px;
  position: relative;
  opacity: 0;
}

body.fl718-footer-active .fl718-dlo__envelope {
  width: 100%;
  background: #e8e2d6;
  border: 1px solid rgba(90,79,60,0.40);
  border-radius: 1px;
  position: relative;
  overflow: visible;
  box-shadow: 0 6px 24px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.35);
}

body.fl718-footer-active .fl718-dlo__envelope-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

body.fl718-footer-active .fl718-dlo__envelope-bg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.fl718-footer-active .fl718-dlo__flap-wrap {
  perspective: 600px;
  perspective-origin: center top;
  position: absolute;
  top: 0; left: -1px; right: -1px;
  z-index: 10;
  pointer-events: none;
}

body.fl718-footer-active .fl718-dlo__flap {
  transform-origin: top center;
  transform: rotateX(0deg);
  background: #ddd6c8;
  border: 1px solid rgba(90,79,60,0.35);
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

body.fl718-footer-active .fl718-dlo__flap svg { width: 100%; display: block; }

body.fl718-footer-active .fl718-dlo__seal {
  position: absolute;
  bottom: 14px;
  right: 18px;
  width: 20px;
  height: 20px;
  opacity: 0.85;
  transition: opacity 0.22s ease;
}

body.fl718-footer-active .fl718-dlo__envelope-wrap:hover .fl718-dlo__seal { opacity: 1; }

body.fl718-footer-active .fl718-dlo__note-wrap {
  position: relative;
  z-index: 5;
  overflow: hidden;
}

body.fl718-footer-active .fl718-dlo__note {
  background: #f0ead6;
  padding: 20px 20px 16px;
  position: relative;
}

body.fl718-footer-active .fl718-dlo__note::before {
  content: '';
  position: absolute;
  left: 20px; right: 20px;
  top: 36px;
  height: 200px;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 19px,
    rgba(90,79,60,0.10) 19px,
    rgba(90,79,60,0.10) 20px
  );
  pointer-events: none;
}

body.fl718-footer-active .fl718-dlo__note-content { position: relative; z-index: 1; }

body.fl718-footer-active .fl718-dlo__note-pre {
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  font-style: italic;
  color: rgba(90,79,60,0.50);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

body.fl718-footer-active .fl718-dlo__note-body {
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  line-height: 1.80;
  color: #3a3020;
  margin-bottom: 14px;
}

body.fl718-footer-active .fl718-dlo__note-contact {
  display: inline-block;
  font-family: 'Courier Prime', monospace;
  font-size: 13px;
  font-weight: 700;
  color: rgba(180,58,42,0.85);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(180,58,42,0.30);
  transition: color 0.22s ease, border-color 0.22s ease;
}

body.fl718-footer-active .fl718-dlo__note-contact:hover {
  color: rgba(196,69,54,1.0);
  border-color: rgba(196,69,54,0.60);
}

body.fl718-footer-active .fl718-dlo__note-services {
  margin-top: 12px;
  font-family: 'Courier Prime', monospace;
  font-size: 9.5px;
  font-style: italic;
  color: rgba(90,79,60,0.50);
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  body.fl718-footer-active .fl718-dlo__body-wrap { height: auto !important; }
  body.fl718-footer-active .fl718-dlo__envelope-wrap { opacity: 1 !important; }
  body.fl718-footer-active .fl718-dlo__note-wrap { height: auto !important; }
  body.fl718-footer-active .fl718-dlo__flap { transform: rotateX(-160deg) !important; }
}
