/* ==========================================================================
   Davinnette Forex Bureau: "Framed Gold" design system
   Ivory page · dark rounded frames · gold accents
   ========================================================================== */

@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* light (default) */
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --card: #fffdf8;
  --fg: #16130e;
  --fg-2: #4a4337;
  --fg-muted: #7d7464;
  --line: rgba(22, 19, 14, .1);
  --line-2: rgba(22, 19, 14, .18);

  /* night (frames) */
  --night: #0f0d0a;
  --night-2: #1a1712;
  --night-3: #25211a;

  --gold: #d4b25e;
  --gold-hi: #f2e2b0;
  --gold-deep: #94742f;
  --gold-grad: linear-gradient(135deg, #fbf0cf 0%, #e6c96d 30%, #bf9c50 64%, #86682f 100%);
  --green: #3f9d63;
  --green-hi: #7fd79c;
  --red: #c7634f;

  --font-display: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --frame-m: clamp(8px, 1vw, 14px);
  --r-frame: clamp(22px, 2.6vw, 34px);
  --r-card: clamp(18px, 1.8vw, 24px);
  --r-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
  --bar-h: 0px;
}

.dark {
  --fg: #f3ede0;
  --fg-2: #cfc6b4;
  --fg-muted: #9a917f;
  --line: rgba(232, 210, 160, .13);
  --line-2: rgba(232, 210, 160, .26);
  color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--fg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; padding-bottom: var(--bar-h);
}
img, svg, video, canvas, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: 16px; transform: translateY(-300%); z-index: 1000; background: var(--gold); color: var(--night); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip:focus-visible { transform: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display); font-weight: 340; letter-spacing: -.025em;
  font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.04; text-wrap: balance;
}
.display em, .display .gold { font-style: italic; font-weight: 300; color: var(--gold-deep); }
.dark .display em, .dark .display .gold { color: var(--gold); }
.lead { font-size: clamp(1.02rem, 1.2vw, 1.14rem); color: var(--fg-2); max-width: 36em; }
.label {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 1.2rem;
}
.dark .label { color: var(--gold); }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.link { display: inline-flex; align-items: center; gap: .5em; font-weight: 650; color: var(--fg); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .3s, gap .4s var(--ease); }
@media (hover: hover) { .link:hover { border-color: var(--gold); gap: .8em; } }
.link .ico { width: 16px; height: 16px; }

