/* ============================================================
   27 — AR BANK / BANKING DASHBOARD
   Konsep: private banking untuk dua orang. Deep teal, glass,
   mint accent, angka monospace, dan kartu debit yang bisa dibalik.
   ============================================================ */

:root {
  --bk-bg: #04161c;
  --bk-bg-2: #061e25;
  --bk-panel: #08252c;
  --bk-panel-2: #0a2c33;
  --bk-ink: #eaf7f4;
  --bk-muted: #8eaeae;
  --bk-dim: #5f8082;
  --bk-mint: #6ff3c8;
  --bk-mint-2: #2ed3a4;
  --bk-mint-deep: #0d7a63;
  --bk-line: rgba(126, 243, 200, 0.13);
  --bk-line-soft: rgba(255, 255, 255, 0.07);
  --bk-danger: #ff8e8e;
  --bk-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --bk-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --bk-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --bk-shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.9);
}

[hidden] { display: none !important; }

body {
  background: var(--bk-bg);
  color: var(--bk-ink);
  font-family: var(--bk-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.bk-locked { overflow: hidden; }
img { max-width: 100%; }
button { -webkit-tap-highlight-color: transparent; }

/* ------------------------------------------------------------
   GATE
   ------------------------------------------------------------ */
.bk-gate {
  position: fixed;
  inset: 0;
  z-index: 120;
  overflow-y: auto;
  overflow-x: hidden;
  background:
    radial-gradient(120% 90% at 82% 0%, #0b3b3c 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 100%, #082c33 0%, transparent 60%),
    var(--bk-bg);
  transition: opacity 0.8s var(--bk-ease), transform 0.8s var(--bk-ease), visibility 0.8s;
}
.bk-gate.is-unlocked { opacity: 0; visibility: hidden; transform: scale(1.03); pointer-events: none; }
.bk-gate__back {
  position: absolute; top: calc(18px + env(safe-area-inset-top)); right: 18px; z-index: 5;
  font-family: var(--bk-mono); font-size: 0.5rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--bk-dim); text-decoration: none;
  padding-bottom: 2px; border-bottom: 1px solid var(--bk-line-soft);
  transition: color 0.2s, border-color 0.2s;
}
.bk-gate__back:hover { color: var(--bk-mint); border-color: var(--bk-line); }
.bk-gate__glow {
  position: fixed;
  width: 560px; height: 560px; right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(111, 243, 200, 0.16), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.bk-gate__grid {
  position: fixed; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(126, 243, 200, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 243, 200, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 75%);
}
.bk-gate__shell {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(26px + env(safe-area-inset-top)) 20px calc(40px + env(safe-area-inset-bottom));
  display: grid;
  gap: 34px;
  align-items: center;
}

.bk-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.bk-brand__mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--bk-mint), #1ba184);
  color: #032019; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.02em;
  box-shadow: 0 8px 24px -10px rgba(111, 243, 200, 0.7);
}
.bk-brand__word { font-size: 1rem; font-weight: 800; letter-spacing: 0.06em; }
.bk-brand__word em { font-style: normal; font-weight: 400; color: var(--bk-muted); letter-spacing: 0.18em; margin-left: 5px; font-size: 0.72rem; }

.bk-gate__eyebrow {
  margin-top: 40px;
  font-family: var(--bk-mono); font-size: 0.64rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--bk-mint);
}
.bk-gate__title {
  margin: 14px 0 18px;
  font-size: clamp(2.6rem, 11vw, 4.4rem);
  line-height: 0.95; font-weight: 800; letter-spacing: -0.045em;
}
.bk-gate__title em { font-style: normal; color: var(--bk-mint); }
.bk-gate__lead {
  max-width: 40ch; font-size: 0.88rem; line-height: 1.75; color: var(--bk-muted);
}
.bk-gate__perks { margin-top: 24px; display: grid; gap: 10px; }
.bk-gate__perks li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 0.76rem; color: #b6cfcd; line-height: 1.5;
}
.bk-gate__perks span {
  flex: 0 0 auto; width: 17px; height: 17px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 1px;
  background: rgba(111, 243, 200, 0.12); color: var(--bk-mint);
  font-size: 0.58rem; font-weight: 800;
}
.bk-gate__couple { display: flex; align-items: center; gap: 13px; margin-top: 30px; }
.bk-gate__faces { display: flex; }
.bk-gate__faces img {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--bk-bg); margin-left: -11px;
}
.bk-gate__faces img:first-child { margin-left: 0; }
.bk-gate__couple strong { display: block; font-size: 0.84rem; font-weight: 700; }
.bk-gate__couple span { display: block; font-family: var(--bk-mono); font-size: 0.64rem; color: var(--bk-dim); margin-top: 3px; letter-spacing: 0.08em; }

/* Login card */
.bk-login {
  width: 100%;
  max-width: 400px;
  justify-self: center;
  padding: 22px 20px 24px;
  border-radius: 24px;
  border: 1px solid var(--bk-line);
  background:
    linear-gradient(165deg, rgba(16, 52, 58, 0.94), rgba(6, 27, 33, 0.97));
  box-shadow: var(--bk-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  transition: transform 0.4s var(--bk-ease), box-shadow 0.4s;
}
.bk-login.is-error { animation: bkShake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
.bk-login.is-error .bk-pin span { border-color: rgba(255, 142, 142, 0.7); }
.bk-login.is-unlocked { box-shadow: 0 0 0 1px var(--bk-mint), 0 30px 80px -30px rgba(111, 243, 200, 0.35); }
@keyframes bkShake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-7px); }
  40%, 60% { transform: translateX(7px); }
}
.bk-login__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
.bk-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--bk-mono); font-size: 0.58rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #b9d6d2;
}
.bk-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--bk-mint); box-shadow: 0 0 0 3px rgba(111, 243, 200, 0.15); }
.bk-login__id { font-family: var(--bk-mono); font-size: 0.58rem; color: var(--bk-dim); letter-spacing: 0.1em; }
.bk-login__hello { font-size: 0.72rem; color: var(--bk-muted); letter-spacing: 0.02em; }
.bk-login__guest {
  margin: 4px 0 8px;
  font-size: clamp(1.35rem, 5.4vw, 1.7rem); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.2;
}
.bk-login__sub { font-size: 0.76rem; color: var(--bk-muted); line-height: 1.55; }

