/* ============================================================
   HumanKind HR Solutions — revamp
   Palette: white + grey/charcoal structure, blue reserved for buttons
   ============================================================ */

:root {
  --navy:        #1C1D21;   /* charcoal ink — replaces navy blue for headings/structure */
  --navy-2:      #26282D;
  --navy-3:      #34363C;
  --blue:        #2D6BE0;   /* action accent — buttons + interactive controls ONLY */
  --blue-bright: #4F8BFF;
  --blue-soft:   #EAF1FF;
  --grey-bright: #C7C9CE;   /* light grey text accent for use on dark (hero/footer/cta) backgrounds */
  --chip:        #EEEEF0;   /* neutral light grey chip background for decorative icon badges */
  --sky:         #EEF0F3;   /* neutral light grey — alternating section background */
  --bg:          #FFFFFF;
  --surface:     #FFFFFF;   /* card / panel background */
  --surface-dark:#1C1D21;   /* dark brand panels (hero/footer/cta) */
  --text:        #1F2226;
  --muted:       #63666D;
  --line:        #E3E3E6;
  --radius:      16px;
  --radius-sm:   12px;
  --shadow-sm:   0 4px 14px rgba(20, 20, 22, 0.06);
  --shadow-md:   0 16px 40px rgba(20, 20, 22, 0.10);
  --shadow-lg:   0 30px 70px rgba(20, 20, 22, 0.16);
  --maxw:        1300px;
  --ease:        cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  font-family: 'Calibri', 'Trebuchet MS', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Calibri', 'Trebuchet MS', sans-serif; line-height: 1.12; color: var(--navy); letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }

/* Auto-divider: adds a hairline whenever two same-toned sections land back
   to back, since the color change that normally separates them is absent.
   Grouped by actual rendered background, not by class name. */
:is(.svc-features, .mission-band, .hris-preview, .mphp-plans, .ohs, .svc-intro.svc-alt)
+ :is(.svc-features, .mission-band, .hris-preview, .mphp-plans, .ohs, .svc-intro.svc-alt) {
  border-top: 1px solid var(--line);
}
:is(.svc-intro:not(.svc-alt), .svc-outcomes, .team, .mphp-partner, .mphp-how, .xlink-section, .svc-alt.section, #guaranteed-acceptance)
+ :is(.svc-intro:not(.svc-alt), .svc-outcomes, .team, .mphp-partner, .mphp-how, .xlink-section, .svc-alt.section, #guaranteed-acceptance) {
  border-top: 1px solid var(--line);
}
.accent { color: var(--navy); }

.eyebrow {
  display: inline-block;
  font-family: 'Calibri', 'Trebuchet MS', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 18px;
}
.eyebrow-blue { color: var(--blue); }

.section-head { max-width: 780px; margin: 0 0 60px; text-align: left; }
.section-head.center { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight: 800; }
.section-lead { color: var(--muted); font-size: 1.15rem; margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: .95rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer; border: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(45,107,224,.32); }
.btn-primary:hover { background: #1f5bd0; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(45,107,224,.42); }
.btn-ghost { background: rgba(255,255,255,.10); color: #fff; border: 1.5px solid rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.20); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 8px 0;
  transition: transform .4s var(--ease), background .35s, box-shadow .35s, padding .35s;
}
.site-header.scrolled {
  background: rgba(28,29,33, 0.92);
  backdrop-filter: blur(10px);
  padding: 6px 0;
  box-shadow: 0 8px 30px rgba(28,29,33,.28);
}
/* hidden when scrolling down */
.site-header.hidden { transform: translateY(-115%); }

.header-inner { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 94px; width: auto; transition: height .35s; }
.site-header.scrolled .brand-logo { height: 78px; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  color: rgba(255,255,255,.72); padding: 10px 17px;
  transition: color .25s;
}
.nav-link:hover { color: #fff; }

/* dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(10px);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; min-width: 290px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.dropdown::before { /* hover bridge */
  content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px;
  transition: background .2s;
}
.dropdown a:hover { background: var(--sky); }
.dd-icon { width: 40px; height: 40px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); border-radius: 10px; flex-shrink: 0; }
.dd-icon svg { width: 22px; height: 22px; }
.dropdown a span:last-child { display: flex; flex-direction: column; }
.dropdown strong { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-size: .96rem; color: var(--navy); font-weight: 700; }
.dropdown em { font-style: normal; font-size: .82rem; color: var(--muted); }

.nav-link.active { color: #fff; }
.nav-link.active::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--blue-bright);
  box-shadow: 0 0 9px rgba(79,139,255,.85);
}
.dropdown a[aria-current="page"] { background: var(--sky); }
.dropdown a[aria-current="page"] strong { color: var(--navy); }

.header-cta {
  padding: 11px 24px; font-weight: 800;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 8px 20px rgba(45,107,224,.35);
}
.header-cta:hover {
  background: linear-gradient(135deg, #1f5bd0 0%, var(--blue) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 12px 28px rgba(45,107,224,.45);
  transform: translateY(-2px);
}

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; z-index: 101; }
.hamburger span { width: 26px; height: 2.5px; background: #fff; border-radius: 3px; transition: .3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; top: 0; right: 0; z-index: 99;
  width: min(82vw, 340px); height: 100vh;
  background: var(--surface-dark); padding: 100px 28px 40px;
  transform: translateX(100%); transition: transform .4s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0,0,0,.4); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mm-label { color: var(--grey-bright); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 22px 0 8px; font-family: 'Calibri', 'Trebuchet MS', sans-serif; }
.mobile-menu a { color: rgba(255,255,255,.9); padding: 11px 0; font-weight: 600; font-family: 'Calibri', 'Trebuchet MS', sans-serif; border-bottom: 1px solid rgba(255,255,255,.08); }
.mm-cta { justify-content: center; margin-top: 26px; border: none !important; color: #fff !important; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(120deg, #1C1D21 0%, #34363C 55%, #26282D 130%);
}
/* rotating hero photos — shown clearly, crossfading */
.hero-slide {
  position: absolute; inset: 0;
  background-size: var(--bg-size, cover); background-position: var(--bg-pos, center);
  opacity: 0; transition: opacity 1.1s var(--ease); will-change: opacity;
}
.hero-slide.active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.active { animation: heroKen 8s ease-out both; }
  @keyframes heroKen { from { transform: scale(1.07); } to { transform: scale(1); } }
}
/* soft wash: dark top (header legibility) + a left-only gradient so text reads while faces on the right stay clear */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,18,35,.55) 0%, rgba(8,18,35,.12) 14%, transparent 30%),
    linear-gradient(90deg, rgba(8,18,35,.80) 0%, rgba(8,18,35,.55) 16%, rgba(8,18,35,.22) 36%, transparent 52%);
}
@media (max-width: 760px) {
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8,18,35,.74) 0%, rgba(8,18,35,.56) 38%, rgba(8,18,35,.54) 70%, rgba(8,18,35,.64) 100%);
  }
}
.hero-content { position: relative; z-index: 2; max-width: var(--maxw); padding-top: 80px; }
/* hero text sits directly on the photo, left-aligned */
.hero-content .eyebrow { color: rgba(255,255,255,.85); }
/* staggered pop-up entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { opacity: 0; animation: heroUp .7s var(--ease) forwards; }
  .hero-content > h1 { animation-delay: .20s; }
  .hero-content > .hero-tagline { animation: none; }
  .hero-content > .hero-actions { animation-delay: .40s; }
  @keyframes heroUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
}

/* Typewriter hero heading */
.hero-heading { font-size: clamp(3rem, 7vw, 6rem); font-weight: 800; color: #fff; line-height: 1.05; letter-spacing: -0.03em; }
.hero-word { color: var(--grey-bright); }
.hero-cursor {
  display: inline-block;
  color: var(--grey-bright);
  font-weight: 300;
  margin-left: 3px;
  animation: cursorBlink .65s step-end infinite;
}
.hero-cursor.done { animation: none; opacity: 0; }
@keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.82);
  margin: 16px 0 40px;
  opacity: 0;
  transition: opacity .55s ease;
  max-width: 520px;
}
.hero-tagline.visible { opacity: 1; }

