/* =========================================================
   THE ENDURANCE GROUP - SHARED STYLESHEET
   Mobile-first. Breakpoints: 480px / 768px / 1024px.
   ========================================================= */

/* ===== RESET / BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

/* ===== CUSTOM PROPERTIES ===== */
:root {
  /* Brand colors */
  --color-pink: #C45E89;
  --color-pink-dark: #A8466D;
  --color-teal: #65B6AE;
  --color-teal-dark: #4E9A92;
  --color-purple: #704282;
  --color-lavender: #645D69;
  --color-ink: #1A1A1A;
  --color-white: #FFFFFF;

  /* Tints */
  --tint-pink: rgba(196, 94, 137, 0.08);
  --tint-teal: rgba(101, 182, 174, 0.12);
  --tint-purple: rgba(112, 66, 130, 0.07);
  --bg-light: #F8F6F7;
  --border-light: #E7E2E5;

  /* Footer */
  --footer-bg: #1E1722;

  /* Type */
  --font-base: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1100px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-padding: clamp(48px, 8vw, 80px);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --header-height: 76px;
}

/* ===== BASE TYPOGRAPHY ===== */
body {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-base);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-ink);
}

h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.01em; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p { color: var(--color-ink); }

.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--color-lavender);
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-pink);
  margin-bottom: 14px;
}

/* ===== ACCESSIBILITY UTILITIES ===== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--color-purple);
  color: var(--color-white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-teal-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-padding);
}

.section--alt { background: var(--bg-light); }
.section--tint-pink { background: var(--tint-pink); }
.section--tint-teal { background: var(--tint-teal); }
.section--tint-purple { background: var(--tint-purple); }

.section--dark {
  background: var(--color-purple);
  color: var(--color-white);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark p { color: var(--color-white); }
.section--dark .lede { color: rgba(255,255,255,0.85); }

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 600px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* anchor targets shouldn't hide under sticky header */
[id] { scroll-margin-top: calc(var(--header-height) + 12px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--color-pink);
  color: var(--color-white);
  border-color: var(--color-pink);
}
.btn-primary:hover { background: var(--color-pink-dark); border-color: var(--color-pink-dark); }

.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}
.btn-secondary:hover { background: var(--color-ink); color: var(--color-white); }

.section--dark .btn-secondary {
  color: var(--color-white);
  border-color: var(--color-white);
}
.section--dark .btn-secondary:hover { background: var(--color-white); color: var(--color-purple); }

.btn-secondary--teal { color: var(--color-teal-dark); border-color: var(--color-teal); }
.btn-secondary--teal:hover { background: var(--color-teal); color: var(--color-white); }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.btn-group--center { justify-content: center; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-white);
  border-bottom: 1px solid var(--border-light);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-ink);
  white-space: nowrap;
}
.logo-strong { font-weight: 800; }
.logo-img { display: block; height: 40px; width: auto; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  z-index: 210;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--border-light);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.primary-nav.is-open { max-height: 70vh; overflow-y: auto; }

.nav-list {
  display: flex;
  flex-direction: column;
  padding: 8px var(--gutter) 24px;
}
.nav-list a {
  display: block;
  padding: 14px 0;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid var(--border-light);
}
.nav-list li:last-child a { border-bottom: none; }
.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--color-pink); }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    max-height: none;
    overflow: visible;
    border-bottom: none;
    background: transparent;
  }
  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
  }
  .nav-list a {
    padding: 8px 0;
    border-bottom: none;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.85);
  padding-block: var(--section-padding) 32px;
}
.site-footer h3, .site-footer p { color: var(--color-white); }

.footer-top {
  margin-bottom: 48px;
}
.footer-top .logo { color: var(--color-white); }
.site-footer .logo-img { filter: brightness(0) invert(1); height: 36px; }
.footer-tagline { margin-top: 16px; font-size: 17px; color: rgba(255,255,255,0.85); max-width: 480px; }
.footer-address { margin-top: 12px; color: rgba(255,255,255,0.65); font-size: 15px; }

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 600px) {
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-columns { grid-template-columns: repeat(4, 1fr); }
}

