/* The Peoples Bank of Bullitt County */
:root {
  --ink: #1b2420;
  --muted: #56635c;
  --line: #d6dcd4;
  --paper: #ffffff;
  --stone: #eff1ea;
  --green: #125c45;
  --green-deep: #0c3b2e;
  --green-night: #08271f;
  --brand: #009966;
  --tan: #b08a5a;
  --tan-dark: #86663d;
  --tan-light: #efe3cc;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(56px, 7vw, 104px);
  --radius: 8px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--green-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -.005em; margin: 0; color: var(--green-deep); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.2rem; line-height: 1.3; margin: 0; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
small { font-size: .7em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; }
.skip:focus { left: 16px; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- topbar + header */
.topbar { background: var(--green-deep); color: #cddbd3; font-size: .875rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding-block: .45rem; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; margin-left: .35em; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand .mark { width: 29px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.02; }
.brand__name { font-family: var(--serif); font-size: 1.42rem; color: var(--green-deep); letter-spacing: -.01em; }
.brand__sub { font-family: var(--serif); font-style: italic; font-size: .98rem; color: var(--tan-dark); margin-top: 2px; }
.brand:hover .brand__name { color: var(--green); }

.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__list > li > a, .nav__sub-toggle {
  display: flex; align-items: center; gap: 4px;
  padding: .6rem .8rem; border-radius: 4px;
  font: 500 .98rem/1.2 var(--sans); color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav__list > li > a:hover, .nav__sub-toggle:hover { background: var(--stone); color: var(--green-deep); }
.nav__list > li > a[aria-current="page"], .has-sub.is-current > .nav__sub-toggle { color: var(--green); box-shadow: inset 0 -2px 0 var(--tan); border-radius: 4px 4px 0 0; }
.ic--chev { width: 1em; height: 1em; transition: transform .15s; }
.has-sub { position: relative; }
.nav__sub {
  list-style: none; display: none;
  position: absolute; right: 0; top: 100%; min-width: 320px; padding: .4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 14px 32px -12px rgba(12, 59, 46, .25);
}
.nav__sub a { display: block; padding: .55rem .75rem; border-radius: 4px; color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.nav__sub a:hover { background: var(--stone); color: var(--green-deep); }
.nav__sub a[aria-current="page"] { color: var(--green); font-weight: 600; }
.has-sub.is-open .nav__sub { display: block; }
.has-sub.is-open .ic--chev { transform: rotate(180deg); }
.nav-toggle { display: none; }

@media (min-width: 1100px) {
  .has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { display: block; }
  .has-sub:hover .ic--chev { transform: rotate(180deg); }
}
@media (max-width: 1099px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 4px;
    background: #fff; color: var(--green-deep); font: 600 .95rem/1 var(--sans); cursor: pointer;
  }
  .nav-toggle .ic--close { display: none; }
  .nav-toggle[aria-expanded="true"] .ic--open { display: none; }
  .nav-toggle[aria-expanded="true"] .ic--close { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(12, 59, 46, .35);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__list > li:last-child { border-bottom: 0; }
  .nav__list > li > a, .nav__sub-toggle { width: 100%; justify-content: space-between; padding: .95rem .25rem; font-size: 1.05rem; border-radius: 0; }
  .nav__list > li > a[aria-current="page"], .has-sub.is-current > .nav__sub-toggle { box-shadow: inset 3px 0 0 var(--tan); padding-left: .85rem; }
  .ic--chev { width: 1.25em; height: 1.25em; }
  .nav__sub { position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 .75rem .75rem; }
  .nav__sub a { padding: .7rem .5rem; font-size: 1rem; }
}
@media (max-width: 480px) {
  .brand__name { font-size: 1.22rem; }
  .brand__sub { font-size: .88rem; }
  .brand .mark { width: 25px; height: 36px; }
  .nav-toggle span { display: none; }
  .topbar__in p:last-child { display: none; }
}

/* ---------- buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.3rem; border-radius: 4px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
}
.btn .ic { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-deep); color: #fff; text-decoration: none; }
.btn--ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn--ghost:hover { background: var(--green); color: #fff; text-decoration: none; }
.btn--light { background: var(--tan-light); color: var(--green-deep); }
.btn--light:hover { background: #fff; color: var(--green-deep); text-decoration: none; }

/* ---------- bands */
.band { padding-block: var(--band); }
.band--stone { background: var(--stone); }
.band--doc { padding-block: clamp(48px, 6vw, 88px); }
.band--deep { background: var(--green-deep); color: #d5e2da; }
.band--deep h2, .band--deep h3 { color: #fff; }
.band--deep a:not(.btn) { color: var(--tan-light); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: clamp(1.9rem, 1.35rem + 1.7vw, 2.6rem); }
.section-head p { margin-top: .75rem; color: var(--muted); font-size: 1.1rem; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.more { font-weight: 600; }

/* ---------- arch frame (echoes the Main Office portico) */
.arch { position: relative; }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }
.arch::before {
  content: ""; position: absolute; z-index: 0;
  inset: -14px -14px 0 14px;
  border: 1.5px solid var(--tan); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.arch img { position: relative; z-index: 1; }

/* ---------- hero (home) */
.hero { background: var(--stone); padding-top: clamp(40px, 6vw, 84px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero__text { padding-bottom: clamp(44px, 6vw, 96px); }
.hero h1 { font-size: clamp(2.3rem, 1.2rem + 3.6vw, 3.9rem); line-height: 1.06; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 44ch; margin-top: 1.25rem; }
.arch--hero { max-width: 470px; justify-self: end; width: 100%; margin-right: 14px; }
.arch--hero img { aspect-ratio: 1 / 1.08; object-position: 42% 50%; }
.arch--hero figcaption {
  position: absolute; z-index: 2; left: -28px; bottom: 28px;
  background: #fff; padding: .7rem 1rem .75rem; border-left: 3px solid var(--tan);
  box-shadow: 0 12px 28px -14px rgba(12, 59, 46, .45);
  font: 600 .95rem/1.3 var(--sans); color: var(--green-deep);
}
.arch--hero figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }

/* ---------- page head (inner pages) */
.page-head { background: var(--stone); padding-top: clamp(32px, 4vw, 56px); overflow: hidden; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-head__text { padding-bottom: clamp(36px, 5vw, 64px); }
.page-head h1 { font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.4rem); line-height: 1.08; max-width: 20ch; }
.arch--head { width: 100%; max-width: 280px; justify-self: end; margin-right: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }

/* ---------- split + rate board */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split__text { padding-top: clamp(8px, 2vw, 32px); }
.split--rates { align-items: stretch; }
.split--rates .split__text { display: flex; flex-direction: column; padding-bottom: 8px; }
.mini { margin-top: auto; padding-top: 2rem; }
.mini h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--green-deep); padding-bottom: .65rem; border-bottom: 2px solid var(--tan); }
.mini__list { list-style: none; }
.mini__list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.mini__list span { font-weight: 600; }
.mini__list small { display: block; font-size: .88rem; font-weight: 400; color: var(--muted); margin-top: 1px; }
.mini__list b { font: 600 1.3rem/1 var(--sans); color: var(--green-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini .actions { margin-top: 1.5rem; }
.split__text h2 { font-size: clamp(1.9rem, 1.35rem + 1.7vw, 2.6rem); }
.split__text p { margin-top: 1rem; color: var(--muted); max-width: 46ch; }

.board {
  position: relative;
  background-color: var(--green-deep);
  background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 7px);
  color: #dfe9e3; border-radius: 10px;
  padding: clamp(18px, 3vw, 36px) clamp(18px, 3vw, 40px);
  box-shadow: 0 0 0 3px var(--tan), 0 0 0 8px var(--green-night), 0 28px 50px -24px rgba(8, 39, 31, .6);
  margin: 8px;
}
.board__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.board__table thead th { font: 500 .85rem/1.3 var(--sans); color: #a9c3b6; text-align: left; padding: 0 0 .8rem; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.board__table tbody th, .board__table td { padding: .78rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); text-align: left; font-weight: 400; vertical-align: middle; }
.board__table tbody tr:last-child th, .board__table tbody tr:last-child td { border-bottom: 0; }
.board__acct { display: block; color: #fff; font-size: 1.02rem; }
.board__min { display: block; color: #a9c3b6; font-size: .88rem; margin-top: 1px; }
.board__table .board__apy { text-align: right; white-space: nowrap; padding-left: 1rem; }
.board__table td.board__apy { font: 600 1.45rem/1 var(--sans); color: var(--tan-light); letter-spacing: .01em; }
.board__table td.board__apy small { font-weight: 500; font-size: .62em; margin-left: 2px; color: #cdb892; }
.board__group th { font-family: var(--serif); font-size: 1.12rem; color: var(--tan-light) !important; padding: 1.5rem 0 .55rem !important; border-bottom: 1px solid rgba(239, 227, 204, .35) !important; }
.board__table tbody tr.board__group:first-child th { padding-top: .9rem !important; }
.board__group + tr th, .board__group + tr td { border-top: 0; }

/* ---------- hours schedule */
.hours { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2.5vw, 28px) clamp(16px, 3vw, 36px) clamp(18px, 2.5vw, 28px); }
.hours__axis, .hours__row { display: grid; grid-template-columns: 8.5rem 13rem minmax(0, 1fr); gap: 0 1.25rem; align-items: center; }
.hours__axis { grid-template-columns: calc(8.5rem + 13rem + 1.25rem) minmax(0, 1fr); padding-bottom: .5rem; }
.hours__ticks { position: relative; height: 1.2rem; font-size: .8rem; color: var(--muted); }
.hours__ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.hours__ticks span:first-child { transform: none; }
.hours__ticks span:last-child { transform: translateX(-100%); }
.hours__list { list-style: none; }
.hours__row { padding: .7rem 0; border-top: 1px solid var(--line); position: relative; }
.hours__day { font-family: var(--serif); font-size: 1.12rem; color: var(--green-deep); }
.hours__time { font-variant-numeric: tabular-nums; font-size: .98rem; }
.hours__row.is-closed .hours__time { color: var(--muted); }
.hours__track {
  position: relative; height: 12px; border-radius: 6px;
  background: repeating-linear-gradient(90deg, var(--stone) 0 calc(20% - 1px), #dfe4da calc(20% - 1px) 20%);
}
.hours__bar { position: absolute; top: 0; bottom: 0; background: var(--green); border-radius: 6px; }
.hours__row.is-today .hours__day { color: var(--tan-dark); }
.hours__row.is-today .hours__day::after { content: "Today"; margin-left: .6rem; font: 600 .75rem/1 var(--sans); color: var(--tan-dark); vertical-align: middle; }
.hours__row.is-today .hours__bar { background: var(--tan-dark); }
.hours__note { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.hours__note .ic { color: var(--tan-dark); }

/* ---------- panels */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.band--stone .panel { border-color: transparent; }
.panel__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--stone); color: var(--green); margin-bottom: 1.25rem; }
.band--stone .panel__icon { background: var(--tan-light); color: var(--green-deep); }
.panel__icon .ic { width: 26px; height: 26px; }
.panel h3, .panel__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); color: var(--green-deep); line-height: 1.2; }
.panel p { margin-top: .9rem; max-width: 56ch; }
.panel__big { font: 600 1.25rem/1.35 var(--sans); color: var(--green-deep); }
.panel__big a { white-space: nowrap; }
.panel__link { font-weight: 600; }
.panel__link a { display: inline-flex; align-items: center; gap: .4rem; }
.panel__link .ic { width: 1em; height: 1em; }
.panel__fine { font-size: .92rem; color: var(--muted); }


.tiles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.tile {
  display: flex; flex-direction: column; height: 100%;
  padding: 1.35rem 1.5rem 1.4rem; background: #fff; border-radius: var(--radius);
  border: 1px solid transparent; border-top: 3px solid var(--tan);
  color: var(--ink); text-decoration: none;
}
.tile:hover { border-color: var(--green); border-top-color: var(--green); color: var(--ink); text-decoration: none; }
.tile__group { font-size: .85rem; font-weight: 600; color: var(--tan-dark); }
.tile__name { font-family: var(--serif); font-size: 1.32rem; line-height: 1.25; color: var(--green-deep); margin-top: .45rem; }
.tile:hover .tile__name { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.tile__fact { margin-top: auto; padding-top: .9rem; color: var(--muted); font-size: .95rem; }

/* ---------- branch row (home) */
.branch-row { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.bcard { display: flex; flex-direction: column; align-items: flex-start; }
.bcard__link { display: block; width: 100%; text-decoration: none; color: inherit; }
.bcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; margin-bottom: .85rem; }
.bcard__name { display: block; font-family: var(--serif); font-size: 1.12rem; line-height: 1.25; color: var(--green-deep); }
.bcard__link:hover .bcard__name { text-decoration: underline; text-underline-offset: .18em; }
.bcard__town { display: block; color: var(--muted); font-size: .92rem; margin-top: .3rem; }
.bcard__tel { display: inline-block; margin-top: auto; padding-top: .3rem; font-weight: 600; font-size: .95rem; }

/* ---------- deposit insurance band */
.insure { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.insure h2 { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.4rem); }
.insure__main p { margin-top: 1.1rem; max-width: 62ch; }
.insure__side { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.gov { padding: 1.4rem 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.gov h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.gov p { margin-top: .5rem; }

/* ---------- document layout (products) */
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .95rem; }
.toc__title { font-weight: 600; color: var(--green-deep); padding-bottom: .6rem; border-bottom: 2px solid var(--tan); margin-bottom: .4rem; }
.toc ul { list-style: none; }
.toc > ul > li > a { display: block; padding: .5rem 0 .2rem; font-weight: 600; color: var(--green-deep); text-decoration: none; }
.toc ul ul a { display: block; padding: .22rem 0 .22rem .8rem; color: var(--muted); text-decoration: none; border-left: 1px solid var(--line); line-height: 1.35; }
.toc a:hover { color: var(--green); text-decoration: underline; }
.doc__main { min-width: 0; }
.pgroup { padding-bottom: clamp(24px, 3vw, 40px); }
.pgroup + .pgroup { padding-top: clamp(28px, 4vw, 48px); border-top: 2px solid var(--green-deep); }
.pgroup > h2 { font-size: clamp(1.8rem, 1.35rem + 1.4vw, 2.4rem); margin-bottom: .5rem; }
.pgroup__intro { margin-top: .75rem; }
.pgroup__more { margin-top: 1.25rem; font-weight: 600; }
.product { padding-block: clamp(22px, 3vw, 34px); }
.product + .product { border-top: 1px solid var(--line); }
.product h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 1.25rem + .5vw, 1.65rem); color: var(--green-deep); }
.product__sub { margin-top: 2rem; font-size: 1.35rem !important; }
.specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px;
  margin-top: 1.1rem; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.specs > div { background: #fff; padding: .95rem 1.1rem 1rem; display: flex; flex-direction: column; justify-content: space-between; gap: .35rem; }
.specs dt { font-size: .88rem; line-height: 1.35; color: var(--muted); }
.specs dd { font: 600 1.25rem/1.2 var(--sans); color: var(--green-deep); font-variant-numeric: tabular-nums; }
.notes { list-style: none; margin-top: 1rem; }
.notes li { position: relative; padding-left: 1.35rem; margin-top: .55rem; max-width: 68ch; }
.notes li::before { content: ""; position: absolute; left: 0; top: .78em; width: .6rem; height: 2px; background: var(--tan); }
.terms { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 1rem 0 1.5rem; }
.terms li { display: flex; align-items: baseline; gap: .35rem; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--stone); font-size: .92rem; color: var(--muted); }
.terms span { font: 600 1.2rem/1 var(--sans); color: var(--green-deep); }
.fine { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.fine p + p { margin-top: .35rem; }

/* ---------- data tables */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.data-table caption { text-align: left; font-family: var(--serif); font-size: 1.35rem; color: var(--green-deep); padding-bottom: .8rem; }
.data-table th, .data-table td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--green-deep); color: #fff; font-weight: 600; font-size: .95rem; vertical-align: middle; }
.data-table thead td { background: var(--green-deep); }
.data-table thead tr > :first-child { border-radius: var(--radius) 0 0 0; }
.data-table thead tr > :last-child { border-radius: 0 var(--radius) 0 0; }
.data-table tbody th { font-weight: 600; color: var(--green-deep); width: 26%; }
.data-table tbody tr:nth-child(even) { background: #f7f8f4; }
@media (max-width: 720px) {
  .data-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table--stack, .data-table--stack tbody, .data-table--stack tr, .data-table--stack th, .data-table--stack td { display: block; width: 100%; }
  .data-table--stack tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: #fff !important; }
  .data-table--stack tbody th { background: var(--stone); border-bottom: 1px solid var(--line); width: 100%; }
  .data-table--stack td { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
  .data-table--stack td:last-child { border-bottom: 0; }
  .data-table--stack td::before { content: attr(data-label); font-size: .85rem; color: var(--muted); flex: 0 0 42%; }
  .data-table.data-table--stack caption:not(.sr) { display: block; width: 100%; }
  .data-table.data-table--stack tbody th { width: 100%; }
}

/* ---------- ledger (fees) */
.ledger { list-style: none; margin-top: .9rem; max-width: 720px; }
.ledger li { display: flex; align-items: baseline; gap: .6rem; padding: .55rem 0; }
.ledger__dots { flex: 1; border-bottom: 1.5px dotted #a4b1a9; transform: translateY(-.25em); min-width: 1.5rem; }
.ledger__amt { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--green-deep); flex: none; }

/* ---------- rates page */
.rates-boards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.rates__notes { margin-top: clamp(40px, 5vw, 64px); background: var(--stone); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); }
.rates-boards .board { display: flex; flex-direction: column; }
.rates-boards .board__table { flex: 1; height: 100%; }
.notes--cols { columns: 2; column-gap: 56px; }
.notes--cols li { break-inside: avoid; }
.rates__notes h2 { font-size: 1.6rem; }
.rates__notes .notes li { font-size: .97rem; }
.rates__more { margin-top: 1.5rem; }

/* ---------- branches page */
.branch-list { display: grid; gap: 0; }
.branch { display: grid; grid-template-columns: 320px minmax(0, 1fr) 230px; gap: clamp(20px, 3vw, 44px); padding-block: clamp(28px, 3.5vw, 44px); border-top: 1px solid var(--line); align-items: start; scroll-margin-top: calc(var(--header-h) + 16px); }
.branch:first-child { border-top: 0; padding-top: 0; }
.branch__photo { width: 320px; max-width: 100%; border-radius: 6px; }
.branch h2 { font-size: clamp(1.55rem, 1.3rem + .8vw, 2rem); margin-bottom: 1rem; }
.branch.branch--main { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--stone); border-radius: var(--radius); padding: clamp(16px, 2vw, 24px); align-items: center; margin-bottom: clamp(16px, 2vw, 24px); }
.branch--main .branch__photo { width: 100%; }
.branch--main + .branch { border-top: 0; }
.clist { list-style: none; display: grid; gap: .55rem; }
.clist li { display: flex; gap: .7rem; align-items: flex-start; }
.clist .ic { color: var(--tan-dark); margin-top: .18em; }
.clist a { font-weight: 600; }
.manager { display: flex; align-items: center; gap: 1rem; }
.manager__face { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--tan); }
.manager__face--ini { display: grid; place-items: center; background: var(--stone); font-family: var(--serif); font-size: 1.7rem; color: var(--green-deep); }
.manager p { font-size: .92rem; color: var(--muted); line-height: 1.35; }
.manager strong { display: block; font-size: 1.02rem; color: var(--ink); font-weight: 600; }

/* ---------- contact page */
.ccards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.ccard--main { grid-row: span 2; background: var(--stone); border-color: var(--stone); border-top-color: var(--green); padding: 1.8rem; }
.ccard--main h2 { font-size: 1.8rem; margin-bottom: 1.25rem; }
.ccard--main { display: flex; flex-direction: column; }
.ccard--main .clist { font-size: 1.08rem; gap: .8rem; }
.ccard--main img { margin-top: auto; padding-top: 1.25rem; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.ccard { border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; }
.ccard h2 { font-size: 1.35rem; margin-bottom: 1rem; }

/* ---------- links page */
.lcards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.lcard { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; height: 100%; }
.lcard:hover { border-color: var(--green); background: var(--stone); color: var(--ink); text-decoration: none; }
.lcard__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--stone); color: var(--green); }
.lcard:hover .lcard__icon { background: #fff; }
.lcard__icon .ic { width: 28px; height: 28px; }
.lcard__name { display: block; font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; color: var(--green-deep); }
.lcard__url { display: block; font-size: .9rem; color: var(--muted); margin-top: .2rem; }
.lcard__ext { color: var(--tan-dark); }
.leaving { margin-top: 2rem; color: var(--muted); font-size: .95rem; max-width: 70ch; padding-left: 1rem; border-left: 3px solid var(--tan); }

/* ---------- privacy facts */
.facts__title { display: grid; grid-template-columns: 170px minmax(0, 1fr); border-bottom: 2px solid var(--green-deep); margin-bottom: 1.5rem; }
.facts__tag { display: grid; place-items: center start; background: var(--green-deep); color: #fff; font-family: var(--serif); font-size: 2rem; padding: .75rem 1.25rem; }
.facts__title h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); padding: .75rem 1.25rem; }
.facts__grid > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.facts__grid dt { background: var(--green); color: #fff; font-family: var(--serif); font-size: 1.35rem; padding: 1rem 1.25rem; }
.facts__grid dd { padding: 1rem 1.25rem; align-self: center; }
.facts__grid dd p + p, .facts__grid dd ul + p { margin-top: .75rem; }
.facts__grid--light dt { background: var(--stone); color: var(--green-deep); font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.4; }
.facts__grid--light > div { grid-template-columns: 280px minmax(0, 1fr); }
.facts__reasons { margin: 2rem 0 1.5rem; }
.facts__reasons tbody th { width: 52%; font-weight: 400; color: var(--ink); }
.facts__reasons tbody th strong { color: var(--green-deep); }
.facts__reasons td { white-space: nowrap; }
.facts__h { font-size: clamp(1.5rem, 1.25rem + .8vw, 1.9rem); margin: 2.25rem 0 1rem; }

/* ---------- MLO */
.mlo__intro { font-family: var(--sans); font-size: 1.15rem; font-weight: 500; color: var(--ink); line-height: 1.4; }
.mlo__grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); margin-top: 1.5rem; }
.mlo__grid li { display: flex; flex-direction: column; gap: .4rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-left: 3px solid var(--tan); border-radius: var(--radius); }
.mlo__name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; color: var(--green-deep); }
.mlo__id { font-size: .92rem; color: var(--muted); }
.mlo__id b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; margin-left: .25rem; }

/* ---------- FDIC pages */
.fdic-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2.5vw, 28px); align-items: stretch; }
.fdic-grid--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fdic-card { background: var(--stone); border-color: var(--stone); }
.fdic-card img { mix-blend-mode: multiply; margin-bottom: 1.25rem; }
.fdic-card { display: flex; flex-direction: column; }
.fdic-card__photo { flex: 1 1 0; min-height: 100px; position: relative; margin-top: 1.5rem; }
.fdic-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 45%; border-radius: 6px; margin: 0; mix-blend-mode: normal; }

/* ---------- footer */
.site-footer { background: var(--green-night); color: #b9ccc2; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 48px); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: #d7bd93; }
.footer__brand p { margin-top: 1.2rem; line-height: 1.6; }
.footer__hours { margin-top: 1.4rem; display: grid; gap: .45rem; font-size: .9rem; }
.footer__hours div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .75rem; }
.footer__hours dt { color: #fff; }
.footer__title { font-family: var(--serif); font-size: 1.15rem; color: #fff; margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.footer__list { list-style: none; display: grid; gap: .55rem; }
.footer__list--branches li { display: grid; gap: 1px; }
.footer__list--branches span { font-size: .88rem; }
.footer__list--branches span a { color: #cfe0d6; }
.footer__legal { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; padding-block: 1.75rem 2.25rem; border-top: 1px solid rgba(255, 255, 255, .15); }
.badges { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 6px; padding: 8px 12px; }
.footer__notice { font-size: .82rem; line-height: 1.55; color: #9fb5aa; max-width: 110ch; }
.footer__notice p + p { margin-top: .5rem; }

/* ---------- responsive */
@media (max-width: 1100px) {
  .branch-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lcards { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branch { grid-template-columns: 280px minmax(0, 1fr); }
  .branch__photo { width: 280px; }
  .branch .manager { grid-column: 2; }
  .hours__axis, .hours__row { grid-template-columns: 7.5rem 12rem minmax(0, 1fr); }
  .hours__axis { grid-template-columns: calc(7.5rem + 12rem + 1.25rem) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .hero__grid, .split, .insure, .rates, .doc { grid-template-columns: minmax(0, 1fr); }
  .hero__text { padding-bottom: 0; }
  .arch--hero { justify-self: start; max-width: 420px; margin: 8px 0 0 14px; }
  .arch--hero figcaption { left: auto; right: -14px; }
  .page-head__grid { grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; }
  .arch--head { max-width: 190px; }
  .tiles, .mlo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles li:last-child, .mlo__grid li:last-child { grid-column: 1 / -1; }
  .rates-boards, .fdic-grid, .fdic-grid--even { grid-template-columns: minmax(0, 1fr); }
  .fdic-card__photo { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .split--rates .split__text { padding-bottom: 0; }
  .mini { margin-top: 0; }
  .toc { position: static; }
  .toc ul ul { display: none; }
  .toc > ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .toc > ul > li > a { padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; }
  .duo, .lcards { grid-template-columns: minmax(0, 1fr); }
  .ccards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ccard--main { grid-row: auto; grid-column: 1 / -1; }
  .branch.branch--main { grid-template-columns: minmax(0, 1fr); }
  .hours__axis { display: none; }
  .hours__row { grid-template-columns: 7rem minmax(0, 1fr); row-gap: .45rem; }
  .hours__track { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .page-head__grid { grid-template-columns: minmax(0, 1fr); }
  .page-head__text { padding-bottom: 8px; }
  .arch--head { justify-self: end; max-width: 150px; margin-top: -8px; }
  .branch-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branch { grid-template-columns: minmax(0, 1fr); }
  .branch__photo { width: 100%; max-width: 420px; }
  .branch .manager { grid-column: auto; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .ccards { grid-template-columns: minmax(0, 1fr); }
  .tiles, .mlo__grid { grid-template-columns: minmax(0, 1fr); }
  .notes--cols { columns: 1; }
  .footer__legal { grid-template-columns: minmax(0, 1fr); }
  .badges { justify-self: start; }
  .facts__title, .facts__grid > div, .facts__grid--light > div { grid-template-columns: minmax(0, 1fr); }
  .facts__tag { font-size: 1.6rem; }
  .facts__reasons td { white-space: normal; }
}
@media (max-width: 640px) {
  .arch--hero { max-width: 330px; }
  .arch--hero figcaption { left: -12px; right: auto; bottom: 18px; }
}
@media (max-width: 420px) {
  .branch-row { grid-template-columns: minmax(0, 1fr); }
  .bcard img { aspect-ratio: 2.2 / 1; }
  .board__table td.board__apy { font-size: 1.25rem; }
  .arch--hero { max-width: 290px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
