
/* =========================================================
   Western Alliance BANK — design tokens
   Palette carried over from client brief:
     ink navy #003366 / signal blue #00a3e0 / ledger gold #c9a227
   + paper neutrals added for a statement / ledger feel
========================================================= */
:root{
  --ink:        #003366;
  --ink-2:      #004d99;
  --signal:     #00a3e0;
  --signal-dk:  #0077b3;
  --gold:       #c9a227;
  --gold-dk:    #a4831c;
  --text:       #1a1a1a;
  --text-soft:  #5c6570;
  --paper:      #faf8f2;
  --paper-2:    #f2efe6;
  --white:      #ffffff;
  --line:       #e2e0d6;
  --line-dk:    rgba(255,255,255,.14);
  --up:         #2d8a4e;
  --radius:     2px;
  --radius-lg:  4px;
  --ease:       cubic-bezier(.22,.68,.15,1);
  --shadow:     0 1px 2px rgba(0,20,40,.06), 0 8px 24px rgba(0,20,40,.06);
  --shadow-lg:  0 20px 60px rgba(0,20,40,.16);
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'IBM Plex Sans', system-ui, sans-serif;
  color:var(--text);
  background:var(--paper);
  line-height:1.6;
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit; cursor:pointer;}
::selection{background:var(--gold); color:var(--ink);}
:focus-visible{outline:2px solid var(--signal); outline-offset:2px;}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; transition-duration:.001ms !important;}
}

.wrap{max-width:1240px; margin:0 auto; padding:0 12px;}
.serif{font-family:'Fraunces', serif;}
.mono{font-family:'IBM Plex Mono', monospace;}
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--signal-dk); display:flex; align-items:center; gap:10px; margin-bottom:16px;
}
.eyebrow::before{content:''; width:22px; height:1px; background:var(--gold); display:inline-block;}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px; border-radius:var(--radius); font-size:14.5px; font-weight:600;
  border:1px solid transparent; transition:all .25s var(--ease); white-space:nowrap;
  letter-spacing:.01em;
}
.btn-primary{background:var(--ink); color:var(--white);}
.btn-primary:hover{background:var(--ink-2); transform:translateY(-1px); box-shadow:var(--shadow);}
.btn-gold{background:var(--gold); color:var(--ink);}
.btn-gold:hover{background:var(--gold-dk); transform:translateY(-1px);}
.btn-line{background:transparent; color:var(--white); border-color:rgba(255,255,255,.4);}
.btn-line:hover{border-color:var(--white); background:rgba(255,255,255,.08);}
.btn-line-dk{background:transparent; color:var(--ink); border-color:var(--ink);}
.btn-line-dk:hover{background:var(--ink); color:var(--white);}
.btn-sm{padding:10px 18px; font-size:13.5px;}

/* ---------- top strip ---------- */
.topstrip{
  background:var(--ink); color:rgba(255,255,255,.82); font-size:12.5px;
  font-family:'IBM Plex Mono', monospace;
}
.topstrip .wrap{display:flex; justify-content:space-between; align-items:center; height:34px;}
.rate-tape{display:flex; gap:28px; align-items:center;}
.rate-tape span b{color:var(--gold); font-weight:500;}
.topstrip a{opacity:.85;}
.topstrip a:hover{opacity:1; color:var(--gold);}
.top-links{display:flex; gap:20px;}

/* ---------- header ---------- */
header{
  background:var(--white); border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:1000;
}
.headbar{display:flex; align-items:center; justify-content:space-between; height:76px;}
.brand{display:flex; align-items:center; gap:11px;}
.brand-mark{width:34px; height:34px; flex-shrink:0;}
.brand-name{font-family:'Fraunces', serif; font-weight:600; font-size:20px; color:var(--ink); line-height:1.05;}
.brand-name small{display:block; font-family:'IBM Plex Mono',monospace; font-weight:400; font-size:10px; letter-spacing:.16em; color:var(--text-soft); text-transform:uppercase; margin-top:2px;}