.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: var(--h); padding: 0 1.5em; border-radius: 999px; font-weight: 650; font-size: .95rem; white-space: nowrap;
  isolation: isolate; overflow: hidden; transition: transform .4s var(--ease), color .35s, background-color .35s, border-color .35s, box-shadow .4s;
}
.btn .ico { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn--sm { --h: 40px; padding: 0 1.1em; font-size: .87rem; }
.btn--lg { --h: 56px; padding: 0 1.8em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold-grad); color: #1c1507; box-shadow: 0 10px 24px -12px rgba(191,156,80,.7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.6) 50%, transparent 65%); transform: translateX(-110%); transition: transform .9s var(--ease); }
@media (hover: hover) { .btn--gold:hover::after { transform: translateX(110%); } }
@media (hover: hover) { .btn--gold:hover { box-shadow: 0 16px 30px -12px rgba(191,156,80,.85), inset 0 1px 0 rgba(255,255,255,.5); } }
.btn--ivory { background: var(--paper); color: var(--night); }
@media (hover: hover) { .btn--ivory:hover { background: #fff; } }
.btn--dark { background: var(--night); color: var(--paper); }
@media (hover: hover) { .btn--dark:hover { background: #000; } }
.btn--line { border: 1px solid var(--line-2); color: var(--fg); }
.btn--line::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fg); transform: translateY(101%); transition: transform .45s var(--ease); }
@media (hover: hover) { .btn--line:hover { color: var(--paper); border-color: var(--fg); } }
@media (hover: hover) { .dark .btn--line:hover { color: var(--night); } }
@media (hover: hover) { .btn--line:hover::before { transform: none; } }
.btn--wa .ico { color: #25d366; }
@media (hover: hover) { .btn--line.btn--wa:hover .ico { color: inherit; } }

/* ---------- Frames ---------- */
.frame { position: relative; margin: var(--frame-m); border-radius: var(--r-frame); background: var(--night); overflow: hidden; isolation: isolate; }
.frame--glow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 55% at 85% 0%, rgba(212,178,94,.16), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(212,178,94,.08), transparent 70%);
}
.frame__mark { position: absolute; z-index: -1; pointer-events: none; opacity: .05; width: min(58vw, 760px); right: -8%; top: -4%; }

/* ---------- Header ---------- */
.site-header { position: fixed; z-index: 60; left: 0; right: 0; top: calc(var(--frame-m) + 8px); view-transition-name: site-header; pointer-events: none; }
.site-header__inner {
  pointer-events: auto; display: flex; align-items: center; gap: 20px; height: 64px;
  width: calc(100% - var(--frame-m) * 2 - 16px); max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding: 0 12px 0 22px;
  border-radius: 999px; border: 1px solid transparent; color: #f3ede0;
  transition: background-color .4s var(--ease), border-color .4s, box-shadow .4s, transform .5s var(--ease);
}
.site-header.is-scrolled .site-header__inner {
  background: rgba(15, 13, 10, .92); border-color: rgba(232,210,160,.14);
  box-shadow: 0 16px 40px -18px rgba(0,0,0,.55);
}
.site-header.is-hidden .site-header__inner { transform: translateY(calc(-100% - 30px)); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; color: #fff; }
.brand__mark { width: 34px; height: auto; transition: transform .8s var(--ease); }
@media (hover: hover) { .brand:hover .brand__mark { transform: rotate(-10deg); } }
.brand__word { width: 112px; height: auto; }
.nav { margin: 0 auto; }
.nav__list { display: flex; gap: 2px; }
.nav__link { display: block; padding: 9px 14px; border-radius: 999px; font-size: .9rem; font-weight: 550; color: rgba(243,237,224,.72); transition: color .3s, background-color .3s; }
@media (hover: hover) { .nav__link:hover { color: #fff; background: rgba(255,255,255,.06); } }
.nav__link.is-active { color: #fff; background: rgba(255,255,255,.09); }
.site-header__cta { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--night); place-items: center; }
.menu-btn i { position: absolute; width: 16px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease); }
.menu-btn { position: relative; }
.menu-btn i:first-child { transform: translateY(-3.5px); }
.menu-btn i:last-child { transform: translateY(3.5px); }
.menu-btn[aria-expanded="true"] i:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 55; background: var(--night); color: #f3ede0; padding: calc(var(--frame-m) + 96px) var(--gutter) calc(24px + env(safe-area-inset-bottom) + var(--bar-h)); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__list a { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(232,210,160,.12); font-family: var(--font-display); font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 340; line-height: 1.15; }
.mobile-menu__list a small { font-family: var(--font-body); font-size: .75rem; color: var(--gold); }
.mobile-menu__list li { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.mobile-menu.is-open .mobile-menu__list li { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) { transition-delay: .12s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) { transition-delay: .16s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(6) { transition-delay: .2s; }
.mobile-menu__foot { color: #9a917f; font-size: .9rem; margin-top: 28px; }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 760px) {
  :root { --bar-h: calc(68px + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed; z-index: 58; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 8px;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); background: #0f0d0a; border-top: 1px solid rgba(232,210,160,.14);
    view-transition-name: action-bar;
  }
  .action-bar a, .action-bar button { display: flex; font: inherit; border: 0; cursor: pointer; align-items: center; justify-content: center; gap: 7px; height: 48px; border-radius: 14px; font-size: .88rem; font-weight: 700; color: #f3ede0; background: rgba(255,255,255,.07); }
  .action-bar a .ico, .action-bar button .ico { width: 18px; height: 18px; }
  .action-bar a.is-primary { background: var(--gold-grad); color: #1c1507; }
}

.fab { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .45s var(--ease); }
@media (hover: hover) { .fab:hover { transform: scale(1.08) rotate(-8deg); } }
.fab .ico { width: 28px; height: 28px; }
@media (max-width: 760px) { .fab { display: none; } }

/* ---------- Home hero ---------- */
.hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 0; }
.hero__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px 60px; align-items: end; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); font-size: .82rem; font-weight: 600; color: var(--fg-2); margin-bottom: 26px; }
.pill b { font-weight: 700; color: var(--fg); }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green-hi); flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green-hi); opacity: 0; animation: ping 2.2s var(--ease) infinite; }
.is-closed .live-dot { background: #e0907f; }
.is-closed .live-dot::after { display: none; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.hero__title { font-family: var(--font-display); font-weight: 320; font-size: clamp(2.6rem, 6.4vw, 5.9rem); line-height: .98; letter-spacing: -.035em; color: #fbf6ea; text-wrap: balance; }
.hero__title em { font-style: italic; font-weight: 280; color: var(--gold); }
.hero__side .lead { margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.seal { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: .82rem; color: var(--fg-muted); line-height: 1.35; }
.seal__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(212,178,94,.12); color: var(--gold); flex: none; }
.seal__icon .ico { width: 20px; height: 20px; }
.seal b { color: var(--fg); font-weight: 650; }

.hero__cards { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 14px; margin-top: clamp(40px, 5vw, 64px); }

/* Converter */
.conv { position: relative; background: var(--card); color: #16130e; border-radius: var(--r-card); padding: clamp(18px, 2.2vw, 28px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); --fg: #16130e; --fg-2: #4a4337; --fg-muted: #7d7464; --line: rgba(22,19,14,.1); --line-2: rgba(22,19,14,.18); }
.conv__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.conv__title { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 380; letter-spacing: -.01em; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.seg label { position: relative; z-index: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 14px; font-size: .82rem; font-weight: 700; text-align: center; color: var(--fg-muted); transition: color .35s; white-space: nowrap; }
.seg input:checked + span { color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--gold); border-radius: 999px; }
.seg__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--night); transition: transform .5s var(--ease); }
.seg:has(label:nth-of-type(2) input:checked) .seg__thumb { transform: translateX(100%); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.cur-chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px 0 8px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .85rem; font-weight: 700; transition: background-color .3s, color .3s, border-color .3s; }
.cur-chip img { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; }
@media (hover: hover) { .cur-chip:hover { border-color: var(--fg); } }
.cur-chip[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.cur-more { position: relative; }
.cur-more select { appearance: none; -webkit-appearance: none; height: 38px; padding: 0 30px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: .85rem; font-weight: 700; cursor: pointer; }
.cur-more::after { content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.amount { background: var(--night); color: #fff; border-radius: 16px; padding: 14px 14px 16px; text-align: center; }
.amount__label { font-size: .78rem; font-weight: 600; color: #b6ad99; margin-bottom: 4px; }
.amount__row { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; }
.step-btn { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--night); display: grid; place-items: center; font-size: 1.4rem; line-height: 1; transition: transform .3s var(--ease), background-color .3s; }
@media (hover: hover) { .step-btn:hover { background: var(--gold-hi); } }
.step-btn:active { transform: scale(.9); }
.amount__input { display: flex; align-items: baseline; justify-content: center; gap: 6px; min-width: 0; }
.amount__input span { display: none; }
.amount input { width: 100%; min-width: 0; background: transparent; border: 0; outline: 0; text-align: center; font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; }
.result { display: flex; justify-content: space-between; align-items: end; gap: 10px; padding: 16px 4px 4px; }
.result__label { font-size: .8rem; font-weight: 600; color: var(--fg-muted); }
.result__value { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.result__value small { font-size: .5em; font-weight: 700; color: var(--fg-muted); margin-left: 4px; letter-spacing: .04em; }
.result__rate { font-size: .8rem; color: var(--fg-muted); text-align: right; }
.result__rate b { color: var(--fg); }
.conv__cta { margin-top: 14px; }
.conv__fine { font-size: .74rem; color: var(--fg-muted); text-align: center; margin: 10px 0 0; }

/* Photo card */
.photo-card { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 420px; background: var(--night-3); }
.photo-card > picture, .photo-card > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,13,10,0) 45%, rgba(15,13,10,.72) 100%); }
.fchip { position: absolute; z-index: 2; background: rgba(255,253,248,.94); color: #16130e; border-radius: 16px; padding: 12px 14px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); }
.fchip--rate { top: 18px; left: 18px; min-width: 190px; }
.fchip--rate .fchip__top { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; color: #7d7464; text-transform: uppercase; margin-bottom: 6px; }
.fchip--rate .fchip__top img { width: 20px; height: 15px; border-radius: 3px; }
.fchip--rate .fchip__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fchip--rate small { display: block; font-size: .7rem; color: #7d7464; font-weight: 600; }
.fchip--rate b { font-size: 1.3rem; font-weight: 750; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.fchip--status { right: 18px; top: 50%; display: flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 700; border-radius: 999px; padding: 10px 16px 10px 14px; }
.fchip--status.is-closed .live-dot { background: var(--red); }
.photo-card__cap { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.photo-card__cap p { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 350; line-height: 1.2; max-width: 14em; }
.photo-card__cap span { font-size: .75rem; color: rgba(255,255,255,.7); white-space: nowrap; }

.partners { display: flex; align-items: center; gap: 28px; padding: 26px 0 30px; margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.partners__label { font-size: .85rem; color: var(--fg-muted); flex: none; }
.partners__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
@media (hover: hover) { .partners__track:hover { animation-play-state: paused; } }
.partners ul { display: flex; align-items: center; }
.partners li { padding: 0 26px; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; color: rgba(243,237,224,.55); white-space: nowrap; }
.partners li span { font-weight: 500; color: var(--gold); margin-right: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.split { display: grid; grid-template-columns: minmax(0, .36fr) minmax(0, 1fr); gap: 24px clamp(30px, 5vw, 80px); }
.split__side p { color: var(--fg-2); max-width: 22em; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head > div { max-width: 720px; }
.sec-head .lead { margin-top: 18px; }

/* Two-tone statement */
.tone { font-family: var(--font-display); font-weight: 340; font-size: clamp(1.75rem, 3.6vw, 3.1rem); line-height: 1.16; letter-spacing: -.02em; color: var(--fg); text-wrap: pretty; }
.tone .t2 { color: #6f6757; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(48px, 6vw, 80px); }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 22px 20px; }
.stat b { display: block; font-family: var(--font-display); font-weight: 320; font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.stat b sup { font-size: .45em; color: var(--gold-deep); vertical-align: top; position: relative; top: .35em; margin-left: 2px; }
.stat > span { font-size: .9rem; color: var(--fg-2); }

/* Rate tiles */
.board { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-frame); padding: clamp(14px, 2vw, 22px); }
.board__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px 18px; }
.board__bar .pill { margin: 0; background: var(--paper); border-color: var(--line); }
.board__legend { display: flex; gap: 18px; font-size: .78rem; color: var(--fg-muted); font-weight: 600; }
.board__legend span { display: inline-flex; align-items: center; gap: 6px; }
.board__legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--fg-muted); }
.board__legend span:last-child i { background: var(--gold-deep); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.tile { position: relative; background: var(--paper); border-radius: 16px; padding: 16px 16px 14px; transition: transform .45s var(--ease), background-color .3s, box-shadow .45s var(--ease); }
@media (hover: hover) { .tile:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 16px 30px -18px rgba(40,30,10,.35); } }
.tile__cur { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.tile__cur img { width: 30px; height: 22px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.tile__cur b { font-weight: 800; letter-spacing: .04em; font-size: .95rem; }
.tile__cur small { display: block; font-size: .75rem; color: var(--fg-muted); line-height: 1.3; }
.tile__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile__nums small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 2px; }
.tile__nums .num { font-size: 1.45rem; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tile__nums > div:last-child .num { color: var(--gold-deep); }
.tile--feat { background: var(--night); color: #f3ede0; }
@media (hover: hover) { .tile--feat:hover { background: var(--night-2); } }
.tile--feat .tile__cur small, .tile--feat .tile__nums small { color: #9a917f; }
.tile--feat .tile__nums > div:last-child .num { color: var(--gold); }
.board__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 8px 6px; font-size: .82rem; color: var(--fg-muted); }

/* Odometer */
.odo { display: inline-flex; line-height: 1.1; }
.odo__d { display: inline-block; height: 1.1em; overflow: hidden; }
.odo__s { display: flex; flex-direction: column; transition: transform .95s cubic-bezier(.2, .9, .25, 1); }
.odo__s > span { height: 1.1em; display: block; text-align: center; }
.odo__c { display: inline-block; }

/* Services bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 12px; }
.bcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .55s var(--ease), box-shadow .55s var(--ease); }
@media (hover: hover) { .bcard:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -30px rgba(40,30,10,.45); } }
.bcard__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--gold-deep); transition: transform .6s var(--ease), background-color .4s, color .4s; }
@media (hover: hover) { .bcard:hover .bcard__icon { transform: rotate(-10deg); background: var(--night); color: var(--gold); } }
.bcard__kicker { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.bcard h3 { font-family: var(--font-display); font-size: clamp(1.45rem, 2vw, 1.75rem); font-weight: 380; letter-spacing: -.015em; margin-bottom: 8px; }
.bcard p { color: var(--fg-2); font-size: .92rem; margin: 0; }
.bcard__go { position: absolute; top: clamp(20px, 2.4vw, 28px); right: clamp(20px, 2.4vw, 28px); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s; }
.bcard__go .ico { width: 16px; height: 16px; }
@media (hover: hover) { .bcard:hover .bcard__go { background: var(--gold); border-color: var(--gold); color: var(--night); transform: rotate(45deg); } }
.bcard--wide { grid-column: span 2; }
.bcard--tall { grid-row: span 2; }
.bcard--dark { background: var(--night); color: #f3ede0; border-color: transparent; --fg-2: #cfc6b4; --line-2: rgba(232,210,160,.26); }
.bcard--dark .bcard__icon { background: rgba(212,178,94,.12); color: var(--gold); }
.bcard--dark .bcard__kicker { color: var(--gold); }
.bcard--fx { background: var(--night); color: #f3ede0; border-color: transparent; --fg-2: #cfc6b4; --line-2: rgba(232,210,160,.26); min-height: 300px; }
.bcard--fx .bcard__kicker { color: var(--gold); }
.bcard--fx .bcard__icon { background: rgba(212,178,94,.12); color: var(--gold); }
.fx-glyphs { position: absolute; z-index: -1; right: -10px; bottom: -40px; font-family: var(--font-display); font-style: italic; font-weight: 250; font-size: clamp(8rem, 16vw, 13rem); line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(212,178,94,.35); white-space: nowrap; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .bcard--fx:hover .fx-glyphs { transform: translateX(-24px); } }
.bcard--tall .bcard__photo { position: absolute; inset: 0; z-index: -1; }
.bcard--tall .bcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 1.4s var(--ease); }
@media (hover: hover) { .bcard--tall:hover .bcard__photo img { transform: scale(1.05); } }
.bcard--tall .bcard__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,13,10,.1) 0%, rgba(15,13,10,.35) 40%, rgba(15,13,10,.92) 100%); }

/* Steps (sticky) */
.steps-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.steps-sticky { position: sticky; top: 110px; }
.steps-photo { position: relative; margin-top: 30px; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3.2; }
.steps-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.steps-list { counter-reset: s; }
.step { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); margin-bottom: 12px; transition: background-color .5s var(--ease), color .5s, transform .5s var(--ease); }
.step__n { font-family: var(--font-display); font-size: 3.2rem; font-weight: 250; line-height: 1; color: var(--gold-deep); margin-bottom: 26px; display: block; font-variant-numeric: tabular-nums; }
.step h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 380; margin-bottom: 10px; }
.step p { color: var(--fg-2); margin: 0; max-width: 30em; }
.step.is-active { background: var(--night); color: #f3ede0; --fg-2: #cfc6b4; }
.step.is-active .step__n { color: var(--gold); }

/* Trust frame */
.trust { padding: clamp(60px, 8vw, 110px) 0; }
.trust__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.creds { display: grid; gap: 10px; margin-top: 30px; }
.cred { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: border-color .4s, background-color .4s; }
@media (hover: hover) { .cred:hover { border-color: var(--line-2); background: rgba(255,255,255,.05); } }
.cred__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(212,178,94,.12); color: var(--gold); }
.cred h3 { font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.cred p { margin: 0; font-size: .86rem; color: var(--fg-muted); }
.trust__media { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 5 / 4; }
.trust__media img { width: 100%; height: 100%; object-fit: cover; }
.trust__badge { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: rgba(15,13,10,.88); color: #f3ede0; border: 1px solid rgba(232,210,160,.16); }
.trust__badge b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 300; line-height: 1; color: var(--gold); }
.trust__badge span { font-size: .9rem; color: #cfc6b4; line-height: 1.35; }

/* Branches */
.branches { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.branch { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.branch__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
.tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--paper); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--fg-2); margin: 0; }
.status .live-dot { background: var(--green); }
.status .live-dot::after { border-color: var(--green); }
.status.is-closed .live-dot { background: var(--red); }
.branch h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 360; letter-spacing: -.02em; margin-bottom: 10px; }
.branch address { color: var(--fg-2); margin-bottom: 24px; }
.branch__meta { display: grid; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); margin-top: auto; font-size: .92rem; }
.branch__meta li { display: flex; gap: 12px; }
.branch__meta .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--gold-deep); }
@media (hover: hover) { .branch__meta a:hover { color: var(--gold-deep); } }
.branch__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(1rem, 1.3vw, 1.12rem); font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: transform .45s var(--ease), background-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .45s var(--ease); }
.faq details[open] summary i { background: var(--night); color: var(--paper); border-color: var(--night); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { color: var(--fg-2); max-width: 44em; margin: 0; padding: 0 0 24px; }
.faq details[open] p { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* CTA frame */
.cta { text-align: center; padding: clamp(70px, 10vw, 140px) var(--gutter); }
.cta .label::before { display: none; }
.cta .display { font-size: clamp(2.4rem, 6vw, 5.2rem); margin-bottom: 20px; }
.cta p { color: var(--fg-2); max-width: 32em; margin: 0 auto 32px; font-size: 1.05rem; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Footer */
.site-footer { padding: clamp(50px, 7vw, 80px) 0 26px; }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
.site-footer__mark { width: 52px; margin-bottom: 18px; }
.site-footer__brand p { color: var(--fg-muted); max-width: 22em; font-size: .92rem; }
.regs { display: grid; gap: 8px; margin-top: 18px; }
.reg { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--fg-2); }
.reg .ico { width: 16px; height: 16px; color: var(--gold); }
.site-footer h3 { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer__col li { margin-bottom: 7px; }
.site-footer__col a { color: var(--fg-2); font-size: .92rem; transition: color .3s; }
@media (hover: hover) { .site-footer__col a:hover { color: #fff; } }
.site-footer__branch { font-size: .88rem; color: var(--fg-muted); margin-bottom: 14px; }
.site-footer__branch strong { color: var(--fg); font-weight: 650; }
.site-footer__word { margin: clamp(40px, 7vw, 80px) 0 20px; color: rgba(232,210,160,.1); }
.site-footer__word svg { width: 100%; height: auto; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--fg-muted); }
.site-footer__bottom p { margin: 0; }
.social { display: flex; gap: 8px; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
@media (hover: hover) { .social a:hover { background: var(--gold); color: var(--night); } }
.social .ico { width: 16px; height: 16px; }

/* ---------- Inner pages ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(48px, 6vw, 80px); }
.page-hero .frame__mark { right: -4%; top: 50%; width: min(46vw, 560px); transform: translateY(-50%); opacity: .08; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--fg-muted); margin-bottom: 28px; }
@media (hover: hover) { .crumbs a:hover { color: var(--gold); } }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero__title { font-family: var(--font-display); font-weight: 320; font-size: clamp(2.6rem, 7vw, 6rem); line-height: .98; letter-spacing: -.035em; color: #fbf6ea; max-width: 11em; text-wrap: balance; }
.page-hero__title em { font-style: italic; font-weight: 280; color: var(--gold); }
.page-hero .lead { margin-top: 24px; }
.page-hero .hero__actions { margin-top: 30px; }

.prose p { color: var(--fg-2); font-size: 1.06rem; }
.prose .big { font-family: var(--font-display); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.3; color: var(--fg); font-weight: 360; letter-spacing: -.01em; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mv__card { padding: clamp(26px, 4vw, 44px); border-radius: var(--r-card); }
.mv__card h3, .mv__card .mv__text { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 350; line-height: 1.25; letter-spacing: -.01em; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }

.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.value { padding: 22px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.value b { display: block; font-size: .78rem; color: var(--gold-deep); letter-spacing: .1em; margin-bottom: 36px; }
.value h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; margin-bottom: 8px; }
.value p { color: var(--fg-2); font-size: .88rem; margin: 0; }

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 40px; }
.pillar { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.pillar b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(212,178,94,.14); color: var(--gold); font-size: .82rem; margin-bottom: 26px; }
.pillar h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; margin-bottom: 8px; }
.pillar p { color: var(--fg-muted); font-size: .9rem; margin: 0; }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--fg-2); }
.checks .ico { color: var(--gold-deep); width: 20px; height: 20px; margin-top: 2px; }
.dark .checks .ico { color: var(--gold); }

.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 12px; }
.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 10px 10px 18px; }
.person__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--paper-2); margin-bottom: 16px; }
.person__photo img, .person__photo .monogram { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .person:hover .person__photo img { transform: scale(1.05); } }
.person__role { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin: 0 8px 4px; }
.person__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; margin: 0 8px; }
.person__bio { color: var(--fg-2); font-size: .9rem; margin: 10px 8px 0; }
.leaders .person__name { font-size: 1.6rem; }
.monogram { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #f3ecdd, #e6dcc6); }
.monogram span { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; font-style: italic; color: var(--gold-deep); }

.detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 6vw, 80px); align-items: start; }
.howto li { counter-increment: h; display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.howto { counter-reset: h; border-top: 1px solid var(--line); }
.howto li::before { content: counter(h, decimal-leading-zero); font-family: var(--font-display); color: var(--gold-deep); font-size: 1.4rem; line-height: 1.2; }
.side-card { padding: 28px; position: sticky; top: 110px; }
.side-card h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; margin-bottom: 16px; }
.side-card hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.h-sub { font-family: var(--font-display); font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 360; letter-spacing: -.015em; margin-bottom: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .9rem; }
.tags .ico { width: 16px; height: 16px; color: var(--gold-deep); }

.svc-list { display: grid; gap: 8px; }
.svc-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.3fr) 40px; gap: 20px; align-items: center; padding: 16px 20px 16px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .45s var(--ease), background-color .3s; }
@media (hover: hover) { .svc-row:hover { transform: translateX(6px); } }
.svc-row .bcard__icon { width: 48px; height: 48px; }
.svc-row h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 380; }
.svc-row p { margin: 0; font-size: .9rem; color: var(--fg-2); }
.svc-row .bcard__go { position: static; }
@media (hover: hover) { .svc-row:hover .bcard__go { background: var(--gold); border-color: var(--gold); transform: rotate(45deg); } }

.masonry { columns: 3 280px; column-gap: 12px; }
.masonry__item { break-inside: avoid; margin-bottom: 12px; border-radius: 16px; overflow: hidden; display: block; background: var(--paper-2); cursor: zoom-in; }
.masonry__item img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .masonry__item:hover img { transform: scale(1.04); } }
.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; background: rgba(8,7,5,.94); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; border-radius: 12px; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); }
@media (hover: hover) { .lightbox button:hover { background: var(--gold); color: var(--night); } }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: .8rem; color: #aaa; letter-spacing: .2em; }

.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; align-items: start; }
.map { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper-2); margin-top: 20px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.15); }
.map__load { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--fg-2); font-size: .88rem; }
.map__load .ico { margin: 0 auto 6px; color: var(--gold-deep); }
.form { padding: clamp(22px, 3.4vw, 40px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form__grid .full { grid-column: 1 / -1; }
.input { position: relative; }
.input input, .input textarea { width: 100%; background: var(--paper); border: 1px solid transparent; border-radius: 14px; padding: 24px 16px 10px; outline: 0; transition: border-color .3s, box-shadow .3s, background-color .3s; resize: vertical; font-size: 1rem; }
.input textarea { min-height: 150px; }
.input label { position: absolute; left: 17px; top: 17px; color: var(--fg-muted); pointer-events: none; transition: transform .35s var(--ease), font-size .35s var(--ease), color .3s; }
.input input:focus, .input textarea:focus { border-color: var(--gold-deep); background: #fff; box-shadow: 0 0 0 4px rgba(212,178,94,.18); }
.input input:focus + label, .input input:not(:placeholder-shown) + label, .input textarea:focus + label, .input textarea:not(:placeholder-shown) + label { transform: translateY(-10px); font-size: .72rem; color: var(--gold-deep); }
.hp { position: absolute !important; left: -9999px !important; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.form__foot p { margin: 0; font-size: .8rem; color: var(--fg-muted); max-width: 24em; }
.form__msg { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-size: .92rem; display: none; }
.form__msg.is-ok { display: block; background: #e5f3e8; color: #1f5a34; }
.form__msg.is-err { display: block; background: #f8e6e1; color: #7a2e1f; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 14px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }

.nf { padding: calc(var(--header-h) + 80px) var(--gutter) 90px; text-align: center; }
.nf__code { font-family: var(--font-display); font-size: clamp(7rem, 22vw, 16rem); font-weight: 250; line-height: .9; color: var(--gold); letter-spacing: -.05em; }
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-card); color: var(--fg-2); }

/* ---------- Motion states (JS adds .anim) ---------- */
html.anim [data-rise] { opacity: 0; transform: translateY(34px); }
html.anim [data-fade] { opacity: 0; }
html.anim [data-lines] { visibility: hidden; }
html.anim .hero-frame { transform: translateY(14px); opacity: 0; }
html.anim [data-clip] { opacity: 0; }

/* View transitions between pages (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .32s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease) both; }
::view-transition-group(site-header), ::view-transition-group(action-bar) { animation-duration: 0s; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-14px) scale(.99); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(22px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .site-header__cta .btn--ivory { display: none; }
  .menu-btn { display: grid; }
  .site-header__cta { margin-left: auto; }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillars { grid-template-columns: 1fr 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__top, .hero__cards, .split, .steps-wrap, .trust__grid, .detail, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .photo-card { min-height: 0; aspect-ratio: 4 / 4.2; }
  .steps-sticky, .side-card { position: static; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bcard--wide { grid-column: span 2; }
  .bcard--tall { grid-row: auto; min-height: 380px; }
  .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .site-header__inner { height: 58px; padding: 0 6px 0 16px; }
  .site-header__cta .btn--gold { display: none; }
  .brand__word { width: 100px; }
  .brand__mark { width: 30px; }
  .hero { padding-top: calc(var(--header-h) + 44px); }
  .pill { margin-bottom: 20px; font-size: .78rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero .hero__side .lead { font-size: .95rem; margin-bottom: 14px; }
  .hero .seal { margin-top: 0; }
  .hero__top { row-gap: 20px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 28px 0 4px; scroll-snap-type: x proximity; }
  .chips-wrap { position: relative; margin-bottom: 14px; }
  .chips-wrap::after { content: ""; position: absolute; right: -4px; top: 0; bottom: 0; width: 40px; pointer-events: none; background: linear-gradient(90deg, rgba(255,253,248,0), var(--card) 80%); }
  .cur-more { order: -1; }
  .cur-more select { background: var(--paper-2); border-color: transparent; }
  .chips::-webkit-scrollbar { display: none; }
  .cur-chip, .cur-more { flex: none; }
  .hero .hero__actions { display: none; }
  .hero .seal { margin-top: 16px; }
  .hero__title { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .hero__cards { margin-top: 32px; gap: 10px; }
  .seg span { padding: 8px 10px; font-size: .78rem; }
  .conv__head { flex-direction: column; align-items: stretch; }
  .conv__title { font-size: 1.15rem; }
  .fchip--status { top: auto; bottom: 86px; right: 14px; }
  .fchip--rate { top: 14px; left: 14px; }
  .partners { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 22px; }
  .partners__label { text-align: center; }
  .bento, .branches, .mv, .form__grid { grid-template-columns: minmax(0, 1fr); }
  .bcard--wide { grid-column: auto; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 6px; }
  .tile { padding: 14px 12px 12px; }
  .tile__cur { gap: 8px; margin-bottom: 12px; }
  .tile__cur img { width: 24px; height: 18px; }
  .tile__cur small { display: none; }
  .tile__nums .num { font-size: 1.15rem; }
  .tile__nums { gap: 6px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value h3 { font-size: 1.15rem; hyphens: auto; overflow-wrap: break-word; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 44px minmax(0, 1fr) 36px; gap: 6px 14px; }
  .svc-row p { grid-column: 2; grid-row: 2; }
  .svc-row .bcard__go { grid-column: 3; grid-row: 1 / 3; width: 36px; height: 36px; }
  .site-footer__top { grid-template-columns: 1fr; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
  .lightbox__prev { transform: scaleX(-1); }
}
@media (max-width: 380px) {
  .tiles { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .partners__track { animation: none; }
}

.hero__top--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .hero__top--even { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Typography: Geist ---------- */
.display, .hero__title, .page-hero__title, .tone, .stat b, .step__n, .trust__badge b, .nf__code, .cta .display { font-weight: 500; letter-spacing: -.04em; }
.display em, .display .gold, .hero__title em, .page-hero__title em { font-style: normal; font-weight: 500; }
.tone { font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
.bcard h3, .step h3, .branch h3, .conv__title, .person__name, .value h3, .pillar h3, .svc-row h3, .h-sub, .mv__card h3, .mv__card .mv__text, .photo-card__cap p, .side-card h3, .mobile-menu__list a { font-weight: 500; letter-spacing: -.025em; }
.monogram span { font-style: normal; font-weight: 500; letter-spacing: -.02em; }
.fx-glyphs { font-style: normal; font-weight: 300; }
.stat b, .step__n, .trust__badge b { font-weight: 400; }
body { letter-spacing: -.005em; }

/* ---------- Review fixes: states, overlays, journey ---------- */
.lightbox[hidden], .sheet[hidden] { display: none !important; }
.chips-wrap { margin-bottom: 14px; }
.chips-wrap .chips { margin-bottom: 0; }
.cur-more select { max-width: 11rem; text-overflow: ellipsis; }

/* Rates not updated today */
.pill.is-stale { border-color: rgba(230, 170, 70, .55); }
.pill.is-stale .live-dot { background: #e6a846; }
.pill.is-stale .live-dot::after { border-color: #e6a846; }

/* Journey strip (hero) */
.journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; counter-reset: none; }
.journey a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--fg); font-weight: 600; font-size: .92rem; transition: background-color .3s, border-color .3s; }
@media (hover: hover) { .journey a:hover { background: rgba(255,255,255,.07); border-color: var(--line-2); } }
.journey b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(212,178,94,.16); color: var(--gold); font-size: .8rem; }

/* Board: "Show all" button is for phones only */
.board__more { display: none; margin-top: 10px; }

/* Branch chooser sheet */
.sheet { position: fixed; inset: 0; z-index: 90; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(8,7,5,.55); opacity: 0; transition: opacity .3s var(--ease); }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; background: #16130e; color: #f3ede0; border-radius: 22px 22px 0 0; padding: 18px 16px calc(20px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .4s var(--ease); max-width: 560px; margin: 0 auto; }
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sheet__head h2 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.sheet__x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #f3ede0; }
.sheet__row { display: grid; grid-template-columns: 40px 1fr 20px; gap: 12px; align-items: center; padding: 14px 12px; border-radius: 14px; background: rgba(255,255,255,.05); margin-top: 8px; }
.sheet__row b { display: block; font-weight: 650; }
.sheet__row small { display: block; font-size: .8rem; color: #a89f8c; line-height: 1.35; }
.sheet__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(212,178,94,.14); color: var(--gold); }

@media (max-width: 900px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .journey a { padding: 12px; font-size: .85rem; gap: 10px; }
  .board__more { display: flex; }
  .board:not(.is-expanded) .tile--extra { display: none; }
  /* Compact service list on phones */
  .bento { gap: 8px; grid-auto-rows: auto; }
  .bcard { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 16px 64px 16px 16px; min-height: 0; }
  .bcard > div { flex: 1; min-width: 0; text-align: left; }
  .bcard--fx { min-height: 0; }
  .bcard .bcard__kicker, .bcard p:not(.bcard__kicker) { display: none; }
  .bcard h3, .bcard h2 { font-size: 1.1rem !important; margin: 0 !important; }
  .bcard__icon { width: 42px; height: 42px; flex: none; }
  .bcard__go { top: 50%; transform: translateY(-50%); right: 16px; width: 34px; height: 34px; }
  @media (hover: hover) { .bcard:hover .bcard__go { transform: translateY(-50%) rotate(45deg); } }
  .fx-glyphs { display: none; }
  .bcard--tall { min-height: 0; }
  .bcard--tall .bcard__photo { display: none; }
  .bcard--tall { background: var(--night); }
}
.bcard--tall .bcard__icon { background: rgba(212,178,94,.14); color: var(--gold); }
.team--dept { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (max-width: 760px) { .team--dept { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Partner & bank logos ---------- */
.brand-chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; min-width: 120px; padding: 10px 18px; border-radius: 14px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 20px -14px rgba(0,0,0,.35); }
.brand-chip img { height: 100%; width: auto; max-width: 150px; object-fit: contain; }
.brand-chip__suffix { font-weight: 700; font-size: .9rem; color: #16130e; letter-spacing: -.01em; }
.brand-chip--text { font-weight: 700; font-size: .88rem; color: #16130e; white-space: nowrap; }
.partners li { padding: 0 6px; }
.partners li a { display: block; transition: transform .35s var(--ease); }
@media (hover: hover) { .partners li a:hover { transform: translateY(-3px); } }
.svc-brands { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 -6px; }
.svc-brands .brand-chip { height: 48px; }

.banks-band { padding: 0 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.banks-band__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 28px; }
.banks-band__title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; max-width: 22em; text-wrap: balance; }
.banks-band__title em { font-style: normal; color: var(--gold-deep); }
.banks-band__viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.banks-band__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
@media (hover: hover) { .banks-band__track:hover { animation-play-state: paused; } }
.banks-band ul { display: flex; align-items: center; padding: 6px 0 14px; }
.banks-band li { padding: 0 5px; }

.bank-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.bank-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.bank-card--direct { border-color: var(--gold); box-shadow: inset 0 0 0 1px rgba(212,178,94,.35); }
.bank-card__logo { display: flex; align-items: center; justify-content: center; height: 72px; padding: 12px; border-radius: 12px; background: #fff; }
.bank-card__logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.bank-card__logo--text { font-weight: 700; font-size: .95rem; text-align: center; color: #16130e; }
.bank-card__name { font-weight: 650; font-size: .95rem; }
.bank-card__tag { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b5220; background: rgba(212,178,94,.22); padding: 4px 8px; border-radius: 999px; }
.bank-card__note { font-size: .8rem; color: var(--fg-muted); line-height: 1.4; }
.bank-grid__fine { margin-top: 18px; font-size: .82rem; color: var(--fg-muted); max-width: 60em; }

@media (max-width: 760px) {
  .brand-chip { height: 44px; min-width: 96px; padding: 8px 14px; }
  .brand-chip img { max-width: 120px; }
  .bank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .bank-card__logo { height: 60px; }
  .banks-band__track { animation-duration: 45s; }
}
@media (prefers-reduced-motion: reduce) { .banks-band__track { animation: none; } .banks-band__viewport { overflow-x: auto; } }
.partners li span.brand-chip { margin: 0; font-size: inherit; }
.partners li .brand-chip__suffix { margin: 0; color: #16130e; font-weight: 700; font-size: .9rem; }

@media (max-width: 760px) { .leaders .person__name { font-size: 1.2rem; } }
a.reg { width: fit-content; transition: color .25s var(--ease); }
a.reg:hover, a.reg:focus-visible { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* Partner logos on service cards (our own services keep the gold icon) */
.bcard__logo { display: inline-flex; align-items: center; justify-content: center; gap: 10px; align-self: flex-start; height: 56px; min-width: 132px; max-width: 100%; padding: 10px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 18px -14px rgba(40,30,10,.45); transition: transform .6s var(--ease); flex: none; }
.bcard__logo img { height: 100%; width: auto; max-width: 170px; object-fit: contain; }
.bcard__logo--multi img { max-width: 96px; }
@media (hover: hover) { .bcard:hover .bcard__logo { transform: translateY(-3px); } }
.bcard--dark .bcard__logo, .bcard--tall .bcard__logo { border-color: transparent; }
.svc-row { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.3fr) 40px; }
.svc-row .bcard__logo { height: 48px; min-width: 0; width: 100%; }
@media (max-width: 760px) {
  .bcard__logo { height: 44px; min-width: 0; width: 104px; padding: 8px 10px; border-radius: 12px; }
  .bcard__logo img { max-width: 100%; }
  .bcard__logo--multi { gap: 6px; padding: 6px 8px; }
  .bcard__logo--multi img { max-width: calc(50% - 3px); }
  .svc-row { grid-template-columns: 104px minmax(0, 1fr) 36px; }
  .svc-row .bcard__logo { height: 44px; grid-row: 1 / 3; }
  .svc-row .bcard__icon { grid-row: 1 / 3; }
  .bcard__icon { margin-inline: 0; }
}
@media (max-width: 760px) {
  .bento .bcard__icon, .svc-row .bcard__icon { width: 104px; height: 44px; border-radius: 12px; }
  @media (hover: hover) { .bento .bcard:hover .bcard__icon { transform: none; } }
}
.svc-row .bcard__icon { width: 100%; height: 48px; }
@media (max-width: 760px) {
  .svc-row .bcard__logo, .svc-row .bcard__icon { align-self: start; height: 44px; }
}
/* Bigger tap targets for phone numbers and emails on phones */
@media (max-width: 760px) {
  .branch__meta a { display: inline-block; padding: 10px 0; margin: -10px 0; }
  .branch__meta li { padding-block: 4px; }
}
/* Header stays on screen while scrolling, so make its pill fully solid (no text showing through) */
.site-header.is-scrolled .site-header__inner { background: #0f0d0a; }
/* Once scrolled, a solid ivory band sits behind the top of the header so page content never shows above it */
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * (var(--frame-m) + 8px) - 60px); height: calc(var(--frame-m) + 8px + 60px + 32px); background: var(--paper); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; z-index: -1; }
.site-header.is-scrolled::before { opacity: 1; }
/* Phones: the service list shows every card in the same light style (the dark featured cards are for the desktop grid) */
@media (max-width: 760px) {
  .bento .bcard--fx, .bento .bcard--dark, .bento .bcard--tall, .bento .bcard.dark {
    --fg: #16130e; --fg-2: #4a4337; --fg-muted: #7d7464; --line: rgba(22, 19, 14, .1); --line-2: rgba(22, 19, 14, .18);
    background: var(--card); color: var(--fg); border: 1px solid var(--line);
  }
  .bento .bcard--fx .bcard__kicker, .bento .bcard--dark .bcard__kicker, .bento .bcard--tall .bcard__kicker { color: var(--gold-deep); }
  .bento .bcard--fx .bcard__icon, .bento .bcard--dark .bcard__icon, .bento .bcard--tall .bcard__icon { background: var(--paper); color: var(--gold-deep); }
  .bento .bcard--fx .fx-glyphs { display: none; }
  .bento .bcard--dark .bcard__logo, .bento .bcard--tall .bcard__logo { border-color: var(--line); }
}

/* ---------- Team org chart (About page) ---------- */
.org { --org-line: rgba(166, 138, 82, .55); display: flex; flex-direction: column; align-items: center; margin-top: 8px; }
.org__level { position: relative; display: flex; justify-content: center; width: 100%; }
.org__level + .org__level, .org__level + .org__branches { margin-top: 44px; }
.org__level + .org__level::before, .org__level + .org__branches::before { content: ""; position: absolute; left: 50%; top: -44px; height: 44px; width: 1px; background: var(--org-line); }
.person--org { text-align: left; }
.person--lead { width: min(300px, 100%); }
.person--lead .person__name { font-size: 1.45rem; }
.org__group { flex-direction: column; align-items: center; background: var(--paper-2); border: 1px solid var(--line); border-radius: 26px; padding: 22px 22px 26px; max-width: 1080px; }
.org__tag { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 14px; text-align: center; }
.org__row { display: grid; gap: 12px; justify-content: center; width: 100%; }
.org__group .org__row { grid-template-columns: repeat(auto-fit, minmax(150px, 180px)); }
.org__branches { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; }
/* horizontal line joining the two branch columns */
.org__branches::after { content: ""; position: absolute; top: -22px; left: 25%; right: 25%; height: 1px; background: var(--org-line); }
.org__branches::before { height: 22px !important; }
.org__branch { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 22px 18px 24px; }
.org__branch::before { content: ""; position: absolute; left: 50%; top: -23px; height: 22px; width: 1px; background: var(--org-line); }
.org__branch-head { text-align: center; margin-bottom: 18px; }
.org__branch-head .org__tag { margin-bottom: 6px; }
.org__branch-head h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 500; letter-spacing: -.025em; margin: 0; }
.org__addr { font-size: .85rem; color: var(--fg-muted); margin: 4px 0 0; }
.org__row--mgr { grid-template-columns: repeat(auto-fit, minmax(150px, 200px)); }
.org__sub { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); text-align: center; margin: 22px 0 12px; display: flex; align-items: center; gap: 12px; }
.org__sub::before, .org__sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.org__row--tellers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.person--sm { padding: 8px 8px 14px; }
.person--sm .person__photo { margin-bottom: 12px; border-radius: 12px; }
.person--sm .person__name { font-size: 1.02rem; }
.person--sm .person__role { font-size: .62rem; margin-bottom: 3px; }
.person--mgr .person__name { font-size: 1.12rem; }
@media (max-width: 900px) {
  .org__branches { grid-template-columns: 1fr; gap: 44px; }
  .org__branches::after { display: none; }
  .org__branch + .org__branch::before { top: -45px; height: 44px; }
}
@media (max-width: 760px) {
  .org__level + .org__level, .org__level + .org__branches { margin-top: 32px; }
  .org__level + .org__level::before, .org__level + .org__branches::before { top: -32px; height: 32px; }
  .org__branches::before { height: 32px !important; }
  .person--lead { width: min(240px, 72%); }
  .org__group { padding: 18px 12px 20px; border-radius: 22px; }
  .org__group .org__row, .org__row--mgr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org__row--tellers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org__branch { padding: 18px 12px 20px; border-radius: 22px; }
  .org__branch::before { top: -33px; height: 32px; }
}
@media (max-width: 760px) {
  .person--lead { width: min(190px, 52%); }
  .person--lead .person__name { font-size: 1.1rem; }
  .org__group .org__row, .org__row--tellers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .org__row--mgr { grid-template-columns: repeat(auto-fit, minmax(0, 150px)); gap: 8px; }
  .person--sm { padding: 5px 5px 10px; border-radius: 16px; }
  .person--sm .person__photo { margin-bottom: 8px; border-radius: 10px; }
  .person--sm .person__name { font-size: .82rem; margin: 0 4px; line-height: 1.2; }
  .person--sm .person__role { font-size: .5rem; letter-spacing: .08em; margin: 0 4px 3px; }
  .person--mgr .person__name { font-size: .95rem; }
  .person--mgr .person__role { font-size: .56rem; letter-spacing: .08em; }
}
/* Per-branch rows in the contact-page hours table */
.hours .hours__branch th { text-align: left; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding-top: 16px; }
.hours .hours__branch:first-child th { padding-top: 0; }
.org__branches { align-items: start; }
/* Keyboard focus on the converter amount */
.amount input:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 10px; }

/* ---------- Converter: "All" currencies button, currency sheet, bill size ---------- */
.cur-chip--all { gap: 6px; padding: 0 10px 0 12px; background: var(--paper-2); border-color: transparent; }
.cur-chip--all[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.cur-chip--all .ico { width: 14px; height: 14px; flex: none; }
[data-cur-all-label] { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
[data-cur-all-label] img { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; }
.sheet__list { max-height: min(62vh, 520px); overflow-y: auto; overscroll-behavior: contain; margin: 0 -4px; padding: 0 4px 4px; }
.cur-row { width: 100%; text-align: left; color: inherit; font: inherit; border: 1px solid transparent; cursor: pointer; transition: background-color .25s, border-color .25s; }
.cur-row__flag { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); }
.cur-row__flag img { width: 26px; height: 19px; border-radius: 3px; object-fit: cover; }
.cur-row__tick { width: 20px; height: 20px; color: var(--gold); opacity: 0; transition: opacity .25s; }
.cur-row[aria-pressed="true"] { border-color: rgba(212,178,94,.45); background: rgba(212,178,94,.1); }
.cur-row[aria-pressed="true"] .cur-row__tick { opacity: 1; }
@media (hover: hover) { .cur-row:hover { background: rgba(255,255,255,.09); } }
.cur-row:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.bills { margin: 14px 0 2px; }
.bills[hidden] { display: none; }
.bills__q { font-size: .8rem; font-weight: 600; color: var(--fg-muted); margin: 0 0 8px; }
.bills__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bills label { position: relative; cursor: pointer; }
.bills input { position: absolute; opacity: 0; pointer-events: none; }
.bills span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 7px 10px; border-radius: 14px; border: 1px solid var(--line-2); text-align: center; line-height: 1.25; transition: background-color .3s, color .3s, border-color .3s; }
.bills b { font-size: .85rem; font-weight: 700; }
.bills small { font-size: .72rem; color: var(--fg-muted); transition: color .3s; }
.bills input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.bills input:checked + span small { color: rgba(255,255,255,.72); }
.bills input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Result line: wrap as a whole, never inside the amount or the rate */
.result { flex-wrap: wrap; row-gap: 6px; }
.result__value, .result__rate { white-space: nowrap; }
.result__rate { margin-left: auto; }

@media (max-width: 760px) {
  /* Phone: the six currency buttons sit in a tidy 3 × 2 grid instead of a scroller */
  .chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; margin: 0; padding: 0; }
  .chips-wrap::after { display: none; }
  .cur-chip { justify-content: center; padding: 0 8px; }
}

/* ---------- Header: docks to the top as a full-width bar once you scroll ---------- */
.site-header { top: 0; }
.site-header__inner {
  margin-top: calc(var(--frame-m) + 8px);
  transition: background-color .5s var(--ease), border-color .5s, box-shadow .5s, transform .5s var(--ease),
              margin .5s var(--ease), width .5s var(--ease), max-width .5s var(--ease), height .5s var(--ease),
              border-radius .5s var(--ease), padding .5s var(--ease);
}
.site-header.is-scrolled .site-header__inner {
  margin-top: 0; width: 100%; max-width: 100%;
  height: calc(68px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top);
  padding-left: max(22px, calc((100% - var(--wrap)) / 2)); padding-right: max(12px, calc((100% - var(--wrap)) / 2 - 10px));
  border-radius: 0 0 26px 26px; background: #0f0d0a;
  border-color: transparent; border-bottom-color: rgba(212,178,94,.38);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.6);
}
@media (max-width: 760px) {
  .site-header.is-scrolled .site-header__inner { height: calc(62px + env(safe-area-inset-top)); padding-left: 16px; padding-right: 6px; border-radius: 0 0 22px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header__inner { transition: none; }
}
