/* ============================================================
   FOOTER BAR — footer.css
   z-index map: backdrop 550 | panel 560 | trigger 570
   ============================================================ */

/* ── Trigger ─────────────────────────────────────────────── */
.footer-trigger {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 570;
  width: 140px;
  height: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.footer-trigger.visible { opacity: 1; pointer-events: auto; }

@keyframes footer-breathe {
  0%   { opacity: 1;    }
  50%  { opacity: 0.25; }
  100% { opacity: 1;    }
}
.footer-trigger-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(192,154,72,.25) 15%, #c09a48 50%, rgba(192,154,72,.25) 85%, transparent 100%);
  animation: footer-breathe 3s ease-in-out infinite;
}
.footer-trigger:hover .footer-trigger-line,
.footer-trigger:focus .footer-trigger-line {
  animation-play-state: paused;
  opacity: 0.8;
}

/* ── Backdrop ────────────────────────────────────────────── */
.footer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 550;
  background: rgba(8,8,8,.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.footer-backdrop.open { opacity: 1; pointer-events: auto; }

/* ── Panel ───────────────────────────────────────────────── */
.footer-panel {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 560;
  background: #080808;
  border-top: 1px solid rgba(192,154,72,.35);
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(.22,1,.36,1),
              max-height 0.4s cubic-bezier(.22,1,.36,1);
  max-height: 70vh;
  overflow: hidden;
}
.footer-panel.open { transform: translateY(0); }
.footer-panel.doc-open { max-height: 85vh; }

/* Handle */
.footer-panel-handle {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 140px; height: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2;
}
.footer-panel-handle::after {
  content: '';
  display: block;
  width: 60px; height: 2px;
  background: rgba(192,154,72,.5);
}

/* ── Default two-column view ─────────────────────────────── */
.footer-default {
  display: flex;
  gap: 6%;
  align-items: flex-start;
  padding: 44px 8% 40px;
  height: 100%;
  max-height: 70vh;
  overflow-y: auto;
  opacity: 1;
  transition: opacity 0.18s ease;
}
.footer-default.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* ── Document view ───────────────────────────────────────── */
.footer-docview {
  display: flex;
  flex-direction: column;
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.footer-docview.visible { opacity: 1; pointer-events: auto; }

/* Back bar */
.footer-doc-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 8% 15px;
  border-bottom: 1px solid rgba(192,154,72,.12);
  flex-shrink: 0;
}
.footer-doc-back {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: rgba(192,154,72,.7);
  font-family: 'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  background: none;
  border: none;
  padding: 0;
}
.footer-doc-back:hover { color: #c09a48; }
.footer-doc-back svg {
  width: 13px; height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-doc-bar-title {
  font-family: 'Bison',Impact,sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
}

/* Scrollable document */
.footer-doc-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 30px 8% 40px;
  scrollbar-width: thin;
  scrollbar-color: rgba(192,154,72,.2) transparent;
}
.footer-doc-scroll::-webkit-scrollbar { width: 4px; }
.footer-doc-scroll::-webkit-scrollbar-track { background: transparent; }
.footer-doc-scroll::-webkit-scrollbar-thumb { background: rgba(192,154,72,.2); border-radius: 2px; }

/* Document typography */
.footer-doc-h1 {
  font-family: 'Bison',Impact,sans-serif;
  font-size: 24px; font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255,255,255,.9);
  margin-bottom: 5px;
}
.footer-doc-meta {
  font-family: 'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: .28em;
  color: rgba(192,154,72,.5);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-doc-rule {
  width: 100%; height: 1px;
  background: rgba(192,154,72,.15);
  margin-bottom: 26px;
}
.footer-doc-h2 {
  font-family: 'Bison',Impact,sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  margin-top: 28px; margin-bottom: 8px;
}
.footer-doc-h3 {
  font-family: 'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em;
  color: rgba(192,154,72,.6);
  text-transform: uppercase;
  margin-top: 16px; margin-bottom: 5px;
}
.footer-doc-p {
  font-family: 'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 13px; font-weight: 400;
  letter-spacing: .02em;
  color: rgba(255,255,255,.48);
  line-height: 1.65;
  margin-bottom: 10px;
}
.footer-doc-p:last-child { margin-bottom: 0; }
.footer-doc-p a { color: rgba(192,154,72,.8); text-decoration: none; }
.footer-doc-p a:hover { color: #c09a48; }
.footer-doc-label {
  font-family: 'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: .28em;
  color: rgba(192,154,72,.5);
  text-transform: uppercase;
  margin-top: 12px; margin-bottom: 2px;
}
.footer-doc-value {
  font-family: 'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
  margin-bottom: 10px;
}
.footer-doc-note {
  font-family: 'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 11px; font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,.28);
  line-height: 1.55;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
}
.footer-doc-table th {
  font-family: 'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: .22em;
  color: rgba(192,154,72,.6);
  text-transform: uppercase;
  text-align: left;
  padding: 0 12px 8px 0;
  border-bottom: 1px solid rgba(192,154,72,.12);
}
.footer-doc-table td {
  font-family: 'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 12px; font-weight: 400;
  color: rgba(255,255,255,.42);
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  vertical-align: top;
  line-height: 1.5;
}

/* ── Default view: sections ──────────────────────────────── */
.footer-section { flex: 1; min-width: 0; }
.footer-section + .footer-section {
  border-left: 1px solid rgba(192,154,72,.12);
  padding-left: 6%;
}
.footer-section-label {
  font-family: 'Bison',Impact,sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: .3em;
  color: #c09a48;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer-section-title {
  font-family: 'Bison',Impact,sans-serif;
  font-size: 22px; font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255,255,255,.9);
  margin-bottom: 20px;
}
.footer-rule {
  width: 100%; height: 1px;
  background: rgba(192,154,72,.2);
  margin-bottom: 20px;
}
.footer-legal-block { margin-bottom: 13px; }
.footer-legal-block:last-child { margin-bottom: 0; }
.footer-legal-key {
  font-family: 'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: .25em;
  color: rgba(192,154,72,.7);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.footer-legal-value {
  font-family: 'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 13px; font-weight: 400;
  letter-spacing: .02em;
  color: rgba(255,255,255,.52);
  line-height: 1.5;
}
.footer-legal-value a { color: rgba(192,154,72,.8); text-decoration: none; transition: color .2s ease; }
.footer-legal-value a:hover { color: #c09a48; }

/* Document links list */
.footer-doc-links {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-doc-links-label {
  font-family: 'Bison',Impact,sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: .28em;
  color: rgba(192,154,72,.45);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.footer-doc-link {
  display: flex;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
  font-family: 'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition: color 0.2s ease;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.footer-doc-link:last-child { border-bottom: none; }
.footer-doc-link:hover { color: rgba(192,154,72,.9); }
.footer-doc-link-arrow {
  margin-left: auto;
  color: rgba(192,154,72,.35);
  transition: color 0.2s ease, transform 0.2s ease;
  font-size: 10px;
}
.footer-doc-link:hover .footer-doc-link-arrow {
  color: rgba(192,154,72,.75);
  transform: translateX(3px);
}

/* Career */
.footer-career-empty {
  font-family: 'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 13px; font-weight: 400;
  letter-spacing: .02em;
  color: rgba(255,255,255,.28);
  line-height: 1.6;
  font-style: italic;
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (orientation: portrait) {
  .footer-default { flex-direction: column; gap: 32px; padding: 36px 6% 32px; max-height: 80vh; }
  .footer-section + .footer-section { border-left: none; border-top: 1px solid rgba(192,154,72,.12); padding-left: 0; padding-top: 32px; }
  .footer-trigger { width: 100px; }
  .footer-doc-bar { padding: 16px 6% 13px; }
  .footer-doc-scroll { padding: 24px 6% 32px; }
}
