/* ================================================
   PORTRAITS OF CARE — Health Quality Alberta
   Premium brand-compliant design v3
   ================================================ */

/* --- BRAND TOKENS --- */
:root {
  --hqa-dark-blue: #004775;
  --hqa-teal: #007196;
  --hqa-lime: #91D500;
  --hqa-neutral-1: #DEDBD2;
  --hqa-neutral-2: #C7C3B8;
  --hqa-neutral-3: #9A9385;
  --hqa-neutral-4: #786E62;
  --hqa-white: #ffffff;
  --hqa-black: #1a1a1a;
  --hqa-bg-warm: #F8F6F2;
  --hqa-bg-blue: #EFF5F8;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Karla', sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--hqa-dark-blue);
  background: var(--hqa-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
blockquote { border: none; }

/* --- LAYOUT --- */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 48px); }
.wrap.narrow { max-width: 820px; }
.wrap.wide { max-width: 1280px; }

/* --- SECTION LABELS --- */
.s-label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-heading);
  font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--hqa-neutral-3); margin-bottom: 44px; font-weight: 500;
}
.s-label.light { color: rgba(255,255,255,0.35); }
.s-label-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--hqa-teal); color: var(--hqa-teal);
  font-size: 12px; font-weight: 600; letter-spacing: 0;
}
.s-label.light .s-label-num { border-color: var(--hqa-lime); color: var(--hqa-lime); }
.s-label-line { flex: 1; height: 1px; background: var(--hqa-neutral-1); }
.s-label.light .s-label-line { background: rgba(255,255,255,0.08); }

.s-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700; line-height: 1.15;
  color: var(--hqa-dark-blue); margin-bottom: 20px;
  letter-spacing: -0.8px;
}
.s-title em { font-style: italic; color: var(--hqa-teal); }
.s-title.light { color: var(--hqa-white); }
.s-title.light em { color: var(--hqa-lime); }
.s-sub {
  font-family: var(--font-body); font-size: 18px; line-height: 1.8;
  color: var(--hqa-neutral-4); font-weight: 300;
  max-width: 100%; margin-bottom: 60px;
}

/* ========================
   NAV (hidden — using WordPress nav)
   ======================== */
.nav { display: none !important; }

/* ========================
   TOP BAR (renders only when a menu is assigned to the hqa-topbar location)
   ======================== */
.h-topbar { background: var(--hqa-dark-blue); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 10px clamp(48px, 6vw, 100px); }
.h-topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1400px; margin: 0 auto; }
.h-topbar-brand { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.5); }
.h-topbar-menu-list { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; }
.h-topbar-menu-list a {
  font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.04em; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.2s;
}
.h-topbar-menu-list a:hover { color: var(--hqa-lime); }
@media (max-width: 640px) { .h-topbar-menu { display: none; } }

/* ========================
   HERO
   ======================== */
.hero {
  position: relative; min-height: 70vh;
  display: flex; align-items: center;
  background: var(--hqa-dark-blue);
  padding: 40px clamp(48px, 6vw, 100px) 60px;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute; top: 0; right: 0; width: 55%; height: 100%;
  object-fit: cover; object-position: center center;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 10%, rgba(0,0,0,0.4) 20%, rgba(0,0,0,0.7) 35%, black 55%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 10%, rgba(0,0,0,0.4) 20%, rgba(0,0,0,0.7) 35%, black 55%);
}
.hero::before {
  content: none;
}
@media (max-width: 960px) {
  .hero-bg-img { width: 50%; }
}
@media (max-width: 768px) {
  .hero { flex-direction: column; align-items: flex-start; min-height: auto; padding-bottom: 0; }
  .hero-content { max-width: 100%; }
  .hero-bg-img {
    position: relative; width: 100%; height: 250px; top: auto; right: auto;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    margin-top: 20px;
  }
  .hero-content { padding-bottom: 24px; }
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to top, rgba(0,30,50,0.4), transparent);
  pointer-events: none;
}
/* hex backgrounds removed */

