/* =====================================================================
   HJ ACADEMY — public site
   Theme language: Inter, the logo's jade green on near-black, mint bands,
   pill buttons, generous section rhythm, 40/60 splits.

   The palette is taken from the logo and is fixed here rather than in the
   database — see the note on the !important flags in :root below.
   ===================================================================== */

:root{
  /* ---------------------------------------------------------------
     BRAND PALETTE — taken from the HJ Academy logo.
       #3EB489  the jade green of the smile and the two dots
       #000000  the black of the HJ monogram and the wordmark
     --------------------------------------------------------------- */
  --brand:        #3EB489;   /* logo green — decorative marks, and text on dark */
  --brand-soft:   #7ACCAB;   /* lighter jade — dividers, disabled states */
  --brand-tint:   #E3F4EC;   /* filled chips and soft blocks */
  --brand-wash:   #F1FAF6;   /* palest mint — full-width bands */

  /* The logo green is only 2.6:1 on white, so it cannot carry text or a
     button label. These two deeper jades do the interactive work and read
     as the same colour family; the bright logo green is used on dark
     grounds, where it reaches 7:1. */
  --accent-deep:  #18815E;
  --accent-dark:  #116B4E;   /* hover / pressed */

  --ink-deep:     #0E1512;   /* near-black with a green cast — dark bands */
  --ink-soft:     #55615B;
  --muted:        #6B7873;
  --line:         #DCE7E2;
  --line-strong:  #B9CEC5;
  --white:        #FFFFFF;
  --near-black:   #0E1512;

  /* --accent / --ink / --blush / --blue-grey are also injected by
     includes/header.php from website_settings. The palette is fixed by the
     logo, so the stylesheet wins with !important. Remove the four !important
     flags below to hand control back to Admin → Settings → Theme. */
  --accent:    #18815E !important;
  --ink:       #111111 !important;
  --blush:     #F1FAF6 !important;
  --blue-grey: #E9F2EE !important;

  --shell: 1200px;
  --gutter: 20px;
  --radius: 12px;
  --radius-lg: 20px;
  --pill: 999px;

  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem);
  --step-3: clamp(1.6rem, 1.25rem + 1.6vw, 2.3rem);
  --step-4: clamp(2rem, 1.4rem + 2.8vw, 3.4rem);
  --step-5: clamp(2.4rem, 1.5rem + 4vw, 4.2rem);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *{ animation:none !important; transition:none !important; }
}

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

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }
h1,h2,h3,h4{ margin:0; line-height:1.14; letter-spacing:-.02em; font-weight:600; text-wrap:balance; }
p{ margin:0 0 1rem; }
p:last-child{ margin-bottom:0; }
ul{ margin:0; padding:0; }
button{ font:inherit; }

:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--ink); color:#fff; padding:10px 16px; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

.shell{ width:100%; max-width:var(--shell); margin-inline:auto; padding-inline:var(--gutter); }

/* Highlighted words inside a heading. On a light ground the deep jade is
   used for legibility; on the dark bands the bright logo green takes over,
   where it reaches 7:1. */
.accent{ color:var(--accent); }
.section-ink .accent,
.cta-band .accent,
.case-card .accent,
.site-footer .accent{ color:var(--brand); }

/* ---------------------------------------------------------------- type */
/* The eyebrow carries the logo's two dots as a small brand echo. */
.eyebrow{
  display:flex; align-items:center; gap:9px;
  font-size:.78rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--accent); margin:0 0 14px;
}
.eyebrow::before{
  content:''; flex:0 0 auto; width:16px; height:5px; border-radius:3px;
  background:
    radial-gradient(circle 2.5px at 2.5px 50%, var(--brand) 98%, transparent 100%),
    radial-gradient(circle 2.5px at 13.5px 50%, var(--brand) 98%, transparent 100%);
}
.section-ink .eyebrow, .cta-band .eyebrow{ color:var(--brand); }
.h1{ font-size:var(--step-5); }
.h2{ font-size:var(--step-4); }
.h3{ font-size:var(--step-3); }
.h4{ font-size:var(--step-2); }
.lead{ font-size:var(--step-1); color:var(--ink-soft); max-width:60ch; }
.body-muted{ color:var(--ink-soft); }
.rich p{ color:var(--ink-soft); }
.rich a{ color:var(--accent); }

