/*
Theme Name: HelpingHands
Theme URI: https://helpinghandscharitable.org/
Author: HelpingHands
Author URI: https://helpinghandscharitable.org/
Description: A modern, interactive WordPress theme for HelpingHands — a 501(c)(3) nonprofit that helps companies build structured Corporate Assistance Programs (CAP). Features bento stats, an interactive stepper, a funding calculator, magnetic CTAs, custom cursor, and 3D card tilt.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: helpinghands
Tags: nonprofit, charity, one-page, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --ink: #0A0E1A;
  --ink-soft: #2A3142;
  --text: #4A5568;
  --muted: #8A93A6;
  --cream: #FAF7F0;
  --cream-deep: #F2EDE0;
  --white: #FFFFFF;
  --blue: #1B6BAD;
  --blue-bright: #2563EB;
  --blue-tint: #DCE9F7;
  --orange: #EE6C2A;
  --orange-soft: #FFE0CB;
  --orange-tint: #FFF1E5;
  --border: #E8E4D8;
  --display: 'Bricolage Grotesque', -apple-system, sans-serif;
  --body: 'Manrope', -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  background: var(--cream);
  overflow-x: hidden;
}
.container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ========== CUSTOM CURSOR ========== */
.cursor {
  position: fixed;
  width: 16px;
  height: 16px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
  transition: width 0.25s, height 0.25s, background 0.25s, transform 0.05s;
  transform: translate(-50%, -50%);
  will-change: left, top, width, height;
}
.cursor.hover {
  width: 56px;
  height: 56px;
  background: var(--ink);
}
.cursor.dark {
  mix-blend-mode: screen;
  background: var(--cream);
}
@media (hover: none) {
  .cursor { display: none; }
}
body.has-cursor * { cursor: none !important; }

