@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap');
/* =====================================================================
   Confinea DESIGN SYSTEM
   A "verified financial instrument" visual language: treasury navy,
   struck gold, and warm document paper. Every numeral on the site
   (prices, stats, reference codes, step counters, pagination) sets in
   the ledger mono face; every card carries a registration corner mark,
   like a stamped, serial-numbered certificate. Dark "vault" surfaces
   (header, footer, dark panels) share a faint engine-turned hairline
   texture, the way a banknote or bond certificate is engraved.
   ===================================================================== */
:root {
  /* -- ink (navy) -- */
  --ink:        #0d2240;   /* primary brand navy — header bg, headings */
  --ink-2:      #16263b;   /* panel navy — dark cards, seals */
  --ink-3:      #0a1f3d;   /* deepest navy — footer, ribbon */
  --ink-soft:   #213a59;   /* lifted navy, gradients/fallbacks */

  /* -- gold (signature accent) -- */
  --gold:       #c9a052;   /* primary struck-gold accent */
  --gold-deep:  #9a7a36;   /* ink-gold, hover/active states */
  --gold-pale:  #d8c08c;   /* pale gold text on dark surfaces */
  --gold-faint: #f1e4bf;   /* brightest gold, hover text on navy */

  /* -- paper (warm neutrals) -- */
  --paper:      #faf6ea;   /* warm section backgrounds */
  --paper-line: #e7dcc0;   /* hairline borders on paper */
  --paper-line-soft: #eee8d6;
  --card:       #fffdf6;   /* input / card surface */

  /* -- text -- */
  --text:       #312e26;   /* body ink, warm charcoal (not pure black) */
  --text-soft:  #6b6453;
  --text-faint: #9a916f;

  /* -- status -- */
  --success:    #2e7d4d;
  --danger:     #b23434;

  /* -- structure -- */
  --radius-lg:  10px;
  --radius-sm:  7px;
  --shadow-sm:  0 2px 10px rgba(13,34,64,0.06);
  --shadow-md:  0 8px 22px rgba(13,34,64,0.12);

  /* -- type -- */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* -- signature engraved texture, used only on vault-navy surfaces -- */
  --texture-engrave:
    repeating-linear-gradient(45deg, rgba(201,160,82,0.05) 0px, rgba(201,160,82,0.05) 1px, transparent 1px, transparent 9px),
    repeating-linear-gradient(-45deg, rgba(201,160,82,0.05) 0px, rgba(201,160,82,0.05) 1px, transparent 1px, transparent 9px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html, body { min-height: 100%; height: auto; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

/* -- accessibility floor: visible keyboard focus, honor reduced motion -- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
  border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- ANNOUNCEMENT RIBBON ---------- */
.ribbon {
  background: #0a1f3d;
  color: #d8c08c;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 7px 16px;
}
.ribbon strong { color: #f1e4bf; font-weight: 600; }

/* ---------- HEADER ---------- */
.site-header {
  background: #0e2a4d;
  color: #ffffff;
  padding: 0 32px;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(216,192,140,0.25);
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.3px;
}
.logo span { line-height: 1.15; }
.logo small {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d8c08c;
  margin-top: 2px;
}
.logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  border: 2px solid rgba(216,192,140,0.6);
}
.nav-main {
  display: flex;
  gap: 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-item {
  cursor: pointer;
  padding: 6px 10px;
  margin: -6px -10px;
  border-radius: 3px;
  transition: color 0.15s ease, background 0.15s ease;
  text-transform: uppercase;
  font-size: 12px;
}
a.nav-item { color: inherit; text-decoration: none; display: inline-block; }
.nav-item:hover { color: #f1e4bf; background: rgba(216,192,140,0.12); }
.nav-sub-row {
  display: flex;
  gap: 26px;
  padding: 10px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.75);
}
.nav-sub { cursor: pointer; transition: color 0.15s ease; }
a.nav-sub { color: inherit; text-decoration: none; display: inline-block; }
.nav-sub:hover { color: #f1e4bf; }

/* ---------- HERO (light, on-brand with rest of site) ---------- */
.hero-banner {
  position: relative;
  background: #ffffff;
  flex: 1;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ece4cd;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 32px 60px;
  text-align: center;
}

.seal-mark {
  width: 85px;
  height: 85px;
  margin: 0 auto 22px;
  border: 5px solid #d3a85c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.05s;
}
.seal-mark img { width: 85px; height: 85px; }

.hero-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9a7d34;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.12s;
}

.hero-banner h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 1.28;
  letter-spacing: 0.2px;
  color: #0e2a4d;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.22s;
}
.hero-banner h1 em {
  font-style: italic;
  color: #9a7d34;
}

.gold-rule {
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a85e, transparent);
  margin: 26px auto 26px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.3s;
}

.hero-banner p.lede {
  font-size: 16px;
  line-height: 1.75;
  color: #555;
  max-width: 600px;
  margin: 0 auto 44px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.38s;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-bottom: 46px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.46s;
}
.stat { text-align: center; min-width: 100px; }
.stat-value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: #0e2a4d;
  display: block;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a8b66;
  margin-top: 4px;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.54s;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: #0e2a4d;
  color: #ffffff;
  border-color: #0e2a4d;
}
.btn-primary:hover {
  background: #163a66;
  box-shadow: 0 6px 18px rgba(14,42,77,0.25);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #0e2a4d;
  border-color: #c9a85e;
}
.btn-secondary:hover {
  background: rgba(201,168,94,0.08);
  border-color: #9a7d34;
  transform: translateY(-1px);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- QUICK LINKS (formal card row, like official site tiles) ---------- */
.quick-links {
  background: #fcf9ec;
  padding: 0;
}
.quick-links-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.qlink {
  padding: 36px 30px;
  border-right: 1px solid #ece4cd;
  text-align: center;
}
.qlink:last-child { border-right: none; }
.qlink i {
  font-size: 22px;
  color: #9a7d34;
  margin-bottom: 12px;
  display: block;
}
.qlink h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: #0e2a4d;
  margin-bottom: 6px;
}
.qlink p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0a1f3d;
  color: #ffffff;
  padding: 32px;
  border-top: 1px solid rgba(216,192,140,0.3);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  font-size: 13px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid rgba(255,255,255,0.15);
}
.footer-col-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  margin-bottom: 10px;
  color: #d8c08c;
}
.footer-col-body { color: rgba(255,255,255,0.7); line-height: 1.7; }
.footer-link { cursor: pointer; transition: color 0.15s ease; }
a.footer-link { color: inherit; text-decoration: none; display: inline-block; } 
.footer-link:hover { color: #ffffff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.footer-icons { display: flex; gap: 16px; }
.footer-icons i { font-size: 15px; transition: opacity 0.15s ease; cursor: pointer; color: #d8c08c; }
.footer-icons i:hover { opacity: 0.7; }

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-main, .nav-sub-row { display: none; }
  .hero-banner h1 { font-size: 28px; }
  .stats-row { gap: 28px; }
  .hero-inner { padding: 56px 24px 64px; }
  .quick-links-inner { grid-template-columns: 1fr; }
  .qlink { border-right: none; border-bottom: 1px solid #ece4cd; }
  .qlink:last-child { border-bottom: none; }
}


/* ---------- CONTACT PAGE STYLES ---------- */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 32px;
}

.contact-shell {
  width: 100%;
  max-width: 980px;
  min-height: 560px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #ece5cd;
  box-shadow: 0 2px 10px rgba(28,53,82,0.05);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}

.contact-aside {
  background: #16263b;
  color: #f4ead2;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.aside-seal {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #16263b;
  border: 2px solid #d3a85c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.5px;
  margin-bottom: 36px;
  overflow: hidden;
  flex-shrink: 0;
}

.aside-seal img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}
.aside-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #d3a85c;
  margin-bottom: 10px;
}
.aside-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 14px;
}
.aside-text {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(244,234,210,0.75);
  max-width: 320px;
  margin-bottom: 30px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-info-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(211,168,92,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d3a85c;
  font-size: 14px;
}
.contact-info-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(244,234,210,0.55);
  margin-bottom: 2px;
}
.contact-info-value {
  font-size: 13.5px;
  color: #f4ead2;
  line-height: 1.5;
}

.aside-social {
  display: flex;
  gap: 14px;
  border-top: 1px solid rgba(244,234,210,0.18);
  padding-top: 22px;
  margin-top: 28px;
}
.aside-social i {
  font-size: 15px;
  color: rgba(244,234,210,0.7);
  cursor: pointer;
  transition: color 0.15s ease;
}
.aside-social i:hover { color: #d3a85c; }

.contact-form-panel {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #a9772f;
  margin-bottom: 8px;
}
.form-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  color: #16263b;
  margin-bottom: 6px;
}
.form-sub {
  font-size: 13px;
  color: #6b6453;
  margin-bottom: 28px;
}

.field-row {
  display: flex;
  gap: 14px;
}
.field-row .field-group {
  flex: 1;
}

