/* ═══════════════════════════════════════════════════════
   MATCHING UNICORNS — Design System
   Warm, editorial, human-first. Quicksand everywhere.
   ═══════════════════════════════════════════════════════ */

/* ── Fonts ─────────────────────────────────────────────── */
@font-face { font-family: 'Quicksand'; src: url('../assets/fonts/Quicksand-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('../assets/fonts/Quicksand-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('../assets/fonts/Quicksand-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('../assets/fonts/Quicksand-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('../assets/fonts/Quicksand-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

/* ── Tokens ────────────────────────────────────────────── */
:root {
  --orange: #FF6B30;
  --orange-deep: #E8562A;
  --orange-soft: #FFD3B0;
  --peach: #FFE1CC;
  --cream: #FFF7EE;
  --cream-deep: #FFF3E6;
  --sand: #F6E7D6;
  --ink: #1F1F1F;
  --ink-soft: #6B5B4C;
  --purple: #6544B8;
  --lavender: #A788FA;
  --lavender-soft: #E5DDFB;
  --green: #2E9A6B;
  --mint: #7ED3AB;
  --mint-soft: #D9F0E4;
  --yellow: #FFC33A;

  --bg: var(--cream);
  --bg-alt: var(--cream-deep);
  --surface: #FFFFFF;
  --surface-2: #FFFBF5;
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --line: rgba(31, 31, 31, 0.08);
  --shadow-soft: 0 24px 60px -24px rgba(138, 82, 39, 0.22);
  --shadow-lift: 0 34px 80px -28px rgba(138, 82, 39, 0.32);
  --glass: rgba(255, 251, 245, 0.72);

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Quicksand', 'Avenir Next', 'Trebuchet MS', sans-serif;

  --space-section: clamp(4.5rem, 9vh, 7.5rem);
  --pad-x: clamp(1.25rem, 5vw, 5rem);
  --max-w: 1280px;
}

[data-theme="dark"] {
  --bg: #191411;
  --bg-alt: #1F1915;
  --surface: #262019;
  --surface-2: #2C251D;
  --text: #FFF3E6;
  --text-soft: #C9B8A6;
  --line: rgba(255, 243, 230, 0.1);
  --peach: #3A2C20;
  --sand: #33291F;
  --lavender-soft: #322A4A;
  --mint-soft: #21382E;
  --shadow-soft: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
  --shadow-lift: 0 34px 80px -28px rgba(0, 0, 0, 0.7);
  --glass: rgba(30, 24, 19, 0.72);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
/* smooth anchors only when Lenis is NOT driving the scroll */
body.static-mode { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 500;
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

/* warm grain over everything */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

::selection { background: var(--orange); color: #fff; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* theme-dependent logo swap */
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

/* ── Loader ────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { display: grid; justify-items: center; gap: 1.6rem; }
.loader-icon { width: 72px; animation: loaderBob 1.4s var(--ease) infinite alternate; }
@keyframes loaderBob {
  from { transform: translateY(6px) rotate(-4deg); }
  to   { transform: translateY(-8px) rotate(4deg); }
}
.loader-bar { width: 148px; height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; }
.loader-bar-fill { display: block; height: 100%; width: 0%; border-radius: 99px; background: linear-gradient(90deg, var(--orange), var(--yellow)); transition: width 0.35s var(--ease); }

/* ── Scroll progress ───────────────────────────────────── */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1600; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--orange), var(--yellow)); border-radius: 0 99px 99px 0; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 1.05rem 1.9rem;
  border-radius: 99px; border: 2px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
  will-change: transform;
}
.btn-sm { padding: 0.72rem 1.3rem; font-size: 0.92rem; }
.btn-lg { padding: 1.2rem 2.3rem; font-size: 1.08rem; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 14px 34px -12px rgba(255, 107, 48, 0.55); }
.btn-primary:hover { background: var(--orange-deep); box-shadow: 0 20px 44px -12px rgba(255, 107, 48, 0.6); }
.btn-outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-ghost { color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--peach); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 16px 40px -14px rgba(0,0,0,0.35); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,0.8); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.14); }
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* ── Nav ───────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1500;
  padding: 1rem var(--pad-x);
  transition: transform 0.5s var(--ease);
}
.nav.hidden { transform: translateY(-110%); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: var(--glass);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.65rem 1.4rem;
  box-shadow: var(--shadow-soft);
}
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 1.6rem; font-weight: 600; font-size: 0.95rem; }
.nav-links a { position: relative; opacity: 0.85; transition: opacity 0.25s; padding: 0.3rem 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 99px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--text);
  display: grid; place-items: center;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.theme-toggle:hover { background: var(--peach); transform: rotate(15deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: none; }

.nav-burger { display: none; flex-direction: column; gap: 6px; background: none; border: none; padding: 0.6rem; }
.nav-burger span { width: 24px; height: 2.5px; border-radius: 99px; background: var(--text); transition: transform 0.35s var(--ease), opacity 0.3s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4.2px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4.2px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1400;
  background:
    radial-gradient(circle at 12% 14%, rgba(190, 166, 255, 0.16), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(255, 195, 58, 0.15), transparent 34%),
    var(--bg);
  display: grid;
  align-items: start;
  overflow-y: auto;
  padding: 7.7rem var(--pad-x) 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav {
  width: min(100%, 34rem);
  margin: 0 auto;
  display: grid;
  gap: 0.42rem;
  counter-reset: mobile-nav;
  text-align: left;
  transform: translateY(18px);
  transition: transform 0.45s var(--ease);
}
.mobile-menu.open nav { transform: translateY(0); }
.mobile-menu nav > a:not(.btn) {
  counter-increment: mobile-nav;
  position: relative;
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  min-height: 3.6rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--line);
  border-radius: 18px;
  font-size: clamp(1.02rem, 4vw, 1.18rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  transition: background 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.mobile-menu nav > a:not(.btn)::before {
  content: '0' counter(mobile-nav);
  color: var(--orange);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.mobile-menu nav > a:not(.btn)::after {
  content: '↗';
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
  transform: translateX(-4px);
  opacity: 0.55;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.mobile-menu nav > a:not(.btn):hover,
.mobile-menu nav > a:not(.btn):focus-visible {
  background: var(--surface);
  color: var(--orange-deep);
  transform: translateX(4px);
  outline: none;
}
.mobile-menu nav > a:not(.btn):hover::after,
.mobile-menu nav > a:not(.btn):focus-visible::after {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu nav > a[aria-label*="Switch"] {
  margin-top: 0.4rem;
  border: 1px solid rgba(153, 119, 255, 0.2);
  background: var(--lavender-soft);
}
.mobile-menu nav > a[aria-label*="Switch"]::after {
  content: '⇄';
  color: var(--purple);
  opacity: 0.9;
}
.mobile-menu-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.mobile-menu-ctas .btn {
  justify-content: center;
  min-height: 3.45rem;
  padding: 0.9rem 1rem;
  text-align: center;
}
body.menu-open { overflow: hidden; }

/* ── Shared section bits ───────────────────────────────── */
main > section { padding: var(--space-section) var(--pad-x); position: relative; }
.section-eyebrow {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange);
  max-width: var(--max-w); margin: 0 auto 1.4rem;
}
.section-eyebrow.light { color: var(--yellow); }
.section-title {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.02em;
  max-width: var(--max-w); margin: 0 auto 1.2rem;
}
.section-title.light { color: #fff; }
.section-sub { max-width: var(--max-w); margin: 0 auto 2.2rem; color: var(--text-soft); font-size: 1.12rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange);
  background: var(--peach);
  padding: 0.5rem 1.1rem; border-radius: 99px;
  margin-bottom: 2rem;
}
.eyebrow-star { color: var(--yellow); }

/* reveal defaults (JS animates in) */
.reveal, .reveal-left, .reveal-right { opacity: 0; }

/* ── 01 HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid; align-content: center;
  padding-top: clamp(7rem, 16vh, 10rem) !important;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.55;
  will-change: transform;
}
.glow-orange { width: 46vw; height: 46vw; background: var(--orange-soft); top: -12%; right: -8%; }
.glow-lavender { width: 36vw; height: 36vw; background: var(--lavender-soft); bottom: -14%; left: -10%; }
.glow-mint { width: 26vw; height: 26vw; background: var(--mint-soft); top: 38%; left: 34%; opacity: 0.4; }
[data-theme="dark"] .glow { opacity: 0.3; }

.hero-inner {
  position: relative; max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero-title {
  font-size: clamp(2.9rem, 5.5vw, 5rem);
  font-weight: 700; line-height: 1.04; letter-spacing: -0.025em;
  margin-bottom: 1.8rem;
}
.line-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line { display: block; }
.hero-title .accent { color: var(--orange); position: relative; display: inline-block; }
.title-star { position: absolute; top: -0.18em; right: -0.65em; font-size: 0.42em; color: var(--yellow); animation: twinkle 2.6s ease-in-out infinite; }
.hero-sub { font-size: 1.2rem; color: var(--text-soft); max-width: 34rem; margin-bottom: 2.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.4rem; }
.hero-note { font-size: 0.92rem; color: var(--text-soft); opacity: 0.85; }

/* hero visual composition */
.hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: end; width: 100%; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-path {
  stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 7 11; opacity: 0.5; fill: none;
  animation: dashFlow 26s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -600; } }

.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  padding: 0.9rem 1.1rem;
  display: flex; align-items: center; gap: 0.75rem;
  will-change: transform;
  animation: floaty 7s ease-in-out infinite alternate;
}
.float-card strong { display: block; font-size: 0.95rem; line-height: 1.25; }
.float-card em { font-style: normal; font-size: 0.8rem; color: var(--text-soft); }
.pc-1 { top: 6%; left: 2%; animation-delay: 0s; }
.pc-2 { top: 16%; right: 0%; animation-delay: -2.4s; flex-direction: column; align-items: flex-start; }
.pc-3 { bottom: 10%; left: 0%; animation-delay: -4.2s; flex-direction: column; align-items: flex-start; }
.cc-1 { bottom: 16%; right: 2%; animation-delay: -1.3s; }
@keyframes floaty {
  from { transform: translateY(-7px) rotate(-0.6deg); }
  to   { transform: translateY(9px) rotate(0.8deg); }
}

.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.85rem; color: var(--ink);
  flex-shrink: 0;
}
.av-mint { background: var(--mint); }
.av-lavender { background: var(--lavender); color: #fff; }
.av-yellow { background: var(--yellow); }
.av-orange { background: var(--orange); color: #fff; }

.chip { font-size: 0.72rem; font-weight: 700; padding: 0.28rem 0.7rem; border-radius: 99px; }
.chip-mint { background: var(--mint-soft); color: var(--green); }
.chip-lavender { background: var(--lavender-soft); color: var(--purple); }
.chip-yellow { background: #FFF0CC; color: #9A6B00; }
[data-theme="dark"] .chip-yellow { background: #3D320F; color: var(--yellow); }

.company-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 5px var(--lavender-soft); }

.match-core {
  position: absolute; top: 50%; left: 50%;
  width: 132px; height: 132px; margin: -66px 0 0 -66px;
  background: var(--surface);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
}
.match-unicorn { width: 62px; }
.match-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--orange);
  animation: pulse 3s var(--ease) infinite;
}
.match-pulse.delay { animation-delay: 1.5s; }
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.75); opacity: 0; }
}

.match-badge {
  position: absolute; top: 66%; left: 26%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.55rem 1.1rem;
  font-weight: 700; font-size: 0.9rem;
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 0.5rem;
  animation: floaty 6s ease-in-out infinite alternate; animation-delay: -3s;
}
.badge-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 0.75rem;
}

.spark { position: absolute; color: var(--yellow); animation: twinkle 3.2s ease-in-out infinite; }
.spark.s1 { top: 4%; right: 30%; font-size: 1.5rem; }
.spark.s2 { top: 40%; left: 18%; font-size: 1rem; animation-delay: -1s; }
.spark.s3 { bottom: 28%; right: 26%; font-size: 1.2rem; animation-delay: -2s; color: var(--lavender); }
.spark.s4 { bottom: 4%; left: 40%; font-size: 0.9rem; animation-delay: -1.6s; }
.spark.s5 { top: 22%; left: 44%; font-size: 1rem; animation-delay: -0.5s; color: var(--mint); }
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(20deg); }
}

