/* ============================================================
   dealflow.partners — refined stylesheet
   Palette: warm cream ground, ink near-black, bottle-green accent.
   ============================================================ */

:root {
  /* surfaces */
  --bg:        #ffffff;
  --bg-2:      #f6f5f2;
  --bg-3:      #efede8;
  --panel:     #fafaf7;
  --card:      #ffffff;
  --card-2:    #f4f2ed;

  /* ink */
  --ink:       #14181a;
  --ink-mute:  #5e6359;
  --ink-soft:  #5e5b50;
  --ink-dim:   #c2bdad;

  /* lines */
  --line:      rgba(20,24,26,0.16);
  --line-2:    rgba(20,24,26,0.24);
  --line-3:    rgba(20,24,26,0.34);

  /* accent */
  --acc:       #2a5298;
  --acc-2:     #3a66a8;
  --acc-soft:  rgba(42,82,152,0.10);
  --acc-glow:  0 0 24px rgba(42,82,152,0.18);
  --brass:     #b08838;
  --brass-2:   #c9a85a;
  --brass-soft: rgba(176,136,56,0.12);
  --brass-glow: 0 0 24px rgba(176,136,56,0.22);
  --red:       #b04030;
  --red-soft:  rgba(176,64,48,0.10);

  /* shape */
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  /* type */
  --serif:  'Instrument Serif', ui-serif, Georgia, serif;
  --mono:   'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans:   'Syne', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* shadow */
  --sh-card:   0 1px 1px rgba(20,24,26,0.06), 0 18px 48px rgba(20,24,26,0.10);
  --sh-soft:   0 1px 1px rgba(20,24,26,0.05), 0 8px 28px rgba(20,24,26,0.08);

  /* motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- reset / base ---------- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ambient grid + radial vignette */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(20,24,26,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,24,26,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 110% 80% at 50% -10%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 110% 80% at 50% -10%, #000 0%, transparent 70%);
  opacity: 0.55;
}

body::after {
  content: '';
  position: fixed;
  width: 70vw; height: 70vw;
  top: -20vw; right: -20vw;
  background: radial-gradient(circle at 50% 50%, rgba(42,82,152,0.05), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--acc); color: var(--bg); }

.skip {
  position: absolute; left: 8px; top: 8px;
  padding: 8px 14px;
  background: var(--acc); color: var(--bg);
  font-family: var(--mono); font-size: 12px;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
  z-index: 200;
}
.skip:focus { transform: translateY(0); outline: none; }

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout ---------- */

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.section { padding: 96px 0; position: relative; }
#process .s-head { margin-bottom: 36px; }
#process .s-head .intro { margin-top: 28px; }
#faq .s-head { margin-bottom: 36px; }
.section-alt { background: var(--bg-2); }

.s-head { max-width: 720px; margin-bottom: 64px; }
.s-head .eyebrow { margin-bottom: 28px; }
.s-head .intro {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-mute);
  margin-top: 26px;
  max-width: 60ch;
}

/* ---------- typography utilities ---------- */

.eyebrow {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acc);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow-rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--acc);
}
.eyebrow-center { justify-content: center; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(76px, 10.8vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.026em;
  color: var(--ink);
}
.display em {
  font-style: italic;
  color: var(--acc);
}

.display-2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.0vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.display-2 em {
  font-style: italic;
  color: var(--acc);
}

.lead {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 44ch;
  margin-top: 40px;
  letter-spacing: -0.005em;
}

/* uniform bold: all <strong> render ink-black unless overridden by a class */
strong { color: var(--ink); font-weight: 600; }

/* ---------- navigation ---------- */

.nav { position: sticky; top: 18px; z-index: 100; padding: 0 28px; }
.nav-pill {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 14px 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.82);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 48px;
  box-shadow: var(--sh-soft);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled .nav-pill {
  border-color: var(--line-2);
  background: rgba(255,255,255,0.94);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink);
}
.logo-glyph { display: block; flex: none; }
.logo-text {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.logo i { font-style: normal; color: var(--acc); }
.logo-sub {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a:not(.nav-cta) {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--acc);
  color: var(--bg);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 10px 10px 10px 20px;
  border-radius: 40px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--acc-2);
  box-shadow: var(--acc-glow);
}
.nav-cta .arw {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--acc);
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease);
}
.nav-cta:hover .arw { transform: translate(2px, -2px); }

/* ---------- mobile menu (hamburger) ---------- */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-left: 8px;
  flex-shrink: 0;
}
.nav-burger:hover { background: rgba(20,24,26,0.04); }
.nav-burger-lines { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.nav-burger-lines i {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-burger[aria-expanded="true"] .nav-burger-lines i:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] .nav-burger-lines i:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] .nav-burger-lines i:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 74px 0 0 0;
  z-index: 99;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 28px 28px 36px;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu-nav a {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-nav a:last-child { border-bottom: 0; }
.mobile-menu-nav a.mobile-menu-cta {
  margin-top: 18px;
  padding: 18px 22px;
  background: var(--acc);
  color: var(--bg);
  border-radius: 999px;
  border-bottom: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-align: center;
}

@media (max-width: 960px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
}

/* sr-only utility (used on H1 keyword sub-line) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.005em;
  padding: 19px 22px 19px 30px;
  border-radius: 46px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  white-space: nowrap;
}

.btn-primary {
  background: var(--acc);
  color: var(--bg);
  box-shadow: 0 12px 28px -8px rgba(42,82,152,0.45), 0 2px 0 var(--brass);
}

/* two-tier CTA: fat offer + small qualifier */
.btn-stacked { padding-top: 12px; padding-bottom: 12px; }
.btn-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.12;
}
.btn-main {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
}
.btn-sub {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--acc-2);
  box-shadow: 0 18px 36px -10px rgba(42,82,152,0.55), 0 2px 0 var(--brass-2), var(--brass-glow);
}
.btn-primary .btn-chip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  background: rgba(255,255,255,0.18);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 30px;
  font-weight: 500;
}
.btn-primary .btn-arw {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--acc);
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease);
}
.btn-primary:hover .btn-arw { transform: translate(2px, -2px); }

