
:root{
  --navy:#071323;
  --navy-2:#0B1828;
  --navy-3:#122237;
  --gold:#E1B94F;
  --gold-light:#F4D978;
  --white:#FFFFFF;
  --off-white:#F7F7F5;
  --soft:#F5F7FA;
  --text:#111827;
  --muted:#5B6472;
  --border:#E2E8F0;
  --danger:#8A1C1C;
  --success:#166534;
  --shadow:0 18px 48px rgba(7,19,35,.10);
  --radius:20px;
  --radius-sm:12px;
  --container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:92px;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--white);
  font-size:16px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto}
a{color:inherit}
p{margin:0 0 1rem}
ul{margin:0 0 1rem;padding-left:1.25rem}
h1,h2,h3{
  margin:0 0 1rem;
  color:inherit;
  letter-spacing:-.035em;
  text-wrap:balance;
}
h1{font-size:clamp(2.55rem,5vw,4.7rem);line-height:1.02;font-weight:680}
h2{font-size:clamp(1.9rem,3vw,3rem);line-height:1.08;font-weight:680}
h3{font-size:1.16rem;line-height:1.25;font-weight:700}
.container{width:min(var(--container),calc(100% - 40px));margin-inline:auto}
.narrow{width:min(860px,calc(100% - 40px))}
.skip-link{
  position:absolute;left:-9999px;top:8px;z-index:1000;
  background:var(--gold);color:var(--navy);padding:.7rem 1rem;border-radius:10px
}
.skip-link:focus{left:8px}
.sr-only{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important
}
.draft-banner{
  background:var(--gold);color:var(--navy);text-align:center;
  font-weight:800;font-size:.82rem;padding:.5rem .75rem
}