.footer-columns h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  margin-bottom: 16px;
}
.footer-columns li { margin-bottom: 10px; }
.footer-columns a { font-size: 15px; color: rgba(255,255,255,0.75); }
.footer-columns a:hover { color: var(--color-white); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.footer-copyright {
  margin-top: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-copyright a { color: rgba(255,255,255,0.65); text-decoration: underline; }
.footer-copyright a:hover { color: var(--color-white); }

.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.65); display: inline-flex; }
.footer-social a:hover { color: var(--color-teal); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-image: url('../images/hero-pattern.svg');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: min(560px, 70vw) auto;
}
.hero--page .eyebrow { margin-bottom: 16px; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 0; font-size: clamp(17px, 2vw, 21px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 32px;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}

.hero-intro-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(26,26,26,0.18);
}
.hero-intro-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 48px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}
.trust-strip span {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-lavender);
}
.trust-strip-label {
  flex-basis: 100%;
  text-align: center;
  margin-bottom: 4px;
}
.trust-strip img {
  height: 80px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.trust-strip img:hover {
  filter: none;
  opacity: 1;
}

/* ===== SECTION LABEL (small uppercase kicker above subsections) ===== */
.section-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-lavender);
  margin-bottom: 20px;
}

/* ===== HERO DIVIDER ===== */
.hero-divider {
  width: 48px;
  height: 3px;
  background: var(--color-pink);
  border-radius: 2px;
  margin-top: 28px;
  border: none;
}

/* ===== SPECIALTY GRID (functional specialties) ===== */
.specialty-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .specialty-grid { grid-template-columns: repeat(3, 1fr); }
}
.specialty-card {
  padding: 32px;
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.specialty-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -16px rgba(31, 26, 29, 0.25);
}
.specialty-card--featured {
  background: var(--tint-pink);
  border-color: rgba(196, 94, 137, 0.35);
}
.specialty-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-pink);
  margin-bottom: 14px;
}
.specialty-card h3 { margin-bottom: 12px; }
.specialty-card p { color: var(--color-lavender); }

/* ===== ICON BADGE (reusable icon-in-tinted-square, used on specialty + feature cards) ===== */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.icon-badge svg { width: 20px; height: 20px; }
.icon-badge--pink { background: rgba(196, 94, 137, 0.18); color: var(--color-pink); }
.icon-badge--teal { background: var(--tint-teal); color: var(--color-teal-dark); }
.icon-badge--purple { background: var(--tint-purple); color: var(--color-purple); }

/* ===== FAQ ACCORDION (pricing.html) ===== */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--border-light); }
.faq-item:last-child { border-bottom: 1px solid var(--border-light); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  gap: 16px;
  line-height: 1.35;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--color-pink);
  flex-shrink: 0;
  line-height: 1;
}
details[open] .faq-q::after { content: "−"; }
.faq-a {
  padding: 0 4px 20px;
  color: var(--color-lavender);
  font-size: 16px;
  margin: 0;
}

/* ===== TOOL CAROUSEL (scrolling strip of tool icons, used on solutions.html) ===== */
.tool-carousel-wrap {
  overflow: hidden;
  position: relative;
  margin-top: 24px;
}
.tool-carousel-wrap::before, .tool-carousel-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 64px;
  z-index: 1;
  pointer-events: none;
}
.tool-carousel-wrap::before { left: 0; background: linear-gradient(90deg, var(--color-white), transparent); }
.tool-carousel-wrap::after { right: 0; background: linear-gradient(270deg, var(--color-white), transparent); }
.tool-carousel-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: tool-carousel-scroll 26s linear infinite;
}
.tool-carousel-wrap:hover .tool-carousel-track { animation-play-state: paused; }
.tool-carousel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  width: 100px;
}
.tool-carousel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
}
.tool-carousel-icon svg { width: 28px; height: 28px; }
.tool-carousel-icon img { width: 38px; height: 38px; object-fit: contain; }
.tool-carousel-item span {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-lavender);
  white-space: nowrap;
}
@keyframes tool-carousel-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tool-carousel-track { animation: none; }
  .tool-carousel-wrap { overflow-x: auto; }
}

/* ===== EXAMPLE CALLOUT (sets a concrete example apart from surrounding prose) ===== */
.example-callout {
  background: var(--bg-light);
  border-left: 3px solid var(--color-pink);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 24px 0;
}
.example-callout strong {
  display: block;
  color: var(--color-pink);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

/* ===== POST SCROLLER (horizontal scroll-snap row for browsing all posts quickly) ===== */
.post-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
  margin: 0 -4px;
}
.post-scroller-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.post-scroller-card .eyebrow { margin-bottom: 10px; }
.post-scroller-card h3 { font-size: 16px; line-height: 1.35; margin-bottom: 8px; }
.post-scroller-card p { color: var(--color-lavender); font-size: 13px; flex-grow: 1; }

