/* ============================================================
   MATINSHAPE — Enhancement layer (light design system)
   Loaded by index.html, about.html, services.html after styles.css
   ============================================================ */

/* ============================================================
   Cinematic home hero — white base, soft gradients, glass
   ============================================================ */
.home-hero {
  position: relative;
  color: var(--ink);
  background:
    radial-gradient(860px 520px at 84% -8%, rgba(198,161,91,.14), transparent 62%),
    radial-gradient(680px 480px at -10% 70%, rgba(198,161,91,.08), transparent 58%),
    linear-gradient(180deg, #FFFFFF, var(--bg-warm));
  overflow: hidden;
}
.hh-beam {
  position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 26px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(161,98,7,.55), transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  animation: hh-beam-sweep 7s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  opacity: .6;
  z-index: 1;
}
@keyframes hh-beam-sweep {
  0% { background-position: -60% 0; }
  55%, 100% { background-position: 170% 0; }
}

.home-hero .hero-inner {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(30px, 4vw, 60px);
  text-align: left;
}
.home-hero .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0; transform: translateY(18px);
  animation: rise .9s var(--ease-luxe) 1.1s forwards;
}
.home-hero .hero-eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold-bright); }
.home-hero h1 { margin-left: 0; max-width: 12ch; }
.home-hero .hero-sub { margin-left: 0; max-width: 47ch; }
.home-hero .hero-ctas { justify-content: flex-start; }
.hh-trustline {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0; transform: translateY(16px);
  animation: rise .9s var(--ease-luxe) 2.15s forwards;
}
.hh-trustline span { display: inline-flex; align-items: center; gap: 8px; }
.hh-trustline i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---- the assembling automation core (light) ---- */
.hh-visual { position: relative; z-index: 2; }
.hh-visual-inner { will-change: transform; }
.hh-visual svg { width: 100%; max-width: 560px; height: auto; margin: 0 auto; display: block; }

.hh-ring circle.ring-line {
  fill: none;
  stroke: rgba(161,98,7,.30);
  stroke-width: 1;
}
.hh-ring { opacity: 0; transition: opacity 1.4s var(--ease-luxe); }
.hh-assembled .hh-ring { opacity: 1; }
.hh-assembled .hh-ring-a { transition-delay: .5s; }
.hh-assembled .hh-ring-b { transition-delay: .7s; }
.hh-spin-a, .hh-spin-b { transform-box: view-box; transform-origin: 280px 280px; }
.hh-spin-a { animation: hh-rot 46s linear infinite; }
.hh-spin-b { animation: hh-rot-rev 70s linear infinite; }
@keyframes hh-rot { to { transform: rotate(360deg); } }
@keyframes hh-rot-rev { to { transform: rotate(-360deg); } }
.hh-sat { fill: var(--gold); }
.hh-sat-2 { fill: rgba(161,98,7,.5); }

.hh-core { opacity: 0; transform: scale(.65); transform-box: fill-box; transform-origin: center;
  transition: opacity 1s var(--ease-luxe) .15s, transform 1.2s var(--ease-luxe) .15s; }
.hh-assembled .hh-core { opacity: 1; transform: scale(1); }
.hh-core-glow { animation: hh-glow 4.5s ease-in-out infinite; }
@keyframes hh-glow { 0%,100% { opacity: .5; } 50% { opacity: 1; } }

.hh-wire {
  fill: none;
  stroke: rgba(161,98,7,.45);
  stroke-width: 1.3;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  transition: stroke-dashoffset 1.5s var(--ease-luxe);
}
.hh-assembled .hh-wire-1 { stroke-dashoffset: 0; transition-delay: 1.0s; }
.hh-assembled .hh-wire-2 { stroke-dashoffset: 0; transition-delay: 1.15s; }
.hh-assembled .hh-wire-3 { stroke-dashoffset: 0; transition-delay: 1.3s; }
.hh-assembled .hh-wire-4 { stroke-dashoffset: 0; transition-delay: 1.45s; }