.hero-content { position: relative; z-index: 2; max-width: 540px; }
.hero-vol {
  font-family: var(--font-heading); font-size: 11px; font-weight: 600;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--hqa-lime); margin-bottom: 48px;
  display: flex; align-items: center; gap: 16px;
}
.hero-vol::after {
  content: ''; flex: 0 0 48px; height: 1px; background: var(--hqa-lime); opacity: 0.4;
}
.hero-stat {
  font-family: var(--font-heading);
  font-size: clamp(90px, 16vw, 160px);
  font-weight: 800; color: var(--hqa-white);
  line-height: 0.85; margin-bottom: 12px; letter-spacing: -6px;
  text-shadow: 0 4px 60px rgba(0,0,0,0.2);
}
.hero-pct {
  font-size: 0.45em; font-weight: 300;
  color: var(--hqa-lime); letter-spacing: 0;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 400; font-style: italic;
  color: rgba(255,255,255,0.85); line-height: 1.35;
  margin-bottom: 36px;
  text-wrap: balance;
  max-width: 580px;
}
.hero-headline em { color: var(--hqa-lime); font-weight: 600; font-style: normal; }
.hero-desc {
  font-family: var(--font-body);
  font-size: clamp(17px, 2vw, 20px); line-height: 1.75;
  color: rgba(255,255,255,0.75); max-width: 420px;
  margin-bottom: 48px; font-weight: 300;
  text-wrap: balance;
}
.hero-desc strong { color: rgba(255,255,255,0.95); font-weight: 600; }
.hero-bar { width: 56px; height: 3px; background: var(--hqa-lime); margin-bottom: 18px; border-radius: 2px; }
.hero-tag {
  font-family: var(--font-heading); font-size: 10px; font-weight: 500;
  letter-spacing: 3.5px; text-transform: uppercase; color: rgba(255,255,255,0.65);
}
.hero-scroll { display: none; }

/* Hero stats */
.hero-stats {
  display: flex; gap: 40px; margin-bottom: 40px;
}
.hero-stat-item {
  display: flex; flex-direction: column;
}
.hero-stat-num {
  font-family: var(--font-heading); font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; color: var(--hqa-lime); line-height: 1;
  display: inline;
}
.hero-stat-plus {
  font-family: var(--font-heading); font-size: clamp(20px, 3vw, 28px);
  font-weight: 300; color: var(--hqa-lime);
}
.hero-stat-label {
  font-family: var(--font-body); font-size: 11px; font-weight: 400;
  letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-top: 6px;
}
@media (max-width: 480px) {
  .hero-stats { gap: 24px; }
}

/* Hero ticker */
.hero-ticker {
  position: relative; z-index: 3;
  overflow: hidden;
  background: var(--hqa-dark-blue);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0;
}
.hero-ticker-track {
  display: flex; gap: 0;
  animation: ticker 25s linear infinite;
  width: max-content;
}
.hero-ticker-track span {
  font-family: var(--font-heading); font-size: 13px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  white-space: nowrap; padding: 0 20px;
}
.hero-ticker-track .tk-text { color: rgba(255,255,255,0.5); }
.hero-ticker-track .tk-dot {
  color: var(--hqa-lime); font-size: 10px;
  display: inline-flex; align-items: center; padding: 0 8px;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================
   INTRO
   ======================== */
.s-intro {
  background: var(--hqa-bg-warm);
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
}
.s-intro::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hqa-neutral-1), transparent);
}
.intro-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: start;
}
.intro-right {
  border-left: 3px solid var(--hqa-lime);
  padding-left: 40px;
  margin-top: 58px;
}
.intro-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  color: var(--hqa-teal); transition: color 0.3s, gap 0.3s;
}
.intro-cta:hover { color: var(--hqa-dark-blue); gap: 12px; }
.intro-cta:hover .arr { transform: translateX(4px); }
.big-quote {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 26px); line-height: 1.75;
  color: var(--hqa-dark-blue); font-weight: 400; margin-bottom: 0;
  position: relative; padding-left: 0;
  border: none !important;
}
.big-quote::before {
  content: '\201C'; display: block;
  font-family: var(--font-serif); font-size: 72px; font-weight: 700;
  color: var(--hqa-lime); opacity: 0.4; line-height: 0.6;
  margin-bottom: 16px;
}
.big-quote strong { font-weight: 700; color: var(--hqa-dark-blue); }
.big-cite {
  display: block; font-family: var(--font-body);
  font-size: 13px; color: var(--hqa-neutral-3);
  font-style: italic; margin-bottom: 72px; padding-left: 0;
}
@media (max-width: 768px) {
  .intro-split { grid-template-columns: 1fr; gap: 32px; }
  .intro-right { border-left: none; padding-left: 0; border-top: 3px solid var(--hqa-lime); padding-top: 32px; margin-top: 0; }
}
.body-text p {
  font-family: var(--font-body); font-size: 17px;
  line-height: 1.9; color: var(--hqa-neutral-4);
  font-weight: 300; margin-bottom: 24px;
}
.body-text strong { color: var(--hqa-dark-blue); font-weight: 600; }
.em-aside {
  margin-top: 40px; padding: 24px 28px;
  border-left: 3px solid var(--hqa-lime);
  background: linear-gradient(135deg, rgba(145,213,0,0.06), rgba(145,213,0,0.02));
  border-radius: 0 8px 8px 0;
}
.em-aside p {
  font-family: var(--font-serif); font-size: 16px;
  font-style: italic; color: var(--hqa-teal); line-height: 1.75;
}