.btn-ghost {
  background: rgba(20,24,26,0.02);
  border: 1px solid var(--line-2);
  color: var(--ink);
  padding: 15px 26px;
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--line-3);
  background: rgba(20,24,26,0.04);
}
.btn-ghost .btn-arw-sm {
  color: var(--ink-mute);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-ghost:hover .btn-arw-sm { transform: translate(1px, -1px); color: var(--acc); }

.btn-lg {
  padding: 18px 18px 18px 30px;
  font-size: 15px;
}
.btn-lg .btn-arw { width: 36px; height: 36px; }

.btn-block {
  width: 100%;
  justify-content: space-between;
  margin-top: 8px;
}

/* ---------- hero ---------- */

.hero {
  padding: 96px 0 120px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-copy { position: relative; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.hero-excl {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
/* ---------- hero visual / globe panel ---------- */

.hero-visual {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(42,82,152,0.06), transparent 60%);
  pointer-events: none;
}

.visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 16px;
  position: relative;
}
.visual-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acc);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.visual-k::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 8px var(--acc);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}

.globe-frame {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  padding: 12px;
}
.globe-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(42,82,152,0.10), transparent 60%);
  pointer-events: none;
}
#globe {
  display: block;
  width: 100%;
  height: clamp(280px, 36vw, 380px);
  position: relative;
  z-index: 1;
  cursor: grab;
  touch-action: none;
}
#globe.dragging { cursor: grabbing; }


.scn-pips {
  position: absolute;
  bottom: 13px;
  left: 14px;
  z-index: 5;
  display: flex;
  gap: 7px;
  pointer-events: none;
}
.scn-pips i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-3);
  transition: width 0.45s var(--ease), background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.scn-pips i.on {
  width: 18px;
  border-radius: 3px;
  background: var(--acc);
  box-shadow: 0 0 8px var(--acc);
}
.globe-fallback {
  display: none;
  position: absolute;
  inset: 12px;
  border-radius: var(--r-md);
  background: radial-gradient(circle at 50% 42%, rgba(42,82,152,0.18), rgba(42,82,152,0.05) 38%, transparent 70%);
}

.globe-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 4px 4px;
  position: relative;
}
.globe-note-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 9px var(--acc);
  flex-shrink: 0;
  animation: note-pulse 2.4s ease-in-out infinite;
}
@keyframes note-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.82); }
}
.globe-note p {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--ink-mute);
}
.globe-note a {
  color: var(--acc);
  border-bottom: 1px solid rgba(42,82,152,0.35);
  padding-bottom: 1px;
  transition: border-color 0.2s var(--ease);
  white-space: nowrap;
}
.globe-note a:hover { border-color: var(--acc); }

.visual-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 4px 4px;
  position: relative;
}
.lg-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.lg-row-sub { padding-top: 8px; border-top: 1px solid var(--line); }
.lg-k {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 4px;
}
.lg {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.lg .d-active,
.lg .d-recruit,
.lg .d-keep,
.lg .d-drop {
  display: inline-block;
  flex-shrink: 0;
}
.lg .d-keep {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 8px var(--acc);
}
.lg .d-drop {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 7px rgba(176,64,48,0.55);
  position: relative;
}
.lg .d-drop::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 1.4px;
  background: var(--bg);
  transform: translate(-50%, -50%) rotate(45deg);
}
.lg .d-active {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 8px var(--acc);
}
.lg .d-recruit {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 6px rgba(20,24,26,0.35);
}
.lg .d-ind {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 6px rgba(42,82,152,0.5);
}
.lg .d-grp {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--acc);
}
.lg .d-fnd {
  width: 7px; height: 7px;
  background: var(--acc);
  transform: rotate(45deg);
  box-shadow: 0 0 5px rgba(42,82,152,0.45);
}

/* ---------- thesis bubble (typewriter, above globe) ---------- */

.thesis-bubble {
  background: linear-gradient(180deg, #ffffff, #fafaf7);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 14px 18px 16px;
  margin-bottom: 14px;
  position: relative;
  box-shadow: 0 4px 18px rgba(20,24,26,0.08);
}
.thesis-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 36px;
  width: 11px;
  height: 11px;
  background: #fafaf7;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  transform: rotate(45deg);
}
.thesis-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.thesis-k {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--acc);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.thesis-rule {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--acc);
}
.thesis-meta {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.thesis-body {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-mute);
  letter-spacing: 0;
  min-height: 96px;           /* fits the longest thesis tightly; uniform across scenarios so the globe never jumps */
  word-wrap: break-word;
}
.thesis-text { color: var(--ink); }
.thesis-cur {
  display: inline-block;
  width: 7px;
  height: 12px;
  background: var(--acc);
  margin-left: 3px;
  vertical-align: -1px;
  animation: thesis-blink 1s steps(1) infinite;
}
@keyframes thesis-blink { 50% { opacity: 0; } }

