
:root{
  --accent:#e07a5f;
  --accent-hover:#c15f48;
  --accent-soft:#fff1ea;
  --text-color:#24303a;
  --text-light:#5b6773;
  --bg-light:#faf8f6;
  --bg-white:#ffffff;
  --bg-dark:#eef3f6;
  --border:#eadfd9;
  --shadow:0 10px 30px rgba(26, 32, 44, 0.06);
  --shadow-hover:0 16px 38px rgba(26, 32, 44, 0.1);
  --radius:18px;
  --container-max:1120px;
  --transition:.28s ease;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;padding:0;font-family:'Poppins',sans-serif;font-size:16px;line-height:1.6;
  color:var(--text-color);background:var(--bg-dark);-webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--accent-hover)}
h1,h2,h3{margin:0 0 12px;line-height:1.2;color:var(--text-color);font-weight:700;letter-spacing:-0.02em}
h1{font-size:2.4rem}
h2{font-size:1.8rem}
h3{font-size:1.12rem}
p{margin:0 0 1rem;color:var(--text-light);font-size:.98rem}
.container{max-width:var(--container-max);margin:0 auto;padding:0 20px}
.eyebrow{display:inline-block;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.16);
  color:#fff;font-size:.82rem;font-weight:600;letter-spacing:.02em;margin-bottom:18px;backdrop-filter:blur(6px)}
.section-eyebrow{display:inline-block;padding:6px 12px;border-radius:999px;background:var(--accent-soft);
  color:var(--accent);font-size:.8rem;font-weight:700;margin-bottom:12px}
/* HERO — wide banner, image clearly visible, hard bottom edge */
.hero{position:relative;overflow:hidden;padding:104px 20px 96px;text-align:center;color:#fff;
  background:linear-gradient(180deg, rgba(14,21,33,.26) 0%, rgba(14,21,33,.44) 100%),
             var(--hero-img) center 42%/cover no-repeat}
.hero .container{position:relative;z-index:2;max-width:940px}
.hero h1{color:#fff;margin-bottom:14px;font-size:clamp(1.9rem,1.25rem + 2.1vw,2.75rem);
  font-weight:700;letter-spacing:-.025em;line-height:1.14;
  text-shadow:0 4px 18px rgba(0,0,0,.34)}
.hero p{color:rgba(255,255,255,.95);max-width:660px;margin:0 auto 28px;font-size:1.05rem;
  line-height:1.55;text-shadow:0 2px 12px rgba(0,0,0,.30)}
.hero .eyebrow:empty{display:none}
.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--accent);
  color:#fff;padding:15px 30px;border-radius:8px;font-weight:700;font-size:1rem;
  box-shadow:0 10px 26px rgba(224,122,95,.30);
  transition:transform var(--transition), background var(--transition), box-shadow var(--transition)}