/* ========================
   PERSONAS
   ======================== */
.s-personas {
  background: var(--hqa-white);
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
}
.persona-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.persona-grid .p-card {
  width: calc(33.333% - 16px);
  flex-grow: 0;
  flex-shrink: 0;
}

.p-card {
  position: relative; background: var(--hqa-white);
  border: 1px solid rgba(0,71,117,0.08); border-radius: 12px;
  padding: 0; overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s;
  cursor: pointer !important;
}
.p-card *,
.p-card *::before,
.p-card *::after {
  cursor: pointer !important;
}
.p-card-top {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease);
  z-index: 2;
}
[data-color="teal"] .p-card-top { background: var(--hqa-teal); }
[data-color="blue"] .p-card-top { background: var(--hqa-dark-blue); }
[data-color="green"] .p-card-top { background: var(--hqa-lime); }

.p-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 80px rgba(0,71,117,0.12), 0 8px 24px rgba(0,71,117,0.06);
  border-color: rgba(0,71,117,0.12);
}
.p-card:hover .p-card-top { transform: scaleX(1); }

/* Avatar/Photo section */
.p-card-photo {
  width: 100%; height: 220px;
  position: relative; overflow: hidden;
}
.p-card-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  transition: transform 0.8s var(--ease);
}
.p-card:hover .p-card-photo img { transform: scale(1.05); }
.p-card-photo::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px; background: linear-gradient(to top, var(--hqa-white), transparent);
}

.p-card-body { padding: 20px 28px 28px; }

.p-card-tag {
  font-family: var(--font-heading); font-size: 9px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--hqa-neutral-3); display: block; margin-bottom: 14px;
}
.p-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px;
}
.p-card-pill {
  display: inline-block;
  font-family: var(--font-body); font-size: 11px; font-weight: 400;
  color: #004F7A;
  background: #E1F8F8;
  border-radius: 9999px; padding: 4px 12px;
  white-space: nowrap; line-height: 1.4;
  border: none;
}
.p-card h3 {
  font-family: var(--font-heading); font-size: 21px; font-weight: 700;
  color: var(--hqa-dark-blue); margin-bottom: 4px; letter-spacing: -0.3px;
}
.p-card-meta {
  font-family: var(--font-body); font-size: 13px;
  color: var(--hqa-neutral-3); font-weight: 300; margin-bottom: 20px;
}
.p-card-quote {
  font-family: var(--font-serif); font-size: 15.5px;
  line-height: 1.7; color: var(--hqa-neutral-4);
  font-style: italic; font-weight: 400;
  padding-left: 16px; border-left: 2px solid var(--hqa-neutral-1);
  margin-bottom: 24px;
}
.p-card-link {
  font-family: var(--font-heading); font-size: 12px; font-weight: 600;
  color: var(--hqa-teal); letter-spacing: 0.5px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.3s, gap 0.3s;
}
.p-card-link .arr {
  display: inline-block; transition: transform 0.4s var(--ease);
  font-style: normal; font-size: 14px;
}
.p-card:hover .p-card-link { color: var(--hqa-dark-blue); gap: 12px; }
.p-card:hover .p-card-link .arr { transform: translateX(4px); }

