/*
Theme Name: Tea House Boba
Theme URI: https://teahouseboba.co.uk
Author: Alley Kat Design
Description: Bespoke business-focused theme for Tea House Boba — franchise & venue partnership platform. Built from the client homepage design and V4 brief.
Version: 1.1.6
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: teahouse-boba
*/

/* ============================================================
   0. TOKENS
   ============================================================ */
:root{
  --green:#1E5A2C;
  --green-dark:#164A22;
  --gold:#F2B200;
  --ink:#111111;
  --black:#0c0c0c;
  --white:#ffffff;
  --cream:#f6f7f3;
  --paper:#fbfbf9;
  --text:#1c2320;
  --muted:#5d6b62;
  --line:#e2e6df;

  /* Brand fonts — Playfair Display (headings) + Source Sans 3 (body). */
  --display:'Playfair Display',Georgia,'Times New Roman',serif;
  --body:'Source Sans 3','Helvetica Neue',Arial,sans-serif;

  --wrap:1200px;
  --wrap-narrow:920px;
  --gutter:clamp(20px,5vw,64px);
  --header-h:104px;
  --radius:14px;
  --radius-lg:20px;
  --shadow:0 18px 50px -20px rgba(15,40,22,.28);
  --shadow-sm:0 8px 24px -12px rgba(15,40,22,.22);
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* ============================================================
   1. RESET / BASE
   ============================================================ */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--body);
  font-size:clamp(16px,1.05vw,18px);
  line-height:1.7;
  color:var(--text);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
ul{margin:0;padding:0;list-style:none}

h1,h2,h3,h4,h5{
  font-family:var(--display);
  font-weight:700;
  line-height:1.08;
  margin:0 0 .4em;
  color:var(--ink);
  letter-spacing:-.005em;
}
h1{font-size:clamp(2.4rem,5.4vw,4.15rem)}
h2{font-size:clamp(1.9rem,3.8vw,3rem)}
h3{font-size:clamp(1.4rem,2.4vw,1.9rem)}
h4{font-size:clamp(1.2rem,1.8vw,1.45rem)}
p{margin:0 0 1.1em}
p:last-child{margin-bottom:0}

.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.wrap-narrow{max-width:var(--wrap-narrow);margin-inline:auto;padding-inline:var(--gutter)}
.section{padding:clamp(56px,8vw,110px) 0}
.eyebrow{
  font-family:var(--display);font-weight:700;text-transform:uppercase;
  letter-spacing:.18em;font-size:.78rem;color:var(--green);margin:0 0 1rem;
}
.center{text-align:center}
.lead{font-size:clamp(1.08rem,1.5vw,1.28rem);color:var(--muted);line-height:1.65}

/* ============================================================
   2. BUTTONS
   ============================================================ */
/* All buttons are outline-only: transparent background, coloured border + text.
   Hover lifts + adds a faint tint of the same colour — never a solid fill. */