.link-more{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.8rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  color:var(--ink); text-decoration:none; border-bottom:2px solid var(--accent);
  padding-bottom:3px;
}
.link-more:hover{ color:var(--accent); }

/* ------------------------------------------------------------- buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px; border-radius:var(--pill);
  background:var(--accent); color:#fff; border:2px solid var(--accent);
  font-weight:600; font-size:.95rem; text-decoration:none; cursor:pointer;
  transition:background .2s var(--ease), color .2s var(--ease);
  white-space:nowrap;
}
.btn:hover{ background:#fff; color:var(--accent); }
.btn-outline{ background:transparent; color:var(--accent); }
.btn-outline:hover{ background:var(--accent); color:#fff; }
.btn-outline-light{ background:transparent; color:#fff; border-color:#fff; }
.btn-outline-light:hover{ background:#fff; color:var(--ink); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line-strong); }
.btn-ghost:hover{ background:var(--ink); color:#fff; border-color:var(--ink); }

/* On the dark bands the button switches to the bright logo green with the
   logo's black on top — 7:1, and a far stronger brand note than the deep
   jade, which nearly disappears against near-black. */
.section-ink .btn:not(.btn-outline-light):not(.btn-ghost),
.cta-band .btn:not(.btn-outline-light):not(.btn-ghost),
.case-card .btn:not(.btn-outline-light):not(.btn-ghost){
  background:var(--brand); border-color:var(--brand); color:var(--ink-deep);
}
.section-ink .btn:not(.btn-outline-light):not(.btn-ghost):hover,
.cta-band .btn:not(.btn-outline-light):not(.btn-ghost):hover,
.case-card .btn:not(.btn-outline-light):not(.btn-ghost):hover{
  background:transparent; color:var(--brand);
}
.btn-block{ width:100%; }
.btn-sm{ padding:9px 18px; font-size:.85rem; }

/* -------------------------------------------------------------- header */
.site-header{
  position:fixed; inset-inline:0; top:0; z-index:100;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid transparent;
  padding-top:env(safe-area-inset-top, 0px);
  transition:border-color .2s linear, box-shadow .2s linear;
}
.site-header.is-stuck{ border-bottom-color:var(--line); box-shadow:0 6px 24px -20px rgba(14,21,18,.55); }
.header-spacer{ height:74px; }

.header-inner{ display:flex; align-items:center; gap:24px; height:74px; }
.logo{ display:flex; align-items:center; flex:0 0 auto; text-decoration:none; }
.logo img{ height:36px; width:auto; }
.logo-text{ font-weight:700; font-size:1.2rem; letter-spacing:-.03em; }
.header-actions{ display:flex; align-items:center; gap:12px; margin-left:auto; }

/* ---------------------------------------------------------- navigation */
.primary-nav{ display:flex; align-items:center; gap:4px; margin-left:auto; }
.nav-list{ display:flex; align-items:center; gap:2px; list-style:none; }
.nav-item{ position:relative; }

.nav-link{
  display:inline-flex; align-items:center; gap:6px;
  padding:10px 14px; border:0; background:none;
  font-size:.95rem; font-weight:500; color:var(--ink); text-decoration:none; cursor:pointer;
  transition:color .18s linear;
}
.nav-link:hover, .nav-link.is-current{ color:var(--accent); }
.nav-item.is-open > .nav-toggle{ color:var(--accent); }
.chev{ transition:transform .3s var(--ease); }
.nav-item.is-open .chev{ transform:rotate(180deg); }

