@font-face{font-family:DM;src:url(sans-400-normal.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:DM;src:url(sans-600-normal.ttf) format("truetype");font-weight:600 800;font-display:swap}
@font-face{font-family:Instrument;src:url(serif-400-normal.ttf) format("truetype");font-display:swap}
@font-face{font-family:Instrument;src:url(serif-400-italic.ttf) format("truetype");font-style:italic;font-display:swap}
:root{--blue:#0065b2;--navy:#092e50;--cyan:#00aeef;--ink:#102f4b;--paper:#fff;--line:#d3e1ec;--muted:#455f73;--serif:Instrument,Georgia,serif;--pad:clamp(24px,5.3vw,100px)}
*{box-sizing:border-box}
html{scroll-padding-top:20px}
@media(prefers-reduced-motion:no-preference){html.smooth-scroll{scroll-behavior:smooth}}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.55 DM,Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #008ac3;outline-offset:4px}
img{display:block;width:100%}
.wrap{width:min(100%,1660px);margin:auto;padding-inline:var(--pad)}
.skip{position:fixed;top:-100px;left:15px;background:white;padding:12px;z-index:20}.skip:not(:focus){clip-path:inset(50%)}.skip:focus{top:12px}
header{position:relative;z-index:8;background:var(--paper);border-bottom:1px solid #e0eaf1}
.nav,.nav-end,nav,.brand,.button,.text-link,.line-link,.eyebrow,.slide-controls,.location,.trust-item,.section-head,.filters,.meeting,.foot-top,.foot-top>div{display:flex;align-items:center}
.nav{height:82px;justify-content:space-between;gap:28px}
.brand{flex:none}.brand img{width:153px;height:auto}.brand:focus-visible{outline-offset:6px}
nav{gap:clamp(19px,2.6vw,43px)}nav a{font-size:14px;font-weight:600}
nav a:hover,.foot-top a:hover{text-decoration:underline;text-underline-offset:5px}
.nav-end{gap:12px}.icon{width:20px;height:20px;flex:none}
.button{display:inline-flex;justify-content:center;gap:23px;border:1px solid transparent;border-radius:5px;padding:14px 21px;font-size:14px;font-weight:600;transition:background .2s,transform .2s;white-space:nowrap}
.button:hover{transform:translateY(-2px)}.button .icon{width:17px;height:17px}.primary{color:#fff;background:var(--blue)}.primary:hover{background:#004d89}.secondary{background:white;color:var(--blue)}.secondary:hover{background:#d9f4ff}
.menu{display:none;border:0;background:none;color:var(--blue);padding:10px}
.hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#fff 5%,#f5fbff 59%,#d7efff)}
.hero-layout{display:grid;grid-template-columns:1fr 1.03fr;gap:clamp(20px,3.4vw,64px);align-items:stretch;padding-top:22px;padding-bottom:25px}
.story-measure{position:absolute;visibility:hidden;pointer-events:none;left:0;top:0}.hero-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding-block:clamp(35px,4.3vw,77px) 20px}
.eyebrow{font-size:10.5px;font-weight:600;line-height:1.35;letter-spacing:.16em;text-transform:uppercase;color:var(--blue);gap:10px}
.eyebrow i{width:23px;height:6px;border-radius:8px 0;transform:skewX(-18deg);background:linear-gradient(110deg,var(--blue) 52%,var(--cyan) 53%)}
h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400}
.hero h1{font-size:clamp(62px,6.4vw,107px);letter-spacing:-.055em;line-height:.98;margin:24px 0;color:var(--navy)}
.hero h1 span{font-family:DM,Arial,sans-serif;font-weight:600;font-size:.86em;letter-spacing:-.067em}
.hero h1 em{color:var(--blue);font-weight:400;letter-spacing:-.037em}
.hero-text p{max-width:415px;font-size:clamp(16px,1.16vw,19px);color:var(--muted);line-height:1.65}
.hero-actions{display:flex;align-items:center;gap:25px;margin-top:25px}.button{border-radius:30px}
.text-link,.line-link{display:inline-flex;gap:10px;font-weight:600;font-size:14px}.text-link .icon,.line-link .icon{width:16px}.text-link:hover,.line-link:hover{text-decoration:underline;text-underline-offset:4px}
.hero-art{position:relative;min-height:clamp(425px,35vw,580px);align-self:stretch}
.photo-frame,.hero-art::before{position:absolute;inset:0;border-radius:clamp(75px,9vw,165px) 6px clamp(62px,6vw,100px) 6px}
.hero-art::before{content:"";background:linear-gradient(125deg,#00aeef 0%,#bdeeff 52%,#007fbe 100%);transform:translate(-8px,8px)}
.photo-frame{overflow:hidden;background:#c3e3f2}.scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 53%;opacity:0;transition:opacity 1s ease-in-out}.scene.current{opacity:1;animation:harbour-pan 7.6s cubic-bezier(.18,.48,.54,.88) both}
@keyframes harbour-pan{from{transform:scale(1.02) translate(0,0)}to{transform:scale(1.16) translate(-1.1%,-1.7%)}}
.photo-tool{position:absolute;bottom:24px;left:22px;display:flex;gap:13px;align-items:center;padding:13px 17px 13px 12px;border-radius:8px;background:#fffffffa;box-shadow:0 8px 36px #0a355326;transition:transform .2s}
.photo-tool:hover{transform:translateY(-3px)}.tool-symbol{width:38px;height:38px;display:grid;place-items:center;color:var(--blue);background:#e5f5fd;border-radius:50%}.photo-tool small,.photo-tool strong{display:block}.photo-tool small{color:#52697a;font-size:11px}.photo-tool strong{font-size:14px}.photo-tool>.icon{width:15px;margin-left:12px;color:var(--blue)}
.slide-controls{align-self:flex-start;gap:12px;margin-top:clamp(31px,3vw,52px);color:#355772}.counter{font-size:12px;font-variant-numeric:tabular-nums}.counter b{color:var(--blue)}.counter span{color:#526c80}.slide-rule{width:30px;height:1px;background:#9db8cb}.slide-controls #slide-topic{font-size:12px;margin-right:6px}.slide-controls button{width:34px;height:34px;display:grid;place-items:center;background:transparent;color:var(--blue);border:1px solid #adc7db;border-radius:50%;transition:background .2s,color .2s}.slide-controls button:hover{color:white;background:var(--blue)}.slide-controls .icon{width:15px}
.trust{background:var(--navy);color:white;border-bottom:1px solid var(--line)}.trust-inner{display:grid;grid-template-columns:repeat(3,1fr);padding-block:24px}.trust-item{gap:17px;justify-content:center;border-left:1px solid #3e6078}.trust-item:first-child{justify-content:flex-start;border:0}.trust-item .icon{width:30px;height:30px;color:#69d6ff;stroke-width:1.25}.trust-item strong{display:block;font:600 clamp(17px,1.5vw,24px)/1.15 DM,Arial,sans-serif;letter-spacing:-.035em}.trust-item small{display:block;color:#bacfdf;font-size:12px;margin-top:3px}
.services,.about,.calc,.guide,.local-services{padding-block:clamp(58px,5.7vw,100px)}
h2{font-size:clamp(48px,4.5vw,77px);line-height:1.03;letter-spacing:-.027em}h2 em{color:var(--blue)}.section-head h2{font-family:DM,Arial,sans-serif;font-size:clamp(40px,3.75vw,63px);font-weight:600;letter-spacing:-.055em}.section-head h2 em{font-family:var(--serif);font-weight:400;font-size:1.17em}.section-head{justify-content:space-between;gap:30px;margin:12px 0 30px}.filters{flex:none;border:1px solid var(--line);border-radius:24px;padding:3px;gap:2px}.filters button{background:none;border:0;color:var(--navy);border-radius:24px;font-size:13px;padding:8px 14px}.filters button[aria-pressed=true]{background:var(--blue);color:white}
.category-controls{display:flex;align-items:center;gap:8px;flex:none}.category-playback{width:36px;height:36px;display:grid;place-items:center;color:var(--blue);background:white;border:1px solid var(--line);border-radius:50%}.category-playback:hover{background:#edf7fd;border-color:#a6c8df}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(15px,1.8vw,30px)}.loan-card{display:block;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#fff}.loan-card[hidden]{display:none}.card-img{overflow:hidden}.card-img img{height:clamp(160px,15vw,260px);object-fit:cover}.card-copy{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:20px 22px 22px}.card-name{font:600 clamp(21px,1.7vw,32px)/1.15 DM,Arial,sans-serif;letter-spacing:-.04em}.round-arrow{display:grid;place-items:center;color:var(--blue);width:32px;height:32px;border-radius:50%;border:1px solid var(--line)}.round-arrow .icon{width:14px}.card-copy p{grid-column:1/-1;color:var(--muted);font-size:14px}.loan-card:hover .round-arrow{background:var(--blue);color:white}
.calc{background:#eaf5fc}.calc-grid,.about-grid,.guide{display:grid;grid-template-columns:.95fr 1.05fr;gap:clamp(35px,7vw,145px);align-items:center}.calc h2,.about h2,.guide h2,.local-services h2{margin:17px 0 18px}.calc-grid>div>p,.about-grid p,.detail-content p,.guide p,.book p{max-width:540px;line-height:1.7;color:var(--muted)}.calc-box,.book{background:var(--paper);border:1px solid #ccdeeb;border-radius:7px;padding:clamp(21px,2.8vw,47px)}.fields{display:grid;grid-template-columns:1.12fr 1fr .95fr;gap:12px}.fields label{font-size:12px;font-weight:600}.fields input{display:block;margin-top:7px;width:100%;border:1px solid #a1b8ca;padding:10px;border-radius:4px;color:var(--ink);background:#fff;font-size:16px}.estimate{border-top:1px solid var(--line);margin:22px 0 12px;padding-top:19px}.estimate small,.estimate output{display:block}.estimate output{font:400 clamp(45px,4vw,74px)/1.1 var(--serif);color:var(--blue)}.calc-box #calc-note{font-size:12px;color:var(--muted)}
.about-grid{grid-template-columns:1.05fr .95fr}.about img{height:clamp(290px,27vw,460px);object-fit:cover;border-radius:5px}.line-link{margin-top:20px;border-bottom:1px solid #8db9d6;padding-bottom:4px;color:var(--blue)}
.banner{background:linear-gradient(110deg,#07395e,#005b9a);color:#fff;padding:56px 0}.banner .wrap{display:flex;justify-content:space-between;align-items:center;gap:25px}.banner h2{font-size:clamp(43px,4.3vw,75px);margin-top:17px}.banner .eyebrow{color:#a8e7ff}.banner em{color:#8ee0ff}
footer{padding:36px 0;background:#062743;color:#fff}.foot-top{justify-content:space-between;gap:22px;padding-bottom:23px;margin-bottom:19px;border-bottom:1px solid #375671}.foot-top>div{gap:24px;font-size:13px}.foot-top .brand{transform:scale(.9);transform-origin:left center}footer p{font-size:11.5px;color:#bacfdf;line-height:1.7}
.detail-hero{background:#edf7fe;display:grid;grid-template-columns:1fr 1fr}.detail-content{padding:34px var(--pad) 50px;align-self:center}.detail-content .crumb{display:inline-block;font-size:12px;color:#2c627e;text-decoration:underline;text-underline-offset:4px;margin-bottom:30px}.detail-content h1{font-size:clamp(60px,6vw,110px);line-height:.98;letter-spacing:-.03em;margin:18px 0}.detail-content em{color:var(--blue)}.detail-hero>img{height:100%;min-height:350px;object-fit:cover}.guide{align-items:start}.guide details{border-top:1px solid var(--line);padding:15px 0}.guide details:last-of-type{border-bottom:1px solid var(--line)}.guide summary{display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none;cursor:pointer;font-weight:600}.guide summary::-webkit-details-marker{display:none}.guide details[open] .icon{transform:rotate(45deg)}.guide details p{margin-top:12px;font-size:15px}
address{font-style:normal;margin:0 0 18px}address a,address p{display:flex;align-items:flex-start;gap:13px;margin:9px 0}address .icon{width:17px;margin-top:3px}address a:hover{text-decoration:underline}.book h3{font-size:39px}.book p{margin:8px 0 22px}.meeting{border-top:1px solid var(--line);padding:14px 0;justify-content:space-between}.meeting small{display:block;color:var(--muted)}.local-services{border-top:1px solid var(--line);padding-top:40px}.local-links{display:flex;gap:20px 28px;flex-wrap:wrap}
@media(min-width:1750px){.detail-content{padding-left:max(var(--pad),calc((100vw - 1460px)/2))}}
@media(max-width:980px){
.nav{gap:15px}nav{gap:16px}nav a{font-size:12px}.nav .button{padding:11px 14px;gap:10px}.brand img{width:135px}
.hero h1{font-size:clamp(58px,6.75vw,72px)}.hero-art{min-height:414px}.hero-actions{gap:16px}.hero-actions .button{padding:12px 17px;gap:11px}
.trust-item{gap:12px}.trust-item small{font-size:11px}.calc-grid,.about-grid,.guide{gap:32px}.fields{grid-template-columns:1fr 1fr}.fields label:first-child{grid-column:1/-1}.section-head{align-items:flex-end}.filters button{font-size:12px;padding:7px 11px}}
@media (max-width: 850px) {
  .nav {height: 70px}
  .brand img {width: 122px}
  .nav-end {gap: 4px}
  .nav .menu {display: grid; place-items: center; padding: 0; width: 44px; height: 44px; flex: none; border-radius: 50%}
  .nav .button {min-height: 44px; font-size: 12px; gap: 7px; padding: 10px 12px}
  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 14px var(--pad) 24px;
    box-shadow: 0 12px 18px #082e521c;
  }
  nav.open {display: grid; gap: 0}
  nav a {font-size: 16px; padding: 11px 0; border-top: 1px solid var(--line)}
}
@media(max-width:750px){
.hero-layout{grid-template-columns:1fr;gap:18px;padding-top:30px;padding-bottom:24px}.hero-copy{padding:0}.hero h1{font-size:clamp(56px,12vw,80px);margin:14px 0}.hero-text p{font-size:15px;line-height:1.48;max-width:440px}.hero-actions{margin-top:17px;gap:20px}.hero-actions .button{font-size:13px;padding:10px 15px}.slide-controls{margin-top:13px;gap:8px}.slide-controls button{width:31px;height:31px}.hero-art{min-height:0;height:clamp(230px,57vw,355px)}.photo-frame,.hero-art::before{border-radius:65px 4px 52px 4px}.hero-art::before{transform:translate(-4px,4px)}.photo-tool{bottom:13px;left:12px;gap:9px;padding:8px 12px 8px 8px}.tool-symbol{width:31px;height:31px}.photo-tool strong{font-size:12px}.photo-tool small{font-size:10px}
.trust-inner{padding-block:19px;padding-inline:12px}.trust-item{flex-direction:column;text-align:center;gap:7px;padding:0 6px}.trust-item:first-child{justify-content:center}.trust-item .icon{width:22px;height:22px}.trust-item strong{font-size:14px}.trust-item small{font-size:10px;line-height:1.35}
.section-head{align-items:flex-start;flex-direction:column;gap:17px;margin-bottom:20px}h2{font-size:48px}.cards{grid-template-columns:1fr;gap:20px}.card-img img{height:clamp(175px,43vw,300px)}.card-copy{padding:17px 18px}.card-name{font-size:24px}.calc-grid,.about-grid,.guide,.detail-hero{grid-template-columns:1fr}.calc,.about,.services,.guide,.local-services{padding-block:49px}.calc-grid,.about-grid,.guide{gap:26px}.about img{height:245px}.banner .wrap,.foot-top{align-items:flex-start;flex-direction:column}.banner{padding:42px 0}.foot-top>div{gap:15px;flex-wrap:wrap}.detail-content{padding:23px var(--pad) 32px}.detail-content .crumb{margin-bottom:22px}.detail-hero>img{min-height:0;height:200px}.detail-content h1{font-size:64px}.fields{grid-template-columns:1fr 1fr}.section-head h2{max-width:540px}}
@media(max-width:375px){.hero h1{font-size:51px}.trust-item strong{font-size:13px}.nav{gap:5px}.brand img{width:110px}}

/* The lines move together like a harbour current behind the opening spread. */
.harbour-lines{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;overflow:visible;fill:none;stroke:#319fd0;stroke-width:1.25;opacity:.23}
.harbour-lines g{transform-origin:48% 70%;animation:harbour-tide 7s ease-in-out infinite alternate}
.harbour-lines path:nth-child(3n){stroke:#0874b4;stroke-dasharray:110 370;animation:current-trace 12s linear infinite}
@keyframes harbour-tide{from{transform:translate(-12px,12px) rotate(-2deg)}to{transform:translate(18px,-18px) rotate(2deg)}}
@keyframes current-trace{to{stroke-dashoffset:-480}}
.hero h1 span,.hero h1 em{display:inline-block}
.slide-controls .slide-rule{position:relative;width:clamp(38px,4.3vw,70px);height:3px;background:#c4dded;border-radius:5px;overflow:hidden}
.slide-rule i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#0065b2,#00aeef);transform-origin:left;transform:scaleX(0)}
.playback svg{width:15px;height:15px;fill:currentColor}.playback .play-icon,.playback.is-paused .pause-icon{display:none}.playback.is-paused .play-icon{display:block}
.motion-paused .harbour-lines g,.motion-paused .harbour-lines path,.motion-paused .scene.current{animation-play-state:paused}
.balance-chart{margin:15px 0 17px;padding:16px 18px 12px;background:#eef7fd;border:1px solid #d2e7f4;border-radius:8px}
.chart-heading,.chart-scale{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.chart-heading span{font-size:13px;color:var(--muted)}.chart-heading strong{font-weight:600;letter-spacing:-.04em;font-size:clamp(18px,1.55vw,25px);color:var(--navy);font-variant-numeric:tabular-nums}
.balance-plot{display:block;width:100%;height:92px;margin:7px 0 0;overflow:visible}.chart-grid{stroke:#c8dfec;fill:none;stroke-dasharray:2 5}
#balance-line{stroke:var(--blue);stroke-width:2.5;fill:none;vector-effect:non-scaling-stroke}#balance-marker{stroke:#007cb5;stroke-dasharray:3 3}#balance-dot{stroke:white;stroke-width:2.5;fill:var(--blue)}
#balance-scrub{display:block;width:100%;accent-color:var(--blue);margin:0;height:23px;cursor:pointer}.chart-scale{font-size:11px;color:#49657a}
@media(max-width:750px){.harbour-lines{height:57%;top:4%;opacity:.18}.slide-controls{gap:8px}.slide-controls #slide-topic{min-width:75px;margin:0}.slide-controls button{width:36px;height:36px}.balance-chart{padding:13px 12px}.chart-heading{align-items:start}.chart-heading span{max-width:58%}}

.office-visit {
  padding-block: clamp(34px, 4.7vw, 78px);
  background: linear-gradient(130deg, #fff 14%, #f4f9fc 66%, #eaf4f9);
  border-bottom: 1px solid var(--line);
}
.office-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 26px clamp(30px, 4vw, 72px);
}
.office-intro h1 {
  margin: 13px 0 15px;
  color: var(--navy);
  font-size: clamp(52px, 5.85vw, 96px);
  line-height: .96;
  letter-spacing: -.037em;
}
.office-intro em {color: var(--blue)}
.office-address {font-size: clamp(16px, 1.5vw, 22px); font-weight: 600; line-height: 1.45}
.office-map {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #c4ddea;
  border-radius: 17px;
  box-shadow: 0 16px 42px #123f5b14;
}
.office-map svg {display: block; width: 100%; height: auto}
.office-map figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 17px;
  color: var(--muted);
  border-top: 1px solid #c4ddea;
  font-size: 13px;
}
.office-map .button {gap: 8px; min-height: 44px; padding: 8px 14px}
.map-building {stroke: #a8c9da; stroke-width: 1.5}
.map-roofline {fill: none; stroke: #eaf5fa; stroke-width: 2}
.map-street {fill: #345670; font-size: 20.5px; font-weight: 600}
.map-park {fill: #315e50}
.map-leader {fill: none; stroke: #688aa3; stroke-width: 2; stroke-linecap: round}
.map-stop-label {transform: scale(.68)}
.map-place {fill: var(--navy); font-size: 21.5px; font-weight: 600}
.map-detail {fill: #3c6178; font-size: 19.5px; font-weight: 400}
.map-arrival {fill: #fff}
.map-arrival tspan {fill: #bceaff; font-size: 19.5px; font-weight: 400}
.map-symbol {fill: #fff; font-size: 20px; font-weight: 600; text-anchor: middle}
.map-crossing {fill: #294e69; font-size: 18.5px; font-weight: 600}
.walker-body {filter: drop-shadow(0 0 1.2px white)}
.walk-control {
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #bad1df;
  border-radius: 24px;
  background: white;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}
.walk-control:hover {background: #edf7fc}
.office-directions h2 {font: 600 20px/1.25 DM, Arial, sans-serif; letter-spacing: -.025em}
.office-steps {
  display: grid;
  gap: 7px;
  max-width: 40ch;
  margin: 10px 0 0;
  padding-inline-start: 1.55em;
  color: var(--muted);
}
.office-steps li {padding-inline-start: 4px}
.office-steps li::marker {color: var(--blue); font-weight: 600}
.office-steps strong {font-weight: 600; color: var(--ink)}
.office-hours {margin-top: 19px; font-size: 14px; color: var(--muted)}
.office-contact {display: flex; flex-wrap: wrap; column-gap: 16px; margin-top: 4px}
.office-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}
.office-contact a:hover {text-decoration: underline}
.office-contact .icon {width: 16px; height: 16px}

@media (max-width: 750px) {
  :root {--pad: clamp(16px, 5.65vw, 22px)}
  .hero-actions .button, .hero-actions .text-link {min-height: 44px}
  .hero-text p {font-size: 16px}
  .hero-actions {gap: clamp(10px, 4vw, 20px)}
  .slide-controls {
    align-self: stretch;
    display: grid;
    grid-template-columns: auto minmax(12px, 44px) minmax(0, 1fr) repeat(3, 44px);
    gap: clamp(4px, 1.8vw, 8px);
    width: min(100%, 355px);
  }
  .slide-controls .slide-rule {width: 100%}
  .slide-controls #slide-topic {min-width: 0; line-height: 1.2}
  .slide-controls button, .category-playback {width: 44px; height: 44px}
  .photo-tool small {font-size: 11px}
  .photo-tool strong {font-size: 13px}
  .trust-inner {grid-template-columns: repeat(3, minmax(0, 1fr))}
  .trust-item small {font-size: clamp(10.5px, 2.9vw, 12px)}
  .filters button {min-height: 44px; padding-inline: 11px; font-size: 13px}
  .card-copy p {font-size: 15px}
  .fields {grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end}
  .fields input {min-height: 44px}
  #balance-scrub {height: 44px}
  .about-grid > img {order: 1}
  .detail-content h1 {font-size: clamp(46px, 11vw, 68px)}
  .detail-content .crumb {min-height: 44px; display: inline-flex; align-items: center; margin-bottom: 11px}
  .contact-guide address a {min-height: 44px; align-items: center; margin: 0}
  .contact-guide address a .icon {margin-top: 0}
  .contact-guide .line-link, .local-links .line-link {min-height: 44px}
  .foot-top > div {gap: 0 17px}
  .foot-top > div a {display: inline-flex; align-items: center; min-height: 44px}
  .office-visit {padding-top: 25px}
  .office-layout {grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 18px}
  .office-map {grid-column: auto; grid-row: auto; border-radius: 13px}
  .office-map figcaption {padding: 8px 12px}
  .map-stop-label {transform: scale(.9)}
  .office-map .button {font-size: 13px; padding-inline: 11px}
  .office-intro h1 {font-size: clamp(43px, 9.6vw, 67px); margin: 9px 0 10px}
}
@media (max-width: 375px) {
  .nav .brand img {width: 104px}
  .nav .button {gap: 6px; padding-inline: 10px}
  .nav .button .icon {width: 13px; height: 13px}
  .hero h1 {font-size: clamp(44px, 13.6vw, 51px)}
  .hero-actions .button {padding-inline: 12px}
  .hero-actions .text-link {gap: 5px}
  .calc-box {padding-inline: 16px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Broker consultation */
.consult-shell{background:linear-gradient(120deg,#edf7fa,#f6faf8 55%,#e5f3fa);border-bottom:1px solid var(--line)}
.consult-layout{display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr);grid-template-rows:auto auto;align-content:start;gap:20px clamp(30px,5vw,90px);padding-block:clamp(36px,5vw,76px)}
.consult-intro{align-self:start}
.consult-intro h1{font:400 clamp(64px,6.5vw,96px)/.97 var(--serif);letter-spacing:-.047em;margin:19px 0}
.consult-intro h1 em{color:var(--blue)}
.consult-intro>p{max-width:365px;color:var(--muted);margin:0;font-size:17px}
.consult-card{align-self:start;grid-column:2;grid-row:1 / span 2;min-width:0;background:white;border:1px solid #c6dce5;border-radius:20px;box-shadow:0 16px 44px -26px #194d6e55;overflow:hidden}
.consult-head{display:flex;align-items:center;gap:13px;background:#0b3658;color:white;padding:18px clamp(16px,2.4vw,34px)}
.consult-head strong,.consult-head small{display:block}.consult-head strong{font-size:16px}.consult-head small{font-size:12px;color:#c4e5ef}
.consult-mark{width:40px;height:40px;border-radius:50%;background:#bde9f3;display:flex;align-items:center;justify-content:center;gap:3px}.consult-mark i{width:3px;height:8px;background:#105678;border-radius:2px}.consult-mark i:nth-child(even){height:16px}.consult-mark i:nth-child(3){height:24px}
.consult-head button{margin-left:auto;color:#e4f4fa;background:transparent;border:1px solid #7394a9;border-radius:20px;font-size:12px;padding:7px 12px}
.consult-head button[aria-pressed=true]{color:var(--navy);background:#bde9f3}
.consult-body{padding:clamp(18px,2.4vw,34px);padding-top:16px}
.consult-card [hidden]{display:none!important}
.consult-note,.consult-fine{font-size:12px;color:#50697b}
.consult-note{border-bottom:1px solid #dae6ea;padding-bottom:11px;margin-bottom:16px}
.consult-opening,.consult-body h2{font:400 clamp(30px,2.8vw,42px)/1.06 var(--serif);letter-spacing:-.025em;margin:0 0 16px;max-width:440px}
#dialogue{max-height:320px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.consult-message{width:fit-content;max-width:94%;border-radius:13px 13px 13px 3px;padding:10px 13px;margin:6px 0 10px;font-size:15px;background:#eff5f8;white-space:pre-wrap;overflow-wrap:anywhere}
.consult-message.visitor{margin-left:auto;background:#dff2fb;border-radius:13px 13px 3px 13px}
.consult-chips,.consult-tools,.consult-primary,.consult-link,.consult-send,#speak{display:flex;align-items:center;gap:8px}
.consult-chips{flex-wrap:wrap;margin:1px 0 18px;gap:7px}
.consult-chips button{min-height:44px;background:#f5f9fa;border:1px solid #c4d9e2;border-radius:30px;padding:8px 13px;font-size:13px;color:var(--ink)}
.consult-chips button:hover{background:#def1fa;border-color:#87b1c8}
#message-form{border-radius:12px;background:#fff;border:1px solid #a9c2d0;padding:10px}
#message-form:focus-within{outline:2px solid #28729a;outline-offset:1px}
#message{display:block;width:100%;padding:4px;border:0;outline:0;resize:vertical;min-height:52px;font:inherit;font-size:16px;color:var(--ink)}
.consult-tools{justify-content:space-between}
.consult-send,.consult-primary{justify-content:center;min-height:42px;border:0;background:#0064a7;color:#fff;border-radius:8px;padding:9px 16px;font-weight:600;font-size:14px}
.consult-send{margin-left:auto}.consult-send:hover,.consult-primary:hover{background:#064875}
#speak,.consult-link{background:transparent;border:0;color:#075580;min-height:42px;padding:5px;font-size:14px;font-weight:600}
#speak[data-recording=true]{color:#96332e}
.consult-fine{margin:9px 0 6px}.consult-link{padding-inline:0;text-decoration:underline;text-underline-offset:4px}.consult-link .icon,.consult-send .icon,.consult-primary .icon{width:16px}
.consult-card button:disabled{opacity:.58;cursor:wait}
.consult-form>p,#consult-success p,#consult-offline p{color:var(--muted);margin:7px 0 16px}
.consult-form label{display:block;font-size:14px;font-weight:600;margin:12px 0 4px}
.consult-form label small{font-weight:400}
.consult-form textarea,.consult-form input:not([type=checkbox]),.consult-form select{width:100%;background:#fff;border:1px solid #afc5d1;border-radius:8px;color:var(--ink);font:inherit;font-size:16px;padding:9px 10px}
.consult-form textarea{resize:vertical}
.consult-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.consult-form .consult-consent{display:flex;align-items:flex-start;gap:8px;font-weight:400;line-height:1.45;margin-block:15px}
.consult-consent input{width:18px;height:18px;flex:none;margin:1px 0}
#consult-status:not(:empty){margin:12px 0 0;padding:9px 12px;background:#f0f6f8;border-radius:6px;font-size:14px}
#consult-status:empty{margin:0}
.consult-contact{grid-column:1;font-size:14px}.consult-contact a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.consult-contact span{display:block;font-size:12px;color:var(--muted)}
.consult-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:760px){
 .consult-layout{display:flex;flex-direction:column;padding-block:24px 32px;gap:18px}
 .consult-intro h1{font-size:clamp(44px,9vw,62px);margin:7px 0}.consult-intro h1 br{display:none}
 .consult-intro>p{font-size:14px;line-height:1.45;max-width:530px}
 .consult-card{width:100%;border-radius:15px}.consult-head{padding:12px 16px}.consult-body{padding:14px 16px 16px}
 .consult-note{margin-bottom:12px}.consult-chips{margin-bottom:13px}.consult-chips button{padding:8px 11px}
}
@media(max-width:375px){.consult-layout{padding-inline:14px}.consult-fields{grid-template-columns:1fr;gap:0}.consult-body{padding-inline:13px}}

#callback-details{min-width:0;margin:0;padding:0;border:0}
@media(max-width:520px){
 .consult-fields{grid-template-columns:minmax(0,1fr);gap:0}
 #brief{min-height:8em}
}

.calc-handoff{border-top:1px solid var(--line);padding-top:12px;margin-top:16px}
.calc-handoff [hidden],.calc-handoff[hidden]{display:none}
.calc-actions,.context-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px}
.calc-actions button{border:1px solid #aac6d5;border-radius:8px;background:#f5fafc;color:var(--navy);padding:9px 12px;min-height:44px;font-size:14px}
.calc-actions a{min-height:44px;margin:0}
.calc-comparison,#context-numbers{background:#edf6fa;border-radius:8px;padding:12px 14px;margin:0 0 12px;font-size:14px}
.calc-comparison span,.calc-comparison small{display:block;margin-top:4px}
#context-numbers{white-space:pre-line}
.context-actions{margin:8px 0 18px}
.estimate-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.estimate-pair>div+div{border-left:1px solid #c0d7e5;padding-left:14px}
@media(max-width:375px){.estimate-pair{grid-template-columns:1fr}.estimate-pair>div+div{border:0;padding:0}}

.consult-thinking{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:14px}
.thinking-dots{display:inline-flex;align-items:center;gap:3px}
.thinking-dots i{width:5px;height:5px;background:var(--blue);border-radius:50%}
@media(prefers-reduced-motion:no-preference){
 .thinking-dots i{animation:reply-dot 1s ease-in-out infinite}
 .thinking-dots i:nth-child(2){animation-delay:.14s}
 .thinking-dots i:nth-child(3){animation-delay:.28s}
}
@keyframes reply-dot{0%,60%,100%{opacity:.5;transform:none}30%{opacity:1;transform:translateY(-2px)}}

@media(prefers-reduced-motion:no-preference){
 .loan-card:not([hidden]) .card-img img{animation:loan-photo-zoom var(--category-duration,3500ms) ease-out both;animation-play-state:paused}
 .categories-playing .loan-card:not([hidden]) .card-img img{animation-play-state:running}
}
@keyframes loan-photo-zoom{from{transform:scale(1)}to{transform:scale(1.075)}}

.opening-home{display:block;width:100%;height:100%}
.opening-sketch,.window-finish{display:none}
@media(prefers-reduced-motion:no-preference){
 .sketch-pending{--build-play:paused}
 .sketch-pending.sketch-running{--build-play:running}
 .opening-scene.sketch-pending{animation-play-state:paused}
 .sketch-pending .opening-sketch,.sketch-pending .window-finish{display:inline}
 .sketch-pending .opening-sketch{animation:finish-house 9.4s linear both}
 .sketch-pending .paper-detail{animation:develop-drawing 2.9s ease-in-out both}
 .sketch-pending .pencil-pass{stroke-dasharray:1;animation:draw-house-line 1.4s var(--at) ease-in-out both}
 .sketch-pending :is(.draft-line,.ink-line){stroke-dasharray:1;animation:draw-house-line 1.25s var(--at) ease-in-out both}
 .sketch-pending .raise-column{transform-box:fill-box;transform-origin:center bottom;animation:raise-column .7s var(--at) ease-out both}
 .sketch-pending :is(.place-slab,.lay-stone){animation:bed-material .55s var(--at) ease-out both}
 .sketch-pending .set-batten{stroke-dasharray:250;animation:fit-timber .78s var(--at) ease-out both}
 .sketch-pending .material-finish{animation:finish-material 1.55s var(--at) ease-in-out both}
 .sketch-pending .fit-glass{animation:fit-glass .95s 5.45s ease-out both}
 .sketch-pending .glass-reflection{animation:fill-reflection 1.65s 6.1s ease-in-out both}
 .sketch-pending .window-finish{animation:warm-window 9.4s linear both}
 .sketch-pending :is(.opening-sketch,.pencil-pass,.paper-detail,.draft-line,.ink-line,.raise-column,.place-slab,.lay-stone,.set-batten,.material-finish,.fit-glass,.glass-reflection,.window-finish){animation-play-state:var(--build-play)}
}
@keyframes develop-drawing{0%,40%{opacity:.36}100%{opacity:1}}
@keyframes draw-house-line{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes raise-column{from{transform:scaleY(.03);opacity:0}to{transform:scaleY(1);opacity:1}}
@keyframes bed-material{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
@keyframes fit-timber{from{stroke-dashoffset:250}to{stroke-dashoffset:0}}
@keyframes fit-glass{from{opacity:0;transform:translateY(-4px)}to{opacity:.83;transform:none}}
@keyframes finish-material{from{clip-path:inset(100% 0 0);opacity:.15}to{clip-path:inset(0);opacity:.9}}
@keyframes fill-reflection{from{opacity:0}to{opacity:.95}}
@keyframes finish-house{0%,72%{opacity:1}84%{opacity:.64}96%,100%{opacity:0}}
@keyframes warm-window{0%,78%{opacity:0}88%{opacity:.28}100%{opacity:0}}
.sketch-replay{position:absolute;top:14px;right:14px;display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 14px;border:1px solid #b8cfdc;border-radius:24px;color:var(--navy);background:#fffffff5;font-size:13px;font-weight:600}
.sketch-replay .icon{width:16px;height:16px}
.sketch-replay:hover{background:#edf7fd}
.sketch-replay[hidden]{display:none}

.reception-photo {margin:18px 0 0;max-width:450px}
.reception-photo img {width:100%;height:auto;aspect-ratio:2.4;object-fit:cover;object-position:50% 45%;border-radius:12px}
.reception-photo figcaption {margin-top:5px;color:var(--muted);font-size:.8rem}
.servicing {padding-block:clamp(38px,6vw,96px)}
.servicing h1 {font-size:clamp(48px,6.4vw,100px);letter-spacing:-.05em;line-height:.99;margin:18px 0}
.servicing h1 em {font-family:var(--serif);font-weight:400;color:var(--blue)}
.servicing .calc-box h2 {font:600 clamp(21px,2vw,29px)/1.2 DM,sans-serif;margin:0 0 20px;letter-spacing:-.035em}
.servicing-fields {grid-template-columns:repeat(2,minmax(0,1fr))}
.servicing-fields label:first-child {grid-column:auto}
.servicing .calc-box {min-width:0}
.svc-help,.svc-assumptions p,.servicing .estimate p {font-size:13px;line-height:1.55;color:var(--muted)}
.svc-hem,.svc-assumptions {margin:12px 0}
.svc-hem summary,.svc-assumptions summary {font-weight:600;font-size:14px;color:var(--blue);cursor:pointer;padding:8px 0}
.svc-hem label {display:block;margin-top:6px;font-weight:600;font-size:13px}
.svc-hem input {display:block;width:100%;margin-top:6px;border:1px solid #a1b8ca;border-radius:4px;padding:10px;font:inherit;font-size:16px}
.svc-assumptions a {text-decoration:underline;font-size:14px}
.servicing .estimate output {overflow-wrap:anywhere}
@media(max-width:750px){.servicing-fields {grid-template-columns:1fr}.servicing .calc-grid{gap:24px}.servicing .fields input{width:100%}.about .office-preview img{max-width:24vw}}

.visit-form,.visit-receipt {padding:3px 15px 12px}
.visit-form fieldset {min-width:0;padding:0;border:0;margin:0}
.visit-form legend,.visit-receipt h3 {font-size:16px;font-weight:600;color:var(--navy);padding:0}
.visit-form label {display:block;margin:10px 0 0;font-size:13px;font-weight:600}
.visit-form input,.visit-form select,.visit-form textarea {display:block;width:100%;padding:9px 10px;margin-top:4px;border:1px solid #a1b8ca;border-radius:6px;background:#fff;color:var(--navy);font:400 16px/1.35 DM,sans-serif}
.visit-form fieldset fieldset {margin-top:14px}
.visit-form fieldset fieldset legend {font-size:13px}
.visit-form label small {font-weight:400;color:var(--muted)}
.visit-pills {display:flex;gap:6px;flex-wrap:wrap;margin-top:5px}
.visit-pills button {padding:9px 13px;min-height:44px;border:1px solid #a1bfce;border-radius:24px;color:var(--blue);background:white}
.visit-pills button[aria-pressed=true] {background:var(--blue);color:white;border-color:var(--blue)}
.visit-pills button:disabled {opacity:.5}
.visit-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.visit-form #visit-terms,.visit-receipt p {margin:10px 0}
.visit-receipt a {display:inline-block;color:var(--blue);text-decoration:underline;padding-block:8px}
.visit-receipt strong {display:block;margin-top:8px}
#visit-status:empty {display:none}
#visit-retry {margin:0 15px 12px}
@media(max-width:600px){.visit-fields{grid-template-columns:1fr;gap:0}}

.office-feature {background:#f5f4ef;border-block:1px solid #e2e3dc;padding-block:clamp(40px,5vw,78px)}
.office-feature-grid {display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr);align-items:center;gap:clamp(30px,5vw,90px)}
.office-feature-copy h1,.office-feature-copy h2 {margin:18px 0 24px;color:var(--navy);font-size:clamp(52px,5.6vw,88px);letter-spacing:-.045em;line-height:1}
.office-feature-copy em {color:var(--blue);font:italic 1.08em/.95 var(--serif)}
.office-feature-copy address {font-style:normal;font-size:clamp(16px,1.4vw,21px);line-height:1.5}
.office-feature-copy p {margin:8px 0 24px;font-size:15px;color:var(--muted)}
.office-feature-copy .button,.office-feature-copy .line-link {width:fit-content;display:flex}
/* The office photos show that the office is real and is BTB's: three stills, the sign at the entrance largest. */
.office-proof {min-width:0;margin:0}
.proof-photos {display:grid;grid-template-columns:2fr 1fr;gap:8px}
.proof-photos img {width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:9px;background:#e1dfd6}
.proof-photos img:first-child {grid-row:1 / span 2;height:100%;min-height:0;aspect-ratio:auto}
.office-proof figcaption {padding-top:12px;max-width:52ch;font-size:15px;line-height:1.5;color:var(--muted)}
.office-visit .office-layout {grid-template-rows:auto}
.office-visit .office-map {grid-row:1}
.office-directions {grid-row:1;align-self:center}
#office-booking {scroll-margin-top:16px}
@media(max-width:750px){
  .office-feature-grid {grid-template-columns:1fr;gap:22px}
  .office-feature-copy h1,.office-feature-copy h2 {font-size:clamp(42px,9vw,61px);margin:10px 0 14px}
  .office-feature-copy h2 br {display:none}
  .office-feature-copy p {margin:6px 0 14px}
  .office-feature-copy .button,.office-feature-copy .line-link {display:inline-flex;margin:4px 10px 4px 0}
  .proof-photos {grid-template-columns:1fr 1fr}
  .proof-photos img:first-child {grid-column:1 / -1;grid-row:auto;height:auto;aspect-ratio:3/2}
  .office-visit .office-map,.office-directions {grid-row:auto}
}

.budget-tool {padding-block:clamp(42px,5vw,80px)}
/* The heading column and the calculator share the office section's grid, so their edges line up down the page. */
.budget-tool>.wrap {display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr);grid-template-areas:"intro tool" ". notes";column-gap:clamp(30px,5vw,90px)}
.budget-intro {grid-area:intro;align-self:center}
.budget-intro p {max-width:36ch;font-size:15px;line-height:1.65;color:var(--muted)}
.budget-bottom {grid-area:notes}
.budget-tool h1,.budget-tool h2 {margin:18px 0 20px;color:var(--navy);font-size:clamp(52px,5.6vw,88px);letter-spacing:-.045em;line-height:1;text-wrap:balance}
.budget-tool h1 em,.budget-tool h2 em {font:italic 1.08em/.95 var(--serif)}
.budget-tool em {color:var(--blue)}
.budget-inputs {padding:var(--card-pad);min-width:0}
.budget-field>label,.budget-choice legend {display:block;font:600 15px/1.35 DM,sans-serif;color:var(--ink)}
.budget-income {display:flex;align-items:center;gap:8px;border:1px solid #95b0c1;border-radius:8px;margin-top:8px;max-width:360px;padding:8px 14px;font-size:22px}
.budget-income:focus-within {outline:2px solid var(--blue)}
.budget-income input {width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font:inherit}
.budget-choice {border:0;margin:19px 0 0;padding:0}
.budget-choice legend {padding:0}
.budget-choice>div {display:flex;gap:6px;margin-top:7px}
.budget-choice label {position:relative;cursor:pointer}
.budget-choice input {position:absolute;opacity:0}
.budget-choice span {display:grid;place-items:center;border:1px solid #acbfcd;min-width:44px;min-height:44px;padding:6px 14px;border-radius:24px;font-size:14px}
.budget-choice input:checked+span {background:var(--blue);border-color:var(--blue);color:#fff}
.budget-choice input:focus-visible+span {outline:3px solid var(--cyan);outline-offset:2px}
.budget-expense {margin:20px 0 0;font-size:13px;color:var(--muted)}
.budget-expense strong {display:block;color:var(--ink)}
.budget-bottom {display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:20px 0 0;flex-wrap:wrap}
.budget-bottom .line-link {margin:0}
.budget-disclosure {flex:1 1 300px;max-width:740px}
.budget-tool summary {color:var(--blue);font-size:14px;font-weight:600;cursor:pointer;padding:13px 0}
.budget-disclosure p,.budget-disclosure a {font-size:14px}
.budget-disclosure a {color:var(--blue);text-decoration:underline}
.budget-sliders {display:grid;gap:15px}
.budget-sliders label {font-size:14px}
.budget-sliders strong {float:right}
.budget-sliders input {display:block;width:100%;accent-color:var(--blue);min-height:30px}
@media(max-width:1199px){.budget-tool>.wrap{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "tool" "notes"}.budget-intro{margin-bottom:22px}.budget-intro p{max-width:60ch}}
@media(max-width:750px){.budget-tool h1,.budget-tool h2{font-size:clamp(42px,9vw,61px);margin:10px 0 14px}}
@media(max-width:700px){.budget-bottom{gap:2px}.budget-tool .budget-income{max-width:none}}

.team-office .office-feature-grid {
  grid-template-areas:". gallery" "intro gallery" "visit gallery" "film gallery" ". gallery";
  grid-template-rows:1fr auto auto auto 1fr;row-gap:16px
}
.team-intro {grid-area:intro;align-self:end}
.team-intro h2 {max-width:10ch;margin-bottom:18px}
.team-intro p {max-width:42ch;line-height:1.65;margin:0;color:var(--muted)}
.team-visit {grid-area:visit}
.team-visit address {font-size:17px;line-height:1.4;font-weight:600}
.team-visit p {margin:5px 0 14px}
.visit-links {display:flex;gap:8px 18px;align-items:center;flex-wrap:wrap}
.visit-links .line-link {margin:0}
.team-office .office-proof {grid-area:gallery}
.team-film {grid-area:film;align-self:start}
.film-entry {display:flex;align-items:center;gap:12px;text-align:left;padding:12px 0 0;border:0;border-top:1px solid #c9d3d5;background:transparent;color:var(--ink)}
.film-entry[hidden]{display:none}
.film-entry strong,.film-entry small {display:block}
.film-entry strong {font-size:15px}.film-entry small {font-size:12px;color:var(--muted);margin-top:2px}
.film-thumb {position:relative;display:block;flex:none;width:75px;height:54px;overflow:hidden;border-radius:6px}
.film-thumb img {height:100%;object-fit:cover;object-position:50% 43%}
.film-thumb span {position:absolute;right:3px;bottom:3px;background:#fff;color:var(--blue);font-size:11px;width:20px;height:20px;text-align:center;line-height:20px;border-radius:50%}
#first-call-dialog {margin:auto;padding:14px;border:0;border-radius:14px;width:min(92vw,400px,calc(40dvh + 125px));max-height:94dvh;color:var(--ink);background:white}
#first-call-dialog::backdrop{background:#061d30d9}
.film-dialog-head {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.film-dialog-head h3 {font:600 16px/1.25 DM,sans-serif;margin:0}
.film-dialog-head button {border:1px solid var(--line);border-radius:22px;background:white;min-height:44px;padding:6px 12px;color:var(--blue)}
#first-call-dialog video {display:block;margin:auto;max-width:100%;height:min(68dvh,620px);aspect-ratio:9/16;object-fit:contain;background:var(--navy);border-radius:7px}
@media(max-width:750px){
  .team-office .office-feature-grid {grid-template-areas:"intro" "gallery" "visit" "film";grid-template-rows:auto;row-gap:18px}
  .team-intro h2 {max-width:none}
  .team-intro p {margin-bottom:0}
  .team-film .film-entry {width:100%}
}
.team-office {position:relative}
.team-anchor {position:absolute;top:0}

/* Two separate calculators side by side in one section: borrowing power and repayments. Each is a card with its
   result on a navy display at the top, its own controls beneath and its actions at the foot. The three parts
   line up across the two cards. */
.calc-pair {grid-area:tool;--card-pad:clamp(18px,1.7vw,26px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto 1fr auto;column-gap:16px}
.calc-card {display:grid;grid-row:span 3;grid-template-rows:auto 1fr auto;min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
@supports (grid-template-rows:subgrid){.calc-card {grid-template-rows:subgrid}}
.calc-display {container-type:inline-size;padding:var(--card-pad);color:#fff;background:radial-gradient(ellipse at top left,#124968,transparent 71%),var(--navy)}
.calc-display h3 {font:600 16px/1.35 DM,sans-serif;letter-spacing:-.01em;color:#fff}
.calc-display output {display:block;font:400 clamp(40px,16cqi,72px)/1.04 var(--serif);letter-spacing:-.035em;font-variant-numeric:lining-nums;margin:6px 0 0;overflow-wrap:anywhere}
.calc-display p {font-size:13px;line-height:1.5;color:#d2e7f3;margin:8px 0 0}
/* Each card's controls end with its small print, so the two lines of small print sit level. */
.calc-card .budget-inputs,.loan-settings {display:flex;flex-direction:column}
/* Spare height in the borrowing power card is shared evenly between its questions. */
.calc-card .budget-inputs {justify-content:space-between;gap:22px}
.calc-card .budget-choice,.calc-card .budget-expense {margin:0}
.loan-settings {min-width:0;padding:var(--card-pad)}
.budget-sliders {gap:12px}
.budget-sliders strong {color:var(--blue);font-variant-numeric:tabular-nums}
.budget-sliders input {appearance:none;background:transparent;cursor:pointer;margin:0}
.budget-sliders input:focus-visible {outline-offset:-2px}
.budget-sliders input::-webkit-slider-runnable-track {height:4px;border-radius:4px;background:linear-gradient(to right,var(--blue) var(--fill,0%),#d7e7ef var(--fill,0%))}
.budget-sliders input::-webkit-slider-thumb {appearance:none;width:16px;height:16px;border-radius:50%;background:var(--blue);border:2px solid white;box-shadow:0 0 0 1px #689ab7;margin-top:-6px}
.budget-sliders input::-moz-range-track {height:4px;background:#d7e7ef}
.budget-sliders input::-moz-range-progress {height:4px;background:var(--blue)}
/* The balance chart sits under the sliders, on the card's white. */
.calc-card .balance-chart {margin:16px 0 0;padding:14px 16px 10px}
.calc-card .balance-plot {height:76px}
.calc-card .chart-heading span {font-size:12.5px}
.calc-card .chart-heading strong {font-size:20px}
.calc-card #balance-line {stroke:#9cc4da}
.calc-card #balance-elapsed {fill:none;stroke:var(--blue);stroke-width:3;vector-effect:non-scaling-stroke}
.calc-card #balance-halo {fill:#0a8fd424}
.calc-card #play-timeline {color:var(--navy);border:1px solid #aac6d5;border-radius:18px;background:#fff;font-size:12px;padding:5px 11px;min-height:32px}
.calc-card #calc-note {font-size:13px;color:var(--muted);margin:auto 0 0;padding-top:14px}
.calc-card>.calc-handoff,.calc-next {margin-top:0;padding:12px var(--card-pad);border-top:1px solid var(--line)}
.calc-next button {display:inline-flex;align-items:center;gap:8px;border:1px solid #aac6d5;border-radius:8px;background:#f5fafc;color:var(--navy);padding:9px 12px;min-height:44px;font-size:14px}
.calc-next .icon {width:16px;height:16px;color:var(--blue);transition:transform .2s ease}
.calc-next button[aria-expanded=true] .icon {transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.calc-next .icon {transition:none}}
.budget-bottom[hidden] {display:none}
.budget-disclosure h3 {font:600 15px/1.4 DM,sans-serif;color:var(--navy);margin:0 0 8px}
.budget-disclosure:focus {outline:0}
.budget-disclosure p {margin:0 0 10px;color:var(--muted)}
.calc-card .calc-actions {justify-content:space-between}
/* While two options are compared, the comparison takes the chart's place, so neither card changes height. */
.calc-card .calc-comparison {margin:16px 0 0;padding:14px 16px;background:#eef7fd;border:1px solid #d2e7f4}
.calc-card .calc-comparison[hidden],.calc-card.is-comparing .balance-chart {display:none}
.calc-card .estimate-pair {grid-template-columns:1fr;gap:10px}
.calc-card .estimate-pair>div+div {border-left:0;padding-left:0}
@media(max-width:700px){
 .calc-pair {grid-template-columns:minmax(0,1fr);grid-template-rows:none;row-gap:16px;--card-pad:20px}
 .calc-card {grid-row:auto;grid-template-rows:auto}
 .calc-display output {font-size:48px}
 .calc-card #play-timeline {min-height:44px}
}
.consult-card textarea {field-sizing:content;min-height:3.5em;max-height:none;overflow-y:hidden;resize:none}
.consult-card #message,.consult-card #brief {resize:none}


/* Contact page: pick the conversation before showing its form. */
.consult-layout {grid-template-areas:"intro assistant" "story assistant" "email assistant";grid-template-rows:auto auto 1fr;align-items:start}
.consult-intro {grid-area:intro}
.consult-card {grid-area:assistant}
.consult-contact {grid-area:email}
.consult-story {grid-area:story;min-width:0;max-width:410px}
.consult-story .film-entry {width:100%;margin-top:12px}
.intent-option {width:100%;display:flex;align-items:center;gap:15px;text-align:left;border:1px solid var(--line);border-radius:12px;padding:18px 15px;color:var(--navy);background:white;margin-top:10px}
.intent-option>.icon:first-child {box-sizing:content-box;flex:none;width:22px;height:22px;border-radius:12px;padding:10px;background:#eaf4fa;color:var(--blue)}
.intent-option>.icon:last-child {width:16px;flex:none;margin-left:auto;color:var(--blue)}
.intent-option strong,.intent-option small {display:block}.intent-option strong {font-size:17px}.intent-option small {font-size:13px;color:var(--muted);margin-top:3px}
.intent-option:hover,.intent-option:focus-visible {border-color:var(--blue);background:#f5fafe}
#change-intent {font-size:13px;margin:0 0 8px;min-height:44px}
#office-booking .visit-form,#office-booking .visit-receipt {padding:0}
#office-booking #visit-status,#office-booking #visit-terms {font-size:13px;color:var(--muted)}
@media(max-width:760px){
 .consult-intro{order:0}.consult-card{order:1}.consult-story{order:2;width:100%;max-width:460px}.consult-contact{order:3}
 .intent-option{gap:10px;padding:13px 10px}.intent-option strong{font-size:16px}
}
.local-services>p{max-width:760px;margin-bottom:26px;line-height:1.7;color:var(--muted)}
.not-found{border-top:0;min-height:52vh}
.not-found h1{margin:17px 0 18px;font-size:clamp(48px,6vw,96px);line-height:1.02;letter-spacing:-.027em}
.not-found h1 em{color:var(--blue)}
footer p a:hover{text-decoration:underline}
/* Headings break into even lines instead of leaving one word alone. */
h1,h2{text-wrap:balance}
.section-head h2{text-wrap:wrap}
.foot-facts{display:flex;flex-wrap:wrap;column-gap:.55em}
.foot-facts span{white-space:nowrap}
.foot-facts span+span::before{content:"·";margin-right:.55em}
.budget-income{padding-block:0}
.budget-income input{padding-block:8px}
@media(max-width:750px){
 /* Phone: lists read as tidy rows, and every control is a comfortable tap. */
 .local-links{display:grid;gap:0;border-top:1px solid var(--line)}
 .local-links .line-link{justify-content:space-between;margin:0;padding:0 2px;min-height:50px;border-bottom:1px solid var(--line);font-size:15px}
 .foot-top{flex-direction:column;align-items:flex-start;gap:6px}
 .foot-top>div{flex-direction:column;align-items:flex-start;gap:0;font-size:14px}
 .foot-top>div a{min-height:40px}
 footer p{font-size:12.5px}
 .foot-facts{display:block}
 .foot-facts span{display:block;white-space:normal}
 .foot-facts span+span::before{content:none}
 .foot-facts a{display:inline-flex;align-items:center;min-height:32px}
 .visit-links .line-link{min-height:44px;align-items:center}
 .budget-sliders input{min-height:44px}
 .budget-sliders{gap:0}
 .chart-scale{font-size:12px}
 .guide summary{min-height:44px}
 .guide .line-link,.office-feature-copy .line-link{min-height:44px;align-items:center}
}
#visit-note-hint{display:flex;align-items:center;flex-wrap:wrap;gap:0 12px;margin:2px 0 0;font-size:13px;color:var(--muted)}
#visit-note-hint[hidden]{display:none}
/* Loan cards: both groups occupy the same cells, so rotating between them keeps the page height steady. */
.categories-ready .loan-card{grid-row:1}
.categories-ready .loan-card:nth-child(3n+1){grid-column:1}
.categories-ready .loan-card:nth-child(3n+2){grid-column:2}
.categories-ready .loan-card:nth-child(3n){grid-column:3}
.categories-ready .loan-card[hidden]{display:block;visibility:hidden}
@media(max-width:750px){
 .categories-ready .loan-card:nth-child(n){grid-column:1}
 .categories-ready .loan-card:nth-child(3n+1){grid-row:1}
 .categories-ready .loan-card:nth-child(3n+2){grid-row:2}
 .categories-ready .loan-card:nth-child(3n){grid-row:3}
}

/* Blog: index, teaser and cards */
.blog-hero{background:linear-gradient(115deg,#fff 5%,#f5fbff 59%,#d7efff);padding-block:clamp(40px,5vw,80px) clamp(30px,3.4vw,52px);border-bottom:1px solid var(--line)}
.blog-hero h1{margin:18px 0 20px;color:var(--navy);font-size:clamp(52px,5.6vw,88px);letter-spacing:-.045em;line-height:1}
.blog-hero h1 em,.blog-more h2 em{color:var(--blue);font:italic 1.08em/.95 var(--serif)}
.blog-hero p{max-width:58ch;font-size:17px;line-height:1.65;color:var(--muted)}
.blog-list{padding-block:clamp(30px,3.6vw,56px) clamp(50px,5.5vw,96px)}
.post-card-meta{font-size:12.5px;font-weight:600;letter-spacing:.02em;color:var(--blue)}
.post-feature{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(240px,.72fr);gap:clamp(24px,4vw,64px);align-items:center;padding:clamp(22px,3vw,44px);border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 16px 44px -30px #194d6e55}
.post-feature h2,.post-feature h3{margin:12px 0 14px;color:var(--navy);font:600 clamp(28px,2.9vw,44px)/1.1 DM,Arial,sans-serif;letter-spacing:-.04em;text-wrap:balance}
.post-feature p{max-width:58ch;margin-bottom:22px;line-height:1.65;color:var(--muted)}
.post-feature .button{width:fit-content}
.post-feature:hover h2,.post-feature:hover h3,.post-card:hover h3{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.post-feature-short{padding:20px 22px;border-radius:12px;background:#eef6fb}
.post-feature-short strong{font-size:15px;color:var(--navy)}
.post-feature-short ul{display:grid;gap:9px;margin:10px 0 0;padding-left:18px;font-size:15px;line-height:1.5}
.blog-earlier{margin:clamp(34px,4vw,56px) 0 16px;font:600 24px/1.2 DM,Arial,sans-serif;letter-spacing:-.03em;color:var(--navy)}
.post-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(15px,1.8vw,30px)}
.post-cards[data-count="1"]{grid-template-columns:minmax(0,680px)}
.post-cards[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.post-card{display:flex;flex-direction:column;gap:10px;padding:22px 22px 18px;border:1px solid var(--line);border-radius:10px;background:#fff}
.post-card h3{color:var(--navy);font:600 22px/1.2 DM,Arial,sans-serif;letter-spacing:-.03em}
.post-card p{font-size:15px;line-height:1.6;color:var(--muted)}
.post-card .line-link{align-self:flex-start;margin-top:auto;padding-top:8px}
.blog-teaser{padding-block:clamp(58px,5.7vw,100px)}
.blog-teaser .section-head{align-items:flex-end;justify-content:space-between;gap:20px;margin:17px 0 26px}
.blog-teaser .section-head .line-link{margin:0 0 8px}
.blog-more{padding-block:clamp(40px,4.4vw,70px);border-top:1px solid var(--line)}
.blog-more h2{margin:17px 0 24px}

/* Blog: one post */
.post-column{max-width:calc(820px + 2 * var(--pad))}
.post-head{padding-block:clamp(24px,3vw,42px) clamp(30px,3.6vw,54px);border-bottom:1px solid var(--line);background:#edf7fe}
.post-head .crumb{display:inline-flex;align-items:center;min-height:44px;margin-bottom:8px;font-size:13px;color:#2c627e;text-decoration:underline;text-underline-offset:4px}
.post-head h1{margin:16px 0 18px;color:var(--navy);font-size:clamp(38px,4.6vw,66px);line-height:1.05;letter-spacing:-.035em}
.post-lead{max-width:60ch;font-size:clamp(17px,1.5vw,20px);line-height:1.6;color:var(--ink)}
.post-meta{margin-top:16px;font-size:13.5px;color:var(--muted)}
.post-body{padding-block:clamp(26px,3.4vw,48px) clamp(48px,5vw,84px);font-size:18px;line-height:1.7;color:var(--ink)}
.post-body>section{margin-top:clamp(34px,3.6vw,52px)}
.post-body>section:first-child{margin-top:0}
.post-body h2{margin-bottom:12px;color:var(--navy);font:600 clamp(24px,2.2vw,30px)/1.2 DM,Arial,sans-serif;letter-spacing:-.035em;text-wrap:wrap}
.post-body section>p+p{margin-top:13px}
.post-body a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.post-short{padding:20px 24px;border-left:4px solid var(--blue);border-radius:0 12px 12px 0;background:#eef6fb}
.post-short h2{margin-bottom:8px;font-size:18px}
.post-short ul{display:grid;gap:8px;margin:0;padding-left:20px}
.meaning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.meaning-grid>div{padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:#fff}
.meaning-grid h3{margin-bottom:6px;color:var(--navy);font:600 17px/1.3 DM,Arial,sans-serif}
.meaning-grid p{font-size:16px;line-height:1.6;color:var(--muted)}
.post-words dl{margin:14px 0 0;border-top:1px solid var(--line)}
.post-words dl>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:4px 20px;padding:13px 0;border-bottom:1px solid var(--line)}
.post-words dt{font-weight:600;color:var(--navy)}
.post-words dd{margin:0;font-size:16px;line-height:1.6;color:var(--muted)}
.post-sources{padding-top:24px;border-top:1px solid var(--line);font-size:14px;line-height:1.6;color:var(--muted)}
.post-sources h2{font-size:18px}
.post-sources ul{display:grid;gap:5px;margin:8px 0 14px;padding-left:18px}

/* Blog diagrams. One blue for the bars, a darker blue for the one that matters, text in ink. */
.post-figure{margin:clamp(22px,2.6vw,34px) 0 0;padding:clamp(18px,2.2vw,28px);border:1px solid var(--line);border-radius:14px;background:#fff}
.post-figure figcaption strong{display:block;color:var(--navy);font:600 19px/1.3 DM,Arial,sans-serif;letter-spacing:-.02em}
.post-figure figcaption span{display:block;margin-top:2px;font-size:14px;line-height:1.4;color:var(--muted)}
.figure-source{margin-top:14px;font-size:12.5px;line-height:1.4;color:var(--muted)}
.figure-key{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:13.5px;line-height:1.4;color:var(--muted)}
.figure-key i{flex:none;width:16px;height:12px;border-radius:2px;background:#dcecf6}
.chart-rows{--label:11.5em;--tip:4.4em;margin:16px 0 0;padding:0;list-style:none}
.chart-rows li{display:grid;grid-template-columns:var(--label) minmax(0,1fr);align-items:stretch;font-size:15px;line-height:1.3}
.row-label{align-self:center;padding:9px 12px 9px 0;color:var(--ink)}
.row-track{position:relative;display:flex;align-items:center;gap:8px;min-height:42px;border-left:1px solid #b9cbd8}
.row-track i{position:relative;display:block;width:calc((100% - var(--tip)) * var(--f));min-width:2px;height:20px;border-radius:0 4px 4px 0;background:#5a9fd4}
.row-track b{position:relative;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink)}
.has-band .row-track::before{content:"";position:absolute;top:0;bottom:0;left:calc((100% - var(--tip)) * var(--b0));width:calc((100% - var(--tip)) * (var(--b1) - var(--b0)));background:#dcecf6}
.is-key .row-track i,.is-key .col-plot i{background:var(--blue)}
.is-key .row-label,.is-key .col-label{font-weight:600;color:var(--navy)}
.chart-columns{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:4px;margin:18px 0 0;padding:0;list-style:none}
.chart-columns li{display:flex;flex-direction:column;align-items:center;text-align:center}
.col-plot{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;width:100%;height:190px;border-bottom:1px solid #b9cbd8}
.col-plot b{margin-bottom:5px;font-size:14px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums;color:var(--ink)}
.col-plot i{display:block;width:24px;height:calc((100% - 24px) * var(--f));border-radius:4px 4px 0 0;background:#5a9fd4}
.col-label{padding-top:7px;font-size:13.5px;line-height:1.25;color:var(--muted)}
.chart-steps{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:32px;margin:18px 0 0;padding:0;list-style:none}
.chart-steps li{position:relative;padding:16px 16px 14px;border:1px solid var(--line);border-radius:12px;background:#f3f9fd;font-size:15px;line-height:1.45}
.chart-steps li+li::before{content:"";position:absolute;top:50%;left:-23px;width:12px;height:12px;border-top:2px solid var(--blue);border-right:2px solid var(--blue);transform:translateY(-50%) rotate(45deg)}
.step-number{display:grid;place-items:center;width:28px;height:28px;margin-bottom:10px;border-radius:50%;background:var(--blue);color:#fff;font-size:14px;font-weight:600}
.chart-steps strong{display:block;line-height:1.3;color:var(--navy)}
.chart-steps p{margin-top:6px;font-size:14px;line-height:1.5;color:var(--muted)}
.chart-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:16px 0 0}
.chart-tiles>div{padding:16px;border-radius:12px;background:#f3f9fd}
.chart-tiles dt{font-size:13.5px;line-height:1.35;color:var(--muted)}
.chart-tiles dd{margin:4px 0 0;color:var(--navy);font:600 clamp(28px,3vw,38px)/1.1 DM,Arial,sans-serif;letter-spacing:-.03em}
.chart-tiles small{display:block;margin-top:6px;font-size:13px;line-height:1.4;color:var(--muted)}
@media(max-width:860px){
 .post-feature{grid-template-columns:minmax(0,1fr)}
 .post-cards,.post-cards[data-count="2"]{grid-template-columns:minmax(0,1fr)}
 .blog-teaser .section-head{align-items:flex-start;flex-direction:column;gap:6px}
}
@media(max-width:700px){
 .post-body{font-size:17px}
 .meaning-grid{grid-template-columns:minmax(0,1fr)}
 .post-words dl>div{grid-template-columns:minmax(0,1fr)}
 .chart-steps{grid-auto-flow:row;grid-template-columns:minmax(0,1fr);gap:28px}
 .chart-steps li+li::before{top:-20px;left:50%;transform:translateX(-50%) rotate(135deg)}
 .post-card .line-link,.blog-teaser .line-link{min-height:44px;align-items:center}
}
@media(max-width:560px){
 .chart-rows li{grid-template-columns:minmax(0,1fr)}
 .row-label{padding:10px 0 2px}
 .row-track{min-height:34px}
 .col-plot{height:160px}
 .col-plot b{font-size:12.5px}
 .col-plot i{width:20px}
 .col-label{font-size:12.5px}
}
.post-sources li a{display:inline-block;padding:5px 0}

/* Menu: every item is a page, and the page you are on is marked. */
nav a[aria-current=page]{color:var(--blue);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}
.loan-list{padding-block:clamp(30px,3.6vw,56px) clamp(50px,5.5vw,96px)}
.loan-list .cards{row-gap:clamp(20px,2.4vw,34px)}
/* Loan options page: each photo eases closer while its card is on screen, as the homepage cards do. */
@media(prefers-reduced-motion:no-preference){
 .loan-list .loan-card .card-img img{animation:none;transition:transform 3500ms ease-out}
 .loan-list .loan-card.is-seen .card-img img{transform:scale(1.075)}
}
@media(prefers-reduced-motion:no-preference) and (hover:hover){
 .loan-list .loan-card.is-seen:hover .card-img img{transform:scale(1.12);transition-duration:900ms}
}
.office-feature-copy .about-lead{max-width:42ch;margin:0 0 18px;line-height:1.65}
/* The reception number beside the office address: plainly a link, and tall enough to tap. */
.office-feature-copy .office-phone{margin:-14px 0 12px}
.office-feature-copy .office-phone a{display:inline-block;padding:11px 0;color:var(--navy);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.consult-contact a{display:inline-block;padding-block:5px;margin-right:12px}
@media(max-width:760px){.office-feature-copy .office-phone{margin:-8px 0 6px}}
@media(max-width:750px){nav a[aria-current=page]{text-decoration:none}}
.about-film{margin-top:22px;max-width:380px}
.policy .post-short{font-size:16px}
.policy .post-short p+p{margin-top:8px}
.policy h3{margin-bottom:10px;color:var(--navy);font:600 20px/1.3 DM,Arial,sans-serif;letter-spacing:-.02em}
.policy ul{display:grid;gap:7px;margin:10px 0 0;padding-left:22px}
.policy ul+p{margin-top:13px}
.policy-addendum{padding-top:clamp(28px,3vw,44px);border-top:1px solid var(--line)}
.policy-draft{padding:14px 18px;border:1px solid #e3c98a;border-radius:10px;background:#fff8e6;font-size:15px;line-height:1.55;color:#5a4410}
.policy-draft+.post-short{margin-top:18px}
.policy-updated{font-size:14px;color:var(--muted)}
/* Loan guides (loans.py): the page in brief, then one plain part after another, each with its heading on the left
   and its content on the right. Headings are smaller than elsewhere on the site, so a long page scans quickly. */
.loan-short{padding-block:clamp(30px,3.4vw,54px) 0}
.loan-short ul{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,1.6vw,26px)}
.loan-short li{border-top:3px solid var(--blue);background:#f3f9fd;border-radius:0 0 6px 6px;padding:16px 18px 18px;font-size:clamp(16px,1.2vw,19px);line-height:1.5;color:var(--navy)}
.loan-jump{display:flex;flex-wrap:wrap;gap:8px 10px;margin-top:clamp(18px,2vw,28px);padding-bottom:clamp(22px,2.4vw,34px);border-bottom:1px solid var(--line)}
.loan-jump a{font-size:13.5px;font-weight:600;color:var(--blue);border:1px solid #b9d5e8;border-radius:99px;padding:7px 14px;min-height:36px;display:inline-flex;align-items:center}
.loan-jump a:hover{background:#eaf5fc}
.loan-part{padding-block:clamp(34px,3.6vw,58px);align-items:start;scroll-margin-top:12px}
.loan-part+.loan-part{border-top:1px solid var(--line)}
.loan-part h2{font-size:clamp(30px,2.7vw,44px);letter-spacing:-.035em;margin:14px 0 12px}
.loan-part>div:first-child p{font-size:16px;line-height:1.6}
.loan-cards,.loan-steps,.loan-ticks{list-style:none;margin:0;padding:0}
.loan-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.loan-cards li{border:1px solid var(--line);border-radius:6px;padding:16px 18px;background:#fff}
.loan-cards strong,.loan-steps strong{display:block;font-size:17px;line-height:1.35;color:var(--navy)}
.loan-cards p,.loan-steps p{margin-top:6px;max-width:none;font-size:15.5px;line-height:1.6;color:var(--muted)}
.loan-steps{counter-reset:step;display:grid;gap:0}
.loan-steps li{counter-increment:step;position:relative;padding:0 0 22px 54px}
.loan-steps li::before{content:counter(step);position:absolute;left:0;top:0;width:34px;height:34px;border-radius:50%;background:var(--blue);color:#fff;font-weight:600;font-size:15px;display:grid;place-items:center}
.loan-steps li:not(:last-child)::after{content:"";position:absolute;left:16px;top:40px;bottom:4px;width:2px;background:#cfe1ee}
.loan-steps li:last-child{padding-bottom:0}
.loan-ticks{display:grid;gap:0;border-top:1px solid var(--line)}
.loan-ticks li{position:relative;padding:12px 0 12px 34px;border-bottom:1px solid var(--line);font-size:16px;line-height:1.55}
.loan-ticks li::before{content:"";position:absolute;left:4px;top:17px;width:14px;height:8px;border-left:2.5px solid var(--blue);border-bottom:2.5px solid var(--blue);transform:rotate(-45deg)}
.loan-table{width:100%;border-collapse:collapse;font-size:15.5px;line-height:1.5}
.loan-table th,.loan-table td{text-align:left;vertical-align:top;padding:12px 14px;border-bottom:1px solid var(--line)}
.loan-table thead th{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--blue);border-bottom:2px solid var(--blue)}
.loan-table tbody th{font-weight:600;color:var(--navy);width:26%}
.loan-table td{color:var(--muted)}
.loan-part .post-words dl{margin-top:0}
.loan-part details p{max-width:none;font-size:16px;line-height:1.65}
.loan-part a:not(.line-link){color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.guide .loan-sources{margin-top:22px;max-width:none;font-size:13.5px;line-height:1.6;color:var(--muted)}
@media(min-width:751px){.loan-part{grid-template-columns:minmax(0,.6fr) minmax(0,1.4fr);gap:clamp(28px,4.5vw,90px)}}
@media(max-width:750px){
 .loan-short ul{grid-template-columns:minmax(0,1fr)}
 .loan-jump a{min-height:44px}
 .loan-part h2{font-size:32px}
 .loan-cards{grid-template-columns:minmax(0,1fr)}
 .loan-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .loan-table,.loan-table tbody,.loan-table tr,.loan-table th,.loan-table td{display:block;width:auto}
 .loan-table tr{border:1px solid var(--line);border-radius:6px;padding:12px 14px;margin-bottom:12px}
 .loan-table tbody th{width:auto;padding:0 0 6px;border:0;font-size:17px}
 .loan-table td{padding:6px 0 0;border:0}
 .loan-table td::before{content:attr(data-label);display:block;font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--blue)}
}