/* ========================
   METHOD — new animation
   ======================== */
.s-method {
  background: linear-gradient(175deg, #002E4D 0%, var(--hqa-dark-blue) 40%, #005070 100%);
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative; overflow: hidden;
}
.s-method::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 600px; height: 690px; opacity: 0.03;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 230' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,0 200,57.5 200,172.5 100,230 0,172.5 0,57.5' fill='%2391D500'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain; pointer-events: none;
}
.s-method::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 460px; opacity: 0.02;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 230' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,0 200,57.5 200,172.5 100,230 0,172.5 0,57.5' fill='%23007196'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain; pointer-events: none;
}
.s-method .s-title { margin-bottom: 72px; }

.steps { margin-bottom: 0; }
.steps.timeline .step {
  display: flex; gap: 24px; padding: 0 0 0 0;
  border: none; border-radius: 0;
}
.steps.timeline .step:first-child { border: none; }
.step-marker {
  display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 20px;
}
.step-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(145,213,0,0.3); border: 2px solid var(--hqa-lime);
  flex-shrink: 0; transition: all 0.4s var(--ease);
  margin-top: 10px;
}
.step:hover .step-dot { background: var(--hqa-lime); box-shadow: 0 0 12px rgba(145,213,0,0.4); transform: scale(1.3); }
.step-line {
  width: 2px; flex: 1; background: rgba(145,213,0,0.15); min-height: 20px;
}
.step-content { flex: 1; padding-bottom: 36px; }
.step {
  padding: 36px 24px; border-bottom: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; position: relative;
  transition: background 0.5s var(--ease);
  cursor: default;
}
.step:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.steps.timeline .step:first-child { border-top: none; }
.step:hover {
  background: rgba(255,255,255,0.03);
}
.step-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.step-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.step-icon svg {
  width: 100%; height: 100%;
  transition: all 0.5s var(--ease);
}
.step-icon svg polygon {
  fill: none; stroke: rgba(145,213,0,0.3); stroke-width: 2;
  transition: all 0.5s var(--ease);
}
.step:hover .step-icon svg polygon {
  fill: var(--hqa-lime);
  stroke: var(--hqa-lime); stroke-width: 2.5;
  filter: drop-shadow(0 0 8px rgba(145,213,0,0.3));
}
.step:hover .step-icon svg {
  transform: scale(1.15);
}
.step h3 {
  font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--hqa-lime);
  transition: color 0.3s;
}
.step:hover h3 { color: #a3e800; }
.step p {
  font-family: var(--font-body); font-size: 17px; line-height: 1.9;
  color: rgba(255,255,255,0.65); font-weight: 300;
  padding-left: 52px;
  transition: color 0.4s;
}
.step:hover p { color: rgba(255,255,255,0.85); }

.privacy-note {
  margin-top: 56px; padding: 32px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; background: rgba(255,255,255,0.02);
}
.privacy-note h4 {
  font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  color: var(--hqa-white); margin-bottom: 12px; letter-spacing: 0.5px;
}
.privacy-note p {
  font-family: var(--font-body); font-size: 15px; line-height: 1.9;
  color: rgba(255,255,255,0.7); font-weight: 300;
}

/* ========================
   CTA
   ======================== */
.s-cta {
  background: linear-gradient(135deg, #EFF5F8 0%, #E8F4F0 50%, #F0F7EC 100%);
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
}
.s-cta .s-title { margin-bottom: 60px; }
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cta-card {
  background: var(--hqa-white); border-radius: 12px;
  padding: 40px 32px; border: 1px solid rgba(0,113,150,0.1);
  transition: all 0.5s var(--ease);
  position: relative; overflow: hidden;
  border-left: 4px solid var(--hqa-teal);
}
.cta-card:nth-child(2) { border-left-color: var(--hqa-dark-blue); }
.cta-card:nth-child(3) { border-left-color: var(--hqa-lime); }
.cta-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--hqa-teal), var(--hqa-lime));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.cta-card:hover {
  border-color: rgba(0,71,117,0.08);
  box-shadow: 0 16px 56px rgba(0,71,117,0.08), 0 4px 16px rgba(0,71,117,0.04);
  transform: translateY(-4px);
}
.cta-card:hover::before { transform: scaleX(1); }