.bk-pin { display: flex; justify-content: center; gap: 15px; margin: 26px 0 12px; }
.bk-pin span {
  width: 15px; height: 15px; border-radius: 50%;
  border: 1.5px solid rgba(126, 243, 200, 0.35);
  transition: background 0.22s, border-color 0.22s, transform 0.22s var(--bk-ease);
}
.bk-pin span.is-filled { background: var(--bk-mint); border-color: var(--bk-mint); transform: scale(1.12); box-shadow: 0 0 14px rgba(111, 243, 200, 0.45); }
.bk-pin__msg {
  min-height: 20px; text-align: center; font-family: var(--bk-mono);
  font-size: 0.64rem; letter-spacing: 0.06em; color: var(--bk-dim);
}
.bk-pin__msg strong { color: var(--bk-mint); font-weight: 500; }
.bk-pin__msg.is-error { color: var(--bk-danger); }
.bk-pin__msg.is-ok { color: var(--bk-mint); }

.bk-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 16px; }
.bk-keypad button {
  height: 54px; border-radius: 14px;
  border: 1px solid var(--bk-line-soft);
  background: rgba(255, 255, 255, 0.035);
  color: var(--bk-ink);
  font-family: var(--bk-mono); font-size: 1.1rem; font-weight: 500;
  transition: background 0.18s, border-color 0.18s, transform 0.12s;
}
.bk-keypad button:hover { background: rgba(111, 243, 200, 0.09); border-color: var(--bk-line); }
.bk-keypad button:active { transform: scale(0.95); background: rgba(111, 243, 200, 0.16); }
.bk-keypad button.is-pressed { background: rgba(111, 243, 200, 0.22); }
.bk-keypad__ghost { color: var(--bk-muted) !important; font-size: 0.9rem !important; }
.bk-textbtn {
  display: block; margin: 16px auto 0; padding: 8px 4px;
  background: none; border: 0; color: var(--bk-mint);
  font-size: 0.7rem; letter-spacing: 0.02em; text-decoration: underline;
  text-underline-offset: 4px; text-decoration-color: rgba(111, 243, 200, 0.35);
}
.bk-login__foot {
  margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--bk-line-soft);
  font-size: 0.6rem; line-height: 1.6; color: var(--bk-dim);
}
.bk-gate__copy {
  position: relative; z-index: 2; text-align: center;
  padding: 0 20px calc(22px + env(safe-area-inset-bottom));
  font-family: var(--bk-mono); font-size: 0.56rem; letter-spacing: 0.14em;
  color: #3d5c5f; text-transform: uppercase;
}

/* ------------------------------------------------------------
   APP SHELL
   ------------------------------------------------------------ */
.bk-app {
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s var(--bk-ease) 0.15s, visibility 0.9s;
  padding-bottom: 96px;
}
body.bk-entered .bk-app { opacity: 1; visibility: visible; }

.bk-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; background: rgba(255, 255, 255, 0.05); }
.bk-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--bk-mint-2), var(--bk-mint)); }

.bk-top {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: rgba(4, 22, 28, 0.78);
  border-bottom: 1px solid rgba(126, 243, 200, 0.08);
  backdrop-filter: blur(18px);
}
.bk-top__back {
  width: 34px; height: 34px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--bk-line-soft);
  color: var(--bk-muted); text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.bk-top__back:hover { color: var(--bk-mint); border-color: var(--bk-line); background: rgba(111, 243, 200, 0.06); }
.bk-top__back svg { width: 17px; }
.bk-logo {
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.05em;
  text-decoration: none; color: var(--bk-ink);
}
.bk-logo span { font-weight: 400; font-size: 0.58rem; letter-spacing: 0.22em; color: var(--bk-mint); margin-left: 5px; }
.bk-top__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.bk-status {
  display: none; align-items: center; gap: 5px;
  font-family: var(--bk-mono); font-size: 0.54rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: #a9c9c4;
}
.bk-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--bk-mint); box-shadow: 0 0 0 3px rgba(111, 243, 200, 0.13); }
.bk-top__avatar { width: 32px; height: 32px; border-radius: 50%; padding: 2px; border: 1px solid var(--bk-line); }
.bk-top__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.bk-eyebrow {
  font-family: var(--bk-mono); font-size: 0.6rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--bk-mint); font-weight: 500;
}
.bk-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 9px; border-radius: 999px;
  font-family: var(--bk-mono); font-size: 0.54rem; letter-spacing: 0.12em;
  text-transform: uppercase; white-space: nowrap;
}
.bk-chip--mint { background: rgba(111, 243, 200, 0.12); color: var(--bk-mint); border: 1px solid rgba(111, 243, 200, 0.22); }
.bk-chip--outline { border: 1px solid var(--bk-line); color: #a9c9c4; }

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.bk-hero {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 26px 16px 8px;
  display: grid;
  gap: 18px;
  overflow: hidden;
}
.bk-hero__glow {
  position: absolute; top: -80px; right: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(46, 211, 164, 0.13), transparent 65%);
  pointer-events: none; filter: blur(10px);
}
.bk-hero__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.bk-hero__greet {
  margin-top: 8px;
  font-size: clamp(1.5rem, 6.6vw, 2.3rem);
  line-height: 1.14; font-weight: 800; letter-spacing: -0.04em;
  max-width: 22ch;
}
.bk-hero__greet span { color: var(--bk-mint); }

