/* ============================================================
   BRAWIN HQ — home page specifics
   ============================================================ */

/* ---- hero ---- */
.hero { padding-top: clamp(80px, 10vw, 116px); padding-bottom: clamp(28px, 4vw, 52px); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 60px; } }

.hero-proof { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-proof > div { display: flex; flex-direction: column; gap: 5px; }
.hero-proof-num { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.hero-proof-cap { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--text-3); text-transform: uppercase; }
.hero-proof-sep { width: 1px; height: 34px; background: var(--border); }

/* ---- hero floating stage ---- */
.hero-stage { position: relative; min-height: 420px; }
@media (max-width: 860px) { .hero-stage { min-height: 380px; max-width: 440px; width: 100%; margin-inline: auto; } }
.float-card {
  position: absolute; background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--border-2); border-radius: var(--radius);
  backdrop-filter: blur(10px); box-shadow: 0 30px 70px -30px rgba(0,0,0,0.7);
  transition: transform .3s var(--ease);
}
.fc-main { top: 20px; left: 0; right: 44px; padding: 22px; z-index: 2; }
.fc-logo {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--accent-2), var(--accent)); color: #fff; font-weight: 600; font-size: 17px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}
.fc-logo.sm { width: 30px; height: 30px; font-size: 15px; border-radius: 8px; }
.fc-sub { font-size: 11px; color: var(--text-3); letter-spacing: 0.04em; margin-top: 2px; }
.fc-chart { margin: 20px 0 16px; height: 96px; }
.fc-chart svg { width: 100%; height: 100%; }
.fc-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border-top: 1px solid var(--border); padding-top: 14px; }
.fc-k { font-size: 10.5px; letter-spacing: 0.08em; color: var(--text-3); text-transform: uppercase; }
.fc-v { font-size: 14px; font-weight: 500; margin-top: 4px; }
.fc-pill { bottom: 40px; left: -16px; padding: 13px 16px; display: flex; align-items: center; gap: 12px; z-index: 3; }
.fc-metric { bottom: 24px; right: 0; padding: 18px 20px; z-index: 3; }
.fc-metric-big { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.fc-metric-big::first-letter { color: var(--accent); }
@media (max-width: 480px) {
  .fc-main { right: 0; }
  .fc-pill { left: 0; }
}
/* Phones: show only the main Sparow card; the two floating accents
   (Focus pill + Operating principle) are decorative and clutter small screens. */
@media (max-width: 600px) {
  .hero-stage { min-height: 0; max-width: 100%; display: block; }
  .fc-main { position: static; inset: auto; width: 100%; backdrop-filter: none; box-shadow: 0 18px 44px -24px rgba(0,0,0,0.7); }
  .fc-pill, .fc-metric { display: none; }
  .fc-chart { height: 84px; margin: 16px 0 14px; }
  .hero { padding-top: clamp(74px, 20vw, 96px); }
}

/* ---- marquee ---- */
.marquee { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--border); padding: 22px 0; -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: 26px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -0.02em; color: var(--text-2); white-space: nowrap; }
.marquee-track .dotsep { color: var(--accent); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
[data-motion="calm"] .marquee-track { animation-duration: 64s; }

/* ---- stats band ---- */
.stats-band { position: relative; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(18px, 2.5vw, 32px) clamp(22px, 3vw, 40px); background: var(--card-grad); box-shadow: inset 0 1px 0 var(--card-hi); }
.stats-band .stat { display: flex; flex-direction: column; }
.stat-num { display: flex; align-items: baseline; }
@media (max-width: 560px) { .stats-band { gap: 28px; } }

/* ---- ventures ---- */
.venture-feature { display: flex; flex-direction: column; }
.venture-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.venture-figure { margin-top: auto; height: 150px; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(180deg, transparent, var(--bg-2)); border: 1px solid var(--border); }
.venture-figure svg { width: 100%; height: 100%; }
.venture-quote { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(140deg, var(--accent-soft), transparent 70%); border-color: var(--accent-line); min-height: 150px; }
.quote-mark { font-size: 56px; line-height: 0.5; color: var(--accent); font-weight: 700; height: 28px; }
.venture-quote p { font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 500; letter-spacing: -0.02em; margin-top: 10px; }
.quote-by { font-size: 12px; color: var(--text-3); margin-top: 16px; letter-spacing: 0.06em; }

/* ---- principles ---- */
.principle { display: flex; flex-direction: column; min-height: 230px; }
.principle-num { font-size: 13px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: auto; }
.principle h3 { margin-top: 22px; }
.principle p { margin-top: 12px; }

/* ---- writing cards ---- */
.post-card { display: flex; flex-direction: column; min-height: 230px; }
.post-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }
.post-card h3 { margin: 18px 0 12px; font-size: 1.25rem; }
.post-card .muted { margin-bottom: 20px; }
.post-go { margin-top: auto; font-family: var(--font-mono); font-size: 13px; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.post-go::after { content: "→"; transition: transform .25s var(--ease); }
.post-card:hover .post-go::after { transform: translateX(4px); }

/* cta-glow, cta-title, cta-panel helpers moved to styles.css */