/* ── 02 TRUST ──────────────────────────────────────────── */
.trust { padding-top: 4rem !important; padding-bottom: 5rem !important; }
.trust-label {
  text-align: center; font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft);
  margin-bottom: 2.2rem;
}
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 4.2rem; width: max-content; padding: 0.4rem 0; }
.marquee-logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em;
  opacity: 0.5; white-space: nowrap;
  transition: opacity 0.3s;
  filter: grayscale(1);
}
.marquee-logo:hover { opacity: 0.9; filter: grayscale(0); }
.marquee-logo svg { width: 22px; height: 22px; min-width: 0; max-width: 22px; flex-shrink: 0; display: inline-block; }
.lg-brightloom { color: var(--orange-deep); }
.lg-fieldstone { font-size: 1.05rem; letter-spacing: 0.16em; font-weight: 600; color: var(--ink-soft); }
.lg-halcyon { font-weight: 500; color: var(--purple); }
.lg-nova { font-size: 1rem; letter-spacing: 0.2em; font-weight: 700; color: var(--green); }
.lg-kestrel { font-weight: 700; letter-spacing: 0.04em; color: var(--ink-soft); }
.lg-sundial { font-weight: 600; color: var(--orange); }
.lg-copperline { font-weight: 500; letter-spacing: 0.02em; color: #B54A21; }
.lg-arroyo { font-weight: 700; letter-spacing: 0.06em; color: var(--purple); }
[data-theme="dark"] .marquee-logo { color: var(--text-soft); }
.m-star { color: var(--orange); opacity: 0.5; font-size: 0.8rem; }
.trust-metrics {
  max-width: var(--max-w); margin: 3.6rem auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
.metric { text-align: center; padding: 1.6rem 1rem; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.metric strong { display: block; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; color: var(--orange); letter-spacing: -0.02em; }
.metric span { font-size: 0.9rem; color: var(--text-soft); font-weight: 600; }

/* ── 03 PROBLEM ────────────────────────────────────────── */
.problem { background: var(--bg-alt); border-radius: var(--r-xl); margin: 0 clamp(0.6rem, 2vw, 2rem); overflow-x: clip; }
.problem-stage {
  max-width: var(--max-w); margin: 2rem auto 0;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}
.problem-side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3.4vw, 3rem);
  box-shadow: var(--shadow-soft);
  will-change: transform;
}
.problem-side h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.2; letter-spacing: -0.015em; margin: 1.4rem 0 0.9rem; }
.problem-side p { color: var(--text-soft); font-size: 1.02rem; }
.problem-glyph { display: inline-block; height: 96px; }
.problem-glyph img { height: 100%; width: auto; animation: floaty 6s ease-in-out infinite alternate; }
.glyph-talent img { animation-delay: -3s; }
.problem-connector { position: relative; width: clamp(120px, 16vw, 220px); }
.connector-svg { width: 100%; }
.connector-path { stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.connector-star {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0);
  font-size: 2.1rem; color: var(--yellow);
  text-shadow: 0 0 24px rgba(255, 195, 58, 0.8);
}
.problem-resolution {
  text-align: center; margin: 4.5rem auto 0;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em;
}
.problem-resolution em { font-style: normal; color: var(--orange); }

/* ── 04 PHILOSOPHY ─────────────────────────────────────── */
.philosophy-title {
  max-width: var(--max-w); margin: 0 auto 2.4rem;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.025em;
}
.philosophy-title .w { opacity: 0.14; transition: opacity 0.5s var(--ease); display: inline-block; }
.philosophy-title .w.on { opacity: 1; }
.philosophy-body {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.philosophy-text p { font-size: 1.18rem; color: var(--text-soft); margin-bottom: 1.4rem; }
.philosophy-text strong { color: var(--text); }
.phil-arc { stroke: var(--orange); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 8 14; fill: none; animation: dashFlow 22s linear infinite; }
.philosophy-illustration { position: relative; min-height: 340px; }
.phil-arc-svg { display: block; width: 100%; height: auto; position: relative; z-index: 1; }
.phil-blob { position: absolute; z-index: 0; aspect-ratio: 1; }
.phil-blob-right {
  width: 68%; left: 50%; bottom: -4%; transform: translateX(-50%);
  background: var(--lavender-soft);
  border-radius: 45% 55% 48% 52% / 55% 45% 42% 58%;
  animation: blobMorph 14s ease-in-out infinite alternate-reverse;
}
@keyframes blobMorph {
  from { border-radius: 58% 42% 55% 45% / 52% 48% 60% 40%; }
  to   { border-radius: 45% 55% 42% 58% / 58% 42% 50% 50%; }
}
.phil-char { position: absolute; z-index: 2; margin: 0; display: grid; justify-items: center; gap: 0.8rem; pointer-events: none; }
.phil-char img { display: block; width: 100%; height: auto; animation: philFloat 5s ease-in-out infinite alternate; }
.phil-char-unicorn { width: clamp(170px, 22vw, 260px); left: 50%; bottom: 6%; transform: translateX(-50%); }
.phil-char-unicorn img { animation-delay: -2.5s; animation-duration: 5.8s; }
.phil-char figcaption {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--surface); border: 1px solid var(--line);
  padding: 0.42rem 1rem; border-radius: 99px;
  box-shadow: var(--shadow-soft);
  color: var(--orange); white-space: nowrap;
}
.phil-char-unicorn figcaption { color: var(--purple); }
@keyframes philFloat { from { transform: translateY(-6px) rotate(-1deg); } to { transform: translateY(7px) rotate(1.2deg); } }

/* ── 05 PROCESS ────────────────────────────────────────── */
.process-track { max-width: var(--max-w); margin: 3.4rem auto 0; position: relative; }
.process-line {
  position: absolute; top: 27px; left: 4%; right: 4%; height: 3.5px;
  background: var(--line); border-radius: 99px; overflow: hidden;
}
.process-line span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--orange), var(--yellow)); border-radius: 99px; opacity: 0.55; }
.process-steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem;
}
.process-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.6rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  position: relative; z-index: 1;
}
.process-step:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-lift); }
.step-num {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--peach); color: var(--orange);
  font-weight: 700; font-size: 1.05rem;
  margin-bottom: 1.5rem;
  transition: background 0.35s, color 0.35s, transform 0.45s var(--ease);
}
.process-step:hover .step-num { background: var(--orange); color: #fff; transform: rotate(-8deg) scale(1.06); }
.step-illo { display: block; width: 64px; margin-bottom: 1.2rem; border-radius: 16px; box-shadow: 0 10px 24px -12px rgba(138, 82, 39, 0.28); transition: transform 0.45s var(--ease); }
.step-illo svg { display: block; width: 100%; height: auto; }
.process-step:hover .step-illo { transform: rotate(-5deg) scale(1.08); }
.process-step h3 { font-size: 1.3rem; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.process-step p { font-size: 0.97rem; color: var(--text-soft); }

/* process carousel controls (mobile only) */
.process-nav { display: none; margin-top: 0.3rem; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface); color: var(--text);
  font-size: 1.05rem; font-weight: 700;
  box-shadow: var(--shadow-soft);
  display: grid; place-items: center;
  transition: background 0.3s, color 0.3s, opacity 0.3s, transform 0.3s var(--ease);
}
.carousel-btn:not(:disabled):active { transform: scale(0.92); }
.carousel-btn:not(:disabled):hover { background: var(--orange); color: #fff; }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.process-dots { display: flex; gap: 0.5rem; }
.process-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line);
  transition: background 0.3s, transform 0.3s var(--ease);
}
.process-dots .dot.on { background: var(--orange); transform: scale(1.3); }

/* ── 06 AI MATCHING INTELLIGENCE ───────────────────────── */
.match-intel {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4.6rem, 7vw, 6.8rem);
  padding-bottom: clamp(4.6rem, 7vw, 6.8rem);
  background:
    radial-gradient(circle at 82% 18%, rgba(229, 221, 251, 0.42), transparent 24%),
    radial-gradient(circle at 12% 78%, rgba(217, 240, 228, 0.38), transparent 25%),
    linear-gradient(180deg, var(--surface) 0%, rgba(255, 247, 238, 0.58) 100%);
  border: 1px solid rgba(138, 82, 39, 0.08);
  border-radius: var(--r-xl);
  margin: 0 clamp(0.6rem, 2vw, 2rem);
}
.match-intel::before,
.match-intel::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.match-intel::before {
  width: 14px; height: 14px;
  right: 8%; top: 8%;
  background: var(--yellow);
  box-shadow: 0 0 34px rgba(255, 195, 58, 0.45);
  animation: twinkle 4.2s ease-in-out infinite;
}
.match-intel::after {
  width: 9px; height: 9px;
  left: 7%; top: 38%;
  background: var(--lavender);
  box-shadow: 0 0 28px rgba(167, 136, 250, 0.42);
  animation: twinkle 4.8s ease-in-out -2.1s infinite;
}
.match-intel-intro,
.match-intel-stage,
.match-intel-trust,
.match-intel-features,
.match-intel-close {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.match-intel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.78fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.match-intel-heading .section-title {
  max-width: 48rem;
  margin: 0;
  font-size: clamp(2.7rem, 4.7vw, 3.9rem);
  line-height: 1.03;
}
.match-intel-lede {
  display: grid;
  gap: 1rem;
  padding-bottom: 0.35rem;
}
.match-intel-lede p {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.72;
}
.match-intel-lede strong {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--green);
}
.match-intel-lede strong::before {
  content: '✓';
  flex: 0 0 auto;
  width: 25px; height: 25px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--green);
  font-size: 0.72rem;
}

.match-intel-stage {
  display: grid;
  grid-template-columns: minmax(15rem, 0.92fr) minmax(14rem, 0.7fr) minmax(18rem, 1.16fr);
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  align-items: center;
  min-height: 610px;
  margin-top: clamp(2.3rem, 4.5vh, 3.6rem);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 245, 0.88)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: clamp(28px, 3vw, 42px);
  box-shadow:
    0 36px 90px -52px rgba(98, 64, 38, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  isolation: isolate;
}
.match-intel-glow {
  position: absolute;
  z-index: -1;
  left: 50%; top: 50%;
  width: min(46vw, 560px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 195, 58, 0.19), rgba(255, 107, 48, 0.08) 38%, transparent 70%);
  filter: blur(12px);
  animation: matchGlow 5.6s ease-in-out infinite alternate;
}
@keyframes matchGlow {
  from { opacity: 0.62; scale: 0.94; }
  to { opacity: 1; scale: 1.06; }
}
.match-intel-flow {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}
.match-intel-flow span {
  position: absolute;
  top: 50%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 107, 48, 0.64) 0 7px, transparent 7px 17px);
  background-size: 34px 2px;
  animation: matchSignal 1.5s linear infinite;
}
.match-intel-flow-a { left: 28%; width: 15%; }
.match-intel-flow-b { right: 29%; width: 15%; }
@keyframes matchSignal { to { background-position: 34px 0; } }

.match-intel-profiles,
.match-intel-shortlist {
  display: grid;
  gap: 0.85rem;
}
.match-intel-stage-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.15rem 0.35rem;
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.match-intel-stage-label::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 107, 48, 0.1);
}
.match-profile {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  min-width: 0;
  padding: 1rem 0.95rem;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 36px -26px rgba(80, 55, 36, 0.32);
  transition:
    transform 0.5s var(--ease),
    opacity 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.5s var(--ease);
  animation: matchCardFloat 6.2s ease-in-out infinite alternate;
}
.match-profile-good { animation-delay: -2.4s; }
.match-profile-low { animation-delay: -4.1s; opacity: 0.62; }
@keyframes matchCardFloat {
  from { transform: translateY(-4px); }
  to { transform: translateY(5px); }
}
.match-profile:hover {
  transform: translateY(-7px) rotate(-0.6deg);
  border-color: rgba(255, 107, 48, 0.35);
  box-shadow: 0 24px 50px -28px rgba(255, 107, 48, 0.32);
}
.match-profile > div,
.match-short-head > div { min-width: 0; }
.match-profile strong,
.match-short-head strong {
  display: block;
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.25;
}
.match-profile em,
.match-short-head em {
  display: block;
  margin-top: 0.12rem;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.35;
}
.match-avatar {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 2px solid var(--surface);
  border-radius: 50%;
  box-shadow: 0 6px 16px -9px rgba(30, 24, 20, 0.35);
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 700;
}
.match-avatar-mint { background: var(--mint-soft); color: var(--green); }
.match-avatar-lavender { background: var(--lavender-soft); color: var(--purple); }
.match-avatar-yellow { background: var(--sand); color: var(--orange-deep); }
.match-skill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.55rem;
}
.match-skill-row span {
  padding: 0.2rem 0.48rem;
  border-radius: 99px;
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 0.58rem;
  font-weight: 700;
  transition: color 0.35s, background 0.35s, transform 0.35s var(--ease);
}
.match-profile-check {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
}
.match-profile-status {
  max-width: 4.1rem;
  color: var(--text-soft);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
}