/* ---------- globe overlay for focus cards ---------- */

.globe-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
  border-radius: var(--r-lg);
}
.focus-card {
  position: absolute;
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
          backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 11px 13px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 178px;
  max-width: 236px;
  box-shadow:
    0 14px 32px rgba(20,24,26,0.12),
    0 0 0 1px rgba(42,82,152,0.06);
  opacity: 0;
  transform: scale(0.94) translateY(4px);
  animation: focus-in 0.45s var(--ease) forwards;
}
.focus-card.focus-card-out {
  animation: focus-out 0.45s var(--ease) forwards;
}
.focus-tr, .focus-br { transform-origin: right center; }
.focus-tl, .focus-bl { transform-origin: left  center; }

/* header: ownership verdict */
.fc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.fc-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.focus-keep .fc-dot    { background: var(--acc); box-shadow: 0 0 6px var(--acc); }
.focus-discard .fc-dot { background: var(--red); box-shadow: 0 0 6px var(--red); }
.focus-recruit .fc-dot { background: var(--ink); box-shadow: 0 0 8px rgba(20,24,26,0.35); }
.fc-own {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.focus-keep .fc-own    { color: var(--acc); }
.focus-discard .fc-own { color: var(--red); }
.focus-recruit .fc-own { color: var(--ink); }
.focus-discard { border-color: rgba(176,64,48,0.42); }
.focus-recruit {
  border-color: rgba(42,82,152,0.5);
  background: rgba(255,255,255,0.96);
  box-shadow:
    0 14px 32px rgba(20,24,26,0.12),
    0 0 0 1px rgba(42,82,152,0.18),
    0 0 22px rgba(42,82,152,0.16);
}

/* data rows */
.fc-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.fc-rows > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}
.fc-rows dt {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.fc-rows dd {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink);
  text-align: right;
  position: relative;
}
.fc-status { display: inline-flex; align-items: center; gap: 6px; }
.fc-sdot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 5px var(--acc);
}
/* "Sold" — the win state, brighter and bolder */
.fc-status.fc-sold {
  color: var(--acc);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.fc-status.fc-sold .fc-sdot {
  width: 6px; height: 6px;
  box-shadow: 0 0 8px var(--acc);
}
.focus-discard .fc-status { color: var(--red); }

/* discarded data is struck through, then muted */
.focus-discard .fc-rows dd.v-strike {
  color: var(--ink-mute);
  animation: fc-mute 0.4s var(--ease) 0.6s both;
}
.focus-discard .fc-rows dd.v-strike::after {
  content: '';
  position: absolute;
  left: 0; top: 52%;
  height: 1.4px; width: 100%;
  background: var(--red);
  box-shadow: 0 0 5px rgba(176,64,48,0.7);
  transform: scaleX(0);
  transform-origin: left center;
  animation: fc-strike 0.45s var(--ease) 0.3s forwards;
}

/* recruiting cards keep a single line */
.fc-recruit-line {
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--ink-mute);
}

@keyframes fc-strike { to { transform: scaleX(1); } }
@keyframes fc-mute { to { color: rgba(176,64,48,0.62); } }
@keyframes focus-in {
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes focus-out {
  to { opacity: 0; transform: scale(0.94) translateY(-4px); }
}

/* ---------- approach / steps ---------- */

/* ---------- process triptych: Find / Contact / Nurture ---------- */

.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.proc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 34px 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-soft);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.proc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--acc), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.proc-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  background: var(--card-2);
  box-shadow: var(--sh-card);
}
.proc-card:hover::before { opacity: 0.6; }

.proc-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 26px;
}
.proc-sift {
  align-self: center;
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.proc-sift img {
  position: absolute;
  inset: 0;
  width: 34px;
  height: 34px;
  animation: sift-bob 4.6s ease-in-out infinite;
}
@keyframes sift-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
/* cycling tool logos (Contact stage) — same open-app treatment */
.cycle-img {
  border-radius: 8px;
  filter: drop-shadow(0 3px 7px rgba(20,24,26,0.10));
  transition: opacity 0.35s ease;
}

/* Nurture — proprietary mark for the Nurture stage */
.nurture-icon {
  position: absolute;
  inset: 0;
  width: 34px;
  height: 34px;
  border-radius: 22%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #5c83bf 0%, #2a5298 52%, #1f4488 100%);
  filter: drop-shadow(0 3px 7px rgba(20,24,26,0.10));
  display: flex;
  align-items: center;
  justify-content: center;
  animation: sift-bob 4.6s ease-in-out infinite;
}
.nurture-icon svg { display: block; overflow: visible; }
.nurture-edges line {
  stroke: #fff;
  stroke-width: 0.9;
  stroke-linecap: round;
  opacity: 0.92;
}
.nurture-nodes circle { fill: #fff; }

/* macOS "app is open" indicator dot */
.sift-dot {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(20,24,26,0.35);
}
.sift-main { filter: drop-shadow(0 3px 7px rgba(20,24,26,0.10)); }
/* glow stays INSIDE the squircle: blur the rays, then mask to the icon shape */
.sift-glow {
  filter: blur(3px) brightness(1.12);
  opacity: 0.38;
  pointer-events: none;
  -webkit-mask-image: url("sift-icon.svg");
          mask-image: url("sift-icon.svg");
  -webkit-mask-size: 34px 34px;
          mask-size: 34px 34px;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}
.proc-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--acc);
}
.proc-card h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--ink);
}
.proc-card p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-mute);
  flex: 1;
}
.proc-card p strong {
  color: var(--ink);
  font-weight: 600;
}
.proc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acc);
  border-bottom: 1px solid rgba(42,82,152,0.35);
  padding-bottom: 3px;
  transition: border-color 0.25s var(--ease), letter-spacing 0.25s var(--ease);
}
.proc-link:hover { border-color: var(--acc); letter-spacing: 0.2em; }

