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

:root {
  --cream:       #F7F3EC;
  --cream-dark:  #EDE7DB;
  --ink:         #1C1917;
  --ink-light:   #78716C;
  --green:       #2D5F47;
  --green-mid:   #3D7A5E;
  --green-light: #52B788;
  --gold:        #B5793A;
  --gold-light:  #D4A050;
  --white:       #FFFFFF;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(28,25,23,.06);
  --shadow-md:   0 4px 24px rgba(28,25,23,.10);
  --shadow-lg:   0 8px 48px rgba(28,25,23,.14);
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Subtle grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

h1, h2, h3 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.1;
  text-wrap: balance;
}

/* ─── KEYFRAMES ──────────────────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes pulse    { 0%,100% { opacity:1; } 50% { opacity:.4; } }
@keyframes slideIn  { from { opacity:0; transform:translateX(-12px); } to { opacity:1; transform:translateX(0); } }

/* ─── SCROLL REVEAL ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity:1; transform:translateY(0); }

/* ─── UTILITIES ──────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 4rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.section-label::before {
  content:'';
  display:block;
  width:22px;
  height:2px;
  background:var(--green);
  flex-shrink:0;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.025em;
  margin-bottom: 1.1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 540px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem 1.4rem;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .22s var(--ease);
}
.btn-lg { padding: .85rem 2rem; font-size: .95rem; }

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-mid); transform:translateY(-2px); box-shadow:0 6px 20px rgba(45,95,71,.3); }

.btn-secondary { background: transparent; color: var(--ink); border:1.5px solid rgba(28,25,23,.22); }
.btn-secondary:hover { border-color: var(--ink); transform:translateY(-2px); }

.btn-white { background: #fff; color: #1C1917; }
.btn-white:hover { background: var(--cream); transform:translateY(-2px); }

.btn-ghost { background: transparent; color: rgba(255,255,255,.7); border:1.5px solid rgba(255,255,255,.22); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); color:#fff; transform:translateY(-2px); }

.tag {
  display: inline-block;
  padding: .22rem .7rem;
  border-radius: 100px;
  font-size: .73rem;
  font-weight: 500;
  background: var(--cream);
  color: var(--ink-light);
}

/* ─── NAV ────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4rem;
  background: rgba(247,243,236,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(28,25,23,.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--ink);
}
.nav-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-mark svg { display:block; }
.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-light);
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }

/* ─── HERO ───────────────────────────────── */
.hero-section {
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
}

.hero-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 5rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(45,95,71,.09);
  color: var(--green);
  padding: .38rem 1rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  animation: fadeIn .8s var(--ease) both;
}
.badge-dot { width:6px; height:6px; border-radius:50%; background:var(--green); animation: pulse 2s infinite; }

.hero-headline-wrap h1 {
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  max-width: 14ch;
  animation: fadeUp .8s var(--ease) .15s both;
}
.hero-headline-wrap h1 em { font-style:italic; color:var(--green); font-weight:800; }

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-bottom-left { }

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 2.25rem;
  animation: fadeUp .8s var(--ease) .3s both;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .8s var(--ease) .44s both;
}