.nav-dropdown{
  position:absolute; top:calc(100% + 8px); left:0; min-width:250px;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:0 20px 50px -30px rgba(14,21,18,.45);
  padding:8px; list-style:none;
  opacity:0; visibility:hidden; transform:translateY(-6px);
  transition:opacity .22s var(--ease), transform .28s var(--ease), visibility .22s;
}
.nav-item.is-open .nav-dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.nav-dropdown a{
  display:block; padding:10px 14px; border-radius:8px;
  font-size:.92rem; color:var(--ink-soft); text-decoration:none;
}
.nav-dropdown a:hover{ background:var(--blush); color:var(--accent); }

.nav-foot{ display:none; }
.burger{
  display:none; width:44px; height:44px; padding:10px; border:0; background:none; cursor:pointer;
}
.burger span{
  display:block; height:2px; border-radius:2px; background:var(--ink);
  transition:transform .3s var(--ease), opacity .2s linear;
}
.burger span + span{ margin-top:6px; }
.burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

.nav-scrim{
  position:fixed; inset:0; z-index:90; background:rgba(14,21,18,.5);
  opacity:0; transition:opacity .25s linear;
}
.nav-scrim.is-visible{ opacity:1; }

/* ------------------------------------------------------------ sections */
.section{ padding-block:clamp(56px, 7vw, 104px); }
.section-sm{ padding-block:clamp(36px, 4.5vw, 64px); }
.section-blush{ background:var(--blush); }
.section-bluegrey{ background:var(--blue-grey); }
.section-ink{ background:var(--ink); color:#fff; }
.section-ink .lead, .section-ink .rich p{ color:rgba(255,255,255,.78); }

.section-head{ max-width:56ch; margin-bottom:clamp(28px, 3.5vw, 48px); }
.section-head .h2{ margin-bottom:14px; }

/* ----------------------------------------------------------- hero */
.hero{
  position:relative; overflow:hidden;
  background:
    radial-gradient(68% 88% at 2% 48%, rgba(62,180,137,.16) 4%, rgba(62,180,137,0) 68%),
    linear-gradient(180deg, var(--blush) 0%, #fff 78%);
  padding-block:clamp(48px, 6vw, 92px) clamp(56px, 7vw, 104px);
}
.hero-grid{
  display:grid; gap:clamp(28px, 4vw, 56px);
  grid-template-columns:1fr; align-items:center;
}
.hero-copy .h1, .hero-copy .h2{ margin-bottom:18px; }
.hero-copy .lead{ margin-bottom:28px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:12px; }
.hero-media{ position:relative; }
.hero-media img{
  width:100%; border-radius:var(--radius-lg);
  aspect-ratio:6/5; object-fit:cover;
  box-shadow:0 40px 80px -60px rgba(14,21,18,.65);
}
.hero-media .placeholder{ aspect-ratio:6/5; }

.placeholder{
  display:grid; place-items:center; width:100%;
  background:
    repeating-linear-gradient(135deg, rgba(62,180,137,.16) 0 12px, rgba(62,180,137,.05) 12px 24px);
  border:1px dashed var(--line-strong); border-radius:var(--radius-lg);
  color:var(--muted); font-size:.82rem; text-align:center; padding:20px;
}
.placeholder span{ max-width:24ch; }

/* -------------------------------------------------------- logo band */
.logo-band{ display:grid; gap:24px; align-items:center; grid-template-columns:1fr; }
.logo-band .h4{ max-width:22ch; }
.logo-wall{
  display:flex; flex-wrap:wrap; align-items:center; gap:clamp(20px, 4vw, 52px);
  list-style:none;
}
.logo-wall li{ flex:0 0 auto; }
.logo-wall img{ height:34px; width:auto; opacity:.62; filter:grayscale(1); }
.logo-wall .logo-name{
  font-weight:600; font-size:1rem; letter-spacing:-.01em; color:var(--muted);
}

/* ---------------------------------------------------------- split 40/60 */
.split{ display:grid; gap:clamp(28px, 4vw, 56px); grid-template-columns:1fr; align-items:center; }
.split-media img,
.split-media .placeholder{ border-radius:var(--radius-lg); }
.split-round img,
.split-round .placeholder{ border-radius:50%; aspect-ratio:1/1; object-fit:cover; }
.split-portrait img,
.split-portrait .placeholder{ aspect-ratio:4/5; object-fit:cover; }

/* -------------------------------------------------------------- cards */
.card-grid{ display:grid; gap:20px; grid-template-columns:1fr; }
.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:26px 24px; display:flex; flex-direction:column; gap:10px;
  transition:border-color .2s linear, transform .25s var(--ease);
}
.card:hover{ border-color:var(--accent); transform:translateY(-2px); }
.card .card-icon{ width:44px; height:44px; object-fit:contain; }
.card .card-icon-fallback{
  width:44px; height:44px; border-radius:12px; background:var(--blush);
  display:grid; place-items:center; color:var(--accent); font-weight:700;
}
.card h3{ font-size:var(--step-2); }
.card p{ color:var(--ink-soft); font-size:.95rem; }
.card .link-more{ margin-top:auto; align-self:flex-start; }

/* ------------------------------------------------------- case studies */
.case-rail{
  display:grid; gap:20px; grid-auto-flow:column; grid-auto-columns:88%;
  overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:8px;
  scrollbar-width:thin;
}
.case-rail::-webkit-scrollbar{ height:6px; }
.case-rail::-webkit-scrollbar-thumb{ background:var(--line-strong); border-radius:4px; }
.case-card{
  scroll-snap-align:start; position:relative; min-height:320px;
  border-radius:var(--radius-lg); overflow:hidden; background:var(--ink); color:#fff;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:clamp(24px, 3vw, 40px); text-decoration:none;
}
.case-card img.case-bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.42;
}
.case-card::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(14,21,18,.92) 8%, rgba(14,21,18,.28) 78%);
}
.case-card > *{ position:relative; z-index:1; }
.case-card .link-more{ border-color:var(--brand) !important; }
.case-card:hover .link-more{ color:var(--brand) !important; }
.case-industry{
  font-size:.74rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:rgba(255,255,255,.66); margin-bottom:10px;
}
.case-card h3{ font-size:var(--step-2); margin-bottom:14px; max-width:26ch; }
.case-metrics{ display:flex; flex-wrap:wrap; gap:18px; list-style:none; margin-bottom:16px; }
.case-metrics b{ display:block; font-size:1.5rem; color:var(--brand); }
.case-metrics span{ font-size:.8rem; color:rgba(255,255,255,.7); }