.hh-mod {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 1.2s var(--ease-luxe), opacity .9s var(--ease-luxe);
}
.hh-mod rect {
  fill: rgba(255, 255, 255, .92);
  stroke: rgba(28,25,23,.12);
  stroke-width: 1;
}
.hh-mod text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .14em;
  fill: #44403C;
}
.hh-mod .led { fill: var(--gold); }
.hh-mod-1 { transform: translate(-64px, -46px); }
.hh-mod-2 { transform: translate(58px, -52px); }
.hh-mod-3 { transform: translate(-58px, 50px); }
.hh-mod-4 { transform: translate(62px, 46px); }
.hh-assembled .hh-mod { opacity: 1; transform: translate(0, 0); }
.hh-assembled .hh-mod-1 { transition-delay: .85s; animation: hh-float 6.5s ease-in-out 2.4s infinite alternate; }
.hh-assembled .hh-mod-2 { transition-delay: 1.0s;  animation: hh-float 7.5s ease-in-out 2.9s infinite alternate; }
.hh-assembled .hh-mod-3 { transition-delay: 1.15s; animation: hh-float 7s ease-in-out 3.4s infinite alternate; }
.hh-assembled .hh-mod-4 { transition-delay: 1.3s;  animation: hh-float 8s ease-in-out 3.9s infinite alternate; }
@keyframes hh-float { to { transform: translateY(-7px); } }

.hh-pulse {
  fill: var(--gold);
  opacity: 0;
  transition: opacity .6s 2s;
  filter: drop-shadow(0 0 4px rgba(198,161,91,.8));
}
.hh-assembled .hh-pulse { opacity: 1; }

.hh-status { opacity: 0; transition: opacity .9s var(--ease-luxe) 2.2s; }
.hh-assembled .hh-status { opacity: 1; }
.hh-status text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .22em;
  fill: #047857;
}
.hh-status circle { fill: #10B981; animation: hh-glow 2.4s ease-in-out infinite; }

/* ============================================================
   Data divider between sections
   ============================================================ */
.data-divider {
  width: 1px; height: 72px;
  margin: 0 auto;
  background: linear-gradient(180deg, transparent, rgba(198,161,91,.55), transparent);
  position: relative;
}
.data-divider::after {
  content: '';
  position: absolute; left: -2px; top: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(198,161,91,.8);
  animation: divider-drop 3.2s var(--ease-soft) infinite;
}
@keyframes divider-drop {
  0% { transform: translateY(-4px); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(70px); opacity: 0; }
}

/* ============================================================
   Industry / use-case chips (replaces logo-style marquee)
   ============================================================ */
.industries { padding: 64px 24px 70px; border-top: 1px solid var(--border); }
.industries-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 30px;
}
.industry-chips {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.industry-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #FFFFFF, var(--bg-warm));
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-luxe), box-shadow .45s, border-color .4s, color .3s;
  cursor: default;
}
.industry-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(198,161,91,.55);
  color: var(--ink);
}
.industry-chip svg { color: var(--gold); flex-shrink: 0; }

/* tools mini-marquee (kept honest — tools, not clients) */
.tool-item {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(28,25,23,.42);
  white-space: nowrap;
  display: flex; align-items: center; gap: 14px;
  transition: color .4s;
}
.tool-item:hover { color: var(--gold); }
.tool-item i {
  width: 5px; height: 5px;
  background: var(--gold-bright);
  border-radius: 50%;
  opacity: .55;
  flex-shrink: 0;
}

/* ============================================================
   Principles strip
   ============================================================ */
.principles {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-warm), var(--bg));
}
.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.principle {
  padding: 40px 28px;
  position: relative;
  text-align: center;
}
.principle + .principle::before {
  content: '';
  position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: var(--border);
}
.principle-kicker {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.principle h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-top: 12px;
  letter-spacing: -.005em;
}
.principle p {
  font-size: 13px; line-height: 1.65;
  color: var(--ink-mute);
  margin-top: 8px;
  max-width: 26ch;
  margin-left: auto; margin-right: auto;
}

/* ============================================================
   "Built for systems, not hype" cards
   ============================================================ */
.hype-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.hype-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 26px;
  overflow: hidden;
  transition: transform .55s var(--ease-luxe), box-shadow .55s, border-color .45s;
}
.hype-card::before {
  content: '';
  position: absolute; top: 0; left: 26px; right: 26px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
}
.hype-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(198,161,91,.4);
}
.hype-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--gold-pale), #fff);
  border: 1px solid rgba(198,161,91,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.hype-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600;
  margin-top: 18px;
}
.hype-card p {
  font-size: 13.5px; line-height: 1.7;
  color: var(--ink-mute);
  margin-top: 9px;
}