nav.mainnav{display:flex; align-items:center; gap:6px;}
.navitem{position:relative;}
.navitem>button, .navitem>a{
  display:flex; align-items:center; gap:5px; padding:12px 14px; font-size:14.5px; font-weight:500;
  background:none; border:none; color:var(--text); border-radius:var(--radius); transition:color .2s;
}
.navitem>button svg, .navitem>a svg{transition:transform .2s;}
.navitem:hover>button, .navitem:hover>a, .navitem.active>a{color:var(--ink);}
.navitem.current>a{color:var(--ink); font-weight:700;}
.navitem:hover svg{transform:rotate(180deg);}
.dropdown{
  position:absolute; top:100%; left:0; background:var(--white); min-width:250px;
  border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-lg);
  padding:10px; opacity:0; visibility:hidden; transform:translateY(6px);
  transition:all .18s var(--ease);
}
.navitem:hover .dropdown{opacity:1; visibility:visible; transform:translateY(0);}
.dropdown a{display:flex; flex-direction:column; padding:10px 12px; border-radius:var(--radius); font-size:14px;}
.dropdown a:hover{background:var(--paper);}
.dropdown a b{font-weight:600; color:var(--ink); font-size:14px;}
.dropdown a span{color:var(--text-soft); font-size:12.5px; margin-top:2px;}
.head-actions{display:flex; align-items:center; gap:10px;}
.icon-btn{width:38px; height:38px; display:flex; align-items:center; justify-content:center; border-radius:50%; border:1px solid var(--line); background:none; color:var(--ink);}
.icon-btn:hover{background:var(--paper);}
.mobile-toggle{display:none; background:none; border:none; color:var(--ink);}

/* ---------- pages toggle ---------- */
.page{display:none;}
.page.is-active{display:block;}

/* ================= HERO ================= */
.hero{
  position:relative; background:var(--ink); color:var(--white); overflow:hidden;
  padding:76px 0 0;
}
.hero-grain{
  position:absolute; inset:0; opacity:.5; pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:22px 22px;
}
.hero-glow{position:absolute; top:-30%; right:-10%; width:900px; height:900px; border-radius:50%;
  background:radial-gradient(circle, rgba(0,163,224,.18), transparent 68%); pointer-events:none;}
.hero .wrap{position:relative; z-index:2; display:grid; grid-template-columns:1.02fr .98fr; gap:40px; align-items:center; padding-top:64px; padding-bottom:0;}
.hero-content h1{font-family:'Fraunces', serif; font-weight:500; font-size:clamp(38px,4.6vw,60px); line-height:1.06; letter-spacing:-.01em; margin-bottom:22px;}
.hero-content h1 em{font-style:italic; color:var(--gold); font-weight:400;}
.hero-content p{font-size:17.5px; color:rgba(255,255,255,.78); max-width:480px; margin-bottom:32px;}
.hero-btns{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:44px;}
.hero-badges{display:flex; gap:26px; flex-wrap:wrap; padding-top:24px; border-top:1px solid var(--line-dk);}
.hero-badges div{font-size:12px; font-family:'IBM Plex Mono',monospace; color:rgba(255,255,255,.55); letter-spacing:.04em;}
.hero-badges b{display:block; color:var(--white); font-family:'Fraunces',serif; font-size:22px; font-weight:500; margin-bottom:2px;}

/* signature: the steady line chart */
.chartcard{
  background:rgba(255,255,255,.04); border:1px solid var(--line-dk); border-radius:var(--radius-lg);
  padding:26px 26px 18px; backdrop-filter:blur(6px);
}
.chartcard-head{display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:6px;}
.chartcard-head h4{font-family:'Fraunces',serif; font-weight:500; font-size:17px;}
.chartcard-head span{font-size:12px; color:rgba(255,255,255,.5); font-family:'IBM Plex Mono',monospace;}
.legend{display:flex; gap:16px; margin:2px 0 10px; font-size:11.5px; font-family:'IBM Plex Mono',monospace; color:rgba(255,255,255,.65);}
.legend i{display:inline-block; width:12px; height:2px; margin-right:6px; vertical-align:middle;}
#steadyPath{stroke-dasharray:1200; stroke-dashoffset:1200; animation:draw 2.4s var(--ease) .3s forwards;}
#volatilePath{stroke-dasharray:1200; stroke-dashoffset:1200; animation:draw 2.4s var(--ease) .3s forwards;}
@keyframes draw{to{stroke-dashoffset:0;}}
.chart-foot{display:flex; justify-content:space-between; font-family:'IBM Plex Mono',monospace; font-size:11px; color:rgba(255,255,255,.4); margin-top:4px;}