/* ---------- Sift section: the find engine ---------- */

.sift-word {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  color: var(--ink);
  display: inline-block;
  margin-right: 0.35em;
  position: relative;
}
.sift-word::after {
  content: '';
  position: absolute;
  left: 4%;
  right: 8%;
  bottom: 0.08em;
  height: 0.06em;
  background: var(--acc);
  opacity: 0.55;
}
.sift-mark {
  position: absolute;
  bottom: 0.16em;
  right: -0.32em;
  width: 0.13em;
  height: 0.13em;
  border-radius: 50%;
  background: var(--acc);
  color: transparent;
  font-size: 1em;
  line-height: 0;
  overflow: hidden;
}

/* Sift section — title + benefits on the left, routing animation on the right */

.sift-layout {
  display: grid;
  grid-template-columns: 596px 480px;
  gap: 96px;
  align-items: center;
  justify-content: center; /* center the column pair inside the wrap */
}
/* prevent intrinsic content (long emails, names) from inflating column widths */
.sift-layout > * { min-width: 0; }
@media (max-width: 980px) {
  .sift-layout { grid-template-columns: 1fr; gap: 28px; }
}

.sift-copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.sift-copy .s-head { margin-bottom: 0; }
.sift-copy .intro { margin-top: 24px; }

/* highlighted brand & competitor names inside Sift prose */
.sift-prose .rival {
  color: var(--ink);
  font-weight: 700;
}
.sift-prose .brand {
  color: var(--acc);
  font-weight: 700;
}

/* descriptive prose under the title */
.sift-prose {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sift-prose p {
  margin: 0;
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 52ch;
}

.sift-title-line {
  display: flex;
  align-items: center;
  gap: 20px;
  line-height: 1;
}
.sift-logo {
  position: relative;
  display: inline-flex;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}
.sift-logo img {
  position: absolute;
  inset: 0;
  width: 72px;
  height: 72px;
}
.sift-logo-main {
  filter: drop-shadow(0 6px 14px rgba(20,24,26,0.10));
}
.sift-logo-glow {
  filter: blur(6px) brightness(1.12);
  opacity: 0.35;
  pointer-events: none;
  -webkit-mask-image: url("sift-icon.svg");
          mask-image: url("sift-icon.svg");
  -webkit-mask-size: 72px 72px;
          mask-size: 72px 72px;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}

.sift-pane {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* router panel */
.sift-router {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--sh-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* fixed size — no flex growth, no max-height clamp */
  height: 520px;
  min-height: 520px;
  max-height: 520px;
  width: 100%;
}
.router-head, .router-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.router-head .router-meta {
  text-transform: none;
  letter-spacing: 0.02em;
  font-style: italic;
  font-size: 10.5px;
  color: var(--ink-soft);
}
.router-head { border-bottom: 1px solid var(--line); }
.router-foot { border-top: 1px solid var(--line); }
.router-k {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--acc);
}
.router-stat em {
  font-style: normal;
  font-weight: 700;
  color: inherit;
}
.router-stat-keep { color: var(--acc); }

.router-arena {
  position: relative;
  flex: 1;
  padding: 18px 18px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  min-height: 0;
}

/* the tile */
.sift-tile {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.55s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    filter 0.6s var(--ease);
}
.sift-tile.is-in { opacity: 1; transform: translateY(0); }
.sift-tile.is-keep {
  border-color: rgba(42,82,152,0.45);
  box-shadow: 0 0 0 1px rgba(42,82,152,0.15), 0 18px 40px -20px rgba(42,82,152,0.35);
}
.sift-tile.is-discard {
  border-color: rgba(176,64,48,0.35);
  background: linear-gradient(180deg, rgba(176,64,48,0.06), var(--bg-2) 60%);
}
.sift-tile.is-out-keep    { transform: translate(40%, -10%) rotate(4deg);  opacity: 0; }
.sift-tile.is-out-discard { transform: translate(-40%, -10%) rotate(-4deg); opacity: 0; }

.tile-head h3.tile-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tile-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chk {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: rgba(20,24,26,0.05);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-soft);
  opacity: 0.35;
  transition: opacity 0.35s ease;
}
.chk.is-on { opacity: 1; }
.chk-k {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.chk-v {
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--ink);
}
.chk.is-on .chk-v { color: var(--acc); }
.chk.is-fail .chk-v { color: var(--red); }