/* -------------------------------------------------------------- stats */
.stat-grid{ display:grid; gap:18px; grid-template-columns:repeat(2, 1fr); }
.stat{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  border-top:3px solid var(--brand);
  padding:24px 20px; text-align:left;
}
.stat b{
  display:block; font-size:clamp(2.1rem, 1.4rem + 2.6vw, 3.2rem); line-height:1;
  letter-spacing:-.04em; color:var(--accent); margin-bottom:8px;
  font-variant-numeric:tabular-nums;
}
.stat span{ font-size:.92rem; color:var(--ink-soft); }

/* ------------------------------------------------------- testimonials */
.quote-grid{ display:grid; gap:20px; grid-template-columns:1fr; }
.quote{
  background:var(--blush); border-radius:var(--radius-lg); padding:30px 28px;
  display:flex; flex-direction:column; gap:18px;
}
.quote blockquote{ margin:0; font-size:var(--step-1); line-height:1.5; }
.quote blockquote::before{ content:'\201C'; color:var(--brand); }
.quote blockquote::after{ content:'\201D'; color:var(--brand); }
.quote-by{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.quote-by img{ width:48px; height:48px; border-radius:50%; object-fit:cover; }
.quote-by .initials{
  width:48px; height:48px; border-radius:50%; background:var(--accent); color:#fff;
  display:grid; place-items:center; font-weight:600;
}
.quote-by strong{ display:block; font-size:.95rem; }
.quote-by span{ font-size:.85rem; color:var(--ink-soft); }
.stars{ color:var(--accent); letter-spacing:2px; font-size:.9rem; }

/* ---------------------------------------------------------------- faq */
.faq-list{ list-style:none; border-top:1px solid var(--line); }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; display:flex; align-items:flex-start; justify-content:space-between; gap:20px;
  padding:22px 0; background:none; border:0; cursor:pointer; text-align:left;
  font-size:var(--step-1); font-weight:500; color:var(--ink);
}
.faq-q:hover{ color:var(--accent); }
.faq-q .sign{ flex:0 0 auto; color:var(--accent); font-size:1.4rem; line-height:1; transition:transform .3s var(--ease); }
.faq-item.is-open .sign{ transform:rotate(45deg); }
.faq-a{ padding:0 0 22px; max-width:72ch; color:var(--ink-soft); }
.faq-a[hidden]{ display:none; }

