/* hh.css  header + hero system (2026-12-06). Mobile first. Prefix hh- so it never collides with older CSS. */

html{scroll-padding-top:76px}
.hh-header,.hh-hero,.hh-strip{--hh-brand:#c2410c;--hh-brand-dark:#9a3412;--hh-navy:#111b30;--hh-navy2:#1a2744;--hh-cta:#EA580C;--hh-cta-dark:#C2410C;--hh-line:#dbe3ee;--hh-text:#0f1b33;--hh-muted:#52607a;--hh-font:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;--hh-head:'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;--hh-fontw:800;--hh-upper:none;font-family:var(--hh-font)}
.hh-wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 16px}
.hh-header *,.hh-hero *,.hh-strip *{box-sizing:border-box}
.hh-header a,.hh-hero a,.hh-strip a{text-decoration:none}
/* strip (desktop only) */
.hh-strip{display:none;background:var(--hh-navy);color:#e8eefb;font-size:.82rem}
.hh-strip .hh-wrap{display:flex;justify-content:space-between;align-items:center;min-height:34px;gap:16px}
.hh-strip a{color:#fff;font-weight:600}
.hh-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#35d07f;margin-right:8px;box-shadow:0 0 0 0 rgba(53,208,127,.6);animation:hhpulse 2s infinite}
@keyframes hhpulse{70%{box-shadow:0 0 0 7px rgba(53,208,127,0)}100%{box-shadow:0 0 0 0 rgba(53,208,127,0)}}
@media (prefers-reduced-motion:reduce){.hh-dot{animation:none}}
/* header */
.hh-header{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid var(--hh-line);transition:box-shadow .2s}
.hh-header.is-scrolled{box-shadow:0 4px 18px rgba(10,25,50,.14)}
.hh-bar{display:flex;align-items:center;gap:8px;height:58px}
.hh-logo{display:flex;align-items:center;flex:0 0 auto}
.hh-logo img{display:block;height:32px;width:auto;max-width:none}
.hh-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.hh-call{display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 13px;border-radius:999px;background:var(--hh-cta);color:#fff;font-weight:700;font-size:.95rem;line-height:1;white-space:nowrap;letter-spacing:.01em}
.hh-call:hover,.hh-call:focus-visible{background:var(--hh-cta-dark);color:#fff}
.hh-call svg{width:17px;height:17px;flex:0 0 auto}
.hh-quote{display:none}
.hh-burger{width:44px;height:44px;border:1px solid var(--hh-line);background:#fff;border-radius:10px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;padding:0}
.hh-burger span{display:block;width:20px;height:2px;background:var(--hh-text);border-radius:2px;transition:transform .2s,opacity .2s}
.hh-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hh-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.hh-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
/* nav: mobile panel */
.hh-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--hh-line);box-shadow:0 14px 28px rgba(10,25,50,.18);max-height:calc(100vh - 58px);max-height:calc(100dvh - 58px);overflow-y:auto;overscroll-behavior:contain}
.hh-nav.open{display:block}
.hh-menu{list-style:none;margin:0;padding:6px 0}
.hh-item{border-bottom:1px solid #eef2f8;position:relative}
.hh-row{display:flex;align-items:stretch}
.hh-link{flex:1;display:flex;align-items:center;min-height:50px;padding:0 18px;color:var(--hh-text);font-weight:600;font-size:1.02rem;text-transform:var(--hh-upper)}
.hh-link:hover,.hh-link:focus-visible,.hh-link[aria-current="page"]{color:var(--hh-brand)}
.hh-subbtn{width:56px;border:0;background:transparent;cursor:pointer;position:relative;color:var(--hh-text)}
.hh-subbtn::before{content:"";position:absolute;left:50%;top:50%;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translate(-50%,-70%) rotate(45deg);transition:transform .2s}
.hh-item.open>.hh-row>.hh-subbtn::before{transform:translate(-50%,-30%) rotate(225deg)}
.hh-sub{display:none;background:#f5f8fc;padding:6px 0 10px}
.hh-item.open>.hh-sub{display:block}
.hh-sub a{display:block;padding:11px 18px 11px 30px;color:var(--hh-text);font-size:.97rem;font-weight:500;text-transform:none;min-height:44px}
.hh-sub a:hover,.hh-sub a:focus-visible{color:var(--hh-brand);background:#eaf1fa}
.hh-sub .hh-label{display:block;padding:12px 18px 4px 30px;font-size:.72rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--hh-muted)}
.hh-sub .hh-all{font-weight:700;color:var(--hh-brand)}
.hh-navfoot{display:grid;gap:10px;padding:14px 16px 18px}
.hh-navfoot .hh-btn{width:100%}
/* buttons */
.hh-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:0 24px;border-radius:10px;font-weight:700;font-size:1.05rem;line-height:1.1;text-transform:var(--hh-upper);letter-spacing:.02em;border:2px solid transparent;cursor:pointer;text-align:center}
.hh-btn svg{width:20px;height:20px;flex:0 0 auto}
.hh-btn--call{background:var(--hh-cta);color:#fff;box-shadow:0 8px 20px rgba(0,0,0,.28)}
.hh-btn--call:hover,.hh-btn--call:focus-visible{background:var(--hh-cta-dark);color:#fff}
.hh-btn--ghost{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.75)}
.hh-btn--ghost:hover,.hh-btn--ghost:focus-visible{background:#fff;color:var(--hh-navy)}
.hh-btn--line{background:#fff;color:var(--hh-brand);border-color:var(--hh-brand)}
.hh-btn--line:hover{background:var(--hh-brand);color:#fff}
/* hero */
.hh-hero{position:relative;isolation:isolate;overflow:hidden;background:var(--hh-navy);color:#fff}
.hh-hero__bg{position:absolute;inset:0;z-index:-2;background:var(--hh-navy)}
.hh-hero__bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 35%}
.hh-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(7,18,38,.74) 0%,rgba(7,18,38,.86) 55%,rgba(7,18,38,.93) 100%)}
.hh-hero__grid{display:grid;gap:22px;padding-top:20px;padding-bottom:26px}
.hh-hero__copy{min-width:0}
.hh-hero .hh-crumbs{margin:0 0 12px;font-size:.8rem;color:#c9d6ee;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hh-hero .hh-crumbs a{color:#dbe6fb;text-decoration:underline;text-underline-offset:2px}
.hh-hero .hh-crumbs ol{list-style:none;margin:0;padding:0;display:flex;gap:6px;align-items:center;flex-wrap:nowrap;overflow:hidden}
.hh-hero .hh-crumbs li{display:inline-flex;gap:6px;align-items:center;color:#c9d6ee;white-space:nowrap}
.hh-hero .hh-crumbs li:not(:last-child)::after{content:"/";opacity:.6}
.hh-hero .hh-crumbs svg{display:none}
.hh-hero .hh-crumbs span{opacity:.6}
.hh-badge{display:inline-flex;align-items:center;margin:0 0 12px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);font-size:.78rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#fff}
.hh-badge .hh-dot{margin-right:8px}
.hh-hero h1{margin:0 0 12px;color:#fff;font-family:var(--hh-head);font-weight:var(--hh-fontw);font-size:clamp(1.85rem,7.2vw,3rem);line-height:1.08;letter-spacing:-.01em;text-transform:none;text-wrap:balance}
.hh-hero h1 span{color:#fb923c}
.hh-lead{margin:0 0 18px;color:#e3ebfa;font-size:1.05rem;line-height:1.5;max-width:40rem}
.hh-ctas{display:grid;gap:10px;margin:0 0 14px}
.hh-wa{display:inline-block;margin:0 0 6px;color:#d6e2fa;font-size:.92rem;text-decoration:underline;text-underline-offset:3px}
.hh-wa:hover{color:#fff}
.hh-chips{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.hh-chips li{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:.82rem;font-weight:600;line-height:1.1}
.hh-chips li::before{content:"\2713";color:#52e08e;font-weight:800}
.hh-hero--compact .hh-hero__grid{padding-top:14px;padding-bottom:18px}
.hh-hero--compact h1{font-size:clamp(1.6rem,6vw,2.4rem);margin-bottom:0}
.hh-hero--compact .hh-lead{margin-top:10px;margin-bottom:0}
.hh-hero--article h1{font-size:clamp(1.65rem,6.2vw,2.6rem)}
.hh-card{min-width:0}
/* form card (Edinburgh) */
.hh-hero .hero-card{color:var(--text,#0d1b3e);padding:20px;border-radius:14px;box-shadow:0 18px 44px rgba(0,0,0,.35)}
.hh-hero .hero-card p,.hh-hero .hero-card label{color:var(--text-muted,#5a6a8a)}
.hh-hero .hero-card a{color:var(--blue,#0065BD)}
.hh-hero .hero-card .hero-card__title{margin-bottom:14px;font-size:1.35rem}
.hh-hero .hero-card .form-group{margin-bottom:10px}
@media (min-width:480px){.hh-ctas{grid-template-columns:auto auto;justify-content:start}}
@media (min-width:375px){.hh-call{padding:0 15px;font-size:1rem}}
@media (max-width:374px){.hh-logo img{height:27px}.hh-call{padding:0 11px;font-size:.88rem;gap:5px}.hh-call svg{width:15px;height:15px}.hh-burger{width:40px;height:40px}.hh-wrap{padding:0 12px}}
@media (min-width:900px){
 .hh-hero__grid{padding-top:30px;padding-bottom:48px;gap:40px}
 .hh-hero--card .hh-hero__grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center}
 .hh-hero::after{background:linear-gradient(90deg,rgba(7,18,38,.93) 0%,rgba(7,18,38,.84) 52%,rgba(7,18,38,.55) 100%)}
 .hh-lead{font-size:1.15rem}
 .hh-hero .hero-card{padding:26px}
}
@media (min-width:1024px){
 .hh-strip{display:block}
 .hh-bar{height:76px;gap:20px}
 .hh-logo img{height:46px}
 .hh-burger{display:none}
 .hh-quote{display:inline-flex;align-items:center;height:44px;padding:0 18px;border-radius:999px;border:2px solid var(--hh-brand);color:var(--hh-brand);font-weight:700;font-size:.95rem;text-transform:var(--hh-upper);white-space:nowrap}
 .hh-quote:hover{background:var(--hh-brand);color:#fff}
 .hh-call{height:46px;padding:0 20px;font-size:1.05rem}
 .hh-nav{display:block;position:static;box-shadow:none;border:0;max-height:none;overflow:visible;background:transparent;flex:1}
 .hh-menu{display:flex;justify-content:center;align-items:center;gap:2px;padding:0}
 .hh-item{border:0}
 .hh-row{align-items:center}
 .hh-link{min-height:76px;padding:0 13px;font-size:.98rem;white-space:nowrap}
 .hh-subbtn{display:none}
 .hh-item.has-sub>.hh-row>.hh-link::after{content:"";width:6px;height:6px;margin-left:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px)}
 .hh-sub{position:absolute;top:100%;left:0;min-width:240px;background:#fff;border:1px solid var(--hh-line);border-top:3px solid var(--hh-brand);border-radius:0 0 12px 12px;box-shadow:0 18px 40px rgba(10,25,50,.2);padding:8px}
 .hh-item.has-sub:hover>.hh-sub,.hh-item.has-sub:focus-within>.hh-sub{display:block}
 .hh-sub a{padding:8px 12px;border-radius:8px;min-height:0}
 .hh-sub .hh-label{padding:8px 12px 2px}
 .hh-sub--mega{min-width:660px;left:50%;transform:translateX(-50%);grid-template-columns:repeat(3,1fr);gap:0 8px}
 .hh-item.has-sub:hover>.hh-sub--mega,.hh-item.has-sub:focus-within>.hh-sub--mega{display:grid}
 .hh-sub--two{min-width:480px;grid-template-columns:1fr 1fr;gap:0 8px}
 .hh-item.has-sub:hover>.hh-sub--two,.hh-item.has-sub:focus-within>.hh-sub--two{display:grid}
 .hh-sub .hh-all{grid-column:1/-1;border-top:1px solid var(--hh-line);margin-top:6px;border-radius:0}
 .hh-navfoot{display:none}
}
.hh-lock{overflow:hidden}

.hh-btn,.hh-link,.hh-call,.hh-quote,.hh-badge{font-family:var(--hh-head)}
.hh-link{font-size:.95rem}.hh-btn{font-size:1rem}.hh-badge{font-size:.72rem}


/* long links/tables must never force horizontal scroll on narrow phones */
p a, li a, td a { overflow-wrap: anywhere; }
.cookie-table { display: block; max-width: 100%; overflow-x: auto; }
.footer-grid > * { min-width: 0; }
.footer-grid a, .footer-grid p { overflow-wrap: anywhere; }