.btn{
  display:inline-flex;align-items:center;gap:.6em;
  font-family:var(--display);font-weight:700;font-size:.95rem;
  letter-spacing:.01em;padding:.95em 1.7em;border-radius:999px;
  background:transparent;border:2px solid currentColor;transition:all .25s var(--ease);
  line-height:1;
}
.btn .arw{transition:transform .25s var(--ease)}
.btn:hover .arw{transform:translateX(5px)}
.btn:hover{transform:translateY(-2px)}
.btn-primary,.btn-green{color:var(--green)}
.btn-primary:hover,.btn-green:hover{background:rgba(30,90,44,.10)}
.btn-outline{color:var(--ink)}
.btn-outline:hover{background:rgba(17,17,17,.07)}
.btn-ghost-gold{color:var(--gold)}
.btn-ghost-gold:hover{background:rgba(242,178,0,.14)}
.btn-ghost-light{color:#fff}
.btn-ghost-light:hover{background:rgba(255,255,255,.14)}
.btn-sm{padding:.72em 1.3em;font-size:.86rem}

/* text link with arrow — outline pill, transparent */
.arrow-link{
  display:inline-flex;align-items:center;gap:.5em;font-family:var(--display);
  font-weight:700;color:var(--ink);background:transparent;border:1.5px solid currentColor;
  padding:.7em 1.25em;border-radius:999px;transition:all .25s var(--ease);font-size:.9rem;
}
.arrow-link .arw{transition:transform .25s var(--ease)}
.arrow-link:hover{color:var(--green);background:rgba(30,90,44,.08);transform:translateY(-2px)}
.arrow-link:hover .arw{transform:translateX(5px)}

/* ============================================================
   3. HEADER / NAV
   ============================================================ */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:60;
  padding:18px 0;transition:background .3s var(--ease),padding .3s var(--ease),box-shadow .3s var(--ease);
}
.site-header::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(to bottom,rgba(0,0,0,.32),rgba(0,0,0,0));
  opacity:1;transition:opacity .3s var(--ease);pointer-events:none;
}
.site-header.scrolled{background:var(--white);padding:10px 0;box-shadow:0 6px 24px -14px rgba(0,0,0,.4)}
.site-header.scrolled::before{opacity:0}
.header-inner{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter);
  display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative}
.brand{display:block;line-height:0}
.brand img{width:clamp(72px,7vw,92px);height:auto;transition:width .3s var(--ease);
  filter:drop-shadow(0 4px 14px rgba(0,0,0,.22))}
.scrolled .brand img{width:64px;filter:none}

