/* ==========================================================================
   Beyond PH — Core Stylesheet
   ========================================================================== */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
html {
  overflow-x: hidden;
}
body {
  min-height: 100svh;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }
p { max-width: 65ch; }

/* ---- Focus ---- */
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible { outline-color: var(--cream); }

/* ---- Layout primitives ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section { padding-block: var(--space-3xl); }
.section--tight { padding-block: var(--space-2xl); }
.section--dark { background: var(--navy); color: var(--text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--pure-white); }
.section--cream { background: var(--cream); }
.section--surface { background: var(--bg-surface); }
.section--bordered-top { border-top: 1px solid var(--border-hairline); }

.stack { display: flex; flex-direction: column; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; }

.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: var(--space-md);
  background: var(--navy); color: var(--cream);
  padding: var(--space-xs) var(--space-md); border-radius: var(--radius-sm);
  z-index: 200; transition: top var(--dur-fast) var(--ease-standard);
}
.skip-link:focus { top: var(--space-md); }

/* ---- Eyebrow / tag labels ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2xs);
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-tag);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid-grey);
}
.section--dark .eyebrow { color: var(--soft-accent); }
.eyebrow::before {
  content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
}

/* ---- Typography helpers ---- */
.hero-heading { font-size: var(--fs-hero); line-height: 1.05; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); margin-bottom: var(--space-sm); }
.h3 { font-size: var(--fs-h3); }
.sub { font-size: var(--fs-sub); color: var(--mid-grey); font-weight: 400; line-height: 1.5; }
.section--dark .sub { color: var(--soft-accent); }
.lede { font-size: var(--fs-sub); color: var(--mid-grey); max-width: 60ch; }
.section-head { max-width: 640px; margin-bottom: var(--space-2xl); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-standard), background var(--dur-base);
}
.site-header.is-scrolled { border-bottom-color: var(--border-hairline); }
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: var(--space-sm); gap: var(--space-lg);
}
.brand {
  display: flex; align-items: center; gap: var(--space-xs);
}
.brand img { display: block; height: 30px; width: auto; }
.footer-brand .brand img { height: 26px; }
.nav-links {
  display: flex; align-items: center; gap: var(--space-lg);
  font-size: 0.9375rem; font-weight: 500;
}
.nav-links a { position: relative; padding-block: var(--space-2xs); color: var(--body-grey); transition: color var(--dur-fast); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: right var(--dur-base) var(--ease-out);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: var(--space-md); }
.nav-toggle {
  display: none; background: none; border: none; padding: var(--space-2xs);
  width: 40px; height: 40px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav-links { position: fixed; top: 64px; left: 0; right: 0; height: calc(100dvh - 64px);
    background: var(--off-white); z-index: 99; overflow-y: auto; box-shadow: 0 16px 32px rgba(10,34,64,0.14);
    flex-direction: column; align-items: flex-start; gap: 0; padding: var(--space-lg) var(--container-pad);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard), visibility var(--dur-base); }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .nav-links a { width: 100%; padding-block: var(--space-sm); border-bottom: 1px solid var(--border-hairline); font-size: 1.05rem; color: var(--body-grey); }
  .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle.is-open .icon-menu { display: none; }
  .nav-toggle.is-open .icon-close { display: block; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs);
  font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem;
  padding: 0.85rem 1.6rem; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard),
    background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--navy); color: var(--pure-white); }
.btn-primary:hover { box-shadow: var(--shadow-md); background: var(--navy-soft); }

.btn-on-dark { background: var(--pure-white); color: var(--navy); }
.btn-on-dark:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--pure-white); }

.btn-outline-on-dark { background: transparent; color: var(--cream); border-color: rgba(245,239,230,0.4); }
.btn-outline-on-dark:hover { background: rgba(245,239,230,0.1); border-color: var(--cream); }