/* ============================================================
   Proof panels + honesty labeling
   ============================================================ */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 60px;
}
.proof-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .6s var(--ease-luxe), box-shadow .6s, border-color .5s;
}
.proof-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(198,161,91,.45);
}
.proof-visual {
  height: 190px;
  background:
    radial-gradient(260px 140px at 50% 15%, rgba(198,161,91,.10), transparent 75%),
    linear-gradient(180deg, var(--bg-warm), #fff);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.proof-visual svg { width: 84%; max-height: 160px; }
.concept-chip {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(198,161,91,.4);
  color: var(--gold);
}
.proof-body { padding: 26px 28px 30px; }
.proof-kicker {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.proof-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600;
  margin-top: 10px;
}
.proof-body p {
  font-size: 13.5px; line-height: 1.7;
  color: var(--ink-mute);
  margin-top: 10px;
}
.proof-note {
  margin: 44px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-mute);
  padding: 16px 24px;
  border: 1px dashed rgba(198,161,91,.45);
  border-radius: 14px;
  background: rgba(243,233,210,.22);
}
.pv-mono { font-family: 'JetBrains Mono', monospace; letter-spacing: .1em; }
.pv-pop {
  opacity: 0;
  transform: translateY(6px);
  transform-box: fill-box;
  transition: opacity .6s var(--ease-luxe), transform .6s var(--ease-luxe);
}
.reveal.in .pv-pop { opacity: 1; transform: translateY(0); }
.reveal.in .pv-pop.d1 { transition-delay: .25s; }
.reveal.in .pv-pop.d2 { transition-delay: .55s; }
.reveal.in .pv-pop.d3 { transition-delay: .85s; }
.reveal.in .pv-pop.d4 { transition-delay: 1.15s; }
.pv-eq rect {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: pv-eq-bounce 1.5s ease-in-out infinite;
}
.pv-eq rect:nth-of-type(2) { animation-delay: .15s; }
.pv-eq rect:nth-of-type(3) { animation-delay: .3s; }
.pv-eq rect:nth-of-type(4) { animation-delay: .45s; }
.pv-eq rect:nth-of-type(5) { animation-delay: .6s; }
.pv-eq rect:nth-of-type(6) { animation-delay: .75s; }
@keyframes pv-eq-bounce {
  0%, 100% { transform: scaleY(.45); }
  50% { transform: scaleY(1); }
}
.pv-dash {
  stroke: var(--gold-bright);
  stroke-width: 1.4;
  stroke-dasharray: 5 6;
  animation: pv-dash-flow 1.3s linear infinite;
}
@keyframes pv-dash-flow { to { stroke-dashoffset: -11; } }
.pv-blink { animation: pv-led 2.2s ease-in-out infinite; }
@keyframes pv-led { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.pv-slide { animation: pv-slide-move 5.5s var(--ease-luxe) infinite; }
@keyframes pv-slide-move {
  0%, 16% { transform: translateX(0); opacity: 1; }
  36%, 56% { transform: translateX(74px); }
  76%, 92% { transform: translateX(148px); }
  100% { transform: translateX(148px); opacity: 0; }
}

/* ============================================================
   Workflow Simulator — interactive lead journey
   ============================================================ */
.simulator {
  margin-top: 56px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.simulator::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(480px 200px at 50% 0%, rgba(198,161,91,.07), transparent 70%);
  pointer-events: none;
}
.sim-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  margin-bottom: 34px;
}
.sim-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
}
.sim-replay {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #FFFFFF, #F6F4EE);
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .35s, box-shadow .4s, transform .4s var(--ease-luxe);
}
.sim-replay:hover { border-color: var(--gold-bright); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.sim-replay svg { color: var(--gold); }

.sim-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
}
.sim-line {
  position: absolute;
  top: 26px; left: 8%; right: 8%;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.sim-line i {
  display: block; height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease-luxe);
}
.sim-step { text-align: center; position: relative; padding-top: 2px; }
.sim-dot {
  width: 50px; height: 50px;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute);
  position: relative; z-index: 1;
  transition: all .5s var(--ease-luxe);
}
.sim-step.active .sim-dot {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 0 6px rgba(198,161,91,.14), var(--shadow-sm);
  transform: scale(1.08);
}
.sim-step.done .sim-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.sim-step h4 {
  font-size: 12.5px; font-weight: 600;
  margin-top: 12px;
  color: var(--ink-mute);
  transition: color .4s;
}
.sim-step.active h4, .sim-step.done h4 { color: var(--ink); }
.sim-caption {
  margin-top: 30px;
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-soft);
  min-height: 46px;
  line-height: 1.65;
}
.sim-caption strong { color: var(--gold); font-weight: 600; }

/* ============================================================
   Founder section — photo card
   ============================================================ */