.post-scroller-wrap { position: relative; }
.post-scroller-nav {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #fff;
  color: var(--color-ink);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(26,26,26,0.10);
  transform: translateY(-50%);
}
.post-scroller-nav:hover { border-color: var(--color-pink); color: var(--color-pink); }
.post-scroller-nav--prev { left: -16px; }
.post-scroller-nav--next { right: -16px; }
@media (min-width: 768px) {
  .post-scroller-nav { display: flex; }
}

/* ===== TAG LIST ===== */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--color-lavender);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
}

/* ===== FEATURE CARDS (what we do / solutions teasers) ===== */
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
}
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { color: var(--color-lavender); }
.feature-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--color-pink);
}
.feature-link:hover { color: var(--color-pink-dark); }

/* number badge used in "three things done well" */
.feature-card .feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tint-pink);
  color: var(--color-pink);
  font-weight: 800;
  margin-bottom: 16px;
}

/* ===== TESTIMONIALS ===== */
.testimonial {
  border-left: 4px solid var(--color-pink);
  background: var(--tint-pink);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 28px 32px;
}
.testimonial-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 14px;
}
.testimonial blockquote {
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-ink);
}
.testimonial blockquote::before { content: "\201C"; }
.testimonial blockquote::after { content: "\201D"; }
.testimonial cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-lavender);
}

.testimonial--nested {
  padding: 20px 24px;
  margin-top: 20px;
}
.testimonial--nested blockquote { font-size: 16px; }

/* compact quote grid ("more from our clients") */
.quote-grid { margin-top: 0; }
.quote-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--color-teal);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.quote-card blockquote { font-size: 15px; line-height: 1.55; }
.quote-card cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  color: var(--color-lavender);
}
.quote-card-logo {
  display: block;
  height: 22px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 12px;
}
/* ===== CASE STUDY CARDS (Success page) ===== */
.case-study-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: 0 2px 6px rgba(26,26,26,0.04);
}
.case-study-card + .case-study-card { margin-top: 24px; }

.case-study-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.case-study-meta span {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-purple);
}
.case-study-meta .divider { color: var(--color-lavender); font-weight: 400; }
.case-study-meta a:hover { text-decoration: underline; }
.case-study-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 14px;
}

.case-study-card p { margin-bottom: 16px; }
.case-study-card p:last-of-type { margin-bottom: 0; }

/* ===== PRICING ===== */
.free-callout {
  border: 2px solid var(--color-teal);
  background: var(--tint-teal);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-bottom: 56px;
}
.free-callout .eyebrow { color: var(--color-teal-dark); }
.free-callout p { max-width: 640px; margin: 16px auto 0; color: var(--color-ink); }

.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.pricing-card h3 { margin-bottom: 16px; }
.pricing-card .price-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}
.pricing-card .price-row .price-label { color: var(--color-lavender); }
.pricing-card .price-row .price-value { font-weight: 700; }
.pricing-card .pricing-scope {
  margin-top: 16px;
  font-weight: 600;
  color: var(--color-purple);
}
.pricing-card .pricing-features {
  margin-top: 16px;
  flex-grow: 1;
}
.pricing-card .pricing-features li {
  font-size: 14px;
  color: var(--color-lavender);
  padding-left: 18px;
  position: relative;
  margin-bottom: 12px;
}
.pricing-card .pricing-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-pink);
}

.maintenance-callout, .sales-callout {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 32px;
}

/* ===== COMING SOON (Commonality placeholder) ===== */
.coming-soon {
  position: relative;
  text-align: center;
  padding-block: calc(var(--section-padding) * 1.4);
  background-image: url('../images/hero-pattern.svg');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: min(560px, 70vw) auto;
}
.coming-soon .eyebrow { display: block; }
.coming-soon p { max-width: 540px; margin: 16px auto 28px; color: var(--color-lavender); }