/* ========== SCROLL PROGRESS ========== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--orange);
  z-index: 200;
  width: 0%;
  transition: width 0.05s linear;
}

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.logo:hover { transform: scale(1.04); }
.brand-logo {
  display: block;
  height: auto;
  width: auto;
}
.brand-logo--header { height: 44px; max-width: 200px; }
.brand-logo--footer { height: 48px; max-width: 220px; margin-bottom: 18px; }
.footer-logo-link { display: inline-block; }
.logo-mark {
  width: 36px; height: 36px;
  background: var(--ink);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  background: var(--orange);
  border-radius: 50%;
  bottom: -2px; right: -2px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.logo:hover .logo-mark::after { transform: rotate(180deg); }
.logo-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.025em;
}
.nav-menu {
  display: flex;
  gap: 4px;
  background: rgba(10, 14, 26, 0.04);
  padding: 6px;
  border-radius: 100px;
  list-style: none;
}
.nav-menu li { list-style: none; }
.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 100px;
  transition: background 0.2s;
  position: relative;
  display: inline-block;
}
.nav-menu a:hover { background: rgba(10, 14, 26, 0.06); }
.nav-menu a.active,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
  background: var(--ink);
  color: var(--cream);
}
.nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s, background 0.2s, transform 0.2s;
  will-change: transform;
}
.nav-cta:hover { gap: 12px; background: #DC5C1F; }
.nav-cta-arrow { width: 16px; height: 16px; }

/* ========== HERO ========== */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(238, 108, 42, 0.18), transparent 35%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.15s;
}
.hero-shape {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: var(--orange-soft);
  top: -120px;
  right: -120px;
  opacity: 0.5;
  animation: floatShape 18s ease-in-out infinite;
  z-index: 0;
}
.hero-shape-2 {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--blue-tint);
  bottom: 80px;
  left: -80px;
  opacity: 0.5;
  animation: floatShape 22s ease-in-out infinite reverse;
  z-index: 0;
}
@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink);
  text-transform: uppercase;
  padding: 8px 14px 8px 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.eyebrow-dot {
  width: 18px; height: 18px;
  background: var(--orange);
  border-radius: 50%;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.hero-h1 {
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.92;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  max-width: 1180px;
}
.hero-h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: wordReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-h1 .word:nth-child(1) { animation-delay: 0.15s; }
.hero-h1 .word:nth-child(2) { animation-delay: 0.22s; }
.hero-h1 .word:nth-child(3) { animation-delay: 0.29s; }
.hero-h1 .word:nth-child(4) { animation-delay: 0.36s; }
.hero-h1 .word:nth-child(5) { animation-delay: 0.43s; }
.hero-h1 .word:nth-child(6) { animation-delay: 0.50s; }
.hero-h1 .word:nth-child(7) { animation-delay: 0.57s; }
.hero-h1 .accent {
  color: var(--orange);
  font-style: italic;
  font-weight: 600;
}
.word-cycle {
  display: inline-block;
  position: relative;
  color: var(--blue);
  font-style: italic;
  font-weight: 600;
  overflow: hidden;
  vertical-align: bottom;
  height: 1em;
  line-height: 1;
  min-width: 380px;
  text-align: left;
}
.word-cycle .cycle-word {
  position: absolute;
  left: 0; top: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.word-cycle .cycle-word.active {
  opacity: 1;
  transform: translateY(0);
}
.word-cycle .cycle-word.exit {
  opacity: 0;
  transform: translateY(-100%);
}
@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.85s forwards;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  padding: 18px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.3s, transform 0.3s, background 0.2s;
  will-change: transform;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover { gap: 14px; background: var(--blue); }
.btn-primary:active { transform: scale(0.97); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: 18px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, color 0.2s, gap 0.3s, transform 0.3s;
  will-change: transform;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
  gap: 14px;
}
.arrow { width: 16px; height: 16px; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-size: 13px;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}
.hero-meta-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* ========== LOGO MARQUEE ========== */
.marquee-section {
  padding: 56px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 36px;
}
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: scroll 32s linear infinite;
  width: fit-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
  white-space: nowrap;
  opacity: 0.55;
  transition: opacity 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.marquee-logo:hover { opacity: 1; transform: scale(1.08); }

/* ========== BENTO STATS ========== */
.bento-stats { padding: 120px 0; }
.section-head { max-width: 880px; margin-bottom: 64px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 24px;
}
.section-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
}
.section-sub {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 640px;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 520px;
  perspective: 1000px;
}
.bento-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  will-change: transform;
}
.bento-card:hover {
  box-shadow: 0 24px 40px -16px rgba(10, 14, 26, 0.12);
}
.bento-card-num {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  color: var(--ink);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.bento-card-num em {
  font-style: normal;
  color: var(--orange);
}
.bento-card-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 12px;
}
.bento-card-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}
.bento-card.span-2 { grid-column: span 2; }
.bento-card.tall { grid-row: span 2; }
.bento-card.feature {
  background: var(--ink);
  color: var(--cream);
  border: none;
}
.bento-card.feature .bento-card-num { color: var(--cream); }
.bento-card.feature .bento-card-num em { color: var(--orange); }
.bento-card.feature .bento-card-label { color: var(--cream); }
.bento-card.feature .bento-card-desc { color: rgba(250, 247, 240, 0.6); }
.bento-card.orange-bg {
  background: var(--orange);
  color: var(--white);
  border: none;
}
.bento-card.orange-bg .bento-card-num { color: var(--white); }
.bento-card.orange-bg .bento-card-label { color: var(--white); }
.bento-card.orange-bg .bento-card-desc { color: rgba(255,255,255,0.85); }
.bento-card.blue-tint { background: var(--blue-tint); border: none; }
.bento-card.cream-deep { background: var(--cream-deep); border: none; }
.bento-card-shape {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  bottom: -100px; right: -100px;
  opacity: 0.15;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover .bento-card-shape { transform: scale(1.3) rotate(45deg); }

/* ========== INTERACTIVE STEPPER ========== */
.stepper-section { padding: 120px 0; background: var(--white); }
.stepper-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}
.stepper-tabs { display: flex; flex-direction: column; gap: 8px; }
.step-tab {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.step-tab:hover { border-color: var(--ink); }
.step-tab.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.step-tab-num {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
  width: 32px;
  flex-shrink: 0;
  transition: color 0.3s;
}
.step-tab.active .step-tab-num { color: var(--orange); }
.step-tab-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 6px;
  transition: color 0.3s;
  letter-spacing: -0.02em;
}
.step-tab.active .step-tab-title { color: var(--cream); }
.step-tab-hint {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}
.step-tab.active .step-tab-hint { color: rgba(250, 247, 240, 0.7); }
.step-content-wrap {
  background: var(--cream);
  border-radius: 24px;
  padding: 48px;
  min-height: 460px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 32px;
  align-items: center;
}
.step-content {
  display: none;
  animation: stepFade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  grid-column: 1 / -1;
  grid-row: 1;
  grid-template-columns: 1fr 0.7fr;
  gap: 32px;
  align-items: center;
}
.step-content.active { display: grid; }
@keyframes stepFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.step-content-pill {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.step-content-title {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.step-content-text {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 24px;
}
.step-content-checks { display: flex; flex-direction: column; gap: 10px; }
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.check-icon {
  width: 22px; height: 22px;
  background: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Stepper SVG illustrations */
.step-illo {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.step-illo svg { width: 100%; height: 100%; }
.illo-pulse circle {
  transform-origin: center;
  animation: pulseRing 2.4s ease-out infinite;
}
.illo-pulse circle:nth-child(2) { animation-delay: 0.6s; }
.illo-pulse circle:nth-child(3) { animation-delay: 1.2s; }
@keyframes pulseRing {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.illo-phone { animation: phoneShake 2.5s ease-in-out infinite; transform-origin: center; }
@keyframes phoneShake {
  0%, 90%, 100% { transform: rotate(0deg); }
  93% { transform: rotate(-6deg); }
  96% { transform: rotate(6deg); }
}
.illo-block {
  transform-origin: center;
  animation: blockFloat 3s ease-in-out infinite;
}
.illo-block:nth-child(2) { animation-delay: 0.4s; }
.illo-block:nth-child(3) { animation-delay: 0.8s; }
.illo-block:nth-child(4) { animation-delay: 1.2s; }
@keyframes blockFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.illo-coin {
  transform-origin: center;
  animation: coinFall 2.4s linear infinite;
}
.illo-coin:nth-child(2) { animation-delay: 0.6s; }
.illo-coin:nth-child(3) { animation-delay: 1.2s; }
.illo-coin:nth-child(4) { animation-delay: 1.8s; }
@keyframes coinFall {
  0% { transform: translateY(-40px); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}

/* ========== INTERACTIVE FUNDING CALCULATOR ========== */
.calc-section {
  padding: 120px 0;
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.calc-section .section-eyebrow { color: var(--orange); }
.calc-section .section-title { color: var(--cream); }
.calc-section .section-title em { color: var(--orange); font-style: italic; }
.calc-section .section-sub { color: rgba(250, 247, 240, 0.7); }
.calc-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.12;
  filter: blur(40px);
}
.calc-section::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(40px);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}
.calc-controls {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(8px);
}
.calc-control { margin-bottom: 32px; }
.calc-control:last-child { margin-bottom: 0; }
.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  color: rgba(250, 247, 240, 0.7);
  font-weight: 500;
  margin-bottom: 16px;
}
.calc-label-value {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.calc-label-value em {
  font-style: normal;
  color: var(--orange);
}
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--orange);
  border-radius: 50%;
  cursor: pointer;
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 1px var(--orange);
  transition: transform 0.15s, box-shadow 0.15s;
}
.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(238, 108, 42, 0.2);
}
.calc-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--orange);
  border-radius: 50%;
  cursor: pointer;
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 1px var(--orange);
  transition: transform 0.15s;
}
.calc-slider-marks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

