:root {
  --ink: #1a1814;
  --ink2: #3d3a34;
  --ink3: #6b6760;
  --sand: #f5f0e8;
  --sand2: #ede7da;
  --sand3: #e0d8c8;
  --gold: #a8885a;
  --gold2: #c9a87a;
  --white: #fdfbf7;
  --accent: #2c4a3e;
  --accent2: #3d6656;
  --danger: #8b2020;
  --r: 4px;
  --r2: 10px;
  --ff-head: 'Cormorant Garamond', Georgia, serif;
  --ff-body: 'Jost', system-ui, sans-serif;
}

.label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink2);
  line-height: 1.75;
}

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

strong { font-weight: 500; color: var(--ink); }



/* ─── HERO ───────────────────────────────── */
#hero {
  padding: 80px 0 96px;
  background: var(--sand);
  border-top: none;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: var(--sand2);
  opacity: .6;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-badge {
  background: var(--accent);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}
.hero-cert {
  font-size: 0.78rem;
  color: var(--ink3);
  letter-spacing: .04em;
}
#hero h1 { margin-bottom: 20px; color: var(--ink); }
#hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--ink2);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--sand3);
  border-bottom: 1px solid var(--sand3);
}
.stat-item { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.78rem; color: var(--ink3); letter-spacing: .04em; }
.hero-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--r);
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-secondary {
  color: var(--ink2);
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid var(--sand3);
  padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.btn-secondary:hover { color: var(--ink); border-color: var(--ink3); }
.hero-img-wrap {
  position: relative;
}
.hero-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r2);
  display: block;
  background: var(--sand2);
}
.hero-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r2);
  background: var(--sand2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink3);
  font-size: 0.85rem;
  letter-spacing: .04em;
}
.hero-photo-placeholder svg { opacity: .35; }
.photo-tag {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  border: 1px solid var(--sand3);
  border-radius: var(--r2);
  padding: 14px 20px;
  box-shadow: 0 4px 24px rgba(26,24,20,.08);
}
.photo-tag-title {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 3px;
}
.photo-tag-sub { font-size: 0.75rem; color: var(--ink3); }

/* ─── SEGMENTS ───────────────────────────── */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.segment-card {
  background: var(--sand);
  border: 1px solid var(--sand3);
  border-radius: var(--r2);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow .25s, transform .25s;
}
.segment-card:hover { box-shadow: 0 6px 32px rgba(26,24,20,.08); transform: translateY(-3px); }
.segment-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.segment-icon svg { color: var(--white); }
.segment-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.segment-card p { font-size: 0.9rem; color: var(--ink3); margin-bottom: 16px; }
.segment-pain {
  font-size: 0.82rem;
  color: var(--danger);
  background: rgba(139,32,32,.06);
  border-left: 2px solid var(--danger);
  padding: 8px 12px;
  border-radius: 0 var(--r) var(--r) 0;
  line-height: 1.5;
}

/* ─── PROBLEMS ───────────────────────────── */
.problems-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}
.problems-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.problem-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--sand3);
  padding: 22px 0;
}
.problem-row:first-child { border-top: 1px solid var(--sand3); }
.problem-cause {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink3);
  padding-right: 24px;
  padding-top: 2px;
}
.problem-effect { font-size: 0.92rem; color: var(--ink2); }
.problem-effect strong { color: var(--danger); font-weight: 500; }
.finance-box {
  background: var(--accent);
  color: var(--white);
  border-radius: var(--r2);
  padding: 40px;
  margin-top: 40px;
}
.finance-box h3 {
  font-family: var(--ff-head);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 16px;
}
.finance-box p { color: rgba(253,251,247,.8); font-size: 0.9rem; }
.finance-eq {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  color: var(--gold2);
  margin-top: 20px;
  font-style: italic;
}