/* ─── WORKFLOW CARD ──────────────────────── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: fadeIn 1s var(--ease) .3s both;
}

.hero-visual-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(181,121,58,.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-visual-glow2 {
  position: absolute;
  bottom: -30px; left: -30px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(45,95,71,.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.wf-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
}

.wf-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.wf-subtitle {
  font-size: .72rem;
  color: var(--ink-light);
  font-weight: 500;
}
.wf-title-row { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:1.25rem; }

.wf-steps { display:flex; flex-direction:column; gap:.55rem; }

.wf-step {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem .9rem;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.wf-step.active {
  background: rgba(45,95,71,.07);
  border-color: rgba(45,95,71,.2);
}

.wf-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wf-icon.g { background: rgba(45,95,71,.13); }
.wf-icon.b { background: rgba(59,130,246,.12); }
.wf-icon.o { background: rgba(181,121,58,.12); }

.wf-label { flex:1; min-width:0; }
.wf-label strong { display:block; font-size:.82rem; font-weight:600; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wf-label span   { font-size:.72rem; color:var(--ink-light); }

.wf-status {
  font-size: .7rem;
  font-weight: 700;
  padding: .22rem .6rem;
  border-radius: 100px;
  white-space: nowrap;
}
.s-done    { background:rgba(45,95,71,.12);  color:var(--green); }
.s-run     { background:rgba(59,130,246,.12); color:#3B82F6; }
.s-pending { background:rgba(28,25,23,.06);   color:var(--ink-light); }

.wf-connector { height:10px; display:flex; align-items:center; padding-left:2.15rem; }
.wf-line { width:2px; height:100%; background:rgba(28,25,23,.1); }
.wf-line.lit { background:linear-gradient(to bottom, var(--green), rgba(45,95,71,.1)); }

.wf-stats {
  display: flex;
  gap: .75rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(28,25,23,.08);
}
.wf-stat { flex:1; text-align:center; }
.wf-stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.wf-stat-lbl { font-size:.68rem; color:var(--ink-light); margin-top:.2rem; line-height:1.3; }

/* ─── AUTOMATE SECTION ──────────────────── */
.automate-section { padding:5rem 0 5.5rem; overflow:hidden; }

.automate-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

/* Ticker */
.ticker-wrap {
  position: relative;
  margin-bottom: 3.5rem;
  overflow: hidden;
}
.ticker-wrap::before,
.ticker-wrap::after {
  content:'';
  position:absolute;
  top:0; bottom:0;
  width:80px;
  z-index:2;
  pointer-events:none;
}
.ticker-wrap::before { left:0;  background:linear-gradient(to right, var(--cream), transparent); }
.ticker-wrap::after  { right:0; background:linear-gradient(to left,  var(--cream), transparent); }

.ticker-track {
  display: flex;
  gap: .75rem;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-pill {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.1rem;
  border-radius: 100px;
  background: white;
  border: 1px solid rgba(28,25,23,.09);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.ticker-pill::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  margin-right: .6rem;
  flex-shrink: 0;
}

/* Automation cards */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.auto-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(28,25,23,.06);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.auto-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }

.auto-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(45,95,71,.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 1rem;
}

.auto-card h3 { font-size:1.05rem; font-weight:700; margin-bottom:.5rem; }
.auto-card p  { font-size:.85rem; color:var(--ink-light); line-height:1.65; margin-bottom:.9rem; }

.auto-saves {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(45,95,71,.08);
  padding: .22rem .7rem;
  border-radius: 100px;
}

/* ─── PAIN SECTION ───────────────────────── */
.pain-section {
  background: var(--ink);
  padding: 6rem 0;
}
.pain-section .container { padding: 0 4rem; }
.pain-section .section-label { color:var(--green-light); }
.pain-section .section-label::before { background:var(--green-light); }

.pain-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
.pain-section .section-title { color:#fff; }
.pain-section .section-title em { font-style:italic; color:var(--green-light); }
.pain-section .section-sub { color:rgba(255,255,255,.5); }

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pain-item {
  display: grid;
  grid-template-columns: 4rem 3rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .3s var(--ease);
}
.pain-item:last-child { border-bottom: none; }

.pain-num {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.2);
  padding-top: .15rem;
}

.pain-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-light);
  flex-shrink: 0;
}

.pain-body h3 { font-size:1.2rem; font-weight:700; color:#fff; margin-bottom:.6rem; padding-top:.1rem; }
.pain-body p  { font-size:.9rem; color:rgba(255,255,255,.5); line-height:1.7; }

/* ─── SERVICES ───────────────────────────── */
.services-section { padding:6rem 0; }

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

/* AI Featured Card */
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  background: linear-gradient(135deg, var(--ink) 0%, #2a2520 100%);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.featured-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(181,121,58,.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .85rem;
}
.featured-label::before {
  content: '✦';
  margin-right: .4rem;
  font-size: .65rem;
}

.featured-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.25rem;
}