.founder-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  margin-top: 56px;
}
.founder-mark {
  position: relative;
  border-radius: 32px;
  background: linear-gradient(160deg, #FFFFFF, var(--bg-warm) 70%);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5.4;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}
.founder-mark::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(320px 220px at 70% 8%, rgba(198,161,91,.16), transparent 65%),
    radial-gradient(260px 200px at 12% 95%, rgba(198,161,91,.10), transparent 60%);
}
.founder-mark img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 17%;
  opacity: 0;
  transition: opacity .8s var(--ease-luxe);
}
.founder-mark.has-photo img { opacity: 1; }
.founder-mark.has-photo svg,
.founder-mark.has-photo .fm-name { display: none; }
.founder-mark.has-photo .fm-plate { opacity: 1; }
.fm-plate {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(198,161,91,.9) 16px, transparent 16px) top left / 16px 1.5px no-repeat,
    linear-gradient(180deg, rgba(198,161,91,.9) 16px, transparent 16px) top left / 1.5px 16px no-repeat,
    linear-gradient(270deg, rgba(198,161,91,.9) 16px, transparent 16px) top right / 16px 1.5px no-repeat,
    linear-gradient(180deg, rgba(198,161,91,.9) 16px, transparent 16px) top right / 1.5px 16px no-repeat,
    linear-gradient(165deg, rgba(28,25,23,.92), rgba(28,25,23,.78));
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(205,170,99,.22);
  box-shadow: 0 18px 44px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.06);
  text-align: left;
  opacity: 0;
  transition: opacity .8s var(--ease-luxe) .2s;
  z-index: 2;
  overflow: hidden;
}
.fm-plate .fm-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 8px;
}
.fm-plate .fm-eyebrow svg { color: var(--gold-bright); flex-shrink: 0; }
.fm-plate b {
  display: block;
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0;
  line-height: 1.05;
  padding-bottom: 13px;
  color: #FDFDFB;
}
.fm-plate b::after {
  content: '';
  position: absolute; left: 2px; bottom: 0;
  width: 34px; height: 2px;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
}
.founder-mark svg { width: 108px; height: 108px; position: relative; }
.founder-mark .fm-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: .01em;
  position: relative;
  color: var(--ink);
}
.founder-mark .fm-role {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
}
.founder-mark.has-photo .fm-role { display: none; }
.founder-copy h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.founder-copy > p {
  color: var(--ink-mute);
  font-size: 15px; line-height: 1.85;
  margin-top: 18px;
  max-width: 58ch;
}
.founder-points {
  list-style: none;
  margin-top: 26px;
  display: flex; flex-direction: column; gap: 12px;
}
.founder-points li {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 14px;
  color: var(--ink-soft);
}
.founder-points li b { color: var(--ink); font-weight: 600; }
.founder-points .fp-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--gold);
  letter-spacing: .1em;
  flex-shrink: 0;
}
.founder-actions { margin-top: 30px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* ============================================================
   Section CTA rows / links
   ============================================================ */
.section-cta-row {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  flex-wrap: wrap;
  margin-top: 52px;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 600;
  color: var(--ink);
  padding: 12px 4px;
  position: relative;
}
.link-arrow::after {
  content: '';
  position: absolute; left: 0; right: 26px; bottom: 6px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-luxe);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { transition: transform .4s var(--ease-luxe); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ============================================================
   Six-step operating system map
   ============================================================ */
.process-track.six { grid-template-columns: repeat(6, 1fr); gap: 22px; }
.process-track.six .step h3 { font-size: 1.15rem; }
.process-track.six .step p { font-size: 12.5px; }
@media (max-width: 1080px) {
  .process-track.six { grid-template-columns: repeat(3, 1fr); }
  .process-track.six .process-line { display: none; }
}
@media (max-width: 640px) {
  .process-track.six { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ (shared with contact styles) + footer legal
   ============================================================ */
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: var(--ink-mute); transition: color .3s; }
.footer-legal a:hover { color: var(--gold); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .home-hero .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .home-hero h1, .home-hero .hero-sub { margin-left: auto; margin-right: auto; }
  .home-hero .hero-ctas, .hh-trustline { justify-content: center; }
  .home-hero .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .hh-visual svg { max-width: 440px; }
  .proof-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(3)::before { display: none; }
  .founder-panel { grid-template-columns: 1fr; }
  .founder-mark { max-width: 420px; margin: 0 auto; width: 100%; }
  .hype-grid { grid-template-columns: repeat(2, 1fr); }
  .sim-track { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .sim-step h4 { font-size: 10.5px; }
}
@media (max-width: 640px) {
  .principles-grid { grid-template-columns: 1fr; }
  .principle + .principle::before { display: none; }
  .principle { border-top: 1px solid var(--border); }
  .principle:first-child { border-top: none; }
  .hh-visual svg { max-width: 350px; }
  .hh-trustline { gap: 8px 16px; font-size: 9.5px; }
  .hype-grid { grid-template-columns: 1fr; }
  .sim-track { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .sim-line { display: none; }
  .sim-dot { width: 44px; height: 44px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hh-beam, .hh-spin-a, .hh-spin-b, .hh-core-glow, .data-divider::after,
  .pv-eq rect, .pv-dash, .pv-blink, .pv-slide { animation: none !important; }
  .hh-ring, .hh-core, .hh-mod, .hh-pulse, .hh-status { opacity: 1 !important; transform: none !important; }
  .hh-wire { stroke-dashoffset: 0 !important; }
  .hh-pulse { display: none; }
  .pv-pop { opacity: 1 !important; transform: none !important; }
  .home-hero .hero-eyebrow, .hh-trustline { opacity: 1; transform: none; animation: none; }
  .sim-step .sim-dot { transition: none; }
}

/* ---- simulator result card ---- */
.sim-result {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 22px auto 0;
  max-width: 340px;
  padding: 14px 24px;
  border-radius: 100px;
  border: 1px solid rgba(16,185,129,.35);
  background: linear-gradient(180deg, rgba(16,185,129,.08), rgba(16,185,129,.04));
  color: #047857;
  font-size: 14px; font-weight: 600;
  opacity: 0; transform: translateY(10px) scale(.96);
  transition: opacity .6s var(--ease-luxe), transform .6s var(--ease-luxe);
  pointer-events: none;
}
.sim-result.show { opacity: 1; transform: translateY(0) scale(1); }
.sim-result svg { flex-shrink: 0; }

/* ---- hero: extra modules + hover preview ---- */
.hh-mod-5 { transform: translate(-72px, 0); }
.hh-mod-6 { transform: translate(72px, 0); }
.hh-assembled .hh-mod-5 { transition-delay: 1.45s; animation: hh-float 7.2s ease-in-out 3.2s infinite alternate; }
.hh-assembled .hh-mod-6 { transition-delay: 1.6s;  animation: hh-float 6.8s ease-in-out 3.6s infinite alternate; }
.hh-assembled .hh-wire-5 { stroke-dashoffset: 0; transition-delay: 1.55s; }
.hh-assembled .hh-wire-6 { stroke-dashoffset: 0; transition-delay: 1.65s; }
.hh-mod rect { transition: stroke .35s, filter .45s; }
.hh-mod text { transition: fill .35s; }
.hh-mod:hover rect {
  stroke: var(--gold);
  stroke-width: 1.3;
  filter: drop-shadow(0 8px 18px rgba(198,161,91,.30));
}
.hh-mod:hover text { fill: var(--ink); }

/* ---- pricing ranges ---- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 26px;
  display: flex; flex-direction: column;
  transition: transform .55s var(--ease-luxe), box-shadow .55s, border-color .45s;
}
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(198,161,91,.4);
}
.price-card.custom {
  background: linear-gradient(165deg, #fff, var(--gold-pale) 160%);
  border-color: rgba(198,161,91,.4);
}
.price-kicker {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  margin-top: 12px;
}
.price-card p {
  font-size: 13.5px; line-height: 1.65;
  color: var(--ink-mute);
  margin-top: 9px;
  flex: 1;
}
.price-range {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  color: var(--ink);
}
.price-range small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 5px;
  font-weight: 400;
}
.price-note {
  margin: 34px auto 0;
  max-width: 560px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.7;
}

/* ---- believes / never-build ---- */
.belief-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 56px;
  align-items: start;
}
.belief-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 34px;
  transition: transform .55s var(--ease-luxe), box-shadow .55s;
}
.belief-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.belief-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 600;
  margin-bottom: 22px;
}
.belief-card ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.belief-card li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; line-height: 1.65;
  color: var(--ink-soft);
}
.belief-card li::before {
  content: '';
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A16207' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.belief-card.no { background: linear-gradient(180deg, #fff, var(--bg-warm)); }
.belief-card.no li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6862' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

@media (max-width: 1080px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .belief-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .price-grid { grid-template-columns: 1fr; }
  .sim-track { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .sim-result { transition: none; }
}

/* ---- audit pass: mobile polish ---- */
@media (max-width: 900px) {
  .sim-track { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .sim-line { display: none; }
}
@media (max-width: 640px) {
  .founder-mark { aspect-ratio: 4 / 4.7; max-width: 360px; }
  .founder-mark img { object-position: center 22%; }
}