.match-intel-engine {
  position: relative;
  width: min(100%, 250px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
}
.engine-orbit {
  position: absolute;
  inset: 12%;
  border: 1.5px dashed rgba(255, 107, 48, 0.36);
  border-radius: 50%;
  animation: engineSpin 24s linear infinite;
}
.engine-orbit-two {
  inset: 26%;
  border-style: solid;
  border-color: rgba(101, 68, 184, 0.18);
  animation-direction: reverse;
  animation-duration: 16s;
}
@keyframes engineSpin { to { transform: rotate(360deg); } }
.engine-core {
  position: relative;
  z-index: 2;
  width: 92px; height: 92px;
  display: grid; place-items: center;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 107, 48, 0.18);
  box-shadow:
    0 20px 45px -22px rgba(255, 107, 48, 0.48),
    0 0 0 14px rgba(255, 225, 204, 0.5);
}
.engine-core img {
  width: 48px;
  height: auto;
  filter: drop-shadow(0 8px 10px rgba(255, 107, 48, 0.18));
}
.engine-signal {
  position: absolute;
  z-index: 3;
  padding: 0.32rem 0.66rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  color: var(--text-soft);
  font-size: 0.6rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  animation: signalFloat 4.8s ease-in-out infinite alternate;
}
.signal-skills { left: 4%; top: 25%; color: var(--orange-deep); }
.signal-goals { right: 3%; top: 24%; color: var(--purple); animation-delay: -1.2s; }
.signal-style { left: 7%; bottom: 24%; color: var(--green); animation-delay: -2.4s; }
.signal-growth { right: 1%; bottom: 23%; color: #9C6800; animation-delay: -3.3s; }
@keyframes signalFloat {
  from { transform: translateY(-3px); }
  to { transform: translateY(5px); }
}
.engine-caption {
  position: absolute;
  bottom: 1%;
  color: var(--text-soft);
  font-size: 0.62rem;
  line-height: 1.45;
  text-align: center;
}
.engine-caption strong { color: var(--green); font-size: 0.68rem; }

.match-company-card,
.match-short-card,
.human-review {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: 0 20px 42px -28px rgba(80, 55, 36, 0.32);
}
.match-company-card {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  outline: none;
  cursor: default;
  transition: border-color 0.35s, box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}
.match-company-card:hover,
.match-company-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 48, 0.42);
  box-shadow: 0 22px 48px -25px rgba(255, 107, 48, 0.34);
}
.company-card-mark {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--peach);
  color: var(--orange);
  font-weight: 700;
}
.match-company-card span:not(.company-card-mark),
.match-company-card strong,
.match-company-card em { display: block; }
.match-company-card span:not(.company-card-mark) {
  color: var(--orange);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.match-company-card strong {
  margin-top: 0.08rem;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.3;
}
.match-company-card em {
  margin-top: 0.13rem;
  color: var(--text-soft);
  font-size: 0.66rem;
  font-style: normal;
}
.match-short-card {
  padding: 1rem;
  border-radius: 20px;
  transition: transform 0.55s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease), opacity 0.4s;
  animation: matchCardFloat 6.8s ease-in-out infinite alternate;
}
.match-short-two {
  padding: 0.82rem 1rem;
  animation-delay: -3s;
}
.match-short-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
}
.match-score {
  color: var(--text-soft);
  font-size: 0.56rem;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}
.match-score strong {
  display: block;
  color: var(--green);
  font-size: 1rem;
  line-height: 1.05;
}
.match-alignment {
  display: grid;
  grid-template-columns: auto minmax(4rem, 1fr);
  gap: 0.34rem 0.6rem;
  align-items: center;
  margin-top: 0.85rem;
  padding-top: 0.72rem;
  border-top: 1px dashed var(--line);
}
.match-alignment span {
  color: var(--text-soft);
  font-size: 0.57rem;
  font-weight: 700;
}
.match-alignment i {
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line);
}
.match-alignment i::after {
  content: '';
  display: block;
  width: var(--alignment);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  transform-origin: left;
  animation: alignmentGrow 2.4s var(--ease) both;
}
@keyframes alignmentGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.human-review {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.68rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border-radius: 18px;
  background: linear-gradient(130deg, rgba(217, 240, 228, 0.72), rgba(255, 255, 255, 0.92));
  border-color: rgba(46, 154, 107, 0.22);
}
.reviewer-avatar {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
}
.human-review p { min-width: 0; line-height: 1.25; }
.human-review p strong,
.human-review p span { display: block; }
.human-review strong { color: var(--text); font-size: 0.71rem; }
.human-review p span { margin-top: 0.12rem; color: var(--text-soft); font-size: 0.57rem; }
.review-seal {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
}

.match-intel-stage:is(.company-focus, :has(.match-company-card:hover), :has(.match-company-card:focus-visible)) .match-profile-low {
  opacity: 0.24;
  transform: translateX(-8px) scale(0.96);
  filter: grayscale(0.55);
}
.match-intel-stage:is(.company-focus, :has(.match-company-card:hover), :has(.match-company-card:focus-visible)) .match-profile-best,
.match-intel-stage:is(.company-focus, :has(.match-company-card:hover), :has(.match-company-card:focus-visible)) .match-short-one {
  opacity: 1;
  transform: translateY(-7px) scale(1.025);
  border-color: rgba(46, 154, 107, 0.42);
  box-shadow: 0 26px 58px -29px rgba(46, 154, 107, 0.42);
}
.match-intel-stage:is(.company-focus, :has(.match-company-card:hover), :has(.match-company-card:focus-visible)) .match-profile-best .match-skill-row span {
  background: var(--mint-soft);
  color: var(--green);
  transform: translateY(-2px);
}

.match-intel-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1.2rem;
  padding: 1.05rem 0;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 34px -30px rgba(80, 55, 36, 0.3);
}
.match-intel-trust span {
  position: relative;
  padding: 0.2rem 1.2rem 0.2rem 2.55rem;
  color: var(--text-soft);
  font-size: 0.71rem;
  line-height: 1.45;
}
.match-intel-trust span:not(:last-child) { border-right: 1px solid var(--line); }
.match-intel-trust span::before {
  content: '✓';
  position: absolute;
  left: 1.2rem; top: 50%;
  width: 21px; height: 21px;
  translate: 0 -50%;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--green);
  font-size: 0.6rem;
  font-weight: 700;
}
.match-intel-trust strong { color: var(--text); }

.match-intel-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-top: clamp(2.4rem, 5vh, 3.8rem);
}
.match-intel-feature {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 1.6rem 1.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 50px -34px rgba(80, 55, 36, 0.3);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.35s;
}
.match-intel-feature::after {
  content: '';
  position: absolute;
  right: -45px; bottom: -55px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--peach);
  opacity: 0.26;
  transition: transform 0.55s var(--ease), opacity 0.4s;
}
.match-intel-feature:nth-child(2)::after { background: var(--lavender-soft); }
.match-intel-feature:nth-child(3)::after { background: var(--mint-soft); }
.match-intel-feature:nth-child(4)::after { background: var(--sand); }
.match-intel-feature:hover {
  transform: translateY(-9px);
  border-color: rgba(255, 107, 48, 0.28);
  box-shadow: var(--shadow-lift);
}
.match-intel-feature:hover::after { transform: scale(1.16); opacity: 0.52; }
.match-feature-number {
  position: absolute;
  right: 1.25rem; top: 1.15rem;
  color: var(--text-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}
.match-feature-icon {
  position: relative;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  margin-bottom: 1.4rem;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.45s var(--ease);
}
.match-feature-icon i,
.match-feature-icon::before,
.match-feature-icon::after {
  position: absolute;
  display: block;
  content: '';
}
.feature-discovery i {
  width: 20px; height: 20px;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  transform: translate(-3px, -3px);
}
.feature-discovery i::after {
  content: '';
  position: absolute;
  width: 10px; height: 2.5px;
  right: -8px; bottom: -5px;
  border-radius: 99px;
  background: currentColor;
  transform: rotate(45deg);
}
.feature-discovery::after {
  width: 5px; height: 5px;
  right: 11px; top: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 195, 58, 0.18);
}
.feature-scoring i {
  width: 26px; height: 14px;
  bottom: 15px;
  border: 2.5px solid currentColor;
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
}
.feature-scoring i::after {
  content: '';
  position: absolute;
  width: 11px; height: 2.5px;
  left: 50%; bottom: -1px;
  border-radius: 99px;
  background: currentColor;
  transform: rotate(-42deg);
  transform-origin: left center;
}
.feature-scoring::after {
  width: 5px; height: 5px;
  left: 50%; bottom: 13px;
  border-radius: 50%;
  background: currentColor;
  translate: -50% 0;
}
.feature-review::before,
.feature-review::after {
  width: 18px; height: 18px;
  top: 17px;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}