.btn-ghost { background: transparent; color: var(--navy); padding-inline: var(--space-xs); }
.btn-ghost:hover { color: var(--mid-grey); }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header banner (photo strip below nav)
   ========================================================================== */
.header-banner {
  width: 100%; height: clamp(64px, 9vw, 140px); overflow: hidden;
}
.header-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  color: var(--text-on-dark);
  padding-block: clamp(1.5rem, 2vw + 1rem, 2.5rem) clamp(1.5rem, 2.5vw, 2.5rem);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-bg svg { width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-2xl); align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  background: rgba(245,239,230,0.08); border: 1px solid rgba(245,239,230,0.18);
  padding: 0.4rem 0.9rem; border-radius: var(--radius-pill);
  font-size: var(--fs-tag); font-weight: 600; letter-spacing: 0.06em; color: var(--cream);
  margin-bottom: var(--space-md);
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #6EE7B7; box-shadow: 0 0 0 3px rgba(110,231,183,0.2); }

.hero h1 { color: var(--pure-white); margin-bottom: var(--space-sm); max-width: 16ch; }
.hero .lede { color: var(--soft-accent); font-size: var(--fs-sub); max-width: 46ch; margin-bottom: var(--space-lg); }
.hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }

.hero-panel {
  position: relative;
  background: rgba(245,239,230,0.04);
  border: 1px solid rgba(245,239,230,0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(6px);
}
.hero-panel-stat { display: flex; align-items: baseline; gap: var(--space-sm); padding-block: var(--space-sm); }
.hero-panel-stat + .hero-panel-stat { border-top: 1px solid rgba(245,239,230,0.12); }
.hero-panel-stat .num { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--pure-white); }
.hero-panel-stat .label { font-size: var(--fs-body-sm); color: var(--soft-accent); }

/* ---- Sub-page hero (smaller) ---- */
.page-hero { background: var(--navy); color: var(--text-on-dark); padding-block: clamp(3.5rem, 5vw, 5.5rem) clamp(2.5rem, 4vw, 4rem); position: relative; overflow: hidden; }
.page-hero h1 { color: var(--pure-white); max-width: 20ch; margin-bottom: var(--space-sm); }
.page-hero .lede { color: var(--soft-accent); max-width: 56ch; }
.breadcrumb { font-size: var(--fs-caption); color: var(--soft-accent); margin-bottom: var(--space-md); display: flex; gap: 0.4em; align-items: center; }
.breadcrumb a { color: var(--soft-accent); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--cream); }

/* ==========================================================================
   Stat strip
   ========================================================================== */
.stat-strip { border-top: 1px solid var(--border-hairline); border-bottom: 1px solid var(--border-hairline); background: var(--bg-surface); }
.stat-strip .grid { padding-block: var(--space-xl); }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); color: var(--navy); }
.stat .label { font-size: var(--fs-body-sm); color: var(--mid-grey); margin-top: var(--space-3xs); }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--bg-surface); border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md); padding: var(--space-lg);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--navy); margin-bottom: var(--space-md);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: var(--space-xs); font-size: var(--fs-h3); }
.card p { color: var(--mid-grey); font-size: var(--fs-body-sm); }
.card ul { margin-top: var(--space-sm); display: flex; flex-direction: column; gap: var(--space-2xs); }
.card ul li { display: flex; gap: var(--space-2xs); align-items: flex-start; font-size: var(--fs-body-sm); color: var(--body-grey); }
.card ul li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--soft-accent); }

.card--dark { background: rgba(245,239,230,0.04); border-color: rgba(245,239,230,0.14); }
.card--dark h3 { color: var(--pure-white); }
.card--dark p { color: var(--soft-accent); }
.card--dark .card-icon { background: rgba(245,239,230,0.1); color: var(--cream); }