/* ===== AUTHOR AVATAR ===== */
.author-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-pink), var(--color-purple));
  color: var(--color-white);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  overflow: hidden;
}
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-avatar--sm {
  width: 40px;
  height: 40px;
  font-size: 14px;
}
.author-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}
.author-byline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ===== CATEGORY BADGE (blog taxonomy) ===== */
.category-badge {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-purple);
  background: var(--tint-purple);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  margin-bottom: 16px;
}
.category-badge:hover { color: var(--color-white); background: var(--color-purple); }

/* ===== PROSE (About) ===== */
.prose { max-width: 720px; }
.prose p { margin-bottom: 20px; }
.prose blockquote {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-purple);
  margin-bottom: 20px;
}
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 28px; margin-bottom: 12px; }
.prose ul, .prose ol {
  margin-bottom: 20px;
  padding-left: 22px;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--color-pink); font-weight: 700; }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* =========================================================
   ENGAGEMENT LAYER - scroll reveals, tabs, tool cards,
   pricing examples, success timeline. Added 2026.
   ========================================================= */

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* staggered children - set delays on the kids once the parent is visible */
.reveal--stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal--stagger.is-visible > * { opacity: 1; transform: none; }
.reveal--stagger.is-visible > *:nth-child(1) { transition-delay: 0.00s; }
.reveal--stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal--stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal--stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal--stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal--stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== ANIMATED GRADIENT ACCENT (hero / key sections) ===== */
@keyframes teg-gradient-drift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.gradient-accent {
  position: relative;
  overflow: hidden;
}
.gradient-accent::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 80%;
  background: linear-gradient(120deg, var(--tint-pink), var(--tint-teal), var(--tint-purple), var(--tint-pink));
  background-size: 300% 300%;
  animation: teg-gradient-drift 18s ease infinite;
  filter: blur(60px);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}
.gradient-accent > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .gradient-accent::before { animation: none; }
}

/* ===== CARD HOVER LIFT (shared) ===== */
.feature-card, .pricing-card, .tool-card, .example-card, .case-study-card, .post-scroller-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover, .tool-card:hover, .example-card:hover, .post-scroller-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(26,26,26,0.10);
  border-color: var(--color-pink);
}
.case-study-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(26,26,26,0.10); }

/* ===== INDUSTRY TABS / SWITCHER ===== */
.industry-switcher { margin-bottom: 44px; }

/* mobile: native select for quick jumping */
.industry-select-wrap { position: relative; }
.industry-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 16px 48px 16px 20px;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-ink);
  background: var(--color-white);
  border: 2px solid var(--color-pink);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.industry-select-wrap::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--color-pink);
  border-bottom: 2px solid var(--color-pink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

/* desktop: pill tab bar */
.industry-tablist { display: none; }

@media (min-width: 768px) {
  .industry-select-wrap { display: none; }
  .industry-tablist {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 999px;
  }
  .industry-tab {
    padding: 12px 26px;
    font-weight: 700;
    font-size: 15px;
    color: var(--color-lavender);
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
  }
  .industry-tab:hover { color: var(--color-ink); }
  .industry-tab[aria-selected="true"] {
    background: var(--color-pink);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(196,94,137,0.35);
  }
}

/* panels - only the active one shows; on mobile all show stacked */
.industry-panel[hidden] { display: none; }

.industry-panel-head { margin-bottom: 28px; }
.industry-panel-head .eyebrow { margin-bottom: 10px; }
.industry-panel-lead { color: var(--color-lavender); max-width: 720px; }

.industry-who {
  margin-top: 8px;
  font-size: 15px;
  color: var(--color-lavender);
}
.industry-who strong { color: var(--color-ink); }

/* ===== TOOL / PROJECT CARDS ===== */
.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
}
@media (min-width: 600px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tool-grid { grid-template-columns: repeat(3, 1fr); } }

.tool-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}
.tool-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--tint-teal);
  color: var(--color-teal-dark);
  margin-bottom: 14px;
}
.tool-card-icon svg { width: 24px; height: 24px; }
.tool-card:nth-child(3n+2) .tool-card-icon { background: var(--tint-pink); color: var(--color-pink); }
.tool-card:nth-child(3n+3) .tool-card-icon { background: var(--tint-purple); color: var(--color-purple); }
.tool-card h4 { margin-bottom: 8px; }
.tool-card p { font-size: 14px; color: var(--color-lavender); margin: 0; }

