/* Sitewide overrides (2026-12-04), loaded after each page's inline styles.
   Headlines are set plainly: no italic, recolored accent words inside
   headings or figures. Hero sections sit closer to the header. */

h1 em,h2 em,h3 em,h4 em,h5 em,h6 em,
.trust-num em,.hero-stat-num em,.hero-badge-num em,.snapshot-value em,.rate-item em{
  font-style:normal;color:inherit;font-variation-settings:normal}

/* Step and service numbers, ranks and tags stay upright */
.step-num,.service-num,.process-num,.deal-rank,.featured-tag,.monogram-letters{
  font-style:normal;font-variation-settings:normal}

/* Libre Caslon is cut in 400 and 700 only; keep numerals lining for figures */
.trust-num,.hero-stat-num,.deal-amt,.port-amt,.hero-feature-amt,.rw-val{font-variant-numeric:lining-nums tabular-nums}

/* Hero spacing: about half the old gap under the header, desktop and phone */
.hero-inner{padding-top:clamp(36px,4.5vw,60px)}
.page-hero-inner{padding-top:clamp(36px,4.5vw,60px)}
.article-hero-inner{padding-top:clamp(24px,3vw,40px)}

/* Page heroes: restore side padding that the inline padding shorthand dropped,
   so hero text lines up with the header and never touches the screen edge on phones */
.wrap.page-hero-inner{padding-left:var(--pad);padding-right:var(--pad)}

/* Caslon runs taller than the old face; give stacked headline lines a little air */
.hero h1,.page-hero h1,.article-hero h1{line-height:1.04}

/* Process steps on phones and tablets: number, then title, then text, full width.
   The old 80px first column squeezed long titles ("Underwrite", "Understanding")
   into the description beside them. */
@media (max-width:980px){
  .step{grid-template-columns:1fr !important;gap:10px !important;align-items:start}
  .step>*{grid-column:1 !important;grid-row:auto !important}
  .step .step-num{font-size:40px !important;margin-bottom:4px}
  .step p:not(.step-num){margin-top:4px}
}

/* Lender logos (Capital Sources page, homepage row, service-page rows).
   images/lenders/gray holds slate versions made ahead of time (white details kept);
   images/lenders/color holds the color version shown on hover, made readable on white. */