/* ================= marquee / ledger ticker ================= */
.ticker-wrap{background:var(--paper-2); border-bottom:1px solid var(--line); overflow:hidden; padding:13px 0;}
.ticker{display:flex; width:max-content; gap:48px; animation:scroll 34s linear infinite;}
.ticker span{font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--text-soft); white-space:nowrap;}
.ticker b{color:var(--ink);}
@keyframes scroll{from{transform:translateX(0);} to{transform:translateX(-50%);}}

/* ================= section basics ================= */
section{padding:104px 0;}
.section-tight{padding:80px 0;}
.alt{background:var(--white);}
.dark{background:var(--ink); color:var(--white);}
.sec-head{max-width:640px; margin-bottom:56px;}
.sec-head h2{font-family:'Fraunces',serif; font-weight:500; font-size:clamp(28px,3.2vw,42px); color:var(--ink); letter-spacing:-.01em; line-height:1.12;}
.dark .sec-head h2, .dark .eyebrow{color:var(--white);}
.dark .eyebrow{color:rgba(255,255,255,.7);}
.sec-head p{font-size:16.5px; color:var(--text-soft); margin-top:14px;}
.dark .sec-head p{color:rgba(255,255,255,.65);}
.sec-head.center{margin-left:auto; margin-right:auto; text-align:center;}
.sec-head.center .eyebrow{justify-content:center;}
.sec-head.split{max-width:none; display:flex; justify-content:space-between; align-items:flex-end; gap:40px;}

/* ---------- ledger rows (services) ---------- */
.ledger{border-top:1px solid var(--line);}
.ledger-row{
  display:grid; grid-template-columns:90px 1.3fr 1.7fr 140px; gap:28px; align-items:center;
  padding:30px 0; border-bottom:1px solid var(--line); transition:background .2s;
}
.ledger-row:hover{background:var(--white);}
.ledger-num{font-family:'IBM Plex Mono',monospace; font-size:13px; color:var(--gold-dk);}
.ledger-row h3{font-family:'Fraunces',serif; font-weight:500; font-size:21px; color:var(--ink);}
.ledger-row p{font-size:14.5px; color:var(--text-soft);}
.ledger-row .arrow{justify-self:end; width:38px; height:38px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; transition:all .2s;}
.ledger-row:hover .arrow{background:var(--ink); border-color:var(--ink); color:var(--white); transform:translateX(4px);}

/* ---------- feature split ---------- */
.feature-row{display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;}
.feature-row.rev .fig{order:2;}
.feature-row.rev .cpy{order:1;}
.fig{position:relative; border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:5/4; background:var(--ink);}
.fig svg{width:100%; height:100%; display:block;}
.cpy .eyebrow{margin-bottom:14px;}
.cpy h2{font-family:'Fraunces',serif; font-weight:500; font-size:clamp(26px,3vw,36px); color:var(--ink); margin-bottom:16px; letter-spacing:-.01em;}
.cpy p{color:var(--text-soft); font-size:16px; margin-bottom:22px; max-width:460px;}
.checklist li{display:flex; gap:12px; align-items:flex-start; font-size:14.5px; margin-bottom:12px; color:var(--text);}
.checklist li::before{content:'—'; color:var(--gold-dk); font-weight:700; flex-shrink:0;}

/* ---------- stats ---------- */
.stats-bar{background:var(--ink); color:var(--white);}
.stats-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:0;}
.stat-item{padding:44px 32px; text-align:left; border-left:1px solid var(--line-dk);}
.stat-item:first-child{border-left:none;}
.stat-item b{display:block; font-family:'Fraunces',serif; font-weight:500; font-size:clamp(30px,3vw,44px); color:var(--gold); margin-bottom:6px;}
.stat-item span{font-size:13px; color:rgba(255,255,255,.6); font-family:'IBM Plex Mono',monospace; letter-spacing:.02em;}

/* ---------- industries ---------- */
.industry-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line);}
.industry-card{background:var(--paper); padding:34px; transition:background .2s;}
.industry-card:hover{background:var(--white);}
.industry-card .tag{font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--gold-dk); letter-spacing:.06em; text-transform:uppercase;}
.industry-card h4{font-family:'Fraunces',serif; font-weight:500; font-size:18px; color:var(--ink); margin:8px 0 8px;}
.industry-card p{font-size:14px; color:var(--text-soft);}