/* Balance */
.bk-balance {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: 22px;
  border: 1px solid var(--bk-line);
  background:
    radial-gradient(110% 120% at 100% 0%, rgba(111, 243, 200, 0.14), transparent 52%),
    linear-gradient(155deg, #0b343a 0%, #07242b 55%, #051d23 100%);
  box-shadow: var(--bk-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.bk-balance::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bk-balance__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bk-balance__label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.68rem; letter-spacing: 0.06em; color: #b7d4d0;
}
.bk-eye {
  width: 24px; height: 24px; display: grid; place-items: center;
  background: none; border: 0; color: var(--bk-muted); border-radius: 6px;
}
.bk-eye svg { width: 15px; }
.bk-eye:hover { color: var(--bk-mint); }
.bk-balance__badge {
  font-family: var(--bk-mono); font-size: 0.52rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--bk-mint);
  padding: 4px 8px; border-radius: 999px; background: rgba(111, 243, 200, 0.09);
}
.bk-balance__amount {
  margin: 10px 0 2px;
  font-family: var(--bk-mono); font-weight: 500;
  font-size: clamp(2.7rem, 13vw, 3.8rem); line-height: 1;
  letter-spacing: -0.045em;
  display: flex; align-items: center; gap: 8px;
}
.bk-balance__amount span { font-size: 0.9rem; letter-spacing: 0.02em; color: var(--bk-muted); font-weight: 400; }
.bk-balance__amount.is-hidden { letter-spacing: 0.04em; }
.bk-balance__sub { font-size: 0.68rem; color: var(--bk-muted); }
.bk-up { color: var(--bk-mint); font-family: var(--bk-mono); font-size: 0.64rem; }
.bk-balance__bar { height: 3px; margin: 16px 0 18px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bk-balance__bar span { display: block; height: 100%; width: 78%; border-radius: 99px; background: linear-gradient(90deg, var(--bk-mint-deep), var(--bk-mint)); }

.bk-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bk-quick__item {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 10px 2px 4px; border: 0; border-radius: 12px;
  background: none; color: #cfe4e1; text-decoration: none;
  font-size: 0.62rem; letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s;
}
.bk-quick__item:hover { background: rgba(111, 243, 200, 0.07); color: var(--bk-mint); }
.bk-quick__icon {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.25s var(--bk-ease), background 0.2s;
}
.bk-quick__item:hover .bk-quick__icon { transform: translateY(-2px); background: rgba(111, 243, 200, 0.1); }
.bk-quick__icon svg { width: 17px; }

/* Debit card */
.bk-card-wrap { min-width: 0; }
.bk-card {
  display: block; width: 100%; max-width: 430px; margin: 0 auto;
  aspect-ratio: 1.586 / 1;
  padding: 0; border: 0; background: none;
  perspective: 1200px; text-align: left;
}
.bk-card__inner {
  position: relative; display: block; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.9s var(--bk-ease);
  border-radius: 18px;
}
.bk-card.is-flipped .bk-card__inner { transform: rotateY(180deg); }
.bk-card__face {
  position: absolute; inset: 0;
  border-radius: 18px; padding: 18px 20px;
  display: flex; flex-direction: column;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.bk-card__front {
  background:
    radial-gradient(120% 140% at 92% 0%, rgba(111, 243, 200, 0.55), transparent 45%),
    radial-gradient(100% 120% at 0% 100%, rgba(13, 122, 99, 0.65), transparent 60%),
    linear-gradient(135deg, #0d4b48 0%, #0a3438 45%, #07252b 100%);
  border: 1px solid rgba(126, 243, 200, 0.28);
  color: #eafff9;
}
.bk-card__sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.14) 45%, transparent 60%);
  transform: translateX(-30%);
}
.bk-card:hover .bk-card__sheen { animation: bkSheen 1.1s var(--bk-ease); }
@keyframes bkSheen { to { transform: translateX(35%); } }
.bk-card__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.bk-card__brand { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; }
.bk-card__brand span { font-weight: 400; font-size: 0.5rem; letter-spacing: 0.24em; margin-left: 4px; opacity: 0.75; }
.bk-card__type { font-family: var(--bk-mono); font-size: 0.46rem; letter-spacing: 0.16em; opacity: 0.7; text-align: right; }
.bk-card__chip { margin-top: 14px; width: 34px; color: rgba(234, 255, 249, 0.85); }
.bk-card__chip svg { width: 100%; }
.bk-card__number {
  margin-top: auto; margin-bottom: 12px;
  font-family: var(--bk-mono); font-size: clamp(0.86rem, 4vw, 1.05rem);
  letter-spacing: 0.1em; color: #f2fffb;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.bk-card__row--bottom { align-items: flex-end; }
.bk-card__row--bottom small {
  display: block; font-family: var(--bk-mono); font-size: 0.42rem;
  letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; margin-bottom: 3px;
}
.bk-card__row--bottom strong { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.09em; }
.bk-card__back {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, #0a3438, #061f26);
  border: 1px solid rgba(126, 243, 200, 0.2);
  color: #d9efeb;
  padding: 0;
  justify-content: flex-start;
}
.bk-card__stripe { display: block; height: 38px; margin-top: 18px; background: #021014; }
.bk-card__sig {
  margin: 16px 18px 0; padding: 9px 12px;
  background: rgba(255, 255, 255, 0.9); border-radius: 5px;
  display: flex; flex-direction: column; gap: 2px;
}
.bk-card__sig span { font-family: var(--bk-mono); font-size: 0.42rem; letter-spacing: 0.12em; text-transform: uppercase; color: #557; }
.bk-card__sig em { font-family: "Snell Roundhand", "Segoe Script", cursive; font-style: normal; color: #0b3438; font-size: 0.9rem; }
.bk-card__backrow {
  display: flex; justify-content: space-between; gap: 12px;
  margin: 12px 18px 0; font-family: var(--bk-mono);
  font-size: 0.48rem; letter-spacing: 0.1em; color: #9fc2bc;
}
.bk-card__backrow strong { color: var(--bk-mint); font-size: 0.6rem; }
.bk-card__backnote { margin: auto 18px 16px; font-size: 0.5rem; line-height: 1.5; color: #6f9692; max-width: 34ch; }
.bk-hint {
  margin-top: 9px; text-align: center;
  font-family: var(--bk-mono); font-size: 0.54rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--bk-dim);
}

/* ------------------------------------------------------------
   SECTIONS
   ------------------------------------------------------------ */
.bk-section { width: min(1120px, 100%); margin: 0 auto; padding: 34px 16px 6px; }
.bk-section[id], #top, .bk-closing { scroll-margin-top: 72px; }
.bk-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.bk-sechead h2 {
  margin-top: 6px;
  font-size: clamp(1.22rem, 5.2vw, 1.6rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.15;
}
.bk-sechead__count {
  font-family: var(--bk-mono); font-size: 0.54rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--bk-dim); text-align: right;
  flex: 0 0 auto; max-width: 42%;
}

/* Countdown */
.bk-due__card {
  position: relative;
  padding: 22px 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--bk-line);
  background: linear-gradient(160deg, rgba(10, 44, 51, 0.9), rgba(5, 26, 32, 0.96));
  box-shadow: var(--bk-shadow);
  overflow: hidden;
}
.bk-due__card::before {
  content: ""; position: absolute; right: -60px; top: -80px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(111, 243, 200, 0.13), transparent 65%);
}
.bk-due__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.bk-due__head h2 {
  margin-top: 8px; font-size: clamp(1.3rem, 5.4vw, 1.75rem);
  line-height: 1.12; letter-spacing: -0.04em; font-weight: 800;
}
.bk-due__tag {
  flex: 0 0 auto; font-family: var(--bk-mono); font-size: 0.58rem;
  letter-spacing: 0.1em; color: var(--bk-mint);
  padding: 6px 9px; border: 1px solid var(--bk-line); border-radius: 8px;
}
.bk-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 20px; }
.bk-countdown div {
  text-align: center; padding: 11px 2px 9px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 12px;
}
.bk-countdown strong {
  display: block; font-family: var(--bk-mono); font-weight: 500;
  font-size: clamp(1.25rem, 7vw, 1.85rem); line-height: 1; color: #f2fffb;
  font-variant-numeric: tabular-nums;
}
.bk-countdown span {
  display: block; margin-top: 6px; font-family: var(--bk-mono);
  font-size: 0.46rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bk-dim);
}
.bk-due__meter { height: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); margin-top: 18px; overflow: hidden; }
.bk-due__meter span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--bk-mint-deep), var(--bk-mint)); transition: width 1.4s var(--bk-ease); }
.bk-due__note { margin-top: 8px; font-family: var(--bk-mono); font-size: 0.54rem; color: var(--bk-dim); letter-spacing: 0.04em; }

