/* ═══════════════════════════════════════════════════════════
   SF Founder Openbook · style.css
   Dark theme adapted from vibe-coding-nights-latam.
   Golden Gate red as the SF accent.
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --black:       #08080a;
  --surface:     #111113;
  --surface-2:   #19191d;
  --surface-3:   #222228;
  --white:       #fafaf9;
  --white-dim:   rgba(250, 250, 249, 0.72);
  --white-muted: rgba(250, 250, 249, 0.42);
  --white-ghost: rgba(250, 250, 249, 0.08);
  --white-line:  rgba(250, 250, 249, 0.12);

  --red:    #ff5a45;          /* SF sunset / Golden Gate */
  --red-15: rgba(255, 90, 69, 0.15);
  --red-08: rgba(255, 90, 69, 0.08);
  --green:  #30d158;
  --green-15: rgba(48, 209, 88, 0.15);
  --blue:   #0a84ff;
  --blue-15: rgba(10, 132, 255, 0.15);
  --orange: #ff9f0a;
  --orange-15: rgba(255, 159, 10, 0.15);
  --purple: #bf5af2;
  --purple-15: rgba(191, 90, 242, 0.15);

  --serif: 'Instrument Serif', Georgia, serif;
  --sans:  'DM Sans', -apple-system, sans-serif;
  --mono:  'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.55;
}

::selection {
  background: var(--red-15);
  color: var(--white);
}

a { color: inherit; text-decoration: none; }

em {
  font-family: var(--serif);
  font-style: italic;
}

code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--surface-2);
  color: var(--red);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ─── Reveal animation ─────────────────────── */
.r { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.r.v { opacity: 1; transform: none; }
.r-d1 { transition-delay: 0.10s; }
.r-d2 { transition-delay: 0.20s; }
.r-d3 { transition-delay: 0.30s; }
.r-d4 { transition-delay: 0.45s; }

/* ─── Layout ───────────────────────────────── */
.w {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══ NAV ═════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--white-ghost);
}
.nav .w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-left {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--white-muted);
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-left em {
  font-style: normal;
  color: var(--white);
}
.nav-left:hover { color: var(--white); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-coords {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-muted);
  letter-spacing: 0.5px;
}
.nav-back {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--white-muted);
  padding: 6px 12px;
  border: 1px solid var(--white-ghost);
  border-radius: 100px;
  transition: all 0.2s;
}
.nav-back:hover {
  color: var(--white);
  border-color: var(--red);
}

@media (max-width: 640px) {
  .nav-coords { display: none; }
}

/* ═══ HERO ════════════════════════════════════ */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(255, 90, 69, 0.10) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 220px;
  background: radial-gradient(ellipse at bottom, rgba(255, 90, 69, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--white-muted);
  margin-bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 12px var(--red-15);
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--red);
  border-radius: 50%;
  animation: ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.6; }
  75%, 100% { transform: scale(2.5); opacity: 0; }
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 9.5vw, 96px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -2.5px;
  max-width: 880px;
  margin-bottom: 32px;
  color: var(--white);
}
.hero-h1 i {
  font-style: italic;
  color: var(--red);
}

.hero-sub {
  font-size: 17px;
  color: var(--white-dim);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.65;
  letter-spacing: -0.1px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.meta-pill {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--white-muted);
  padding: 7px 14px;
  border: 1px solid var(--white-ghost);
  border-radius: 100px;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white-muted);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--mono);
  animation: float 3s ease-in-out infinite;
}
.scroll-cue .line {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, var(--white-muted), transparent);
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ═══ SF SKYLINE ══════════════════════════════ */
.skyline-wrap {
  margin: 0 auto 80px;
  max-width: 1280px;
  padding: 0 24px;
  color: var(--red);
  position: relative;
}
.skyline-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(8, 8, 10, 0) 0%,
    rgba(8, 8, 10, 0) 70%,
    var(--black) 100%);
  pointer-events: none;
}
.sf-skyline {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  filter: drop-shadow(0 0 30px rgba(255, 90, 69, 0.12));
}