/* ---------- security ---------- */
.security-fig{position:relative; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center;}
.security-fig svg{width:88%; height:88%;}

/* ---------- testimonials ---------- */
.quote-strip{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.quote-card{background:var(--white); padding:36px; display:flex; flex-direction:column; justify-content:space-between; min-height:230px;}
.quote-card q{font-family:'Fraunces',serif; font-style:italic; font-size:18px; line-height:1.5; color:var(--ink); quotes:none;}
.quote-foot{margin-top:22px; display:flex; align-items:center; gap:12px;}
.quote-avatar{width:36px; height:36px; border-radius:50%; background:var(--ink); color:var(--gold); display:flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; font-size:14px;}
.quote-foot b{display:block; font-size:13.5px; color:var(--ink);}
.quote-foot span{font-size:12.5px; color:var(--text-soft);}

/* ---------- CTA ---------- */
.cta{background:var(--ink); color:var(--white); position:relative; overflow:hidden;}
.cta::before{content:''; position:absolute; left:-6%; bottom:-30%; width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle, rgba(201,162,39,.16), transparent 70%);}
.cta .wrap{position:relative; z-index:2; display:flex; justify-content:space-between; align-items:center; gap:40px; flex-wrap:wrap;}
.cta h2{font-family:'Fraunces',serif; font-weight:500; font-size:clamp(28px,3.4vw,42px); max-width:560px; letter-spacing:-.01em;}
.cta-btns{display:flex; gap:14px; flex-wrap:wrap;}

/* ---------- footer ---------- */
footer{background:#001d33; color:rgba(255,255,255,.7); padding:72px 0 0;}
.foot-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr 1fr; gap:40px; padding-bottom:56px; border-bottom:1px solid var(--line-dk);}
.foot-brand .brand-name{color:var(--white);}
.foot-brand p{font-size:13.5px; line-height:1.7; margin:18px 0 20px; max-width:280px; color:rgba(255,255,255,.55);}
.foot-social{display:flex; gap:10px;}
.foot-social a{width:34px; height:34px; border:1px solid var(--line-dk); border-radius:50%; display:flex; align-items:center; justify-content:center;}
.foot-social a:hover{border-color:var(--gold); color:var(--gold);}
.foot-col h5{font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); margin-bottom:18px;}
.foot-col a{display:block; font-size:14px; margin-bottom:12px; color:rgba(255,255,255,.65); transition:color .2s;}
.foot-col a:hover{color:var(--white);}
.foot-bottom{display:flex; justify-content:space-between; align-items:center; padding:26px 0; font-size:12px; color:rgba(255,255,255,.4); flex-wrap:wrap; gap:12px;}
.foot-bottom-links{display:flex; gap:22px;}
.fdic{display:flex; align-items:center; gap:8px; font-family:'IBM Plex Mono',monospace;}
.fdic span{border:1px solid rgba(255,255,255,.3); border-radius:3px; padding:2px 6px; font-size:10.5px; letter-spacing:.05em;}

/* ================= PAGE: banner ================= */
.page-banner{background:var(--ink); color:var(--white); padding:64px 0 52px;}
.page-banner .eyebrow{color:rgba(255,255,255,.6);}
.page-banner h1{font-family:'Fraunces',serif; font-weight:500; font-size:clamp(32px,4vw,48px); letter-spacing:-.01em;}
.page-banner p{color:rgba(255,255,255,.7); font-size:16.5px; max-width:600px; margin-top:12px;}
.breadcrumb{background:var(--paper-2); font-size:13px; color:var(--text-soft); padding:12px 0;}
.breadcrumb b{color:var(--ink);}