/* ─── CASES ──────────────────────────────── */
#cases { background: var(--sand); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--sand3);
  border-radius: var(--r2);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.case-type {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.case-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.case-before {
  background: rgba(139,32,32,.06);
  border-radius: var(--r);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.case-after {
  background: rgba(44,74,62,.06);
  border-radius: var(--r);
  padding: 12px 14px;
  margin-bottom: 16px;
}
.case-label { font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; font-weight: 500; }
.case-before .case-label { color: var(--danger); }
.case-after .case-label { color: var(--accent); }
.case-text { font-size: 0.88rem; color: var(--ink2); line-height: 1.5; }
.case-result {
  font-family: var(--ff-head);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.case-result-sub { font-size: 0.8rem; color: var(--ink3); }
.case-what { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--sand3); font-size: 0.82rem; color: var(--ink3); line-height: 1.55; }

/* ─── EXPERT ─────────────────────────────── */
.expert-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}
.expert-photo-wrap { position: relative; }
.expert-photo {
  width: 100%;
  border-radius: var(--r2);
  background: var(--sand2);
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.expert-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--r2);
  background: var(--sand2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink3);
  font-size: 0.85rem;
  gap: 10px;
}
.expert-cert-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: var(--white);
  border: 1px solid var(--sand3);
  border-radius: var(--r2);
  padding: 16px 18px;
  max-width: 180px;
  box-shadow: 0 4px 20px rgba(26,24,20,.08);
}
.expert-cert-badge .cert-label { font-size: 0.68rem; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; font-weight: 500; margin-bottom: 6px; display: block; }
.expert-cert-badge .cert-name { font-size: 0.82rem; color: var(--ink); line-height: 1.4; font-weight: 500; }
.expert-content h2 { margin-bottom: 10px; }
.expert-position { font-size: 0.85rem; color: var(--gold); letter-spacing: .04em; margin-bottom: 28px; }
.expert-text { font-size: 0.95rem; color: var(--ink2); line-height: 1.8; margin-bottom: 32px; }
.expert-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}
.pillar-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sand3);
}
.pillar-row:first-child { border-top: 1px solid var(--sand3); }
.pillar-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}
.pillar-text { font-size: 0.9rem; color: var(--ink2); line-height: 1.6; }
.pillar-text strong { color: var(--ink); }
.expert-usps {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.expert-usp-tag {
  background: var(--sand);
  border: 1px solid var(--sand3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--ink2);
}

/* ─── SYSTEM ─────────────────────────────── */
#system { background: var(--sand); }
.system-intro { max-width: 640px; margin-bottom: 56px; }
.system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--sand3);
  border-radius: var(--r2);
  overflow: hidden;
  background: var(--sand3);
}
.sys-item {
  background: var(--white);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.sys-num {
  font-family: var(--ff-head);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--sand3);
  line-height: 1;
}
.sys-title { font-size: 0.88rem; font-weight: 500; color: var(--ink); }
.sys-result { font-size: 0.78rem; color: var(--accent); }
.system-note {
  margin-top: 32px;
  text-align: center;
  font-family: var(--ff-head);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink3);
}
#formats {
    background:#f5f0e8;;
}
/* ─── FORMATS ────────────────────────────── */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  
}
.format-card {
  border: 1px solid var(--sand3);
  border-radius: var(--r2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.format-header {
  background: var(--sand);
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--sand3);
}
.format-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}
.format-header h3 { font-size: 1.3rem; }
.format-for {
  font-size: 0.8rem;
  color: var(--ink3);
  margin-top: 6px;
}
.format-body { padding: 24px 28px; flex: 1; display: flex; flex-direction: column; }
.format-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  flex: 1;
}
.format-list li {
  font-size: 0.88rem;
  color: var(--ink2);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.format-list li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.format-result {
  background: rgba(44,74,62,.06);
  border-left: 2px solid var(--accent);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--accent2);
  border-radius: 0 var(--r) var(--r) 0;
  margin-bottom: 16px;
}
.format-timeline { font-size: 0.78rem; color: var(--ink3); margin-bottom: 20px; }
.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  padding: 10px 22px;
  border-radius: var(--r);
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
  display: inline-block;
  text-align: center;
}
.btn-outline:hover { background: var(--accent); color: var(--white); }