/* ═══ FILTER BAR (section nav) ════════════════ */
.filter-bar {
  position: sticky;
  top: 56px;
  z-index: 90;
  background: rgba(8, 8, 10, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--white-ghost);
  border-bottom: 1px solid var(--white-ghost);
  padding: 14px 0;
  margin-bottom: 56px;
}
.filter-bar .w {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
  flex-wrap: wrap;
}
.filter-bar .w::-webkit-scrollbar { display: none; }

.filter-btn {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--white-ghost);
  border-radius: 100px;
  background: none;
  color: var(--white-muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.filter-btn:hover {
  border-color: var(--red);
  color: var(--white);
}

/* ═══ SECTIONS ════════════════════════════════ */
.section {
  margin-bottom: 96px;
  scroll-margin-top: 130px;
}
.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}
.section-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1.5px;
}
.section h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 5.5vw, 48px);
  font-weight: 400;
  letter-spacing: -1.2px;
  line-height: 1.05;
  color: var(--white);
}
.section-desc {
  color: var(--white-dim);
  font-size: 15.5px;
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.section-sub {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
}

/* ═══ "OPEN WITH THESE" (numbered) ════════════ */
.open-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--white-ghost);
}
.open-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--white-ghost);
  transition: padding 0.3s ease, background 0.3s ease;
  position: relative;
}
.open-card:hover {
  padding-left: 16px;
  background: linear-gradient(90deg, var(--red-08) 0%, transparent 60%);
}
.open-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.open-card:hover::before { transform: scaleY(1); }
.open-num {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  padding-top: 6px;
}
.open-body h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 3.4vw, 28px);
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.open-body p {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.65;
  margin-bottom: 14px;
  max-width: 640px;
}
.open-body strong {
  color: var(--white);
  font-weight: 600;
}
.open-link {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
}

/* ═══ FILTER CHIPS ════════════════════════════ */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.chip {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid var(--white-ghost);
  border-radius: 100px;
  background: none;
  color: var(--white-muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--white-line);
  color: var(--white-dim);
}
.chip.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ═══ CARD GRID ═══════════════════════════════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--white-ghost);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  --card-accent: var(--red);
}
.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--card-accent);
  opacity: 0;
  transition: opacity 0.25s;
}
.card:hover {
  border-color: rgba(250, 250, 249, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  background: var(--surface-2);
}
.card:hover::after { opacity: 1; }
.card[hidden] { display: none; }

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 8px;
}
.card-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  padding: 4px 9px;
  border-radius: 4px;
  display: inline-block;
}
.tag-grant     { background: var(--red-15);    color: var(--red); }
.tag-housing   { background: var(--green-15);  color: var(--green); }
.tag-ai        { background: var(--blue-15);   color: var(--blue); }
.tag-latam     { background: var(--orange-15); color: var(--orange); }
.tag-community { background: var(--purple-15); color: var(--purple); }
.tag-accel     { background: var(--orange-15); color: var(--orange); }
.tag-credits   { background: var(--green-15);  color: var(--green); }
.tag-cold      { background: var(--purple-15); color: var(--purple); }
.tag-solo      { background: var(--red-15);    color: var(--red); }
.tag-tier1     { background: var(--red-15);    color: var(--red); }

.card-tier {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.tier-s { background: var(--red); color: var(--white); }
.tier-a { color: var(--red); border: 1px solid var(--red); }
.tier-b { color: var(--white-muted); border: 1px solid var(--white-ghost); }

.card h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
  line-height: 1.3;
  color: var(--white);
}
.card-source {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--white-muted);
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.card-insight {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}
.card-insight strong {
  color: var(--white);
  font-weight: 600;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--white-ghost);
}
.card-domain {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-muted);
  letter-spacing: 0.3px;
}
.card-arrow {
  font-size: 16px;
  color: var(--white-muted);
  transition: transform 0.2s, color 0.2s;
}
.card:hover .card-arrow {
  transform: translateX(4px);
  color: var(--white);
}