.btn-primary:hover{background:var(--accent-hover);color:#fff;transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(193,95,72,.28)}
section{padding:68px 0;background:var(--bg-light)}
.about-section{background:#FAFBFC}
.alt-section{background:linear-gradient(180deg,#fbfbfb 0%, #f6f8fb 100%)}
/* headings sit left and take the accent colour, as in the reference */
.section-head{max-width:100%;margin:0 0 26px;text-align:left}
.section-head.center{max-width:760px;margin:0 auto 34px;text-align:center}
.section-head h2{margin-bottom:10px;color:var(--accent);
  font-size:clamp(1.5rem,1.2rem + 1vw,1.95rem);letter-spacing:-.025em}
.section-head p{margin-bottom:0;max-width:70ch;font-size:1rem}
.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;margin-top:24px}
.info-card{background:var(--bg-white);border:1px solid var(--border);border-radius:var(--radius);
  padding:22px;box-shadow:var(--shadow);
  transition:transform var(--transition), box-shadow var(--transition), border-color var(--transition)}
.info-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover);border-color:#e5cfc5}
.info-card h3{color:var(--accent);margin-bottom:8px}
.info-card p:last-child{margin-bottom:0}
.quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px;margin-top:24px}
.quick-box{background:linear-gradient(180deg,#fff 0%, #fffaf7 100%);border:1px solid var(--border);
  border-radius:16px;padding:18px 18px 16px;box-shadow:var(--shadow)}
.quick-box h3{font-size:1rem;margin-bottom:6px;color:var(--accent)}
.quick-box p{margin:0;font-size:.93rem}
.timeline{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:14px}
.timeline li{position:relative;padding:18px 18px 18px 52px;background:var(--bg-white);
  border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);color:var(--text-light)}
.timeline li::before{content:"";position:absolute;left:20px;top:22px;width:14px;height:14px;
  border-radius:50%;background:var(--accent);box-shadow:0 0 0 6px rgba(224,122,95,.12)}
.timeline strong{color:var(--text-color)}
.highlight-box{margin-top:22px;background:linear-gradient(135deg,#fff8f4 0%, #ffffff 100%);
  border:1px solid #f1d7ca;border-left:5px solid var(--accent);border-radius:16px;
  padding:18px 18px 16px;box-shadow:var(--shadow)}
.highlight-box strong{color:var(--text-color)}
.highlight-box p:last-child{margin-bottom:0}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.mini-btn{display:inline-flex;align-items:center;justify-content:center;background:#fff;color:var(--accent);
  border:1px solid #efcfc0;padding:11px 16px;border-radius:12px;font-weight:700;font-size:.92rem;
  transition:all var(--transition);box-shadow:0 6px 18px rgba(20,20,20,.04)}
.mini-btn:hover{background:var(--accent);color:#fff;border-color:var(--accent);transform:translateY(-2px)}
.cta-section{background:radial-gradient(circle at top, rgba(224,122,95,.08), transparent 38%),
  linear-gradient(180deg, #eef3f6 0%, #e9f0f4 100%);text-align:center;padding:76px 16px}
.cta-section .container{max-width:820px}
.cta-card{background:rgba(255,255,255,.82);border:1px solid #dde7ec;border-radius:24px;
  padding:34px 26px;box-shadow:0 18px 40px rgba(18, 38, 63, 0.08);backdrop-filter:blur(8px)}
.cta-card h2{color:var(--text-color);margin-bottom:12px}
.cta-card p{margin-bottom:22px}

/* site chrome added on top of the supplied design */
.pg-nav{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:40}
.pg-nav .container{display:flex;align-items:center;gap:18px;min-height:58px}
.pg-brand{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--text-color);font-size:1rem}
.pg-brand img{width:34px;height:34px;border-radius:9px;object-fit:cover}
.pg-links{display:none;gap:16px;margin-left:auto}
@media(min-width:920px){.pg-links{display:flex}}
.pg-links a{color:var(--text-light);font-size:.9rem;font-weight:500}
.pg-links a:hover,.pg-links a[aria-current]{color:var(--accent)}
.pg-foot{background:#20282f;color:#aab6c0;padding:48px 0 28px;font-size:.9rem}
.pg-foot a{color:#d8e0e6}
.pg-foot-grid{display:grid;gap:26px;margin-bottom:26px}
@media(min-width:820px){.pg-foot-grid{grid-template-columns:2fr 1fr 1fr}}
.pg-foot h4{color:#fff;font-size:.78rem;text-transform:uppercase;letter-spacing:.07em;margin:0 0 10px}
.pg-foot ul{list-style:none;padding:0;margin:0}
.pg-foot li{margin-bottom:6px}
.pg-foot-brand{color:#fff;font-weight:700;font-size:1.05rem;margin-bottom:8px}
.pg-legal{border-top:1px solid rgba(255,255,255,.12);padding-top:18px;font-size:.78rem;
  color:#8b97a2;line-height:1.7}
.pg-legal p{color:#8b97a2;font-size:.78rem}
.pg-legal strong{color:#cbd5dd}

@media (max-width:768px){
  section{padding:54px 0}
  .hero{padding:76px 16px 68px;background-position:center 45%}
  h1{font-size:2rem}
  h2{font-size:1.55rem}
  .info-card,.quick-box,.timeline li,.highlight-box{padding:18px}
  .timeline li{padding-left:48px}
  .timeline li::before{left:18px}
}
@media (max-width:520px){
  body{font-size:15px}
  h1{font-size:1.75rem}
  h2{font-size:1.4rem}
  h3{font-size:1.04rem}
  .hero p,.section-head p,p{font-size:.94rem}
  .hero{padding:62px 14px 56px}
  .hero p{max-width:none}
  .btn-primary,.mini-btn{width:100%}
  .cta-row{flex-direction:column}
}
/* ══ INNER PAGE HERO v3 ════════════════════════════════════════════
   The hero was 104px/96px, tuned for a page with no header above it.
   With the shared 96px header sitting on top, the banner pushed the first
   line of real content well below the fold on a laptop. Roughly a third
   shorter, and the copy block widened to carry the longer standfirst.

   .pg-nav rules are gone: inner pages now render the same .mast header as
   the homepage, from inc/chrome.php.
   ═══════════════════════════════════════════════════════════════════════ */
.hero{padding:66px 20px 60px;background-position:center 45%}
.hero .container{max-width:900px}
.hero h1{margin-bottom:12px;font-size:clamp(1.75rem,1.2rem + 1.9vw,2.4rem)}
.hero p{max-width:760px;margin:0 auto 22px;font-size:1.02rem;line-height:1.6}
.hero .eyebrow{margin-bottom:14px}

/* standfirst under each section heading carries more text now */
.section-head p{max-width:76ch;font-size:1rem;line-height:1.68}
.section-head.center p{margin-left:auto;margin-right:auto}

@media (max-width:768px){
  .hero{padding:48px 16px 44px}
  .hero p{font-size:.96rem}
}
@media (max-width:520px){
  .hero{padding:40px 14px 38px}
}

/* ══ PAGE FIGURES ══════════════════════════════════════════════════
   Images inside the inner pages. Captioned, because an uncaptioned photo
   on a guide page is decoration — a caption makes it carry information.
   Fixed aspect ratio so nothing reflows as images load.
   ═══════════════════════════════════════════════════════════════════════ */
.pg-figure{margin:26px 0 0;padding:0}
.pg-figure img{
  display:block;width:100%;height:auto;
  aspect-ratio:16/9;object-fit:cover;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  background:#efe7e2}
.pg-figure figcaption{
  margin-top:10px;
  font-size:.86rem;line-height:1.5;color:var(--text-light)}
.pg-figure figcaption b{color:var(--text-color);font-weight:600}

/* two side by side where there is room */
.pg-figures{display:grid;gap:18px;margin-top:26px}
@media (min-width:760px){ .pg-figures{grid-template-columns:1fr 1fr} }
.pg-figures .pg-figure{margin:0}
.pg-figures .pg-figure img{aspect-ratio:4/3}

@media (max-width:520px){
  .pg-figure img{aspect-ratio:3/2}
  .pg-figure figcaption{font-size:.82rem}
}

/* ══ RESPONSIVE MEDIA ══════════════════════════════════════════════
   Card images were pulled flush with an inline margin:-22px, hard-coded to
   the card's desktop padding. Under 768px that padding drops to 18px, so the
   image hung 4px past the card on each side — which is the overflow that
   showed up on a phone. The padding is a custom property now and the pull is
   calculated from it, so the two can never drift apart again.
   ═══════════════════════════════════════════════════════════════════════ */
.info-card{--card-pad:22px}
@media (max-width:768px){ .info-card{--card-pad:18px} }

.info-card .card-media{
  margin:calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) 16px;
  padding:0;
  border-radius:var(--radius) var(--radius) 0 0;
  overflow:hidden;
  line-height:0}
.info-card .card-media img{
  display:block;width:100%;height:auto;
  aspect-ratio:76/50;object-fit:cover;
  background:#efe7e2}

/* nothing may exceed its column, whatever it is */
.container img,.container video,.container iframe,.container table{max-width:100%}
.container img{height:auto}
main{overflow-x:hidden}

/* long unbroken strings — URLs, email addresses — must wrap not scroll */
.container p,.container li,.container h1,.container h2,.container h3{
  overflow-wrap:anywhere}

@media (max-width:520px){
  .pg-figures{gap:14px}
  .pg-figure figcaption{margin-top:8px}
}