.feature-review::before { left: 10px; }
.feature-review::after { right: 10px; }
.feature-review i {
  z-index: 1;
  width: 8px; height: 8px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
}
.feature-speed i {
  width: 24px; height: 2.5px;
  border-radius: 99px;
  background: currentColor;
  transform: rotate(-35deg);
}
.feature-speed i::after {
  content: '';
  position: absolute;
  width: 9px; height: 9px;
  right: -1px; top: 50%;
  border-right: 2.5px solid currentColor;
  border-top: 2.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.feature-speed::before {
  width: 12px; height: 2px;
  left: 9px; top: 18px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: -3px 7px 0 currentColor;
  opacity: 0.58;
}
.match-intel-feature:hover .match-feature-icon { transform: rotate(-7deg) scale(1.08); }
.icon-orange { background: var(--peach); color: var(--orange); }
.icon-lavender { background: var(--lavender-soft); color: var(--purple); }
.icon-mint { background: var(--mint-soft); color: var(--green); }
.icon-yellow { background: var(--sand); color: #9C6800; }
.match-intel-feature h3 {
  max-width: 12rem;
  margin-bottom: 0.7rem;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.28;
  letter-spacing: -0.012em;
}
.match-intel-feature p {
  position: relative;
  z-index: 1;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.62;
}

.match-intel-close {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.2rem, 3vw, 2.3rem);
  align-items: center;
  margin-top: clamp(2rem, 4vh, 3.2rem);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  background:
    radial-gradient(circle at 12% 30%, rgba(255, 195, 58, 0.18), transparent 28%),
    linear-gradient(135deg, var(--peach), rgba(255, 255, 255, 0.92) 68%);
  border: 1px solid rgba(255, 107, 48, 0.16);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
}
.match-intel-close > img {
  width: clamp(70px, 8vw, 104px);
  height: auto;
  animation: philFloat 5.4s ease-in-out infinite alternate;
}
.match-intel-close > div > span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin-bottom: 0.35rem;
  color: var(--orange-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.match-intel-close > div > span::before { content: '✦'; color: var(--yellow); }
.match-intel-close h3 {
  max-width: 40rem;
  color: var(--text);
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.match-intel-close p {
  margin-top: 0.35rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}
.match-intel-close .btn { white-space: nowrap; }
[data-theme="dark"] .match-intel {
  background:
    radial-gradient(circle at 82% 18%, rgba(101, 68, 184, 0.16), transparent 24%),
    radial-gradient(circle at 12% 78%, rgba(46, 154, 107, 0.12), transparent 25%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-alt) 100%);
}
[data-theme="dark"] .match-intel-stage {
  background: linear-gradient(135deg, rgba(38, 32, 25, 0.96), rgba(31, 25, 21, 0.92));
}
[data-theme="dark"] .match-profile,
[data-theme="dark"] .match-company-card,
[data-theme="dark"] .match-short-card {
  background: rgba(44, 37, 29, 0.88);
}
[data-theme="dark"] .engine-core { background: rgba(44, 37, 29, 0.96); }
[data-theme="dark"] .engine-signal { background: rgba(44, 37, 29, 0.9); }
[data-theme="dark"] .human-review {
  background: linear-gradient(130deg, rgba(33, 56, 46, 0.92), rgba(44, 37, 29, 0.9));
}
[data-theme="dark"] .match-intel-trust { background: rgba(38, 32, 25, 0.68); }
[data-theme="dark"] .match-intel-close {
  background:
    radial-gradient(circle at 12% 30%, rgba(255, 195, 58, 0.1), transparent 28%),
    linear-gradient(135deg, var(--peach), var(--surface) 68%);
}

@media (max-width: 1080px) {
  .match-intel-heading { grid-template-columns: 1fr 0.72fr; gap: 2.4rem; }
  .match-intel-stage {
    grid-template-columns: minmax(14rem, 0.9fr) minmax(11rem, 0.56fr) minmax(17rem, 1fr);
    gap: 1rem;
    padding: 1.6rem;
  }
  .match-intel-engine { width: 190px; }
  .engine-signal { font-size: 0.54rem; padding: 0.28rem 0.5rem; }
  .match-intel-features { grid-template-columns: repeat(2, 1fr); }
  .match-intel-feature { min-height: 230px; }
}
@media (max-width: 900px) {
  .match-intel-heading { grid-template-columns: 1fr; gap: 1.4rem; }
  .match-intel-lede { max-width: 42rem; }
  .match-intel-stage {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    min-height: 0;
    padding: 1.4rem;
  }
  .match-intel-flow { display: none; }
  .match-intel-profiles { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .match-intel-profiles .match-intel-stage-label { grid-column: 1 / -1; }
  .match-profile {
    grid-template-columns: auto 1fr;
    align-content: start;
    padding: 0.9rem;
  }
  .match-profile-check,
  .match-profile-status { position: absolute; top: 0.7rem; right: 0.7rem; }
  .match-skill-row { grid-column: 1 / -1; }
  .match-intel-engine { width: 210px; }
  .match-intel-shortlist { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .match-intel-shortlist .match-intel-stage-label,
  .match-company-card,
  .human-review { grid-column: 1 / -1; }
  .match-intel-trust { grid-template-columns: 1fr 1fr; }
  .match-intel-trust span:nth-child(2) { border-right: none; }
  .match-intel-trust span:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 0.75rem; margin-bottom: 0.55rem; }
  .match-intel-close { grid-template-columns: auto 1fr; }
  .match-intel-close .btn { grid-column: 2; justify-self: start; }
}
@media (max-width: 620px) {
  .match-intel { margin: 0 0.45rem; }
  .match-intel-stage { border-radius: 25px; }
  .match-intel-profiles,
  .match-intel-shortlist { grid-template-columns: 1fr; }
  .match-intel-profiles .match-intel-stage-label,
  .match-intel-shortlist .match-intel-stage-label,
  .match-company-card,
  .human-review { grid-column: auto; }
  .match-profile-low { display: none; }
  .match-intel-engine { width: 190px; }
  .match-intel-trust { grid-template-columns: 1fr; padding: 0.35rem 0; }
  .match-intel-trust span {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
    margin: 0 !important;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem !important;
  }
  .match-intel-trust span:last-child { border-bottom: none; }
  .match-intel-features { grid-template-columns: 1fr; }
  .match-intel-feature { min-height: 0; }
  .match-intel-close {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .match-intel-close > img { width: 76px; }
  .match-intel-close .btn { grid-column: auto; justify-self: stretch; justify-content: center; }
}

/* ── 07 DIFFERENT ──────────────────────────────────────── */
.different { background: var(--bg-alt); border-radius: var(--r-xl); margin: 0 clamp(0.6rem, 2vw, 2rem); position: relative; overflow: hidden; }
.different-cloud {
  position: absolute; top: 4%; right: clamp(1rem, 4vw, 4rem);
  width: clamp(50px, 7vw, 84px);
  height: auto;
  pointer-events: none;
  animation: philFloat 5s ease-in-out infinite alternate;
}
@media (max-width: 560px) {
  .different-cloud { width: 44px; top: 2%; right: 1rem; }
}
.compare {
  max-width: 1050px; margin: 3.6rem auto 0;
  display: grid; grid-template-columns: 1fr auto 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.compare-col { padding: clamp(1.8rem, 3.5vw, 3rem); }
.compare-them { background: var(--surface-2); }
.compare-us { background: linear-gradient(150deg, rgba(255, 107, 48, 0.09), rgba(255, 195, 58, 0.05) 60%, transparent); }
.compare-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  height: 44px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--line);
  padding: 0 1.1rem; border-radius: 99px;
}
.compare-badge.badge-us { color: var(--orange); border-color: rgba(255, 107, 48, 0.35); }
.compare-badge img { width: 20px; height: auto; }
.compare ul {
  list-style: none; display: grid; gap: 1.2rem; margin-top: 1.6rem;
  grid-auto-rows: minmax(3.6em, auto); align-content: start;
}
.compare li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 1.06rem; line-height: 1.5; }
.compare-them li { color: var(--text-soft); font-weight: 600; }
.compare-us li { font-weight: 700; }
.compare-x, .compare-star {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.8rem; margin-top: 0.1rem;
}
.compare-x { background: var(--line); color: var(--text-soft); }
.compare-star { background: var(--peach); color: var(--orange); }
.compare-divider { position: relative; width: 2px; background: transparent; border-left: 2px dashed var(--line); }
.compare-vs {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--orange); color: #fff;
  font-weight: 700; font-style: italic; font-size: 0.8rem;
  padding: 0.4rem 0.95rem; border-radius: 99px;
  box-shadow: 0 10px 24px -8px rgba(255, 107, 48, 0.5);
}
@media (max-width: 840px) {
  .compare { grid-template-columns: 1fr; }
  .compare-divider { width: auto; height: 2px; border-left: none; border-top: 2px dashed var(--line); margin: 0 2rem; }
  .compare-col { padding: 1.7rem 1.4rem; }
  .compare li { font-size: 0.98rem; }

  /* testimonials: full-bleed carousel, wider cards */
  .testi-card { flex-basis: 88%; padding: 1.5rem 1.4rem; }
  .testi-scroller {
    gap: 0.9rem;
    margin: 1.6rem calc(-1 * var(--pad-x)) 0;
    padding: 0.8rem var(--pad-x) 3.2rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  }
  .testi-head { flex-wrap: wrap; }
  .testi-id { flex: 1; min-width: 0; }
  .testi-id strong { white-space: nowrap; }
  .testi-stars { flex-basis: 100%; margin-left: calc(52px + 0.9rem); margin-top: -0.3rem; }

  /* process becomes a swipe carousel on mobile */
  .process-steps {
    display: flex; overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    margin: 0 calc(-1 * var(--pad-x));
    padding: 0.4rem var(--pad-x) 1.4rem;
    scrollbar-width: none;
  }
  .process-steps::-webkit-scrollbar { display: none; }
  .process-step { flex: 0 0 78%; scroll-snap-align: center; }
  .process-nav { display: flex; align-items: center; justify-content: center; gap: 1.2rem; }
}

/* ── 07 TALENT ─────────────────────────────────────────── */
.talent {
  position: relative; overflow: hidden;
  background: url('../assets/img/talent-bg.jpg') center / cover no-repeat var(--bg-alt);
  border-radius: var(--r-xl);
  margin: 0 clamp(0.6rem, 2vw, 2rem);
}
.talent::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 14%, transparent 58%);
}
.talent > * { position: relative; z-index: 1; }
[data-theme="dark"] .talent { background-image: none; }
[data-theme="dark"] .talent::before { display: none; }
.talent-sparkle { position: absolute; z-index: 0; color: var(--yellow); pointer-events: none; animation: twinkle 3.2s ease-in-out infinite; }
.talent-sparkle.sp-1 { top: 8%; right: 14%; font-size: 1.3rem; }
.talent-sparkle.sp-2 { bottom: 32%; right: 30%; font-size: 1rem; animation-delay: -1.2s; color: var(--lavender); }
.talent-sparkle.sp-3 { bottom: 14%; right: 8%; font-size: 0.9rem; animation-delay: -2s; }
.talent-grid {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem;
}
.talent-card {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem 1.5rem;
  position: relative;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
  color: var(--text);
}
.talent-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.talent-card.open { border-color: var(--orange); box-shadow: var(--shadow-lift); }
.talent-emoji {
  display: block; width: 58px; margin-bottom: 1.2rem;
  border-radius: 16px;
  box-shadow: 0 10px 24px -12px rgba(138, 82, 39, 0.28);
  transition: transform 0.45s var(--ease);
}
.talent-emoji svg { display: block; width: 100%; height: auto; }
.talent-card:hover .talent-emoji { transform: rotate(-5deg) scale(1.08); }
.talent-card h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
.talent-teaser { font-size: 0.92rem; color: var(--text-soft); margin-top: 0.25rem; }
.talent-more {
  position: absolute; top: 1.3rem; right: 1.3rem;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--peach); color: var(--orange);
  font-weight: 700; font-size: 1.2rem;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.talent-card.open .talent-more { transform: rotate(45deg); background: var(--orange); color: #fff; }
.talent-detail {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.55s var(--ease), opacity 0.45s var(--ease), margin 0.45s var(--ease);
}
.talent-card.open .talent-detail { max-height: 340px; opacity: 1; margin-top: 1.3rem; }
.talent-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.talent-tags span { font-size: 0.76rem; font-weight: 700; background: var(--bg-alt); border: 1px solid var(--line); padding: 0.3rem 0.7rem; border-radius: 99px; }
.talent-detail dl { display: grid; gap: 0.45rem; margin-bottom: 1rem; }
.talent-detail dl div { display: flex; justify-content: space-between; font-size: 0.9rem; border-bottom: 1px dashed var(--line); padding-bottom: 0.4rem; }
.talent-detail dt { color: var(--text-soft); font-weight: 600; }
.talent-detail dd { font-weight: 700; }
.talent-portfolio { font-size: 0.85rem; font-weight: 700; color: var(--orange); }

/* ── 08 COMPANIES BENTO ────────────────────────────────── */
.companies-bento {
  max-width: 1150px; margin: 3.4rem auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.bento-card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 2.8vw, 2.4rem);
  box-shadow: var(--shadow-soft);
  display: grid; gap: 0.9rem; align-content: start; justify-items: start;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.bento-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.bento-wide { grid-column: span 2; }
.bento-card h3 { font-size: clamp(1.5rem, 2.3vw, 1.95rem); line-height: 1.12; letter-spacing: -0.015em; }
.bento-card p { color: var(--text-soft); font-size: 1rem; max-width: 32rem; }
.bento-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); background: var(--peach);
  padding: 0.35rem 0.85rem; border-radius: 99px;
}
.bento-tag.tag-mint { color: var(--green); background: var(--mint-soft); }
.bento-tag.tag-lavender { color: var(--purple); background: var(--lavender-soft); }
.bento-stat { font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 700; color: var(--orange); line-height: 1; letter-spacing: -0.02em; }
.bento-char {
  position: absolute; top: 1.4rem; right: 1.4rem;
  width: clamp(54px, 6vw, 78px); height: auto;
  animation: philFloat 5.4s ease-in-out infinite alternate;
  pointer-events: none;
}
.bento-card:nth-child(2) .bento-char { animation-delay: -1.8s; }
.bento-card:nth-child(3) .bento-char { animation-delay: -3.2s; }
.bento-char-lg { width: clamp(84px, 9vw, 120px); top: auto; bottom: 1.2rem; animation-delay: -2.6s; }
.bento-steps {
  display: flex; align-items: center; gap: 0.9rem;
  margin-top: 0.8rem; width: 100%; max-width: 34rem;
}
.bs { display: grid; justify-items: center; gap: 0.15rem; text-align: center; }
.bs strong { font-size: 0.88rem; }
.bs em { font-style: normal; font-size: 0.78rem; color: var(--text-soft); white-space: nowrap; }
.bs-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--peach); border: 2.5px solid var(--orange);
  display: grid; place-items: center;
  margin-bottom: 0.3rem;
}
.bs-dot-final { background: var(--orange); color: #fff; font-size: 0.7rem; }
.bs-line { flex: 1; height: 2.5px; border-radius: 99px; background: linear-gradient(90deg, var(--orange), var(--yellow)); margin-bottom: 2.1rem; min-width: 20px; }
.bento-avatars { display: flex; align-items: center; }
.bento-avatars .avatar { width: 40px; height: 40px; border: 2.5px solid var(--surface); margin-right: -10px; }
.bento-avatar-star { color: var(--yellow); margin-left: 1rem; font-size: 1.2rem; animation: twinkle 3s ease-in-out infinite; }
.bento-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; max-width: 30rem; }
.bento-chips span {
  font-size: 0.82rem; font-weight: 700;
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: 0.42rem 0.9rem; border-radius: 99px;
}