/* Icon + name navigation tabs */
.hero-tabs {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 4px;
  background: rgba(9,20,38,.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 60px;
  padding: 5px;
}
.hero-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.50);
  font-family: 'Calibri', 'Trebuchet MS', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  cursor: pointer;
  transition: background .25s, color .25s;
  white-space: nowrap;
  letter-spacing: .01em;
}
.hero-tab svg { width: 15px; height: 15px; flex-shrink: 0; }
.hero-tab.active { background: rgba(255,255,255,.16); color: #fff; animation: tabPop .35s var(--ease); }
@keyframes tabPop { from { transform: scale(0.88); opacity: .5; } to { transform: scale(1); opacity: 1; } }
.hero-tab:hover:not(.active) { background: rgba(255,255,255,.08); color: rgba(255,255,255,.80); }
@media (max-width: 600px) {
  .hero-tabs { gap: 2px; padding: 4px; }
  .hero-tab { padding: 8px 12px; font-size: .76rem; gap: 5px; }
  .hero-tab svg { width: 13px; height: 13px; }
}
/* per-slide "Work With Us" service tag (matches the nav dropdown style) */
.hero-tag {
  display: inline-flex; align-items: center; gap: 13px; margin-top: 28px;
  background: rgba(9,20,38,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 11px 20px 11px 11px;
  width: max-content; max-width: 100%;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.hero-tag:hover { transform: translateY(-3px); background: rgba(9,20,38,.66); border-color: rgba(255,255,255,.30); }
.hero-tag-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--blue-soft); color: var(--blue); }
.hero-tag-ic svg { width: 22px; height: 22px; }
.hero-tag-tx { display: flex; flex-direction: column; line-height: 1.25; }
.hero-tag-tt { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: .98rem; color: #fff; }
.hero-tag-sub { font-style: normal; font-size: .82rem; color: rgba(255,255,255,.72); }
/* carousel dots */
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 11px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.45); transition: background .25s var(--ease), transform .25s var(--ease); }
.hero-dots button:hover { background: rgba(255,255,255,.75); }
.hero-dots button.active { background: #fff; transform: scale(1.3); }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); font-weight: 800; color: #fff; text-shadow: 0 2px 28px rgba(0,0,0,.45); }
.hero h1 .accent { color: var(--grey-bright); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.24rem); color: rgba(255,255,255,.9); margin: 20px 0 32px; max-width: 430px; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 42px; margin-top: 60px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-size: 2rem; font-weight: 800; color: #fff; }
.hero-stats span { font-size: .9rem; color: rgba(255,255,255,.72); }
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.7); animation: bob 2s infinite;
}
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(8px);} }

/* ============ TRUST STRIP ============ */
.trust { background: #fff; padding: 34px 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-label { text-align: center; color: var(--muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 22px; }
.trust-marquee { position: relative; overflow: hidden; }
.trust-marquee::before,
.trust-marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.trust-marquee::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.trust-marquee::after  { right: 0; background: linear-gradient(to left,  #fff, transparent); }
.trust-track {
  display: flex; align-items: center; gap: 40px;
  width: max-content;
  animation: marquee 85s linear infinite;
}
.trust-marquee:hover .trust-track { animation-play-state: paused; }
.trust-track span { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: .95rem; color: var(--muted); white-space: nowrap; letter-spacing: .04em; }
.trust-sep { color: var(--line) !important; font-weight: 300 !important; font-size: 1.2rem !important; }
.trust-logos { gap: 72px; }
.trust-logos img { height: 46px; width: auto; max-width: 150px; object-fit: contain; flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* ============ SERVICES ============ */
.services { background: var(--sky); border-bottom: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  scroll-margin-top: 110px;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright)); color: #fff; margin-bottom: 22px;
  box-shadow: 0 10px 22px rgba(45,107,224,.3);
}
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: .96rem; margin-bottom: 20px; }
.link-arrow { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: .9rem; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ============ PROCESS ============ */
.process { background: #fff; color: var(--text); border-bottom: 1px solid var(--line); }
.about { background: var(--sky); border-bottom: 1px solid var(--line); }
.process-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.process-step { background: var(--surface-dark); padding: 40px; display: flex; gap: 24px; transition: background .3s; }
.process-step:hover { background: var(--navy-2); }
.step-num { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-size: 3rem; font-weight: 800; color: var(--blue-bright); line-height: 1; opacity: .85; }
.step-body h3 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.step-body p { color: rgba(255,255,255,.72); font-size: .96rem; }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-img { width: 100%; aspect-ratio: 4/5; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-md); }
.placeholder-img {
  background:
    repeating-linear-gradient(45deg, rgba(28,29,33,.05) 0 14px, rgba(28,29,33,.09) 14px 28px),
    linear-gradient(135deg, var(--chip), #dcdcdf);
  border: 1.5px dashed rgba(28,29,33,.3);
  display: grid; place-items: center; position: relative;
}
.placeholder-img::after {
  content: attr(data-label); color: var(--navy); font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700;
  font-size: .9rem; opacity: .8; padding: 0 20px; text-align: center;
}
.about-badge {
  position: absolute; bottom: -22px; right: -22px;
  background: var(--blue); color: #fff; padding: 22px 26px; border-radius: var(--radius);
  box-shadow: var(--shadow-md); font-family: 'Calibri', 'Trebuchet MS', sans-serif; line-height: 1.3;
}
.about-badge strong { font-size: 1.15rem; }
.about-copy h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 18px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; }
.about-points { list-style: none; margin: 24px 0 30px; }
.about-points li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 500; color: var(--text); }
.tick { width: 26px; height: 26px; flex-shrink: 0; background: var(--blue-soft); color: var(--blue); border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }

/* ============ TEAM ============ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-lead { display: flex; justify-content: center; margin-bottom: 28px; }
.team-lead .team-card { width: 100%; max-width: calc((100% - 56px) / 3); }
.team-grid.advisors { display: grid; grid-template-columns: repeat(3, 1fr); }
.team-photo--placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue), var(--navy)); }
.team-photo--placeholder span { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 800; font-size: 2.2rem; color: rgba(255,255,255,.7); letter-spacing: .04em; }
.team-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  text-align: center; padding-bottom: 26px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-photo { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--sky); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.07); }
/* subtle scrim that deepens on hover */
.team-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,29,33,.42), transparent 50%); opacity: .35; transition: opacity .35s var(--ease); }
.team-card:hover .team-photo::after { opacity: 1; }
.team-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin: 18px 0 4px; }
.team-card .role { display: block; color: var(--muted); font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 600; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
/* clean LinkedIn button below the name */
.team-card .li {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  margin-top: 14px; background: var(--blue-soft); color: var(--blue);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.team-card .li:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.team-card .li svg { width: 18px; height: 18px; }
.team-subhead { text-align: center; font-size: 1.6rem; font-weight: 800; margin: 70px 0 34px; }

/* About — "Putting wellness into HR" pillar chips */
.pillar-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 26px; }
.pillar-grid li { display: flex; align-items: center; gap: 12px; font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 600; font-size: .92rem; color: var(--navy); }
.pl-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.pl-ic svg { width: 19px; height: 19px; }
@media (max-width: 480px) { .pillar-grid { grid-template-columns: 1fr; } }

/* About — mission statement band */
.mission-band { background: var(--sky); padding: 64px 0; text-align: center; }
.mission-band .container { max-width: 980px; }
.mission-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 18px; }
.mission-band p { color: var(--muted); font-size: 1.1rem; line-height: 1.75; }

/* even 3-up feature grid (What Sets Us Apart) */
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .feature-grid-3 { grid-template-columns: 1fr; } }