/* Pillar card w/ number */
.pillar {
  display: flex; gap: var(--space-md); align-items: flex-start; padding-block: var(--space-lg);
}
.pillar + .pillar { border-top: 1px solid var(--border-hairline); }
.pillar .index {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--soft-accent);
  flex-shrink: 0; width: 2.5rem;
}
.pillar h3 { margin-bottom: var(--space-3xs); }
.pillar p { color: var(--mid-grey); font-size: var(--fs-body-sm); }

/* ==========================================================================
   Process steps
   ========================================================================== */
.process-track { position: relative; }
.process-step {
  display: grid; grid-template-columns: 56px 1fr; gap: var(--space-md); position: relative; padding-bottom: var(--space-xl);
}
.process-step:last-child { padding-bottom: 0; }
.process-step .step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-weight: 700; font-size: 1.1rem; position: relative; z-index: 1; flex-shrink: 0;
}
.process-step:not(:last-child)::before {
  content: ''; position: absolute; left: 27px; top: 56px; bottom: -8px; width: 2px;
  background: var(--border-hairline);
}
.process-step h3 { margin-bottom: var(--space-3xs); }
.process-step p { color: var(--mid-grey); font-size: var(--fs-body-sm); }

/* ==========================================================================
   Logo strip
   ========================================================================== */
.logo-strip-wrap { padding-block: var(--space-xl); }
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-2xl); }

/* ---- Logo marquee (auto-scrolling carousel) ---- */
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logo-track {
  display: flex; align-items: center; gap: var(--space-3xl);
  width: max-content;
  animation: logo-scroll 40s linear infinite;
}
.logo-img {
  height: 38px; width: auto; max-width: 220px;
  flex-shrink: 0; object-fit: contain;
  opacity: 0.85; transition: opacity var(--dur-fast), transform var(--dur-fast);
}
.logo-img:hover { opacity: 1; transform: scale(1.06); }
.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track { animation-play-state: paused; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .logo-track [aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   Sector tags
   ========================================================================== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.tag {
  padding: 0.6rem 1.1rem; border-radius: var(--radius-pill); border: 1px solid var(--border-hairline);
  font-size: var(--fs-body-sm); font-weight: 500; color: var(--body-grey); background: var(--bg-surface);
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}
.tag:hover { border-color: var(--navy); color: var(--navy); background: var(--cream); }

/* ==========================================================================
   Industry grid (with client names)
   ========================================================================== */
.industry-card { padding: var(--space-lg); border-radius: var(--radius-md); background: var(--bg-surface); border: 1px solid var(--border-hairline); }
.industry-card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-2xs); }
.industry-card .clients { font-size: var(--fs-body-sm); color: var(--mid-grey); }

/* ==========================================================================
   Engagement model tabs/cards
   ========================================================================== */
.model-card {
  border: 1px solid var(--border-hairline); border-radius: var(--radius-md); padding: var(--space-xl);
  background: var(--bg-surface); display: flex; flex-direction: column; height: 100%;
}
.model-card .best-for {
  margin-top: auto; padding-top: var(--space-md); border-top: 1px dashed var(--border-hairline);
  font-size: var(--fs-caption); color: var(--mid-grey); font-weight: 600;
}
.model-card .best-for span { color: var(--navy); font-weight: 700; }

/* ==========================================================================
   Quote / promise block
   ========================================================================== */