/* ================= PAGE: contact ================= */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px;}
.contact-form{background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:36px;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.form-group{margin-bottom:18px;}
.form-group label{display:block; font-size:13px; font-weight:600; color:var(--ink); margin-bottom:6px;}
.form-group input, .form-group select, .form-group textarea{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:var(--radius); font-size:14.5px;
  font-family:inherit; background:var(--paper); transition:border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  outline:none; border-color:var(--signal); box-shadow:0 0 0 3px rgba(0,163,224,.12); background:var(--white);
}
.form-group textarea{min-height:110px; resize:vertical;}
.contact-info-item{display:flex; gap:16px; margin-bottom:26px;}
.contact-info-item .icn{width:42px; height:42px; border-radius:50%; background:var(--paper-2); color:var(--ink);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.contact-info-item h4{font-size:15px; font-weight:700; color:var(--ink); margin-bottom:3px;}
.contact-info-item p{font-size:14px; color:var(--text-soft);}

/* ---------- locations ---------- */
.loc-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.loc-card{background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px;}
.loc-card h4{font-family:'Fraunces',serif; font-size:18px; color:var(--ink); margin-bottom:8px;}
.loc-card p{font-size:13.5px; color:var(--text-soft); margin-bottom:3px;}
.loc-card .hours{margin-top:12px; padding-top:12px; border-top:1px dashed var(--line); font-size:12.5px; color:var(--text-soft);}

/* ================= PAGE: login ================= */
.login-shell{min-height:calc(100vh - 76px - 34px); display:flex;}
.login-left{flex:1.1; background:var(--ink); color:var(--white); padding:72px 60px; display:flex; flex-direction:column; justify-content:center; position:relative; overflow:hidden;}
.login-left::before{content:''; position:absolute; top:-20%; left:-10%; width:600px; height:600px; border-radius:50%;
  background:radial-gradient(circle, rgba(0,163,224,.18), transparent 70%);}
.login-left h1{font-family:'Fraunces',serif; font-weight:500; font-size:38px; margin-bottom:16px; position:relative;}
.login-left p{color:rgba(255,255,255,.72); max-width:380px; position:relative;}
.login-left .llist{margin-top:36px; position:relative;}
.login-left .llist li{display:flex; align-items:center; gap:12px; margin-bottom:16px; font-size:15px;}
.login-left .llist li b{width:26px; height:26px; border-radius:50%; background:rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--gold); flex-shrink:0;}
.login-right{flex:1; display:flex; align-items:center; justify-content:center; padding:40px; background:var(--paper-2);}
.login-box{background:var(--white); border-radius:var(--radius-lg); padding:48px; width:100%; max-width:420px; box-shadow:var(--shadow-lg); border:1px solid var(--line);}
.login-box h2{font-family:'Fraunces',serif; font-size:26px; color:var(--ink); margin-bottom:6px;}
.login-box>p{color:var(--text-soft); font-size:14px; margin-bottom:26px;}
.login-box .btn{width:100%; margin-top:6px;}
.login-links{display:flex; justify-content:space-between; margin-top:20px; font-size:13.5px;}
.login-links a{color:var(--signal-dk);}
.login-links a:hover{text-decoration:underline;}
.login-divider{display:flex; align-items:center; gap:12px; margin:22px 0; font-size:12px; color:var(--text-soft);}
.login-divider::before, .login-divider::after{content:''; flex:1; height:1px; background:var(--line);}

/* ================= responsive ================= */
@media (max-width:1024px){
  .hero .wrap{grid-template-columns:1fr;}
  .feature-row{grid-template-columns:1fr; gap:36px;}
  .feature-row.rev .fig{order:1;} .feature-row.rev .cpy{order:2;}
  .stats-grid{grid-template-columns:repeat(2,1fr);}
  .stat-item:nth-child(3){border-left:none;}
  .industry-grid{grid-template-columns:repeat(2,1fr);}
  .quote-strip{grid-template-columns:1fr;}
  .foot-grid{grid-template-columns:1fr 1fr; gap:36px;}
  .contact-grid{grid-template-columns:1fr;}
  .loc-grid{grid-template-columns:1fr 1fr;}
  .ledger-row{grid-template-columns:60px 1fr; grid-template-areas:"num title" "num desc" "num arrow"; row-gap:6px;}
}
@media (max-width:860px){
  nav.mainnav{display:none;}
  .mobile-toggle{display:block;}
  .topstrip .rate-tape{display:none;}
  .stats-grid{grid-template-columns:1fr 1fr;}
  .industry-grid{grid-template-columns:1fr;}
  .loc-grid{grid-template-columns:1fr;}
  .foot-grid{grid-template-columns:1fr 1fr;}
  .login-shell{flex-direction:column;}
  .login-left{padding:48px 28px;}
  .cta .wrap{flex-direction:column; align-items:flex-start;}
}
@media (max-width:560px){
  .foot-grid{grid-template-columns:1fr;}
  section{padding:72px 0;}
}

/* mobile drawer */
.mobile-drawer{
  position:fixed; inset:76px 0 0 0; background:var(--white); z-index:1200; padding:24px 24px 40px;
  transform:translateX(100%); transition:transform .28s var(--ease); overflow-y:auto;
}
.mobile-drawer.open{transform:translateX(0);}
.mobile-drawer a{display:block; padding:16px 4px; border-bottom:1px solid var(--line); font-size:16px; font-weight:600; color:var(--ink);}
.mobile-drawer .btn{width:100%; margin-top:20px;}

/* ================= additional components for expanded site ================= */
.article-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
.article-card{background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; display:flex; flex-direction:column; transition:box-shadow .2s, transform .2s;}
.article-card:hover{box-shadow:var(--shadow-lg); transform:translateY(-3px);}
.article-fig{aspect-ratio:16/10;}
.article-fig svg{width:100%; height:100%; display:block;}
.article-body{padding:24px; display:flex; flex-direction:column; flex:1;}
.article-tag{font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-dk); margin-bottom:10px;}
.article-body h3{font-family:'Fraunces',serif; font-weight:500; font-size:19px; color:var(--ink); margin-bottom:10px; line-height:1.3;}
.article-body p{font-size:14px; color:var(--text-soft); flex:1;}
.article-meta{margin-top:18px; padding-top:14px; border-top:1px solid var(--line); font-size:12.5px; color:var(--text-soft); display:flex; justify-content:space-between; font-family:'IBM Plex Mono',monospace;}
.article-hero{background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:44px; margin-bottom:12px;}
.article-content h2{font-family:'Fraunces',serif; color:var(--ink); font-size:26px; margin:36px 0 14px;}
.article-content p{font-size:16px; color:var(--text-soft); margin-bottom:16px; max-width:720px; line-height:1.75;}
.article-content ul{margin:0 0 20px 0;}
.article-content ul li{display:flex; gap:10px; font-size:15px; color:var(--text); margin-bottom:10px; max-width:700px;}
.article-content ul li::before{content:'—'; color:var(--gold-dk); font-weight:700; flex-shrink:0;}
.byline{display:flex; align-items:center; gap:12px; margin-bottom:8px;}
.byline .quote-avatar{width:40px;height:40px;}

