/* ===================================================================
   Lincoln University College — Marketing Microsite
   Design tokens
   =================================================================== */
:root{
  /* --- Colour --- */
  --red-900:#5E0C1C;
  --red-700:#8C0F24;
  --red-600:#AD1229;
  --red-500:#C8102E;   /* primary brand red */
  --red-400:#DD3A4F;
  --red-100:#F8E3E6;
  --red-050:#FCF1F2;

  --gray-050:#FAF8F7;
  --gray-100:#F1EEEC;  /* light grey field */
  --gray-200:#E4E0DD;
  --gray-300:#CFC9C5;
  --gray-600:#6E6864;
  --gray-800:#3A3532;
  --gray-900:#221E1C;

  --white:#FFFFFF;

  /* --- Type --- */
  --font-display:"Fraunces", "Noto Serif SC", "Noto Naskh Arabic", Georgia, serif;
  --font-body:"Inter", "Noto Sans SC", "Noto Sans Arabic", -apple-system, Segoe UI, Roboto, sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.95rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
  --step-3:  clamp(2.1rem, 1.7rem + 1.8vw, 3rem);
  --step-4:  clamp(2.6rem, 2rem + 3vw, 4.2rem);

  /* --- Layout --- */
  --maxw: 1240px;
  --radius-s: 4px;
  --radius-m: 10px;
  --header-h: 76px;
  --shadow-card: 0 1px 2px rgba(34,30,28,.06), 0 8px 24px -12px rgba(34,30,28,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important;}
}

body{
  margin:0;
  font-family:var(--font-body);
  font-size:var(--step-0);
  line-height:1.6;
  color:var(--gray-900);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.12;
  margin:0 0 .5em;
  letter-spacing:-.01em;
  color:var(--gray-900);
}
h1{font-size:var(--step-4)}
h2{font-size:var(--step-3)}
h3{font-size:var(--step-2)}
h4{font-size:var(--step-1)}
p{margin:0 0 1em}
a{color:inherit}
img{max-width:100%;display:block}
ul{margin:0;padding:0}
li{list-style:none}

:focus-visible{outline:3px solid var(--red-500); outline-offset:2px}

/* --- RTL / CJK adjustments --- */
html[dir="rtl"] body{font-family:"Noto Sans Arabic","Inter",sans-serif}
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3,html[dir="rtl"] h4{font-family:"Noto Naskh Arabic","Fraunces",serif; letter-spacing:0}
html[lang="zh"] body{font-family:"Noto Sans SC","Inter",sans-serif}
html[lang="zh"] h1,html[lang="zh"] h2,html[lang="zh"] h3,html[lang="zh"] h4{font-family:"Noto Serif SC","Fraunces",serif; letter-spacing:0}
html[dir="rtl"] .eyebrow::before{order:2}

.wrap{max-width:var(--maxw); margin-inline:auto; padding-inline:24px}
@media (min-width:900px){.wrap{padding-inline:40px}}

.eyebrow{
  display:inline-flex; align-items:center; gap:.55em;
  font-size:var(--step--1); font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--red-600); margin-bottom:.9em;
}
.eyebrow::before{content:""; width:22px; height:2px; background:var(--red-500); display:inline-block}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  font-family:var(--font-body); font-weight:700; font-size:var(--step--1);
  padding:.95em 1.7em; border-radius:999px; border:2px solid transparent;
  cursor:pointer; text-decoration:none; transition:transform .18s var(--ease), background .18s, border-color .18s, color .18s;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--red-500); color:var(--white)}
.btn-primary:hover{background:var(--red-600)}
.btn-outline{background:transparent; color:var(--gray-900); border-color:var(--gray-300)}
.btn-outline:hover{border-color:var(--red-500); color:var(--red-600)}
.btn-ghost-invert{background:transparent;color:var(--white);border-color:rgba(255,255,255,.5)}
.btn-ghost-invert:hover{border-color:var(--white)}

/* ===================== Header ===================== */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.92); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--gray-200);
  height:var(--header-h);
}
.header-inner{
  max-width:var(--maxw); margin-inline:auto; padding-inline:20px;
  height:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; flex-shrink:0}
.brand img{height:54px; width:auto; display:block}
/* The wordmark now lives only inside the logo — the text beside it was the
   same words twice — so the mark has to be big enough to read "UNIVERSITY
   COLLEGE". 42px was sized for a logo with a label next to it. */
.brand-text{font-family:var(--font-display); font-weight:700; font-size:1.05rem; color:var(--gray-900); line-height:1.1}
.brand-text small{display:block; font-family:var(--font-body); font-weight:600; font-size:.62rem; letter-spacing:.12em; text-transform:uppercase; color:var(--red-600)}

.main-nav{display:none}
@media (min-width:1080px){
  .main-nav{display:flex; align-items:center; gap:2px}
  .main-nav a{
    display:block; padding:10px 14px; font-size:.92rem; font-weight:600;
    text-decoration:none; color:var(--gray-800); border-radius:6px; transition:color .15s,background .15s;
  }
  .main-nav a:hover{color:var(--red-600); background:var(--red-050)}
  .main-nav a.active{color:var(--red-600)}
}