.promise-block {
  text-align: center; padding-block: var(--space-2xl);
}
.promise-block .promise-text {
  font-family: var(--font-display); font-weight: 600; color: var(--navy);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.25; max-width: 20ch; margin-inline: auto;
}
.section--dark .promise-block .promise-text { color: var(--pure-white); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--navy); color: var(--text-on-dark); border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 4vw, 4rem); text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--pure-white); max-width: 22ch; margin-inline: auto; margin-bottom: var(--space-sm); }
.cta-band .lede { color: var(--cream); max-width: 46ch; margin-inline: auto; margin-bottom: var(--space-xl); }
.cta-band .hero-actions { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: var(--soft-accent); padding-top: var(--space-3xl); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-2xl); padding-bottom: var(--space-2xl); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { color: var(--pure-white); }
.footer-brand p { margin-top: var(--space-md); font-size: var(--fs-body-sm); max-width: 32ch; color: var(--soft-accent); }
.footer-col h4 { color: var(--pure-white); font-size: var(--fs-body-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-md); font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col a { font-size: var(--fs-body-sm); transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--pure-white); }
.footer-social { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(245,239,230,0.18);
  display: flex; align-items: center; justify-content: center; transition: background var(--dur-fast), border-color var(--dur-fast);
}
.footer-social a:hover { background: rgba(245,239,230,0.1); border-color: rgba(245,239,230,0.35); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(245,239,230,0.1); padding-block: var(--space-lg);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-sm);
  font-size: var(--fs-caption);
}
.footer-bottom a:hover { color: var(--cream); }

/* ==========================================================================
   Forms
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: var(--space-2xs); margin-bottom: var(--space-md); }
.field label { font-size: var(--fs-body-sm); font-weight: 600; color: var(--navy); }
.field .hint { font-size: var(--fs-caption); color: var(--mid-grey); font-weight: 400; }
.field input, .field textarea, .field select {
  padding: 0.85rem 1rem; border: 1.5px solid var(--border-hairline); border-radius: var(--radius-sm);
  background: var(--bg-surface); font-size: var(--fs-body); transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10,34,64,0.08);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: var(--fs-caption); color: var(--mid-grey); margin-top: var(--space-sm); }
.form-status { font-size: var(--fs-body-sm); font-weight: 600; margin-top: var(--space-sm); display: none; }
.form-status.is-visible { display: block; }
.form-status.success { color: #15803D; }

/* ==========================================================================
   Contact cards / info
   ========================================================================== */
.contact-method {
  display: flex; gap: var(--space-md); align-items: flex-start; padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-hairline);
}
.contact-method:last-child { border-bottom: none; }
.contact-method .card-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-method h3 { font-size: var(--fs-body); margin-bottom: 0.2rem; }
.contact-method a, .contact-method p { font-size: var(--fs-body-sm); color: var(--mid-grey); }
.contact-method a:hover { color: var(--navy); }

/* ==========================================================================
   Blog / Insights
   ========================================================================== */
.post-card {
  display: flex; flex-direction: column; border: 1px solid var(--border-hairline); border-radius: var(--radius-md);
  overflow: hidden; background: var(--bg-surface); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
  height: 100%;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card-media {
  aspect-ratio: 16/9; position: relative; overflow: hidden;
}
.post-card-body { padding: var(--space-lg); display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: var(--fs-tag); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin-bottom: var(--space-sm); }
.post-card h3 { font-size: 1.15rem; margin-bottom: var(--space-xs); }
.post-card p { font-size: var(--fs-body-sm); color: var(--mid-grey); margin-bottom: var(--space-md); }
.post-meta { margin-top: auto; display: flex; gap: var(--space-sm); align-items: center; font-size: var(--fs-caption); color: var(--soft-accent); font-weight: 500; }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

.article-hero { background: var(--navy); color: var(--text-on-dark); padding-block: var(--space-2xl) var(--space-xl); }
.article-body { max-width: 720px; margin-inline: auto; padding-block: var(--space-2xl); }
.article-body h2 { margin-top: var(--space-xl); margin-bottom: var(--space-sm); font-size: var(--fs-h2); }
.article-body h3 { margin-top: var(--space-lg); margin-bottom: var(--space-2xs); }
.article-body p { margin-bottom: var(--space-md); color: var(--body-grey); font-size: 1.0625rem; line-height: 1.7; max-width: none; }
.article-body ul, .article-body ol { margin-bottom: var(--space-md); padding-left: 1.3rem; color: var(--body-grey); font-size: 1.0625rem; line-height: 1.7; display: flex; flex-direction: column; gap: var(--space-2xs); }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body blockquote {
  border-left: 3px solid var(--navy); padding-left: var(--space-md); margin-block: var(--space-lg);
  font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); font-weight: 500;
}
.article-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.article-meta { display: flex; align-items: center; gap: var(--space-sm); color: var(--soft-accent); font-size: var(--fs-body-sm); margin-bottom: var(--space-md); }
.article-callout {
  background: var(--cream); border-radius: var(--radius-md); padding: var(--space-lg);
  margin-block: var(--space-lg);
}
.article-callout p { margin-bottom: 0; }
.author-box {
  display: flex; gap: var(--space-md); align-items: center; padding: var(--space-lg);
  background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-md);
  margin-top: var(--space-2xl);
}
.author-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; flex-shrink: 0;
}
.author-box h4 { font-size: var(--fs-body); margin-bottom: 0.1rem; }
.author-box p { font-size: var(--fs-body-sm); color: var(--mid-grey); }