.calc-results {
  background: var(--cream);
  color: var(--ink);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.calc-results-head {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.calc-result-num {
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 8px;
}
.calc-result-num em {
  font-style: normal;
  color: var(--orange);
}
.calc-result-sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.calc-breakdown { margin-top: auto; }
.calc-breakdown-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.calc-bar {
  height: 16px;
  border-radius: 100px;
  overflow: hidden;
  display: flex;
  margin-bottom: 18px;
  background: var(--cream-deep);
}
.calc-bar-segment {
  height: 100%;
  transition: flex 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.calc-bar-segment.company { background: var(--blue); }
.calc-bar-segment.employee { background: var(--blue-bright); }
.calc-bar-segment.match { background: var(--orange); }
.calc-legend { display: flex; flex-direction: column; gap: 10px; }
.calc-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.calc-legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.calc-legend-amount {
  margin-left: auto;
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
}
.calc-supported {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.calc-supported-num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.calc-supported-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ========== VALUE BENTO ========== */
.value-section { padding: 120px 0; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
  perspective: 1000px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  will-change: transform;
}
.value-card.wide { grid-column: span 2; }
.value-card.dark {
  background: var(--ink);
  color: var(--cream);
  border: none;
}
.value-card.dark .value-title { color: var(--cream); }
.value-card.dark .value-desc { color: rgba(250, 247, 240, 0.7); }
.value-card.orange-card {
  background: var(--orange);
  color: var(--white);
  border: none;
}
.value-card.orange-card .value-title { color: var(--white); }
.value-card.orange-card .value-desc { color: rgba(255,255,255,0.9); }
.value-icon-wrap {
  width: 52px; height: 52px;
  background: var(--cream-deep);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.value-card.dark .value-icon-wrap { background: rgba(255,255,255,0.08); }
.value-card.orange-card .value-icon-wrap { background: rgba(255,255,255,0.15); }
.value-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.value-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ========== TESTIMONIAL ========== */
.testimonial-section { padding: 120px 0; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: -120px; right: -100px;
  width: 360px; height: 360px;
  background: var(--orange-soft);
  border-radius: 50%;
  opacity: 0.6;
}
.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -120px;
  width: 400px; height: 400px;
  background: var(--blue-tint);
  border-radius: 50%;
  opacity: 0.6;
}
.testimonial-inner { position: relative; z-index: 2; max-width: 880px; }
.quote-mark {
  font-family: var(--display);
  font-size: 96px;
  line-height: 0.5;
  color: var(--orange);
  margin-bottom: 32px;
  font-weight: 700;
}
.testimonial-text {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  color: var(--ink);
}
.testimonial-attr { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--orange) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}
.testimonial-name strong {
  display: block;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.testimonial-name span { font-size: 14px; color: var(--muted); }

/* ========== FINAL CTA ========== */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
}
.cta-title {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.cta-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
}
.cta-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 44px;
  text-wrap: balance;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--ink);
  color: rgba(250, 247, 240, 0.7);
  padding: 80px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.footer p { line-height: 1.6; max-width: 300px; margin-bottom: 16px; }
.footer h4 {
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
  transition: color 0.2s;
  position: relative;
  display: inline-block;
}
.footer ul li a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--cream);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer ul li a:hover { color: var(--cream); }
.footer ul li a:hover::after { width: 100%; }

.footer-link {
  color: rgba(250, 247, 240, 0.7);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--cream); }

.footer-social {
  list-style: none;
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 0;
}
.footer-social li { margin: 0; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(250, 247, 240, 0.75);
  transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s;
}
.footer-social a::after { content: none; }
.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.5;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== WORDPRESS BLOCK / POST CONTENT FALLBACKS ========== */
.entry-content { padding: 80px 0; max-width: 880px; margin: 0 auto; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  margin-top: 32px;
}
.entry-content p { margin-bottom: 16px; line-height: 1.7; color: var(--ink-soft); }
.entry-content a { color: var(--blue); text-decoration: underline; }
.entry-content img { max-width: 100%; height: auto; border-radius: 16px; }
.entry-title {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 72px);
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.page-header { padding: 60px 0 20px; }

/* Responsive */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); height: auto; }
  .bento-card.span-2, .bento-card.tall { grid-column: span 2; grid-row: auto; }
  .stepper-grid, .calc-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-card.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .step-content-wrap, .step-content { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .container, .nav-inner { padding: 0 20px; }
  .nav-menu { display: none; }
  .word-cycle { min-width: 220px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .testimonial-card { padding: 48px 28px; }
  .calc-results, .calc-controls { padding: 28px; }
}