/* CTA card image */
.cta-card-img {
  width: 100%; height: 180px; object-fit: cover;
  border-radius: 8px; margin-bottom: 20px;
}

.cta-num {
  font-family: var(--font-heading); font-size: 36px; font-weight: 800;
  margin-bottom: 16px; line-height: 1;
  background: linear-gradient(135deg, var(--hqa-teal), var(--hqa-lime));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-card h3 {
  font-family: var(--font-heading); font-size: 14px; font-weight: 700;
  color: var(--hqa-dark-blue); margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: 1px;
}
.cta-card p {
  font-family: var(--font-body); font-size: 15px; line-height: 1.85;
  color: var(--hqa-neutral-4); font-weight: 300; margin-bottom: 24px;
}
.cta-card a {
  font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  color: var(--hqa-teal); transition: color 0.3s;
  display: inline-flex; align-items: center; gap: 6px;
}
.cta-card a .arr { font-style: normal; font-size: 14px; display: inline-block; transition: transform 0.3s; }
.cta-card a:hover { color: var(--hqa-dark-blue); }
.cta-card a:hover .arr { transform: translateX(3px); }

/* ========================
   PULLQUOTE
   ======================== */
.s-pullquote {
  background: var(--hqa-white);
  padding: clamp(60px, 8vw, 100px) 0;
  text-align: center; position: relative;
  overflow: hidden;
}
.pq-hex { display: none; }
.s-pullquote blockquote {
  position: relative; z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 27px); line-height: 1.75;
  color: var(--hqa-dark-blue); font-weight: 400; font-style: italic;
  max-width: 1000px; margin: 0 auto;
  border: none !important; padding-left: 0;
}
.s-pullquote blockquote::before {
  content: '\201C'; display: block;
  font-family: var(--font-serif); font-size: 72px; font-weight: 700;
  color: var(--hqa-lime); opacity: 0.5; line-height: 1;
  margin-bottom: 12px;
}
.s-pullquote cite {
  display: block; margin-top: 28px;
  font-family: var(--font-heading); font-size: 11px; font-weight: 600;
  color: var(--hqa-teal); font-style: normal;
  letter-spacing: 2px; text-transform: uppercase;
}

/* Titled statement variant (e.g. Gratitude) — replaces the quote glyph with a centered heading */
.s-pullquote .pq-title {
  position: relative; z-index: 1;
  font-family: var(--font-heading); font-size: clamp(24px, 3vw, 34px);
  font-weight: 800; color: var(--hqa-dark-blue);
  text-align: center; margin: 0 auto 28px;
}
.s-pullquote .pq-statement {
  position: relative; z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 23px); line-height: 1.8;
  color: var(--hqa-dark-blue); font-weight: 400;
  max-width: 1000px; margin: 0 auto;
}
.s-pullquote .pq-statement cite {
  display: block; margin-top: 28px;
  font-family: var(--font-heading); font-size: 11px; font-weight: 600;
  color: var(--hqa-teal); font-style: normal;
  letter-spacing: 2px; text-transform: uppercase;
}

/* ========================
   TAGLINE BAND
   ======================== */