/* ═══ CALENDAR · PLATFORM CARDS ═══════════════ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.platform-card {
  background: var(--surface);
  border: 1px solid var(--white-ghost);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.platform-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--red-08) 0%, transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}
.platform-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--red-15);
}
.platform-mark {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--red-15);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.platform-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--red);
}
.platform-card h3 {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -1px;
  color: var(--white);
  line-height: 1;
}
.platform-body {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.65;
  flex: 1;
}
.platform-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--white-ghost);
}
.platform-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}

.platform-relate {
  font-family: var(--serif);
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.55;
  color: var(--white-dim);
  text-align: center;
  max-width: 680px;
  margin: 32px auto 56px;
  letter-spacing: -0.3px;
}
.platform-relate em {
  color: var(--red);
  font-style: italic;
}

/* ═══ ANCHOR EVENT ════════════════════════════ */
.anchor-card {
  background: var(--surface);
  border: 1px solid var(--red);
  border-radius: 16px;
  padding: 36px 32px;
  margin: 0 auto 64px;
  max-width: 760px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(255, 90, 69, 0.12);
}
.anchor-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--red-15) 0%, transparent 60%);
  pointer-events: none;
}
.anchor-mark {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.anchor-mark::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red);
}
.anchor-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 8px;
}
.anchor-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--white-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.anchor-body {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 600px;
}
.anchor-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 12px 22px;
  border-radius: 100px;
  transition: all 0.25s ease;
}
.anchor-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--red-15);
}

/* ═══ COMMUNITY HEADER ════════════════════════ */
.comm-header {
  margin-bottom: 28px;
}
.comm-header h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-top: 4px;
  line-height: 1.2;
}

/* ═══ CLOSE · PATTERNS LIST ═══════════════════ */
.close-section { padding: 80px 0; }

.patterns {
  margin-bottom: 80px;
}
.pattern-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--white-ghost);
  align-items: baseline;
  transition: padding 0.3s ease;
}
.pattern-row:first-child { border-top: 1px solid var(--white-ghost); }
.pattern-row:hover { padding-left: 12px; }

.pattern-idx {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--white-muted);
  letter-spacing: 1px;
  padding-top: 6px;
}
.pattern-content h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  color: var(--white);
  line-height: 1.2;
}
.pattern-row:hover .pattern-content h3 { color: var(--red); }
.pattern-content p {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.7;
  max-width: 620px;
}

.closing-quote {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -1px;
  text-align: center;
  max-width: 680px;
  margin: 80px auto 0;
  color: var(--white-dim);
}
.closing-quote em {
  font-style: italic;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--red);
}

/* ═══ FOOTER ══════════════════════════════════ */
.footer {
  border-top: 1px solid var(--white-ghost);
  padding: 64px 0 48px;
  margin-top: 60px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 90, 69, 0.03) 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--red);
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--white-dim);
  margin: 0;
  max-width: 280px;
}
.footer-desc a {
  color: var(--red);
  border-bottom: 1px solid var(--red-15);
  transition: border-color 0.2s;
}
.footer-desc a:hover { border-color: var(--red); }

.footer-block a:not(.footer-desc a) {
  display: block;
  font-size: 14px;
  color: var(--white-dim);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-block a:not(.footer-desc a):hover { color: var(--red); }

.footer-rule {
  border: none;
  border-top: 1px solid var(--white-ghost);
  margin: 0 0 20px;
}
.copyright {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-muted);
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ═══ SCROLLBAR ═══════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ═══ RESPONSIVE ══════════════════════════════ */
@media (max-width: 720px) {
  .filter-bar {
    margin-bottom: 36px;
  }
  .filter-bar .w {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .open-card {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 24px 0;
  }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { padding: 28px 22px; }
  .platform-card h3 { font-size: 32px; }
  .anchor-card { padding: 28px 22px; margin: 0 0 48px; }
  .section { margin-bottom: 64px; }
  .pattern-row { grid-template-columns: 36px 1fr; gap: 16px; padding: 24px 0; }
}

@media (max-width: 480px) {
  .hero { min-height: 80vh; padding: 80px 16px 40px; }
  .skyline-wrap { margin-bottom: 48px; }
  .sf-skyline { max-height: 140px; }
}

/* ═══ REDUCED MOTION ══════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .r { opacity: 1; transform: none; }
}