.tile-verdict {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
  min-height: 26px; /* reserve slot so it can't shift the column when it appears */
}
.verdict-pill {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20,24,26,0.04);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.4s ease, background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.verdict-pill.is-keep {
  background: rgba(42,82,152,0.14);
  color: var(--acc);
  border-color: rgba(42,82,152,0.4);
  box-shadow: 0 0 12px rgba(42,82,152,0.22);
  opacity: 1;
}
.verdict-pill.is-discard {
  background: rgba(176,64,48,0.12);
  color: var(--red);
  border-color: rgba(176,64,48,0.45);
  box-shadow: 0 0 12px rgba(176,64,48,0.18);
  opacity: 1;
}

.tile-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid transparent;
  opacity: 0;
  /* fixed slot — never grows, never shrinks, content clips if it tries */
  height: 196px;
  min-height: 196px;
  max-height: 196px;
  overflow: hidden;
  transition: opacity 0.5s ease, border-top-color 0.5s ease;
}
.sift-tile.show-detail .tile-detail {
  opacity: 1;
  border-top-color: var(--line);
}
.detail-block { display: flex; flex-direction: column; gap: 4px; }
.detail-k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.chain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chain-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
  padding: 4px 0;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
}
.chain-list li .chain-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chain-list li .chain-badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acc);
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(42,82,152,0.08);
  border: 1px solid rgba(42,82,152,0.25);
}
/* level 0 — root parent */
.chain-list li[data-level="0"] { padding-left: 0; }
.chain-list li[data-level="0"]::before {
  content: '';
  width: 8px;
  height: 8px;
  border: 1px solid rgba(42,82,152,0.55);
  background: rgba(42,82,152,0.08);
  flex-shrink: 0;
  border-radius: 2px;
}
/* level 1+ — child, tree-connector */
.chain-list li[data-level="1"] { padding-left: 22px; }
.chain-list li[data-level="1"]::before {
  content: '';
  position: absolute;
  left: 3px;
  top: -4px;
  bottom: 50%;
  width: 12px;
  border-left: 1px solid rgba(42,82,152,0.35);
  border-bottom: 1px solid rgba(42,82,152,0.35);
  border-bottom-left-radius: 4px;
}
.chain-list li[data-level="1"]::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 7px rgba(42,82,152,0.55);
  flex-shrink: 0;
}
.chain-list li[data-level="1"] .chain-name { color: var(--ink); font-weight: 500; }
.chain-list li[data-level="2"] { padding-left: 44px; }
.chain-list li[data-level="2"]::before {
  content: '';
  position: absolute;
  left: 25px;
  top: -4px;
  bottom: 50%;
  width: 12px;
  border-left: 1px solid rgba(42,82,152,0.35);
  border-bottom: 1px solid rgba(42,82,152,0.35);
  border-bottom-left-radius: 4px;
}
.chain-list li[data-level="2"]::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 5px rgba(42,82,152,0.45);
  flex-shrink: 0;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: rgba(20,24,26,0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}
.ct-n {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.ct-age {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(20,24,26,0.04);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.ct-r {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  flex-shrink: 0;
}
.ct-e {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--acc);
  letter-spacing: 0;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ct-li {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(42,82,152,0.16);
  border: 1px solid rgba(42,82,152,0.4);
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .sift-tile, .verdict-pill, .tile-tag, .chk, .tile-detail {
    transition: none !important;
  }
}

/* shared pulse dot used in panel headers */
.cast-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 12px rgba(42,82,152,0.55);
  animation: cast-pulse-bob 1.8s ease-in-out infinite;
  display: inline-block;
}
@keyframes cast-pulse-bob {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.25); }
}

/* ---------- replies section: text left, live feed right ---------- */

.replies-layout {
  display: grid;
  grid-template-columns: 460px 470px;
  gap: 96px;
  align-items: center;
  justify-content: center;
}
.replies-layout > * { min-width: 0; }
@media (max-width: 980px) {
  .replies-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    justify-content: stretch;
  }
}

.replies-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.replies-copy .s-head { margin-bottom: 0; }
.replies-prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.replies-prose p {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-mute);
  max-width: 46ch;
}