.s-tagline {
  background: linear-gradient(90deg, #002E4D, var(--hqa-dark-blue), #002E4D);
  padding: 36px 0; text-align: center;
  position: relative;
}
.s-tagline p {
  font-family: var(--font-heading); font-size: clamp(15px, 2.2vw, 20px);
  font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
}
.tl-1 { color: var(--hqa-white); }
.tl-2 { color: var(--hqa-lime); }

/* ========================
   FOOTER
   ======================== */
.footer {
  background: linear-gradient(180deg, #002E4D, #001F33);
  padding: 48px 0 28px;
}
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.footer-logo { height: 32px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-logo-img { height: 32px; width: auto; margin-bottom: 16px; }
.footer-brand p {
  font-family: var(--font-body); font-size: 14px; line-height: 1.9;
  color: rgba(255,255,255,0.7); font-weight: 300;
}
.footer-col h4 {
  font-family: var(--font-heading); font-size: 10px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.65); margin-bottom: 14px;
}
.footer-col h4:not(:first-child) { margin-top: 18px; }
.footer-col p, .footer-col a {
  font-family: var(--font-body); font-size: 14px; line-height: 2;
  color: rgba(255,255,255,0.6); font-weight: 300;
}
.footer-col a { transition: color 0.3s; }
.footer-col a:hover { color: var(--hqa-lime); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05); padding-top: 16px;
}
.footer-bottom p {
  font-family: var(--font-body); font-size: 11px; line-height: 1.5;
  color: rgba(255,255,255,0.35); margin-bottom: 0;
}
.fb-sep {
  display: inline-block; margin: 0 10px;
  color: rgba(255,255,255,0.15);
}

/* Social icons */
.social-icons {
  display: flex; align-items: center; gap: 12px; margin-top: 6px;
}
.social-icons a {
  color: rgba(255,255,255,0.4); transition: color 0.3s, transform 0.3s;
  display: inline-flex; align-items: center; justify-content: center;
}
.social-icons a:hover { color: var(--hqa-lime); transform: translateY(-2px); }

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 960px) {
  .persona-grid .p-card { width: calc(33.333% - 16px); flex-grow: 0; flex-shrink: 0; }
  .cta-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(0,35,60,0.99); padding: 24px clamp(24px, 5vw, 48px);
    gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
  }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }
  .persona-grid .p-card { width: 100%; }
  .p-card-photo { height: 180px; }
  .cta-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .hero-scroll { display: none; }
  .hero-stat { letter-spacing: -3px; }
  .big-cite { padding-left: 0; }
}

/* ========================
   ANIMATIONS
   ======================== */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease);
}
.fade-up.vis { opacity: 1; transform: translateY(0); }

.p-card {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s;
}
.p-card.vis { opacity: 1; transform: translateY(0); }
.p-card:nth-child(1) { transition-delay: 0s; }
.p-card:nth-child(2) { transition-delay: 0.1s; }
.p-card:nth-child(3) { transition-delay: 0.2s; }
.p-card:nth-child(4) { transition-delay: 0.3s; }
.p-card:nth-child(5) { transition-delay: 0.4s; }
.p-card:nth-child(6) { transition-delay: 0.5s; }

/* SVG Logo styling */
.nav-logo-svg svg { height: 36px; width: auto; }
.footer-logo-svg svg { height: 32px; width: auto; filter: brightness(10); }
.footer-logo-svg { display: block; margin-bottom: 16px; }

/* ========================
   KADENCE THEME OVERRIDES
   ======================== */
#masthead, #mobile-header, .site-header,
.site-footer-wrap, .site-bottom-footer-wrap,
.site-footer { display: none !important; }
.content-area { margin: 0 !important; padding: 0 !important; }
.entry-content-wrap { padding: 0 !important; max-width: 100% !important; }
.entry.single-entry { box-shadow: none !important; border: none !important; margin: 0 !important; }
.site-container, .content-container { max-width: 100% !important; padding: 0 !important; }
#wrapper, .site, .wp-site-blocks { max-width: 100% !important; }
#inner-wrap { max-width: 100% !important; padding: 0 !important; }
.entry-content { max-width: 100% !important; }
body { background: #fff !important; }
body.page .content-area { max-width: 100% !important; }
.wp-block-post-content { max-width: 100% !important; padding: 0 !important; }

/* Hide Kadence page title */
.entry-hero-container-inner,
.entry-header, .page-header,
h1.entry-title, .kadence-breadcrumbs,
.entry-hero-layout-standard { display: none !important; }

/* Force full width at ALL breakpoints */
body, body.page, body.page-template-default,
#wrapper, .site, .wp-site-blocks,
#inner-wrap, .site-container,
.content-container, .site-container .site-inner-wrap,
.content-area, .content-area .site-main,
.entry-content-wrap, .entry-content,
.entry.single-entry, .entry.type-page,
.wp-block-post-content,
.site-inner-wrap,
.content-container-wrap {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Fix nav above WP admin bar */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }

/* Scroll-to-top button */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--hqa-dark-blue); color: #fff; border: none;
  font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--hqa-teal); }