.featured-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
}
.featured-content > p {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

.featured-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: .25rem;
}
.featured-detail-item strong {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: .35rem;
}
.featured-detail-item p {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid rgba(28,25,23,.06);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card::after {
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background:var(--green);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s var(--ease);
}
.service-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.service-card:hover::after { transform:scaleX(1); }

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(45,95,71,.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 1.4rem;
}
.service-card h3 { font-size:1.15rem; font-weight:700; margin-bottom:.65rem; }
.service-card p  { font-size:.875rem; color:var(--ink-light); line-height:1.65; margin-bottom:1.1rem; }
.service-tags { display:flex; flex-wrap:wrap; gap:.45rem; }

/* ─── HOW IT WORKS ───────────────────────── */
.how-section { background:white; padding:6rem 0; }

.how-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4.5rem;
}
.how-header .section-sub { text-align:left; max-width:320px; }

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}
.steps-row::before {
  content:'';
  position:absolute;
  top:38px;
  left:calc(16.66% + 10px);
  right:calc(16.66% + 10px);
  height:2px;
  background:linear-gradient(to right, var(--green), var(--green-light), var(--gold-light));
  z-index:0;
}

.step-item { text-align:center; padding:0 2.5rem; }

.step-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px white;
}
.step-item:first-child .step-circle {
  background: var(--green);
  box-shadow: 0 0 0 6px white, 0 4px 20px rgba(45,95,71,.35);
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink-light);
}
.step-item:first-child .step-num { color:#fff; }

.step-item h3 { font-size:1.15rem; font-weight:700; margin-bottom:.65rem; }
.step-item p  { font-size:.875rem; color:var(--ink-light); line-height:1.65; }

/* ─── STATS ──────────────────────────────── */
.stats-section {
  background: var(--green);
  padding: 4.5rem 4rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width:1240px;
  margin:0 auto;
  text-align:center;
}
.stat-item {
  padding:.5rem;
  position: relative;
}
.stat-item::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(255,255,255,.15);
}
.stat-item:last-child::after { display: none; }
.stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: .45rem;
}
.stat-lbl { font-size:.875rem; color:rgba(255,255,255,.65); line-height:1.45; }

/* ─── WHO WE SERVE ───────────────────────── */
.serve-section { padding:6rem 0; }

.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.serve-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(28,25,23,.05);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.serve-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); }
.serve-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(45,95,71,.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.serve-card h3 { font-size:.95rem; font-weight:700; margin-bottom:.3rem; }
.serve-card p  { font-size:.8rem; color:var(--ink-light); line-height:1.55; }

/* ─── CTA ────────────────────────────────── */
.cta-section { background:var(--cream-dark); padding:6rem 0; }

.cta-box {
  background: var(--ink);
  border-radius: 24px;
  padding: 5rem 4rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content:'';
  position:absolute;
  top:-80px; right:-80px;
  width:220px; height:220px;
  background:radial-gradient(circle, rgba(45,95,71,.45) 0%, transparent 70%);
  border-radius:50%;
}
.cta-box::after {
  content:'';
  position:absolute;
  bottom:-60px; left:-60px;
  width:200px; height:200px;
  background:radial-gradient(circle, rgba(181,121,58,.35) 0%, transparent 70%);
  border-radius:50%;
}
.cta-box > * { position:relative; z-index:1; }

.cta-label { justify-content:center; color:var(--green-light); margin-bottom:1.25rem; }
.cta-label::before { background:var(--green-light); }

.cta-box h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.025em;
  color: #fff;
  margin-bottom: 1.1rem;
}
.cta-box h2 em { font-style:italic; color:var(--gold-light); }
.cta-box p { font-size:1rem; color:rgba(255,255,255,.58); margin-bottom:2.25rem; max-width:460px; margin-inline:auto; line-height:1.7; }

.cta-btns { display:flex; justify-content:center; gap:1rem; flex-wrap:wrap; }