/* feed panel */
.replies-feed {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(42,82,152,0.06), transparent 60%),
    var(--card);
  overflow: hidden;
  height: 600px;
  display: flex;
  flex-direction: column;
}
.replies-feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.replies-feed-k {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--acc);
}
.replies-disclaimer {
  margin: 0;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-mute);
  flex-shrink: 0;
}
.replies-disclaimer .rep-n {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--acc);
  line-height: 1;
  vertical-align: -2px;
}
.replies-disclaimer sup { font-size: 0.7em; color: var(--ink-soft); }
.replies-disclaimer a {
  display: inline-block;
  margin-top: 5px;
  color: var(--acc);
  text-decoration: none;
  border-bottom: 1px solid rgba(42,82,152,0.4);
  transition: border-color 0.2s ease;
}
.replies-disclaimer a:hover { border-color: var(--acc); }
.replies-foot {
  margin: 0;
  padding: 9px 18px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-style: italic;
  font-size: 10px;
  line-height: 1.4;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.replies-stack {
  position: relative;
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, #000 0, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 80%, transparent 100%);
}

/* reply card */
.reply-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(-14px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.55s var(--ease),
    box-shadow 0.6s var(--ease),
    border-color 0.6s var(--ease);
}
.reply-card.in { opacity: 1; transform: translateY(0); }
.reply-card.fresh {
  border-color: rgba(42,82,152,0.45);
  box-shadow:
    0 0 0 1px rgba(42,82,152,0.16),
    0 14px 36px -16px rgba(42,82,152,0.30);
}
.reply-card.out { opacity: 0; transform: translateY(8px); }

.reply-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
/* monogram avatar — subtle tint cycles via --av (0..4) */
.reply-avatar {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(calc(80 + var(--av, 0) * 38) 32% 22%);
  background:
    hsl(calc(80 + var(--av, 0) * 38) 36% 88%);
  border: 1px solid hsl(calc(80 + var(--av, 0) * 38) 32% 50% / 0.32);
}
.reply-avatar svg { display: block; }
.reply-who {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.reply-from {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reply-meta {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reply-ch {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-mute);
  background: rgba(20,24,26,0.04);
  border: 1px solid var(--line);
}
.reply-ch-li {
  color: var(--ink);
  background: rgba(42,82,152,0.12);
  border-color: rgba(42,82,152,0.3);
}
.reply-time {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.reply-body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}
.reply-body.reply-action {
  display: flex;
  align-items: center;
  gap: 8px;
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
}
.reply-action .reply-cal { flex-shrink: 0; color: var(--acc); }
.reply-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
}
.reply-tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
/* tag categories */
.reply-tag.tag-win {
  color: var(--acc);
  background: rgba(42,82,152,0.1);
  border: 1px solid rgba(42,82,152,0.28);
}
.reply-tag.tag-win i { background: var(--acc); box-shadow: 0 0 8px rgba(42,82,152,0.7); }
.reply-tag.tag-warm {
  color: #0a7480;
  background: rgba(10,116,128,0.08);
  border: 1px solid rgba(10,116,128,0.32);
}
.reply-tag.tag-warm i { background: #0a7480; box-shadow: 0 0 6px rgba(10,116,128,0.32); }
.reply-tag.tag-soft {
  color: #8a6a1f;
  background: rgba(138,106,31,0.09);
  border: 1px solid rgba(138,106,31,0.32);
}
.reply-tag.tag-soft i { background: #8a6a1f; box-shadow: 0 0 6px rgba(138,106,31,0.32); }
.reply-tag.tag-neutral {
  color: var(--ink-mute);
  background: rgba(20,24,26,0.04);
  border: 1px solid var(--line-2);
}
.reply-tag.tag-neutral i { background: var(--ink-mute); }
.reply-tag.tag-buyer {
  color: #2a4d8f;
  background: rgba(42,77,143,0.08);
  border: 1px solid rgba(42,77,143,0.30);
}
.reply-tag.tag-buyer i { background: #2a4d8f; box-shadow: 0 0 6px rgba(42,77,143,0.32); }

@media (prefers-reduced-motion: reduce) {
  .reply-card { transition: opacity 0.2s linear; transform: none; }
  .reply-card.in { transform: none; }
}

/* ---------- nurture section: Pulse monitor (timelines + iOS notifs) ---------- */

.nurture-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 96px;
  align-items: center;
  justify-content: center;
}
.nurture-layout > * { min-width: 0; }
@media (max-width: 980px) {
  .nurture-layout { grid-template-columns: 1fr; gap: 36px; }
}

.nurture-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.nurture-copy .s-head { margin-bottom: 0; }
.nurture-prose { display: flex; flex-direction: column; gap: 16px; }
.nurture-prose p {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-mute);
  max-width: 52ch;
}

.pulse-logo {
  position: relative;
  display: inline-flex;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(20,24,26,0.10));
}
.pulse-logo svg { display: block; border-radius: 22%; }

/* monitor panel */
.nurture-stage {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(42,82,152,0.05), transparent 60%),
    var(--card);
  overflow: hidden;
  height: 500px;
  display: flex;
  flex-direction: column;
}
.pulse-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.pulse-k { display: inline-flex; align-items: center; gap: 10px; color: var(--acc); }

.pulse-board {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 40px;
  padding: 132px 22px 30px;
}

.pulse-row { display: flex; align-items: center; gap: 14px; }
.pulse-row-label {
  flex-shrink: 0;
  width: 58px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pulse-track {
  position: relative;
  flex: 1;
  height: 14px;
}
.pulse-track::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(20,24,26,0.04), rgba(20,24,26,0.18) 12%, rgba(20,24,26,0.18) 88%, rgba(20,24,26,0.04));
}
.pulse-dot {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.pulse-dot.is-on {
  background: var(--acc);
  border-color: var(--acc);
  box-shadow: 0 0 10px rgba(42,82,152,0.7);
  transform: scale(1.15);
}
.pulse-dot.is-on::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(42,82,152,0.5);
  animation: pulse-ring 1s ease-out;
}
@keyframes pulse-ring {
  0%   { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* sweeping playhead */
.pulse-playhead {
  position: absolute;
  top: 96px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(42,82,152,0.45), rgba(42,82,152,0.2));
  box-shadow: 0 0 10px rgba(42,82,152,0.4);
  pointer-events: none;
}

/* notification layer + iOS cards */
.pulse-notifs { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.pulse-beam {
  position: absolute;
  width: 1px;
  background: linear-gradient(180deg, rgba(42,82,152,0.5), rgba(42,82,152,0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pulse-beam.in { opacity: 1; }
.pulse-beam.out { opacity: 0; }

.pulse-notif {
  position: absolute;
  width: 250px;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 15px;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
          backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--line-2);
  box-shadow: 0 14px 34px -12px rgba(20,24,26,0.18);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.pulse-notif.in { opacity: 1; transform: translateY(0) scale(1); }
.pulse-notif.out { opacity: 0; transform: translateY(-6px) scale(0.98); }
.pn-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #5c83bf, #2a5298 52%, #1f4488);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pn-icon svg { display: block; }
.pn-body { flex: 1; min-width: 0; }
.pn-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pn-app {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.pn-time {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: rgba(20,24,26,0.5);
  flex-shrink: 0;
}
.pn-msg {
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.36;
  color: rgba(20,24,26,0.88);
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot, .pulse-notif, .pulse-beam { transition: none; }
  .pulse-dot.is-on::after { animation: none; }
}

/* ---------- faq ---------- */

.faq {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 4px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--acc); }

.faq-plus {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--acc-soft);
  color: var(--acc);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 0;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}
.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  background: var(--acc);
  color: var(--bg);
}
.faq-a {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-mute);
  padding: 0 56px 28px 4px;
  max-width: 78ch;
}
.faq-a a {
  color: var(--acc);
  text-decoration: none;
  border-bottom: 1px solid rgba(42,82,152,0.4);
  transition: border-color 0.2s ease;
}
.faq-a a:hover { border-color: var(--acc); }

/* ---------- final / contact ---------- */

.final {
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-soft);
}
.final::before {
  content: '';
  position: absolute;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(42,82,152,0.16), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.final > * { position: relative; }
.final-h { margin-top: 28px; }
.final-sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 48ch;
  margin: 26px auto 42px;
}
.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.final-mail {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  user-select: all;
}
.final-note {
  margin: 30px auto 0;
  max-width: 52ch;
  font-family: var(--sans);
  font-style: italic;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.dot-sep { color: var(--ink-dim); }

/* ---------- case study ---------- */

#case { padding-block: 40px; }
#case .s-head { margin-bottom: 30px; }
#case .display-2 { font-size: clamp(38px, 4.4vw, 56px); }

#case .cx-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-soft);
  padding: 32px 44px 34px;
}

#case .cx-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
#case .cx-top-left { display: flex; align-items: center; gap: 18px; }
#case .cx-logo {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
#case .cx-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 13px;
  border-radius: 999px;
  background: var(--acc-soft);
  color: var(--acc);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(42,82,152,0.12), 0 0 20px rgba(42,82,152,0.22);
}
#case .cx-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 7px 1px rgba(42,82,152,0.85);
}
#case .cx-pf { text-align: right; }
#case .cx-pf-fig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 42px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--acc);
}
#case .cx-pf-lbl {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