/* ── 09 FOR TALENT ─────────────────────────────────────── */
.for-talent {
  background: linear-gradient(135deg, var(--purple) 0%, #4A2F8F 60%, #3A2470 100%);
  border-radius: var(--r-xl);
  margin: 0 clamp(0.6rem, 2vw, 2rem);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.for-talent::before {
  content: '✦'; position: absolute; top: 8%; right: 6%;
  color: var(--yellow); font-size: 2rem; animation: twinkle 3s ease-in-out infinite;
}
.for-talent::after {
  content: '✧'; position: absolute; bottom: 12%; left: 5%;
  color: var(--lavender); font-size: 1.5rem; animation: twinkle 3.8s ease-in-out infinite; animation-delay: -1.4s;
}
.for-talent-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.talent-benefits {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  margin: 2rem 0 1.9rem;
}
.for-talent {
  padding-top: clamp(3.2rem, 6.5vh, 4.8rem);
  padding-bottom: clamp(3.2rem, 6.5vh, 4.8rem);
}
.tb-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  padding: 1.35rem 1.5rem;
  display: grid; grid-template-columns: 44px 1fr;
  column-gap: 0.9rem; row-gap: 0.55rem; align-items: center;
  transition: transform 0.45s var(--ease), background 0.35s;
}
.tb-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.11); }
.tb-char {
  display: block; width: 44px; height: auto; grid-row: 1;
  animation: philFloat 5.2s ease-in-out infinite alternate;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}
.tb-card:nth-child(2) .tb-char { animation-delay: -1.6s; }
.tb-card:nth-child(3) .tb-char { animation-delay: -3s; }
.tb-card:nth-child(4) .tb-char { animation-delay: -4.4s; }
.tb-card h3 { font-size: 1.18rem; letter-spacing: -0.01em; grid-column: 2; margin: 0; }
.tb-card p { color: rgba(255, 255, 255, 0.78); font-size: 0.93rem; grid-column: 1 / -1; margin: 0; }

/* ── 10 TESTIMONIALS ───────────────────────────────────── */
.testi-scroller {
  display: flex; align-items: flex-start; gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.8rem 0.4rem 3.6rem;
  max-width: var(--max-w); margin: 2rem auto 0;
  scrollbar-width: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.testi-scroller::-webkit-scrollbar { display: none; }
.testi-scroller.dragging { cursor: grabbing; scroll-snap-type: none; }
.testi-card {
  flex: 0 0 min(470px, 88%);
  scroll-snap-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  box-shadow: var(--shadow-soft);
  display: grid; gap: 1.1rem; align-content: start;
}
.testi-head { display: flex; align-items: center; gap: 0.9rem; }
.testi-portrait {
  width: 52px; height: 52px; border-radius: 19px;
  display: grid; place-items: center; position: relative;
  font-weight: 700; font-size: 1rem; color: var(--ink);
  flex-shrink: 0;
}
.av-lavender.testi-portrait, .av-orange.testi-portrait { color: #fff; }
.portrait-star { position: absolute; top: -8px; right: -8px; font-style: normal; color: var(--yellow); font-size: 1rem; }
.testi-id strong { display: block; font-size: 0.98rem; line-height: 1.25; }
.testi-id span { font-size: 0.82rem; color: var(--text-soft); }
.testi-stars { margin-left: auto; color: var(--yellow); font-size: 0.92rem; letter-spacing: 2px; flex-shrink: 0; }
.testi-card blockquote p { font-size: clamp(1.02rem, 1.4vw, 1.18rem); font-weight: 600; line-height: 1.55; letter-spacing: -0.005em; }
.testi-card blockquote em { font-style: normal; color: var(--orange); }
.testi-meta { font-size: 0.85rem; color: var(--text-soft); border-top: 1px dashed var(--line); padding-top: 0.9rem; }
.testi-meta strong { color: var(--orange); }
.testi-nav { display: flex; justify-content: center; gap: 1rem; margin-top: 0.4rem; }

/* ── 11 NUMBERS ────────────────────────────────────────── */
.numbers { background: var(--bg-alt); border-radius: var(--r-xl); margin: 0 clamp(0.6rem, 2vw, 2rem); }
.numbers-grid {
  max-width: var(--max-w); margin: 1.5rem auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
.number-block {
  text-align: center; padding: 2.4rem 1.5rem 2.1rem;
  display: grid; gap: 0.8rem; justify-items: center; align-content: start;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.number-block:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.number-spark {
  position: absolute; top: 1rem; right: 1.2rem;
  color: var(--yellow); font-size: 1.1rem;
  animation: twinkle 3.2s ease-in-out infinite;
}
.number-block:nth-child(even) .number-spark { animation-delay: -1.6s; }
.number-block strong {
  display: block;
  font-size: clamp(2.7rem, 5vw, 4rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  color: var(--orange);
}
.number-block strong i { font-style: normal; font-size: 0.42em; margin-left: 0.15em; }
.number-block span { color: var(--text); font-weight: 700; font-size: 0.98rem; max-width: 14rem; line-height: 1.4; }
.number-vs {
  font-style: normal; font-size: 0.78rem; font-weight: 700;
  padding: 0.38rem 0.9rem; border-radius: 99px;
  background: var(--peach); color: var(--orange-deep);
}
.n-green strong { color: var(--green); }
.n-green .number-vs { background: var(--mint-soft); color: var(--green); }
.n-purple strong { color: var(--purple); }
.n-purple .number-vs { background: var(--lavender-soft); color: var(--purple); }

/* ── 12 MANIFESTO ──────────────────────────────────────── */
.manifesto {
  min-height: 92vh;
  display: grid; place-items: center; text-align: center;
  position: relative; overflow: hidden;
}
.manifesto-glow {
  position: absolute; left: 50%; top: 50%;
  width: min(72vw, 920px); aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0.55);
  background: radial-gradient(circle, rgba(255, 195, 58, 0.4) 0%, rgba(255, 107, 48, 0.2) 42%, transparent 70%);
  filter: blur(46px);
  opacity: 0;
  pointer-events: none;
}
[data-theme="dark"] .manifesto-glow {
  background: radial-gradient(circle, rgba(255, 195, 58, 0.22) 0%, rgba(255, 107, 48, 0.14) 42%, transparent 70%);
}
.manifesto-block { position: relative; z-index: 1; }
.static-mode .manifesto-glow { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.manifesto-block { max-width: 980px; display: grid; gap: 0.4rem; justify-items: center; }
.manifesto-icon { width: clamp(48px, 5vw, 68px); margin-bottom: 2rem; animation: philFloat 5s ease-in-out infinite alternate; }
.m-line {
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.028em;
}
.m-line.m-muted { color: var(--text-soft); }
.m-line.m-opportunity {
  color: var(--text);
  text-shadow: none;
}
.m-line.m-accent { color: var(--orange); }
.m-line .w { opacity: 0.1; display: inline-block; transition: opacity 0.5s var(--ease); }
.m-line .w.on { opacity: 1; }
.manifesto-star { color: var(--yellow); }

/* ── 13 FAQ ────────────────────────────────────────────── */
.faq .section-eyebrow, .faq .section-title { text-align: center; }
.faq-list { max-width: 860px; margin: 2.6rem auto 0; display: grid; gap: 1rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), border-color 0.3s;
}
.faq-item[open] { box-shadow: var(--shadow-soft); border-color: rgba(255,107,48,0.3); }
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1.4rem;
  padding: 1.5rem 1.8rem;
  font-weight: 700; font-size: 1.12rem;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--peach); transition: transform 0.4s var(--ease), background 0.3s; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2.5px; border-radius: 99px; background: var(--orange);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--orange); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-body { padding: 0 1.8rem; overflow: hidden; }
.faq-body p { color: var(--text-soft); padding-bottom: 1.6rem; max-width: 44rem; }

/* ── 14 FINAL CTA ──────────────────────────────────────── */
.cta {
  margin: 0 clamp(0.6rem, 2vw, 2rem) var(--space-section);
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--orange) 0%, var(--orange-deep) 55%, #C4431F 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  padding-top: clamp(3.8rem, 7.5vh, 5.5rem) !important;
  padding-bottom: clamp(3.8rem, 7.5vh, 5.5rem) !important;
}
.cta-bg { position: absolute; inset: 0; }
.cta .glow-orange { background: var(--yellow); opacity: 0.25; }
.cta .glow-lavender { opacity: 0.2; }
.cta .spark { color: rgba(255,255,255,0.85); }
.cta .spark.s1 { top: 14%; left: 12%; right: auto; }
.cta .spark.s2 { top: 24%; right: 14%; left: auto; }
.cta .spark.s3 { bottom: 18%; left: 22%; }
.cta-unicorn { width: clamp(56px, 6.5vw, 80px); margin: 0 auto 1.3rem; position: relative; opacity: 0.95; }
.cta-title {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.03em;
  max-width: 820px; margin: 0 auto 1.1rem;
  position: relative;
}
.cta-title .w { opacity: 0.2; display: inline-block; transition: opacity 0.5s var(--ease); }
.cta-title .w.on { opacity: 1; }
.cta-sub { font-size: 1.12rem; opacity: 0.9; max-width: 34rem; margin: 0 auto 1.9rem; position: relative; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; position: relative; }

/* ── 15 FOOTER ─────────────────────────────────────────── */
.footer { padding: 5rem var(--pad-x) 2rem; overflow: hidden; }
.footer-top {
  max-width: var(--max-w); margin: 0 auto 5rem;
  display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1.2fr; gap: clamp(2rem, 4vw, 3.5rem);
}
.footer-logo { height: 54px; width: auto; margin-bottom: 1.3rem; }
.footer-brand p { color: var(--text-soft); font-size: 0.98rem; max-width: 20rem; }
.footer-col h4 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 1.2rem; }
.footer-col a { display: block; padding: 0.32rem 0; font-weight: 600; opacity: 0.85; transition: opacity 0.25s, transform 0.3s var(--ease); }
.footer-col a:hover { opacity: 1; transform: translateX(4px); color: var(--orange); }
.footer-news p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 1.1rem; }
.newsletter { display: flex; gap: 0.6rem; }
.newsletter input {
  flex: 1; min-width: 0;
  font-family: inherit; font-size: 0.95rem; font-weight: 600;
  padding: 0.8rem 1.2rem;
  border-radius: 99px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.3s;
}
.newsletter input:focus { outline: none; border-color: var(--orange); }
.news-ok { color: var(--green); font-weight: 700; font-size: 0.9rem; min-height: 1.4em; margin-top: 0.5rem; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.9rem;
  transition: background 0.3s, color 0.3s, transform 0.35s var(--ease);
}
.footer-social a:hover { background: var(--orange); color: #fff; transform: translateY(-4px); }

.footer-giant {
  font-size: clamp(3rem, 11vw, 10rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  white-space: nowrap; text-align: center;
  color: var(--peach);
  user-select: none;
  margin-bottom: 3rem;
}
[data-theme="dark"] .footer-giant { color: #2C2119; }
.footer-giant span { color: var(--yellow); font-size: 0.4em; vertical-align: super; }

.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem; color: var(--text-soft);
}
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a:hover { color: var(--orange); }

/* ═══ RESPONSIVE ═══════════════════════════════════════ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 480px; margin-top: 2rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; }
  .talent-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-metrics, .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 840px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-burger { display: flex; }
  .nav-actions { margin-left: auto; }
  .nav-inner { gap: 0.5rem; }
  .problem-stage { grid-template-columns: 1fr; }
  .problem-connector { justify-self: center; width: auto; height: 88px; position: relative; }
  .connector-svg { display: none; }
  .problem-connector::before {
    content: ''; position: absolute; top: 6px; bottom: 6px; left: 50%;
    border-left: 3px dashed rgba(255, 107, 48, 0.55);
    transform: translateX(-50%);
  }
  .philosophy-body { grid-template-columns: 1fr; }
  .companies-bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }
  .bs em { white-space: normal; }
  .talent-benefits { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .talent-grid { grid-template-columns: 1fr; }
  .trust-metrics { grid-template-columns: 1fr 1fr; }

  /* numbers: compact horizontal rows on mobile */
  .numbers-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .number-block {
    grid-template-columns: auto 1fr;
    column-gap: 1.2rem; row-gap: 0.5rem;
    text-align: left; justify-items: start; align-items: center;
    padding: 1.3rem 1.4rem;
  }
  .number-block strong { grid-row: span 2; font-size: 2.3rem; }
  .number-block span { font-size: 0.92rem; max-width: none; }
  .number-vs { font-size: 0.72rem; }
  .number-spark { top: 0.8rem; right: 1rem; font-size: 0.9rem; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  /* hero visual — vertical "match story" on mobile */
  .hero-visual {
    aspect-ratio: auto; height: auto; max-width: 320px;
    display: flex; flex-direction: column; align-items: center;
    padding-top: 0.5rem;
  }
  .hero-lines, .pc-2, .pc-3, .hero-visual .spark { display: none; }
  .float-card, .match-badge { position: static; animation: none; }
  .match-core { position: relative; top: auto; left: auto; }
  .pc-1 { order: 1; width: 100%; justify-content: flex-start; }
  .pc-1 .chip { display: inline-block; margin-left: auto; }
  .match-core { order: 2; width: 92px; height: 92px; margin: -12px 0; z-index: 2; }
  .match-unicorn { width: 44px; }
  .cc-1 { order: 3; width: 100%; }
  .match-badge { order: 4; margin-top: 1.1rem; }
  .match-dots { display: flex; gap: 0.5rem; order: 5; margin-top: 1rem; }
  .match-dots .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--line);
    transition: background 0.3s, transform 0.3s var(--ease);
  }
  .match-dots .dot.on { background: var(--orange); transform: scale(1.3); }
  .float-card { padding: 0.8rem 1rem; border-radius: 20px; }
  .float-card strong { font-size: 0.9rem; }
  .hero-visual .avatar { width: 38px; height: 38px; font-size: 0.75rem; }
  .footer-giant { white-space: normal; }
}