.field-group {
  margin-bottom: 16px;
}
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #16263b;
  margin-bottom: 6px;
}
.field-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e3dcc4;
  border-radius: 7px;
  padding: 10px 12px;
  background: #fffdf6;
  transition: border-color 0.15s ease;
}
.field-input-wrap:focus-within { border-color: #a9772f; }
.field-input-wrap i { font-size: 14px; color: #9a916f; flex-shrink: 0; }
.field-input-wrap input,
.field-input-wrap select {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #1a1a1a;
  font-family: inherit;
  min-width: 0;
}
.field-input-wrap input::placeholder { color: #aaa394; }

.field-textarea-wrap {
  border: 1px solid #e3dcc4;
  border-radius: 7px;
  padding: 10px 12px;
  background: #fffdf6;
  transition: border-color 0.15s ease;
}
.field-textarea-wrap:focus-within { border-color: #a9772f; }
.field-textarea-wrap textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #1a1a1a;
  font-family: inherit;
  resize: vertical;
  min-height: 90px;
}
.field-textarea-wrap textarea::placeholder { color: #aaa394; }

.contact-btn {
  width: 100%;
  background: #16263b;
  color: #f4ead2;
  border: none;
  border-radius: 7px;
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: inherit;
  margin-top: 6px;
}
.contact-btn:hover { background: #0f1c2c; }

.secure-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #9a916f;
  justify-content: center;
  margin-top: 18px;
}
.secure-note i { font-size: 13px; color: #a9772f; }

/* ---------- OFFERS PAGE STYLES ---------- */
.content-column { width: 100%; max-width: 1100px; }

.intro-block { text-align: center; margin: 0 auto 36px; max-width: 620px; }
.intro-block h1 {
  font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500;
  line-height: 1.3; margin-bottom: 10px; color: #16263b;
}
.intro-block p { font-size: 14px; color: #6b6453; }

.section-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 22px; flex-wrap: wrap;
}
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 1.6px;
  text-transform: uppercase; color: #a9772f;
}
.eyebrow-sub { font-size: 12px; color: #9a916f; margin-top: 3px; }

.search-bar {
  display: flex; align-items: center; gap: 8px; width: 100%; max-width: 190px;
  background: #ffffff; border: 1px solid #e3dcc4; border-radius: 20px; padding: 8px 14px;
}
.search-bar i { font-size: 13px; color: #9a916f; flex-shrink: 0; }
.search-bar input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 13px; color: #1a1a1a; font-family: inherit; min-width: 0;
}
.search-bar input::placeholder { color: #aaa394; }

.filter-select {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 180px;
  background: #ffffff;
  border: 1px solid #e3dcc4;
  border-radius: 20px;
  padding: 8px 12px;
}
.filter-select i {
  font-size: 13px;
  color: #9a916f;
  flex-shrink: 0;
}
.filter-select select {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
.filter-select:focus-within {
  border-color: #a9772f;
}


.rate-toggle {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e3dcc4;
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}
.rate-toggle button {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 16px;
  cursor: pointer;
  color: #9a916f;
  transition: background 0.15s ease, color 0.15s ease;
}
.rate-toggle button.active {
  background: #16263b;
  color: #f4ead2;
}

.returns-search-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.offer-card {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #ece5cd;
  box-shadow: 0 2px 10px rgba(28,53,82,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.offer-card:hover {
  box-shadow: 0 8px 22px rgba(28,53,82,0.1);
  transform: translateY(-2px);
}

.offer-image-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}
.offer-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.offer-image-fallback {
  width: 100%;
  height: 160px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #16263b, #213a59);
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-image-fallback .fallback-seal {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #d3a85c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d3a85c;
  font-size: 22px;
}

.offer-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.offer-location {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #a9772f;
  margin-bottom: 6px;
}
.offer-title {
  font-size: 16px;
  font-weight: 600;
  color: #16263b;
  margin-bottom: 8px;
  line-height: 1.35;
}
.offer-desc {
  font-size: 12.5px;
  color: #5c5644;
  line-height: 1.5;
  margin-bottom: 16px;
}

.guarantee-block {
  margin-bottom: 16px;
}
.guarantee-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #9a916f;
  margin-bottom: 6px;
}
.guarantee-split-bar {
  display: flex;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}
.split-gslcb { width: 50%; background: #16263b; }
.split-bank { width: 50%; background: #d3a85c; }
.guarantee-names {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #5c5644;
}
.guarantee-names .bank-half {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: #16263b;
}
.guarantee-names .gslcb-half {
  color: #6b6453;
}

.offer-terms {
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
}
.terms-block { flex: 1; min-width: 0; }
.terms-ticket { border-right: 1px solid #eee8d6; padding-right: 18px; }
.terms-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #9a916f;
  margin-bottom: 6px;
}
.terms-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 600;
  color: #16263b;
  line-height: 1.25;
  word-break: break-word;
}
.terms-risk-text {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.risk-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold, #c9a052);
  flex-shrink: 0;
}
.terms-risk.risk-low .risk-dot { background: #7c9473; }
.terms-risk.risk-medium .risk-dot { background: var(--gold, #c9a052); }
.terms-risk.risk-high .risk-dot { background: #b0523c; }
.risk-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #16263b;
  line-height: 1.3;
}

.offer-stats {
  display: flex;
  gap: 18px;
  border-top: 1px solid #eee8d6;
  padding-top: 14px;
  margin-top: auto;
  margin-bottom: 16px;
}
.stat-block { flex: 1; }
.stat-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
  color: #16263b;
  line-height: 1.1;
}
.stat-value.accent { color: #a9772f; }
.stat-label {
  font-size: 10.5px;
  color: #9a916f;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 3px;
}

.offer-btn {
  width: 100%;
  background: #16263b;
  color: #f4ead2;
  border: none;
  border-radius: 7px;
  padding: 11px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: inherit;
}
.offer-btn:hover { background: #0f1c2c; }

/* ---------- PARTNERS PAGE STYLES ---------- */
.registry-panel {
  border-radius: 10px;
  border: 1px solid #ece5cd;
  box-shadow: 0 2px 10px rgba(28,53,82,0.05);
  overflow: hidden;
}

.bank-list {
  display: flex;
  flex-direction: column;
}
.bank-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid #eee8d6;
  transition: background 0.15s ease;
}
.bank-row:last-child {
  border-bottom: none;
}
.bank-row:hover {
  background: #fbf7ea;
}
.bank-seal {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #16263b;
  border: 2px solid #d3a85c;
  color: #f4ead2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.bank-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.bank-name {
  font-size: 15px;
  font-weight: 600;
  color: #16263b;
}
.bank-desc {
  font-size: 13px;
  color: #5c5644;
  line-height: 1.45;
}
.bank-signed {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #a9772f;
}


/* ---------- PAGINATION ---------- */
.pagination {
  display: flex; align-items: baseline; justify-content: center;
  gap: 18px; margin-top: 40px;
}
.pager-num {
  font-family: Georgia, "Times New Roman", serif; background: none; border: none;
  cursor: pointer; color: #b9b09a; font-size: 18px; font-weight: 600;
  padding: 4px 2px; transition: color 0.15s ease, font-size 0.15s ease;
}
.pager-num:hover { color: #a9772f; }
.pager-num.active { color: #16263b; font-size: 32px; cursor: default; }
.pager-arrow {
  background: none; border: none; cursor: pointer; color: #1a1a1a;
  font-size: 16px; opacity: 0.7; padding: 4px 2px; transition: opacity 0.15s ease;
}
.pager-arrow:hover { opacity: 1; }
.pager-arrow[disabled] { opacity: 0.2; cursor: default; }

/* ---------- RESPONSIVE OVERRIDES ---------- */
@media (max-width: 900px) {
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .contact-shell { grid-template-columns: 1fr; min-height: auto; }
  .contact-form-panel { padding: 40px 28px; }
  .field-row { flex-direction: column; gap: 0; }
  .signin-shell { grid-template-columns: 1fr; min-height: auto; }
  .signin-aside { display: none; }
  .signin-form-panel { padding: 40px 28px; }
}
@media (max-width: 640px) {
  .section-row { flex-direction: column; align-items: flex-start; }
  .returns-search-group { width: 100%; flex-wrap: wrap; }
  .filter-select,
  .search-bar { max-width: 100%; }
  .offers-grid { grid-template-columns: 1fr; }
}

/* ---------- ABOUT PAGE STYLES ---------- */
.nav-sub.active {
  color: #f1e4bf;
}

.about-hero {
  min-height: auto;
}

.about-hero-inner {
  max-width: 960px;
  padding-bottom: 70px;
}

.about-section {
  padding: 70px 32px;
  background: #ffffff;
}

.about-intro-section {
  border-bottom: 1px solid #ece4cd;
}

.about-shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 42px;
  align-items: center;
}

.about-copy h2,
.about-section-title,
.risk-copy h2,
.about-final-inner h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.28;
  color: #0e2a4d;
  margin-top: 8px;
  margin-bottom: 18px;
}

.about-copy p,
.risk-copy p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #5c5644;
  margin-bottom: 14px;
}

.about-highlight-card {
  background: #fcf9ec;
  border: 1px solid #ece4cd;
  border-radius: 10px;
  padding: 34px;
  box-shadow: 0 2px 10px rgba(28,53,82,0.05);
}

.about-highlight-card i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(211,168,92,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a9772f;
  font-size: 22px;
  margin-bottom: 18px;
}

.about-highlight-card h3,
.process-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: #16263b;
  margin-bottom: 10px;
}

.about-highlight-card p,
.process-card p,
.about-section-sub {
  font-size: 13.5px;
  color: #6b6453;
  line-height: 1.65;
}

.about-pillars {
  border-bottom: 1px solid #ece4cd;
}

.about-pillar-grid .qlink {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-section-row {
  align-items: flex-end;
  margin-bottom: 28px;
}

.about-section-sub {
  max-width: 340px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-card {
  background: #ffffff;
  border: 1px solid #ece5cd;
  border-radius: 10px;
  padding: 26px 22px;
  box-shadow: 0 2px 10px rgba(28,53,82,0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.process-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(28,53,82,0.1);
}

.process-number {
  display: inline-block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  color: #d3a85c;
  margin-bottom: 22px;
}

.about-dark-section {
  background: #0a1f3d;
  color: #ffffff;
}

.risk-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.risk-copy h2 {
  color: #f4ead2;
}

.risk-copy p {
  color: rgba(244,234,210,0.72);
}

.risk-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.risk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(244,234,210,0.16);
  background: rgba(255,255,255,0.04);
  color: #f4ead2;
  font-size: 14px;
}

.risk-item i {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(211,168,92,0.14);
  color: #d3a85c;
  font-size: 15px;
}

.risk-item.muted {
  color: rgba(244,234,210,0.68);
}

.about-crossborder-section {
  background: #fcf9ec;
}

.transborder-card {
  background: #ffffff;
  border: 1px solid #ece4cd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(28,53,82,0.05);
}

.transborder-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid #eee8d6;
  font-size: 13.5px;
  color: #6b6453;
}

.transborder-row:last-child {
  border-bottom: none;
}

.transborder-row strong {
  color: #16263b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-final-cta {
  padding: 76px 32px;
  background: #ffffff;
  text-align: center;
  border-top: 1px solid #ece4cd;
}

.about-final-inner {
  max-width: 760px;
  margin: 0 auto;
}

.about-final-inner h2 {
  margin-bottom: 26px;
}

@media (max-width: 900px) {
  .two-column,
  .risk-shell {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reverse-mobile .transborder-card {
    order: 2;
  }
}

/* ---------- CREATE OFFER PAGE STYLES ---------- */
.offer-form-hero-inner {
  max-width: 760px;
  padding: 48px 32px 52px;
}
.offer-form-hero-inner .lede {
  margin-bottom: 0;
}

.offer-form-section {
  background: #fcf9ec;
  padding: 56px 32px 72px;
}
.offer-form-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 28px;
  align-items: start;
}

.offer-form-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
}

.side-panel {
  background: #ffffff;
  border: 1px solid #ece4cd;
  border-radius: 10px;
  padding: 30px 26px;
  box-shadow: 0 2px 10px rgba(28,53,82,0.05);
}
.side-panel-dark {
  background: #16263b;
  color: #f4ead2;
  border: none;
}
.side-panel-dark h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}
.side-panel-dark p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(244,234,210,0.75);
  margin-bottom: 22px;
}
.side-panel .eyebrow,
.side-panel .aside-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #a9772f;
  margin-bottom: 14px;
}
.side-panel-dark .eyebrow,
.side-panel-dark .aside-eyebrow {
  color: #d3a85c;
}

.side-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.side-checklist div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(244,234,210,0.9);
}
.side-checklist i {
  color: #d3a85c;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.finance-check-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #6b6453;
  padding: 10px 0;
  border-bottom: 1px solid #eee8d6;
}
.finance-check-row:last-of-type { border-bottom: none; }
.finance-check-row strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  color: #16263b;
}
.finance-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 7px;
  font-size: 12.5px;
  line-height: 1.5;
  background: #f4f1e4;
  color: #6b6453;
  border: 1px solid #ece4cd;
}
.finance-status.success {
  background: rgba(46,125,77,0.08);
  border-color: rgba(46,125,77,0.25);
  color: #2e7d4d;
}
.finance-status.error {
  background: rgba(178,52,52,0.08);
  border-color: rgba(178,52,52,0.25);
  color: #b23434;
}

.bb-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-card {
  background: #ffffff;
  border: 1px solid #ece4cd;
  border-radius: 10px;
  padding: 32px 34px;
  box-shadow: 0 2px 10px rgba(28,53,82,0.05);
}
.form-card legend {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: #16263b;
  margin-bottom: 6px;
}
.form-card legend span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #16263b;
  color: #d3a85c;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
}
.form-card-sub {
  font-size: 13.5px;
  color: #6b6453;
  line-height: 1.6;
  margin-bottom: 22px;
  padding-left: 42px;
}

.form-grid {
  display: grid;
  gap: 18px 20px;
}
.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid .field-group {
  margin-bottom: 0;
}
.field-group.full {
  grid-column: 1 / -1;
}

.file-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px dashed #d8c89a;
  border-radius: 7px;
  padding: 14px 16px;
  background: #fffdf6;
  cursor: pointer;
  font-size: 14px;
  color: #6b6453;
  transition: border-color 0.15s ease, background 0.15s ease;
  position: relative;
}
.file-input-wrap:hover {
  border-color: #a9772f;
  background: #fcf6e8;
}
.file-input-wrap i {
  font-size: 16px;
  color: #a9772f;
  flex-shrink: 0;
}
.file-input-wrap input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

/* ---------- PROJECT PHOTOS (optional cover + gallery upload) ---------- */
.photo-main-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 200px;
  border: 1.5px dashed #d8c89a;
  border-radius: 10px;
  background: #fffdf6;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.photo-main-wrap:hover {
  border-color: #a9772f;
  background: #fcf6e8;
}
.photo-main-wrap input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.photo-main-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 36px 24px;
  color: #6b6453;
}
.photo-main-placeholder i {
  font-size: 26px;
  color: #a9772f;
  margin-bottom: 4px;
}
.photo-main-placeholder span {
  font-size: 14px;
  font-weight: 600;
  color: #16263b;
}
.photo-main-placeholder small {
  font-size: 12px;
  color: #9a916f;
}
.photo-main-preview {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.photo-main-preview[hidden] {
  display: none;
}
.photo-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(13,34,64,0.78);
  color: #f4ead2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s ease;
}
.photo-remove-btn[hidden] {
  display: none;
}
.photo-remove-btn:hover {
  background: #b23434;
}
.photo-remove-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  fill: none;
  pointer-events: none;
}
.photo-thumb .photo-remove-btn svg {
  width: 11px;
  height: 11px;
}
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.photo-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ece4cd;
  background: #fffdf6;
}
.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-thumb .photo-remove-btn {
  width: 22px;
  height: 22px;
  top: 6px;
  right: 6px;
  font-size: 11px;
}

.notice-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fcf9ec;
  border: 1px solid #ece4cd;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 8px 0 22px;
}
.notice-box i {
  font-size: 16px;
  color: #a9772f;
  margin-top: 1px;
  flex-shrink: 0;
}
.notice-box p {
  font-size: 12.5px;
  line-height: 1.6;
  color: #6b6453;
}

.confirm-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: #5c5644;
  cursor: pointer;
  margin-top: 14px;
}
.confirm-line input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #16263b;
  cursor: pointer;
}

.form-actions-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #ffffff;
  border: 1px solid #ece4cd;
  border-radius: 10px;
  padding: 26px 32px;
  box-shadow: 0 2px 10px rgba(28,53,82,0.05);
  flex-wrap: wrap;
}
.form-actions-card strong {
  display: block;
  font-size: 15px;
  color: #16263b;
  margin-bottom: 4px;
}
.form-actions-card p {
  font-size: 13px;
  color: #6b6453;
  line-height: 1.5;
  max-width: 420px;
}
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.form-actions .btn {
  padding: 13px 24px;
}

.submit-message {
  font-size: 13.5px;
  line-height: 1.6;
  text-align: center;
}
.submit-message.success {
  color: #2e7d4d;
  background: rgba(46,125,77,0.08);
  border: 1px solid rgba(46,125,77,0.25);
  border-radius: 8px;
  padding: 14px 18px;
}
.submit-message.error {
  color: #b23434;
  background: rgba(178,52,52,0.08);
  border: 1px solid rgba(178,52,52,0.25);
  border-radius: 8px;
  padding: 14px 18px;
}

@media (max-width: 980px) {
  .offer-form-shell { grid-template-columns: 1fr; }
  .offer-form-aside { position: static; }
}
@media (max-width: 640px) {
  .offer-form-section { padding: 40px 20px 56px; }
  .form-card { padding: 26px 22px; }
  .form-card-sub { padding-left: 0; }
  .form-grid.two { grid-template-columns: 1fr; }
  .form-actions-card { flex-direction: column; align-items: flex-start; }
  .form-actions { width: 100%; }
  .form-actions .btn { flex: 1; justify-content: center; }
}

/* ---------- EMAIL VERIFICATION BUBBLE (modal) ---------- */
.verify-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 34, 64, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1200;
  animation: verifyFadeIn 0.2s ease forwards;
}
.verify-modal-overlay[hidden] { display: none; }

@keyframes verifyFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.verify-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--card, #fffdf6);
  border: 1px solid var(--paper-line, #e7dcc0);
  border-radius: var(--radius-lg, 10px);
  box-shadow: var(--shadow-md, 0 8px 22px rgba(13,34,64,0.12));
  padding: 38px 32px 32px;
  text-align: center;
  animation: verifyPopIn 0.25s cubic-bezier(.2,.7,.2,1) forwards;
}