/* ===== PRICING EXAMPLE CARDS ===== */
.example-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 8px;
}
@media (min-width: 600px) { .example-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .example-grid { grid-template-columns: repeat(3, 1fr); } }

.example-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.example-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--tint-pink);
  color: var(--color-pink);
}
.example-card-icon svg { width: 22px; height: 22px; }
.example-card:nth-child(3n+2) .example-card-icon { background: var(--tint-teal); color: var(--color-teal-dark); }
.example-card:nth-child(3n+3) .example-card-icon { background: var(--tint-purple); color: var(--color-purple); }
.example-card h4 { font-size: 16px; }
.example-card p { font-size: 14px; color: var(--color-lavender); margin: 0; }

/* "what's included in Care" icon row */
.care-included {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}
@media (min-width: 600px) { .care-included { grid-template-columns: repeat(2, 1fr); } }
.care-included li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
}
.care-included .care-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--tint-teal);
  color: var(--color-teal-dark);
}
.care-included .care-tick svg { width: 17px; height: 17px; }

/* headline price tag for the "every automation" card */
.price-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-bottom: 8px;
}
.price-headline .price-big {
  font-size: clamp(34px, 6vw, 46px);
  font-weight: 800;
  line-height: 1;
  color: var(--color-ink);
}
.price-headline .price-unit { font-size: 15px; color: var(--color-lavender); font-weight: 600; }

/* ===== SUCCESS TIMELINE ===== */
.case-study-timeline { position: relative; }

@media (min-width: 768px) {
  .case-study-timeline { padding-left: 44px; }
  .case-study-timeline::before {
    content: "";
    position: absolute;
    left: 15px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-pink), var(--color-teal), var(--color-purple));
    border-radius: 2px;
  }
  .case-study-timeline .case-study-card { position: relative; }
  .case-study-timeline .case-study-card::before {
    content: "";
    position: absolute;
    left: -37px; top: 38px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid var(--color-pink);
    box-shadow: 0 0 0 4px var(--bg-light);
  }
  .case-study-timeline .case-study-card:nth-child(3n+2)::before { border-color: var(--color-teal); }
  .case-study-timeline .case-study-card:nth-child(3n+3)::before { border-color: var(--color-purple); }
}

/* accent top-border rotation so stacked cards don't read as identical */
.case-study-card { border-top: 4px solid var(--color-pink); }
.case-study-card:nth-child(3n+2) { border-top-color: var(--color-teal); }
.case-study-card:nth-child(3n+3) { border-top-color: var(--color-purple); }

/* AI CHAT WIDGET below stays last */

/* ===== AI CHAT WIDGET ===== */
.ai-chat-widget {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 300;
}

.ai-chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-purple);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(26,26,26,0.2);
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.ai-chat-toggle:hover { background: var(--color-pink); transform: translateY(-1px); }

.ai-chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(340px, calc(100vw - 40px));
  height: min(460px, calc(100dvh - 140px));
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 28px rgba(26,26,26,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ai-chat-panel[hidden] { display: none; }

@media (max-width: 480px) {
  .ai-chat-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    top: calc(var(--header-height) + 12px);
    width: auto;
    height: auto;
  }
}

.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--color-purple);
  color: var(--color-white);
  font-weight: 700;
  font-size: 14px;
}
.ai-chat-close {
  font-size: 22px;
  line-height: 1;
  padding: 0 4px;
}

.ai-chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-chat-message {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.5;
}
.ai-chat-message--assistant {
  align-self: flex-start;
  background: var(--bg-light);
  color: var(--color-ink);
}
.ai-chat-message--user {
  align-self: flex-end;
  background: var(--color-pink);
  color: var(--color-white);
}
.ai-chat-message--pending { opacity: 0.6; }

.ai-chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border-light);
}
.ai-chat-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 16px;
  background: var(--bg-light);
}
.ai-chat-input:focus {
  outline: none;
  border-color: var(--color-pink);
  background: var(--color-white);
}
.ai-chat-send {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-pink);
  color: var(--color-white);
  font-weight: 700;
  font-size: 14px;
}
.ai-chat-send:hover { background: var(--color-pink-dark); }