/* Scheduled transfers */
.bk-transfers { display: grid; gap: 11px; }
.bk-transfer {
  position: relative;
  display: grid; grid-template-columns: 52px 1fr;
  gap: 13px; align-items: start;
  padding: 16px 15px;
  border-radius: 17px;
  border: 1px solid var(--bk-line-soft);
  background: linear-gradient(150deg, rgba(9, 38, 45, 0.92), rgba(6, 27, 33, 0.92));
  transition: border-color 0.25s, transform 0.3s var(--bk-ease), background 0.25s;
}
.bk-transfer:hover { border-color: var(--bk-line); transform: translateY(-2px); }
.bk-transfer__date {
  width: 52px; height: 56px; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(111, 243, 200, 0.08); border: 1px solid var(--bk-line);
  font-family: var(--bk-mono);
}
.bk-transfer__date strong { font-size: 1.15rem; font-weight: 500; line-height: 1; color: var(--bk-mint); }
.bk-transfer__date span { font-size: 0.48rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bk-muted); margin-top: 4px; }
.bk-transfer__body { min-width: 0; }
.bk-transfer__top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.bk-transfer__body h3 { font-size: 0.92rem; font-weight: 700; letter-spacing: -0.01em; }
.bk-transfer__status {
  flex: 0 0 auto; font-family: var(--bk-mono); font-size: 0.46rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--bk-mint);
  padding: 3px 7px; border-radius: 999px; background: rgba(111, 243, 200, 0.09);
}
.bk-transfer__time { margin-top: 3px; font-family: var(--bk-mono); font-size: 0.6rem; color: #b8d3cf; }
.bk-transfer__venue { margin-top: 6px; font-size: 0.74rem; color: var(--bk-ink); }
.bk-transfer__addr { margin-top: 2px; font-size: 0.66rem; line-height: 1.55; color: var(--bk-dim); }
.bk-transfer__actions { display: flex; gap: 8px; margin-top: 11px; flex-wrap: wrap; }
.bk-mini {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--bk-line-soft); background: rgba(255, 255, 255, 0.03);
  color: #c6ddda; font-size: 0.62rem; text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.bk-mini:hover { background: rgba(111, 243, 200, 0.09); border-color: var(--bk-line); color: var(--bk-mint); }
.bk-mini svg { width: 12px; }

/* Chart */
.bk-toggle { display: inline-flex; padding: 3px; border-radius: 9px; border: 1px solid var(--bk-line-soft); background: rgba(255, 255, 255, 0.03); }
.bk-toggle button {
  border: 0; background: none; color: var(--bk-dim);
  font-family: var(--bk-mono); font-size: 0.56rem; letter-spacing: 0.08em;
  padding: 5px 9px; border-radius: 6px; transition: background 0.2s, color 0.2s;
}
.bk-toggle button.is-on { background: rgba(111, 243, 200, 0.14); color: var(--bk-mint); }
.bk-chartcard {
  padding: 18px 16px 15px;
  border-radius: 20px;
  border: 1px solid var(--bk-line-soft);
  background: linear-gradient(160deg, rgba(9, 38, 45, 0.85), rgba(5, 25, 31, 0.92));
  box-shadow: var(--bk-shadow);
}
.bk-chartcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bk-chartcard__label { font-family: var(--bk-mono); font-size: 0.52rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bk-dim); }
.bk-chartcard__value { margin-top: 4px; font-family: var(--bk-mono); font-size: 1.5rem; font-weight: 500; color: var(--bk-mint); letter-spacing: -0.02em; }
.bk-chart { position: relative; height: 142px; margin-top: 18px; }
.bk-chart__grid { position: absolute; inset: 0 0 0 0; display: flex; flex-direction: column; justify-content: space-between; }
.bk-chart__grid i { display: block; height: 1px; background: rgba(255, 255, 255, 0.05); }
.bk-chart__bars {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; gap: 5px;
  padding: 0 2px;
}
.bk-bar {
  flex: 1 1 0; min-width: 0;
  height: var(--h, 20%);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, rgba(111, 243, 200, 0.55), rgba(46, 211, 164, 0.16));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.9s var(--bk-ease), background 0.25s;
  transition-delay: var(--d, 0ms);
  position: relative;
}
.bk-chart__bars.is-drawn .bk-bar { transform: scaleY(1); }
.bk-bar:hover { background: linear-gradient(180deg, var(--bk-mint), rgba(46, 211, 164, 0.3)); }
.bk-bar--peak { background: linear-gradient(180deg, var(--bk-mint), rgba(111, 243, 200, 0.25)); box-shadow: 0 0 18px rgba(111, 243, 200, 0.25); }
.bk-bar__tip {
  position: absolute; left: 50%; bottom: calc(100% + 5px); transform: translateX(-50%);
  font-family: var(--bk-mono); font-size: 0.46rem; color: var(--bk-mint);
  opacity: 0; transition: opacity 0.2s; white-space: nowrap; pointer-events: none;
}
.bk-bar:hover .bk-bar__tip { opacity: 1; }
.bk-chart__axis { display: flex; gap: 5px; padding: 7px 2px 0; }
.bk-chart__axis span {
  flex: 1 1 0; min-width: 0; text-align: center;
  font-family: var(--bk-mono); font-size: 0.44rem; letter-spacing: 0.02em;
  color: var(--bk-dim); text-transform: uppercase;
}
.bk-chart__axis span.is-peak { color: var(--bk-mint); }
.bk-chart__note { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--bk-line-soft); font-size: 0.64rem; line-height: 1.6; color: var(--bk-muted); }