.cta-note { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 500; color: var(--hqa-neutral-3); font-style: italic; margin-top: 12px; }

/* --- VALUE PILLARS --- */
.s-pillars {
  background: linear-gradient(175deg, #002E4D 0%, var(--hqa-dark-blue) 50%, #003D5E 100%);
  padding: clamp(48px, 6vw, 72px) 0;
  position: relative;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.pillar {
  text-align: center;
  padding: 32px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.4s, border-color 0.4s, transform 0.4s;
}
.pillar:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}
.pillar-icon {
  color: var(--hqa-lime);
  margin-bottom: 16px;
}
.pillar-icon svg {
  stroke: var(--hqa-lime);
}
.pillar-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 10px;
}
.pillar-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 500px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 16px; }
  .pillar { padding: 24px 16px; }
}


/* ========================
   FACILITATOR GUIDE FEATURE (Method section, former video slot)
   ======================== */
.guide-feature {
  max-width: 860px; margin: 2.5rem auto 4.5rem;
  display: flex; align-items: center; gap: clamp(28px, 4vw, 48px);
  padding: clamp(24px, 3.5vw, 40px);
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.15); border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.guide-cover {
  flex: 0 0 168px; height: 224px; position: relative;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 18px 16px;
  background: linear-gradient(160deg, #0a5583 0%, #007196 100%);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 4px 10px 10px 4px;
  transform: rotate(-2deg);
  box-shadow: 6px 6px 0 rgba(248,246,242,0.12), 12px 12px 0 rgba(248,246,242,0.06), 0 12px 30px rgba(0,0,0,0.45);
}
.guide-cover-eyebrow {
  font-family: var(--font-heading); font-size: 8px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--hqa-lime);
  margin-bottom: 14px;
}
.guide-cover-title {
  font-family: var(--font-heading); font-size: 22px; font-weight: 800;
  line-height: 1.15; color: var(--hqa-white); letter-spacing: -0.5px;
}
.guide-cover-accent { width: 34px; height: 3px; background: var(--hqa-lime); margin-top: 14px; }
.guide-cover-org {
  margin-top: auto; font-family: var(--font-heading); font-size: 8.5px;
  letter-spacing: 1px; color: rgba(255,255,255,0.75);
}
.guide-body { flex: 1; min-width: 0; }
.guide-eyebrow {
  font-family: var(--font-heading); font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--hqa-lime);
  margin: 0 0 10px;
}
.guide-title {
  font-family: var(--font-heading); font-size: clamp(22px, 2.6vw, 28px); font-weight: 700;
  color: var(--hqa-white); margin: 0 0 10px; letter-spacing: -0.5px;
}
.guide-desc { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.85); margin: 0 0 14px; }
.guide-items { list-style: none; margin: 0 0 20px; padding: 0; }
.guide-items li {
  position: relative; padding-left: 22px; margin-bottom: 7px;
  font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.8);
}
.guide-items li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 10px; height: 10px; border-radius: 2px;
  background: var(--hqa-teal); border: 1px solid rgba(255,255,255,0.4);
}
.guide-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.guide-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-size: 14px; font-weight: 700;
  background: var(--hqa-lime); color: #06304b; text-decoration: none;
  padding: 12px 24px; border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.guide-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(145,213,0,0.35); color: #06304b; }
.guide-meta { font-size: 12.5px; color: rgba(255,255,255,0.6); }
@media (max-width: 700px) {
  .guide-feature { flex-direction: column; text-align: left; }
  .guide-cover { transform: rotate(0deg); flex-basis: auto; }
}


/* ========================
   GUIDE SAMPLE FLIPBOOK
   ======================== */