/* ===== BEFORE / AFTER BLOCK (how-to-get-started.html) ===== */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  border-radius: 16px;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
  background: var(--border-light);
}
.ba-col { padding: 40px 48px; }
.ba-col--before { background: var(--color-white); }
.ba-col--after { background: rgba(196,94,137,0.07); }
.ba-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.ba-col--before .ba-label { color: var(--color-lavender); }
.ba-col--after .ba-label { color: var(--color-pink); }
.ba-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.ba-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
}
.ba-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}
.ba-col--before .ba-list li::before { content: "✕"; background: var(--bg-light); color: #bbb; }
.ba-col--after .ba-list li::before { content: "✓"; background: var(--color-pink); color: var(--color-white); }
@media (max-width: 640px) {
  .before-after { grid-template-columns: 1fr; }
  .ba-col { padding: 28px 24px; }
}

/* ===== PROCESS TIMELINE (how-to-get-started.html) ===== */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  position: relative;
}
.process-track-line {
  position: absolute;
  top: 31px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border-light);
  pointer-events: none;
  z-index: 0;
}
.process-track-line-fill {
  position: absolute;
  inset: 0;
  background: var(--color-pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.4,0,0.2,1) 0.15s;
}
.process-track.is-visible .process-track-line-fill { transform: scaleX(1); }
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.process-track.is-visible .process-step { opacity: 1; transform: none; }
.process-track.is-visible .process-step:nth-child(1) { transition-delay: 0.05s; }
.process-track.is-visible .process-step:nth-child(2) { transition-delay: 0.28s; }
.process-track.is-visible .process-step:nth-child(3) { transition-delay: 0.52s; }
.process-track.is-visible .process-step:nth-child(4) { transition-delay: 0.76s; }
.process-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: border-color 0.35s ease, background 0.35s ease;
}
.process-icon svg { color: var(--color-lavender); transition: color 0.35s ease; }
.process-track.is-visible .process-step:nth-child(1) .process-icon { border-color: var(--color-pink); background: var(--tint-pink); transition-delay: 0.05s; }
.process-track.is-visible .process-step:nth-child(1) .process-icon svg { color: var(--color-pink); transition-delay: 0.05s; }
.process-track.is-visible .process-step:nth-child(2) .process-icon { border-color: var(--color-pink); background: var(--tint-pink); transition-delay: 0.35s; }
.process-track.is-visible .process-step:nth-child(2) .process-icon svg { color: var(--color-pink); transition-delay: 0.35s; }
.process-track.is-visible .process-step:nth-child(3) .process-icon { border-color: var(--color-pink); background: var(--tint-pink); transition-delay: 0.6s; }
.process-track.is-visible .process-step:nth-child(3) .process-icon svg { color: var(--color-pink); transition-delay: 0.6s; }
.process-track.is-visible .process-step:nth-child(4) .process-icon { border-color: var(--color-pink); background: var(--tint-pink); transition-delay: 0.85s; }
.process-track.is-visible .process-step:nth-child(4) .process-icon svg { color: var(--color-pink); transition-delay: 0.85s; }
.process-step-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.process-step-body p { font-size: 14px; color: var(--color-lavender); line-height: 1.5; }
@media (max-width: 767px) {
  .process-track { grid-template-columns: 1fr; }
  .process-track-line { display: none; }
  .process-step {
    flex-direction: row;
    text-align: left;
    gap: 20px;
    align-items: flex-start;
    padding: 0 0 36px;
  }
  .process-step:last-child { padding-bottom: 0; }
  .process-step::before {
    content: '';
    position: absolute;
    left: 31px;
    top: 64px;
    bottom: 0;
    width: 2px;
    background: var(--border-light);
  }
  .process-step:last-child::before { display: none; }
  .process-icon { margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .process-step { opacity: 1 !important; transform: none !important; transition: none !important; }
  .process-track-line-fill { transition: none !important; transform: scaleX(1) !important; }
  .process-icon, .process-icon svg { transition: none !important; }
}

/* ===== STAT CHIPS (how-to-get-started.html) ===== */
.stat-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
.stat-chip {
  text-align: center;
  padding: 40px 24px;
  border-radius: 14px;
  border: 2px solid var(--border-light);
  background: var(--color-white);
}
.stat-chip-num {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--color-pink);
  line-height: 1.1;
  margin-bottom: 10px;
}
.stat-chip-label { font-size: 14px; color: var(--color-lavender); line-height: 1.4; }
@media (max-width: 640px) {
  .stat-trio { grid-template-columns: 1fr; }
  .stat-chip { padding: 28px 24px; }
}