#case .cx-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(220px, 0.85fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

/* ledger table */
#case .cx-ledger { width: 100%; border-collapse: collapse; font-feature-settings: "tnum" 1, "lnum" 1; }
#case .cx-ledger th, #case .cx-ledger td { padding: 0; vertical-align: baseline; }
#case .cx-ledger thead th {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
#case .cx-col-stage { text-align: left; }
#case .cx-col-num { text-align: right; }
#case .cx-ledger tbody tr { position: relative; }
#case .cx-ledger tbody th {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--ink);
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--line);
}
#case .cx-ledger tbody td { padding: 12px 0 18px; border-bottom: 1px solid var(--line); }
#case .cx-rowbar {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--acc-soft);
  overflow: hidden;
}
#case .cx-rowbar i {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--acc);
  border-radius: 2px;
}
#case .cx-fig {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 0.8;
  letter-spacing: -0.01em;
  color: var(--ink);
}
#case .cx-conv { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-mute); }

/* aside — engagement mix */
#case .cx-aside-head {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
#case .cx-split { margin: 0; }
#case .cx-split-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
#case .cx-split-row dt { font-family: var(--sans); font-size: 14px; color: var(--ink); }
#case .cx-split-row dd { margin: 0; display: flex; align-items: baseline; gap: 12px; }
#case .cx-sfig { font-family: var(--serif); font-size: 26px; line-height: 0.8; color: var(--ink); }
#case .cx-spct {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  min-width: 3.2ch;
  text-align: right;
}
#case .cx-ring-wrap { display: flex; align-items: center; gap: 22px; margin: 12px 0 4px; }
#case .cx-ring { width: 90px; height: 90px; flex: none; }
#case .cx-ring-wrap .cx-split { flex: 1; }
#case .cx-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 9px;
  vertical-align: 1px;
}
#case .cx-aside-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 13px 0 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
#case .cx-meta-fig { color: var(--ink); letter-spacing: 0.04em; text-transform: none; }