.guide-cover.gfb-openable { cursor: pointer; transition: transform 0.2s; }
.guide-cover.gfb-openable:hover { transform: rotate(-2deg) translateY(-4px); }
.guide-sample-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; cursor: pointer;
  border: 1.5px solid var(--hqa-lime); border-radius: 999px;
  padding: 10.5px 22px;
  font-family: var(--font-heading); font-size: 14px; font-weight: 700;
  color: var(--hqa-lime); text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.guide-sample-link:hover { background: var(--hqa-lime); color: #06304b; text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(145,213,0,0.25); }
.guide-sample-link .arr { font-size: 18px; line-height: 1; }

.gfb-overlay { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.gfb-overlay[hidden] { display: none; }
.gfb-backdrop { position: absolute; inset: 0; background: rgba(0, 22, 38, 0.88); }
.gfb-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gfb-book { position: relative; perspective: 1800px; width: min(78vw, calc((100vh - 170px) * 0.7727)); }
.gfb-page {
  width: 100%; display: block; border-radius: 5px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  backface-visibility: hidden; background: #fff;
}
.gfb-page.gfb-out-next { animation: gfbOutNext 0.16s ease-in forwards; }
.gfb-page.gfb-in-next  { animation: gfbInNext  0.2s  ease-out; }
.gfb-page.gfb-out-prev { animation: gfbOutPrev 0.16s ease-in forwards; }
.gfb-page.gfb-in-prev  { animation: gfbInPrev  0.2s  ease-out; }
@keyframes gfbOutNext { to   { transform: rotateY(-86deg); } }
@keyframes gfbInNext  { from { transform: rotateY(86deg); } to { transform: rotateY(0); } }
@keyframes gfbOutPrev { to   { transform: rotateY(86deg); } }
@keyframes gfbInPrev  { from { transform: rotateY(-86deg); } to { transform: rotateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .gfb-page.gfb-out-next, .gfb-page.gfb-in-next, .gfb-page.gfb-out-prev, .gfb-page.gfb-in-prev { animation: none; }
}
.gfb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.92); color: #06304b;
  font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35); transition: transform 0.15s, background 0.15s;
}
.gfb-nav:hover { background: var(--hqa-lime); transform: translateY(-50%) scale(1.08); }
.gfb-nav:disabled { opacity: 0.35; cursor: default; }
.gfb-nav:disabled:hover { background: rgba(255,255,255,0.92); transform: translateY(-50%); }
.gfb-prev { left: -66px; }
.gfb-next { right: -66px; }
.gfb-meta { display: flex; align-items: center; gap: 18px; }
.gfb-counter { font-family: var(--font-heading); font-size: 12px; letter-spacing: 2px; color: rgba(255,255,255,0.8); }
.gfb-note { font-size: 12px; color: rgba(255,255,255,0.55); font-style: italic; }
.gfb-close {
  position: absolute; top: -54px; right: 0;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.15); color: #fff; font-size: 20px;
}
.gfb-close:hover { background: rgba(255,255,255,0.3); }
@media (max-width: 720px) {
  .gfb-book { width: min(88vw, calc((100vh - 200px) * 0.7727)); }
  .gfb-prev { left: 8px; top: auto; bottom: -60px; transform: none; }
  .gfb-next { right: 8px; top: auto; bottom: -60px; transform: none; }
  .gfb-nav:hover { transform: none; }
  .gfb-close { top: -50px; right: 4px; }
}

/* ── Facilitator Guide tile: light-theme variant (now sits under the CTA title) ── */
.s-cta .guide-feature {
  margin: 0.5rem auto 3.5rem;
  background: var(--hqa-white);
  border: 1px solid rgba(0,113,150,0.12);
  box-shadow: 0 16px 56px rgba(0,71,117,0.08), 0 4px 16px rgba(0,71,117,0.04);
}
.s-cta .guide-title { color: var(--hqa-dark-blue); }
.s-cta .guide-desc  { color: #46555f; }
.s-cta .guide-items li { color: #46555f; }
.s-cta .guide-eyebrow { color: #007196; }
.s-cta .guide-meta  { color: #6a7780; }
.s-cta .guide-sample-link { color: #007196; border-color: rgba(0,113,150,0.55); }
body .s-cta .guide-sample-link:hover { color: #fff; background: #007196; text-decoration: none; }