/* ─── FOOTER ─────────────────────────────── */
footer {
  background: var(--ink);
  padding: 2.5rem 4rem;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-inner {
  max-width:1240px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.footer-logo { display:flex; align-items:center; gap:.5rem; text-decoration:none; }
.footer-logo-text { font-family:'Outfit',sans-serif; font-size:1rem; font-weight:700; color:#fff; }
.footer-links { display:flex; gap:2rem; list-style:none; }
.footer-links a { color:rgba(255,255,255,.4); text-decoration:none; font-size:.83rem; transition:color .2s var(--ease); }
.footer-links a:hover { color:#fff; }
.footer-copy { font-size:.78rem; color:rgba(255,255,255,.35); }

/* ─── ABOUT ──────────────────────────────── */
.about-section { background: white; padding: 6rem 0; }

.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-photo-wrap {
  position: relative;
  width: 100%;
}

.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 8%;
  border-radius: 20px;
  display: block;
}

.about-photo-bg {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--cream-dark) 0%, var(--cream) 100%);
  pointer-events: none;
  z-index: -1;
}

.about-content .section-title { margin-bottom: 1.4rem; }

.about-bio {
  font-size: 1rem;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}
.about-bio p + p { margin-top: 1rem; }

.about-creds {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(28,25,23,.08);
  margin-bottom: 2rem;
}

.about-cred-val {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: .2rem;
}

.about-cred-lbl {
  font-size: .78rem;
  color: var(--ink-light);
  line-height: 1.4;
}

/* ─── THEME TOGGLE ───────────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(28,25,23,.2);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-light);
  flex-shrink: 0;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.theme-toggle:hover { border-color: var(--ink); color: var(--ink); }

.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 34px;
  height: 34px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@keyframes theme-spin {
  from { transform: rotate(0deg)   scale(1);   }
  50%  { transform: rotate(180deg) scale(0.7); }
  to   { transform: rotate(360deg) scale(1);   }
}
.theme-toggle.switching svg { animation: theme-spin .4s ease forwards; }

html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition: background-color .3s ease, color .3s ease,
              border-color .3s ease, box-shadow .3s ease !important;
}

/* ─── DARK MODE ──────────────────────────── */
[data-theme="dark"] {
  --cream:       #181512;
  --cream-dark:  #110E0B;
  --ink:         #E8E2D9;
  --ink-light:   #8A7E77;
  --green:       #3D7A5E;
  --green-mid:   #4A9070;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.35);
  --shadow-md:   0 4px 24px rgba(0,0,0,.5);
  --shadow-lg:   0 8px 48px rgba(0,0,0,.65);
}

[data-theme="dark"] .theme-toggle { border-color: rgba(232,226,217,.2); }
[data-theme="dark"] .theme-toggle:hover { border-color: var(--ink); color: var(--ink); }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

[data-theme="dark"] nav {
  background: rgba(24,21,18,.92);
  border-bottom-color: rgba(255,255,255,.07);
}

[data-theme="dark"] .wf-card,
[data-theme="dark"] .auto-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .serve-card,
[data-theme="dark"] .ticker-pill { background: #231F1B; border-color: rgba(255,255,255,.07); }

[data-theme="dark"] .how-section,
[data-theme="dark"] .about-section { background: #1E1B18; }

[data-theme="dark"] .pain-section { background: #0D0A08; }
[data-theme="dark"] footer         { background: #0D0A08; }
[data-theme="dark"] .cta-box       { background: #0D0A08; }

[data-theme="dark"] .featured-card {
  background: linear-gradient(135deg, #1C1917 0%, #2a2520 100%);
}

[data-theme="dark"] .step-circle { box-shadow: 0 0 0 6px #1E1B18; }
[data-theme="dark"] .step-item:first-child .step-circle {
  box-shadow: 0 0 0 6px #1E1B18, 0 4px 20px rgba(45,95,71,.35);
}

[data-theme="dark"] .wf-stats    { border-top-color: rgba(255,255,255,.08); }
[data-theme="dark"] .about-creds { border-top-color: rgba(255,255,255,.08); }

[data-theme="dark"] .btn-secondary { border-color: rgba(232,226,217,.22); }
[data-theme="dark"] .btn-secondary:hover { border-color: var(--ink); }

[data-theme="dark"] .btn-white:hover { background: #E8E2D9; }

[data-theme="dark"] .nav-toggle span { background: var(--ink); }
[data-theme="dark"] .nav-links {
  background: rgba(24,21,18,.97);
  border-bottom-color: rgba(255,255,255,.07);
}
[data-theme="dark"] .nav-links li { border-bottom-color: rgba(255,255,255,.06); }