/* ==========================================================================
   Careers
   ========================================================================== */
.role-card {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-md);
  padding: var(--space-lg); border: 1px solid var(--border-hairline); border-radius: var(--radius-md);
  background: var(--bg-surface); transition: border-color var(--dur-fast), box-shadow var(--dur-base);
}
.role-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.role-card h3 { font-size: 1.1rem; margin-bottom: var(--space-2xs); }
.role-meta { display: flex; gap: var(--space-sm); flex-wrap: wrap; font-size: var(--fs-caption); color: var(--mid-grey); }
.role-meta span { display: inline-flex; align-items: center; gap: 0.3em; }
.empty-state {
  text-align: center; padding: var(--space-2xl) var(--space-lg); border: 1.5px dashed var(--border-hairline);
  border-radius: var(--radius-md); background: var(--bg-surface);
}
.empty-state .card-icon { margin-inline: auto; }
.empty-state h3 { margin-bottom: var(--space-2xs); }
.empty-state p { max-width: 42ch; margin-inline: auto; color: var(--mid-grey); }

/* ==========================================================================
   Values grid (About)
   ========================================================================== */
.value-item { padding: var(--space-lg) 0; display: flex; gap: var(--space-md); align-items: flex-start; }
.value-item .num { font-family: var(--font-display); font-weight: 700; color: var(--light-grey); font-size: 2rem; line-height: 1; }
.section--dark .value-item .num { color: rgba(245,239,230,0.16); }

/* ==========================================================================
   Founder block
   ========================================================================== */
.founder-card {
  display: grid; grid-template-columns: 320px 1fr; gap: var(--space-2xl); align-items: center;
  background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}
@media (max-width: 900px) { .founder-card { grid-template-columns: 280px 1fr; } }
@media (max-width: 720px) { .founder-card { grid-template-columns: 1fr; text-align: center; } }
.founder-portrait-frame {
  position: relative; max-width: 320px; margin-inline: auto;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-soft) 55%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-md);
}
.founder-portrait-texture {
  position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius-lg);
}
.founder-portrait-img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 12%;
  border-radius: calc(var(--radius-lg) - 6px);
  display: block;
}
.founder-credentials { display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin-top: var(--space-md); }
@media (max-width: 720px) { .founder-credentials { justify-content: center; } }
.credential-chip {
  font-size: var(--fs-caption); font-weight: 600; padding: 0.35rem 0.8rem; border-radius: var(--radius-pill);
  background: var(--cream); color: var(--navy);
}

/* ==========================================================================
   Reveal-on-scroll animation hooks
   ========================================================================== */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-group] > * { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
[data-reveal-group].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 70ms; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 140ms; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 210ms; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 280ms; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 350ms; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-group] > * { opacity: 1; transform: none; }
}

/* ==========================================================================
   Utility spacing
   ========================================================================== */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center-text { text-align: center; }
.flow > * + * { margin-top: var(--space-md); }