/* Filters + transactions */
.bk-filters { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; padding-bottom: 2px; }
.bk-filters::-webkit-scrollbar { display: none; }
.bk-filters button {
  flex: 0 0 auto; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--bk-line-soft); background: rgba(255, 255, 255, 0.03);
  color: var(--bk-muted); font-size: 0.66rem; letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bk-filters button.is-on { background: rgba(111, 243, 200, 0.13); border-color: rgba(111, 243, 200, 0.28); color: var(--bk-mint); }
.bk-txcard {
  border-radius: 20px; border: 1px solid var(--bk-line-soft);
  background: linear-gradient(160deg, rgba(9, 38, 45, 0.82), rgba(5, 25, 31, 0.92));
  overflow: hidden;
}
.bk-tx { padding: 4px 15px; }
.bk-tx li {
  display: grid; grid-template-columns: 36px 1fr auto;
  gap: 11px; align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  animation: bkRowIn 0.35s var(--bk-ease) both;
}
.bk-tx li:last-child { border-bottom: 0; }
@keyframes bkRowIn { from { opacity: 0; transform: translateY(5px); } }
.bk-tx__icon {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(111, 243, 200, 0.08); border: 1px solid rgba(111, 243, 200, 0.1);
  color: var(--bk-mint);
}
.bk-tx__icon svg { width: 16px; }
.bk-tx__icon--wish { background: rgba(167, 139, 250, 0.1); border-color: rgba(167, 139, 250, 0.16); color: #b9a6ff; }
.bk-tx__icon--event { background: rgba(244, 201, 122, 0.09); border-color: rgba(244, 201, 122, 0.16); color: #f4c97a; }
.bk-tx__body { min-width: 0; display: block; }
.bk-tx__title { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-tx__sub { display: block; margin-top: 2px; font-size: 0.62rem; color: var(--bk-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-tx__right { text-align: right; flex: 0 0 auto; }
.bk-tx__amount { display: block; font-family: var(--bk-mono); font-size: 0.7rem; color: var(--bk-mint); }
.bk-tx__amount--muted { color: var(--bk-muted); }
.bk-tx__date { display: block; margin-top: 2px; font-family: var(--bk-mono); font-size: 0.48rem; color: var(--bk-dim); }
.bk-tx__empty { padding: 30px 15px; text-align: center; font-size: 0.72rem; color: var(--bk-dim); }
.bk-tx__foot {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 11px 15px; border-top: 1px solid var(--bk-line-soft);
  font-family: var(--bk-mono); font-size: 0.5rem; letter-spacing: 0.04em; color: var(--bk-dim);
}
.bk-tx__foot strong { color: var(--bk-muted); font-weight: 500; }
.bk-tx__secure { color: var(--bk-mint); opacity: 0.7; }

/* Story statement */
.bk-story { position: relative; padding-left: 22px; }
.bk-story::before {
  content: ""; position: absolute; left: 5px; top: 8px; bottom: 26px; width: 1px;
  background: linear-gradient(180deg, rgba(111, 243, 200, 0.5), rgba(111, 243, 200, 0.06));
}
.bk-story__item { position: relative; padding: 0 0 22px; }
.bk-story__item:last-child { padding-bottom: 4px; }
.bk-story__dot {
  position: absolute; left: -22px; top: 5px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--bk-bg);
  border: 2px solid var(--bk-mint); box-shadow: 0 0 0 4px rgba(111, 243, 200, 0.08);
}
.bk-story__item:last-child .bk-story__dot { background: var(--bk-mint); }
.bk-story__date {
  font-family: var(--bk-mono); font-size: 0.54rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--bk-mint);
}
.bk-story__item h3 { margin-top: 5px; font-size: 0.95rem; font-weight: 700; letter-spacing: -0.015em; }
.bk-story__item p { margin-top: 5px; font-size: 0.74rem; line-height: 1.7; color: var(--bk-muted); max-width: 62ch; }
.bk-story__meta {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--bk-mono); font-size: 0.5rem; letter-spacing: 0.06em; color: var(--bk-dim);
}
.bk-story__meta b { color: var(--bk-mint); font-weight: 500; }

/* Owners */
.bk-owners { display: grid; gap: 13px; }
.bk-owner {
  position: relative; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--bk-line-soft);
  background: linear-gradient(160deg, rgba(9, 38, 45, 0.85), rgba(5, 25, 31, 0.94));
  display: grid; grid-template-columns: 112px 1fr;
}
.bk-owner__photo { position: relative; min-height: 190px; }
.bk-owner__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.bk-owner__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 45%, rgba(5, 25, 31, 0.95) 100%);
}
.bk-owner__body { padding: 15px 15px 15px 4px; min-width: 0; }
.bk-owner__role { font-family: var(--bk-mono); font-size: 0.5rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bk-mint); }
.bk-owner__body h3 { margin-top: 4px; font-size: 1.1rem; font-weight: 800; letter-spacing: -0.03em; }
.bk-owner__acct { margin-top: 2px; font-family: var(--bk-mono); font-size: 0.54rem; color: var(--bk-dim); letter-spacing: 0.06em; }
.bk-owner__parents { margin-top: 10px; font-size: 0.64rem; line-height: 1.6; color: #a9c4c1; }
.bk-owner__bio { margin-top: 7px; font-size: 0.66rem; line-height: 1.6; color: var(--bk-muted); }
.bk-owner__ig {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 11px;
  font-family: var(--bk-mono); font-size: 0.56rem; color: var(--bk-mint); text-decoration: none;
  border-bottom: 1px solid rgba(111, 243, 200, 0.25); padding-bottom: 2px;
}
.bk-owner__ig svg { width: 11px; }

/* Gallery */
.bk-gallery {
  display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 2px 16px 12px; margin: 0 -16px;
  -webkit-overflow-scrolling: touch;
}
.bk-gallery::-webkit-scrollbar { display: none; }
.bk-gallery__item {
  flex: 0 0 auto; width: min(72vw, 270px);
  scroll-snap-align: start;
  text-decoration: none; color: inherit;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--bk-line-soft);
  background: #082229;
  transition: transform 0.35s var(--bk-ease), border-color 0.3s;
}
.bk-gallery__item:hover { transform: translateY(-4px); border-color: var(--bk-line); }
.bk-gallery__art { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.bk-gallery__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--bk-ease); }
.bk-gallery__item:hover .bk-gallery__art img { transform: scale(1.05); }
.bk-gallery__tag {
  position: absolute; left: 9px; top: 9px;
  font-family: var(--bk-mono); font-size: 0.46rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #eafff9;
  background: rgba(3, 20, 25, 0.6); backdrop-filter: blur(6px);
  padding: 3px 6px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.12);
}
.bk-gallery__body { padding: 10px 12px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bk-gallery__cap { font-size: 0.7rem; color: #d7e9e6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-gallery__num { font-family: var(--bk-mono); font-size: 0.5rem; color: var(--bk-dim); letter-spacing: 0.08em; flex: 0 0 auto; }

/* Location */
.bk-location {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--bk-line-soft);
  background: linear-gradient(160deg, rgba(9, 38, 45, 0.85), rgba(5, 25, 31, 0.94));
}
.bk-location__map { position: relative; height: 200px; background: #0a2c33; }
.bk-location__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.5) saturate(0.8) brightness(0.82) contrast(1.05); }
.bk-location__pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  width: 30px; color: var(--bk-mint); filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.bk-location__body { padding: 16px 15px 17px; }
.bk-location__body h3 { margin-top: 9px; font-size: 1.1rem; font-weight: 800; letter-spacing: -0.03em; }
.bk-location__body p { margin-top: 5px; font-size: 0.72rem; line-height: 1.6; color: var(--bk-muted); }
.bk-location__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.bk-copy__done { min-height: 18px; margin-top: 8px; font-family: var(--bk-mono); font-size: 0.54rem; color: var(--bk-mint); }