@keyframes verifyPopIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.verify-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-soft, #6b6453);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.verify-modal-close:hover {
  background: rgba(13,34,64,0.06);
  color: var(--ink, #0d2240);
}

.verify-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ink, #0d2240);
  color: var(--gold, #c9a052);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.verify-spinner {
  width: 48px;
  height: 48px;
  margin: 4px auto 18px;
  border: 4px solid var(--paper-line, #e7dcc0);
  border-top-color: var(--gold-deep, #9a7a36);
  border-radius: 50%;
  animation: verifySpin 0.8s linear infinite;
}
.verify-spinner[hidden] { display: none; }

@keyframes verifySpin {
  to { transform: rotate(360deg); }
}

.verify-modal h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-2, #16263b);
  margin-bottom: 10px;
}

.verify-sub {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-soft, #6b6453);
  margin-bottom: 22px;
}
.verify-sub strong { color: var(--ink-2, #16263b); }

.verify-code-row {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.verify-code-input {
  width: 100%;
  max-width: 220px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5em;
  padding: 12px 14px;
  border: 1.5px solid var(--paper-line, #e7dcc0);
  border-radius: var(--radius-sm, 7px);
  background: #ffffff;
  color: var(--ink, #0d2240);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.verify-code-input:focus {
  outline: none;
  border-color: var(--gold-deep, #9a7a36);
  box-shadow: 0 0 0 3px rgba(201,160,82,0.18);
}
.verify-code-input::placeholder {
  letter-spacing: 0.5em;
  color: #d8c89a;
}

.verify-status {
  min-height: 18px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-soft, #6b6453);
  margin-bottom: 18px;
}
.verify-status.info { color: var(--gold-deep, #9a7a36); }
.verify-status.error { color: var(--danger, #b23434); }

.verify-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.verify-actions .btn { padding: 12px 20px; }
.verify-actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.verify-step-success .verify-modal,
.verify-step-success { text-align: center; }

.verify-check-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--success, #2e7d4d);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  animation: verifyCheckPop 0.4s cubic-bezier(.2,.8,.3,1.2) forwards;
}

@keyframes verifyCheckPop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

#verifyDoneBtn { margin-top: 4px; }

@media (prefers-reduced-motion: reduce) {
  .verify-modal-overlay,
  .verify-modal,
  .verify-check-circle {
    animation: none;
  }
}


@media (max-width: 640px) {
  .about-section {
    padding: 50px 24px;
  }

  .about-copy h2,
  .about-section-title,
  .risk-copy h2,
  .about-final-inner h2 {
    font-size: 24px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .transborder-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =====================================================================
   SIGNATURE LAYER — "the verified instrument"
   Three coherent moves, applied site-wide without touching markup:
   1. Engine-turned hairline texture on every vault-navy surface.
   2. A struck-gold registration corner mark on every card/panel —
      every listing, every form section, every panel reads as a
      verified, serial-numbered document.
   3. One typographic rule: every numeral on the site — prices, stats,
      reference codes, step counters, pagination — sets in the ledger
      mono face. Words stay serif/sans; numbers always read as data.
   ===================================================================== */

/* -- 1. engraved vault texture -- */
.site-header,
.site-footer,
.ribbon,
.side-panel-dark,
.contact-aside,
.about-dark-section {
  background-image: var(--texture-engrave);
}

/* -- 2. registration corner marks -- */
.form-card,
.offer-card,
.side-panel,
.contact-shell,
.signin-shell,
.registry-panel,
.about-highlight-card,
.process-card,
.transborder-card {
  position: relative;
}
.form-card::before, .form-card::after,
.offer-card::before, .offer-card::after,
.side-panel::before, .side-panel::after,
.contact-shell::before, .contact-shell::after,
.signin-shell::before, .signin-shell::after,
.registry-panel::before, .registry-panel::after,
.about-highlight-card::before, .about-highlight-card::after,
.process-card::before, .process-card::after,
.transborder-card::before, .transborder-card::after {
  content: '';
  position: absolute;
  width: 13px;
  height: 13px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}
.form-card::before, .offer-card::before, .side-panel::before,
.contact-shell::before, .signin-shell::before, .registry-panel::before,
.about-highlight-card::before, .process-card::before, .transborder-card::before {
  top: 9px; left: 9px;
  border-top: 1.5px solid var(--gold);
  border-left: 1.5px solid var(--gold);
}
.form-card::after, .offer-card::after, .side-panel::after,
.contact-shell::after, .signin-shell::after, .registry-panel::after,
.about-highlight-card::after, .process-card::after, .transborder-card::after {
  bottom: 9px; right: 9px;
  border-bottom: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
}

/* -- 3. ledger mono numerals, site-wide -- */
.stat-value,
.finance-check-row strong,
.pager-num,
.process-number,
.form-card legend span,
#projectRef {
  font-family: var(--font-mono);
}
.stats-row .stat-value {
  font-size: 36px;
  letter-spacing: 0.01em;
}
.stats-row .stat-label {
  margin-top: 7px;
}

/* -- double hairline under section headings, banknote-style -- */
.gold-rule {
  position: relative;
}
.gold-rule::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 5px;
  transform: translateX(-50%);
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.55;
}

/* -- active navigation states (previously unstyled) -- */
.nav-item.active {
  color: var(--gold-faint);
  background: rgba(201,160,82,0.14);
  box-shadow: inset 0 -2px 0 var(--gold);
}
.nav-sub.active {
  position: relative;
}
.nav-sub.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
}

/* -- refined button surfaces -- */
.btn-primary {
  background: linear-gradient(180deg, var(--ink-soft) 0%, var(--ink) 100%);
  border-color: var(--ink);
  color: #fff;
}
.btn-secondary {
  border-color: var(--gold);
  color: var(--ink);
}

/* -- offer photography: quiet hover lift -- */
.offer-image-wrap img {
  transition: transform 0.45s ease;
}
.offer-card:hover .offer-image-wrap img {
  transform: scale(1.045);
}

/* =====================================================================
   HOMEPAGE EXPANSION — trust strip + reusable mid-page sections
   Built from components that already exist elsewhere on the site
   (bank-seal, process-card, offer-card) so the homepage reads as part
   of the same system rather than a one-off landing page.
   ===================================================================== */
.home-trust-strip {
  padding: 28px 32px 32px;
  border-bottom: 1px solid var(--paper-line);
}
.trust-eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 22px;
}
.trust-track {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.trust-item .bank-seal {
  width: 44px;
  height: 44px;
  font-size: 11px;
}
.trust-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-soft);
  text-align: center;
  max-width: 96px;
  line-height: 1.3;
}

.home-section {
  padding: 76px 32px;
  background: #ffffff;
}
.home-section.alt {
  background: var(--paper);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}
.home-shell {
  max-width: 1100px;
  margin: 0 auto;
}
.home-shell .section-row {
  margin-bottom: 30px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: none;
  white-space: nowrap;
}
.section-link i { font-size: 12px; transition: transform 0.15s ease; }
.section-link:hover { color: var(--ink); }
.section-link:hover i { transform: translateX(3px); }

.offer-btn {
  display: block;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 760px) {
  .home-shell .section-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 640px) {
  .home-section { padding: 52px 22px; }
  .trust-track { gap: 26px 22px; }
}


/* =====================================================================
   ✦ PREMIUM UPGRADE LAYER — "the engraved bond, brought to life"
   Appended after the base system so every rule here wins by order.
   No markup changes: all 14 upgrades are pure CSS and apply site-wide
   (offers, partners, contact, about, create-offer, home).

   01  Guilloché watermark behind the hero (bond-certificate engraving)
   02  Animated struck-gold foil on the hero's key phrase
   03  Layered, light-aware elevation + spring hover for every card
   04  Registration corner-marks that "focus" the frame on hover
   05  Embossed wax-seal treatment on every circular seal
   06  Guarantee split-bar that draws itself in on scroll
   07  Gold trust-stamp + cinematic scrim on offer photography
   08  Sticky header that gains depth as you scroll (CSS scroll timeline)
   09  Ledger-tape scroll-progress strip across the top
   10  Scroll-reveal rise for cards, rows and tiles (CSS view timeline)
   11  Light-sweep sheen across every primary action button
   12  Fluid, balanced, optically-tuned typography
   13  Focus-glow + lift on form fields; custom select caret
   14  Animated underlines + accents on links, nav, bank rows, quick-links
   ===================================================================== */

/* smooth in-page scrolling (reduced-motion is honored by the base reset) */
html { scroll-behavior: smooth; }
:root { --ring-gold: rgba(201,160,82,0.22); }

/* ---- 01 · GUILLOCHÉ HERO WATERMARK ------------------------------- */
.hero-banner { overflow: hidden; }
.hero-banner::before {
  content: "";
  position: absolute;
  inset: -10% -5%;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-radial-gradient(circle at 50% 40%, rgba(201,160,82,0.07) 0 1px, transparent 1px 8px),
    repeating-radial-gradient(circle at 50% 40%, rgba(13,34,64,0.04) 0 1px, transparent 1px 15px),
    conic-gradient(from 0deg at 50% 40%, rgba(201,160,82,0.05), transparent 22%, rgba(201,160,82,0.05) 50%, transparent 72%, rgba(201,160,82,0.05));
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, rgba(0,0,0,0.6) 38%, transparent 64%);
          mask-image: radial-gradient(circle at 50% 40%, #000 0%, rgba(0,0,0,0.6) 38%, transparent 64%);
}
.hero-inner { position: relative; z-index: 1; }

/* ---- 02 · ANIMATED GOLD FOIL ------------------------------------- */
.hero-banner h1 em {
  background: linear-gradient(100deg,
    #9a7d34 0%, #c9a052 20%, #f1e4bf 42%, #c9a052 62%, #9a7d34 82%, #c9a052 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: bb-foil 7s linear infinite;
}
@keyframes bb-foil { to { background-position: 220% center; } }

.process-number {
  background: linear-gradient(180deg, #d8c08c, #9a7a36);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- 03 · ELEVATION SYSTEM + SPRING HOVER ------------------------ */
.offer-card, .process-card, .about-highlight-card, .transborder-card,
.side-panel, .form-card, .registry-panel, .contact-shell {
  transition:
    transform .38s cubic-bezier(.2,.7,.2,1),
    box-shadow .38s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.offer-card:hover, .process-card:hover, .about-highlight-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 2px rgba(10,31,61,.05),
    0 18px 38px -12px rgba(10,31,61,.28),
    0 0 0 1px var(--ring-gold);
}

/* ---- 04 · CORNER MARKS THAT FOCUS THE FRAME --------------------- */
.form-card::before, .form-card::after,
.offer-card::before, .offer-card::after,
.side-panel::before, .side-panel::after,
.about-highlight-card::before, .about-highlight-card::after,
.process-card::before, .process-card::after,
.transborder-card::before, .transborder-card::after,
.registry-panel::before, .registry-panel::after,
.contact-shell::before, .contact-shell::after {
  transition: width .3s ease, height .3s ease, opacity .3s ease;
}
.offer-card:hover::before, .offer-card:hover::after,
.process-card:hover::before, .process-card:hover::after,
.about-highlight-card:hover::before, .about-highlight-card:hover::after {
  width: 20px; height: 20px; opacity: 1;
}

/* ---- 05 · EMBOSSED WAX-SEAL TREATMENT --------------------------- */
.aside-seal, .bank-seal, .fallback-seal, .seal-mark,
.offer-image-fallback .fallback-seal, .contact-info-icon {
  background-image: radial-gradient(circle at 32% 26%, rgba(241,228,191,0.30), transparent 58%);
  box-shadow:
    inset 0 1px 1px rgba(241,228,191,0.30),
    inset 0 -3px 5px rgba(0,0,0,0.32),
    0 3px 9px rgba(10,31,61,0.22);
}
.bank-seal { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.bank-row:hover .bank-seal { transform: scale(1.06) rotate(-2deg); }

/* ---- 06 · GUARANTEE SPLIT-BAR DRAW-IN --------------------------- */
.guarantee-split-bar {
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(13,34,64,0.06);
}
.guarantee-split-bar::after {
  content: "";
  position: absolute;
  top: -2px; bottom: -2px;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  background: var(--gold-faint, #f1e4bf);
  opacity: .85;
}
.split-bank {
  background-image: linear-gradient(90deg, var(--gold-deep, #9a7a36), var(--gold, #c9a052));
}

/* ---- 07 · OFFER PHOTOGRAPHY: STAMP + SCRIM ---------------------- */
.offer-image-wrap { position: relative; }
.offer-image-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(13,34,64,.22) 0%, transparent 28%,
    transparent 68%, rgba(13,34,64,.30) 100%);
  pointer-events: none;
  z-index: 1;
}
.offer-image-wrap::before {

  color: var(--ink, #0d2240);
  background: linear-gradient(180deg, #f3e7c2, #c9a052);
  padding: 4px 9px;
  border-radius: 2px;
  box-shadow: 0 2px 7px rgba(10,31,61,.32), inset 0 1px 0 rgba(255,255,255,.4);
}

/* ---- 08 · STICKY HEADER WITH SCROLL DEPTH ----------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
}
@supports (animation-timeline: scroll()) {
  .site-header {
    animation: bb-header-depth linear both;
    animation-timeline: scroll(root);
    animation-range: 0 130px;
  }
  @keyframes bb-header-depth {
    to { box-shadow: 0 12px 30px rgba(8,24,48,.38); }
  }
}

/* ---- 09 · LEDGER-TAPE SCROLL PROGRESS --------------------------- */
@supports (animation-timeline: scroll()) {
  body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    height: 3px; width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--gold-deep, #9a7a36), var(--gold, #c9a052), var(--gold-faint, #f1e4bf));
    box-shadow: 0 0 8px rgba(201,160,82,.5);
    z-index: 1000;
    animation: bb-progress linear both;
    animation-timeline: scroll(root);
  }
  @keyframes bb-progress { to { transform: scaleX(1); } }
}

/* ---- 10 · SCROLL-REVEAL RISE (cards / rows / tiles) ------------- */
@supports (animation-timeline: view()) {
  .offer-card, .process-card, .bank-row, .qlink,
  .about-highlight-card, .transborder-row, .risk-item, .form-card {
    animation: bb-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 42%;
  }
  /* translate (not transform) so hover-lift stays independent */
  @keyframes bb-rise {
    from { opacity: 0; translate: 0 26px; }
    to   { opacity: 1; translate: 0 0; }
  }
  .guarantee-split-bar {
    transform: scaleX(0);
    transform-origin: left center;
    animation: bb-grow .9s cubic-bezier(.2,.7,.2,1) both;
    animation-timeline: view();
    animation-range: entry 6% cover 26%;
  }
  @keyframes bb-grow { to { transform: scaleX(1); } }
}

/* ---- 11 · LIGHT-SWEEP SHEEN ON ACTIONS -------------------------- */
.btn, .offer-btn, .contact-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::after, .offer-btn::after, .contact-btn::after {
  content: "";
  position: absolute;
  top: 0; left: -140%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg);
  transition: left .65s cubic-bezier(.2,.7,.2,1);
  z-index: 1;
  pointer-events: none;
}
.btn:hover::after, .offer-btn:hover::after, .contact-btn:hover::after { left: 140%; }
.btn-secondary::after { background: linear-gradient(100deg, transparent, rgba(201,160,82,.28), transparent); }

/* ---- 12 · FLUID, BALANCED TYPOGRAPHY ---------------------------- */
.hero-banner h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.hero-banner p.lede { text-wrap: pretty; }
.intro-block h1, .about-copy h2, .about-section-title,
.risk-copy h2, .about-final-inner h2, .qlink h3, .offer-title {
  text-wrap: balance;
}
.stats-row .stat-value,
.finance-check-row strong,
.pager-num, .process-number, #projectRef,
.offer-stats .stat-value, .bank-signed {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.bank-signed { font-family: var(--font-mono); letter-spacing: .01em; }

/* ---- 13 · FORM FIELD GLOW + SELECT CARET ------------------------ */
.field-input-wrap, .field-textarea-wrap {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.field-input-wrap:focus-within, .field-textarea-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(201,160,82,.18);
  transform: translateY(-1px);
}
.field-input-wrap select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding-right: 22px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-soft, #6b6453) 50%),
    linear-gradient(135deg, var(--text-soft, #6b6453) 50%, transparent 50%);
  background-position: right 8px center, right 3px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.search-bar { transition: border-color .2s ease, box-shadow .2s ease; }
.search-bar:focus-within {
  border-color: var(--gold-deep, #9a7a36);
  box-shadow: 0 0 0 3px rgba(201,160,82,.16);
}

/* ---- 14 · ANIMATED LINKS / NAV / ROWS / TILES ------------------- */
a.footer-link { position: relative; }
a.footer-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 1px; width: 0;
  background: var(--gold, #c9a052);
  transition: width .25s ease;
}
a.footer-link:hover::after { width: 100%; }

a.nav-sub { position: relative; }
a.nav-sub::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -5px;
  height: 2px;
  background: var(--gold, #c9a052);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
a.nav-sub:hover::after { transform: scaleX(1); }

.bank-row { position: relative; overflow: hidden; }
.bank-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(180deg, var(--gold, #c9a052), var(--gold-deep, #9a7a36));
  transition: width .2s ease;
}
.bank-row:hover::before { width: 3px; }

.qlink { transition: background .25s ease; }
.qlink:hover { background: #fff7e6; }
.qlink i { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.qlink:hover i { transform: translateY(-3px) scale(1.08); }

.section-link i { transition: transform .2s ease; }

/* hero CTA buttons: a touch more presence */
.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(14,42,77,.30), inset 0 1px 0 rgba(255,255,255,.12);
}

/* ---- REDUCED-MOTION: keep every reveal calm and fully visible ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-banner h1 em { animation: none; }
  @supports (animation-timeline: view()) {
    .offer-card, .process-card, .bank-row, .qlink,
    .about-highlight-card, .transborder-row, .risk-item, .form-card {
      animation: none; opacity: 1; translate: none;
    }
    .guarantee-split-bar { animation: none; transform: none; }
  }
  @supports (animation-timeline: scroll()) {
    body::before { animation: none; transform: scaleX(0); }
    .site-header { animation: none; }
  }
  .btn::after, .offer-btn::after, .contact-btn::after { display: none; }
}


/* =====================================================================
   CINEMATIC LAYER — index.html only (scoped to body.cinema)
   A film-title treatment of the "verified instrument" language:
   the homepage opens like a vault. Letterbox bars retract, gold
   light rakes across an engraved navy hero, the headline rises out
   of masked lines like a title card, and every section downstream
   reveals on scroll with staggered, directed motion.
   ===================================================================== */

body.cinema { background: #071729; }

/* ---- 1 · LETTERBOX INTRO -------------------------------------------- */
body.cinema::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  background:
    linear-gradient(180deg, #050e1c 0 50%, transparent 50%) top / 100% 100% no-repeat,
    linear-gradient(0deg,   #050e1c 0 50%, transparent 50%) bottom / 100% 100% no-repeat;
  animation: bb-letterbox 1.5s cubic-bezier(.76,0,.24,1) .15s forwards;
}
@keyframes bb-letterbox {
  0%   { clip-path: inset(0 0 0 0); opacity: 1; }
  99%  { clip-path: inset(-1px 0); opacity: 1; }
  100% { clip-path: inset(50% 0); opacity: 0; visibility: hidden; }
}
/* the bars themselves part like curtains */
@supports (clip-path: inset(0)) {
  body.cinema::after {
    background: #050e1c;
    animation: bb-curtain 1.5s cubic-bezier(.76,0,.24,1) .15s forwards;
  }
  @keyframes bb-curtain {
    from { clip-path: inset(0 0 0 0); }
    to   { clip-path: inset(50% 0 50% 0); visibility: hidden; }
  }
}

/* ---- 2 · THE VAULT HERO --------------------------------------------- */
.hero-banner.cinema {
  position: relative;
  min-height: calc(100svh - 118px);
  background:
    radial-gradient(1100px 640px at 50% -12%, #1c3d68 0%, transparent 62%),
    radial-gradient(900px 600px at 82% 110%, rgba(201,160,82,0.14) 0%, transparent 55%),
    linear-gradient(180deg, #0e2a4d 0%, #0a1f3d 58%, #071729 100%);
  border-bottom: 1px solid rgba(201,160,82,0.28);
  overflow: hidden;
  isolation: isolate;
}
.hero-banner.cinema::before {
  /* engraved guilloché over the whole vault, slowly breathing */
  content: "";
  position: absolute;
  inset: -2%;
  background: var(--texture-engrave);
  opacity: .8;
  animation: bb-engrave-breathe 9s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes bb-engrave-breathe {
  from { opacity: .45; transform: scale(1); }
  to   { opacity: .95; transform: scale(1.015); }
}

/* atmosphere container injected in the HTML */
.hero-atmos { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* raking light beams, like light through a vault door */
.hero-beam {
  position: absolute;
  top: -30%;
  width: 22vw;
  min-width: 220px;
  height: 160%;
  background: linear-gradient(180deg,
    rgba(241,228,191,0.16) 0%,
    rgba(201,160,82,0.07) 45%,
    transparent 100%);
  filter: blur(18px);
  transform: rotate(16deg);
  mix-blend-mode: screen;
  opacity: 0;
  animation: bb-beam 12s ease-in-out infinite;
}
.hero-beam:nth-child(1) { left: 6%;  animation-delay: .6s; }
.hero-beam:nth-child(2) { left: 38%; width: 14vw; animation-delay: 4.2s; animation-duration: 15s; }
.hero-beam:nth-child(3) { left: 70%; animation-delay: 8s;  animation-duration: 13s; }
@keyframes bb-beam {
  0%, 100% { opacity: 0;   transform: rotate(16deg) translateX(-4vw); }
  50%      { opacity: .85; transform: rotate(16deg) translateX(4vw); }
}

/* drifting gold dust (motes are generated by JS) */
.mote {
  position: absolute;
  bottom: -3vh;
  left: var(--x, 50%);
  width: var(--s, 3px);
  height: var(--s, 3px);
  border-radius: 50%;
  background: radial-gradient(circle, #f1e4bf 0%, rgba(201,160,82,.65) 55%, transparent 75%);
  box-shadow: 0 0 6px rgba(201,160,82,.55);
  opacity: 0;
  animation: bb-mote var(--dur, 14s) linear var(--delay, 0s) infinite;
}
@keyframes bb-mote {
  0%   { transform: translate3d(0, 0, 0);            opacity: 0; }
  8%   { opacity: var(--o, .7); }
  80%  { opacity: var(--o, .7); }
  100% { transform: translate3d(var(--dx, 3vw), -108vh, 0); opacity: 0; }
}

/* pointer spotlight — the frame follows the viewer */
.hero-spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 560px at var(--mx, 50%) var(--my, 38%),
    rgba(241,228,191,0.10), rgba(201,160,82,0.04) 40%, transparent 68%);
  transition: background .18s ease-out;
}

/* huge rotating seal ring watermark behind the headline */
.hero-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: min(78vw, 860px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px dashed rgba(201,160,82,0.28);
  outline: 1px solid rgba(201,160,82,0.10);
  outline-offset: 26px;
  animation: bb-ring-spin 90s linear infinite;
}
.hero-ring::before {
  content: "";
  position: absolute;
  inset: 46px;
  border-radius: 50%;
  border: 1px solid rgba(201,160,82,0.14);
  background:
    repeating-conic-gradient(from 0deg,
      rgba(201,160,82,0.10) 0deg 1.4deg, transparent 1.4deg 6deg);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%);
          mask: radial-gradient(circle, transparent 62%, #000 63%);
}
@keyframes bb-ring-spin { to { rotate: 360deg; } }

/* faint filmic grain over the hero */
.hero-grain {
  position: absolute;
  inset: -50%;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1.4px);
  background-size: 3px 3px;
  opacity: .5;
  animation: bb-grain 0.9s steps(3) infinite;
}
@keyframes bb-grain {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-6px, 4px); }
  66%  { transform: translate(5px, -7px); }
  100% { transform: translate(0, 0); }
}

/* hero content sits above the atmosphere and parallaxes on scroll */
.hero-banner.cinema .hero-inner {
  z-index: 2;
  padding: 92px 32px 96px;
  will-change: transform;
}
@supports (animation-timeline: scroll()) {
  .hero-banner.cinema .hero-inner {
    animation: bb-hero-parallax linear both;
    animation-timeline: scroll(root);
    animation-range: 0 90vh;
  }
  @keyframes bb-hero-parallax {
    to { transform: translateY(11vh); opacity: .18; }
  }
  .hero-banner.cinema .hero-atmos {
    animation: bb-atmos-parallax linear both;
    animation-timeline: scroll(root);
    animation-range: 0 90vh;
  }
  @keyframes bb-atmos-parallax { to { transform: translateY(4vh); } }
}

/* ---- 3 · TITLE-CARD TYPOGRAPHY -------------------------------------- */
.hero-banner.cinema .hero-eyebrow {
  color: var(--gold-pale);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  letter-spacing: .55em;
  opacity: 0;
  animation: bb-track-in 1.6s cubic-bezier(.19,1,.22,1) 1.15s forwards;
}
.hero-banner.cinema .hero-eyebrow::before,
.hero-banner.cinema .hero-eyebrow::after {
  content: "";
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: bb-rule-grow 1.2s ease 1.7s forwards;
}
@keyframes bb-track-in {
  from { opacity: 0; letter-spacing: .55em; filter: blur(4px); }
  to   { opacity: 1; letter-spacing: .24em; filter: blur(0); }
}
@keyframes bb-rule-grow { to { width: 54px; } }

.hero-banner.cinema h1 {
  color: #f7f1de;
  margin-bottom: 14px;
  animation: none;      /* replace old fadeUp with masked line reveal */
  opacity: 1;
  text-shadow: 0 2px 30px rgba(5,14,28,.55);
}
.hero-banner.cinema h1 .hl {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
.hero-banner.cinema h1 .hl-inner {
  display: block;
  transform: translateY(118%) rotate(1.4deg);
  animation: bb-line-up 1.15s cubic-bezier(.19,1,.22,1) forwards;
}
.hero-banner.cinema h1 .hl:nth-child(1) .hl-inner { animation-delay: 1.35s; }
.hero-banner.cinema h1 .hl:nth-child(2) .hl-inner { animation-delay: 1.55s; }
@keyframes bb-line-up {
  to { transform: translateY(0) rotate(0deg); }
}
.hero-banner.cinema h1 em {
  font-style: italic;
  background: linear-gradient(100deg,
    #9a7a36 0%, #c9a052 22%, #f7e7b5 40%, #c9a052 58%, #9a7a36 80%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: bb-gold-shimmer 6.5s ease-in-out 2.6s infinite;
}
@keyframes bb-gold-shimmer {
  0%, 100% { background-position: 110% 0; }
  50%      { background-position: -10% 0; }
}

.hero-banner.cinema p.lede {
  color: rgba(244,234,210,0.78);
  opacity: 0;
  filter: blur(8px);
  animation: bb-blur-in 1.3s cubic-bezier(.19,1,.22,1) 1.95s forwards;
}
@keyframes bb-blur-in {
  to { opacity: 1; filter: blur(0); transform: none; }
}

/* stats: gilded counters on the vault wall */
.hero-banner.cinema .stats-row {
  animation-name: bb-blur-in;
  animation-delay: 2.2s;
  animation-duration: 1.1s;
  filter: blur(8px);
  gap: 0;
}
.hero-banner.cinema .stat {
  padding: 6px 44px;
  position: relative;
}
.hero-banner.cinema .stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 12%; bottom: 12%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201,160,82,.55), transparent);
}
.hero-banner.cinema .stat-value {
  color: #f7f1de;
  font-size: 34px;
  text-shadow: 0 0 24px rgba(201,160,82,.35);
}
.hero-banner.cinema .stat-label { color: var(--gold-pale); }

/* CTAs: rise in, primary carries a single expanding gold pulse */
.hero-banner.cinema .cta-row {
  animation-delay: 2.45s;
}
.hero-banner.cinema .btn { will-change: transform; }
.hero-banner.cinema .btn-primary {
  background: linear-gradient(180deg, #163a66, #0e2a4d);
  border-color: rgba(201,160,82,.55);
  box-shadow: 0 14px 34px rgba(4,12,24,.55), inset 0 1px 0 rgba(255,255,255,.12);
}
.hero-banner.cinema .btn-primary {
  animation: bb-cta-pulse 2.6s ease-out 3.2s 3;
}
@keyframes bb-cta-pulse {
  0% {
    box-shadow: 0 14px 34px rgba(4,12,24,.55), inset 0 1px 0 rgba(255,255,255,.12),
                0 0 0 0 rgba(201,160,82,.65);
  }
  70%, 100% {
    box-shadow: 0 14px 34px rgba(4,12,24,.55), inset 0 1px 0 rgba(255,255,255,.12),
                0 0 0 20px rgba(201,160,82,0);
  }
}
.hero-banner.cinema .btn-secondary {
  color: #f1e4bf;
  border-color: rgba(201,160,82,.6);
  background: rgba(241,228,191,.04);
  backdrop-filter: blur(4px);
}
.hero-banner.cinema .btn-secondary:hover {
  background: rgba(201,160,82,.14);
  color: #fff;
}

/* scroll cue at the base of the hero */
.hero-scrollcue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  translate: -50% 0;
  z-index: 2;
  width: 1px;
  height: 46px;
  background: rgba(201,160,82,.25);
  overflow: hidden;
  opacity: 0;
  animation: bb-blur-in 1s ease 3.4s forwards;
}
.hero-scrollcue::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 100%; height: 40%;
  background: linear-gradient(180deg, transparent, #f1e4bf);
  animation: bb-cue-drop 2.1s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes bb-cue-drop {
  0%   { top: -40%; }
  70%, 100% { top: 110%; }
}

/* ---- 4 · LEDGER TICKER (marquee under the hero) --------------------- */
.ticker {
  background: #050e1c;
  border-top: 1px solid rgba(201,160,82,.30);
  border-bottom: 1px solid rgba(201,160,82,.30);
  overflow: hidden;
  position: relative;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: bb-ticker 42s linear infinite;
}

.ticker-set {
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 12px 22px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-pale);
}
.ticker-set i { color: var(--gold); font-size: 13px; }
.ticker-set b { color: #f7f1de; font-weight: 600; }
.ticker-set .tick-dot { color: rgba(201,160,82,.55); }
@keyframes bb-ticker { to { transform: translateX(-50%); } }

/* ---- 5 · SCROLL-DIRECTED REVEALS ------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 1s cubic-bezier(.19,1,.22,1),
    transform 1s cubic-bezier(.19,1,.22,1),
    filter 1s cubic-bezier(.19,1,.22,1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal="blur"]  { transform: none; filter: blur(10px); }
[data-reveal="left"]  { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="zoom"]  { transform: scale(.92) translateY(20px); }
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}
/* neutralize the old view-timeline reveals on this page so the two
   systems never fight over the same cards */
@supports (animation-timeline: view()) {
  body.cinema .offer-card,
  body.cinema .process-card,
  body.cinema .qlink {
    animation: none;
    opacity: initial;
    translate: none;
  }
}

/* section eyebrows wipe in behind a gold shutter */
body.cinema .eyebrow {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 2px 0;
}
body.cinema .eyebrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transform: scaleX(1);
  transform-origin: right;
  transition: transform .9s cubic-bezier(.76,0,.24,1) .1s;
}
body.cinema .is-in .eyebrow::after,
body.cinema .eyebrow.is-in::after { transform: scaleX(0); }

/* ---- 6 · QUICK LINKS: gilded tiles ---------------------------------- */
body.cinema .quick-links {
  background:
    linear-gradient(180deg, #050e1c 0%, #fcf9ec 34%, #fcf9ec 100%);
  padding-top: 34px;
}
body.cinema .quick-links-inner {
  background: #fffdf6;
  border: 1px solid #ece4cd;
  border-radius: 12px;
  box-shadow: 0 30px 60px -30px rgba(5,14,28,.5);
  overflow: hidden;
}
body.cinema .qlink { position: relative; }
body.cinema .qlink::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  translate: -50% 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
  transition: width .45s cubic-bezier(.19,1,.22,1);
}
body.cinema .qlink:hover::after { width: 72%; }
body.cinema .qlink i {
  width: 52px; height: 52px;
  line-height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 1px solid rgba(201,160,82,.45);
  background: radial-gradient(circle at 32% 26%, rgba(241,228,191,.5), transparent 60%), #fcf6e4;
  box-shadow: inset 0 -2px 4px rgba(154,122,54,.25);
  transition: transform .5s cubic-bezier(.19,1,.22,1), box-shadow .5s ease;
}
body.cinema .qlink:hover i {
  transform: translateY(-4px) rotate(-6deg) scale(1.06);
  box-shadow: 0 10px 22px -8px rgba(154,122,54,.55), inset 0 -2px 4px rgba(154,122,54,.25);
}

/* ---- 7 · PROCESS: the drawn-through gold thread --------------------- */
body.cinema .process-grid { position: relative; padding-top: 20px; }
body.cinema .process-grid::before {
  content: "";
  position: absolute;
  top: 0; left: 2%; right: 2%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 45%, var(--gold-pale));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.7s cubic-bezier(.65,0,.35,1) .25s;
}
body.cinema .process-grid.is-in::before { transform: scaleX(1); }
body.cinema .process-card { position: relative; overflow: hidden; }
body.cinema .process-card::after {
  /* giant ghost numeral drifting behind each card */
  content: attr(data-ghost);
  position: absolute;
  right: -8px; bottom: -26px;
  font-family: var(--font-display);
  font-size: 108px;
  font-weight: 700;
  line-height: 1;
  color: rgba(201,160,82,.10);
  transition: transform .7s cubic-bezier(.19,1,.22,1), color .7s ease;
  pointer-events: none;
}
body.cinema .process-card:hover::after {
  transform: translateY(-10px) rotate(-4deg);
  color: rgba(201,160,82,.22);
}
body.cinema .process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -16px rgba(13,34,64,.35);
}
body.cinema .process-number {
  position: relative;
}
body.cinema .process-number::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  width: 26px; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s ease .2s;
}
body.cinema .process-grid.is-in .process-number::after { transform: scaleX(1); }

/* ---- 8 · LIVE OFFERS: a lit vault interior --------------------------- */
body.cinema .home-section.vault {
  background:
    radial-gradient(900px 480px at 50% 0%, rgba(28,61,104,.85), transparent 70%),
    linear-gradient(180deg, #0a1f3d, #071729);
  position: relative;
  overflow: hidden;
}
body.cinema .home-section.vault::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--texture-engrave);
  pointer-events: none;
}
body.cinema .home-section.vault .eyebrow { color: var(--gold-pale); }
body.cinema .home-section.vault .eyebrow-sub { color: rgba(244,234,210,.6); }
body.cinema .home-section.vault .section-link { color: var(--gold-pale); }
body.cinema .home-section.vault .section-link:hover { color: #f7f1de; }
body.cinema .home-section.vault .section-link:hover i { transform: translateX(4px); }
body.cinema .home-section.vault .offer-card {
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.65);
}

/* 3D tilt shell (JS drives --rx / --ry / glare position) */
body.cinema .offers-grid { perspective: 1200px; }
body.cinema .offer-card {
  transform:
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    translateY(var(--lift, 0px));
  transform-style: preserve-3d;
  transition: transform .18s ease-out, box-shadow .4s ease;
  position: relative;
}
body.cinema .offer-card .card-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px 300px at var(--gx, 50%) var(--gy, 40%),
    rgba(241,228,191,.20), transparent 62%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 3;
}
body.cinema .offer-card:hover .card-glare { opacity: 1; }
body.cinema .offer-card .offer-image-wrap img {
  transition: transform 1.4s cubic-bezier(.19,1,.22,1), filter 1.4s ease;
}
body.cinema .offer-card:hover .offer-image-wrap img {
  transform: scale(1.07);
  filter: saturate(1.08);
}

/* ---- 9 · FOOTER: quiet close, gold hairline sweep -------------------- */
body.cinema .site-footer {
  position: relative;
  background: linear-gradient(180deg, #071729, #050e1c);
}
body.cinema .site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  animation: bb-hairline-sweep 7s ease-in-out infinite;
}
@keyframes bb-hairline-sweep {
  0%, 100% { background-position: -60% 0; }
  50%      { background-position: 160% 0; }
}
body.cinema .footer-icons i {
  transition: transform .4s cubic-bezier(.19,1,.22,1), color .3s ease;
}
body.cinema .footer-icons i:hover {
  transform: translateY(-3px) rotate(-8deg);
  color: #f7f1de;
  opacity: 1;
}

/* ---- 10 · MOBILE & REDUCED-MOTION ------------------------------------ */
@media (max-width: 640px) {
  .hero-banner.cinema { min-height: auto; }
  .hero-banner.cinema .hero-inner { padding: 64px 24px 72px; }
  .hero-banner.cinema .stat { padding: 6px 20px; }
  .hero-ring { width: 130vw; }
  .ticker-set { gap: 26px; font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  body.cinema::after { display: none; }
  .hero-beam, .mote, .hero-grain, .hero-scrollcue { display: none; }
  .hero-banner.cinema .btn-primary { animation: none; }
  .hero-ring { animation: none; }
  .ticker-track { animation: none; transform: none; }
  .hero-banner.cinema .hero-eyebrow,
  .hero-banner.cinema p.lede,
  .hero-banner.cinema .stats-row,
  .hero-banner.cinema .cta-row {
    animation: none; opacity: 1; filter: none;
  }
  .hero-banner.cinema h1 .hl-inner { animation: none; transform: none; }
  .hero-banner.cinema h1 em {
    animation: none;
    color: var(--gold-pale);
    background: none;
    -webkit-background-clip: initial;
            background-clip: initial;
  }
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  body.cinema .eyebrow::after { display: none; }
  body.cinema .process-grid::before { transform: scaleX(1); transition: none; }
  body.cinema .offer-card { transform: none !important; }
}

/* =====================================================================
   CINEMATIC REGISTRY — clients.html only (scoped to body.registry)
   The next scene of the vault film: the signatory book. A shorter
   title-card hero opens onto the paper ledger of client banks. Each
   entry carries a permanent mono folio number and an embossed seal,
   and entries are "stamped" into the page with a short stagger every
   time the reader searches or turns a page.
   ===================================================================== */

/* ---- R1 · COMPACT REGISTRY HERO ------------------------------------- */
.hero-banner.cinema.registry-hero {
  min-height: clamp(430px, 64svh, 640px);
  flex: 0 0 auto;
}
.hero-banner.cinema.registry-hero .hero-inner {
  padding: 74px 32px 78px;
}
.hero-banner.cinema.registry-hero .hero-ring {
  width: min(64vw, 700px);
}
.hero-banner.cinema.registry-hero .stats-row {
  margin-bottom: 8px;
}

/* ---- R2 · THE STAGE: vault dark gives way to ledger paper ----------- */
.registry-stage {
  background: linear-gradient(180deg, #050e1c 0, #071729 190px, #fcf9ec 560px);
  padding: 46px 32px 84px;
}
.registry-shell {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}
/* the eyebrow block sits on the dark-to-paper seam; keep it legible */
.registry-stage .section-row { margin-bottom: 26px; }
.registry-stage .eyebrow { color: var(--gold-pale); }
.registry-stage .eyebrow-sub { color: rgba(244,234,210,.62); }
.registry-stage .search-bar {
  max-width: 240px;
  background: rgba(255,253,246,.06);
  border-color: rgba(201,160,82,.45);
  backdrop-filter: blur(4px);
}
.registry-stage .search-bar i { color: var(--gold-pale); }
.registry-stage .search-bar input { color: #f7f1de; }
.registry-stage .search-bar input::placeholder { color: rgba(216,192,140,.55); }
.registry-stage .search-bar:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,160,82,.18);
}

/* ---- R3 · THE LEDGER PANEL ------------------------------------------ */
body.registry .registry-panel {
  background: #fffdf6;
  border: 1px solid #ece4cd;
  border-radius: 12px;
  box-shadow: 0 34px 70px -30px rgba(5,14,28,.55);
  overflow: hidden;
}

/* column headings struck into a navy strip, like the ledger's spine */
.ledger-head {
  display: grid;
  grid-template-columns: 64px 50px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 11px 26px;
  background: var(--ink-2);
  background-image: var(--texture-engrave);
  border-bottom: 1px solid rgba(201,160,82,.4);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-pale);
}
.ledger-head span:nth-child(2) { grid-column: 2 / 4; }
.ledger-head-signed { text-align: right; }

/* ---- R4 · ENTRIES: folio, seal, signature --------------------------- */
body.registry .bank-row {
  display: grid;
  grid-template-columns: 64px 50px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 26px;
  position: relative;
}
/* a gold thread inks down the left edge of the entry under the pointer */
body.registry .bank-row::before {
  content: "";
  position: absolute;
  left: 0; top: 14%;
  bottom: 14%;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-deep), var(--gold));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s cubic-bezier(.19,1,.22,1);
}
body.registry .bank-row:hover::before { transform: scaleY(1); }

.bank-folio {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--gold-deep);
}
.bank-folio::before {
  content: "№ ";
  color: var(--text-faint);
}

/* embossed wax-pressed seal */
body.registry .bank-seal {
  background:
    radial-gradient(circle at 32% 26%, rgba(241,228,191,.30), transparent 58%),
    var(--ink-2);
  box-shadow:
    inset 0 -3px 6px rgba(0,0,0,.45),
    inset 0 2px 3px rgba(241,228,191,.22),
    0 3px 8px -2px rgba(13,34,64,.35);
  transition: transform .5s cubic-bezier(.19,1,.22,1), box-shadow .5s ease;
}
body.registry .bank-row:hover .bank-seal {
  transform: rotate(-5deg) scale(1.05);
  box-shadow:
    inset 0 -3px 6px rgba(0,0,0,.45),
    inset 0 2px 3px rgba(241,228,191,.22),
    0 10px 20px -6px rgba(154,122,54,.5);
}

body.registry .bank-signed {
  font-family: var(--font-mono);
  text-align: right;
  white-space: nowrap;
}

/* entries stamp into the ledger with a short stagger */
@keyframes bb-stamp {
  0%   { opacity: 0; transform: translateY(16px) scale(1.012); filter: blur(3px); }
  60%  { filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
body.registry .bank-row.stamp-in {
  animation: bb-stamp .6s cubic-bezier(.19,1,.22,1) both;
  animation-delay: var(--d, 0s);
}

/* empty state: a blank page in the book */
.registry-empty {
  padding: 64px 32px;
  text-align: center;
}
.registry-empty-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.registry-empty-sub {
  font-size: 13px;
  color: var(--text-soft);
}

/* running count beneath the panel, set like a ledger footnote */
.registry-count {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
  min-height: 1em;
}

/* pagination inherits the site's mono numerals; give it air on paper */
.registry-stage .pagination { margin-top: 26px; }

/* closing invitation */
.registry-cta {
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--paper-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.registry-cta span {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
}

/* ---- R5 · MOBILE & REDUCED MOTION ------------------------------------ */
@media (max-width: 720px) {
  .ledger-head { display: none; }
  body.registry .bank-row {
    grid-template-columns: 44px 1fr;
    grid-template-areas:
      "seal info"
      "seal meta";
    row-gap: 6px;
    padding: 16px 18px;
  }
  body.registry .bank-seal { grid-area: seal; width: 44px; height: 44px; font-size: 13px; }
  body.registry .bank-info { grid-area: info; }
  .bank-folio { display: none; }
  body.registry .bank-signed { grid-area: meta; text-align: left; white-space: normal; }
  .registry-stage { padding: 38px 20px 64px; }
  .registry-cta { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  body.registry .bank-row.stamp-in { animation: none; }
  body.registry .bank-row::before { transition: none; }
  body.registry .bank-seal { transition: none; }
}


/* =====================================================================
   ELITE HEADER — site-wide (all pages share this bar)
   The header becomes the engraved title plate of the vault film:
   1. ENTRANCE — the plate drops in, the seal stamps itself, the gold
      hairline is engraved from the center out, and the two nav rows
      cascade in on a tight stagger (~0.9s total, never sluggish).
   2. AMBIENT — a slow guilloché glint orbits the seal, and every ~11s
      a faint band of light sweeps across the whole plate, the way
      light passes over a banknote.
   3. TOUCH — nav items grow struck-gold registration corner marks on
      hover; the seal brightens and tilts like a press being inspected.
   4. SCROLL — the plate condenses (padding + seal size) as the page
      scrolls, deepening the existing shadow. Progressive enhancement.
   All motion is transform/opacity (plus one tiny padding condense),
   fully disabled under prefers-reduced-motion.
   ===================================================================== */

/* ---- H1 · THE PLATE: stage, drop-in, light sweep -------------------- */
.site-header {
  position: sticky; /* re-assert with the rest of this block */
  top: 0;
  z-index: 900;
  overflow: hidden;            /* contains the light sweep */
  animation: hdr-drop .55s cubic-bezier(.19,1,.22,1) both;
  will-change: transform;
}
@keyframes hdr-drop {
  from { transform: translateY(-16px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* the passing light: a skewed band that crosses the plate, then rests */
.site-header::after {
  content: "";
  position: absolute;
  top: -20%; bottom: -20%;
  left: -30%;
  width: 26%;
  background: linear-gradient(100deg,
    transparent 0%,
    rgba(241,228,191,.045) 35%,
    rgba(241,228,191,.10)  50%,
    rgba(241,228,191,.045) 65%,
    transparent 100%);
  transform: skewX(-16deg) translateX(0);
  pointer-events: none;
  animation: hdr-sweep 11s ease-in-out infinite;
  animation-delay: 1.4s;
}
@keyframes hdr-sweep {
  0%       { transform: skewX(-16deg) translateX(0); }
  16%,100% { transform: skewX(-16deg) translateX(560%); }
}

/* ---- H2 · ENGRAVED HAIRLINE: drawn from the center out --------------- */
.header-top {
  position: relative;
  border-bottom-color: rgba(216,192,140,0.16); /* quiet base line */
}
.header-top::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent, rgba(201,160,82,.75) 18%,
    var(--gold-pale, #d8c08c) 50%,
    rgba(201,160,82,.75) 82%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  animation: hdr-engrave .9s cubic-bezier(.2,.7,.2,1) .35s both;
  pointer-events: none;
}
@keyframes hdr-engrave { to { transform: scaleX(1); } }

/* ---- H3 · THE SEAL: stamp entrance + orbiting guilloché glint -------- */
.logo { position: relative; }
.logo img {
  animation: hdr-stamp .7s cubic-bezier(.19,1,.22,1) .12s both;
  transition: transform .5s cubic-bezier(.19,1,.22,1),
              border-color .35s ease,
              box-shadow .5s ease;
}
@keyframes hdr-stamp {
  0%   { opacity: 0; transform: scale(1.22) rotate(-8deg); filter: blur(3px); }
  60%  { filter: blur(0); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); filter: blur(0); }
}
/* a thin gold glint slowly orbiting the seal's rim */
.logo::before {
  content: "";
  position: absolute;
  left: -4px; top: 50%;
  width: 64px; height: 64px;
  margin-top: -32px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(201,160,82,.0)  300deg,
    rgba(241,228,191,.9) 332deg,
    rgba(201,160,82,.0)  360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  animation: hdr-orbit 12s linear infinite;
  opacity: .8;
  pointer-events: none;
}
@keyframes hdr-orbit { to { transform: rotate(360deg); } }
.logo:hover img {
  transform: scale(1.05) rotate(-3deg);
  border-color: rgba(241,228,191,.95);
  box-shadow: 0 0 0 4px rgba(201,160,82,.14), 0 6px 18px -4px rgba(201,160,82,.45);
}

/* wordmark + subtitle settle in beside the seal */
.logo span {
  animation: hdr-rise .6s cubic-bezier(.2,.7,.2,1) .2s both;
}
.logo small {
  display: block;
  animation: hdr-track .8s cubic-bezier(.2,.7,.2,1) .3s both;
}
@keyframes hdr-rise {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes hdr-track {
  from { opacity: 0; letter-spacing: .3em; }
  to   { opacity: 1; letter-spacing: .12em; }
}

/* ---- H4 · PRIMARY NAV: cascade + registration corner marks ---------- */
.nav-main .nav-item {
  position: relative;
  animation: hdr-fall .5s cubic-bezier(.2,.7,.2,1) both;
  transition: color .2s ease, background .2s ease, transform .25s ease;
}
.nav-main .nav-item:nth-child(1) { animation-delay: .28s; }
.nav-main .nav-item:nth-child(2) { animation-delay: .36s; }
.nav-main .nav-item:nth-child(3) { animation-delay: .44s; }
.nav-main .nav-item:nth-child(4) { animation-delay: .52s; }
@keyframes hdr-fall {
  from { opacity: 0; transform: translateY(-9px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* struck-gold corner ticks — the site's registration-mark signature */
.nav-item::before,
.nav-item::after {
  content: "";
  position: absolute;
  width: 7px; height: 7px;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .22s ease, transform .3s cubic-bezier(.19,1,.22,1);
  pointer-events: none;
}
.nav-item::before {
  top: 2px; left: 2px;
  border-top: 1.5px solid var(--gold, #c9a052);
  border-left: 1.5px solid var(--gold, #c9a052);
  transform-origin: top left;
}
.nav-item::after {
  bottom: 2px; right: 2px;
  border-bottom: 1.5px solid var(--gold, #c9a052);
  border-right: 1.5px solid var(--gold, #c9a052);
  transform-origin: bottom right;
}
.nav-item:hover { transform: translateY(-1px); }
.nav-item:hover::before,
.nav-item:hover::after,
.nav-item.active::before,
.nav-item.active::after {
  opacity: 1;
  transform: scale(1);
}

/* ---- H5 · SUB NAV: cascade + active line drawn in -------------------- */
.nav-sub-row .nav-sub {
  animation: hdr-fall .45s cubic-bezier(.2,.7,.2,1) both;
}
.nav-sub-row .nav-sub:nth-child(1) { animation-delay: .42s; }
.nav-sub-row .nav-sub:nth-child(2) { animation-delay: .49s; }
.nav-sub-row .nav-sub:nth-child(3) { animation-delay: .56s; }
.nav-sub-row .nav-sub:nth-child(4) { animation-delay: .63s; }
.nav-sub-row .nav-sub:nth-child(5) { animation-delay: .70s; }
/* the current page's gold underline engraves itself after the cascade */
a.nav-sub.active::after {
  transform: scaleX(0);
  transform-origin: left;
  animation: hdr-engrave .5s cubic-bezier(.2,.7,.2,1) .8s both;
  transition: none;
}

/* ---- H6 · SCROLL CONDENSE (progressive enhancement) ------------------ */
@supports (animation-timeline: scroll()) {
  /* condense the plate over the first 140px of scroll */
  .header-top {
    animation: hdr-condense linear both;
    animation-timeline: scroll(root);
    animation-range: 0 140px;
  }
  @keyframes hdr-condense {
    to { padding-top: 8px; padding-bottom: 8px; }
  }
  .logo img {
    animation: hdr-stamp .7s cubic-bezier(.19,1,.22,1) .12s both,
               hdr-shrink linear both;
    animation-timeline: auto, scroll(root);
    animation-range: normal, 0 140px;
  }
  @keyframes hdr-shrink {
    to { width: 44px; height: 44px; }
  }
  .logo::before {
    animation: hdr-orbit 12s linear infinite,
               hdr-ring-shrink linear both;
    animation-timeline: auto, scroll(root);
    animation-range: normal, 0 140px;
  }
  @keyframes hdr-ring-shrink {
    to { width: 52px; height: 52px; margin-top: -26px; }
  }
  .nav-sub-row {
    animation: hdr-condense-sub linear both;
    animation-timeline: scroll(root);
    animation-range: 0 140px;
  }
  @keyframes hdr-condense-sub {
    to { padding-top: 7px; padding-bottom: 7px; }
  }
}

/* ---- H7 · MOBILE ------------------------------------------------------ */
@media (max-width: 640px) {
  .logo img { width: 46px; height: 46px; }
  .logo::before { width: 54px; height: 54px; margin-top: -27px; }
}

/* ---- H8 · REDUCED MOTION: plate is simply present --------------------- */
@media (prefers-reduced-motion: reduce) {
  .site-header { animation: none; }
  .site-header::after { display: none; }
  .header-top::after { animation: none; transform: scaleX(1); }
  .logo img, .logo span, .logo small { animation: none; opacity: 1; transform: none; filter: none; }
  .logo::before { display: none; }
  .logo:hover img { transform: none; }
  .nav-main .nav-item, .nav-sub-row .nav-sub { animation: none; opacity: 1; transform: none; }
  a.nav-sub.active::after { animation: none; transform: scaleX(1); }
  @supports (animation-timeline: scroll()) {
    .header-top, .nav-sub-row { animation: none; }
    .logo img { animation: none; }
  }
}


/* =====================================================================
   BEYOND-ELITE LAYER · HEADER & FOOTER — site-wide
   The bars stop being "styled navigation" and become the two engraved
   edges of the banknote:
   HEADER — a lit vault plate: gold lamp-glow behind the seal, a
     counter-rotating guilloché tick-ring, a milled coin-edge strip
     drifting along its bottom, and a hairline that keeps catching
     light after it is engraved.
   FOOTER — the reverse of the note: a slow-turning watermark rosette,
     a traveling gold hairline on its top edge, ledger-tick links,
     minted icon chips, and columns that rise into view.
   All decorative motion is transform/opacity/background-position,
   pointer-events:none, and fully silenced under reduced motion.
   ===================================================================== */

/* ---- B1 · HEADER SURFACE: lit plate, gold lamp aura ------------------ */
.site-header {
  background-color: #0c2547;
  background-image:
    radial-gradient(520px 150px at 86px 44px, rgba(201,160,82,.16), transparent 72%),
    radial-gradient(900px 220px at 78% -60px, rgba(33,58,89,.55), transparent 75%),
    linear-gradient(180deg, #113059 0%, #0c2547 58%, #0a2140 100%),
    var(--texture-engrave);
  box-shadow: inset 0 1px 0 rgba(241,228,191,.10);
}

/* milled coin-edge strip drifting along the plate's bottom edge */
.site-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg,
    rgba(201,160,82,.55) 0 1px, transparent 1px 6px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 12% 88%, transparent);
          mask: linear-gradient(90deg, transparent, #000 12% 88%, transparent);
  animation: bl-mill 5s linear infinite;
  opacity: .8;
  pointer-events: none;
}
@keyframes bl-mill { to { background-position: 60px 0; } }

/* ---- B2 · HAIRLINE: after engraving, it keeps catching light --------- */
.header-top::after {
  background-image:
    linear-gradient(90deg, transparent, rgba(247,241,222,.95) 50%, transparent),
    linear-gradient(90deg, transparent, rgba(201,160,82,.7) 18%,
      var(--gold-pale, #d8c08c) 50%, rgba(201,160,82,.7) 82%, transparent);
  background-size: 26% 100%, 100% 100%;
  background-position: -30% 0, 0 0;
  background-repeat: no-repeat, no-repeat;
  animation:
    hdr-engrave .9s cubic-bezier(.2,.7,.2,1) .35s both,
    bl-glint 7s ease-in-out 2.2s infinite;
}
@keyframes bl-glint {
  0%, 100% { background-position: -30% 0, 0 0; }
  50%      { background-position: 130% 0, 0 0; }
}

/* ---- B3 · SEAL: second, counter-rotating guilloché tick-ring --------- */
.logo::after {
  content: "";
  position: absolute;
  left: -8px; top: 50%;
  width: 72px; height: 72px;
  margin-top: -36px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg,
    rgba(201,160,82,.55) 0deg 1.4deg, transparent 1.4deg 7deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: bl-orbit-ccw 40s linear infinite;
  opacity: .28;
  pointer-events: none;
}
@keyframes bl-orbit-ccw { to { transform: rotate(-360deg); } }
.logo:hover::after { opacity: .55; }
.logo:hover::before { opacity: 1; }

/* wordmark warms under the pointer; subtitle set in flowing gold leaf */
.logo { cursor: pointer; }
.logo span { transition: color .3s ease, text-shadow .3s ease; }
.logo:hover span {
  color: #f7f1de;
  text-shadow: 0 0 18px rgba(201,160,82,.35);
}
.logo small {
  background: linear-gradient(90deg,
    #b99754 0%, #f1e4bf 28%, #d8c08c 55%, #f7ecc9 78%, #b99754 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation:
    hdr-track .8s cubic-bezier(.2,.7,.2,1) .3s both,
    bl-goldflow 7s linear 1.4s infinite;
}
@keyframes bl-goldflow {
  from { background-position: 0% 0; }
  to   { background-position: -220% 0; }
}

/* ---- B4 · PRIMARY NAV: gold ink rises under the pointer -------------- */
.nav-main .nav-item {
  transition: color .2s ease, background .25s ease,
              transform .25s ease, box-shadow .3s ease,
              letter-spacing .3s ease;
}
.nav-item:hover {
  color: var(--gold-faint, #f1e4bf);
  letter-spacing: .06em;
  background:
    linear-gradient(180deg, rgba(216,192,140,.05), rgba(201,160,82,.16));
  box-shadow:
    inset 0 -2px 0 rgba(201,160,82,.85),
    inset 0 -14px 18px -14px rgba(201,160,82,.55);
}
.nav-item.active {
  box-shadow:
    inset 0 -2px 0 var(--gold),
    inset 0 -14px 18px -14px rgba(201,160,82,.45);
}

/* ---- B5 · SUB NAV: glowing engraved underline ------------------------- */
a.nav-sub {
  transition: color .2s ease, text-shadow .25s ease;
}
a.nav-sub:hover {
  text-shadow: 0 0 12px rgba(241,228,191,.45);
}
a.nav-sub::after {
  background: linear-gradient(90deg, var(--gold-deep, #9a7a36),
    var(--gold, #c9a052), var(--gold-faint, #f1e4bf));
  box-shadow: 0 0 8px rgba(201,160,82,.55);
}
a.nav-sub.active::after {
  background: linear-gradient(90deg, var(--gold-deep, #9a7a36),
    var(--gold, #c9a052), var(--gold-faint, #f1e4bf));
  box-shadow: 0 0 10px rgba(201,160,82,.65);
}

/* ---- B6 · HEADER SCROLL DEPTH: glass + gold-tinged shadow ------------- */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background-color: rgba(12,37,71,.90);
    -webkit-backdrop-filter: blur(9px) saturate(150%);
            backdrop-filter: blur(9px) saturate(150%);
  }
}
@supports (animation-timeline: scroll()) {
  .site-header {
    animation:
      hdr-drop .55s cubic-bezier(.19,1,.22,1) both,
      bl-header-depth linear both;
    animation-timeline: auto, scroll(root);
    animation-range: normal, 0 130px;
  }
  @keyframes bl-header-depth {
    to {
      box-shadow:
        inset 0 1px 0 rgba(241,228,191,.10),
        0 14px 34px rgba(6,20,42,.5),
        0 2px 0 rgba(201,160,82,.22);
    }
  }
}

/* =====================================================================
   B7 · FOOTER — the reverse of the note
   ===================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background-color: #081a33;
  background-image:
    radial-gradient(680px 260px at 50% 118%, rgba(201,160,82,.13), transparent 72%),
    radial-gradient(520px 200px at 8% -40px, rgba(33,58,89,.5), transparent 75%),
    linear-gradient(180deg, #0a1f3d 0%, #071730 60%, #061426 100%),
    var(--texture-engrave);
  border-top-color: rgba(216,192,140,0.22);
  padding-top: 40px;
}
.footer-grid, .footer-bottom { position: relative; z-index: 1; }

/* traveling gold hairline along the footer's top edge (all pages) */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  animation: bb-hairline-sweep 7s ease-in-out infinite;
  pointer-events: none;
}

/* the watermark: a machined guilloché rosette turning behind the columns */
.site-footer::after {
  content: "";
  position: absolute;
  right: -140px; bottom: -190px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg,
      rgba(201,160,82,.8) 0deg .8deg, transparent .8deg 4deg);
  -webkit-mask: radial-gradient(farthest-side,
      transparent 52%, #000 53%, #000 62%, transparent 63%,
      transparent 72%, #000 73%, #000 74%, transparent 75%,
      transparent 96%, #000 97%);
          mask: radial-gradient(farthest-side,
      transparent 52%, #000 53%, #000 62%, transparent 63%,
      transparent 72%, #000 73%, #000 74%, transparent 75%,
      transparent 96%, #000 97%);
  animation: bl-rosette 120s linear infinite;
  opacity: .07;
  pointer-events: none;
  z-index: 0;
}
@keyframes bl-rosette { to { transform: rotate(360deg); } }

/* column titles struck in gold leaf, each over its own engraved rule */
.footer-col-title {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 12px;
  letter-spacing: .02em;
  background: linear-gradient(90deg, #f1e4bf, #d8c08c 60%, #b99754);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.footer-col-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 30px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ledger-tick links: a gold dash strikes in and the entry indents */
a.footer-link {
  position: relative;
  padding-left: 0;
  transition: color .22s ease, padding-left .3s cubic-bezier(.19,1,.22,1);
}
a.footer-link::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 9px; height: 1px;
  background: var(--gold, #c9a052);
  box-shadow: 0 0 6px rgba(201,160,82,.6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.19,1,.22,1);
}
a.footer-link:hover {
  color: var(--gold-faint, #f1e4bf);
  padding-left: 15px;
}
a.footer-link:hover::before { transform: scaleX(1); }

/* minted icon chips */
.footer-icons { gap: 10px; }
.footer-icons i {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216,192,140,.35);
  border-radius: 50%;
  font-size: 14px;
  transition: transform .4s cubic-bezier(.19,1,.22,1),
              border-color .3s ease, background .3s ease,
              color .3s ease, box-shadow .4s ease;
}
.footer-icons i:hover {
  opacity: 1;
  color: var(--gold-faint, #f1e4bf);
  border-color: var(--gold, #c9a052);
  background: rgba(201,160,82,.14);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px -6px rgba(201,160,82,.5),
              inset 0 1px 0 rgba(241,228,191,.25);
}

/* footer-bottom set like the note's serial line */
.footer-bottom {
  border-top: 1px solid rgba(216,192,140,.12);
  margin-top: 0;
}
.footer-bottom span {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(216,192,140,.55);
}

/* columns rise into view as the reader reaches the close */
@supports (animation-timeline: view()) {
  .footer-grid > div {
    animation: bl-col-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
  .footer-grid > div:nth-child(2) { animation-range: entry 8% entry 63%; }
  .footer-grid > div:nth-child(3) { animation-range: entry 16% entry 71%; }
  .footer-grid > div:nth-child(4) { animation-range: entry 24% entry 79%; }
  @keyframes bl-col-rise {
    from { opacity: 0; translate: 0 22px; }
    to   { opacity: 1; translate: 0 0; }
  }
  .footer-col-title::after {
    transform: scaleX(0);
    transform-origin: left;
    animation: bl-rule-grow linear both;
    animation-timeline: view();
    animation-range: entry 20% entry 85%;
  }
  @keyframes bl-rule-grow { to { transform: scaleX(1); } }
}

/* ---- B8 · MOBILE ------------------------------------------------------ */
@media (max-width: 640px) {
  .logo::after { width: 60px; height: 60px; margin-top: -30px; left: -7px; }
  .site-footer::after {
    width: 340px; height: 340px;
    right: -120px; bottom: -150px;
  }
  .footer-bottom { flex-wrap: wrap; gap: 12px; }
}

/* ---- B9 · REDUCED MOTION: both edges simply present -------------------- */
@media (prefers-reduced-motion: reduce) {
  .site-header::before { animation: none; }
  .header-top::after {
    animation: none;
    transform: scaleX(1);
    background-image: linear-gradient(90deg, transparent,
      rgba(201,160,82,.7) 18%, var(--gold-pale, #d8c08c) 50%,
      rgba(201,160,82,.7) 82%, transparent);
    background-size: 100% 100%;
    background-position: 0 0;
  }
  .logo::after { animation: none; }
  .logo small {
    animation: none;
    opacity: 1;
    background: none;
    color: #d8c08c;
    -webkit-text-fill-color: currentColor;
  }
  .site-footer::before { animation: none; background-position: 25% 0; }
  .site-footer::after { animation: none; }
  a.footer-link, a.footer-link::before { transition: none; }
  @supports (animation-timeline: view()) {
    .footer-grid > div { animation: none; opacity: 1; translate: none; }
    .footer-col-title::after { animation: none; transform: scaleX(1); }
  }
  @supports (animation-timeline: scroll()) {
    .site-header { animation: none; }
  }
}

/* =====================================================================
   CT · CONTACT PAGE — SIGNATURE PASS
   "The correspondence desk of the vault."
   The shell settles onto the desk like a presented document; the seal
   strikes in like a notary stamp; the ledger entries tick in one by
   one; the form fields rise in registration order and sign off with a
   one-time gold foil sweep across the button. Ambient layer: a slow
   guilloché rosette turning behind the dark aside and a traveling
   gold hairline running down the document's spine.
   ===================================================================== */

/* ---- CT0 · entrance keyframes ----------------------------------------- */
@keyframes ct-shell-rise {
  from { opacity: 0; transform: translateY(28px) scale(.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ct-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ct-tick {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes ct-stamp {
  0%   { opacity: 0; transform: scale(1.45) rotate(-7deg); }
  62%  { opacity: 1; transform: scale(.96) rotate(1.2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes ct-ring-spin { to { transform: rotate(360deg); } }
@keyframes ct-rosette   { to { transform: rotate(360deg); } }
@keyframes ct-spine-travel {
  from { background-position: 0 -160%; }
  to   { background-position: 0 260%; }
}
@keyframes ct-foil-sweep {
  from { background-position: 130% 0, 0 0; }
  to   { background-position: -130% 0, 0 0; }
}
@keyframes ct-shield-breathe {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.14); opacity: .8; }
}

/* ---- CT1 · the shell arrives ------------------------------------------ */
.contact-shell {
  animation: ct-shell-rise .8s cubic-bezier(.19,1,.22,1) both;
  box-shadow:
    0 2px 10px rgba(28,53,82,.05),
    0 24px 60px -30px rgba(13,34,64,.28);
}

/* ---- CT2 · dark aside: vault surface with a turning watermark --------- */
.contact-aside {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(420px 300px at 18% -60px, rgba(33,58,89,.55), transparent 72%),
    radial-gradient(520px 380px at 110% 115%, rgba(201,160,82,.10), transparent 70%),
    var(--texture-engrave);
}
.contact-aside > * { position: relative; z-index: 1; }

/* guilloché rosette turning slowly behind the ledger entries */
.contact-aside::before {
  content: "";
  position: absolute;
  left: -150px; bottom: -170px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg,
      rgba(201,160,82,.8) 0deg .8deg, transparent .8deg 4deg);
  -webkit-mask: radial-gradient(farthest-side,
      transparent 52%, #000 53%, #000 62%, transparent 63%,
      transparent 72%, #000 73%, #000 74%, transparent 75%,
      transparent 96%, #000 97%);
          mask: radial-gradient(farthest-side,
      transparent 52%, #000 53%, #000 62%, transparent 63%,
      transparent 72%, #000 73%, #000 74%, transparent 75%,
      transparent 96%, #000 97%);
  animation: ct-rosette 140s linear infinite;
  opacity: .07;
  pointer-events: none;
  z-index: 0;
}

/* the spine: a gold hairline traveling down the fold between panels */
.contact-aside::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 1px;
  background:
    linear-gradient(180deg, transparent,
      rgba(201,160,82,.85) 45%, rgba(241,228,191,.95) 50%,
      rgba(201,160,82,.85) 55%, transparent);
  background-size: 100% 46%;
  background-repeat: no-repeat;
  animation: ct-spine-travel 6.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

/* ---- CT3 · the seal strikes, then wears a slow-turning security ring -- */
.aside-seal {
  overflow: visible;
  position: relative;
  animation: ct-stamp .7s cubic-bezier(.19,1,.22,1) .35s both;
  box-shadow:
    0 0 0 5px rgba(211,168,92,.12),
    0 14px 30px -12px rgba(0,0,0,.55);
}
.aside-seal img { border-radius: 50%; }
.aside-seal::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(211,168,92,.5);
  animation: ct-ring-spin 70s linear infinite;
  pointer-events: none;
}

/* ---- CT4 · aside copy cascades in ------------------------------------- */
.aside-eyebrow { animation: ct-rise .6s ease .5s  both; }
.aside-title   { animation: ct-rise .6s ease .58s both; }
.aside-text    { animation: ct-rise .6s ease .66s both; }
.aside-title em, .aside-title i { color: var(--gold-pale); }

/* ledger entries tick in, one per line */
.contact-info-item { animation: ct-tick .55s cubic-bezier(.19,1,.22,1) both; }
.contact-info-item:nth-child(1) { animation-delay: .74s; }
.contact-info-item:nth-child(2) { animation-delay: .84s; }
.contact-info-item:nth-child(3) { animation-delay: .94s; }
.contact-info-item:nth-child(4) { animation-delay: 1.04s; }
.aside-social { animation: ct-rise .6s ease 1.16s both; }

/* typographic rule: numerals set in the ledger mono face */
.contact-info-item:nth-child(2) .contact-info-value,
.contact-info-item:nth-child(4) .contact-info-value {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .01em;
}

/* ledger entry hover: the row indents and the entry is struck gold */
.contact-info-item {
  transition: transform .35s cubic-bezier(.19,1,.22,1);
}
.contact-info-icon {
  transition: background .3s ease, color .3s ease, border-color .3s ease,
              transform .45s cubic-bezier(.19,1,.22,1), box-shadow .4s ease;
}
.contact-info-value { transition: color .25s ease; }
.contact-info-item:hover { transform: translateX(6px); }
.contact-info-item:hover .contact-info-icon {
  background: rgba(201,160,82,.16);
  border-color: var(--gold);
  color: var(--gold-faint);
  transform: rotate(-8deg) scale(1.06);
  box-shadow: 0 0 14px -2px rgba(201,160,82,.55),
              inset 0 1px 0 rgba(241,228,191,.25);
}
.contact-info-item:hover .contact-info-value { color: var(--gold-faint); }

/* minted social chips, matching the footer's coinage */
.aside-social i {
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216,192,140,.35);
  border-radius: 50%;
  font-size: 14px;
  transition: transform .4s cubic-bezier(.19,1,.22,1),
              border-color .3s ease, background .3s ease,
              color .3s ease, box-shadow .4s ease;
}
.aside-social i:hover {
  color: var(--gold-faint);
  border-color: var(--gold);
  background: rgba(201,160,82,.14);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px -6px rgba(201,160,82,.5),
              inset 0 1px 0 rgba(241,228,191,.25);
}

/* ---- CT5 · form panel: fields file in, in registration order ---------- */
.contact-form-panel {
  position: relative;
  background:
    radial-gradient(560px 300px at 108% -60px, rgba(201,160,82,.07), transparent 70%),
    #ffffff;
}
.form-eyebrow { animation: ct-rise .55s ease .55s both; }
.form-title   { animation: ct-rise .55s ease .62s both; }
.form-sub     { animation: ct-rise .55s ease .69s both; }
.contact-form-panel form > * { animation: ct-rise .55s ease both; }
.contact-form-panel form > *:nth-child(1) { animation-delay: .78s; }
.contact-form-panel form > *:nth-child(2) { animation-delay: .86s; }
.contact-form-panel form > *:nth-child(3) { animation-delay: .94s; }
.contact-form-panel form > *:nth-child(4) { animation-delay: 1.02s; }
.contact-form-panel form > *:nth-child(5) { animation-delay: 1.10s; }
.secure-note { animation: ct-rise .55s ease 1.28s both; }

/* small gold rule that underwrites the form title */
.form-title {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 4px;
}
.form-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 46px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: ct-rule-grow .6s cubic-bezier(.19,1,.22,1) 1.05s both;
}
@keyframes ct-rule-grow { to { transform: scaleX(1); } }

/* ---- CT6 · field micro-interactions ----------------------------------- */
.field-input-wrap,
.field-textarea-wrap {
  position: relative;
  transition: border-color .25s ease, box-shadow .3s ease,
              transform .3s cubic-bezier(.19,1,.22,1), background .3s ease;
}
.field-input-wrap:hover,
.field-textarea-wrap:hover { border-color: #d3c398; }

/* gold signature line inks itself across the base of a focused field */
.field-input-wrap::after,
.field-textarea-wrap::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-pale));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s cubic-bezier(.19,1,.22,1);
  pointer-events: none;
}
.field-input-wrap:focus-within,
.field-textarea-wrap:focus-within {
  border-color: rgba(169,119,47,.65);
  background: #fffefb;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -10px rgba(154,122,54,.45);
}
.field-input-wrap:focus-within::after,
.field-textarea-wrap:focus-within::after { transform: scaleX(1); }

/* the icon and label acknowledge focus */
.field-input-wrap i { transition: color .25s ease, transform .3s ease; }
.field-input-wrap:focus-within i {
  color: var(--gold-deep);
  transform: translateY(-1px) scale(1.08);
}
.field-label { transition: color .25s ease; }
.field-group:focus-within > .field-label { color: var(--gold-deep); }
.field-input-wrap input::placeholder,
.field-textarea-wrap textarea::placeholder { transition: opacity .25s ease; }
.field-input-wrap:focus-within input::placeholder,
.field-textarea-wrap:focus-within textarea::placeholder { opacity: .45; }

/* ---- CT7 · the button: struck navy, gold foil sweep on arrival & hover  */
.contact-btn {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, transparent 32%, rgba(241,228,191,.20) 50%, transparent 68%) no-repeat,
    linear-gradient(180deg, var(--ink-soft) 0%, var(--ink) 62%, var(--ink-3) 100%);
  background-size: 240% 100%, 100% 100%;
  background-position: 130% 0, 0 0;
  box-shadow: inset 0 1px 0 rgba(241,228,191,.14),
              0 10px 24px -14px rgba(13,34,64,.6);
  transition: transform .3s cubic-bezier(.19,1,.22,1),
              box-shadow .35s ease, letter-spacing .3s ease,
              background-position .6s ease;
  animation: ct-rise .55s ease 1.10s both,
             ct-foil-sweep 1.1s ease-in-out 1.9s 1;
}
.contact-btn:hover {
  background-position: -130% 0, 0 0;
  transform: translateY(-2px);
  letter-spacing: .06em;
  box-shadow: inset 0 1px 0 rgba(241,228,191,.2),
              0 14px 30px -12px rgba(13,34,64,.55),
              0 4px 16px -6px rgba(201,160,82,.45);
}
.contact-btn:active {
  transform: translateY(0) scale(.99);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.35);
}

/* the shield keeps a quiet pulse under the signature line */
.secure-note i {
  animation: ct-shield-breathe 3.4s ease-in-out 2.6s infinite;
}

/* ---- CT8 · mobile ------------------------------------------------------ */
@media (max-width: 760px) {
  .contact-aside::after { display: none; }        /* no spine when stacked */
  .contact-aside::before {
    width: 300px; height: 300px;
    left: auto; right: -130px; bottom: -140px;
  }
  .contact-info-item:hover { transform: none; }
}

/* ---- CT9 · reduced motion: the document is simply present -------------- */
@media (prefers-reduced-motion: reduce) {
  .contact-shell,
  .aside-seal, .aside-eyebrow, .aside-title, .aside-text,
  .contact-info-item, .aside-social,
  .form-eyebrow, .form-title, .form-sub,
  .contact-form-panel form > *, .secure-note, .contact-btn {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .contact-aside::before,
  .contact-aside::after,
  .aside-seal::after,
  .secure-note i { animation: none; }
  .contact-aside::after {
    background: linear-gradient(180deg, transparent,
      rgba(201,160,82,.6) 30%, rgba(201,160,82,.6) 70%, transparent);
    background-size: 100% 100%;
    background-position: 0 0;
  }
  .form-title::after { animation: none; transform: scaleX(1); }
  .field-input-wrap, .field-textarea-wrap,
  .field-input-wrap::after, .field-textarea-wrap::after,
  .contact-btn, .contact-info-item, .contact-info-icon,
  .aside-social i { transition: none; }
}

/* ===== i18n: Google Website Translator styling ===== */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
body > .skiptranslate:first-child {
  display: none !important;
}
body {
  top: 0 !important;
  position: static !important;
}
#google_translate_element {
  display: none !important;
}
.nav-sub.lang-toggle {
  margin-left: auto;
  border: 1px solid rgba(201,160,82,.5);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: .78rem;
  letter-spacing: .05em;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  color: inherit;
}
.nav-sub.lang-toggle:hover {
  border-color: rgba(201,160,82,.9);
  color: #c9a052;
}

/* =====================================================================
   ANNOUNCEMENTS PAGE — reworked grid (scoped to .offers-stage so the
   homepage vault cards keep their original layout)
   ---------------------------------------------------------------------
   • The whole card is an <a>: full surface clickable, no nested button.
   • Denser 4-across grid; the newest announcement on page 1 becomes a
     wide "lead" card so the grid keeps an editorial hierarchy.
   • Each card is deliberately quiet: location chip on the photo, one
     stat row (return + duration), and a parchment footer band with the
     financing figures and a gold arrow.
   ===================================================================== */

.offers-stage .offers-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* -- card shell ------------------------------------------------------- */
.offers-stage .offer-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  min-width: 0;
  border-radius: 12px;
}
.offers-stage .offer-card:hover {
  box-shadow: 0 12px 30px rgba(28,53,82,0.14);
  transform: translateY(-3px);
  border-color: #dfd3ae;
}
.offers-stage .offer-card:focus-visible {
  outline: 2px solid #a9772f;
  outline-offset: 3px;
}

/* -- media: photo with location chip overlay -------------------------- */
.offers-stage .offer-media {
  position: relative;
  flex-shrink: 0;
}
.offers-stage .offer-image-wrap,
.offers-stage .offer-image-fallback { height: 148px; }
.offers-stage .offer-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12,24,40,0.45));
  pointer-events: none;
}
.offers-stage .offer-image-wrap img {
  transition: transform 0.7s cubic-bezier(.19,1,.22,1);
}
.offers-stage .offer-card:hover .offer-image-wrap img { transform: scale(1.06); }
.offers-stage .offer-image-fallback .fallback-seal {
  width: 48px; height: 48px; font-size: 19px;
}
.offers-stage .offer-chip {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: calc(100% - 24px);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(12, 24, 40, 0.72);
  border: 1px solid rgba(211, 168, 92, 0.45);
  color: #f1e4bf;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(3px);
}
.offers-stage .offer-chip i { font-size: 12px; color: #d3a85c; flex-shrink: 0; }

/* -- body ------------------------------------------------------------- */
.offers-stage .offer-body { padding: 15px 16px 0; }
.offers-stage .offer-title {
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * 1.35em); /* aligns stat rows across the row */
}
.offers-stage .offer-desc {
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* -- single stat row: return + duration ------------------------------- */
.offers-stage .offer-stats {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid #eee8d6;
  padding-top: 12px;
  margin: auto 0 14px;
}
.offers-stage .stat-block { flex: 0 1 auto; min-width: 0; }
.offers-stage .stat-right { text-align: right; }
.offers-stage .stat-value { font-size: 19px; white-space: nowrap; }
.offers-stage .stat-label {
  font-size: 9.5px;
  letter-spacing: 0.45px;
  margin-top: 3px;
}

/* -- footer band: financing figures + gold arrow ---------------------- */
.offers-stage .offer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 -16px;
  padding: 10px 16px;
  background: #faf6ea;
  border-top: 1px solid #f0e9d4;
}
.offers-stage .foot-figures {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.offers-stage .foot-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.offers-stage .foot-key {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #9a916f;
}
.offers-stage .foot-num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 600;
  color: #16263b;
  white-space: nowrap;
}
.offers-stage .foot-sep {
  width: 1px;
  height: 22px;
  background: #e6ddc2;
  flex-shrink: 0;
}
.offers-stage .foot-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9cda6;
  color: #a9772f;
  background: #ffffff;
  font-size: 14px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.offers-stage .offer-card:hover .foot-arrow {
  background: #16263b;
  border-color: #16263b;
  color: #f1e4bf;
  transform: translateX(3px);
}

/* -- lead card: newest announcement, wide + horizontal ---------------- */
.offers-stage .offer-card--lead {
  grid-column: span 2;
  flex-direction: row;
}
.offers-stage .offer-card--lead .offer-media { width: 45%; display: flex; }
.offers-stage .offer-card--lead .offer-image-wrap,
.offers-stage .offer-card--lead .offer-image-fallback {
  width: 100%;
  height: auto;
  min-height: 100%;
}
.offers-stage .offer-card--lead .offer-body {
  width: 55%;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 0;
}
.offers-stage .offer-card--lead .offer-title {
  font-size: 19px;
  min-height: 0;
}
.offers-stage .offer-card--lead .offer-desc { -webkit-line-clamp: 3; }
.offers-stage .offer-card--lead .offer-foot { margin: 0 -20px; padding: 12px 20px; }

/* -- responsive: 4 → 3 → 2 → 1 ---------------------------------------- */
@media (max-width: 1180px) {
  .offers-stage .offers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .offers-stage .offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .offers-stage .offers-grid { grid-template-columns: 1fr; }
  .offers-stage .offer-card--lead { grid-column: auto; flex-direction: column; }
  .offers-stage .offer-card--lead .offer-media { width: 100%; }
  .offers-stage .offer-card--lead .offer-image-wrap,
  .offers-stage .offer-card--lead .offer-image-fallback {
    height: 160px;
    min-height: 0;
  }
  .offers-stage .offer-card--lead .offer-body { width: 100%; padding: 15px 16px 0; }
  .offers-stage .offer-card--lead .offer-foot { margin: 0 -16px; padding: 10px 16px; }
  .offers-stage .offer-title { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .offers-stage .offer-card,
  .offers-stage .offer-card:hover { transform: none; }
  .offers-stage .offer-image-wrap img { transition: none; }
  .offers-stage .offer-card:hover .offer-image-wrap img { transform: none; }
  .offers-stage .offer-card:hover .foot-arrow { transform: none; }
}