.header-actions{display:flex; align-items:center; gap:10px}
.header-actions > a.btn{display:none}
@media (min-width:640px){.header-actions > a.btn{display:inline-flex}}

.lang-switch{position:relative}
/* The switcher is used once a visit; Apply is the reason the page exists.
   A filled pill at 700 weight beside the primary button was giving a
   utility the same weight as the action. Just the code, in muted text. */
.lang-switch > button{
  display:flex; align-items:center; gap:5px; background:none; border:0;
  padding:6px 4px; font-family:var(--font-body); font-size:.82rem; font-weight:600;
  color:var(--gray-600); cursor:pointer;
}
.lang-switch > button:hover{color:var(--gray-900)}
.lang-chev{font-size:.6rem; opacity:.6; line-height:1}
.lang-menu{
  position:absolute; inset-inline-end:0; top:calc(100% + 8px); background:var(--white); border:1px solid var(--gray-200);
  border-radius:var(--radius-m); box-shadow:var(--shadow-card); min-width:170px; padding:6px; display:none; z-index:50;
}
.lang-menu.open{display:block}
.lang-menu button{
  display:flex; width:100%; align-items:center; justify-content:space-between; gap:8px; background:none; border:0;
  padding:10px 12px; border-radius:6px; font-size:.88rem; font-weight:600; color:var(--gray-800); cursor:pointer; text-align:start;
}
.lang-menu button:hover{background:var(--gray-100)}
.lang-menu button[aria-current="true"]{color:var(--red-600)}

.nav-toggle{
  display:inline-flex; width:42px; height:42px; align-items:center; justify-content:center;
  background:var(--gray-100); border:1px solid var(--gray-200); border-radius:8px; cursor:pointer;
}
@media (min-width:1080px){.nav-toggle{display:none}}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after{content:""; display:block; width:18px; height:2px; background:var(--gray-900)}
.nav-toggle{flex-direction:column; gap:4px}

.mobile-nav{
  position:fixed; inset:var(--header-h) 0 0 0; background:var(--white); z-index:99;
  overflow-y:auto; padding:20px; display:none;
}
.mobile-nav.open{display:block}
@media (min-width:1080px){.mobile-nav{display:none !important}}
.mobile-nav a{display:block; padding:15px 6px; font-weight:600; font-size:1.05rem; text-decoration:none; color:var(--gray-900); border-bottom:1px solid var(--gray-100)}
.mobile-nav .btn{margin-top:18px; width:100%}

/* ===================== Hero ===================== */
.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(155deg, var(--red-900) 0%, var(--red-600) 62%, var(--red-500) 100%);
  color:var(--white); padding-block:56px 84px;
}
.hero::after{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.12;
  background-image:radial-gradient(circle at 1px 1px, var(--white) 1.4px, transparent 1.4px);
  background-size:26px 26px;
}
.hero-inner{position:relative; z-index:1; display:grid; gap:40px}
@media (min-width:920px){.hero-inner{grid-template-columns:1.15fr 0.85fr; align-items:center; gap:52px}}
.hero .eyebrow{color:var(--white)}
.hero .eyebrow::before{background:var(--white)}
.hero h1{color:var(--white); font-size:var(--step-4)}
.hero h1 em{font-style:normal; color:var(--gray-100); text-decoration:underline; text-decoration-color:rgba(255,255,255,.45); text-underline-offset:6px}
.hero-sub{font-size:var(--step-1); max-width:46ch; color:rgba(255,255,255,.88); margin-bottom:1.6em}
.hero-cta{display:flex; flex-wrap:wrap; gap:14px}

.hero-stats{display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:38px; max-width:520px}
.hero-stat{border-inline-start:2px solid rgba(255,255,255,.4); padding-inline-start:12px}
.hero-stat b{display:block; font-family:var(--font-display); font-size:var(--step-2); line-height:1}
.hero-stat span{font-size:.76rem; color:rgba(255,255,255,.75); text-transform:uppercase; letter-spacing:.06em}

.hero-panel{
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.22); border-radius:var(--radius-m);
  padding:26px; backdrop-filter:blur(6px);
}
.hero-panel img{border-radius:8px; margin-bottom:16px; aspect-ratio:4/3; object-fit:cover; width:100%}
.hero-panel-caption{font-size:.85rem; color:rgba(255,255,255,.85)}