/* Buttons */
.bk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 15px; border-radius: 11px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--bk-ease), box-shadow 0.2s;
}
.bk-btn svg { width: 14px; }
.bk-btn:active { transform: scale(0.985); }
.bk-btn--mint { background: var(--bk-mint); color: #032019; }
.bk-btn--mint:hover { background: #8ffbd9; box-shadow: 0 12px 26px -12px rgba(111, 243, 200, 0.55); transform: translateY(-1px); }
.bk-btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--bk-line-soft); color: #cfe4e1; }
.bk-btn--ghost:hover { background: rgba(111, 243, 200, 0.08); border-color: var(--bk-line); color: var(--bk-mint); }
.bk-btn--full { width: 100%; }

/* RSVP */
.bk-rsvp { padding-bottom: 8px; }
.bk-rsvp__head { margin-bottom: 16px; }
.bk-rsvp__head h2 {
  margin-top: 6px; font-size: clamp(1.4rem, 6vw, 1.9rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.1;
}
.bk-rsvp__lead { margin-top: 9px; max-width: 54ch; font-size: 0.76rem; line-height: 1.7; color: var(--bk-muted); }
.bk-form__card {
  padding: 17px 15px 16px;
  border-radius: 20px; border: 1px solid var(--bk-line);
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(111, 243, 200, 0.08), transparent 55%),
    linear-gradient(160deg, rgba(10, 44, 51, 0.9), rgba(5, 25, 31, 0.95));
  box-shadow: var(--bk-shadow);
}
.bk-form__row { display: grid; gap: 11px; }
.bk-field { display: grid; gap: 6px; margin-bottom: 12px; border: 0; padding: 0; }
.bk-field > span, .bk-field legend {
  font-family: var(--bk-mono); font-size: 0.52rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #9dbfbb; padding: 0;
}
.bk-field input, .bk-field select, .bk-field textarea {
  width: 100%; padding: 11px 12px;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(2, 17, 22, 0.6);
  color: var(--bk-ink); font-size: 0.8rem; font-family: var(--bk-display);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.bk-field input::placeholder, .bk-field textarea::placeholder { color: #54767a; }
.bk-field input:focus, .bk-field select:focus, .bk-field textarea:focus {
  outline: 0; border-color: var(--bk-mint);
  box-shadow: 0 0 0 3px rgba(111, 243, 200, 0.13);
  background: rgba(2, 17, 22, 0.85);
}
.bk-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8eaeae 50%), linear-gradient(135deg, #8eaeae 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.bk-field--radio legend { margin-bottom: 7px; }
.bk-radio { display: flex; gap: 6px; flex-wrap: wrap; }
.bk-radio label { position: relative; flex: 1 1 auto; }
.bk-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-radio span {
  display: block; text-align: center; padding: 9px 8px;
  border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(2, 17, 22, 0.5); font-size: 0.68rem; color: var(--bk-muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.bk-radio input:checked + span { background: rgba(111, 243, 200, 0.14); border-color: rgba(111, 243, 200, 0.45); color: var(--bk-mint); }
.bk-radio input:focus-visible + span { outline: 2px solid var(--bk-mint); outline-offset: 2px; }
.bk-form__meta {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 0 13px; margin-bottom: 13px;
  border-top: 1px dashed rgba(126, 243, 200, 0.16);
  font-family: var(--bk-mono); font-size: 0.54rem; color: var(--bk-dim);
}
.bk-form__meta strong { color: #cfe4e1; font-weight: 500; text-align: right; }
.bk-form__note { margin-top: 9px; text-align: center; font-family: var(--bk-mono); font-size: 0.52rem; color: var(--bk-dim); }
.bk-form__done { margin-top: 10px; padding: 10px 12px; border-radius: 9px; background: rgba(111, 243, 200, 0.1); color: var(--bk-mint); font-size: 0.68rem; line-height: 1.55; }

/* Closing */
.bk-closing {
  position: relative;
  margin-top: 40px;
  padding: 50px 16px 0;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(46, 211, 164, 0.1), transparent 60%),
    #03141a;
  border-top: 1px solid var(--bk-line-soft);
  overflow: hidden;
}
.bk-closing__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.bk-closing h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 9vw, 3rem); line-height: 1.02;
  font-weight: 800; letter-spacing: -0.045em;
}
.bk-closing h2 em { font-style: normal; color: var(--bk-mint); }
.bk-closing blockquote {
  margin: 20px auto 16px; max-width: 38ch;
  font-size: 0.88rem; line-height: 1.75; color: #cfe4e1;
  font-style: italic;
}
.bk-closing__msg { max-width: 46ch; margin: 0 auto; font-size: 0.72rem; line-height: 1.75; color: var(--bk-muted); }
.bk-closing__signs {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 28px 0 22px; padding: 18px 0;
  border-top: 1px solid var(--bk-line-soft); border-bottom: 1px solid var(--bk-line-soft);
}
.bk-closing__signs div { flex: 1 1 0; min-width: 0; }
.bk-closing__signs span {
  display: block; font-size: clamp(1.05rem, 4.6vw, 1.35rem);
  font-weight: 700; letter-spacing: -0.02em;
  font-family: "Snell Roundhand", "Segoe Script", "Plus Jakarta Sans", cursive;
}
.bk-closing__signs small { display: block; margin-top: 4px; font-family: var(--bk-mono); font-size: 0.48rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bk-dim); }
.bk-closing__amp { flex: 0 0 auto !important; font-size: 1.1rem !important; color: var(--bk-mint) !important; font-family: var(--bk-mono) !important; }
.bk-closing__hash {
  display: inline-block; margin-bottom: 10px;
  font-family: var(--bk-mono); font-size: 0.72rem; letter-spacing: 0.18em; color: var(--bk-mint);
}
.bk-closing__thanks { margin-bottom: 20px; font-size: 0.66rem; color: var(--bk-dim); }

.bk-footer {
  margin-top: 44px; padding: 24px 0 calc(30px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  text-align: center;
  font-family: var(--bk-mono); font-size: 0.54rem; letter-spacing: 0.06em; color: #3f5f62;
}
.bk-footer__brand { font-family: var(--bk-display); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; color: #587d7d; }
.bk-footer__brand span { font-weight: 400; font-size: 0.5rem; letter-spacing: 0.2em; color: #3f5f62; margin-left: 4px; }
.bk-footer a { color: #6f9692; text-decoration: none; border-bottom: 1px solid rgba(111, 243, 200, 0.18); padding-bottom: 1px; }
.bk-footer a:hover { color: var(--bk-mint); }

/* Bottom nav */
.bk-tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  background: rgba(4, 22, 28, 0.9);
  border-top: 1px solid rgba(126, 243, 200, 0.1);
  backdrop-filter: blur(20px);
}
.bk-tabs a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 5px 2px; border-radius: 9px;
  color: #64888a; text-decoration: none;
  font-size: 0.54rem; letter-spacing: 0.01em;
  transition: color 0.2s, background 0.2s;
}
.bk-tabs a svg { width: 19px; }
.bk-tabs a.is-active { color: var(--bk-mint); background: rgba(111, 243, 200, 0.07); }

/* Transfer modal */
.bk-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 18px; }
.bk-modal[hidden] { display: none; }
.bk-modal__backdrop { position: absolute; inset: 0; background: rgba(1, 12, 16, 0.82); backdrop-filter: blur(7px); }
.bk-modal__card {
  position: relative; z-index: 2;
  width: min(440px, 100%); max-height: 88svh; overflow-y: auto;
  padding: 22px 19px 20px;
  border-radius: 22px; border: 1px solid var(--bk-line);
  background: linear-gradient(165deg, #0a2c33, #04171d);
  box-shadow: 0 40px 100px -30px #000;
  animation: bkModalIn 0.45s var(--bk-ease);
}
@keyframes bkModalIn { from { opacity: 0; transform: translateY(20px) scale(0.97); } }
.bk-modal__close {
  position: absolute; top: 10px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--bk-line-soft); background: rgba(255, 255, 255, 0.04);
  color: var(--bk-muted); font-size: 1.2rem; line-height: 1;
}
.bk-modal__close:hover { color: var(--bk-ink); }
.bk-modal h2 { margin-top: 7px; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.035em; }
.bk-modal__sub { margin-top: 6px; font-size: 0.72rem; line-height: 1.6; color: var(--bk-muted); }
.bk-review { margin: 18px 0 16px; border-top: 1px solid var(--bk-line-soft); }
.bk-review > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.bk-review dt { font-family: var(--bk-mono); font-size: 0.54rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bk-dim); flex: 0 0 auto; }
.bk-review dd { margin: 0; font-size: 0.74rem; text-align: right; color: #d9eeeb; line-height: 1.5; overflow-wrap: anywhere; }
.bk-review__total dd { font-family: var(--bk-mono); color: var(--bk-mint); font-size: 0.82rem; }
.bk-modal__actions { display: grid; gap: 8px; }
.bk-modal__fine { margin-top: 12px; text-align: center; font-family: var(--bk-mono); font-size: 0.48rem; line-height: 1.6; letter-spacing: 0.03em; color: var(--bk-dim); }

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (min-width: 560px) {
  .bk-gate__shell { padding-left: 28px; padding-right: 28px; }
  .bk-hero { padding-left: 22px; padding-right: 22px; }
  .bk-section { padding-left: 22px; padding-right: 22px; }
  .bk-gallery { padding-left: 22px; padding-right: 22px; margin-left: -22px; margin-right: -22px; }
  .bk-status { display: inline-flex; }
  .bk-owner { grid-template-columns: 150px 1fr; }
  .bk-owner__photo { min-height: 210px; }
  .bk-form__row--split { grid-template-columns: 1.35fr 0.85fr; }
  .bk-transfers { grid-template-columns: 1fr 1fr; }
  .bk-owner__body { padding: 18px; }
}

@media (max-width: 819px) {
  .bk-gate__shell {
    gap: 20px;
    padding-top: calc(18px + env(safe-area-inset-top));
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }
  .bk-gate__eyebrow { margin-top: 22px; }
  .bk-gate__title { font-size: clamp(2.1rem, 9vw, 2.7rem); margin: 8px 0 12px; }
  .bk-gate__lead, .bk-gate__perks, .bk-gate__couple { display: none; }
  .bk-login { padding: 18px 16px 20px; }
  .bk-login__top { margin-bottom: 16px; }
  .bk-pin { margin: 20px 0 10px; }
  .bk-keypad { margin-top: 12px; gap: 8px; }
  .bk-keypad button { height: 50px; }
  .bk-textbtn { margin-top: 12px; }
  .bk-login__foot { margin-top: 14px; padding-top: 11px; }
}

@media (min-width: 820px) {
  .bk-gate__shell {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    padding: 40px;
  }
  .bk-gate__brand { max-width: 480px; }
  .bk-login { padding: 28px 26px 28px; max-width: 420px; }
  .bk-keypad button { height: 58px; }
  .bk-gate__copy { position: absolute; bottom: 0; left: 0; right: 0; }

  .bk-app { padding-bottom: 40px; }
  .bk-top { padding-left: 28px; padding-right: 28px; }
  .bk-hero {
    grid-template-columns: 1.18fr 0.82fr;
    grid-template-areas: "head head" "balance card";
    gap: 20px 24px;
    padding-top: 34px;
    align-items: start;
  }
  .bk-hero__head { grid-area: head; }
  .bk-balance { grid-area: balance; }
  .bk-card-wrap { grid-area: card; align-self: center; }
  .bk-card { max-width: none; }
  .bk-section { padding-top: 48px; }
  .bk-gallery { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 12px; }
  .bk-gallery__item { width: auto; }
  .bk-location { display: grid; grid-template-columns: 1.05fr 0.95fr; }
  .bk-location__map { height: 100%; min-height: 300px; }
  .bk-location__body { padding: 22px 22px 24px; }
  .bk-story { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; padding-left: 26px; }
  .bk-story::before { bottom: 10px; }
  .bk-owners { grid-template-columns: 1fr 1fr; }
  .bk-owner { grid-template-columns: 132px 1fr; }
  .bk-rsvp { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 30px; align-items: start; }
  .bk-rsvp__head { position: sticky; top: 90px; margin-bottom: 0; }
  .bk-form__card { padding: 22px 20px 20px; }
  .bk-tabs {
    left: 50%; right: auto; transform: translateX(-50%);
    bottom: 16px; width: min(520px, calc(100% - 40px));
    border: 1px solid var(--bk-line);
    border-radius: 16px;
    padding: 6px;
    box-shadow: 0 18px 40px -20px #000;
  }
  .bk-tabs a { flex-direction: row; gap: 7px; justify-content: center; padding: 9px 4px; font-size: 0.6rem; }
  .bk-tabs a svg { width: 16px; }
  .bk-closing { padding-top: 64px; }
}

@media (min-width: 1100px) {
  .bk-hero { grid-template-columns: 1.22fr 0.78fr; }
  .bk-card { max-width: 430px; margin-left: auto; }
  .bk-gallery { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 379px) {
  .bk-card__face { padding: 14px 15px; }
  .bk-card__chip { width: 28px; margin-top: 10px; }
  .bk-card__number { font-size: 0.78rem; letter-spacing: 0.07em; }
  .bk-countdown strong { font-size: 1.15rem; }
  .bk-owner { grid-template-columns: 96px 1fr; }
  .bk-tx li { grid-template-columns: 32px 1fr auto; gap: 8px; }
  .bk-tx__icon { width: 32px; height: 32px; }
  .bk-quick__item { font-size: 0.56rem; }
  .bk-quick__icon { width: 34px; height: 34px; }
}

/* ------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .bk-gate, .bk-app, .bk-card__inner, .bk-bar, .bk-due__meter span { transition-duration: 0.001ms !important; }
  .bk-card:hover .bk-card__sheen { animation: none; }
  .bk-login.is-error { animation: none; }
  .bk-bar { transform: none !important; }
  .bk-tx li { animation: none; }
}