.lg-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.lg-card{background:#fff;border:1px solid var(--line,#E5E1D8);border-radius:3px;height:86px;display:flex;align-items:center;justify-content:center;padding:14px 18px;margin:0}
.lg-card img{max-width:100%;max-height:42px;width:auto;height:auto;object-fit:contain}
.lg-logo{position:relative}
.lg-card .lg-c{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);opacity:0;transition:opacity .18s ease}
.lg-card .lg-g{transition:opacity .18s ease}
.lg-hover .lg-card:hover .lg-g,.lg-hover .lg-card:focus-within .lg-g{opacity:0}
.lg-hover .lg-card:hover .lg-c,.lg-hover .lg-card:focus-within .lg-c{opacity:1}
@media (hover:none){.lg-card .lg-c{display:none}}
.lg-band{padding:clamp(44px,6vw,72px) 0;background:var(--paper,#FAF8F2)}
.lg-band .section-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 24px;margin-bottom:22px}
.lg-link{font-weight:500;color:var(--blue,#4A7FE8);white-space:nowrap}
.lg-note{font-size:12.5px;color:var(--muted,#6B7280);margin:16px 0 0;line-height:1.5}
.lg-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 22px}
.lg-search{flex:1 1 240px;min-height:44px;font:inherit;font-size:16px;padding:0 14px;border:1px solid var(--line,#E5E1D8);border-radius:3px;background:#fff;color:var(--navy,#0B2545)}
.lg-chip{min-height:40px;padding:0 15px;border-radius:99px;border:1px solid var(--line,#E5E1D8);background:#fff;color:var(--navy,#0B2545);font:inherit;font-size:13.5px;cursor:pointer}
.lg-chip[aria-pressed=true]{background:var(--navy,#0B2545);color:#fff;border-color:var(--navy,#0B2545)}
.lg-chip:focus-visible,.lg-search:focus-visible{outline:2px solid var(--blue,#4A7FE8);outline-offset:2px}
.lg-count{font-size:13px;color:var(--muted,#6B7280);margin-left:auto}
.lg-group h2{font-size:24px;margin:34px 0 14px;color:var(--navy,#0B2545)}
.lg-group h2 span{font-family:var(--sans);font-size:14px;color:var(--muted,#6B7280);font-weight:400}
.lg-full .lg-card{flex-direction:column;height:auto;min-height:118px;gap:10px}
.lg-full .lg-card figcaption{font-size:12px;line-height:1.3;color:var(--muted,#6B7280);text-align:center}
.lg-full .lg-card .lg-logo{height:48px;display:flex;align-items:center;justify-content:center;width:100%}
@media(max-width:1000px){.lg-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.lg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lg-card{height:76px;padding:12px}.lg-card img{max-height:36px}.lg-count{width:100%;margin:0}}
.lg-intro{max-width:820px;margin:-4px 0 18px;color:var(--muted,#6B7280);font-size:15px;line-height:1.65}
.lg-intro a{color:var(--blue,#4A7FE8)}
.lg-faq{max-width:820px;margin:44px 0 8px}
.lg-faq h2{font-size:26px;color:var(--navy,#0B2545);margin:0 0 6px}
.lg-faq h3{font-size:18px;color:var(--navy,#0B2545);margin:22px 0 6px}
.lg-faq p{margin:0;color:var(--ink,#1F2937);line-height:1.65}
/* Rate boxes (site/js/rate-box.js): weekly indicative rates from the approved CRM sheet */
.rate-band{padding:clamp(48px,6vw,80px) 0;background:var(--cream,#F5F1E8)}
.rate-band .section-head{margin-bottom:24px}
.rate-box{background:#fff;border:1px solid var(--line,#E5E1D8);border-radius:3px;padding:24px 26px;box-shadow:0 30px 60px -40px rgba(11,37,69,.14);min-height:120px}
.rb-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 18px;margin-bottom:14px}
.rb-title{font-family:var(--serif);font-size:22px;color:var(--navy,#0B2545);margin:0}
.rb-asof{font-size:13px;color:var(--muted,#6B7280);margin:0}
.rb-sample{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:2px;background:#FDF1D6;color:#7A5A12;font-size:12px}
.rb-scroll{overflow-x:auto}
.rb-table{width:100%;border-collapse:collapse;font-size:14.5px}
.rb-table th{text-align:left;font-weight:600;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#6B7280);padding:8px 10px;border-bottom:1px solid var(--line,#E5E1D8)}
.rb-table td{padding:11px 10px;border-bottom:1px solid var(--line,#E5E1D8);color:var(--ink,#1F2937);vertical-align:top}
.rb-table td.n,.rb-table th:nth-child(2){white-space:nowrap}
.rb-rate{font-weight:600;color:var(--navy,#0B2545)}
.rb-idx{max-width:520px;margin-bottom:10px}.rb-idx .up{color:#9a3412}.rb-idx .down{color:#166534}
.rb-week{font-size:14.5px;color:var(--ink,#1F2937);margin:4px 0 18px}
.rb-note{font-size:12.5px;color:var(--muted,#6B7280);margin:14px 0 0;line-height:1.5}
.rb-actions{margin:16px 0 0;display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center}
.rb-more,.rb-phone{font-weight:500;color:var(--blue,#4A7FE8)}
.rb-call-h{font-family:var(--serif);font-size:22px;color:var(--navy,#0B2545);margin:0 0 6px}
.rb-call p{margin:0 0 6px}
@media (max-width:640px){
  .rate-box{padding:18px 16px}
  .rb-table:not(.rb-idx) thead{display:none}
  .rb-table:not(.rb-idx) tr{display:block;padding:10px 0;border-bottom:1px solid var(--line,#E5E1D8)}
  .rb-table:not(.rb-idx) td{display:flex;justify-content:space-between;gap:16px;border:0;padding:3px 0}
  .rb-table:not(.rb-idx) td::before{content:attr(data-l);color:var(--muted,#6B7280);font-size:13px}
  .rb-table:not(.rb-idx) td:empty{display:none}
  .rb-table:not(.rb-idx) td:first-child{font-weight:600}
  .rb-table:not(.rb-idx) td:first-child::before{content:none}
}
.rate-box .rb-btn{display:inline-flex;align-items:center;padding:13px 22px;background:var(--blue,#4A7FE8);color:#fff;font-size:13.5px;font-weight:500;border-radius:2px;text-decoration:none}

/* Rate sheet on /rates (data-layout="sheet"): on screen it is the page; printed or saved as a
   PDF it becomes a branded Piccard Current Rates sheet on letter paper. */
.rs-print-head,.rs-print-only{display:none}
.rs-sheet .r-table td.chg.up,.rs-sheet .chg.up{color:#1d7a46}.rs-sheet .chg.down{color:#b23a3a}
.rs-sheet abbr{text-decoration:none;border:0;cursor:help}
.rs-sheet .rs-foot{max-width:1120px;margin:22px 0 0;font-size:12.5px;color:var(--muted);line-height:1.6}
@media print{
  @page{size:letter;margin:.4in .45in}
  html,body{background:#fff!important}
  body{-webkit-print-color-adjust:exact;print-color-adjust:exact;font-size:9pt}
  header.nav,.nav,.mobile-menu,.ticker,footer,.closing,.crumbs,.r-print,.article-hero,.r-disc,.r-extra,.rb-actions,.skip,#cookie,.cookie{display:none!important}
  .reveal{opacity:1!important;transform:none!important}
  main,.article-body{padding:0!important;margin:0!important}
  .article-body .wrap,.r-wrap{max-width:none!important;padding:0!important}
  .rs-print-head{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:3px solid #0B2545;padding:0 0 8px;margin:0 0 10px}
  .rs-brand{font-family:'Libre Caslon Text',Georgia,serif;font-size:17pt;letter-spacing:.12em;color:#0B2545;line-height:1}
  .rs-brand small{display:block;font-family:'Public Sans',Arial,sans-serif;font-size:6.5pt;letter-spacing:.42em;margin-top:3px;color:#4A7FE8}
  .rs-print-title{text-align:center}.rs-print-title p{margin:0;color:#555e6b;font-size:8.5pt}
  .rs-print-title .rs-h{font-family:'Libre Caslon Text',Georgia,serif;font-size:15pt;color:#0B2545}
  .rs-print-contact{text-align:right;font-size:8pt;color:#0B2545;line-height:1.4}
  .rs-print-only{display:block}
  .rs-sheet .r-index{grid-template-columns:1fr 1.25fr!important;gap:12px!important;margin:0 0 10px!important}
  .rs-sheet .r-summary{padding:8px 12px!important}.rs-sheet .r-summary p{font-size:8pt;margin:0 0 4px;line-height:1.4}
  .rs-sheet .r-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}
  .rs-sheet .r-scroll{overflow:visible!important}
  *{box-shadow:none!important}
  .rs-sheet .r-card{padding:8px 10px!important;box-shadow:none!important;break-inside:avoid;border-color:#d7dbe2}
  .rs-sheet .r-card h2{font-size:10.5pt!important;margin:0 0 5px!important}
  .rs-sheet .r-table{font-size:7.1pt!important}
  .rs-sheet .r-table th{font-size:6.6pt!important;padding:3px 5px!important}
  body::before,body::after{display:none!important}
  html,body,main,section,.wrap{border:0!important;outline:0!important}
  .rs-sheet .rs-screen{display:none}
  .rs-sheet .r-table td{padding:2.5px 4px!important;white-space:nowrap}
  .rs-sheet .r-table th{padding:3px 4px!important}
  .rs-sheet .r-table td.rs-prog{white-space:normal}
  .rs-sheet .r-table caption{font-size:7pt;padding-bottom:3px}
  .rs-sheet .r-note{font-size:6.8pt!important;margin-top:4px!important;line-height:1.35}
  .rs-sheet .rs-foot{font-size:6.8pt!important;margin-top:8px!important;line-height:1.4}
  .rs-print-foot{font-size:6.8pt;color:#0B2545;border-top:1px solid #d7dbe2;padding-top:5px;margin-top:6px}
}