#case .cx-case-cta {
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
#case .cx-case-cta a { color: var(--acc); }

/* rolling testimonials */
#case .cx-quotes { margin-top: 44px; }
#case .cx-quotes-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 20px;
}
#case .cx-quotes-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
#case .cx-quotes-track {
  display: flex;
  width: max-content;
  animation: cx-marquee 52s linear infinite;
}
#case .cx-quotes:hover .cx-quotes-track { animation-play-state: paused; }
#case .cx-quote {
  flex: none;
  width: 360px;
  margin: 0 20px 0 0;
  padding: 24px 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--sh-soft);
}
#case .cx-quote-text {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}
#case .cx-quote-cap { display: flex; align-items: center; gap: 11px; margin-top: 20px; }
#case .cx-quote-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  flex: none;
}
#case .cx-quote-attr {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
@keyframes cx-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  #case .cx-quotes-track { animation: none; }
  #case .cx-quotes-viewport { overflow-x: auto; }
}

@media (max-width: 900px) {
  #case { padding-block: 38px; }
  #case .cx-card { padding: 26px 22px 24px; }
  #case .cx-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  #case .display-2 { font-size: clamp(38px, 11vw, 52px); }
  #case .cx-top { gap: 16px; }
  #case .cx-fig { font-size: 32px; }
  #case .cx-pf-fig { font-size: 34px; }
  #case .cx-ledger tbody th, #case .cx-ledger tbody td { padding: 12px 0 16px; }
  #case .cx-conv { font-size: 10px; letter-spacing: 0.04em; }
  #case .cx-quote { width: 280px; padding: 20px 22px 18px; }
  #case .cx-quote-text { font-size: 18px; }
}

/* ---------- footer ---------- */

.footer { padding: 60px 0 56px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.foot-glyph { display: block; margin-bottom: 4px; }
.foot-brand .logo-mark {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
}
.foot-brand .logo-mark i { color: var(--acc); font-style: normal; }
.foot-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.foot-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.foot-nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color 0.2s var(--ease);
}
.foot-nav a:hover { color: var(--ink); }
.foot-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.foot-meta a {
  color: var(--ink-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
.foot-meta a:hover { color: var(--ink); }
.foot-dot { font-style: normal; color: var(--ink-dim); margin: 0 3px; }

/* ---------- reveal animations ---------- */

/* Scoped under .js-reveal so non-JS crawlers / failed JS still render content. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

/* Desktop: fit the whole hero within one viewport (Mac screens) */
@media (min-width: 961px) {
  .hero {
    min-height: calc(100vh - 74px);   /* leave room for the sticky nav */
    display: flex;
    align-items: center;
    padding: 16px 0 32px;
  }
  .hero .wrap { width: 100%; }
  .hero-visual { padding: 16px; }
  .thesis-bubble { margin-bottom: 12px; }
  #globe { height: clamp(240px, 24vw, 312px); }
  .globe-note { padding: 13px 6px 2px; }
}

@media (min-width: 961px) and (max-height: 760px) {
  /* shorter laptops — pull the headline in a touch so nothing clips */
  .display { font-size: clamp(68px, 8vw, 124px); }
  #globe { height: clamp(220px, 21vw, 272px); }
}

@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .s-head { margin-bottom: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 32px; }
  .process { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; text-align: left; }
  .foot-nav, .foot-meta { justify-content: flex-start; }
  .foot-meta { text-align: left; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .globe-note { align-items: flex-start; }
  .globe-note-dot { margin-top: 4px; }
  .globe-note p { font-size: 11.5px; line-height: 1.6; }
  .nav { padding: 0 16px; top: 12px; }
  .nav-pill { padding: 10px 10px 10px 18px; gap: 12px; }
  .logo-sub { display: none; }
  .logo-mark { font-size: 14px; }
  .focus-card { min-width: 150px; max-width: 176px; padding: 9px 11px 10px; gap: 7px; }
  .fc-head { padding-bottom: 6px; }
  .fc-own { font-size: 11px; }
  .fc-rows { gap: 5px; }
  .fc-rows dt { font-size: 10px; letter-spacing: 0.1em; }
  .fc-rows dd { font-size: 11px; }
  .fc-recruit-line { font-size: 11px; }
  .thesis-bubble { padding: 12px 14px; }
  .thesis-body { font-size: 12px; }
  .final { padding: 48px 22px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-actions .btn-block { width: 100%; }
  .btn-primary .btn-chip { display: none; }
  .faq-a { padding-right: 4px; }
  .foot-tag, .foot-meta { font-size: 11px; }
  /* Footer: graceful wrap for nav, stacked copyright without a dangling separator */
  .foot-nav { gap: 14px 12px; }
  .foot-meta { align-items: flex-start; gap: 5px; }
  /* H1 display fits the viewport — was overflowing at the 76px floor */
  .display { font-size: clamp(52px, 13.2vw, 76px); line-height: 0.95; }
  /* Allow vertical scroll on the globe — drag-rotate disabled on touch */
  #globe { touch-action: pan-y; }
  /* Fixed-pixel panel heights → fluid on mobile */
  .sift-router, .replies-feed, .nurture-stage {
    height: auto;
    min-height: 420px;
    max-height: none;
  }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  #globe { display: none; }
  .globe-fallback { display: block; }
}