/* ─── REVIEWS ────────────────────────────── */
#reviews { background: var(--sand); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--sand3);
  border-radius: var(--r2);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-quote {
  font-family: var(--ff-head);
  font-size: 2.5rem;
  color: var(--sand3);
  line-height: 1;
  height: 32px;
}
.review-text { font-size: 0.9rem; color: var(--ink2); line-height: 1.7; flex: 1; }
.review-text strong { color: var(--accent); font-weight: 500; }
.review-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--sand3); }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sand2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink3);
  flex-shrink: 0;
}
.review-name { font-size: 0.85rem; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.review-meta { font-size: 0.75rem; color: var(--ink3); }

/* ─── DIAGNOSIS ──────────────────────────── */
.diagnosis-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}
.diagnosis-left h2 { margin-bottom: 20px; }
.diagnosis-left .lead { margin-bottom: 32px; }
.diagnosis-gets { display: flex; flex-direction: column; gap: 12px; }
.diag-get {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.diag-check {
  width: 22px; height: 22px;
  background: rgba(44,74,62,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}
.diag-check-inner { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.diag-get-text { font-size: 0.92rem; color: var(--ink2); line-height: 1.6; }
.diag-note { margin-top: 28px; font-size: 0.82rem; color: var(--ink3); padding-top: 20px; border-top: 1px solid var(--sand3); line-height: 1.6; }
.form-card {
  background: var(--sand);
  border: 1px solid var(--sand3);
  border-radius: var(--r2);
  padding: 40px;
}
.form-title {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-sub { font-size: 0.85rem; color: var(--ink3); margin-bottom: 28px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.78rem; color: var(--ink3); font-weight: 500; letter-spacing: .04em; }
.form-control {
  background: var(--white);
  border: 1px solid var(--sand3);
  border-radius: var(--r);
  padding: 11px 14px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color .2s;
  outline: none;
  width: 100%;
}
.form-control:focus { border-color: var(--accent); }
.form-control::placeholder { color: var(--ink3); font-size: 0.85rem; }
select.form-control { cursor: pointer; }
.form-submit { width: 100%; margin-top: 8px; padding: 15px; font-size: 0.88rem; }
.form-after { font-size: 0.78rem; color: var(--ink3); margin-top: 14px; text-align: center; line-height: 1.5; }
.form-price-note {
  background: rgba(44,74,62,.06);
  border-radius: var(--r);
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--accent2);
  margin-bottom: 20px;
  line-height: 1.55;
}

/* ─── FOOTER ─────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(253,251,247,.7);
  padding: 64px 0 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
}
.footer-brand { }
.footer-logo {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-desc { font-size: 0.85rem; line-height: 1.7; color: rgba(253,251,247,.6); }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.85rem; color: rgba(253,251,247,.6); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { font-size: 0.85rem; color: rgba(253,251,247,.6); margin-bottom: 8px; }
.footer-contact-item a { color: rgba(253,251,247,.7); text-decoration: none; }
.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(253,251,247,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 0.78rem; color: rgba(253,251,247,.35); }
.footer-seo { font-size: 0.75rem; color: rgba(253,251,247,.25); max-width: 400px; text-align: right; line-height: 1.5; }

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img-wrap { order: -1; max-width: 320px; }
  .photo-tag { bottom: -12px; left: -12px; }
  .segments-grid { grid-template-columns: 1fr; }
  .problems-intro { grid-template-columns: 1fr; gap: 32px; }
  .problem-row { grid-template-columns: 140px 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .expert-cert-badge { position: static; margin-top: 16px; max-width: 100%; }
  .system-grid { grid-template-columns: repeat(2, 1fr); }
  .formats-grid { grid-template-columns: 1fr; }
  #trends .container > div { grid-template-columns: 1fr !important; }
  #team .container > div:nth-child(3) { grid-template-columns: repeat(2,1fr) !important; }
  .reviews-grid { grid-template-columns: 1fr; }
  .diagnosis-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-seo { text-align: center; }
  .nav-links { display: none; }
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .container--narrow { padding: 0 20px; }
  nav { padding: 0 20px; }
}

/* ─── ANIMATIONS ─────────────────────────── */

/* Hero entrance */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(44,74,62,.25); }
  50%      { box-shadow: 0 0 0 10px rgba(44,74,62,0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* Hero staggered entrance */
.hero-eyebrow { animation: slideRight .65s cubic-bezier(.22,1,.36,1) both; }
#hero h1       { animation: fadeUp .7s .12s cubic-bezier(.22,1,.36,1) both; }
.hero-sub      { animation: fadeUp .7s .22s cubic-bezier(.22,1,.36,1) both; }
.hero-stats    { animation: fadeUp .7s .34s cubic-bezier(.22,1,.36,1) both; }
.hero-cta-row  { animation: fadeUp .7s .44s cubic-bezier(.22,1,.36,1) both; }
.hero-img-wrap { animation: scaleIn .9s .1s cubic-bezier(.22,1,.36,1) both; }

/* Photo tag float */
.photo-tag { animation: float 4s ease-in-out infinite; }

/* CTA pulse on the primary button */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,transparent 0%,rgba(255,255,255,.18) 50%,transparent 100%);
  background-size: 400px 100%;
  animation: shimmer 2.4s ease-in-out infinite;
  pointer-events: none;
}
.btn-primary:hover::after { animation: none; }

/* Nav link underline slide */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ── Scroll-reveal base state ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.reveal--left  { transform: translateX(-32px); }
.reveal.reveal--right { transform: translateX(32px); }
.reveal.reveal--scale { transform: scale(.96); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children inside revealed containers */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1),
              transform .55s cubic-bezier(.22,1,.36,1);
}
.reveal-stagger.is-visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.14s; }
.reveal-stagger.is-visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.23s; }
.reveal-stagger.is-visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:.32s; }
.reveal-stagger.is-visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:.41s; }