/* ====================================================== ABOUT PAGE ==== */

/* Inner-page hero: shorter than the home hero, portrait on the right. */
.hero-inner{ padding-block:clamp(36px, 4.5vw, 72px) clamp(44px, 5.5vw, 84px); }
.portrait-media img,
.portrait-media .placeholder{ aspect-ratio:4/5; object-fit:cover; }

/* Pull quote — her own words, set larger than body copy. */
.pull-quote{ margin:0; max-width:70ch; margin-inline:auto; text-align:center; }
.pull-quote blockquote{
  margin:0 0 22px; font-size:var(--step-2); line-height:1.5; color:var(--ink);
  position:relative; padding-top:34px;
}
.pull-quote blockquote::before{
  content:'\201C'; position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  font-size:5rem; line-height:1; color:var(--brand);
}
.pull-quote blockquote p{ margin-bottom:.8em; }
.pull-quote figcaption{ font-size:.95rem; color:var(--ink-soft); }
.pull-quote figcaption strong{ display:block; color:var(--ink); }

/* Mission / Vision / Values cards — the mark echoes the logo's two dots. */
.value-card{ gap:12px; }
.value-mark{
  width:26px; height:6px; border-radius:3px; flex:0 0 auto;
  background:
    radial-gradient(circle 3px at 3px 50%, var(--brand) 98%, transparent 100%),
    radial-gradient(circle 3px at 23px 50%, var(--brand) 98%, transparent 100%);
}

/* The journey — a real four-step sequence, so it is numbered. */
.journey{ list-style:none; counter-reset:none; display:grid; gap:0; }
.journey-step{
  display:grid; gap:14px; grid-template-columns:1fr;
  padding-block:clamp(22px, 3vw, 34px);
  border-top:1px solid rgba(255,255,255,.14);
}
.journey-step:first-child{ border-top:0; padding-top:0; }
.journey-num{
  font-family:var(--sans); font-size:1.5rem; font-weight:700; line-height:1;
  color:var(--brand); font-variant-numeric:tabular-nums; letter-spacing:-.02em;
}
.journey-body h3{ font-size:var(--step-2); margin-bottom:10px; color:#fff; }
.journey-body p{ color:rgba(255,255,255,.74); max-width:70ch; margin:0; }

/* Profile card — photo plus the real contact details. */
.profile-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:clamp(22px, 3vw, 34px);
  display:grid; gap:clamp(22px, 3vw, 38px); grid-template-columns:1fr; align-items:center;
}
.profile-photo img,
.profile-photo .placeholder{ border-radius:var(--radius); aspect-ratio:1/1; object-fit:cover; }
.profile-body .h3{ margin-bottom:6px; }
.profile-role{
  font-size:.8rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  color:var(--accent); margin-bottom:16px;
}
.profile-contact{ list-style:none; display:grid; gap:8px; margin:18px 0 22px; }
.profile-contact a{
  font-weight:500; color:var(--ink); text-decoration:none;
  border-bottom:1px solid var(--line-strong); padding-bottom:2px;
}
.profile-contact a:hover{ color:var(--accent); border-bottom-color:var(--accent); }