/* ═══ TALENT PAGE — pure white base ════════════════════ */
.page-talent:not([data-theme="dark"]) {
  --bg: #FFFFFF;
  --bg-alt: #FFF6EC;
  --surface-2: #FFFCF8;
  --glass: rgba(255, 255, 255, 0.82);
}

/* ═══ TALENT EXPERIENCE (tx) ═══════════════════════════ */
/* lighter, brighter — possibility, not trust */
.tx-glow-a { width: 40vw; height: 40vw; background: var(--peach); top: -14%; right: -6%; opacity: 0.35; }
.tx-glow-b { width: 32vw; height: 32vw; background: var(--lavender-soft); bottom: -16%; left: -8%; opacity: 0.3; }

.tx-proof { display: flex; align-items: center; gap: 0.9rem; font-size: 0.95rem; color: var(--text-soft); flex-wrap: wrap; }
.tx-proof strong { color: var(--orange); font-size: 1.05rem; }
.tx-proof i { font-style: normal; color: var(--yellow); font-size: 0.75rem; }
.tx-title-combo {
  display: flex;
  align-items: baseline;
  gap: 0.3em;
  white-space: nowrap;
}

/* hero composition — premium identity card */
.tx-profile {
  top: 22%; left: 0;
  width: min(350px, 86%);
  flex-direction: column; align-items: stretch; gap: 1.1rem;
  padding: 1.7rem 1.55rem 1.45rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 30px 70px -34px rgba(138, 82, 39, 0.32),
    0 4px 18px -8px rgba(138, 82, 39, 0.12);
  animation-duration: 8s;
  transition: translate 0.5s var(--ease), rotate 0.5s var(--ease), scale 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
[data-theme="dark"] .tx-profile { background: rgba(38, 32, 25, 0.85); border-color: rgba(255, 243, 230, 0.12); }
.tx-profile:hover {
  translate: 0 -8px; rotate: -1deg; scale: 1.015;
  box-shadow:
    0 40px 90px -36px rgba(255, 107, 48, 0.35),
    0 6px 22px -8px rgba(138, 82, 39, 0.16);
}
.tx-match {
  position: absolute; top: -15px; right: 18px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
  background: linear-gradient(120deg, var(--orange), #FF9548);
  color: #fff;
  padding: 0.45rem 1rem; border-radius: 99px;
  box-shadow: 0 10px 26px -8px rgba(255, 107, 48, 0.55);
  animation: matchPulse 3.4s ease-in-out infinite;
}
@keyframes matchPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
.tx-profile-head { display: flex; align-items: center; gap: 1rem; }
.tx-avatar-wrap { position: relative; flex-shrink: 0; }
.tx-avatar-wrap::before {
  content: '';
  position: absolute; inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 211, 171, 0.5), transparent 70%);
  filter: blur(6px);
}
.tx-avatar { position: relative; width: 62px; height: 62px; font-size: 1.05rem; border: 3px solid var(--surface); }
.tx-verified {
  position: absolute; right: -2px; bottom: -2px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-style: normal; font-size: 0.66rem; font-weight: 700;
  display: grid; place-items: center;
  border: 2.5px solid var(--surface);
  z-index: 1;
}
.tx-profile-id { flex: 1; min-width: 0; }
.tx-profile-id strong { display: block; font-size: 1.18rem; line-height: 1.15; letter-spacing: -0.012em; }
.tx-profile-id em { display: block; font-style: normal; font-size: 0.84rem; line-height: 1.3; color: var(--text-soft); margin-top: 0.2rem; }
.tx-skills { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tx-skills span {
  font-size: 0.7rem; font-weight: 700;
  padding: 0.34rem 0.78rem; border-radius: 99px;
  transition: transform 0.35s var(--ease);
}
.tx-skills span:nth-child(1) { background: var(--peach); color: var(--orange-deep); }
.tx-skills span:nth-child(2) { background: var(--lavender-soft); color: var(--purple); }
.tx-skills span:nth-child(3) { background: var(--mint-soft); color: var(--green); }
.tx-profile:hover .tx-skills span { transform: translateY(-2px); }
.tx-profile:hover .tx-skills span:nth-child(2) { transition-delay: 0.05s; }
.tx-profile:hover .tx-skills span:nth-child(3) { transition-delay: 0.1s; }
.tx-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.8rem;
  border-top: 1px dashed var(--line);
  padding-top: 1rem;
  font-size: 0.78rem; font-weight: 600; color: var(--text-soft);
}
.tx-meta span { display: flex; align-items: center; gap: 0.45rem; min-width: 0; }
.tx-meta i { font-style: normal; font-size: 0.8rem; flex-shrink: 0; }
.tx-meta .tx-avail { color: var(--green); font-weight: 700; }
.tx-meta .tx-avail i { animation: twinkle 2.4s ease-in-out infinite; }

.tx-badge {
  padding: 0.55rem 1rem; border-radius: 99px;
  font-size: 0.85rem; font-weight: 700; gap: 0.5rem;
}
.tx-badge-ico {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.72rem; flex-shrink: 0;
}
.ico-mint { background: var(--mint-soft); color: var(--green); }
.ico-lavender { background: var(--lavender-soft); color: var(--purple); }
.ico-yellow { background: var(--sand); color: var(--orange-deep); }
/* achievements climb the path: offer → salary → promotion */
.tx-b2 { left: 34%; bottom: 6%; animation-delay: -3.2s; }
.tx-b1 { right: 0; top: 46%; animation-delay: -1.4s; }
.tx-b3 { right: 8%; top: 11%; animation-delay: -5s; }
.tx-char-float { position: absolute; top: 0; right: 32%; width: 60px; height: auto; animation: floaty 6.5s ease-in-out infinite alternate; }

/* hero particles — slow, barely there */
.tx-particle {
  position: absolute; border-radius: 50%;
  filter: blur(1px); opacity: 0.35;
  animation: txDrift 16s ease-in-out infinite alternate;
}
.tx-particle.p1 { width: 9px; height: 9px; background: var(--orange); top: 24%; left: 8%; }
.tx-particle.p2 { width: 7px; height: 7px; background: var(--lavender); top: 64%; left: 20%; animation-delay: -4s; animation-duration: 20s; }
.tx-particle.p3 { width: 10px; height: 10px; background: var(--mint); top: 38%; left: 55%; animation-delay: -8s; }
.tx-particle.p4 { width: 6px; height: 6px; background: var(--yellow); top: 78%; left: 72%; animation-delay: -12s; animation-duration: 22s; }
.tx-particle.p5 { width: 8px; height: 8px; background: var(--lavender); top: 12%; left: 84%; animation-delay: -6s; }
@keyframes txDrift {
  from { transform: translate(0, -22px); }
  to   { transform: translate(16px, 22px); }
}

/* stories — soft quote mark */
.tx .testi-card { position: relative; }
.tx .testi-card::after {
  content: '”';
  position: absolute; right: 1.3rem; bottom: 0.4rem;
  font-size: 4.6rem; line-height: 1;
  color: var(--peach); opacity: 0.9;
  pointer-events: none;
}

/* perks — collectible cards */
.tx-perk-grid {
  max-width: var(--max-w); margin: 3rem auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem;
}
.tx-perk {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.8rem;
  box-shadow: 0 18px 44px -26px rgba(138, 82, 39, 0.18);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tx-perk:hover { transform: translateY(-9px) rotate(-0.8deg); box-shadow: var(--shadow-lift); }
.tx-perk-ico { display: block; width: 52px; margin-bottom: 1.1rem; border-radius: 14px; box-shadow: 0 10px 22px -12px rgba(138, 82, 39, 0.25); transition: transform 0.45s var(--ease); }
.tx-perk-ico svg { display: block; width: 100%; height: auto; }
.tx-perk:hover .tx-perk-ico { transform: rotate(-6deg) scale(1.08); }
.tx-perk h3 { font-size: 1.18rem; margin-bottom: 0.45rem; letter-spacing: -0.01em; }
.tx-perk p { font-size: 0.95rem; color: var(--text-soft); }

/* journey — three editorial stages */
.tx-stages { max-width: 1060px; margin: 3.2rem auto 0; }
.stg-connector {
  display: block; width: 0; height: 46px;
  margin: 0 auto;
  border-left: 3px dotted var(--line);
}
.stg-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.8rem, 3.4vw, 2.8rem);
  box-shadow: 0 22px 54px -32px rgba(138, 82, 39, 0.2);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.stg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.stg-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; }