.nav-toggle{
  position:static;flex:none;
  display:flex;flex-direction:column;justify-content:center;gap:6px;
  width:52px;height:44px;background:transparent;border:0;padding:0 10px;
}
.nav-toggle span{display:block;height:3px;border-radius:3px;background:#fff;transition:all .3s var(--ease)}
.scrolled .nav-toggle span{background:var(--ink)}
.nav-toggle:hover span{background:var(--gold)}
.scrolled .nav-toggle:hover span{background:var(--green)}

/* solid header for pages without a hero */
.solid-header{padding-top:var(--header-h)}
.solid-header .site-header{background:var(--white);box-shadow:0 6px 24px -14px rgba(0,0,0,.4)}
.solid-header .site-header::before{opacity:0}
.solid-header .nav-toggle span{background:var(--ink)}
.solid-header .brand img{filter:none}
.solid-header .basic-banner{margin-top:0}

/* full-screen menu overlay */
.nav-overlay{
  position:fixed;inset:0;z-index:80;background:var(--green);
  display:flex;flex-direction:column;
  clip-path:circle(0% at calc(100% - 46px) 40px);
  transition:clip-path .55s var(--ease);pointer-events:none;
}
.nav-overlay.open{clip-path:circle(150% at calc(100% - 46px) 40px);pointer-events:auto}
.nav-overlay-top{display:flex;align-items:center;justify-content:space-between;
  max-width:var(--wrap);width:100%;margin-inline:auto;padding:22px var(--gutter)}
.nav-overlay-top img{width:78px}
.nav-close{background:transparent;border:0;width:48px;height:48px;position:relative}
.nav-close::before,.nav-close::after{content:"";position:absolute;left:9px;top:22px;width:30px;height:3px;
  background:#fff;border-radius:3px}
.nav-close::before{transform:rotate(45deg)}
.nav-close::after{transform:rotate(-45deg)}
.nav-close:hover::before,.nav-close:hover::after{background:var(--gold)}
.nav-menu{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.15em;
  padding:0 var(--gutter) 8vh}
.nav-menu a{
  font-family:var(--display);font-weight:700;color:#fff;
  font-size:clamp(2rem,7vw,3.6rem);letter-spacing:-.01em;line-height:1.2;
  opacity:0;transform:translateY(22px);transition:color .2s var(--ease);position:relative;
}
.nav-overlay.open .nav-menu a{animation:navIn .5s var(--ease) forwards}
.nav-overlay.open .nav-menu a:nth-child(1){animation-delay:.14s}
.nav-overlay.open .nav-menu a:nth-child(2){animation-delay:.2s}
.nav-overlay.open .nav-menu a:nth-child(3){animation-delay:.26s}
.nav-overlay.open .nav-menu a:nth-child(4){animation-delay:.32s}
.nav-menu a:hover,.nav-menu a.current{color:var(--gold)}
@keyframes navIn{to{opacity:1;transform:none}}
.nav-foot{color:rgba(255,255,255,.75);text-align:center;padding:0 var(--gutter) 34px;font-size:.9rem}
.nav-foot a{color:#fff;font-weight:700}
body.menu-open{overflow:hidden}

/* ============================================================
   4. HERO (home + interior full-bleed)
   ============================================================ */
.hero{position:relative;min-height:clamp(560px,92vh,860px);display:flex;align-items:stretch;overflow:hidden}
.hero-media{position:absolute;inset:0}
.hero-media img,.hero-media .hero-video{width:100%;height:100%;object-fit:cover;object-position:center 28%;display:block}
.is-home .hero-media img{object-position:center 42%}
/* gradient scrim coming in from the RIGHT, behind the hero text (keeps dark copy legible over photo/video) */
.hero-media::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to left,rgba(255,255,255,0.8) 0%,rgba(255,255,255,0.8) 32%,rgba(255,255,255,.7) 46%,rgba(255,255,255,0.6) 58%,rgba(255,255,255,0) 78%)}
.hero-inner{position:relative;z-index:2;max-width:var(--wrap);margin-inline:auto;width:100%;
  padding:0 var(--gutter);display:flex;align-items:center;justify-content:flex-end}
.hero-copy{max-width:560px;margin-left:auto;padding:130px 0 60px}
.hero-copy .h-eyebrow{color:var(--green);font-family:var(--display);font-weight:700;
  text-transform:uppercase;letter-spacing:.16em;font-size:.8rem;margin-bottom:1rem}
.hero-copy h1{color:var(--ink)}
.hero-copy p{font-size:clamp(1.05rem,1.5vw,1.28rem);color:#2b322e;margin-top:1rem}
.hero-cta{margin-top:1.9rem;display:flex;gap:.8rem;flex-wrap:wrap}

/* interior hero variant with dark overlay + centered/left title */
.page-hero{position:relative;min-height:clamp(460px,60vh,600px);display:flex;align-items:flex-end;overflow:hidden;
  padding-top:calc(var(--header-h) + 10px)}
.page-hero-media{position:absolute;inset:0}
.page-hero-media img{width:100%;height:100%;object-fit:cover}
.page-hero-media::after{content:"";position:absolute;inset:0;
  background:linear-gradient(to top,rgba(10,20,12,.82),rgba(10,20,12,.28) 55%,rgba(10,20,12,.35))}
.page-hero-inner{position:relative;z-index:2;max-width:var(--wrap);margin-inline:auto;width:100%;
  padding:0 var(--gutter) clamp(38px,6vw,68px)}
.page-hero .h-eyebrow{color:var(--gold);font-family:var(--display);font-weight:700;
  text-transform:uppercase;letter-spacing:.16em;font-size:.82rem;margin-bottom:.8rem;display:block}
.page-hero h1{color:#fff;max-width:16ch;text-shadow:0 2px 30px rgba(0,0,0,.35)}
.page-hero p{color:rgba(255,255,255,.92);max-width:52ch;margin-top:1rem;font-size:clamp(1.05rem,1.5vw,1.25rem)}

/* ============================================================
   5. HOME — CTA CARDS (green band)
   ============================================================ */
.pathways{background:var(--green);position:relative}
.pathways .wrap{position:relative;z-index:1}
.card-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,3vw,34px)}
.path-card{background:#fff;border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column;
  box-shadow:var(--shadow);transition:transform .3s var(--ease),box-shadow .3s var(--ease)}
.path-card:hover{transform:translateY(-6px);box-shadow:0 30px 60px -24px rgba(0,0,0,.45)}
.path-card .pc-media{aspect-ratio:16/10;overflow:hidden}
.path-card .pc-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.path-card:hover .pc-media img{transform:scale(1.05)}
.path-card .pc-body{padding:clamp(24px,2.6vw,36px);display:flex;flex-direction:column;flex:1}
.path-card h3{margin-bottom:.5rem}
.path-card p{color:var(--muted);flex:1}
.path-card .arrow-link{margin-top:1.5rem;align-self:flex-start}

/* ============================================================
   6. TRUST STRIP
   ============================================================ */
.trust{background:var(--white)}
.trust h2{text-align:center;margin-bottom:clamp(34px,4vw,56px)}
.trust-logos{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:clamp(28px,5vw,72px)}
.trust-logos li{display:flex;align-items:center;justify-content:center}
.trust-logos img{max-height:96px;width:auto;object-fit:contain}
.trust-logos .box{background:#0c0c0c;border-radius:10px;padding:14px 18px}
.trust-logos .box img{max-height:66px}

/* ============================================================
   7. HOME — CLOSING CTA (black band)
   ============================================================ */
.cta-band{background:var(--black);color:#fff;text-align:center}
.cta-band h2{color:#fff;max-width:30ch;margin-inline:auto;font-size:clamp(1.9rem,4vw,3.1rem)}
.cta-band .btn-row{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-top:2.2rem}

/* ============================================================
   8. OUR STORY
   ============================================================ */
.story-body{max-width:var(--wrap-narrow);margin-inline:auto}
.story-body .anchor-line{font-family:var(--display);font-weight:700;color:var(--green);
  font-size:clamp(1.7rem,3.4vw,2.6rem);line-height:1.15;margin-bottom:1.4rem}
.story-body p{font-size:clamp(1.05rem,1.35vw,1.18rem);color:#2c332e}
.story-body p+p{margin-top:0}
.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(24px,3vw,44px);margin-top:8px}
.pillar{text-align:center}
.pillar .ic{width:76px;height:76px;border-radius:50%;background:var(--cream);color:var(--green);
  display:flex;align-items:center;justify-content:center;margin:0 auto 1.1rem;border:2px solid rgba(30,90,44,.14)}
.pillar .ic svg{width:34px;height:34px}
.pillar h4{margin-bottom:.5rem}
.pillar p{color:var(--muted);font-size:1rem}
.band-cream{background:var(--cream)}
/* green band variant — white text, gold icons (Our Story "What We Do") */
.band-green{background:var(--green);color:#fff}
.band-green h2,.band-green h3,.band-green h4{color:#fff}
.band-green .lead{color:rgba(255,255,255,.85)}
.band-green .pillar p{color:rgba(255,255,255,.85)}
.band-green .pillar .ic{background:var(--green-dark);color:var(--gold);border-color:rgba(242,178,0,.35)}

/* ============================================================
   9. PARTNER — benefits
   ============================================================ */
.strapline{background:var(--gold);color:var(--ink);text-align:center;
  font-family:var(--display);font-weight:700;font-size:clamp(1.15rem,2.3vw,1.7rem);
  padding:clamp(20px,2.6vw,30px) var(--gutter);letter-spacing:-.005em}
.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(22px,2.6vw,34px)}
.benefit{background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(26px,2.6vw,36px);transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
.benefit:hover{transform:translateY(-4px);box-shadow:var(--shadow-sm)}
.benefit .ic{width:60px;height:60px;border-radius:14px;background:var(--green);color:#fff;
  display:flex;align-items:center;justify-content:center;margin-bottom:1.2rem}
.benefit .ic svg{width:28px;height:28px}
.benefit h4{margin-bottom:.4rem}
.benefit p{color:var(--muted);font-size:1rem;margin:0}

/* ============================================================
   10. FORMS (Formidable + native fallback)
   ============================================================ */
.form-section{background:var(--cream)}
.form-card{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow);
  padding:clamp(28px,4vw,52px);max-width:720px;margin-inline:auto}
.form-card h2,.form-card h3{margin-bottom:.4rem}
.form-card .form-intro{color:var(--muted);margin-bottom:1.8rem}

/* shared field styling — applies to native + Formidable markup */
.thb-form .fld,.thb-form .frm_form_field{margin-bottom:1.15rem}
.thb-form label,.thb-form .frm_primary_label{display:block;font-family:var(--display);font-weight:700;
  font-size:.9rem;color:var(--ink);margin-bottom:.4rem}
.thb-form .frm_required{color:#c0392b}
.thb-form input[type=text],.thb-form input[type=email],.thb-form input[type=tel],
.thb-form input[type=url],.thb-form select,.thb-form textarea{
  width:100%;font-family:var(--body);font-size:1rem;color:var(--text);
  padding:.85em 1em;border:1.5px solid var(--line);border-radius:10px;background:var(--paper);
  transition:border-color .2s var(--ease),box-shadow .2s var(--ease)}
.thb-form textarea{min-height:130px;resize:vertical}
.thb-form input:focus,.thb-form select:focus,.thb-form textarea:focus{
  outline:none;border-color:var(--green);box-shadow:0 0 0 4px rgba(30,90,44,.12)}
.thb-form .fld-row{display:grid;grid-template-columns:1fr 1fr;gap:1.15rem}
.thb-form button[type=submit],.thb-form .frm_button_submit,.thb-form input[type=submit],
.thb-form .frm_submit button,.thb-form .frm_submit input[type=submit]{
  -webkit-appearance:none!important;appearance:none!important;background:transparent!important;color:var(--green)!important;
  font-family:var(--display)!important;font-weight:700!important;font-size:1rem!important;letter-spacing:.02em!important;text-transform:uppercase!important;
  border:2px solid var(--green)!important;border-radius:999px!important;padding:.9em 2.1em!important;transition:all .25s var(--ease)!important;cursor:pointer!important;
  margin-top:.6rem!important;box-shadow:none!important;text-shadow:none!important;width:auto!important;line-height:1!important}
.thb-form button[type=submit]:hover,.thb-form .frm_button_submit:hover,.thb-form input[type=submit]:hover,
.thb-form .frm_submit button:hover,.thb-form .frm_submit input[type=submit]:hover{
  background:rgba(30,90,44,.10)!important;transform:translateY(-2px)}
/* Formidable field spacing to match native */
.thb-form .frm_forms{width:100%}
.thb-form .frm_submit{margin-top:.4rem;clear:both}
.thb-form .frm_error,.form-note.error{color:#c0392b;font-size:.9rem;margin-top:.3rem}
.frm_message,.form-note.ok{background:#e8f3ea;border:1px solid #bfe0c6;color:var(--green-dark);
  padding:1em 1.2em;border-radius:10px;font-weight:600}

/* texture strip */
.tex-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(12px,1.6vw,20px)}
.tex-strip figure{margin:0;aspect-ratio:3/4;overflow:hidden;border-radius:var(--radius)}
.tex-strip img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.tex-strip figure:hover img{transform:scale(1.05)}

/* ============================================================
   11. GENERIC PAGE (page.php / posts)
   ============================================================ */
.basic-banner{background:var(--green);color:#fff;padding:clamp(44px,6vw,72px) 0;text-align:center}
.basic-banner h1{color:#fff}
.page-content{max-width:var(--wrap-narrow);margin-inline:auto}
.page-content h2,.page-content h3{margin-top:1.6em}
.page-content a{color:var(--green);text-decoration:underline;text-underline-offset:2px}
/* Restore native list styling inside standard editor content (the global reset strips it). */
.page-content ul,.page-content ol{margin:0 0 1.1em;padding-left:1.6em;list-style-position:outside}
.page-content ul{list-style:disc}
.page-content ol{list-style:decimal}
.page-content ul ul{list-style:circle}
.page-content ul ul ul{list-style:square}
.page-content li{margin:0 0 .5em;padding-left:.25em}
.page-content li>ul,.page-content li>ol{margin:.5em 0 .25em}
.page-content li::marker{color:var(--green)}

/* ============================================================
   12. FOOTER
   ============================================================ */
.site-footer{background:var(--black);color:rgba(255,255,255,.85)}
.footer-main{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
  padding:clamp(34px,4vw,52px) 0}
.footer-contact{display:flex;gap:clamp(20px,3vw,40px);flex-wrap:wrap}
.footer-contact a{display:inline-flex;align-items:center;gap:.6em;font-weight:600;color:#fff}
.footer-contact a:hover{color:var(--gold)}
.footer-contact svg{width:20px;height:20px;color:var(--gold);flex:none}
.footer-social{display:flex;gap:14px}
.footer-social a{width:42px;height:42px;border-radius:50%;border:1.5px solid rgba(255,255,255,.28);
  display:flex;align-items:center;justify-content:center;color:#fff;transition:all .25s var(--ease)}
.footer-social a:hover{background:var(--gold);border-color:var(--gold);color:var(--ink)}
.footer-social svg{width:18px;height:18px}
.footer-social a i{font-size:18px;line-height:1}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:20px 0;
  display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:.86rem;color:rgba(255,255,255,.6)}
.footer-bottom a{color:rgba(255,255,255,.72)}
.footer-bottom a:hover{color:var(--gold)}
.footer-links{display:flex;gap:20px;flex-wrap:wrap}

/* ============================================================
   13. SCROLL REVEAL
   ============================================================ */
.has-js .reveal{opacity:0;transform:translateY(24px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.has-js .reveal.is-in{opacity:1;transform:none}
.has-js .reveal-stagger>*{opacity:0;transform:translateY(24px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
.has-js .reveal-stagger.is-in>*{opacity:1;transform:none}
.has-js .reveal-stagger.is-in>*:nth-child(2){transition-delay:.09s}
.has-js .reveal-stagger.is-in>*:nth-child(3){transition-delay:.18s}
.has-js .reveal-stagger.is-in>*:nth-child(4){transition-delay:.27s}
.has-js .reveal-stagger.is-in>*:nth-child(5){transition-delay:.36s}
@media (prefers-reduced-motion:reduce){
  .has-js .reveal,.has-js .reveal-stagger>*{opacity:1!important;transform:none!important}
  html{scroll-behavior:auto}
}

/* ============================================================
   13b. NEW SECTIONS (Sept updates)
   ============================================================ */
/* Homepage partner card — show the full station image, uncropped */
.path-card .pc-media.-contain{background:var(--cream)}
.path-card .pc-media.-contain img{object-fit:contain;padding:clamp(14px,3%,32px)}
.path-card:hover .pc-media.-contain img{transform:none}

/* Founder story teaser (homepage, replaces the trust strip) */
.founder-teaser{background:var(--cream)}
.founder-line{font-family:var(--display);font-weight:700;color:var(--green);
  font-size:clamp(1.35rem,2.6vw,2.1rem);line-height:1.25;margin:0 0 1.3rem}

/* Footer QFA badge */
.footer-badge{flex:none}
.footer-badge img{width:82px;height:82px;object-fit:contain;display:block}

/* Product hero variant (station shots shown full/uncropped on a light band) */
.page-hero.-product{background:var(--cream)}
.page-hero.-product .page-hero-media img{object-fit:contain;padding:clamp(12px,2vw,28px) 0}
.page-hero.-product .page-hero-media::after{
  background:linear-gradient(to top,rgba(246,247,243,.96) 0%,rgba(246,247,243,.5) 26%,rgba(246,247,243,0) 46%)}
.page-hero.-product h1{color:var(--ink);text-shadow:none}
.page-hero.-product .h-eyebrow{color:var(--green)}
.page-hero.-product p{color:var(--text)}

/* Partner page — station shot as a figure at the top of the content (clean white header) */
.partner-head .eyebrow{display:block;margin-bottom:.6rem}
.partner-hero-figure{margin:0;border-radius:var(--radius-lg);overflow:hidden;background:var(--cream);box-shadow:var(--shadow-sm)}
.partner-hero-figure img{width:100%;height:auto;display:block}

/* Credibility strip (franchise) — QFA + NatWest + Propel */
.credibility{background:var(--cream)}
.cred-row{display:flex;align-items:center;justify-content:center;gap:clamp(28px,6vw,72px);flex-wrap:wrap}
.cred-row img{height:clamp(52px,6vw,74px);width:auto;object-fit:contain}
.cred-row .cred-text{font-family:var(--display);font-weight:700;color:var(--ink);
  font-size:clamp(1rem,1.5vw,1.25rem);line-height:1.25;max-width:15ch;text-align:center}

/* Infographics — six-stat grid (franchise) */
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(14px,2vw,26px)}
.stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(26px,3vw,40px) clamp(18px,2vw,28px);text-align:center}
.stat .stat-num{font-family:var(--display);font-weight:700;color:var(--green);
  font-size:clamp(2rem,3.6vw,3rem);line-height:1;margin-bottom:.5rem}
.stat .stat-label{color:var(--muted);font-size:clamp(.95rem,1.1vw,1.05rem);line-height:1.4}

/* NatWest funding note (below franchise form) */
.natwest-note{background:var(--white)}
.natwest-inner{max-width:860px;margin-inline:auto;display:flex;align-items:center;
  gap:clamp(24px,4vw,48px);flex-wrap:wrap;justify-content:center}
.natwest-inner img{height:clamp(60px,8vw,88px);width:auto;flex:none}
.natwest-inner p{margin:0;color:var(--text);flex:1;min-width:260px;font-size:1.02rem}

/* ============================================================
   14. RESPONSIVE
   ============================================================ */
@media (max-width:900px){
  .card-grid{grid-template-columns:1fr}
  .pillars{grid-template-columns:1fr;gap:34px;max-width:420px;margin-inline:auto}
  .benefits{grid-template-columns:1fr;max-width:460px;margin-inline:auto}
  .stat-grid{grid-template-columns:repeat(2,1fr)}
  .natwest-inner{flex-direction:column;text-align:center}
  .path-card .pc-media.-contain{aspect-ratio:16/11}
  .hero{min-height:auto;display:block}
  .hero-media{position:relative;height:64vw;min-height:300px}
  .hero-media img,.hero-media .hero-video{object-position:center 22%}
  .hero-media::after{background:linear-gradient(to bottom,rgba(0,0,0,.12),rgba(0,0,0,0) 45%)}
  .hero-inner{display:block;background:var(--white);padding-block:0}
  .hero-copy{max-width:none;margin:0;padding:34px 0 4px;text-align:left}
  .tex-strip{grid-template-columns:1fr 1fr}
}
@media (max-width:620px){
  :root{--header-h:84px}
  /* full-width buttons on mobile */
  .btn,.arrow-link{width:100%;justify-content:center}
  .hero-cta,.btn-row{flex-direction:column;align-items:stretch}
  .path-card .arrow-link{align-self:stretch}
  .thb-form button[type=submit],.thb-form .frm_button_submit,.thb-form input[type=submit],
  .thb-form .frm_submit button,.thb-form .frm_submit input[type=submit]{width:100%!important}
  .thb-form .fld-row{grid-template-columns:1fr}
  .footer-main{flex-direction:column;align-items:flex-start}
  .footer-bottom{flex-direction:column}
  .tex-strip{grid-template-columns:1fr}
  .trust-logos{gap:26px 38px}
  .trust-logos img{max-height:64px}
  .trust-logos .box img{max-height:46px}
}