.cta-text{ max-width:52ch; margin:0 auto 24px; }
.cta-band .cta-text p{ color:rgba(255,255,255,.78); }

/* =================================================== SERVICES PAGE ==== */

.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;
}

.services-intro{ max-width:66ch; }
.services-intro .lead{ margin-bottom:26px; }

/* Two streams, so the page says so before the reader scrolls. */
.stream-switch{ display:flex; flex-wrap:wrap; gap:12px; }
.stream-chip{
  display:flex; flex-direction:column; gap:2px;
  padding:13px 22px 12px; border-radius:var(--radius);
  border:1px solid var(--line-strong); background:#fff; text-decoration:none;
  transition:border-color .18s linear, transform .22s var(--ease);
}
.stream-chip:hover{ border-color:var(--accent); transform:translateY(-2px); }
.stream-chip-label{ font-weight:600; font-size:1rem; }
.stream-chip-count{ font-size:.82rem; color:var(--ink-soft); }

/* Stream header: title left, the framing note right. */
.stream-head{
  display:grid; gap:18px; grid-template-columns:1fr;
  margin-bottom:clamp(26px, 3.5vw, 44px);
  padding-bottom:clamp(20px, 2.5vw, 30px);
  border-bottom:2px solid var(--brand);
}
.stream-note{ max-width:56ch; }
.stream-note p{ margin-bottom:0; }
/* An anchored stream should not land under the fixed header. */
#counselling, #training{ scroll-margin-top:96px; }

.service-grid{ display:grid; gap:20px; grid-template-columns:1fr; align-items:stretch; }