/* ============ TESTIMONIALS CAROUSEL ============ */
.testimonials { background: #fff; }
.tcar { position: relative; max-width: 820px; margin: 0 auto; }
.tcar-viewport { overflow: hidden; border-radius: var(--radius); }
.tcar-track { display: flex; transition: transform .55s var(--ease); }
.quote-card {
  flex: 0 0 100%; box-sizing: border-box;
  background: #fff; border-radius: var(--radius); padding: 48px 52px; box-shadow: var(--shadow-md);
  position: relative; border: 1px solid var(--line);
}
.q-mark { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-size: 4.5rem; line-height: .6; color: var(--navy); opacity: .22; margin-bottom: 14px; }
.quote-card blockquote { color: var(--text); font-size: 1.12rem; line-height: 1.7; margin-bottom: 30px; }
.quote-card figcaption { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; }
.quote-card figcaption img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 6px 16px rgba(20,20,22,.18); }
.quote-card .who { display: flex; flex-direction: column; }
.quote-card figcaption strong { font-family: 'Calibri', 'Trebuchet MS', sans-serif; color: var(--navy); font-size: 1.05rem; }
.quote-card figcaption span { color: var(--muted); font-size: .9rem; }
/* controls */
.tcar-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: #fff; color: var(--navy); box-shadow: var(--shadow-md);
  display: grid; place-items: center; transition: background .25s, color .25s, transform .25s;
}
.tcar-arrow:hover { background: var(--blue); color: #fff; }
.tcar-arrow svg { width: 22px; height: 22px; }
.tcar-arrow.prev { left: -22px; }
.tcar-arrow.next { right: -22px; }
.tcar-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.tcar-dot { width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer; background: rgba(45,107,224,.25); transition: background .25s, width .25s; padding: 0; }
.tcar-dot.active { background: var(--blue); width: 28px; border-radius: 6px; }
@media (max-width: 860px) {
  .quote-card { padding: 34px 26px; }
  .quote-card blockquote { font-size: 1rem; }
  .tcar-arrow { display: none; }
}

/* ============ CTA BANNER ============ */
.cta-banner { background: linear-gradient(120deg, var(--surface-dark) 0%, var(--navy-3) 55%, var(--navy-2) 140%); position: relative; overflow: hidden; }
.cta-banner::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(28,29,33,.93) 0%, rgba(28,29,33,.74) 45%, rgba(28,29,33,.5) 100%); }
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(700px 300px at 85% 50%, rgba(255,255,255,.08), transparent 70%); }
.cta-banner .cta-inner { position: relative; z-index: 2; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 70px 24px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.cta-inner p { color: rgba(255,255,255,.8); margin-top: 8px; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
.contact-info > p { color: var(--muted); margin-bottom: 34px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.ci-icon { width: 48px; height: 48px; flex-shrink: 0; background: var(--blue-soft); color: var(--blue); border-radius: 12px; display: grid; place-items: center; }
.ci-icon svg { width: 24px; height: 24px; }
.ci-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list div > span:last-child { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; color: var(--navy); }
.contact-list a:hover { color: var(--blue); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 600; font-size: .88rem; color: var(--navy); }
.contact-form input, .contact-form textarea {
  font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-size: .96rem; color: var(--text);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--sky);
  transition: border-color .2s, background .2s, box-shadow .2s; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(45,107,224,.12); }
.form-note { color: var(--navy); font-weight: 600; font-size: .9rem; text-align: center; }

/* ============ FOOTER ============ */
.site-footer { background: var(--surface-dark); color: rgba(255,255,255,.7); padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { height: 76px; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; max-width: 300px; margin-bottom: 22px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: background .25s, transform .25s; }
.socials a svg { width: 18px; height: 18px; }
.socials a:hover { background: var(--blue); transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col a { display: block; padding: 7px 0; font-size: .92rem; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--blue-bright); padding-left: 5px; }
.footer-news p { font-size: .9rem; margin-bottom: 16px; }
.news-form { display: flex; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; overflow: hidden; }
.news-form input { flex: 1; background: none; border: none; padding: 12px 14px; color: #fff; font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-size: .9rem; }
.news-form input::placeholder { color: rgba(255,255,255,.5); }
.news-form input:focus { outline: none; }
.news-form button { background: var(--blue); border: none; color: #fff; width: 46px; cursor: pointer; font-size: 1.1rem; transition: background .25s; }
.news-form button:hover { background: var(--blue-bright); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: .85rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: #fff; }

/* ============ SERVICE / SUB PAGES ============ */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  padding: 190px 0 90px;
  background: linear-gradient(120deg, var(--surface-dark) 0%, var(--navy-3) 55%, var(--navy-2) 150%);
}
/* same wash as the homepage hero: dark top for header legibility + a left-only gradient so text reads while the photo stays clear on the right */
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,18,35,.55) 0%, rgba(8,18,35,.12) 14%, transparent 30%),
    linear-gradient(90deg, rgba(8,18,35,.80) 0%, rgba(8,18,35,.55) 16%, rgba(8,18,35,.22) 36%, transparent 52%);
}
@media (max-width: 760px) {
  /* phones crop these landscape photos hard, so the text often lands on a
     bright, busy part of the image — keep the mid-band dark enough to read */
  .page-hero::after {
    background: linear-gradient(180deg, rgba(8,18,35,.74) 0%, rgba(8,18,35,.56) 38%, rgba(8,18,35,.54) 70%, rgba(8,18,35,.64) 100%);
  }
}
/* per-page faded hero photo (falls back to the gradient if the file isn't there yet) */
.page-hero .hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: var(--bg-pos, center right); background-repeat: no-repeat;
}
.page-hero .container { position: relative; z-index: 2; max-width: 900px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 22px; font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 600; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }
.page-hero .page-icon {
  width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff;
  margin-bottom: 24px;
}
.page-hero .page-icon svg { width: 34px; height: 34px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; color: #fff; }
.page-hero p { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,.85); margin: 20px 0 32px; max-width: 620px; }

/* Full-screen page hero variant — used on contact page */
.page-hero--full {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}
.page-hero--full .hero-photo {
  background-position: var(--bg-pos, center center);
}

/* Contact-specific two-column hero layout */
.page-hero--contact::after {
  background:
    linear-gradient(180deg, rgba(8,18,35,.55) 0%, rgba(8,18,35,.12) 14%, transparent 30%),
    linear-gradient(90deg, rgba(8,18,35,.60) 0%, rgba(8,18,35,.30) 30%, rgba(8,18,35,.10) 50%, transparent 65%);
}
.page-hero--contact .container {
  max-width: 1560px;
  padding: 0 56px;
}
.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.contact-hero-copy .breadcrumb { margin-bottom: 28px; }
.contact-hero-copy h1 { font-size: clamp(2rem, 4vw, 3.2rem); color: #fff; margin-bottom: 16px; }
.contact-hero-copy > p { font-size: 1.05rem; color: rgba(255,255,255,.80); margin-bottom: 36px; max-width: 480px; }
.contact-hero-copy .contact-list { margin-bottom: 28px; }
.contact-hero-copy .contact-list li { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.contact-hero-copy .ci-icon { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.contact-hero-copy .ci-label { color: rgba(255,255,255,.55); }
.contact-hero-copy .contact-list a,
.contact-hero-copy .contact-list div > span:last-child { color: #fff; font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; }
.contact-hero-copy .contact-list a:hover { color: var(--blue-bright); }
.contact-hero-copy .socials a { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.contact-hero-copy .socials a:hover { background: rgba(255,255,255,.22); }

/* Frosted glass form card */
.contact-glass-card {
  background: rgba(28,29,33,.15);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-glass-card h3 { font-size: 1.25rem; color: #fff; margin-bottom: 4px; }
.contact-glass-card .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-glass-card label { display: flex; flex-direction: column; gap: 6px; font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 600; font-size: .85rem; color: rgba(255,255,255,.85); }
.contact-glass-card input,
.contact-glass-card textarea {
  font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-size: .93rem;
  padding: 11px 14px; border-radius: 10px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.contact-glass-card input:focus,
.contact-glass-card textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.16);
}
.contact-glass-card input::placeholder,
.contact-glass-card textarea::placeholder { color: rgba(255,255,255,.38); }
.contact-glass-card .btn-block {
  width: 100%;
  margin-top: 8px;
  background: #fff;
  color: var(--navy);
  border: none;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}
.contact-glass-card .btn-block:hover {
  background: var(--blue-soft);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.contact-glass-card .form-note { color: rgba(255,255,255,.75); font-size: .88rem; font-weight: 600; text-align: center; }

@media (max-width: 900px) {
  .contact-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero--full { min-height: auto; padding: 130px 0 60px; }
}
@media (max-width: 760px) {
  .contact-glass-card .field-row { grid-template-columns: 1fr; }
}

/* intro split */
.svc-intro { padding: 72px 0; }
.svc-intro.svc-alt { background: var(--chip); }
.svc-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.svc-split.reverse { direction: rtl; }
.svc-split.reverse > * { direction: ltr; }
.svc-copy h2 { font-size: clamp(2.1rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: 18px; }
.svc-copy h2 .accent { color: var(--navy); }
.svc-copy p { color: var(--muted); margin-bottom: 16px; }
.svc-media .placeholder-img { aspect-ratio: 5/4; }

/* feature grid */
.svc-features { padding: 72px 0; background: var(--sky); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.f-icon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 18px; flex-shrink: 0; }
.f-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: .94rem; }

/* checklist block */
.svc-list { list-style: none; margin: 26px 0 32px; display: grid; gap: 14px; }
.svc-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.svc-list .tick { margin-top: 2px; }

/* outcomes band */
.svc-outcomes { padding: 80px 0; }
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: left; counter-reset: outcome; }
.outcome-grid > div {
  position: relative; background: var(--sky); border: 1px solid var(--line); border-radius: 16px;
  padding: 40px 34px 38px; overflow: hidden; min-height: 210px; display: flex; flex-direction: column;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.outcome-grid > div:hover { background: var(--blue-soft); border-color: rgba(45,107,224,.25); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.outcome-grid > div::before {
  counter-increment: outcome; content: counter(outcome, decimal-leading-zero);
  position: absolute; top: -6px; right: 20px; font-size: 4.4rem; font-weight: 800; line-height: 1;
  color: rgba(28, 29, 33, .06); transition: color .25s var(--ease);
}
.outcome-grid > div:hover::before { color: rgba(45, 107, 224, .14); }
.outcome-grid .num {
  position: relative; z-index: 1; align-self: flex-start; background: var(--blue); color: #fff;
  font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-size: 1rem; font-weight: 700;
  padding: 9px 22px; border-radius: 999px; margin-bottom: 20px; letter-spacing: .01em;
}
.outcome-grid > div p { position: relative; z-index: 1; color: var(--muted); font-size: 1.04rem; line-height: 1.62; margin: 0; }
@media (max-width: 980px) { .outcome-grid { grid-template-columns: 1fr; gap: 20px; } .outcome-grid > div { min-height: 0; } }

/* ============ HRIS DASHBOARD MOCKUP (HR Systems page) ============ */
.hris-preview { background: var(--sky); }
.hris-mock {
  position: relative; max-width: 1040px; margin: 48px auto 0; background: var(--surface);
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(28,29,33,.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 0 0 1px rgba(28,29,33,.04),
    0 20px 45px rgba(20,20,22,.14),
    0 8px 18px rgba(45,107,224,.07);
}
.hris-mock::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-bright) 50%, var(--blue) 100%);
}
.hris-mock-bar {
  position: relative; display: flex; gap: 14px; align-items: center; padding: 13px 18px;
  background: var(--surface-dark); border-bottom: 1px solid rgba(255,255,255,.08);
}
.hris-dot { width: 11px; height: 11px; border-radius: 50%; }
.hris-dot--red { background: #ff5f57; }
.hris-dot--yellow { background: #febc2e; }
.hris-dot--green { background: #28c840; }
.hris-brand { display: flex; align-items: center; gap: 8px; }
.hris-brand img { width: 18px; height: 18px; display: block; }
.hris-brand b { color: #fff; font-size: .88rem; font-weight: 800; letter-spacing: -.01em; }
.hris-mock-body { display: grid; grid-template-columns: 200px 1fr; }
.hris-mock-nav { display: flex; flex-direction: column; gap: 2px; padding: 20px 14px; background: var(--sky); border-right: 1px solid var(--line); }
.hris-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px;
  font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 600; font-size: .88rem; color: var(--muted);
}
.hris-nav-item b { display: inline-grid; place-items: center; width: 17px; height: 17px; flex-shrink: 0; }
.hris-nav-item b svg { width: 17px; height: 17px; }
.hris-nav-item.active { background: var(--chip); color: var(--navy); }
.hris-mock-main { padding: 28px 32px; }
.hris-mock-main h3 { font-size: 1.15rem; margin-bottom: 20px; }
.hris-mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hris-learn-more { max-width: 1040px; margin: 24px auto 0; text-align: right; }

/* --- carousel stage --- */
.hris-nav-item { border: none; background: none; width: 100%; text-align: left; cursor: pointer; transition: background .25s, color .25s; }
.hris-nav-item:hover { background: var(--blue-soft); color: var(--blue); }
.hris-nav-item.active { background: var(--blue-soft); color: var(--blue); }
.hris-stage { position: relative; overflow: hidden; transition: height .45s var(--ease); }
.hris-screen {
  position: absolute; top: 0; left: 0; right: 0; padding: 28px 32px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: scale(.985);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s linear .5s;
}
.hris-screen.active {
  position: relative; opacity: 1; visibility: visible; pointer-events: auto;
  transform: scale(1); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.hris-screen h3 { font-size: 1.15rem; margin-bottom: 20px; }
.hris-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hris-row-head h3 { margin-bottom: 0; }
.hris-mini-btn { background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700; padding: 9px 16px; border-radius: 8px; white-space: nowrap; }

.hris-dots { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.hris-cdot { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: var(--line); transition: background .25s, transform .25s, width .25s; }
.hris-cdot:hover { background: rgba(45,107,224,.45); }
.hris-cdot.active { background: var(--blue); width: 26px; border-radius: 999px; }

/* time off */
.hris-balances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.hris-bal { background: var(--sky); border-radius: 10px; padding: 16px; text-align: center; }
.hris-bal b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--blue); line-height: 1; }
.hris-bal span { font-size: .78rem; color: var(--muted); }
.hris-reqs { border-top: 1px solid var(--line); }
.hris-req { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.hris-av { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 800; flex: none; }
.hris-who { flex: 1; font-size: .92rem; font-weight: 600; color: var(--navy); }
.hris-who small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.hris-pill { font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.hris-pill.good { background: #E4F6EE; color: #0F6E56; }
.hris-pill.warn { background: #FDF1DE; color: #8B5E0B; }

/* documents */
.hris-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hris-field label { display: block; font-size: .76rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.hris-input { border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px; font-size: .86rem; color: var(--muted); background: var(--surface); display: flex; justify-content: space-between; align-items: center; }
.hris-input i { font-style: normal; color: var(--muted); }
.hris-upload { margin-top: 20px; background: var(--blue); color: #fff; text-align: center; padding: 13px; border-radius: 10px; font-weight: 700; font-size: .9rem; }

/* ai assistant */
.hris-chat { display: flex; flex-direction: column; gap: 12px; }
.hris-bubble { max-width: 76%; padding: 12px 15px; border-radius: 14px; font-size: .88rem; line-height: 1.5; }
.hris-bubble.user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.hris-bubble.ai { align-self: flex-start; background: var(--sky); border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 4px; }
.hris-bubble.ai em { display: block; margin-top: 8px; font-style: normal; font-weight: 700; font-size: .8rem; color: var(--blue); }

/* reports */
.hris-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.hris-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 0 10px 10px; font-weight: 700; }
.hris-table td { padding: 11px 10px; border-top: 1px solid var(--line); color: var(--text); }
.hris-table td:first-child { font-weight: 600; color: var(--navy); }
.hris-total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--navy); font-weight: 800; color: var(--navy); }

/* kudos */
.hris-kudos { display: flex; flex-direction: column; gap: 6px; }
.hris-kudo { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.hris-kudo:last-child { border-bottom: none; }
.hris-kudo b { color: var(--navy); }
.hris-kudo p { margin: 5px 0 8px; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.hris-tag { font-size: .74rem; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 4px 11px; border-radius: 999px; }

/* hiring */
.hris-pill.neutral { background: var(--chip); color: var(--muted); }
.hris-tabs { display: flex; gap: 4px; margin-bottom: 20px; }
.hris-tab { font-size: .78rem; font-weight: 700; color: var(--muted); padding: 7px 14px; border-radius: 8px; }
.hris-tab.active { background: var(--blue-soft); color: var(--blue); }
.hris-jobs { display: flex; flex-direction: column; }
.hris-job { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.hris-job:last-child { border-bottom: none; }
.hris-job-main { flex: 1; min-width: 0; }
.hris-job-main b { display: block; font-size: .92rem; color: var(--navy); }
.hris-job-main small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.hris-job-avatars { display: flex; flex: none; }
.hris-job-avatars .hris-av { width: 26px; height: 26px; font-size: .6rem; margin-left: -8px; border: 2px solid var(--surface); }
.hris-job-avatars .hris-av:first-child { margin-left: 0; }
.hris-job-avatars .hris-av.av-empty { background: var(--chip); color: var(--muted); }

@media (max-width: 760px) {
  .hris-job { flex-wrap: wrap; gap: 10px; }
  .hris-job-avatars { order: 3; width: 100%; }
  .hris-balances { grid-template-columns: 1fr; }
  .hris-fields { grid-template-columns: 1fr; }
  .hris-bubble { max-width: 90%; }
}
.hris-mock-card { background: var(--sky); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.hris-mock-card h4 { font-size: .84rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.hris-tasks, .hris-notice { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.hris-tasks li { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: var(--text); }
.hris-notice li { font-size: .82rem; color: var(--text); padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.hris-notice li:last-child { border-bottom: none; padding-bottom: 0; }
.hris-check { width: 15px; height: 15px; flex-shrink: 0; border-radius: 4px; border: 1.5px solid var(--line); }
.hris-check.done { background: var(--blue); border-color: var(--blue); position: relative; }
.hris-check.done::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hris-tasks li:has(.hris-check.done) { color: var(--muted); text-decoration: line-through; }
@media (max-width: 760px) {
  .hris-mock { margin-top: 30px; border-radius: 14px; }
  .hris-mock-bar { padding: 11px 14px; }
  .hris-mock-body { grid-template-columns: 1fr; }
  /* sidebar becomes a swipeable pill row */
  .hris-mock-nav {
    flex-direction: row; gap: 8px; padding: 12px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none;
    border-right: none; border-bottom: 1px solid var(--line);
  }
  .hris-mock-nav::-webkit-scrollbar { display: none; }
  .hris-nav-item {
    flex: 0 0 auto; width: auto; scroll-snap-align: start;
    padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
    background: var(--surface); font-size: .82rem; white-space: nowrap;
  }
  .hris-nav-item.active { border-color: var(--blue); }
  .hris-screen { padding: 22px 18px; }
  .hris-screen h3 { font-size: 1.05rem; margin-bottom: 16px; }
  .hris-mock-cards { grid-template-columns: 1fr; gap: 14px; }
  .hris-table { font-size: .8rem; }
  .hris-table th, .hris-table td { padding-left: 5px; padding-right: 5px; }
  .hris-req { gap: 10px; }
  .hris-learn-more { text-align: left; }
}

/* detailed check list (split sections) */
.check-list { display: grid; gap: 24px; margin-top: 30px; }
.check-item { display: flex; gap: 15px; }
.check-item .ci { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; box-shadow: 0 6px 14px rgba(45,107,224,.35); }
.check-item .ci svg { width: 15px; height: 15px; }
.check-item h4 { font-family: 'Calibri', 'Trebuchet MS', sans-serif; color: var(--navy); font-size: 1.05rem; margin-bottom: 5px; }
.check-item p { color: var(--muted); font-size: .94rem; }

/* layered media (split image with offset accent) */
.media-stack { position: relative; }
.media-stack::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-soft), #dbe7ff); z-index: 0; }
.media-stack .about-img, .media-stack .placeholder-img { position: relative; z-index: 1; }

/* Full-width section photo: fills the column at the image's native ratio (no crop/warp) */
.svc-photo { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* Shrink-to-content photo frame: hugs portrait photos so they show in full, no crop/warp */
.photo-frame { position: relative; width: 100%; max-width: 360px; margin: 0 auto; }
.photo-frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-soft), #dbe7ff); z-index: 0; }
.photo-frame .about-img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }

/* "What We Provide" image cards */
.provide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.provide-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.provide-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.provide-media { position: relative; height: 200px; }
.provide-media .placeholder-img { width: 100%; height: 100%; border-radius: 0; aspect-ratio: auto; }
.provide-media img { width: 100%; height: 100%; object-fit: cover; }
.pc-icon { position: absolute; left: 22px; bottom: -25px; width: 52px; height: 52px; border-radius: 15px; background: var(--surface-dark); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); border: 3px solid #fff; z-index: 2; }
.pc-icon svg { width: 24px; height: 24px; }
.provide-card:hover .pc-icon { background: var(--blue); }
.provide-body { padding: 40px 26px 30px; }
.provide-body h3 { color: var(--navy); font-size: 1.18rem; margin-bottom: 10px; }
.provide-body p { color: var(--muted); font-size: .95rem; }
@media (max-width: 1024px) { .provide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .provide-grid { grid-template-columns: 1fr; } }

/* ============================================================
   OH&S interactive pillars
   ============================================================ */
.ohs { background: var(--sky); }
.ohs-orbit {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px) 1fr;
  grid-template-rows: auto auto;
  gap: 30px 48px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.ohs-node[data-pos="1"] { grid-column: 1; grid-row: 1; }
.ohs-node[data-pos="2"] { grid-column: 1; grid-row: 2; }
.ohs-node[data-pos="3"] { grid-column: 3; grid-row: 1; }
.ohs-node[data-pos="4"] { grid-column: 3; grid-row: 2; }

.ohs-node {
  display: flex; align-items: center; gap: 15px;
  width: 100%; text-align: left;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 16px; padding: 18px 20px;
  cursor: pointer; font: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.ohs-node[data-side="left"] { flex-direction: row-reverse; text-align: right; }
.ohs-node:hover { border-color: var(--blue-bright); transform: translateY(-3px); }
.ohs-node.active { border-color: var(--blue); box-shadow: 0 16px 38px rgba(45, 107, 224, .20); transform: translateY(-3px); }

.ohs-node-ic {
  width: 48px; height: 48px; flex: none; border-radius: 13px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; transition: background .3s var(--ease), color .3s var(--ease);
}
.ohs-node-ic svg { width: 25px; height: 25px; }
.ohs-node.active .ohs-node-ic { background: var(--blue); color: #fff; }
.ohs-node-tx strong { display: block; color: var(--navy); font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: 1.02rem; }
.ohs-node-tx em { display: block; font-style: normal; color: var(--muted); font-size: .87rem; line-height: 1.55; margin-top: 5px; }

.ohs-core { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.ohs-emblem { position: relative; width: 200px; height: 200px; display: grid; place-items: center; }
.ohs-shield { width: 100%; height: 100%; overflow: visible; }
.ohs-shield .r1, .ohs-shield .r2 { fill: none; stroke: var(--blue); opacity: .16; transform-origin: 80px 80px; }
.ohs-shield .r1 { stroke-width: 1.5; animation: ohsPulse 3.2s var(--ease) infinite; }
.ohs-shield .r2 { stroke-width: 1.5; opacity: .26; animation: ohsPulse 3.2s var(--ease) infinite .6s; }
.ohs-shield .sh { fill: var(--blue); }
.ohs-shield .plus { stroke: #fff; stroke-width: 11; stroke-linecap: round; }
@keyframes ohsPulse {
  0%   { transform: scale(.82); opacity: .35; }
  70%  { transform: scale(1.08); opacity: 0; }
  100% { transform: scale(1.08); opacity: 0; }
}
.ohs-badge {
  position: absolute; right: 14px; bottom: 14px;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--surface-dark); color: #fff;
  display: grid; place-items: center;
  border: 3px solid #fff; box-shadow: var(--shadow-md);
  transform: scale(0); transition: transform .35s var(--ease);
}
.ohs-badge.show { transform: scale(1); }
.ohs-badge svg { width: 24px; height: 24px; }
.ohs-core-label { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 800; color: var(--navy); font-size: 1.1rem; margin-top: 8px; }
.ohs-core-sub { color: var(--muted); font-size: .85rem; }

@media (max-width: 860px) {
  .ohs-orbit { grid-template-columns: 1fr; grid-template-rows: none; gap: 18px; max-width: 460px; }
  .ohs-core { order: -1; margin-bottom: 10px; }
  .ohs-node[data-pos] { grid-column: 1; grid-row: auto; }
  .ohs-node[data-side="left"] { flex-direction: row; text-align: left; }
}

/* ============================================================
   MyPersonalHealthPlan page
   ============================================================ */
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-soft); transform: translateY(-2px); }

.narrow-intro { max-width: 820px; }
.lede-center { text-align: center; color: var(--muted); font-size: 1.05rem; max-width: 760px; margin: 28px auto 0; }

/* Underwriter co-brand strip */
.mphp-partner { background: #fff; border-bottom: 1px solid var(--line); padding: 36px 0; }
.mphp-partner-inner { display: flex; align-items: center; justify-content: center; }
.mphp-partner-logo { height: 64px; width: auto; max-width: 100%; object-fit: contain; }

/* Plan cards (image overlay) */
.mphp-plans { background: var(--sky); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.plan-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.plan-media { height: 180px; position: relative; }
.plan-media .placeholder-img { width: 100%; height: 100%; border-radius: 0; aspect-ratio: auto; }
.plan-media img { width: 100%; height: 100%; object-fit: cover; }
.plan-body { padding: 30px 26px 28px; position: relative; flex: 1; display: flex; flex-direction: column; }
.plan-ic { position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); border: 3px solid #fff; }
.plan-ic svg { width: 25px; height: 25px; }
.plan-body h3 { color: var(--navy); font-size: 1.25rem; margin: 12px 0 10px; }
.plan-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.plan-link { margin-top: 16px; color: var(--blue); font-weight: 600; font-size: .92rem; text-decoration: none; display: inline-flex; gap: 7px; transition: gap .25s var(--ease); }
.plan-link:hover { gap: 12px; }

/* The Perks — numbered cards */
.perk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.perk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.perk-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.perk-num { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 800; font-size: 2rem; color: var(--blue); opacity: .35; line-height: 1; }
.perk-card h3 { color: var(--navy); font-size: 1.12rem; margin: 12px 0 10px; }
.perk-card p { color: var(--muted); font-size: .93rem; }

/* How it works — modules */
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.module { text-align: center; }
.mod-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin: 0 auto 16px; }
.mod-ic.required { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(45,107,224,.32); }
.mod-ic svg { width: 28px; height: 28px; }
.module h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 8px; }
.mod-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.mod-tag.optional { color: var(--muted); background: #eef1f6; }
.module p { color: var(--muted); font-size: .9rem; }

/* Featured quote */
.mphp-quote { max-width: 820px; margin: 0 auto; text-align: center; }
.mphp-quote-mark { width: 56px; height: 56px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin: 0 auto 24px; }
.mphp-quote-mark svg { width: 28px; height: 28px; }
.mphp-quote blockquote { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--navy); font-weight: 600; }
.mphp-quote figcaption { margin-top: 24px; }
.mphp-quote figcaption strong { display: block; color: var(--navy); font-size: 1.05rem; }
.mphp-quote figcaption span { color: var(--muted); font-size: .92rem; }

@media (max-width: 1024px) {
  .plan-grid, .perk-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
}
@media (max-width: 640px) {
  .plan-grid, .perk-grid, .module-grid { grid-template-columns: 1fr; }
}

/* MyPersonalHealthPlan testimonials carousel */
.mphp-tcar { max-width: 920px; margin: 44px auto 0; }
/* stage: all slides occupy the same grid cell, so the card is always as tall as the
   longest review and never resizes when switching people */
.mphp-feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 44px; display: grid; min-height: 280px; }
.mphp-slide { grid-area: 1 / 1; display: flex; gap: 38px; align-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.mphp-slide.active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mf-photo { width: 170px; height: 170px; flex: none; border-radius: 50%; overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.mf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mf-initials { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--surface-dark)); color: #fff; font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 800; font-size: 2.6rem; }
.mf-body { margin: 0; }
.mf-body blockquote { font-size: 1.02rem; line-height: 1.75; color: var(--text); margin: 0; }
.mf-body figcaption { margin-top: 20px; }
.mf-body figcaption strong { display: block; color: var(--navy); font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-size: 1.08rem; }
.mf-body figcaption span { color: var(--muted); font-size: .92rem; }

.mphp-tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.mphp-tab { display: flex; align-items: center; gap: 11px; background: none; border: none; cursor: pointer; padding: 12px 16px; border-bottom: 2px solid transparent; opacity: .45; transition: opacity .25s var(--ease), background .25s var(--ease); font: inherit; border-radius: 10px 10px 0 0; }
.mphp-tab:hover { opacity: .85; background: var(--sky); }
.mphp-tab.active { opacity: 1; border-bottom-color: var(--blue); }
.mt-av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; position: relative; flex: none; }
.mt-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-initials { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--surface-dark)); color: #fff; font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: .82rem; }
.mt-tx { text-align: left; line-height: 1.25; }
.mt-tx strong { display: block; color: var(--navy); font-size: .86rem; }
.mt-tx span { color: var(--muted); font-size: .76rem; }

@media (max-width: 680px) {
  .mphp-feature { padding: 32px 24px; }
  .mphp-slide { flex-direction: column; text-align: center; }
  .mphp-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; }
  .mphp-tab { flex: none; }
}

/* Cross-link callout (e.g. Employee Benefits → MyPersonalHealthPlan) */
.xlink-section { padding-top: 0; }
.xlink { display: flex; align-items: center; gap: 26px; background: var(--blue-soft); border: 1px solid #d7e3fb; border-radius: var(--radius); padding: 30px 34px; }
.xlink-ic { width: 60px; height: 60px; flex: none; border-radius: 16px; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); }
.xlink-ic svg { width: 30px; height: 30px; }
.xlink-tx { flex: 1; }
.xlink-tx h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 6px; }
.xlink-tx p { color: var(--muted); font-size: .95rem; margin: 0; }
.xlink .btn { flex: none; }
@media (max-width: 760px) { .xlink { flex-direction: column; text-align: center; align-items: center; } }

/* directional reveals */
.reveal-left { opacity: 0; transform: translateX(-44px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(44px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-zoom { opacity: 0; transform: scale(.93); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-left.in, .reveal-right.in, .reveal-zoom.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .svc-split, .svc-split.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .outcome-grid { grid-template-columns: 1fr; gap: 20px; }
  .svc-intro, .svc-features, .svc-outcomes { padding: 56px 0; }
  .page-hero { padding: 150px 0 70px; }
}

/* ============ PROCESS (engaging stepper) ============ */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 46px; }
.steps::before {
  content: ""; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px; z-index: 0;
  background: linear-gradient(90deg, rgba(79,139,255,.25), var(--blue-bright), rgba(79,139,255,.25));
}
.step {
  position: relative; z-index: 1; text-align: center;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 30px 22px 28px; transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.step:hover { transform: translateY(-6px); border-color: var(--blue-bright); background: rgba(255,255,255,.08); }
.step-badge {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright)); color: #fff;
  display: grid; place-items: center; font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 800; font-size: 1.25rem;
  box-shadow: 0 12px 26px rgba(45,107,224,.5); border: 4px solid var(--navy);
}
.step-ic { color: var(--blue-bright); margin-bottom: 10px; height: 30px; }
.step-ic svg { width: 30px; height: 30px; }
.step h3 { color: #fff; font-size: 1.08rem; margin-bottom: 10px; transition: color .3s; }
.step p { color: rgba(255,255,255,.72); font-size: .92rem; }
.step { cursor: pointer; }
.steps-fill {
  position: absolute; top: 58px; left: 12%; height: 2px; width: 0; z-index: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  box-shadow: 0 0 12px rgba(79,139,255,.7); transition: width .6s var(--ease);
}
.step .step-badge { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.step.active { border-color: var(--blue-bright); background: rgba(79,139,255,.12); transform: translateY(-8px); }
.step.active .step-badge { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(79,139,255,.22), 0 14px 30px rgba(45,107,224,.65); }
.step.active .step-ic { color: #fff; }
.step.active h3 { color: var(--blue-bright); }
.step-ic { transition: color .3s, transform .35s var(--ease); }
.step.active .step-ic { transform: translateY(-2px) scale(1.08); }

/* ============ STATS BAND ============ */
.stats-band { position: relative; overflow: hidden; color: #fff; padding: 84px 0; background: linear-gradient(120deg, var(--surface-dark) 0%, var(--navy-3) 55%, var(--navy-2) 140%); }
.stats-band::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(15,16,19,.86) 0%, rgba(15,16,19,.72) 55%, rgba(15,16,19,.86) 100%); }
.stats-band .container { position: relative; z-index: 2; }
.stats-band .eyebrow-blue { color: var(--blue-bright); }
.stats-band h2 { color: #fff; }
.stats-band h2 .accent { color: var(--blue-bright); }
.stats-band .section-lead { color: rgba(255,255,255,.72); }

/* faded photo backdrop for dark bands (CTA), fades in on scroll */
.band-photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: var(--bg-pos, center right); background-repeat: no-repeat;
  opacity: 0; transition: opacity 1.5s var(--ease); will-change: opacity;
}
.band-photo.in { opacity: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 40px; }
.stat {
  text-align: center; padding: 32px 18px 26px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); backdrop-filter: blur(6px); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.stat::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--ease);
}
.stat:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,.35); border-color: rgba(79,139,255,.4); background: rgba(255,255,255,.11); }
.stat:hover::before { transform: scaleX(1); }
.stat-ic {
  width: 46px; height: 46px; border-radius: 13px; background: var(--blue); color: #fff;
  display: grid; place-items: center; margin: 0 auto 18px; transition: transform .35s var(--ease);
}
.stat-ic svg { width: 23px; height: 23px; }
.stat:hover .stat-ic { transform: scale(1.1) rotate(-4deg); }
.stat-num { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; color: #fff; }
.stat-num .accent { color: var(--blue-bright); }
.stat-label { color: rgba(255,255,255,.68); margin-top: 10px; font-size: .88rem; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 560px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* ============ LEAD CAPTURE MODAL ============ */
.lead-overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(28,29,33,.55); backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lead-overlay.open { opacity: 1; visibility: visible; }
.lead-modal {
  background: #fff; border-radius: 20px; width: min(660px, 100%); max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.97); transition: transform .35s var(--ease);
}
.lead-overlay.open .lead-modal { transform: none; }
.lead-head { padding: 26px 30px 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lead-head .eyebrow { color: var(--navy); margin-bottom: 8px; }
.lead-head h3 { font-size: 1.35rem; }
.lead-head p { color: var(--muted); font-size: .9rem; margin-top: 5px; }
.lead-close { background: var(--sky); border: none; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--navy); flex-shrink: 0; display: grid; place-items: center; transition: background .2s; }
.lead-close:hover { background: var(--chip); }
.lead-progress { height: 4px; background: var(--line); margin: 0 30px; border-radius: 2px; overflow: hidden; }
.lead-progress-bar { height: 100%; width: 33%; background: linear-gradient(90deg, var(--blue), var(--blue-bright)); transition: width .4s var(--ease); }
.lead-body { padding: 24px 30px 30px; }
.lead-step { display: none; }
.lead-step.active { display: block; animation: leadFade .4s var(--ease); }
@keyframes leadFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lead-q { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; }
.lead-hint { color: var(--muted); font-size: .86rem; margin-bottom: 18px; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 600; font-size: .92rem; color: var(--text); }
.opt:hover { border-color: var(--blue); background: var(--sky); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .box { width: 22px; height: 22px; border: 2px solid var(--line); border-radius: 6px; flex-shrink: 0; display: grid; place-items: center; transition: .2s; }
.opt input:checked + .box { background: var(--blue); border-color: var(--blue); }
.opt input:checked + .box::after { content: "✓"; color: #fff; font-size: .8rem; font-weight: 700; }
.opt:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.lead-fields { display: grid; gap: 16px; }
.lead-fields .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-fields label { display: flex; flex-direction: column; gap: 7px; font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 600; font-size: .86rem; color: var(--navy); }
.lead-fields input, .lead-fields select, .lead-fields textarea { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-size: .95rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--sky); color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s; }
.lead-fields input:focus, .lead-fields select:focus, .lead-fields textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(45,107,224,.12); }
/* booking (Google Meet style) */
.meet-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-soft); color: var(--navy); font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: .85rem; padding: 8px 14px; border-radius: 999px; margin-bottom: 20px; }
.meet-badge span[data-icon] { display: inline-grid; place-items: center; color: var(--blue); }
.meet-badge svg { width: 18px; height: 18px; }
.book-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 24px; }
.day-chip { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .2s; font-family: 'Calibri', 'Trebuchet MS', sans-serif; color: var(--navy); }
.day-chip:hover { border-color: var(--blue); transform: translateY(-2px); }
.day-chip.active { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(45,107,224,.3); }
.dc-wd { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.dc-dn { font-size: 1.3rem; font-weight: 800; line-height: 1.1; }
.dc-mo { font-size: .7rem; opacity: .85; }
.slot-label { display: flex; align-items: center; gap: 7px; font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: .92rem; color: var(--navy); margin-bottom: 14px; }
.slot-label .sl-ic { display: inline-grid; place-items: center; color: var(--blue); }
.slot-label .sl-ic svg { width: 17px; height: 17px; }
.slot-label #slotDayLabel { color: var(--muted); font-weight: 500; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot { padding: 14px 6px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--sky); cursor: pointer; font-family: 'Calibri', 'Trebuchet MS', sans-serif; color: var(--navy); transition: border-color .2s, background .2s, color .2s; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.slot-window { font-weight: 700; font-size: .92rem; }
.slot-hint { font-weight: 500; font-size: .76rem; color: var(--muted); }
.slot:hover { border-color: var(--blue); background: #fff; }
.slot.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(45,107,224,.32); }
.slot.active .slot-hint { color: rgba(255,255,255,.75); }
@media (max-width: 860px) {
  .book-days { grid-template-columns: repeat(3, 1fr); }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
}

.lead-note { display: flex; gap: 10px; align-items: flex-start; background: var(--blue-soft); border-radius: 12px; padding: 14px 16px; font-size: .86rem; color: var(--navy); }
.lead-note span[data-icon] { display: inline-grid; place-items: center; }
.lead-note svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; margin-top: 1px; }
.lead-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.lead-foot .btn { padding: 12px 24px; }
.btn-text { background: none; color: var(--muted); padding: 12px 14px; border: none; cursor: pointer; font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: .92rem; }
.btn-text:hover { color: var(--navy); }
.lead-success { text-align: center; padding: 20px 0 6px; }
.lead-success .check { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.lead-success .check svg { width: 36px; height: 36px; }
.lead-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.lead-success p { color: var(--muted); max-width: 380px; margin: 0 auto; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .stat { border-left: none; }
  .opt-grid { grid-template-columns: 1fr; }
  .lead-fields .row2 { grid-template-columns: 1fr; }
  .lead-head, .lead-body { padding-left: 22px; padding-right: 22px; }
  .lead-progress { margin: 0 22px; }
}

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .team-grid.advisors { grid-template-columns: repeat(3, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-media { max-width: 420px; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  /* shrink the wide logo so the theme switch + hamburger fit on phones */
  .header-inner { gap: 12px; }
  .brand-logo { height: 60px; }
  .site-header.scrolled .brand-logo { height: 52px; }
  .section { padding: 64px 0; }
  .process-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .team-grid, .team-grid.advisors { grid-template-columns: repeat(2, 1fr); }
  /* keep the president's card visually featured, not shrunk to a grid cell */
  .team-lead .team-card { max-width: 66%; }
  .hero-stats { gap: 26px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-badge { right: 0; bottom: -16px; padding: 16px 18px; }
  .cta-inner { padding: 50px 24px; }
}


/* ============================================================
   Interactive working process (rail + detail stage)
   A left rail of numbered steps + a right detail panel — professional
   consulting-firm layout: clean, calm, and easy to scan.
   ============================================================ */
.proc { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 40px; align-items: start; }
.proc-rail { display: flex; flex-direction: column; gap: 10px; }
.proc-step {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 16px; text-align: left;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 20px; cursor: pointer; color: var(--text); font: inherit;
  box-shadow: var(--shadow-sm);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.proc-step:hover { border-color: rgba(45,107,224,.35); transform: translateX(3px); }
.proc-step.active { background: var(--blue-soft); border-color: var(--blue); box-shadow: var(--shadow-md); }
.ps-num { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--line); width: 32px; flex: none; transition: color .25s; }
.proc-step.active .ps-num { color: var(--blue); }
.ps-tx { display: flex; flex-direction: column; gap: 2px; }
.ps-tx strong { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: 1rem; color: var(--navy); transition: color .25s; }
.proc-step.active .ps-tx strong { color: var(--navy); }
.ps-tx em { font-style: normal; font-size: .82rem; color: var(--muted); transition: color .25s; }
.proc-step.active .ps-tx em { color: var(--blue); }

.proc-stage { position: relative; display: grid; }
.proc-card {
  grid-area: 1 / 1;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 40px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.proc-card.active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.pc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pc-ic { width: 54px; height: 54px; flex: none; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(45,107,224,.4); }
.pc-ic svg { width: 28px; height: 28px; }
.pc-step { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.proc-card h3 { color: var(--navy); font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: 12px; }
.proc-card > p { color: var(--muted); font-size: .98rem; line-height: 1.7; margin-bottom: 26px; }
.pc-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; }
.pc-do h4, .pc-get h4 { color: var(--navy); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; opacity: .55; margin-bottom: 14px; }
.pc-do ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.pc-do li { position: relative; padding-left: 24px; color: var(--text); font-size: .92rem; line-height: 1.5; }
.pc-do li::before { content: ""; position: absolute; left: 2px; top: 3px; width: 7px; height: 12px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pc-get p { color: var(--navy); font-size: .92rem; line-height: 1.6; background: var(--blue-soft); border-left: 3px solid var(--blue); border-radius: 8px; padding: 14px 16px; margin: 0; }

/* desktop: a connector line turns the rail into a visible sequence */
@media (min-width: 861px) {
  .proc-rail { position: relative; }
  .proc-rail::before {
    content: ""; position: absolute; left: 36px; top: 26px; bottom: 26px; width: 2px;
    background: var(--line); z-index: 0;
  }
  .proc-step { z-index: 1; }
}

/* mobile: accordion — the detail panel slots in under the active step
   instead of living in a separate horizontally-scrolling rail */
@media (max-width: 860px) {
  .proc { grid-template-columns: 1fr; gap: 0; }
  .proc-rail { flex-direction: column; gap: 12px; overflow: visible; padding-bottom: 0; }
  .proc-step { flex: initial; min-width: 0; width: 100%; }
  .proc-stage { display: block; margin: 12px 0; }
  .proc-card {
    grid-area: auto; display: none; padding: 26px 22px;
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    animation: procIn .4s var(--ease);
  }
  .proc-card.active { display: block; }
  .pc-cols { grid-template-columns: 1fr; gap: 22px; }
}
@keyframes procIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============ PROCESS B — Cinematic ============ */
.proc-b { position: relative; overflow: hidden; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 460px; display: flex; flex-direction: column; }
.pb-bignum { position: absolute; top: -28px; right: -12px; font-size: 300px; font-weight: 800; color: rgba(28,29,33,.04); line-height: 1; pointer-events: none; user-select: none; font-family: 'Calibri', 'Trebuchet MS', sans-serif; letter-spacing: -0.05em; transition: opacity .28s ease; z-index: 0; }
.pb-content { padding: 52px 60px 36px; position: relative; z-index: 1; transition: opacity .28s ease, transform .28s ease; flex: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.pb-top { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.pb-icon { width: 52px; height: 52px; background: var(--blue); border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.pb-icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; }
.pb-step-label { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.pb-title { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--navy); line-height: 1.08; margin-bottom: 14px; }
.pb-body { font-size: .97rem; color: var(--muted); line-height: 1.68; margin-bottom: 32px; max-width: 560px; }
.pb-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.pb-col-label { font-size: 9px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; margin-bottom: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.pb-do { list-style: none; padding: 0; margin: 0; }
.pb-do li { color: var(--text); font-size: .93rem; margin-bottom: 11px; display: flex; gap: 14px; align-items: baseline; line-height: 1.45; }
.pb-do-num { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-size: 10px; font-weight: 700; color: var(--navy); flex-shrink: 0; letter-spacing: .04em; min-width: 18px; }
.pb-get-card { padding: 20px 24px; background: var(--blue-soft); border: 1px solid rgba(45,107,224,.22); border-radius: 14px; border-top: 3px solid var(--blue); border-top-left-radius: 0; border-top-right-radius: 0; }
.pb-get-card, .pb-get-card p { font-size: 1.12rem; color: var(--navy); line-height: 1.55; font-weight: 600; font-family: 'Calibri', 'Trebuchet MS', sans-serif; }
.pb-progress { height: 2px; background: var(--line); }
.pb-progress-fill { height: 2px; background: var(--blue); width: 100%; transform: scaleX(0); transform-origin: left center; }
@keyframes pbFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pb-footer { display: flex; align-items: center; justify-content: space-between; padding: 18px 52px 28px; position: relative; z-index: 1; }
.pb-arrows { display: flex; gap: 20px; }
.pb-arrow { background: transparent; border: none; color: var(--muted); cursor: pointer; font-size: 22px; padding: 0; line-height: 1; transition: color .2s, transform .2s; }
.pb-arrow:hover { color: var(--navy); }
.pb-arrow#pbPrev:hover { transform: translateX(-3px); }
.pb-arrow#pbNext:hover { transform: translateX(3px); }
.pb-dots { display: flex; gap: 8px; align-items: center; }
.pb-dot { width: 8px; height: 8px; border-radius: 4px; border: none; background: var(--line); cursor: pointer; transition: width .3s ease, background .3s ease; padding: 0; flex-shrink: 0; }
.pb-dot.active { width: 28px; background: var(--blue); }
.pb-dot:hover:not(.active) { background: rgba(45,107,224,.35); }
@media (max-width: 760px) {
  .proc-b { height: auto; }
  .pb-content { padding: 28px 22px 20px; flex: none; }
  .pb-footer { padding: 14px 22px 20px; }
  .pb-bignum { font-size: 120px; top: -8px; right: 0; opacity: .6; }
  .pb-cols { grid-template-columns: 1fr; gap: 16px; }
  .pb-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .pb-body { margin-bottom: 20px; }
}

/* ============================================================
   MyPersonalHealthPlan — Assured Access subhead + Other Options tabs
   ============================================================ */
.svc-subhead { font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; color: var(--navy); font-size: 1.05rem; margin: 20px 0 4px; }

.mphp-other { background: var(--sky); }
.opt-tabs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.opt-tab {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 14px 22px; cursor: pointer; font: inherit;
  font-family: 'Calibri', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: .95rem; color: var(--muted);
  box-shadow: var(--shadow-sm); transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.opt-tab:hover { border-color: var(--blue-bright); color: var(--navy); transform: translateY(-2px); }
.opt-tab.active { border-color: var(--blue); color: var(--blue); }
.opt-tab-ic { display: grid; place-items: center; width: 22px; height: 22px; color: var(--navy); transition: color .25s; }
.opt-tab-ic svg { width: 20px; height: 20px; }
.opt-tab:hover .opt-tab-ic, .opt-tab.active .opt-tab-ic { color: var(--blue); }

.opt-stage { position: relative; display: grid; max-width: 860px; margin: 0 auto; }
.opt-card {
  grid-area: 1 / 1;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 40px;
  opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.opt-card.active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.opt-card h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 14px; }
.opt-card p { color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.opt-list { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 20px 0 28px; }
.opt-list li { position: relative; padding-left: 34px; color: var(--text); line-height: 1.5; }
.opt-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); }
.opt-list li::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

@media (max-width: 600px) {
  .opt-card { padding: 28px 24px; }
  .opt-tab { padding: 12px 16px; font-size: .88rem; }
}

/* ── Tier Cards (Retiree Silver/Gold/Platinum & GA scenarios) ── */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier-card { border-radius: 16px; padding: 28px 30px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.tier-card.tier-blue { background: rgba(45,107,224,.07); border: 1px solid rgba(45,107,224,.18); }
.tier-card.tier-warm { background: rgba(220,120,60,.07); border: 1px solid rgba(220,120,60,.18); }
.tier-card.tier-yellow { background: rgba(180,180,40,.07); border: 1px solid rgba(180,180,40,.18); }

/* sequential tier glow: silver -> gold -> platinum, looping */
.tier-card.tier-blue { animation: tier-glow-blue 9s ease-in-out infinite; }
.tier-card.tier-warm { animation: tier-glow-warm 9s ease-in-out infinite; }
.tier-card.tier-yellow { animation: tier-glow-yellow 9s ease-in-out infinite; }

@keyframes tier-glow-blue {
  0%, 33%, 100% { box-shadow: 0 0 0 0 rgba(45,107,224,0); border-color: rgba(45,107,224,.18); transform: translateY(0); }
  8% { box-shadow: 0 0 34px 6px rgba(45,107,224,.35); border-color: rgba(45,107,224,.55); transform: translateY(-5px); }
  25% { box-shadow: 0 0 0 0 rgba(45,107,224,0); border-color: rgba(45,107,224,.18); transform: translateY(0); }
}
@keyframes tier-glow-warm {
  0%, 33%, 100% { box-shadow: 0 0 0 0 rgba(220,120,60,0); border-color: rgba(220,120,60,.18); transform: translateY(0); }
  41% { box-shadow: 0 0 34px 6px rgba(220,120,60,.35); border-color: rgba(220,120,60,.55); transform: translateY(-5px); }
  58% { box-shadow: 0 0 0 0 rgba(220,120,60,0); border-color: rgba(220,120,60,.18); transform: translateY(0); }
}
@keyframes tier-glow-yellow {
  0%, 66%, 100% { box-shadow: 0 0 0 0 rgba(180,150,20,0); border-color: rgba(180,180,40,.18); transform: translateY(0); }
  74% { box-shadow: 0 0 34px 6px rgba(180,150,20,.35); border-color: rgba(180,150,20,.55); transform: translateY(-5px); }
  91% { box-shadow: 0 0 0 0 rgba(180,150,20,0); border-color: rgba(180,180,40,.18); transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .tier-card.tier-blue, .tier-card.tier-warm, .tier-card.tier-yellow { animation: none; }
}
.tier-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy); padding-bottom: 14px; border-bottom: 1px solid rgba(0,0,0,.09); margin: 0; line-height: 1.4; }
.tier-badge { display: inline-flex; align-self: flex-start; padding: 3px 12px; border-radius: 99px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(45,107,224,.14); color: var(--blue); }
.tier-badge--gold { background: rgba(190,130,30,.16); color: #9a6a10; }
.tier-badge--platinum { background: rgba(100,100,150,.14); color: #555580; }
.tier-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.tier-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: .93rem; line-height: 1.5; }
.tier-list li::before { content: "✓"; color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
/* ── Life Insurance two-column grid ── */
.life-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 16px; }
.life-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); }
.life-card h3 { color: var(--navy); font-size: 1.45rem; }
.life-card p { color: var(--muted); line-height: 1.68; }
/* ── Plan section note ── */
.plan-note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 28px; max-width: 680px; margin-left: auto; margin-right: auto; line-height: 1.6; }

.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scenario-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.scenario-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 0 0 14px; line-height: 1.4; }
@media (max-width: 860px) { .scenario-grid { grid-template-columns: 1fr; } }
/* responsive */
@media (max-width: 860px) { .tier-grid { grid-template-columns: 1fr; } .life-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Mobile framing for background photos
   Desktop keeps --bg-pos (default center right). On phones we re-center
   so the subject stays in view; tune per image with --bg-pos-m inline.
   ============================================================ */
@media (max-width: 760px) {
  .hero-slide,
  .band-photo,
  .page-hero .hero-photo { background-position: var(--bg-pos-m, center center); }
  /* mobile has plenty of natural crop room from a landscape source — drop any desktop zoom override so the image covers cleanly with no repeat */
  .hero-slide { background-size: cover; }
}

/* ============ MOBILE POLISH ============ */
@media (max-width: 640px) {
  /* outcome cards: tighter padding so text isn't squeezed into a narrow column */
  .outcome-grid > div { padding: 30px 24px 28px; min-height: 0; }
  .outcome-grid > div::before { font-size: 3.4rem; right: 16px; }
  .outcome-grid .num { font-size: .92rem; padding: 8px 18px; margin-bottom: 16px; }
  .outcome-grid > div p { font-size: .98rem; }

  /* stats band */
  .stats-band { padding: 68px 0; }
  /* 5 stats in a 2-col grid leaves one orphan — let it span the full row */
  .stats-grid .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stat { padding: 26px 14px 22px; }
  .stat-ic { width: 42px; height: 42px; margin-bottom: 14px; }
  .stat-ic svg { width: 21px; height: 21px; }
  .stat-label { font-size: .8rem; margin-top: 8px; }

  /* section rhythm */
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .svc-outcomes { padding: 64px 0; }

  /* client logo marquee */
  .trust-logos { gap: 44px; }
  .trust-logos img { height: 36px; max-width: 118px; }
  .trust-marquee::before, .trust-marquee::after { width: 48px; }

  /* process rail */
  .proc { grid-template-columns: 1fr; }

  /* team */
  .team-card h3 { font-size: 1rem; }
  .team-card .role { font-size: .72rem; }

  /* card photos: the fixed desktop heights crop portrait sources brutally
     once the card is only ~300px wide, so give them more vertical room */
  .provide-media { height: 250px; }
  .plan-media { height: 215px; }
  .mphp-partner-logo { height: auto; width: 100%; max-width: 280px; }
}