/* rate table */
.rate-table{width:100%; border-collapse:collapse; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden;}
.rate-table th, .rate-table td{padding:16px 20px; text-align:left; border-bottom:1px solid var(--line); font-size:14.5px;}
.rate-table th{font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--text-soft); background:var(--paper-2);}
.rate-table td.num{font-family:'IBM Plex Mono',monospace; color:var(--ink); font-weight:500;}
.rate-table tr:last-child td{border-bottom:none;}
.rate-table tr:hover td{background:var(--paper);}
.rate-note{font-size:12.5px; color:var(--text-soft); margin-top:14px;}
.rate-block{margin-bottom:52px;}
.rate-block h3{font-family:'Fraunces',serif; color:var(--ink); font-size:20px; margin-bottom:16px;}

/* calculators */
.calc-shell{display:grid; grid-template-columns:1fr 1fr; gap:48px; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:40px;}
.calc-shell h3{font-family:'Fraunces',serif; color:var(--ink); font-size:20px; margin-bottom:22px;}
.calc-field{margin-bottom:20px;}
.calc-field label{display:flex; justify-content:space-between; font-size:13.5px; font-weight:600; color:var(--ink); margin-bottom:8px;}
.calc-field label span{font-family:'IBM Plex Mono',monospace; color:var(--signal-dk);}
.calc-field input[type="range"]{width:100%; accent-color:var(--ink);}
.calc-field input[type="number"]{width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:var(--radius); font-family:'IBM Plex Mono',monospace;}
.calc-result{background:var(--ink); color:var(--white); border-radius:var(--radius-lg); padding:28px; text-align:center; align-self:start;}
.calc-result .big{font-family:'Fraunces',serif; font-size:40px; color:var(--gold); font-weight:500;}
.calc-result .lbl{font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:rgba(255,255,255,.6); margin-top:4px;}
.calc-breakdown{margin-top:20px; text-align:left; font-size:13px; border-top:1px solid var(--line-dk); padding-top:16px;}
.calc-breakdown div{display:flex; justify-content:space-between; margin-bottom:8px; color:rgba(255,255,255,.75);}
.calc-breakdown div b{color:var(--white); font-family:'IBM Plex Mono',monospace; font-weight:500;}