.service-card{
  display:flex; flex-direction:column; overflow:hidden;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  transition:border-color .2s linear, transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service-card:hover{
  border-color:var(--accent); transform:translateY(-3px);
  box-shadow:0 26px 50px -40px rgba(14,21,18,.5);
}
.service-card-media{ display:block; border-bottom:1px solid var(--line); }
.service-card-media img{ width:100%; aspect-ratio:4/3; object-fit:cover; }

.service-card-body{
  display:flex; flex-direction:column; gap:10px; flex:1;
  padding:22px 22px 24px;
}
.service-meta{
  margin:0; font-family:var(--sans); font-size:.76rem; font-weight:600;
  letter-spacing:.1em; text-transform:uppercase; color:var(--accent);
}
.service-card h3{ font-size:var(--step-2); }
.service-card h3 a{ text-decoration:none; }
.service-card h3 a:hover{ color:var(--accent); }
.service-summary{ color:var(--ink-soft); font-size:.95rem; margin:0; }

.service-points{ list-style:none; display:grid; gap:7px; margin:2px 0 0; }
.service-points li{
  position:relative; padding-left:20px; font-size:.9rem; color:var(--ink-soft);
}
.service-points li::before{
  content:''; position:absolute; left:0; top:.55em;
  width:7px; height:7px; border-radius:50%; background:var(--brand);
}
.service-card .link-more{ margin-top:auto; align-self:flex-start; }

/* ------------------------------------------------ service detail page */
.crumbs{
  display:flex; gap:8px; align-items:center; flex-wrap:wrap;
  font-size:.85rem; color:var(--ink-soft); margin-bottom:22px;
}
.crumbs a{ text-decoration:none; }
.crumbs a:hover{ color:var(--accent); }

.service-hero .hero-media img,
.service-hero .hero-media .placeholder{ aspect-ratio:16/11; object-fit:cover; }

.service-facts{
  display:grid; gap:16px 30px; grid-template-columns:repeat(2, minmax(0,1fr));
  margin:26px 0 28px; padding:20px 0; border-block:1px solid var(--line);
}
.service-facts div{ min-width:0; }
.service-facts dt{
  font-size:.72rem; font-weight:600; letter-spacing:.11em; text-transform:uppercase;
  color:var(--muted); margin-bottom:4px;
}
.service-facts dd{ margin:0; font-size:.95rem; font-weight:500; }

.service-detail{ display:grid; gap:clamp(28px, 4vw, 52px); grid-template-columns:1fr; align-items:start; }
.service-body{ max-width:68ch; }
.service-body p{ font-size:var(--step-1); }

.service-aside{ display:grid; gap:18px; }
.aside-block{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px;
}
.aside-block.aside-outcomes{ background:var(--brand-wash); border-color:var(--brand-soft); }
.aside-title{
  font-size:.76rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:var(--accent); margin-bottom:14px;
}
.tick-list{ list-style:none; display:grid; gap:11px; }
.tick-list li{ position:relative; padding-left:26px; font-size:.93rem; }
.tick-list li::before{
  content:''; position:absolute; left:0; top:.34em; width:14px; height:8px;
  border-left:2px solid var(--accent); border-bottom:2px solid var(--accent);
  transform:rotate(-45deg);
}
.aside-cta{ background:var(--ink-deep); border-color:var(--ink-deep); color:#fff; }
.aside-cta p{ color:rgba(255,255,255,.8); font-size:.93rem; margin-bottom:16px; }
.aside-cta .btn{ background:var(--brand); border-color:var(--brand); color:var(--ink-deep); }
.aside-cta .btn:hover{ background:transparent; color:var(--brand); }

/* ------------------------------------------------------------- cta band */
.cta-band{
  background:var(--ink); color:#fff; border-radius:var(--radius-lg);
  padding:clamp(34px, 5vw, 64px); text-align:center;
}
.cta-band .h3{ max-width:26ch; margin-inline:auto; margin-bottom:22px; }

/* -------------------------------------------------------------- flash */
.flash{
  margin-top:16px; padding:12px 16px; border-radius:10px; font-size:.93rem;
  border:1px solid var(--line); background:var(--blush);
}
.flash-success{ border-color:#9BD3BA; background:#E3F4EC; }
.flash-error{ border-color:#E7B4AE; background:#FBEDEB; }

/* -------------------------------------------------------------- footer */
.site-footer{
  background:var(--near-black); color:rgba(255,255,255,.72);
  padding-block:clamp(44px, 5vw, 76px) 28px; margin-top:0;
}
.footer-top{ display:grid; gap:34px; grid-template-columns:1fr; }
.footer-logo{ display:inline-flex; text-decoration:none; }
.footer-logo img{ height:34px; }
.footer-logo .logo-text{ color:#fff; }
.footer-tagline{ margin:14px 0 18px; font-size:.95rem; max-width:34ch; }
.footer-head{
  font-size:.78rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:#fff; margin-bottom:14px;
}
.footer-links, .footer-contact, .social-list{ list-style:none; display:grid; gap:10px; }
.social-list{ grid-auto-flow:column; justify-content:start; gap:18px; }
.footer-links a, .footer-contact a, .social-list a{
  color:rgba(255,255,255,.72); text-decoration:none; font-size:.93rem;
}
.footer-links a:hover, .footer-contact a:hover, .social-list a:hover{ color:var(--brand); }
.footer-col .btn{ margin-top:18px; }
.footer-bottom{
  display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; align-items:center;
  border-top:1px solid rgba(255,255,255,.12); margin-top:42px; padding-top:22px;
  font-size:.85rem;
}
.footer-legal{ display:flex; gap:20px; margin:0; }
.footer-legal a{ text-decoration:none; }
.footer-legal a:hover{ color:var(--brand); }

/* ==================================================================
   RESPONSIVE
   ================================================================== */

@media (min-width:600px){
  .service-grid{ grid-template-columns:repeat(2, 1fr); }
  .service-facts{ grid-template-columns:repeat(4, minmax(0,1fr)); }
  .journey-step{ grid-template-columns:64px 1fr; gap:24px; }
  .profile-card{ grid-template-columns:200px 1fr; }
  .card-grid{ grid-template-columns:repeat(2, 1fr); }
  .stat-grid{ grid-template-columns:repeat(3, 1fr); }
  .quote-grid{ grid-template-columns:repeat(2, 1fr); }
  .case-rail{ grid-auto-columns:56%; }
  .footer-top{ grid-template-columns:repeat(2, 1fr); }
}

@media (min-width:900px){
  .hero-grid{ grid-template-columns:1.05fr .95fr; }
  .split{ grid-template-columns:2fr 3fr; }
  .split-reverse .split-media{ order:2; }
  .split-40-60{ grid-template-columns:2fr 3fr; }
  .logo-band{ grid-template-columns:1fr 2fr; }
  .card-grid{ grid-template-columns:repeat(3, 1fr); }
  .card-grid-2{ grid-template-columns:repeat(2, 1fr); }
  .card-grid-4{ grid-template-columns:repeat(4, 1fr); }
  .service-grid{ grid-template-columns:repeat(3, 1fr); }
  .stream-head{ grid-template-columns:1.1fr 1fr; align-items:end; gap:40px; }
  .service-detail{ grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr); }
  .journey-step{ grid-template-columns:90px 1fr; gap:34px; }
  .journey-num{ font-size:2rem; }
  .profile-card{ grid-template-columns:260px 1fr; }
  .stat-grid{ grid-template-columns:repeat(5, 1fr); }
  .case-rail{ grid-auto-columns:42%; }
  .footer-top{ grid-template-columns:1.6fr 1fr 1fr 1.2fr; }
}

/* ---- mobile navigation ------------------------------------------- */
@media (max-width:991px){
  /* The closed drawer sits just off the right edge; clip it so the page
     itself never scrolls sideways. `clip` (with `hidden` as the fallback)
     does not create a scroll container, so the fixed header is unaffected. */
  html, body{ overflow-x:hidden; overflow-x:clip; }

  /* backdrop-filter makes an element a containing block for position:fixed
     descendants, which would trap the drawer inside the 74px header.
     Drop it here — on a phone the blur buys nothing anyway. */
  .site-header{ backdrop-filter:none; -webkit-backdrop-filter:none; background:#fff; }

  .burger{ display:block; }
  .header-actions .btn{ display:none; }
  /* The drawer is a child of the header, so it would paint over the close
     button. Lift the actions above it inside the header's stacking context. */
  .header-actions{ position:relative; z-index:96; }

  .primary-nav{
    position:fixed; inset:0 0 0 auto; width:min(380px, 88vw);
    background:linear-gradient(180deg, #fff 0%, var(--brand-wash) 100%);
    z-index:95; padding:96px 24px 32px;
    flex-direction:column; align-items:stretch; gap:0;
    overflow-y:auto; transform:translateX(102%);
    transition:transform .34s var(--ease);
    box-shadow:-30px 0 60px -40px rgba(14,21,18,.55);
  }
  .primary-nav.is-open{ transform:translateX(0); }

  .nav-list{ flex-direction:column; align-items:stretch; gap:0; }
  .nav-item{ border-bottom:1px solid rgba(14,21,18,.08); }
  .nav-link{ width:100%; justify-content:space-between; padding:16px 4px; font-size:1.05rem; }
  .nav-item.is-open .chev{ transform:rotate(180deg); }

  .nav-dropdown{
    position:static; opacity:1; visibility:visible; transform:none;
    border:0; box-shadow:none; background:transparent; padding:0 0 10px 10px;
    display:none;
  }
  .nav-item.is-open .nav-dropdown{ display:block; }
  .nav-dropdown a{ padding:9px 10px; }

  .nav-foot{ display:block; margin-top:28px; }
  .nav-signin{
    display:block; text-align:center; margin-top:14px;
    font-size:.9rem; color:var(--ink-soft); text-decoration:none;
  }
  body.nav-open{ overflow:hidden; }
}

@media (max-width:520px){
  .header-spacer{ height:66px; }
  .header-inner{ height:66px; }
  .stat-grid{ grid-template-columns:repeat(2, 1fr); }
  .case-rail{ grid-auto-columns:86%; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}

@media print{
  .site-header, .primary-nav, .burger, .site-footer{ display:none; }
}