/* ===== INDUSTRY CREDENTIAL CARDS (about.html) ===== */
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.cred-card {
  background: var(--color-white);
  border: 2px solid var(--border-light);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cred-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(26,26,26,0.10); }
.cred-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cred-card-icon--teal { background: var(--tint-teal); }
.cred-card-icon--teal svg { color: var(--color-teal); }
.cred-card-icon--pink { background: var(--tint-pink); }
.cred-card-icon--pink svg { color: var(--color-pink); }
.cred-card-icon--purple { background: rgba(112,66,130,0.1); }
.cred-card-icon--purple svg { color: var(--color-purple); }
.cred-eyebrow-small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cred-eyebrow-small--teal { color: var(--color-teal); }
.cred-eyebrow-small--pink { color: var(--color-pink); }
.cred-eyebrow-small--purple { color: var(--color-purple); }
.cred-card h3 { font-size: 17px; font-weight: 700; margin: 0; line-height: 1.3; }
.cred-card p { font-size: 14px; color: var(--color-lavender); line-height: 1.6; margin: 0; }
@media (max-width: 767px) { .cred-grid { grid-template-columns: 1fr; } .cred-card { padding: 28px 24px; } }

/* ===== CAREER ARC (about.html) ===== */
.career-split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.career-photo img { width: 100%; border-radius: 20px; object-fit: cover; display: block; aspect-ratio: 3/4; }
.career-arc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-lavender);
  margin-bottom: 40px;
}
.career-nodes { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.career-nodes-line {
  position: absolute;
  top: 27px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: var(--border-light);
  pointer-events: none;
}
.career-nodes-line-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-teal), var(--color-pink), var(--color-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.4,0,0.2,1) 0.25s;
}
.career-split.is-visible .career-nodes-line-fill { transform: scaleX(1); }
.career-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 4px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.career-split.is-visible .career-node { opacity: 1; transform: none; }
.career-split.is-visible .career-node:nth-child(1) { transition-delay: 0.1s; }
.career-split.is-visible .career-node:nth-child(2) { transition-delay: 0.5s; }
.career-split.is-visible .career-node:nth-child(3) { transition-delay: 0.9s; }
.career-node-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: border-color 0.35s ease, background 0.35s ease;
}
.career-node-dot svg { color: var(--color-lavender); transition: color 0.35s ease; }
.career-split.is-visible .career-node:nth-child(1) .career-node-dot { border-color: var(--color-teal); background: var(--tint-teal); transition-delay: 0.1s; }
.career-split.is-visible .career-node:nth-child(1) .career-node-dot svg { color: var(--color-teal); transition-delay: 0.1s; }
.career-split.is-visible .career-node:nth-child(2) .career-node-dot { border-color: var(--color-pink); background: var(--tint-pink); transition-delay: 0.55s; }
.career-split.is-visible .career-node:nth-child(2) .career-node-dot svg { color: var(--color-pink); transition-delay: 0.55s; }
.career-split.is-visible .career-node:nth-child(3) .career-node-dot { border-color: var(--color-purple); background: rgba(112,66,130,0.1); transition-delay: 0.95s; }
.career-split.is-visible .career-node:nth-child(3) .career-node-dot svg { color: var(--color-purple); transition-delay: 0.95s; }
.career-node-title { font-size: 13px; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.career-node-sub { font-size: 12px; color: var(--color-lavender); line-height: 1.4; }
.career-arc-body { margin-top: 40px; font-size: 15px; line-height: 1.75; color: var(--color-lavender); }
@media (max-width: 767px) {
  .career-split { grid-template-columns: 1fr; gap: 40px; }
  .career-photo img { aspect-ratio: 4/3; }
}
@media (max-width: 480px) {
  .career-nodes { gap: 8px; }
  .career-node { padding: 0; }
  .career-node-dot { width: 44px; height: 44px; margin-bottom: 10px; }
  .career-node-title { font-size: 12px; }
  .career-node-sub { font-size: 11px; }
  .career-nodes-line { left: 11%; right: 11%; top: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .career-node { opacity: 1 !important; transform: none !important; transition: none !important; }
  .career-nodes-line-fill { transition: none !important; transform: scaleX(1) !important; }
  .career-node-dot, .career-node-dot svg { transition: none !important; }
}