/* faq accordion */
.faq-list{max-width:800px;}
.faq-item{border-bottom:1px solid var(--line);}
.faq-q{width:100%; text-align:left; background:none; border:none; padding:22px 0; display:flex; justify-content:space-between; align-items:center; font-size:16px; font-weight:600; color:var(--ink); font-family:'Fraunces',serif;}
.faq-q .plus{font-family:'IBM Plex Mono',monospace; font-size:20px; color:var(--gold-dk); transition:transform .2s; flex-shrink:0; margin-left:20px;}
.faq-item.open .faq-q .plus{transform:rotate(45deg);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .25s var(--ease);}
.faq-a p{font-size:14.5px; color:var(--text-soft); padding-bottom:22px; max-width:680px;}
.faq-cat{font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-dk); margin:40px 0 6px;}
.faq-cat:first-child{margin-top:0;}

/* jobs / careers */
.job-list{border-top:1px solid var(--line);}
.job-row{display:grid; grid-template-columns:1fr 160px 160px 100px; gap:20px; align-items:center; padding:22px 0; border-bottom:1px solid var(--line);}
.job-row h4{font-size:16px; color:var(--ink); font-weight:600;}
.job-row span{font-size:13px; color:var(--text-soft); font-family:'IBM Plex Mono',monospace;}
.job-row .apply{justify-self:end;}
.perk-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.perk-card{text-align:center; padding:28px 16px; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);}
.perk-card .ic{font-size:26px; margin-bottom:10px;}
.perk-card h4{font-size:14.5px; color:var(--ink); margin-bottom:6px;}
.perk-card p{font-size:12.5px; color:var(--text-soft);}

/* press / newsroom */
.press-list{border-top:1px solid var(--line);}
.press-row{display:flex; justify-content:space-between; align-items:baseline; gap:20px; padding:24px 0; border-bottom:1px solid var(--line);}
.press-row time{font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--text-soft); flex-shrink:0; width:100px;}
.press-row h4{font-size:16px; color:var(--ink); font-weight:600; flex:1;}
.press-row a{font-size:13px; color:var(--signal-dk); flex-shrink:0;}

/* legal */
.legal-content{max-width:760px;}
.legal-content h2{font-family:'Fraunces',serif; color:var(--ink); font-size:22px; margin:32px 0 12px;}
.legal-content h2:first-child{margin-top:0;}
.legal-content p{font-size:15px; color:var(--text-soft); margin-bottom:14px; line-height:1.8;}
.legal-updated{font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--text-soft); margin-bottom:36px; display:block;}

/* asset download card */
.asset-card{display:flex; align-items:center; gap:18px; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:22px 26px; margin-bottom:16px;}
.asset-card .ic{width:44px; height:44px; border-radius:var(--radius); background:var(--paper-2); color:var(--ink); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:600;}
.asset-card .meta{flex:1;}
.asset-card h4{font-size:15px; color:var(--ink); margin-bottom:3px;}
.asset-card p{font-size:12.5px; color:var(--text-soft);}

@media (max-width:1024px){
  .article-grid{grid-template-columns:1fr 1fr;}
  .calc-shell{grid-template-columns:1fr;}
  .job-row{grid-template-columns:1fr; row-gap:6px;}
  .job-row .apply{justify-self:start;}
  .perk-grid{grid-template-columns:1fr 1fr;}
  .press-row{flex-direction:column; gap:6px;}
}
@media (max-width:640px){
  .article-grid{grid-template-columns:1fr;}
  .perk-grid{grid-template-columns:1fr;}
}

/* ================= real photography support ================= */
.fig img{width:100%; height:100%; object-fit:cover; display:block;}
.article-fig img{width:100%; height:100%; object-fit:cover; display:block;}
.avatar-img{width:100%; height:100%; object-fit:cover; border-radius:50%; display:block;}
.quote-avatar{overflow:hidden;}
.byline .quote-avatar{overflow:hidden;}
.leader-avatar{width:64px; height:64px; border-radius:50%; overflow:hidden; margin:0 auto 14px;}
.leader-avatar img{width:100%; height:100%; object-fit:cover; display:block;}
.page-banner{background-size:cover; background-position:center;}
.hero{background-size:cover; background-position:center;}
.login-left{background-size:cover; background-position:center;}