.stg-1::before { background: radial-gradient(circle at 8% 0%, rgba(255, 107, 48, 0.07), transparent 52%); }
.stg-2::before { background: radial-gradient(circle at 92% 0%, rgba(126, 211, 171, 0.12), transparent 52%); }
.stg-3::before { background: radial-gradient(circle at 8% 0%, rgba(167, 136, 250, 0.1), transparent 52%); }
.stg-card.flip .stg-head { order: 2; }
.stg-head { display: grid; gap: 0.85rem; align-content: start; justify-items: start; position: relative; }
.stg-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  padding: 0.38rem 0.9rem; border-radius: 99px;
}
.stg-1 .stg-tag { background: var(--peach); color: var(--orange-deep); }
.stg-2 .stg-tag { background: var(--mint-soft); color: var(--green); }
.stg-3 .stg-tag { background: var(--lavender-soft); color: var(--purple); }
.stg-head h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.08; }
.stg-promise { color: var(--text-soft); font-size: 1.02rem; max-width: 21rem; }
.stg-char {
  position: static;
  display: block;
  width: clamp(64px, 6.5vw, 88px); height: auto;
  margin-top: 0.3rem;
  animation: philFloat 5.6s ease-in-out infinite alternate;
  pointer-events: none;
}
.stg-2 .stg-char { animation-delay: -2.4s; }
.stg-list { list-style: none; display: grid; gap: 0.9rem; align-content: center; position: relative; }
.stg-row {
  display: flex; gap: 0.85rem; align-items: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.stg-row:hover { transform: translateX(5px); box-shadow: var(--shadow-soft); }
.stg-check {
  flex-shrink: 0; width: 27px; height: 27px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.74rem; font-weight: 700;
  margin-top: 1px;
}
.stg-1 .stg-check { background: var(--peach); color: var(--orange-deep); }
.stg-2 .stg-check { background: var(--mint-soft); color: var(--green); }
.stg-3 .stg-check { background: var(--lavender-soft); color: var(--purple); }
.stg-row strong { display: block; font-size: 1rem; line-height: 1.3; }
.stg-row p { font-size: 0.88rem; color: var(--text-soft); margin: 0; }

/* community constellation — radial, "You" at the center */
.tx-community .section-eyebrow,
.tx-community .section-title,
.tx-community .section-sub { text-align: center; }
.tx-constellation {
  position: relative;
  width: min(760px, 94%);
  aspect-ratio: 800 / 560;
  margin: clamp(3.4rem, 7vh, 5rem) auto 0;
}
.tx-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.tx-link {
  stroke: var(--lavender); stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 5 9; fill: none; opacity: 0.55;
  transition: opacity 0.35s, stroke 0.35s;
  animation: dashFlow 30s linear infinite;
}
.tx-link.glow { stroke: var(--orange); opacity: 1; }
.tx-node {
  position: absolute;
  translate: -50% -50%;
  width: clamp(88px, 15vw, 116px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0.85rem 0.5rem 0.7rem;
  display: grid; justify-items: center; gap: 0.3rem;
  box-shadow: 0 16px 36px -20px rgba(138, 82, 39, 0.28);
  cursor: pointer;
  transition: scale 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.tx-node img { width: 44px; height: 44px; object-fit: contain; display: block; }
.tx-node .avatar { width: 42px; height: 42px; font-size: 0.8rem; }
.tx-node strong { font-size: 0.8rem; line-height: 1.15; }
.tx-node em { font-style: normal; font-size: 0.66rem; color: var(--text-soft); line-height: 1.2; text-align: center; }
.tx-node:hover, .tx-node.linked { scale: 1.07; box-shadow: var(--shadow-lift); border-color: rgba(255, 107, 48, 0.35); }
.tx-node-you { width: clamp(106px, 17vw, 134px); z-index: 2; border-color: rgba(255, 107, 48, 0.35); padding-top: 1rem; }
.tx-node-you img { width: 52px; height: 52px; }
.tx-node-you strong { color: var(--orange); font-size: 0.88rem; }
.tx-caption { text-align: center; margin: 2.4rem auto 0; font-size: 0.92rem; color: var(--text-soft); max-width: 34rem; }

/* tx responsive */
@media (max-width: 1080px) {
  .tx-perk-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 840px) {
  .stg-card { grid-template-columns: 1fr; gap: 1.3rem; padding: 1.5rem 1.3rem; }
  .stg-card.flip .stg-head { order: 0; }
  .stg-char { width: 58px; margin-top: 0.15rem; }
  .stg-head h3 { font-size: 1.5rem; }
  .stg-promise { font-size: 0.94rem; }
  .stg-row { padding: 0.85rem 1rem; }
  .stg-connector { height: 30px; }
  .tx-constellation { width: 100%; }
  .tx-node { width: 82px; padding: 0.6rem 0.35rem 0.5rem; border-radius: 18px; }
  .tx-node img { width: 34px; height: 34px; }
  .tx-node .avatar { width: 32px; height: 32px; font-size: 0.66rem; }
  .tx-node strong { font-size: 0.68rem; }
  .tx-node em { font-size: 0.56rem; }
  .tx-node-you { width: 96px; }
  .tx-node-you img { width: 40px; height: 40px; }
}
@media (max-width: 560px) {
  .tx-perk-grid { grid-template-columns: 1fr; }
  .tx-proof { gap: 0.6rem; font-size: 0.88rem; }
  .tx-title-combo { white-space: normal; flex-wrap: wrap; gap: 0 0.25em; }
  .tx-visual .tx-profile { width: 100%; }
  .tx-char-float { display: none; }
}

/* ═══ ABOUT PAGE ═══════════════════════════════════════ */
.about-hero {
  position: relative; overflow: hidden;
  padding: clamp(8.5rem, 17vh, 12rem) var(--pad-x) clamp(2rem, 5vh, 3.5rem);
}
.about-hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.about-title {
  font-size: clamp(2.8rem, 5.8vw, 4.8rem);
  font-weight: 700; line-height: 1.07; letter-spacing: -0.025em;
  margin-bottom: 1.4rem;
}
.about-title .accent { color: var(--orange); position: relative; display: inline-block; }
.about-sub { font-size: 1.15rem; color: var(--text-soft); max-width: 42rem; }
.about-hero-char {
  position: absolute; z-index: 0;
  right: clamp(1rem, 9vw, 9rem); bottom: -8px;
  width: clamp(110px, 15vw, 200px); height: auto;
  animation: philFloat 6s ease-in-out infinite alternate;
  pointer-events: none;
}
.about-story-grid { max-width: var(--max-w); margin: 0 auto; }
.about-story-title {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.02em;
  max-width: 1020px; margin-bottom: 2.2rem;
}
.about-story-title .w { opacity: 0.14; transition: opacity 0.5s var(--ease); display: inline-block; }
.about-story-title .w.on { opacity: 1; }
.about-story-text { column-count: 2; column-gap: clamp(2rem, 5vw, 4rem); max-width: 1020px; }
.about-story-text p { font-size: 1.08rem; color: var(--text-soft); margin-bottom: 1.2rem; break-inside: avoid; }
.about-story-text strong { color: var(--text); }
.about-mv-grid {
  max-width: 1060px; margin: 2.4rem auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
}
.values-grid { margin-top: 2.8rem; }
.about-values-cta {
  background: linear-gradient(150deg, var(--peach), var(--surface) 70%);
  display: grid; gap: 0.7rem; justify-items: start; align-content: center;
  position: relative;
}
.values-char {
  position: absolute; right: 1.2rem; top: 1.2rem;
  width: 52px; height: auto;
  animation: philFloat 5s ease-in-out infinite alternate;
  pointer-events: none;
}
@media (max-width: 840px) {
  .about-story-text { column-count: 1; }
  .about-mv-grid { grid-template-columns: 1fr; }
  .about-hero-char { width: 90px; right: 1rem; opacity: 0.9; }
}

/* ═══ CONTACT PAGE ═════════════════════════════════════ */
.ct-hero {
  position: relative; overflow: hidden;
  padding: clamp(8rem, 16vh, 11rem) var(--pad-x) var(--space-section);
}
.ct-grid {
  position: relative; z-index: 1;
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.ct-intro { position: relative; }
.ct-title {
  font-size: clamp(2.7rem, 5.4vw, 4.4rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.025em;
  margin-bottom: 1.2rem;
}
.ct-title .accent { color: var(--orange); position: relative; display: inline-block; }
.ct-sub { font-size: 1.1rem; color: var(--text-soft); max-width: 30rem; margin-bottom: 2rem; }

.ct-email {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-soft);
  max-width: 26rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.ct-email:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(255, 107, 48, 0.32); }
.ct-email-ico {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px;
  background: var(--peach); color: var(--orange-deep);
  display: grid; place-items: center;
}
.ct-email-ico svg { width: 22px; height: 22px; }
.ct-email-copy { flex: 1; min-width: 0; }
.ct-email-copy em { display: block; font-style: normal; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); }
.ct-email-copy strong { display: block; font-size: 0.98rem; margin-top: 0.15rem; word-break: break-all; }
.ct-email-arrow { color: var(--orange); font-weight: 700; transition: transform 0.3s var(--ease); }
.ct-email:hover .ct-email-arrow { transform: translateX(4px); }

.ct-notes { list-style: none; display: grid; gap: 0.55rem; margin-top: 1.8rem; }
.ct-notes li { display: flex; gap: 0.6rem; font-size: 0.94rem; color: var(--text-soft); }
.ct-notes span { color: var(--yellow); flex-shrink: 0; }
.ct-char {
  width: clamp(96px, 11vw, 150px); height: auto;
  margin-top: 2.4rem;
  animation: philFloat 5.6s ease-in-out infinite alternate;
}

/* form card */
.ct-form-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 30px 70px -34px rgba(138, 82, 39, 0.26);
}
.ct-form { display: grid; gap: 1.1rem; }
.ct-fieldset { border: none; padding: 0; margin: 0; }
.ct-fieldset legend {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 0.7rem; padding: 0;
}
.ct-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.ct-opt { cursor: pointer; }
.ct-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ct-opt span {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 0.9rem;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--surface-2);
  font-size: 0.92rem; font-weight: 700;
  transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.ct-opt i { font-style: normal; }
.ct-opt:hover span { transform: translateY(-2px); }
.ct-opt input:checked + span { border-color: var(--orange); background: var(--peach); color: var(--orange-deep); }
.ct-opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }

.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.ct-field { display: grid; gap: 0.4rem; }
.ct-field label { font-size: 0.82rem; font-weight: 700; color: var(--text); }
.ct-opt-tag { font-weight: 600; color: var(--text-soft); font-size: 0.75rem; }
.ct-field input, .ct-field textarea {
  font-family: inherit; font-size: 0.98rem; font-weight: 500;
  color: var(--text); background: var(--surface-2);
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 0.85rem 1rem;
  transition: border-color 0.3s, background 0.3s;
  width: 100%;
}
.ct-field textarea { resize: vertical; min-height: 116px; line-height: 1.55; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: var(--text-soft); opacity: 0.6; }
.ct-field input:focus, .ct-field textarea:focus { outline: none; border-color: var(--orange); background: var(--surface); }
.ct-field input.err, .ct-field textarea.err { border-color: var(--orange-deep); background: rgba(255, 107, 48, 0.05); }
.ct-submit { justify-content: center; margin-top: 0.3rem; }
.ct-legal { font-size: 0.8rem; color: var(--text-soft); text-align: center; }
.ct-status { min-height: 1.3em; font-size: 0.88rem; font-weight: 700; color: var(--orange-deep); text-align: center; }

.ct-success { display: grid; justify-items: center; text-align: center; gap: 0.8rem; padding: 1.5rem 0.5rem; }
.ct-success-ico { width: 66px; animation: philFloat 4.4s ease-in-out infinite alternate; }
.ct-success h2 { font-size: 1.6rem; letter-spacing: -0.015em; }
.ct-success p { color: var(--text-soft); max-width: 24rem; }
.ct-success .btn { margin-top: 0.5rem; }

@media (max-width: 900px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-char { display: none; }
}
@media (max-width: 560px) {
  .ct-row, .ct-toggle { grid-template-columns: 1fr; }
}

/* ═══ FAQ PAGE ═════════════════════════════════════════ */
.fq-hero {
  position: relative; overflow: hidden;
  padding: clamp(8rem, 16vh, 11rem) var(--pad-x) clamp(1.5rem, 4vh, 2.5rem);
  text-align: center;
}
.fq-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.fq-hero .eyebrow { margin-bottom: 1.4rem; }
.fq-title {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 700; line-height: 1.07; letter-spacing: -0.025em;
  margin-bottom: 1.1rem;
}
.fq-title .accent { color: var(--orange); }
.fq-sub { font-size: 1.1rem; color: var(--text-soft); max-width: 34rem; margin: 0 auto; }

.fq-body {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: 220px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.fq-index { position: sticky; top: 120px; display: grid; gap: 0.3rem; }
.fq-index h4 {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 0.6rem;
}
.fq-index a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.62rem 0.9rem; border-radius: var(--r-sm);
  font-size: 0.92rem; font-weight: 600; color: var(--text-soft);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.fq-index a::before { content: '✦'; color: var(--yellow); font-size: 0.7rem; opacity: 0; transition: opacity 0.3s; }
.fq-index a:hover { background: var(--bg-alt); color: var(--text); transform: translateX(3px); }
.fq-index a.on { background: var(--peach); color: var(--orange-deep); font-weight: 700; }
.fq-index a.on::before { opacity: 1; }

.fq-groups { display: grid; gap: clamp(2.5rem, 5vh, 3.6rem); }
.fq-group { scroll-margin-top: 130px; }
.fq-group-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.2rem; }
.fq-group-ico { width: 42px; height: 42px; flex-shrink: 0; }
.fq-group-ico svg { width: 100%; height: auto; display: block; }
.fq-group h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.018em; }
.fq-group .faq-list { max-width: none; margin: 0; }

.fq-cta {
  max-width: 1060px; margin: clamp(3rem, 7vh, 5rem) auto 0;
  display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem);
  flex-wrap: wrap;
  background: linear-gradient(140deg, var(--peach), var(--surface) 72%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-soft);
}
.fq-cta img { width: clamp(70px, 8vw, 104px); height: auto; animation: philFloat 5.2s ease-in-out infinite alternate; }
.fq-cta-copy { flex: 1; min-width: 15rem; }
.fq-cta-copy h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: -0.015em; margin-bottom: 0.35rem; }
.fq-cta-copy p { color: var(--text-soft); font-size: 1rem; }

@media (max-width: 900px) {
  .fq-body { grid-template-columns: 1fr; }
  .fq-index {
    position: static;
    display: flex; gap: 0.5rem; overflow-x: auto;
    margin: 0 calc(-1 * var(--pad-x)); padding: 0 var(--pad-x) 0.4rem;
    scrollbar-width: none;
  }
  .fq-index::-webkit-scrollbar { display: none; }
  .fq-index h4 { display: none; }
  .fq-index a { flex-shrink: 0; background: var(--surface); border: 1px solid var(--line); }
}