/* ===================== Seal rail (signature element) ===================== */
.seal-rail{background:var(--gray-050); border-block:1px solid var(--gray-200); padding-block:26px; overflow:hidden}
.seal-rail-head{display:flex; align-items:center; gap:14px; margin-bottom:16px}
.seal-rail-head span{font-size:.78rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--gray-600); white-space:nowrap}
.seal-track-mask{overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.seal-track{display:flex; gap:14px; width:max-content; animation:seal-scroll 34s linear infinite}
.seal-rail:hover .seal-track{animation-play-state:paused}
@keyframes seal-scroll{from{transform:translateX(0)} to{transform:translateX(-50%)}}
.seal{
  flex:0 0 auto; width:126px; height:88px; background:var(--white); border:1px solid var(--gray-200); border-radius:var(--radius-s);
  display:flex; align-items:center; justify-content:center; padding:10px; box-shadow:var(--shadow-card);
}
.seal img{max-height:100%; max-width:100%; object-fit:contain; filter:grayscale(15%)}
html[dir="rtl"] .seal-track{animation-direction:reverse}

/* ===================== Sections ===================== */
section{padding-block:64px}
@media (min-width:900px){section{padding-block:92px}}
.section-head{max-width:640px; margin-bottom:44px}
.section-head.center{margin-inline:auto; text-align:center}
.bg-tint{background:var(--gray-050)}
.bg-red{background:var(--red-600); color:var(--white)}
.bg-red h2,.bg-red .eyebrow{color:var(--white)}
.bg-red .eyebrow::before{background:var(--white)}

/* Programme / school cards */
.card-grid{display:grid; gap:20px; grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.school-card{
  position:relative; background:var(--white); border:1px solid var(--gray-200); border-radius:var(--radius-m);
  padding:26px 24px 24px; box-shadow:var(--shadow-card); transition:border-color .18s, transform .18s;
  text-decoration:none; color:inherit; display:flex; flex-direction:column; gap:10px;
}
.school-card:hover{border-color:var(--red-400); transform:translateY(-4px)}
.school-card::before{
  content:""; position:absolute; top:0; inset-inline-start:24px; width:34px; height:6px; background:var(--red-500); border-radius:0 0 4px 4px;
}
.school-card .tag{font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--red-600)}
.school-card h4{margin-bottom:.2em; font-size:1.1rem}
.school-card p{font-size:.9rem; color:var(--gray-600); margin-bottom:.2em}
.school-card .go{margin-top:auto; font-size:.85rem; font-weight:700; color:var(--gray-900); display:flex; align-items:center; gap:6px}
.school-card:hover .go{color:var(--red-600)}

/* Feature list */
.feature-grid{display:grid; gap:28px; grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.feature{padding-inline-start:0}
.feature .num{font-family:var(--font-display); font-size:.85rem; font-weight:700; color:var(--red-500); border:1.5px solid var(--red-400); border-radius:50%; width:34px; height:34px; display:flex; align-items:center; justify-content:center; margin-bottom:14px}
.feature .num.year{width:auto; min-width:56px; height:28px; padding:0 10px; border-radius:8px; font-size:.78rem}
.feature h4{margin-bottom:.35em}
.feature p{color:var(--gray-600); font-size:.92rem}

/* Stat band */
.stat-band{display:grid; grid-template-columns:repeat(2,1fr); gap:24px; text-align:center}
@media (min-width:760px){.stat-band{grid-template-columns:repeat(4,1fr)}}
.stat-item b{display:block; font-family:var(--font-display); font-size:var(--step-3); line-height:1}
.stat-item span{font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; opacity:.85}

/* Viewfinder (360 campus) */
.viewfinder{position:relative; border-radius:var(--radius-m); overflow:hidden; background:var(--gray-900); aspect-ratio:16/9; box-shadow:var(--shadow-card)}
.viewfinder iframe{width:100%; height:100%; border:0; display:block}
.viewfinder .corner{position:absolute; width:34px; height:34px; border-color:var(--white); opacity:.85; pointer-events:none}
.viewfinder .corner.tl{top:14px; inset-inline-start:14px; border-top:3px solid; border-inline-start:3px solid}
.viewfinder .corner.tr{top:14px; inset-inline-end:14px; border-top:3px solid; border-inline-end:3px solid}
.viewfinder .corner.bl{bottom:14px; inset-inline-start:14px; border-bottom:3px solid; border-inline-start:3px solid}
.viewfinder .corner.br{bottom:14px; inset-inline-end:14px; border-bottom:3px solid; border-inline-end:3px solid}
.viewfinder-badge{position:absolute; top:14px; inset-inline-start:50%; transform:translateX(-50%); background:rgba(200,16,46,.92); color:#fff; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:6px 14px; border-radius:999px; display:flex; align-items:center; gap:6px}
html[dir="rtl"] .viewfinder-badge{transform:translateX(50%)}
.viewfinder-badge::before{content:""; width:7px; height:7px; border-radius:50%; background:#fff; animation:pulse 1.6s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1} 50%{opacity:.35}}

/* Testimonial / accreditation blurb */
.quote-card{background:var(--white); border:1px solid var(--gray-200); border-radius:var(--radius-m); padding:28px; box-shadow:var(--shadow-card)}
.quote-card p{font-family:var(--font-display); font-size:1.15rem; color:var(--gray-900)}
.quote-card footer{font-size:.85rem; color:var(--gray-600); font-weight:600}

/* ===================== Lead form (HubSpot) ===================== */
.lead-section{background:var(--gray-900); color:var(--white)}
.lead-grid{display:grid; gap:36px}
@media (min-width:900px){.lead-grid{grid-template-columns:1fr 1fr; align-items:start}}
.lead-copy .eyebrow{color:var(--red-400)}
.lead-copy .eyebrow::before{background:var(--red-400)}
.lead-copy h2{color:var(--white)}
.lead-copy p{color:rgba(255,255,255,.75)}
.lead-copy ul{margin:22px 0 0; display:grid; gap:12px}
.lead-copy li{display:flex; gap:10px; align-items:flex-start; font-size:.92rem; color:rgba(255,255,255,.88)}
.lead-copy li::before{content:"✓"; color:var(--red-400); font-weight:700}
.hs-form-card{background:var(--white); border-radius:var(--radius-m); padding:28px; color:var(--gray-900); box-shadow:0 20px 60px -20px rgba(0,0,0,.5)}
.hs-form-card h3{font-size:1.15rem; margin-bottom:.25em}
.hs-form-card .fine{font-size:.8rem; color:var(--gray-600); margin-bottom:18px}
#hubspot-form-target .hs-form-placeholder{
  border:1.5px dashed var(--gray-300); border-radius:8px; padding:26px; text-align:center; color:var(--gray-600); font-size:.86rem;
}

/* ===================== Footer ===================== */
.site-footer{background:var(--red-900); color:rgba(255,255,255,.82); padding-block:56px 26px}
.footer-grid{display:grid; gap:36px; grid-template-columns:1.3fr 1fr 1fr 1fr}
@media (max-width:860px){.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.footer-grid{grid-template-columns:1fr}}
.site-footer h5{color:var(--white); font-family:var(--font-body); font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:16px}
.site-footer a{color:rgba(255,255,255,.78); text-decoration:none; font-size:.9rem; display:block; margin-bottom:10px}
.site-footer a:hover{color:var(--white)}
.footer-brand img{height:38px; margin-bottom:14px; filter:brightness(0) invert(1)}
.footer-brand p{font-size:.85rem; color:rgba(255,255,255,.68); max-width:32ch}
.footer-bottom{margin-top:44px; padding-top:22px; border-top:1px solid rgba(255,255,255,.16); display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; font-size:.78rem; color:rgba(255,255,255,.6)}

/* Sticky mobile CTA for ad-traffic conversion */
.sticky-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:90; background:var(--white); border-top:1px solid var(--gray-200);
  padding:10px 14px; display:flex; gap:10px; box-shadow:0 -6px 20px rgba(0,0,0,.08);
}
@media (min-width:900px){.sticky-cta{display:none}}
.sticky-cta .btn{flex:1}

/* Page hero (inner pages) */
/* Editorial rule, not a slab.

   The old header was a 278px red gradient, identical on every inner page,
   in the same red as every button — so a quarter of the first screen went
   before any content, and the buttons stopped standing out. Red is spent
   on things you can click; the rule is the only red left here. */
.page-hero{background:var(--white); color:var(--gray-900); padding-block:44px 34px;
  border-bottom:1px solid var(--gray-200)}
.page-hero h1{color:var(--gray-900); font-size:var(--step-3); margin-bottom:0}
.page-hero h1::after{content:""; display:block; width:60px; height:3px;
  background:var(--red-500); margin:18px 0 16px}
.page-hero p{color:var(--gray-600); max-width:58ch; font-size:var(--step-0)}
.page-hero .breadcrumb, .page-hero .breadcrumb a{color:var(--gray-600)}
.page-hero .breadcrumb a:hover{color:var(--red-600)}
.breadcrumb{font-size:.78rem; color:rgba(255,255,255,.7); margin-bottom:14px}
.breadcrumb a{color:rgba(255,255,255,.7); text-decoration:none}
.breadcrumb a:hover{color:var(--white)}

/* Filter pills (programmes page) */
.pill-row{display:flex; flex-wrap:wrap; gap:10px; margin-bottom:34px}
.pill{
  border:1.5px solid var(--gray-300); background:var(--white); color:var(--gray-800); font-size:.82rem; font-weight:600;
  padding:9px 16px; border-radius:999px; cursor:pointer;
}
.pill[aria-pressed="true"]{background:var(--red-500); border-color:var(--red-500); color:var(--white)}

/* Accreditation grid page */
.accred-grid{display:grid; gap:16px; grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.accred-tile{background:var(--white); border:1px solid var(--gray-200); border-radius:var(--radius-s); padding:16px; display:flex; align-items:center; justify-content:center; height:110px; box-shadow:var(--shadow-card)}
.accred-tile img{max-height:100%; max-width:100%; object-fit:contain}

/* Contact page */
.contact-grid{display:grid; gap:40px}
@media (min-width:900px){.contact-grid{grid-template-columns:1fr 1fr}}
.contact-item{display:flex; gap:14px; margin-bottom:22px}
.contact-item .ic{flex:0 0 auto; width:40px; height:40px; border-radius:50%; background:var(--red-050); color:var(--red-600); display:flex; align-items:center; justify-content:center; font-weight:700}
.contact-item h4{margin-bottom:.15em; font-size:1rem}
.contact-item p{margin:0; color:var(--gray-600); font-size:.92rem}
.map-embed{border-radius:var(--radius-m); overflow:hidden; border:1px solid var(--gray-200); aspect-ratio:4/3}
.map-embed iframe{width:100%; height:100%; border:0}

/* Utility */
.mt-0{margin-top:0}
.visually-hidden{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
[data-i18n-loading] *{opacity:0}

/* ===================== Programme Finder (programmes.html) ===================== */
.pf-controls{
     display:grid; gap:22px; grid-template-columns:1fr; background:var(--white); border:1px solid var(--gray-200);
     border-radius:var(--radius-m); padding:26px; box-shadow:var(--shadow-card); margin-bottom:28px;
}
@media (min-width:820px){.pf-controls{grid-template-columns:1.3fr 1fr 0.8fr; align-items:end}}
.pf-field label{display:block; font-size:.8rem; font-weight:700; color:var(--gray-800); margin-bottom:8px; letter-spacing:.02em}
.pf-search input[type=search]{
     width:100%; padding:12px 16px; border:1.5px solid var(--gray-300); border-radius:999px; font-size:.95rem;
     font-family:var(--font-body); background:var(--gray-050); color:var(--gray-900);
}
.pf-search input[type=search]:focus{border-color:var(--red-500); outline:none; background:var(--white)}
.pf-intake select{
     width:100%; padding:12px 14px; border:1.5px solid var(--gray-300); border-radius:999px; font-size:.9rem;
     font-family:var(--font-body); background:var(--gray-050); color:var(--gray-900); cursor:pointer;
}
.pf-intake select:focus{border-color:var(--red-500); outline:none}

.pf-slider{position:relative; height:34px}
.pf-slider-track{position:absolute; top:50%; left:0; right:0; height:4px; margin-top:-2px; background:var(--gray-200); border-radius:99px}
.pf-slider-range{position:absolute; top:50%; height:4px; margin-top:-2px; background:var(--red-500); border-radius:99px}
.pf-slider input[type=range]{
     position:absolute; top:0; left:0; width:100%; margin:0; background:transparent; pointer-events:none;
     -webkit-appearance:none; appearance:none; height:34px;
}
.pf-slider input[type=range]::-webkit-slider-thumb{
     -webkit-appearance:none; pointer-events:auto; width:18px; height:18px; border-radius:50%;
     background:var(--white); border:3px solid var(--red-500); cursor:pointer; box-shadow:0 1px 4px rgba(0,0,0,.25); margin-top:0;
}
.pf-slider input[type=range]::-moz-range-thumb{
     pointer-events:auto; width:18px; height:18px; border-radius:50%; background:var(--white);
     border:3px solid var(--red-500); cursor:pointer; box-shadow:0 1px 4px rgba(0,0,0,.25);
}
.pf-slider input[type=range]::-webkit-slider-runnable-track{background:transparent}
.pf-slider input[type=range]::-moz-range-track{background:transparent}
.pf-slider-labels{display:flex; justify-content:space-between; font-size:.78rem; color:var(--gray-600); margin-top:8px}

.pf-count{font-size:.85rem; color:var(--gray-600); margin-bottom:18px; font-weight:600}

.pf-results{display:grid; gap:16px; grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.pf-card{
     background:var(--white); border:1px solid var(--gray-200); border-radius:var(--radius-m); padding:22px;
     box-shadow:var(--shadow-card); display:flex; flex-direction:column; gap:8px;
}
.pf-card .tag{font-size:.7rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--red-600)}
.pf-card h4{font-size:1.02rem; margin-bottom:.1em}
.pf-meta{margin:4px 0 6px; display:grid; gap:4px}
.pf-meta li{font-size:.84rem; color:var(--gray-600)}
.pf-meta strong{color:var(--gray-800); font-weight:600}
.pf-link{font-size:.84rem; font-weight:700; color:var(--red-600); text-decoration:none; margin-top:auto}
.pf-link:hover{text-decoration:underline}
.pf-empty{text-align:center; color:var(--gray-600); padding:40px 0; font-size:.95rem}
.pf-more{grid-column:1/-1; text-align:center; color:var(--gray-600); font-size:.85rem; padding-top:10px}

/* Lincoln filter bar (premium silver accent) */
.lf-filterbar {
  background: linear-gradient(135deg, #f7f7f9, #eaebef);
  border: 1px solid #dcdde3;
  border-radius: 16px;
  padding: 6px;
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(20,20,25,0.05), inset 0 1px 0 rgba(255,255,255,0.65);
}
.lf-filterbar-toggle {
  display: none;
  width: 100%;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #dcdde3;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
  color: #1a1a1a;
  cursor: pointer;
  font-family: inherit;
}
.lf-filterbar-count {
  background: #C8102E;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 8px;
  border-radius: 999px;
}
.lf-filterbar-chevron {
  margin-left: auto;
  color: #8a8b92;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.lf-filterbar.is-open .lf-filterbar-chevron { transform: rotate(180deg); }
.lf-filterbar-fields {
  display: flex;
  align-items: stretch;
  gap: 6px;
}
.lf-filter-field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e3e4e9;
  border-radius: 12px;
  padding: 10px 14px;
  flex: 1;
  min-width: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lf-filter-field:focus-within {
  border-color: #C8102E;
  box-shadow: 0 0 0 3px rgba(200,16,46,0.08);
}
.lf-filter-icon { font-size: 15px; flex-shrink: 0; opacity: .85; line-height: 1; }
.lf-filter-field select,
.lf-filter-field input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: #1a1a1a;
  width: 100%;
  font-family: inherit;
  cursor: pointer;
  min-width: 0;
}
.lf-filter-field select { appearance: none; -webkit-appearance: none; padding-right: 4px; }
.lf-filter-field input[type="search"] { cursor: text; }
.lf-filter-search { flex: 1.5; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .lf-filterbar-toggle { display: flex; }
  .lf-filterbar-fields {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
    gap: 8px;
  }
  .lf-filterbar.is-open .lf-filterbar-fields { display: flex; }
  .lf-filter-field { width: 100%; }
}

/* ===================== LEAD FORM ===================== */
.lead-form-row{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.lead-form-field{margin-bottom:14px; display:flex; flex-direction:column; gap:6px}
.lead-form-field label{font-size:.78rem; font-weight:600; color:var(--gray-800); letter-spacing:.02em}
.lead-form-field input, .lead-form-field textarea{
  font-family:var(--font-body); font-size:.95rem; color:var(--gray-900);
  border:1px solid var(--gray-200); border-radius:var(--radius-s); padding:11px 13px;
  background:var(--gray-050); transition:border-color .15s var(--ease), background .15s var(--ease);
}
.lead-form-field input:focus, .lead-form-field textarea:focus{
  outline:none; border-color:var(--red-500); background:var(--white);
  box-shadow:0 0 0 3px var(--red-050);
}
.lead-form-field textarea{resize:vertical; min-height:72px}
.lead-form-submit{width:100%; justify-content:center; margin-top:6px; position:relative}
.lead-form-submit[disabled]{opacity:.6; cursor:progress}
.lead-form-status{margin-top:12px; font-size:.85rem; min-height:1.2em}
.lead-form-status.is-success{color:var(--red-600); font-weight:600}
.lead-form-status.is-error{color:#B42318; font-weight:600}
@media (max-width:640px){ .lead-form-row{grid-template-columns:1fr} }

/* ===================== HERO SLIDER ===================== */
.hero-slider{position:relative; min-height:640px; height:88vh; max-height:840px; overflow:hidden; padding:0; display:block}
.hero-slides{position:absolute; inset:0}
.hero-slide{position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transition:opacity 1.1s ease}
.hero-slide.is-active{opacity:1}
.hero-slide-placeholder{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; color:rgba(255,255,255,.5)}
.hero-slide-icon{width:72px; height:72px}
.hero-slide-label{font-family:var(--font-display); font-size:1.4rem; color:rgba(255,255,255,.42); letter-spacing:.02em}
.hero-slide-tone-2{background:radial-gradient(circle at 30% 30%, var(--red-700), var(--gray-900) 75%)}
.hero-slide-tone-3{background:radial-gradient(circle at 70% 30%, var(--red-600), var(--gray-800) 75%)}
.hero-slide-tone-4{background:radial-gradient(circle at 50% 70%, var(--red-900), var(--gray-900) 75%)}
.hero-overlay{position:absolute; inset:0; background:linear-gradient(0deg, rgba(20,16,15,.82) 0%, rgba(20,16,15,.42) 42%, rgba(20,16,15,.18) 100%)}
.hero-content-wrap{position:relative; z-index:2; height:100%; display:flex; align-items:flex-end; padding-bottom:88px}
.hero-content{max-width:640px}
.hero-content .eyebrow-invert{color:var(--red-400)}
.hero-content h1{color:var(--white); font-size:var(--step-4); line-height:1.05; margin:14px 0 18px}
.hero-content h1 em{font-style:italic; color:var(--white)}
.hero-sub{color:rgba(255,255,255,.86); font-size:1.15rem; max-width:520px; margin-bottom:30px}
.hero-cta{display:flex; gap:14px; flex-wrap:wrap}
.btn-lg{padding:16px 30px; font-size:1.02rem}
.btn-ghost-invert{border:1.5px solid rgba(255,255,255,.55); color:var(--white); background:transparent}
.btn-ghost-invert:hover{background:rgba(255,255,255,.12)}
.hero-dots{position:absolute; z-index:3; left:50%; transform:translateX(-50%); bottom:24px; display:flex; gap:10px}
.hero-dot{width:9px; height:9px; border-radius:50%; border:1.5px solid rgba(255,255,255,.7); background:transparent; padding:0; cursor:pointer; transition:background .2s var(--ease), width .2s var(--ease)}
.hero-dot.is-active{background:var(--white); width:26px; border-radius:6px}
.hero-stats-bar{background:var(--red-500)}
.hero-stats-bar .hero-stats{display:flex; gap:0; padding:22px 0}
.hero-stats-bar .hero-stat{flex:1; text-align:center; border-left:1px solid rgba(255,255,255,.25)}
.hero-stats-bar .hero-stat:first-child{border-left:none}
.hero-stats-bar .hero-stat b{display:block; font-family:var(--font-display); font-size:var(--step-2); color:var(--white); line-height:1}
.hero-stats-bar .hero-stat span{font-size:.78rem; color:rgba(255,255,255,.85); text-transform:uppercase; letter-spacing:.06em}
@media (max-width:820px){
  .hero-slider{height:78vh; min-height:520px}
  .hero-content-wrap{padding-bottom:56px}
  .hero-content h1{font-size:var(--step-3)}
  .hero-stats-bar .hero-stats{flex-direction:column; gap:16px}
  .hero-stats-bar .hero-stat{border-left:none; border-top:1px solid rgba(255,255,255,.25); padding-top:12px}
  .hero-stats-bar .hero-stat:first-child{border-top:none; padding-top:0}
}

/* ===================== STAFF LOGIN FOOTER LINK ===================== */
.footer-staff-login {
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  letter-spacing: .04em;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  transition: color .2s, border-color .2s, background .2s;
}
.footer-staff-login:hover {
  color: #fff;
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.08);
}
.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==================== HERO v2 ==================== */
.hero-v2{position:relative;background:#0f0d0d;overflow:hidden}
.hero-v2-stage{position:relative;min-height:clamp(460px,62vh,640px)}
.hero-v2-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .6s ease;display:grid}
.hero-v2-slide.is-active{opacity:1;visibility:visible}

/* --- split layout --- */
.hero-v2-slide[data-layout="split"]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#fff}
.hero-v2-slide[data-layout="split"] .hero-v2-copy{padding:clamp(2rem,5vw,4.5rem);display:flex;flex-direction:column;justify-content:center;color:#12100f}
.hero-v2-slide[data-layout="split"] .hero-v2-media{background:#ece9e7 center/cover no-repeat}

/* --- overlay layout --- */
.hero-v2-slide[data-layout="overlay"]{grid-template-columns:1fr}
.hero-v2-slide[data-layout="overlay"] .hero-v2-media{position:absolute;inset:0;background:#1a1512 center/cover no-repeat}
.hero-v2-slide[data-layout="overlay"] .hero-v2-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,13,13,.92) 0%,rgba(15,13,13,.75) 45%,rgba(15,13,13,.25) 100%)}
.hero-v2-slide[data-layout="overlay"] .hero-v2-copy{position:relative;z-index:2;padding:clamp(2rem,5vw,4.5rem);max-width:56rem;display:flex;flex-direction:column;justify-content:center;color:#fff}

/* --- shared copy --- */
.hero-v2-eyebrow{display:inline-block;align-self:flex-start;background:#c8102e;color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;padding:.5rem .9rem;margin-bottom:1.25rem}
.hero-v2-title{font-size:clamp(2.1rem,5.2vw,4.1rem);line-height:1.02;letter-spacing:-.035em;font-weight:800;margin:0 0 1rem}
.hero-v2-sub{font-size:clamp(1rem,1.35vw,1.15rem);line-height:1.6;max-width:38ch;opacity:.85;margin:0 0 1.75rem}
.hero-v2-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.75rem}
.hero-v2-tag{border:1px solid rgba(200,16,46,.45);color:#c8102e;font-size:.8rem;font-weight:600;padding:.3rem .7rem;border-radius:2px}
.hero-v2-slide[data-layout="overlay"] .hero-v2-tag{border-color:rgba(255,255,255,.5);color:#fff}
.hero-v2-cta{display:flex;flex-wrap:wrap;gap:.75rem}
.hero-v2-btn{display:inline-block;padding:.85rem 1.6rem;font-weight:700;font-size:.95rem;text-decoration:none;border:2px solid transparent;transition:filter .15s ease}
.hero-v2-btn-primary{background:#c8102e;color:#fff}
.hero-v2-btn-primary:hover{filter:brightness(1.1)}
.hero-v2-btn-ghost{border-color:#12100f;color:#12100f}
.hero-v2-slide[data-layout="overlay"] .hero-v2-btn-ghost{border-color:#fff;color:#fff}

/* --- numbered rail --- */
.hero-rail{position:relative;z-index:3;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;background:#1a1512}
.hero-rail-item{appearance:none;border:0;background:transparent;color:rgba(255,255,255,.72);text-align:left;padding:.95rem 1.15rem;cursor:pointer;font:inherit;border-top:3px solid transparent;transition:background .18s ease,color .18s ease}
.hero-rail-item:hover{background:rgba(255,255,255,.06);color:#fff}
.hero-rail-item.is-active{background:#c8102e;color:#fff;border-top-color:#8b0f22}
.hero-rail-num{display:block;font-size:.68rem;font-weight:700;letter-spacing:.12em;opacity:.75}
.hero-rail-label{display:block;font-size:.92rem;font-weight:700;letter-spacing:-.01em}

/* --- stat strip --- */
.hero-statstrip{background:#fff;border-bottom:1px solid rgba(18,16,15,.09)}
.hero-statstrip-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.hero-statstrip-cell{padding:1.6rem 1.25rem;border-right:1px solid rgba(18,16,15,.09)}
.hero-statstrip-cell:last-child{border-right:0}
.hero-statstrip-value{display:block;color:#c8102e;font-size:clamp(1.5rem,2.6vw,2.1rem);font-weight:800;letter-spacing:-.03em;line-height:1}
.hero-statstrip-label{display:block;margin-top:.4rem;font-size:.83rem;color:#6b625e}

/* --- responsive --- */
@media (max-width:900px){
  .hero-v2-slide[data-layout="split"]{grid-template-columns:1fr;grid-template-rows:auto 220px}
  .hero-v2-slide[data-layout="split"] .hero-v2-media{order:2}
  .hero-v2-slide[data-layout="overlay"] .hero-v2-media::after{background:linear-gradient(180deg,rgba(15,13,13,.55) 0%,rgba(15,13,13,.9) 100%)}
  .hero-rail{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(2,1fr)}
  .hero-statstrip-grid{grid-template-columns:repeat(2,1fr)}
  .hero-statstrip-cell:nth-child(2n){border-right:0}
  .hero-statstrip-cell{border-bottom:1px solid rgba(18,16,15,.09)}
}
@media (max-width:560px){
  .hero-v2-stage{min-height:0}
  .hero-v2-slide{position:relative;display:none}
  .hero-v2-slide.is-active{display:grid}
}

/* --- RTL --- */
[dir="rtl"] .hero-rail-item{text-align:right}
[dir="rtl"] .hero-statstrip-cell{border-right:0;border-left:1px solid rgba(18,16,15,.09)}
[dir="rtl"] .hero-statstrip-cell:last-child{border-left:0}
[dir="rtl"] .hero-v2-slide[data-layout="overlay"] .hero-v2-media::after{background:linear-gradient(270deg,rgba(15,13,13,.92) 0%,rgba(15,13,13,.75) 45%,rgba(15,13,13,.25) 100%)}

/* --- hero v2 corrections --- */
.hero-v2{padding:0!important;margin:0}
.hero-statstrip{padding:0}
.hero-v2-slide[data-layout="split"] .hero-v2-copy{order:1}
.hero-v2-slide[data-layout="split"] .hero-v2-media{order:2}
[dir="rtl"] .hero-v2-slide[data-layout="split"] .hero-v2-copy{order:2}
[dir="rtl"] .hero-v2-slide[data-layout="split"] .hero-v2-media{order:1}
@media (max-width:900px){
  .hero-v2-slide[data-layout="split"] .hero-v2-copy{order:1}
  .hero-v2-slide[data-layout="split"] .hero-v2-media{order:2}
}

/* --- hero v2: stack slides in one grid cell so the stage grows to fit --- */
.hero-v2-stage{display:grid;align-items:stretch}
.hero-v2-slide{position:relative;inset:auto;grid-area:1/1;pointer-events:none}
.hero-v2-slide.is-active{pointer-events:auto}
.hero-v2-slide[data-layout="split"] .hero-v2-media{min-height:320px}
@media (max-width:560px){
  .hero-v2-slide{display:grid}
  .hero-v2-slide:not(.is-active){visibility:hidden}
}

/* --- hero v2: force copy colours over the site's global heading rules --- */
.hero-v2 .hero-v2-slide[data-layout="overlay"] .hero-v2-title,
.hero-v2 .hero-v2-slide[data-layout="overlay"] .hero-v2-sub{color:#fff}
.hero-v2 .hero-v2-slide[data-layout="split"] .hero-v2-title{color:#12100f}
.hero-v2 .hero-v2-slide[data-layout="split"] .hero-v2-sub{color:#57504c;opacity:1}
.hero-v2 .hero-v2-title{text-shadow:none}
.hero-v2-slide[data-layout="overlay"] .hero-v2-media::after{
  background:linear-gradient(90deg,rgba(12,10,10,.95) 0%,rgba(12,10,10,.85) 38%,rgba(12,10,10,.45) 70%,rgba(12,10,10,.25) 100%)
}

/* RTL: keep copy in the first grid column so it renders on the right */
[dir="rtl"] .hero-v2-slide[data-layout="split"] .hero-v2-copy{order:1}
[dir="rtl"] .hero-v2-slide[data-layout="split"] .hero-v2-media{order:2}