/* Card hover lift */
.segment-card,
.case-card,
.format-card,
.review-card {
  transition: box-shadow .28s ease, transform .28s ease;
}
.segment-card:hover,
.case-card:hover,
.review-card:hover {
  box-shadow: 0 12px 40px rgba(26,24,20,.1);
  transform: translateY(-5px);
}
.format-card:hover {
  box-shadow: 0 12px 40px rgba(26,24,20,.1);
  transform: translateY(-4px);
}

/* System grid item hover */
.sys-item {
  transition: background .22s ease, box-shadow .22s ease;
  cursor: default;
}
.sys-item:hover {
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--gold);
}
.sys-item:hover .sys-num { color: rgba(168,136,90,.25); }

/* Pillar rows slide in */
.pillar-row {
  transition: background .2s ease, padding-left .2s ease;
}
.pillar-row:hover {
  background: var(--sand);
  padding-left: 8px;
}

/* Team cards */
#team .container > div:nth-child(3) > div {
  transition: box-shadow .25s ease, transform .25s ease;
}
#team .container > div:nth-child(3) > div:hover {
  box-shadow: 0 8px 28px rgba(26,24,20,.09);
  transform: translateY(-4px);
}

/* Hero background parallax */
#hero { background-attachment: fixed; }

/* Gold accent line on section labels */
.label { position: relative; display: inline-block; }
.label::before {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s .3s ease;
}
.label.is-visible::before { transform: scaleX(1); }

/* Counter number animation */
.stat-num[data-count] { transition: none; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}