/* ═══ AI CAREER COACH (talent page) ════════════════════ */
.ai-coach { position: relative; }
.ai-top {
  max-width: var(--max-w); margin: 3rem auto 0;
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}

/* ── the living profile ── */
.ai-stage { position: relative; padding: 2.2rem 1rem; }
.ai-orbit {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  z-index: 3;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--surface); color: var(--purple);
  border: 1px solid var(--lavender-soft);
  padding: 0.45rem 1rem; border-radius: 99px;
  box-shadow: var(--shadow-soft);
  animation: philFloat 5s ease-in-out infinite alternate;
}
.ai-card {
  position: relative; z-index: 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.6rem 1.5rem 1.4rem;
  display: grid; gap: 1.05rem;
  box-shadow: 0 30px 70px -34px rgba(138, 82, 39, 0.28);
  transition: box-shadow 0.6s var(--ease);
}
.ai-stage.enhanced .ai-card { box-shadow: 0 34px 80px -32px rgba(255, 107, 48, 0.34); }
.ai-card-head { display: flex; align-items: center; gap: 0.85rem; }
.ai-card-head .avatar { width: 50px; height: 50px; font-size: 0.9rem; flex-shrink: 0; }
.ai-who { flex: 1; min-width: 0; }
.ai-who strong { display: block; font-size: 1.02rem; line-height: 1.2; }
.ai-who em { font-style: normal; font-size: 0.8rem; color: var(--text-soft); }
.ai-score { flex-shrink: 0; font-weight: 700; color: var(--text-soft); transition: color 0.6s var(--ease); }
.ai-score b { font-size: 1.5rem; letter-spacing: -0.02em; }
.ai-score i { font-style: normal; font-size: 0.85rem; }
.ai-stage.enhanced .ai-score { color: var(--orange); }

.ai-quality { display: grid; gap: 0.45rem; }
.ai-q-label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); transition: color 0.5s; }
.ai-stage.enhanced .ai-q-label { color: var(--green); }
.ai-meter { display: block; height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; }
.ai-meter i { display: block; height: 100%; width: 32%; border-radius: 99px; background: linear-gradient(90deg, var(--orange), var(--yellow)); }

.ai-lines { position: relative; display: grid; }
.ai-before, .ai-after {
  font-size: 0.95rem; line-height: 1.55;
  grid-area: 1 / 1;
}
.ai-before { color: var(--text-soft); }
.ai-after { color: var(--text); font-weight: 600; opacity: 0; }
.ai-after mark {
  background: linear-gradient(transparent 58%, var(--sand) 58%);
  background-size: 0% 100%; background-repeat: no-repeat;
  color: inherit; padding: 0 0.1em;
}

.ai-skills { display: flex; flex-wrap: wrap; gap: 0.42rem; }
.ai-skills span {
  font-size: 0.72rem; font-weight: 700;
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: 0.3rem 0.72rem; border-radius: 99px;
}
.ai-skills .ai-skill-new { opacity: 0; background: var(--mint-soft); border-color: transparent; color: var(--green); }

.ai-badges { display: flex; flex-wrap: wrap; gap: 0.42rem; border-top: 1px dashed var(--line); padding-top: 0.95rem; }
.ai-badge {
  opacity: 0;
  font-size: 0.72rem; font-weight: 700;
  background: var(--peach); color: var(--orange-deep);
  padding: 0.32rem 0.75rem; border-radius: 99px;
}
.ai-badge:nth-child(2) { background: var(--lavender-soft); color: var(--purple); }
.ai-badge:nth-child(3) { background: var(--mint-soft); color: var(--green); }

.ai-hint {
  position: absolute; z-index: 3; opacity: 0;
  font-size: 0.74rem; font-weight: 700;
  background: var(--surface); border: 1px solid var(--line);
  padding: 0.38rem 0.8rem; border-radius: 99px;
  box-shadow: var(--shadow-soft);
  white-space: nowrap; pointer-events: none;
  color: var(--orange-deep);
}
.ai-hint.h1 { top: 30%; right: -0.4rem; }
.ai-hint.h2 { bottom: 26%; left: -0.8rem; color: var(--purple); }
.ai-hint.h3 { bottom: 6%; right: 1rem; color: var(--green); }
.ai-stage .spark.s2 { top: 12%; left: 2%; }
.ai-stage .spark.s4 { bottom: 14%; right: 4%; }

/* ── AI + human reassurance ── */
.ai-trust {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--surface) 65%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.7rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-soft);
}
.ai-trust-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--lavender-soft); color: var(--purple);
  padding: 0.38rem 0.9rem; border-radius: 99px; margin-bottom: 1rem;
}
.ai-trust h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.018em; margin-bottom: 0.7rem; }
.ai-trust > p { color: var(--text-soft); font-size: 1rem; max-width: 28rem; margin-bottom: 1.4rem; }
.ai-trust-list { list-style: none; display: grid; gap: 0.9rem; }
.ai-trust-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.ai-tick {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--mint-soft); color: var(--green);
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 700;
  margin-top: 2px;
}
.ai-trust-list strong { display: block; font-size: 0.98rem; line-height: 1.3; }
.ai-trust-list div { font-size: 0.9rem; color: var(--text-soft); line-height: 1.5; }
.ai-trust-char {
  position: absolute; right: -0.5rem; bottom: -0.5rem;
  width: clamp(72px, 8vw, 108px); height: auto; opacity: 0.9;
  animation: philFloat 5.8s ease-in-out infinite alternate;
  pointer-events: none;
}

/* ── four capabilities ── */
.ai-grid {
  max-width: var(--max-w); margin: clamp(2.5rem, 5vh, 4rem) auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
.ai-feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.6rem;
  box-shadow: 0 18px 44px -28px rgba(138, 82, 39, 0.18);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.ai-feature:hover { transform: translateY(-9px); box-shadow: var(--shadow-lift); }
.ai-f-ico { display: block; width: 50px; margin-bottom: 1rem; border-radius: 14px; box-shadow: 0 10px 22px -12px rgba(138, 82, 39, 0.24); transition: transform 0.45s var(--ease); }
.ai-f-ico svg { display: block; width: 100%; height: auto; }
.ai-feature:hover .ai-f-ico { transform: rotate(-6deg) scale(1.08); }
.ai-feature h3 { font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: 0.4rem; line-height: 1.25; }
.ai-feature p { font-size: 0.92rem; color: var(--text-soft); }

/* ── closing promise ── */
.ai-close {
  max-width: var(--max-w); margin: clamp(2.2rem, 4vh, 3.2rem) auto 0;
  display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.2rem); flex-wrap: wrap;
  background: linear-gradient(140deg, var(--peach), var(--surface) 70%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  box-shadow: var(--shadow-soft);
}
.ai-close img { width: clamp(64px, 7vw, 92px); height: auto; animation: philFloat 5.4s ease-in-out infinite alternate; }
.ai-close div { flex: 1; min-width: 17rem; }
.ai-close h3 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 0.3rem; }
.ai-close p { color: var(--text-soft); font-size: 0.98rem; }

@media (max-width: 1080px) {
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ai-top { grid-template-columns: 1fr; }
  .ai-hint.h1 { right: 0.5rem; }
  .ai-hint.h2 { left: 0.5rem; }
}
@media (max-width: 560px) {
  .ai-grid { grid-template-columns: 1fr; }
  .ai-stage { padding: 2rem 0; }
  .ai-hint { font-size: 0.68rem; }
  .ai-hint.h2 { display: none; }
}

/* static fallback: show the enhanced end state */
.static-mode .ai-after { opacity: 1; }
.static-mode .ai-before { display: none; }
.static-mode .ai-after mark { background-size: 100% 100%; }
.static-mode .ai-skill-new, .static-mode .ai-badge, .static-mode .ai-hint { opacity: 1; }
.static-mode .ai-meter i { width: 96%; }

/* ═══ LEGAL PAGES (privacy / terms) ════════════════════ */
.lg-hero {
  position: relative; overflow: hidden;
  padding: clamp(8rem, 16vh, 11rem) var(--pad-x) clamp(1.5rem, 4vh, 2.5rem);
}
.lg-hero-inner { position: relative; z-index: 1; max-width: 1060px; margin: 0 auto; }
.lg-title {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.lg-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.lg-stamp {
  font-size: 0.78rem; font-weight: 700;
  background: var(--surface); border: 1px solid var(--line);
  padding: 0.4rem 0.9rem; border-radius: 99px;
  color: var(--text-soft);
}
.lg-stamp strong { color: var(--text); }

.lg-body {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: 230px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.lg-toc { position: sticky; top: 120px; display: grid; gap: 0.15rem; }
.lg-toc h2 {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 0.5rem;
}
.lg-toc a {
  display: block; padding: 0.5rem 0.85rem; border-radius: var(--r-sm);
  font-size: 0.88rem; font-weight: 600; color: var(--text-soft);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.lg-toc a:hover { background: var(--bg-alt); color: var(--text); transform: translateX(3px); }
.lg-toc a.on { background: var(--peach); color: var(--orange-deep); font-weight: 700; }

.lg-prose { max-width: 46rem; }
.lg-lead {
  font-size: 1.1rem; color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--r-md);
  padding: 1.2rem 1.4rem;
  margin-bottom: 2.4rem;
}
.lg-sec { scroll-margin-top: 130px; margin-bottom: 2.6rem; }
.lg-sec h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  letter-spacing: -0.015em; margin-bottom: 0.85rem;
  display: flex; align-items: baseline; gap: 0.6rem;
}
.lg-sec h2 span { font-size: 0.8rem; font-weight: 700; color: var(--orange); flex-shrink: 0; }
.lg-sec h3 { font-size: 1.02rem; margin: 1.4rem 0 0.5rem; }
.lg-sec p, .lg-sec li { color: var(--text-soft); font-size: 1rem; line-height: 1.7; }
.lg-sec p { margin-bottom: 0.9rem; }
.lg-sec strong { color: var(--text); }
.lg-sec ul, .lg-sec ol { padding-left: 1.3rem; margin-bottom: 1rem; display: grid; gap: 0.45rem; }
.lg-sec li::marker { color: var(--orange); }
.lg-sec a:not(.btn) { color: var(--orange-deep); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lg-note {
  background: var(--mint-soft);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}
.lg-note p { color: var(--text); margin: 0; font-weight: 600; font-size: 0.96rem; }
.lg-fill { background: var(--sand); border-radius: 6px; padding: 0.05em 0.35em; font-weight: 700; color: var(--ink); }
[data-theme="dark"] .lg-fill { color: var(--yellow); }

.lg-contact {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  background: linear-gradient(140deg, var(--peach), var(--surface) 72%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.6rem;
  margin-top: 2.5rem;
}
.lg-contact img { width: 62px; height: auto; animation: philFloat 5.2s ease-in-out infinite alternate; }
.lg-contact div { flex: 1; min-width: 13rem; }
.lg-contact h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.lg-contact p { color: var(--text-soft); font-size: 0.95rem; margin: 0; }

@media (max-width: 900px) {
  .lg-body { grid-template-columns: 1fr; }
  .lg-toc {
    position: static;
    display: flex; gap: 0.5rem; overflow-x: auto;
    margin: 0 calc(-1 * var(--pad-x)) 1.5rem; padding: 0 var(--pad-x) 0.4rem;
    scrollbar-width: none;
  }
  .lg-toc::-webkit-scrollbar { display: none; }
  .lg-toc h2 { display: none; }
  .lg-toc a { flex-shrink: 0; background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
}

/* ═══ STATIC MODE (JS fallback / reduced motion) ═══════ */
.static-mode .loader { display: none; }
.static-mode .reveal, .static-mode .reveal-left, .static-mode .reveal-right { opacity: 1; transform: none; }
.static-mode .philosophy-title .w, .static-mode .manifesto-line .w, .static-mode .cta-title .w { opacity: 1; }
.static-mode .connector-path, .static-mode .draw-path { stroke-dasharray: none; stroke-dashoffset: 0; }
.static-mode .connector-star { transform: translate(-50%, -50%) scale(1); }
.static-mode .process-line span { width: 100%; }

/* ═══ REDUCED MOTION ═══════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
  .philosophy-title .w, .manifesto-line .w, .cta-title .w { opacity: 1 !important; }
  .connector-path, .draw-path { stroke-dasharray: none; stroke-dashoffset: 0; }
  .connector-star { transform: translate(-50%, -50%) scale(1); }
}