/* Header */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(5,13,24,.97);
  border-bottom:1px solid rgba(225,185,79,.14);
}
.header-inner{min-height:76px;display:flex;align-items:center;gap:1rem}
.brand{display:flex;align-items:center;text-decoration:none}
.brand img{display:block;width:250px;max-height:62px;object-fit:contain}
.site-nav{display:flex;align-items:center;gap:.18rem;margin-left:auto}
.site-nav a,.nav-parent{
  color:#F7F7F7;text-decoration:none;border:0;background:transparent;
  padding:.76rem .62rem;border-radius:999px;font-size:.89rem;font-weight:650;cursor:pointer
}
.site-nav a:hover,.nav-parent:hover,.site-nav a:focus-visible,.nav-parent:focus-visible{
  color:var(--gold-light);background:rgba(255,255,255,.06);outline:none
}
.nav-group{position:relative}
.nav-dropdown{
  position:absolute;top:100%;left:0;width:290px;padding:.5rem;
  background:#fff;color:var(--text);border:1px solid var(--border);border-radius:16px;
  box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s ease
}
.nav-dropdown.wide{width:340px}
.nav-group:hover .nav-dropdown,.nav-group:focus-within .nav-dropdown,.nav-group.open .nav-dropdown{
  opacity:1;visibility:visible;transform:none
}
.nav-dropdown a{display:block;color:var(--text);padding:.72rem .82rem;border-radius:10px}
.nav-dropdown a:hover,.nav-dropdown a:focus-visible{background:var(--soft);color:var(--navy)}
.header-cta{
  color:var(--navy);background:var(--gold);text-decoration:none;border-radius:999px;
  padding:.76rem 1.05rem;font-weight:760;white-space:nowrap
}
.header-cta:hover,.header-cta:focus-visible{background:var(--gold-light);outline:none}
.mobile-nav-toggle{
  display:none;margin-left:auto;width:46px;height:46px;border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);border-radius:12px;padding:.62rem
}
.mobile-nav-toggle span:not(.sr-only){display:block;height:2px;background:#fff;margin:5px 0;border-radius:999px}

/* Hero */
.hero{
  position:relative;overflow:hidden;color:#fff;
  background:
    radial-gradient(circle at 82% 18%,rgba(225,185,79,.18),transparent 25%),
    radial-gradient(circle at 70% 70%,rgba(30,61,94,.24),transparent 30%),
    linear-gradient(135deg,#071323 0%,#0A1A2D 50%,#050D18 100%);
  padding:clamp(4rem,7vw,6.5rem) 0;
}
.hero::after{
  content:"";position:absolute;right:-8%;bottom:-40%;width:46%;aspect-ratio:1;
  border-radius:50%;border:1px solid rgba(255,255,255,.06);box-shadow:0 0 0 90px rgba(255,255,255,.015);
  pointer-events:none
}
.hero-grid{
  position:relative;z-index:1;display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(330px,.78fr);
  gap:clamp(2rem,5vw,4rem);align-items:center
}
.hero-copy{max-width:760px}
.eyebrow{
  color:var(--gold);text-transform:uppercase;letter-spacing:.16em;
  font-size:.75rem;font-weight:800;margin-bottom:.85rem
}
.hero-subtitle{font-size:clamp(1.04rem,1.35vw,1.2rem);color:rgba(255,255,255,.84);max-width:700px}
.hero-actions,.cta-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.55rem}
.button{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;
  padding:.82rem 1.15rem;border-radius:999px;border:1px solid transparent;
  text-decoration:none;font-weight:720;cursor:pointer;transition:.18s ease
}
.button:hover,.button:focus-visible{transform:translateY(-1px);outline:none}
.button-primary{background:var(--gold);color:var(--navy);box-shadow:0 12px 28px rgba(225,185,79,.16)}
.button-primary:hover,.button-primary:focus-visible{background:var(--gold-light)}
.button-secondary{background:var(--navy);color:#fff;border-color:rgba(255,255,255,.16)}
.button-secondary:hover,.button-secondary:focus-visible{background:var(--navy-3)}
.button-ghost{color:#fff;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.24)}
.button-ghost:hover,.button-ghost:focus-visible{background:rgba(255,255,255,.11)}
.hero-panel{
  display:grid;grid-template-columns:1fr 1fr;gap:.9rem;padding:.55rem;
  background:rgba(5,13,24,.34);border:1px solid rgba(255,255,255,.13);
  border-radius:26px;box-shadow:0 24px 60px rgba(0,0,0,.18);backdrop-filter:blur(9px)
}
.panel-card{
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.13);
  border-radius:18px;padding:1.15rem
}
.panel-card>span{color:var(--gold-light);font-weight:800}
.panel-card p{color:rgba(255,255,255,.82);margin:.55rem 0 0}
.large-stat{grid-column:1/-1;padding:1.35rem}
.stat-label{display:block;color:var(--gold-light);text-transform:uppercase;letter-spacing:.13em;font-size:.75rem}
.finance-chips{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.75rem}
.finance-chips span{
  color:#fff;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07);
  padding:.45rem .65rem;border-radius:999px;font-size:.86rem;font-weight:700
}

/* Sections and cards */
.section{padding:clamp(3.5rem,6.5vw,5.75rem) 0}
.section-muted{background:var(--soft)}
.section-dark{background:var(--navy);color:#fff}
.section-dark p{color:rgba(255,255,255,.78)}
.section-heading{text-align:center;max-width:850px;margin-bottom:2rem}
.section-heading p:not(.eyebrow){font-size:1.08rem;color:var(--muted)}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.service-card,.info-card,.side-card,.enquiry-form,.article-cta,.audience-grid div,.team-card{
  background:#fff;border:1px solid rgba(15,23,42,.09);border-radius:var(--radius);
  box-shadow:0 10px 28px rgba(7,19,35,.055)
}
.service-card{
  display:flex;flex-direction:column;min-height:245px;padding:1.25rem;text-decoration:none;
  transition:.18s ease
}
.service-card:hover,.service-card:focus-visible{transform:translateY(-3px);border-color:rgba(225,185,79,.55);box-shadow:var(--shadow);outline:none}
.service-card span{color:#B98912;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:800}
.service-card h3{margin-top:.72rem;color:var(--navy)}
.service-card p{color:var(--muted)}
.service-card strong{margin-top:auto;color:var(--navy)}
.two-col{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.45fr);
  gap:clamp(2rem,5vw,4rem);align-items:start
}
.process-grid{
  display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1fr);
  gap:clamp(2rem,5vw,4rem)
}
.steps{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.steps div{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:1.15rem}
.steps span{
  display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;
  background:var(--gold);color:var(--navy);font-weight:800;margin-bottom:.8rem
}
.audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.audience-grid div{padding:1.18rem}
.trust-strip{background:#fff;border-bottom:1px solid var(--border)}
.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;padding:1.1rem 0}
.trust-item{display:flex;gap:.8rem;align-items:center;color:var(--muted)}
.trust-item strong{display:block;color:var(--navy)}
.trust-mark{
  display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border-radius:14px;
  background:rgba(225,185,79,.16);color:#9B7310;font-weight:850
}
.location-links{display:grid;gap:.8rem}
.location-links a{
  color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.15);border-radius:14px;
  padding:1rem;background:rgba(255,255,255,.065);font-weight:700
}
.location-links a:hover,.location-links a:focus-visible{color:var(--gold-light);outline:none}
.content .lead,.lead{font-size:1.16rem;color:var(--muted)}
.side-card{padding:1.4rem;position:sticky;top:105px}
.warning-box,.review-note{
  border-radius:14px;padding:1rem 1.1rem;margin:1.25rem 0;
  border:1px solid #E7C964;background:#FFF9E8;color:#3B2F0C
}
.warning-box strong,.review-note strong{color:var(--navy)}
.page-intro-list li{margin:.45rem 0}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.team-card{padding:1.35rem}
.team-avatar{
  width:58px;height:58px;border-radius:16px;display:grid;place-items:center;margin-bottom:1rem;
  background:var(--navy);color:var(--gold-light);font-weight:850;font-size:1.1rem
}
.role{color:var(--muted);font-weight:650}

/* Forms */
.enquiry-form{padding:clamp(1.25rem,3vw,2rem)}
.compact-form{max-width:860px;margin-inline:auto}
.form-heading h2{font-size:2rem}
.form-heading p,.form-note{color:var(--muted)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
label{display:grid;gap:.42rem;color:var(--navy);font-weight:650;line-height:1.4}
input,select,textarea{
  width:100%;border:1px solid var(--border);border-radius:12px;
  padding:.9rem .92rem;font:inherit;color:var(--text);background:#fff;min-height:50px
}
textarea{resize:vertical;min-height:130px}
input:focus,select:focus,textarea:focus{outline:3px solid rgba(225,185,79,.28);border-color:var(--gold)}
.checkbox-label{
  display:flex;align-items:flex-start;gap:.75rem;margin-top:1rem;color:var(--text);font-weight:520
}
.checkbox-label input{width:21px;height:21px;min-height:0;margin-top:.16rem;flex:0 0 auto}
.checkbox-label a{color:var(--navy);font-weight:800}
.optional{color:var(--muted)}
.honeypot{
  position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important
}
.form-status{font-weight:750;margin-top:1rem}
.form-status.success{color:var(--success)}
.form-status.error{color:var(--danger)}

/* FAQ / articles */
.faq-list{display:grid;gap:.8rem;margin-top:1.5rem}
details{background:#fff;border:1px solid var(--border);border-radius:var(--radius-sm);padding:1rem 1.1rem}
summary{cursor:pointer;color:var(--navy);font-weight:800;font-size:1.03rem}
details div{margin-top:.75rem;color:var(--muted)}
.cta-band{background:linear-gradient(135deg,var(--navy),#050D18);color:#fff;padding:3rem 0}
.cta-band-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem}
.cta-band p{color:rgba(255,255,255,.78)}
.article-hero{
  background:
    radial-gradient(circle at 82% 18%,rgba(225,185,79,.14),transparent 24%),
    linear-gradient(135deg,var(--navy),#07101D);
  color:#fff;padding:clamp(3.6rem,6.5vw,5.5rem) 0
}
.article-hero .lead{color:rgba(255,255,255,.82)}
.article{font-size:1.04rem}
.article h2{margin-top:2rem}
.article h3{margin-top:1.4rem}
.legal-page{padding:clamp(3.4rem,6vw,5rem) 0}
.legal-notice a{color:var(--navy);font-weight:750}
.legal-placeholder{border:1px solid #E7C964;background:#FFF9E8;border-radius:14px;padding:1rem 1.1rem}
.placeholder-badge{color:#8A6510;font-weight:800;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase}

/* Footer */
.site-footer{background:var(--navy);color:rgba(255,255,255,.78);padding:3.5rem 0 5.5rem}
.footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:2rem}
.footer-brand img{display:block;width:260px;max-height:72px;object-fit:contain}
.footer-intro{max-width:430px}
.footer-contact{display:grid;gap:.35rem}
.footer-contact a,.footer-links a{color:rgba(255,255,255,.86);text-decoration:none}
.footer-contact a:hover,.footer-links a:hover,.footer-contact a:focus-visible,.footer-links a:focus-visible{color:var(--gold-light);outline:none}
.footer-heading{font-size:.9rem;text-transform:uppercase;letter-spacing:.12em;color:var(--gold);font-weight:800}
.footer-links{list-style:none;padding:0;margin:0;display:grid;gap:.42rem}
.legal-footer{
  border-top:1px solid rgba(255,255,255,.12);margin-top:2.35rem;padding-top:1.45rem;
  font-size:.82rem;color:rgba(255,255,255,.70)
}
.legal-footer p{margin-bottom:.75rem}
.mortgage-warning{color:#fff;font-size:.88rem}
.mobile-sticky-cta{display:none}

/* Cookie choice */
.cookie-consent{
  position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:999;
  width:min(760px,calc(100% - 28px));background:#fff;border:1px solid var(--border);
  border-radius:18px;box-shadow:0 22px 65px rgba(7,19,35,.22);padding:1rem 1.1rem
}
.cookie-consent[hidden]{display:none}
.cookie-consent-inner{display:flex;gap:1rem;align-items:center;justify-content:space-between}
.cookie-consent p{margin:0;color:var(--muted);font-size:.92rem}
.cookie-consent strong{color:var(--navy)}
.cookie-consent-actions{display:flex;gap:.6rem;flex:0 0 auto}
.cookie-consent .button{min-height:42px;padding:.68rem .9rem;font-size:.9rem}

/* Responsive */
@media(max-width:1050px){
  .brand img{width:225px}
  .header-cta{display:none}
  .site-nav a,.nav-parent{font-size:.86rem;padding:.68rem .48rem}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:860px){
  .header-inner{min-height:70px}
  .mobile-nav-toggle{display:block}
  .site-nav{
    position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;
    background:var(--navy);padding:1rem;border-top:1px solid rgba(255,255,255,.1)
  }
  .site-nav.open{display:flex}
  .site-nav a,.nav-parent{width:100%;text-align:left;border-radius:10px;padding:.88rem}
  .nav-dropdown{position:static;width:100%!important;display:none;opacity:1;visibility:visible;transform:none;box-shadow:none;margin:.2rem 0 .55rem}
  .nav-group.open .nav-dropdown{display:block}
  .hero-grid,.two-col,.process-grid{grid-template-columns:1fr}
  .hero-panel{grid-template-columns:1fr}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .team-grid{grid-template-columns:1fr 1fr}
  .trust-grid{grid-template-columns:1fr}
  .side-card{position:static}
  .cta-band-inner{align-items:flex-start;flex-direction:column}
}
@media(max-width:640px){
  body{font-size:15.8px}
  .container,.narrow{width:min(100% - 28px,var(--container))}
  .brand img{width:205px}
  .hero{padding:3.1rem 0 3.5rem}
  h1{font-size:clamp(2.12rem,10vw,3.15rem)}
  .hero-actions,.cta-actions{flex-direction:column}
  .button{width:100%}
  .service-grid,.steps,.audience-grid,.form-grid,.team-grid{grid-template-columns:1fr}
  .service-card{min-height:auto}
  input,select,textarea{font-size:16px}
  .site-footer{padding-bottom:5.8rem}
  .footer-grid{grid-template-columns:1fr}
  .mobile-sticky-cta{
    position:fixed;left:0;right:0;bottom:0;z-index:200;display:grid;grid-template-columns:1fr 1fr;
    background:var(--navy);border-top:1px solid rgba(255,255,255,.12)
  }
  .mobile-sticky-cta a{
    color:var(--navy);text-decoration:none;background:var(--gold);text-align:center;
    font-weight:800;padding:.92rem;border-right:1px solid rgba(11,24,40,.2)
  }
  .mobile-sticky-cta a:first-child{background:var(--off-white)}
  .cookie-consent{bottom:76px}
  .cookie-consent-inner{display:block}
  .cookie-consent-actions{margin-top:.85rem;display:grid;grid-template-columns:1fr 1fr}
  .cookie-consent .button{width:100%}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important}
}


/* =========================================================
   AP Mortgages v3.0 — premium residential visual system
   ========================================================= */
:root{
  --navy:#061222;
  --navy-2:#0B1828;
  --navy-3:#13253B;
  --gold:#E1B94F;
  --gold-light:#F5DA7B;
  --cream:#FBFAF7;
}
body{
  background:#fff;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.site-header{
  background:rgba(5,13,24,.965);
  backdrop-filter:blur(12px);
}
.brand img{width:268px;max-height:58px}
.footer-brand img{width:285px;max-height:64px}
.hero{
  min-height:620px;
  display:flex;
  align-items:center;
  background:
    linear-gradient(90deg,rgba(4,12,23,.91) 0%,rgba(5,16,31,.79) 38%,rgba(5,16,31,.50) 68%,rgba(5,16,31,.64) 100%),
    url('../img/hero-mortgage.webp') center right/cover no-repeat;
  padding:clamp(4rem,7vw,6.7rem) 0;
}
.page-home .hero{
  background:
    linear-gradient(90deg,rgba(4,12,23,.91) 0%,rgba(5,16,31,.78) 38%,rgba(5,16,31,.43) 68%,rgba(5,16,31,.58) 100%),
    url('../img/hero-home.webp') center right/cover no-repeat;
}
.page-btl .hero{
  background:
    linear-gradient(90deg,rgba(4,12,23,.92) 0%,rgba(5,16,31,.80) 42%,rgba(5,16,31,.48) 72%,rgba(5,16,31,.62) 100%),
    url('../img/hero-buy-to-let.webp') center/cover no-repeat;
}
.page-protection .hero{
  background:
    linear-gradient(90deg,rgba(4,12,23,.94) 0%,rgba(5,16,31,.82) 42%,rgba(5,16,31,.50) 72%,rgba(5,16,31,.65) 100%),
    url('../img/hero-protection.webp') center/cover no-repeat;
}
.hero::after{
  right:auto;left:0;bottom:0;width:100%;height:110px;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none;
  background:linear-gradient(180deg,rgba(6,18,34,0),rgba(6,18,34,.72));
}
.hero h1{
  text-shadow:0 18px 55px rgba(0,0,0,.30);
  max-width:760px;
}
.hero-subtitle{
  text-shadow:0 8px 30px rgba(0,0,0,.28);
}
.hero-panel{
  background:rgba(5,13,24,.49);
  border-color:rgba(255,255,255,.17);
  box-shadow:0 30px 80px rgba(0,0,0,.28);
}
.panel-card{background:rgba(255,255,255,.085)}
.visual-story{
  padding:clamp(2.2rem,4.2vw,4rem) 0 0;
  background:#fff;
}
.visual-story-card{
  position:relative;overflow:hidden;border-radius:28px;min-height:480px;
  box-shadow:0 26px 70px rgba(7,19,35,.13);
  border:1px solid rgba(15,23,42,.08);
}
.visual-story-card img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.visual-story-card::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(5,13,24,.88) 0%,rgba(5,13,24,.70) 43%,rgba(5,13,24,.18) 75%);
}
.visual-story-copy{
  position:relative;z-index:2;color:#fff;max-width:610px;padding:clamp(2rem,5vw,4.25rem);
}
.visual-story-copy h2{color:#fff}
.visual-story-copy p:not(.eyebrow){color:rgba(255,255,255,.84);font-size:1.08rem}
.service-card{
  border-radius:18px;
  background:linear-gradient(180deg,#fff 0%,#FCFCFB 100%);
}
.section-muted{background:#F7F8FA}
.article-hero{
  position:relative;overflow:hidden;
  background:
    linear-gradient(90deg,rgba(4,12,23,.94),rgba(5,16,31,.74)),
    url('../img/hero-mortgage.webp') center/cover no-repeat;
}
.page-protection .article-hero{
  background:
    linear-gradient(90deg,rgba(4,12,23,.94),rgba(5,16,31,.72)),
    url('../img/hero-protection.webp') center/cover no-repeat;
}
.page-btl .article-hero{
  background:
    linear-gradient(90deg,rgba(4,12,23,.94),rgba(5,16,31,.72)),
    url('../img/hero-buy-to-let.webp') center/cover no-repeat;
}
.page-legal .article-hero{
  background:linear-gradient(135deg,#071323,#0D2037);
}
.form-compliance-note{margin-bottom:1rem}
.enquiry-form button[type="submit"]{margin-top:.4rem}
.site-footer{background:#061222}
.draft-banner{letter-spacing:.01em}
@media(max-width:860px){
  .hero{min-height:auto;padding:3.6rem 0 4.2rem}
  .hero-panel{margin-top:.7rem}
  .visual-story-card{min-height:520px}
  .visual-story-card::after{background:linear-gradient(0deg,rgba(5,13,24,.88) 0%,rgba(5,13,24,.45) 70%)}
  .visual-story-copy{position:absolute;left:0;right:0;bottom:0;max-width:100%}
}
@media(max-width:640px){
  .brand img{width:214px;max-height:52px}
  .page-home .hero{
    background:
      linear-gradient(180deg,rgba(4,12,23,.80) 0%,rgba(5,16,31,.65) 46%,rgba(5,16,31,.90) 100%),
      url('../img/hero-home-mobile.webp') center top/cover no-repeat;
  }
  .hero,.page-btl .hero,.page-protection .hero{
    background:
      linear-gradient(180deg,rgba(4,12,23,.82) 0%,rgba(5,16,31,.70) 48%,rgba(5,16,31,.90) 100%),
      url('../img/hero-mortgage.webp') center/cover no-repeat;
  }
  .page-btl .hero{background-image:linear-gradient(180deg,rgba(4,12,23,.82),rgba(5,16,31,.88)),url('../img/hero-buy-to-let.webp')}
  .page-protection .hero{background-image:linear-gradient(180deg,rgba(4,12,23,.84),rgba(5,16,31,.90)),url('../img/hero-protection.webp')}
  .visual-story-card{min-height:560px;border-radius:22px}
  .visual-story-copy{padding:1.55rem}
  .footer-brand img{width:245px}
}


/* ==========================================================
   AP Mortgages v3.1 publish-ready path-safe polish
   ========================================================== */
.draft-banner{display:none!important}
html{scroll-padding-top:92px}
.brand img{
  width:286px!important;
  max-height:62px!important;
  object-fit:contain;
}
.footer-brand img{
  width:292px!important;
  max-height:66px!important;
  object-fit:contain;
}
.trust-strip{
  background:#fff;
  border-bottom:1px solid rgba(15,23,42,.07);
  padding:1.15rem 0;
}
.trust-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:.85rem;
}
.trust-item{
  display:grid;
  grid-template-columns:42px 1fr;
  align-items:center;
  gap:.8rem;
  padding:.9rem 1rem;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  background:#fff;
  box-shadow:0 7px 20px rgba(7,19,35,.035);
}
.trust-item div{display:grid;gap:.08rem;color:#667085;line-height:1.35}
.trust-item strong{color:#0B1828;display:block}
.trust-mark{
  display:grid;place-items:center;
  width:40px;height:40px;border-radius:50%;
  color:#071323;background:#E1B94F;font-weight:800;
}
.visual-story{padding:3.2rem 0 1rem}
.visual-story-card img{display:block}
.hero-panel{backdrop-filter:blur(8px)}
.hero-actions .button{min-width:0}
@media(max-width:860px){
  .trust-grid{grid-template-columns:1fr}
  .brand img{width:236px!important;max-height:54px!important}
}
@media(max-width:640px){
  .header-inner{min-height:72px}
  .brand img{width:218px!important}
  .hero{padding-top:3.05rem}
  .hero h1{font-size:clamp(2.35rem,11.5vw,3.65rem)}
  .hero-subtitle{font-size:1rem}
  .hero-actions{gap:.65rem}
  .visual-story{padding:2.3rem 0 .75rem}
}


/* Team photography and referrals — v3.2 */
.team-grid-four{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;align-items:stretch}
.team-grid-four .team-card{min-width:0;padding:1.4rem}
.team-grid-four .team-card h2{font-size:clamp(1.3rem,2vw,1.65rem);margin:1.2rem 0 .35rem}
.team-grid-four .team-card p{line-height:1.7}
.team-photo-placeholder{aspect-ratio:3/2;width:100%;border:2px dashed #b4a57f;border-radius:12px;background:linear-gradient(140deg,#f6f4ef,#e7e4dc);color:#514b40;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:.3rem;font-size:.82rem;font-weight:750;letter-spacing:.08em;overflow:hidden}
.team-photo-placeholder small{font-size:.74rem;font-weight:500;letter-spacing:0}
.photo-placeholder-symbol{font-size:2.5rem;line-height:1;opacity:.58}
.article-hero .draft-note{color:#f5dc99}
.draft-note{font-size:.85rem;color:#514216;font-weight:650;margin-top:1rem}
.referral-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0}
.referral-steps>div{border:1px solid #ddd6c7;border-radius:12px;background:#fff;padding:1.25rem}
.referral-steps strong{color:var(--navy)}
.referral-terms{padding-left:1.5rem}
.referral-terms li{padding:.65rem 0;line-height:1.7}
.referral-terms h3{font-size:1.08rem;margin:0 0 .25rem}
.referral-terms p{margin:.2rem 0}
.referral-regulatory{font-size:.9rem;margin-top:1.5rem}
@media(max-width:760px){.team-grid-four,.referral-steps{grid-template-columns:1fr}}

/* Named team and online referral, 26/11/2026 */
.team-grid-four .team-card{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem}
.team-grid-four .team-card h2{margin:.5rem 0 .2rem}
.team-grid-four .team-card p{margin:.25rem 0 .65rem}
.team-grid-four .team-card>a:last-child{margin-top:auto;font-weight:750;color:var(--navy)}
.team-avatar-large{width:76px;height:76px;border-radius:18px;font-size:1.35rem;margin-bottom:.5rem}
.section-referral{background:var(--surface,#fff)}
.referral-form{background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);margin:1.25rem 0}
.referral-form fieldset{border:0;padding:0;margin:0 0 1.3rem;min-width:0}
.referral-form legend{font-weight:800;font-size:1.12rem;color:var(--navy);padding:0;margin-bottom:.7rem}
.referral-form .form-grid label{min-width:0}
.referral-form .checkbox-label{font-size:.95rem}
.referral-form .form-note{font-size:.9rem;line-height:1.6}
@media(max-width:760px){.referral-form{padding:1.25rem}}

/* Team photography — genuine portraits; neutral background adjustments only (v4.1). */
.team-grid-four .team-photo{display:block;width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;object-position:center center;border-radius:12px;border:1px solid rgba(7,19,35,.07);background:#768c9f;}

/* v4.4: business protection and cross-site service discovery */
.cross-brand-note{font-size:.9rem;color:#d8e3ed;margin:.4rem 0 1rem}
.cross-brand-note a{color:var(--gold-light);text-decoration:underline;text-underline-offset:3px}
.cross-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.cross-service-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:clamp(1.4rem,3vw,2rem);display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 8px 30px rgba(7,19,35,.04)}
.cross-service-card h3{font-size:clamp(1.45rem,2.2vw,1.9rem);color:var(--navy)}
.cross-service-card p:not(.eyebrow){color:var(--muted)}
.cross-service-card .button{margin-top:auto}
.business-protection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem}
.business-protection-grid .info-card{display:block;min-height:0;padding:clamp(1.35rem,2.6vw,2.1rem)}
.business-protection-grid .info-card h3{font-size:1.3rem;color:var(--navy)}
.business-protection-grid .info-card p{color:var(--muted)}
.service-index{font-size:.81rem;color:#956b11;font-weight:800;display:inline-block;margin-bottom:.75rem}
.business-disclosure{background:var(--soft);border-left:4px solid var(--gold);border-radius:14px;padding:clamp(1.2rem,3vw,2rem)}
.business-disclosure h2{font-size:1.6rem}
.business-disclosure p:last-child{margin-bottom:0}
@media(max-width:760px){.cross-service-grid,.business-protection-grid{grid-template-columns:1fr}.cross-service-card{align-items:stretch}}

/* v4.4 navigation safety: switch to accessible stacked menu before links crowd desktop header */
@media(max-width:1120px){
  .header-cta{display:none}
  .mobile-nav-toggle{display:block}
  .site-nav{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;background:var(--navy);padding:1rem;border-top:1px solid rgba(255,255,255,.1);max-height:calc(100dvh - 72px);overflow-y:auto}
  .site-nav.open{display:flex}
  .site-nav a,.nav-parent{width:100%;text-align:left;border-radius:10px;padding:.85rem}
  .nav-dropdown{position:static;width:100%!important;display:none;opacity:1;visibility:visible;transform:none;box-shadow:none;margin:.2rem 0 .55rem}
  .nav-group.open .nav-dropdown{display:block}
}


/* APFC v4.5 — unified, accessible desktop/mobile header navigation */
.site-header .header-inner.container {
  width:min(1420px, calc(100% - 48px)) !important;
  min-height:88px !important;
  gap:1.15rem !important;
  display:flex !important;
  align-items:center !important;
}
.site-header .brand {flex:0 0 auto;display:flex;align-items:center;min-width:0}
.site-header .site-nav {display:flex;align-items:center;gap:.15rem !important;margin-left:auto;min-width:0}
.site-header .site-nav > a:not(.mobile-call-link),
.site-header .nav-parent {
  color:#F8FAFC;
  font-size:.91rem !important;
  font-weight:650 !important;
  line-height:1.2 !important;
  letter-spacing:0 !important;
  padding:.8rem .55rem !important;
  white-space:nowrap !important;
  text-align:center;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.36rem;
  border-radius:10px;
}
.site-header .nav-parent {cursor:pointer}
.site-header .nav-caret {
  width:.42rem;height:.42rem;display:inline-block;flex:none;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  opacity:.8;
}
.site-header .nav-parent[aria-expanded="true"] .nav-caret {transform:rotate(225deg) translate(-1px, -1px)}
.site-header .nav-dropdown {z-index:150;min-width:265px;width:max-content;max-width:340px}
.site-header .nav-dropdown a {
  display:block !important;
  width:100% !important;
  white-space:normal !important;
  text-align:left !important;
  color:#122038 !important;
  font-size:.9rem !important;
  font-weight:580 !important;
  line-height:1.35 !important;
  padding:.75rem .92rem !important;
  border-radius:9px !important;
}
.site-header .nav-dropdown a:hover,
.site-header .nav-dropdown a:focus-visible {background:#eef3fa !important;color:#071323 !important}
.site-header a.site-switch {
  color:#f1d485 !important;
  border-left:1px solid rgba(225,185,79,.30) !important;
  border-radius:0 10px 10px 0 !important;
  margin-left:.35rem !important;
  padding-left:.95rem !important;
  font-weight:720 !important;
}
.site-header .site-switch .switch-arrow {font-size:1rem;line-height:1;color:var(--gold)}
.site-header .site-nav a[aria-current="page"],
.site-header .nav-parent.is-active {color:var(--gold-light) !important}
.site-header .site-nav > a:hover,
.site-header .site-nav > a:focus-visible,
.site-header .nav-parent:hover,
.site-header .nav-parent:focus-visible {
  color:var(--gold-light) !important;
  outline-offset:3px;
}
.site-header .mobile-call-link {display:none !important}
.site-header .header-cta {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  background:var(--gold);
  color:var(--navy);
  white-space:nowrap;
  font-size:.87rem;
  padding:.78rem 1rem;
  min-height:44px;
}
.site-header .nav-group.nav-escape-lock .nav-dropdown {
  opacity:0 !important;visibility:hidden !important;transform:translateY(8px) !important;
}
@media (min-width:1250px) {
  .site-header .mobile-nav-toggle {display:none !important}
  .site-header .site-nav {position:static !important;display:flex !important;flex-direction:row !important;background:none !important;overflow:visible !important;max-height:none !important;padding:0 !important;border:0 !important}
  .site-header .nav-group {position:relative}
  .site-header .nav-dropdown {position:absolute !important;display:block !important;top:calc(100% + 3px);left:0;right:auto;width:max-content !important;max-width:340px;}
  .site-header .nav-group.open .nav-dropdown,
  .site-header .nav-group:hover .nav-dropdown,
  .site-header .nav-group:focus-within .nav-dropdown {opacity:1 !important;visibility:visible !important;transform:none !important}
  .site-header .nav-group.nav-escape-lock .nav-dropdown {opacity:0 !important;visibility:hidden !important}
}
@media (max-width:1249px) {
  .site-header .header-inner.container {width:min(100% - 36px, 1420px) !important;min-height:78px !important;gap:.8rem !important}
  .site-header .brand img {max-height:57px !important}
  .site-header .header-cta {display:none !important}
  .site-header .mobile-nav-toggle {display:block !important;flex:none;margin-left:auto !important}
  .site-header .site-nav {
    position:absolute !important;
    top:100% !important;left:0 !important;right:0 !important;
    display:none !important;flex-direction:column !important;align-items:stretch !important;
    margin:0 !important;
    padding:1rem max(18px,calc((100vw - 960px)/2)) 1.4rem !important;
    background:#071323 !important;border-top:1px solid rgba(225,185,79,.2) !important;
    max-height:calc(100dvh - 78px) !important;overflow-y:auto !important;
    overscroll-behavior:contain;box-shadow:0 24px 32px rgba(0,0,0,.28);
  }
  .site-header .site-nav.open {display:flex !important}
  .site-header .site-nav > a:not(.mobile-call-link),
  .site-header .nav-parent {
    width:100% !important;justify-content:space-between !important;
    text-align:left !important;font-size:1rem !important;
    padding:.95rem 1rem !important;border-radius:10px !important;
    min-height:47px;
  }
  .site-header .nav-group {width:100% !important}
  .site-header .nav-dropdown {
    position:static !important;display:none !important;
    width:100% !important;max-width:none !important;
    visibility:visible !important;opacity:1 !important;transform:none !important;
    box-shadow:none !important;border-radius:12px !important;
    margin:.15rem 0 .55rem !important;padding:.25rem !important;
  }
  .site-header .nav-group.open .nav-dropdown {display:block !important}
  .site-header a.site-switch {
    border-left:0 !important;
    border-top:1px solid rgba(225,185,79,.25) !important;
    margin:.5rem 0 0 !important;
    padding-top:1rem !important;padding-left:1rem !important;
    border-radius:10px !important;
  }
  .site-header a.mobile-call-link {
    display:flex !important;justify-content:center !important;
    margin-top:.25rem !important;text-align:center !important;
    padding:1rem 1.3rem !important;min-height:46px;
    background:var(--gold) !important;color:var(--navy) !important;
    border-radius:999px !important;font-size:1rem !important;font-weight:750 !important;
  }
}
@media (max-width:640px) {
  .site-header .header-inner.container {min-height:72px !important}
  .site-header .brand img {max-height:52px !important;max-width:calc(100vw - 104px) !important}
  .site-header .site-nav {max-height:calc(100dvh - 72px) !important}
}

/* v4.5 logo sizing */
.site-header .brand img {width:278px !important;max-height:66px !important;object-fit:contain !important}

/* Keep laptop headers spaced without squeezing cross-brand links. */
@media (min-width:1250px) and (max-width:1370px) {
 .site-header .site-nav > a:not(.mobile-call-link),.site-header .nav-parent {font-size:.88rem !important;padding:.8rem .45rem !important}
.site-header .brand img {width:257px !important}
}


/* --------------------------------------------------------------------------
 APFC v4.6 — final header refinement, 26/11/2026
 More legible desktop navigation, expanded logos, recognisable site switch,
 stronger contact CTA and a genuinely comfortable responsive breakpoint.
 -------------------------------------------------------------------------- */
.site-header {
  background:rgba(8,19,33,.975) !important;
  border-bottom:1px solid rgba(225,185,79,.14) !important;
  box-shadow:0 5px 20px rgba(4,12,23,.15);
}
.site-header .header-inner.container {
  width:min(1510px, calc(100% - 64px)) !important;
  min-height:92px !important;
  gap:1.1rem !important;
}
.site-header .brand {flex:0 0 auto !important;min-width:0 !important}
.site-header .brand img {object-fit:contain !important;object-position:left center !important}
.site-header .site-nav {
  display:flex;align-items:center;gap:.24rem !important;
  margin-left:auto !important;min-width:0;
}
.site-header .site-nav > a:not(.mobile-call-link),
.site-header .nav-parent {
  font-size:.965rem !important;
  font-weight:660 !important;
  letter-spacing:-.005em !important;
  padding:.76rem .64rem !important;
  line-height:1.15 !important;
  min-height:47px !important;
}
.site-header .nav-parent .nav-caret {width:.45rem;height:.45rem;opacity:.88}
.site-header .nav-dropdown {
  top:100% !important;
  border:1px solid rgba(178,193,214,.45) !important;
  border-top:3px solid var(--gold) !important;
  border-radius:12px !important;
  box-shadow:0 22px 42px rgba(3,13,29,.24) !important;
  padding:.46rem !important;
}
.site-header .nav-dropdown a {
  font-size:.945rem !important;
  padding:.76rem .86rem !important;
  min-height:43px !important;
}
.site-header a.site-switch {
  background:rgba(225,185,79,.09) !important;
  border:1px solid rgba(225,185,79,.43) !important;
  border-radius:12px !important;
  color:#F5DA8B !important;
  padding:.76rem .87rem !important;
  margin-left:.36rem !important;
  font-weight:720 !important;
  gap:.36rem !important;
  transition:background .18s ease,border-color .18s ease, color .18s ease;
}
.site-header a.site-switch:hover,
.site-header a.site-switch:focus-visible {
  background:rgba(225,185,79,.19) !important;
  border-color:var(--gold) !important;
  color:#ffe6a5 !important;
}
.site-header .header-cta {
  font-size:.96rem !important;
  font-weight:780 !important;
  min-height:48px !important;
  padding:.88rem 1.17rem !important;
  box-shadow:0 7px 17px rgba(0,0,0,.15);
  text-align:center;
}
.site-header :is(a,button):focus-visible {
  outline:2px solid #ffdf74 !important;
  outline-offset:3px !important;
}
@media (min-width:1480px) and (max-width:1640px) {
  .site-header .header-inner.container {width:calc(100% - 48px) !important;gap:.8rem !important}
  .site-header .site-nav {gap:.1rem !important}
  .site-header .site-nav > a:not(.mobile-call-link),
  .site-header .nav-parent {font-size:.935rem !important;padding:.72rem .43rem !important}
  .site-header a.site-switch {padding:.7rem .68rem !important;margin-left:.15rem !important}
  .site-header .header-cta {font-size:.93rem !important;padding:.76rem .83rem !important}
}
/* The 1,250px v4.5 breakpoint crowded real laptop displays. Collapse early. */
@media (max-width:1479px) {
  .site-header .header-inner.container {width:calc(100% - 42px) !important;min-height:82px !important;gap:.7rem !important}
  .site-header .brand img {max-height:64px !important}
  .site-header .mobile-nav-toggle {
    display:block !important;order:3;flex:none;
    width:48px !important;height:48px !important;
    margin-left:0 !important;padding:.65rem !important;
  }
  .site-header .brand {order:1}
  .site-header .header-cta {display:inline-flex !important;order:2;margin-left:auto !important;min-height:45px !important;font-size:.90rem !important;padding:.70rem .96rem !important}
  .site-header .site-nav {
    order:4;
    position:absolute !important;top:100% !important;left:0 !important;right:0 !important;
    display:none !important;flex-direction:column !important;align-items:stretch !important;
    margin:0 !important;
    padding:1rem max(20px, calc((100vw - 900px)/2)) 1.5rem !important;
    background:#071323 !important;
    border-top:1px solid rgba(225,185,79,.23) !important;
    max-height:calc(100dvh - 82px) !important;overflow-y:auto !important;
    overscroll-behavior:contain;box-shadow:0 22px 32px rgba(0,0,0,.3);
  }
  .site-header .site-nav.open {display:flex !important}
  .site-header .nav-group {width:100% !important}
  .site-header .site-nav > a:not(.mobile-call-link),
  .site-header .nav-parent {
    width:100% !important;justify-content:space-between !important;
    font-size:1.04rem !important;line-height:1.25 !important;
    text-align:left !important;min-height:48px !important;
    padding:.92rem 1rem !important;border-radius:10px !important;
  }
  .site-header .nav-dropdown {
    position:static !important;display:none !important;
    width:100% !important;max-width:none !important;
    visibility:visible !important;opacity:1 !important;transform:none !important;
    box-shadow:none !important;border:1px solid #d6deea !important;
    margin:0 0 .6rem !important;padding:.25rem !important;
  }
  .site-header .nav-group.open .nav-dropdown {display:block !important}
  .site-header a.site-switch {
    width:100% !important;justify-content:space-between !important;
    border:1px solid rgba(225,185,79,.4) !important;
    border-radius:10px !important;margin:.55rem 0 0 !important;
    padding:.92rem 1rem !important;
  }
  .site-header .site-nav .mobile-call-link {display:none !important}
}
@media (max-width:700px) {
  .site-header .header-inner.container {min-height:72px !important;width:calc(100% - 28px) !important;gap:.54rem !important}
  .site-header .brand img {width:min(224px, calc(100vw - 186px)) !important;max-height:53px !important}
  .site-header .mobile-nav-toggle {width:45px !important;height:45px !important}
  .site-header .header-cta {
    width:68px !important;min-height:43px !important;
    padding:.6rem .5rem !important;
    font-size:0 !important;white-space:nowrap !important;
    border-radius:999px !important;
  }
  .site-header .header-cta::after {content:'Call';font-size:.94rem;font-weight:800;line-height:1.2}
  .site-header .site-nav {max-height:calc(100dvh - 72px) !important;padding:1rem 16px 1.4rem !important}
}
@media (max-width:359px) {
  .site-header .header-inner.container {gap:.3rem !important}
  .site-header .header-cta {width:60px !important}
  .site-header .mobile-nav-toggle {width:43px !important;height:43px !important}
  .site-header .brand img {width:calc(100vw - 163px) !important}
}

.site-header .brand img {width:300px !important;max-height:76px !important}
@media (min-width:1480px) and (max-width:1640px){.site-header .brand img{width:284px !important}}
@media (max-width:1479px){.site-header .brand img{width:280px !important;max-height:64px !important}}
@media (max-width:700px){.site-header .brand img{width:min(224px, calc(100vw - 186px)) !important;max-height:53px !important}}
@media (max-width:359px){.site-header .brand img{width:calc(100vw - 163px) !important}}

/* Balance available horizontal space across logo, menu and contact action. */
@media(min-width:1480px){
  .site-header .header-inner.container{justify-content:space-between !important}
  .site-header .site-nav{margin-left:0 !important;margin-right:0 !important}
}

/* v4.7 — brand mark consistency (both sites share a matched 1879×262 image frame).
   Existing AP monogram retained; matching descriptive text height & spacing.
   Preserve desktop/mobile proportions in both site headers. */
.site-header .brand img.header-logo-balanced {
  aspect-ratio: 1879 / 262 !important;
  width:330px !important;
  height:auto !important;
  max-height:none !important;
  max-width:100% !important;
  object-fit:contain !important;
  object-position:left center !important;
}
@media (min-width:1480px) and (max-width:1640px) {
  .site-header .brand img.header-logo-balanced {width:314px !important;}
}
@media (max-width:1479px) {
  .site-header .brand img.header-logo-balanced {width:310px !important;}
}
@media (max-width:700px) {
  .site-header .brand img.header-logo-balanced {width:min(224px,calc(100vw - 186px)) !important;}
}
@media (max-width:359px) {
  .site-header .brand img.header-logo-balanced {width:calc(100vw - 163px) !important;}
}


/* APFC v4.8 — Business Protection is an independent primary navigation link.
   Allow the mortgage header to fit the new item at 1480+px without shrinking
   the established matched wordmark or competing with the telephone CTA. */
@media (min-width:1480px) {
  .site-header .header-inner.container {
    width:min(1680px, calc(100% - 48px)) !important;
  }
  .site-header .nav-business-protection {
    white-space:nowrap !important;
  }
}
.site-header .site-nav > a.nav-business-protection[aria-current="page"] {
  color:var(--gold-light) !important;
  background:rgba(225,185,79,.11) !important;
}
