@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Geist:wght@300..800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg: #06090c;
  --bg-grain: #080c10;
  --surface: #0d1318;
  --surface-2: #131c23;
  --border: #1c2630;
  --border-light: #26333f;
  --text: #ebf4f7;
  --text-muted: #8596a3;
  --text-dim: #4a5663;
  --accent: #14d4c4;
  --accent-glow: rgba(20, 212, 196, 0.22);
  --accent-soft: #5ee3d6;
  --accent-deep: #0b9a90;
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

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

body.public {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100svh;
  overflow-x: clip;
  font-feature-settings: "ss01", "ss02", "cv11";
  position: relative;
}

/* Grain overlay for texture */
body.public::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--accent);
}

p {
  max-width: 56ch;
}

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

/* Mono label */
.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.mono-accent {
  color: var(--accent);
}

/* Layout */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(1.75rem, env(safe-area-inset-left));
  padding-right: max(1.75rem, env(safe-area-inset-right));
}

.wrap-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding-left: max(1.75rem, env(safe-area-inset-left));
  padding-right: max(1.75rem, env(safe-area-inset-right));
}

section {
  position: relative;
}

/* Nav */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-block: 1.25rem;
  mix-blend-mode: normal;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav-bar.scrolled {
  background: rgba(10, 9, 8, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(1.75rem, env(safe-area-inset-left));
  padding-right: max(1.75rem, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-brand-mark {
  width: 30px;
  height: 30px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  font-style: italic;
  border-radius: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: var(--text);
  color: var(--bg) !important;
  border-radius: 999px;
  font-size: 0.82rem !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--bg) !important;
}

@media (max-width: 640px) {
  .nav-links {
    gap: 1rem;
  }
  .nav-links .hide-sm {
    display: none;
  }
}

/* Hero */
.hero {
  padding-top: 9rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

/* Gradient mesh backdrop for hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(20, 212, 196, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(20, 212, 196, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(94, 227, 214, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  top: 40%;
  left: -15%;
  width: 55vw;
  height: 55vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
}

/* Hero feed mockup visual */
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 420px;
  display: none;
}

@media (min-width: 900px) {
  .hero-visual {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.feed-card {
  position: absolute;
  background: linear-gradient(145deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(20, 212, 196, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 260px;
  transform-origin: center center;
}

.feed-card-1 {
  top: 0;
  left: 4%;
  transform: rotate(-5deg);
  animation: floatA 7s ease-in-out infinite;
  z-index: 1;
}

.feed-card-2 {
  top: 18%;
  right: 2%;
  transform: rotate(3deg);
  animation: floatB 9s ease-in-out infinite;
  z-index: 3;
  width: 280px;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.75),
    0 0 0 1px var(--accent),
    0 0 40px var(--accent-glow);
}

.feed-card-3 {
  bottom: 4%;
  left: 12%;
  transform: rotate(-2deg);
  animation: floatA 8s ease-in-out infinite 1s;
  z-index: 2;
}

@keyframes floatA {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-12px); }
}

@keyframes floatB {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-10px); }
}

.feed-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
}

.feed-card-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  flex-shrink: 0;
}

.feed-card-avatar.avatar-2 {
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 100%);
}

.feed-card-avatar.avatar-3 {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 50%, var(--accent-deep) 100%);
}

.feed-card-meta {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.feed-card-meta strong {
  display: block;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.1rem;
}

.feed-card-badge {
  padding: 0.2rem 0.55rem;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.feed-card-media {
  height: 120px;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  background:
    linear-gradient(135deg, rgba(20, 212, 196, 0.12) 0%, rgba(20, 212, 196, 0.03) 100%),
    linear-gradient(45deg, var(--surface-2) 25%, transparent 25%),
    linear-gradient(-45deg, var(--surface-2) 25%, transparent 25%),
    var(--bg);
  background-size: 100% 100%, 12px 12px, 12px 12px, 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.feed-card-media.variant-reel::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 18px solid var(--accent);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.feed-card-media.variant-carousel {
  background:
    linear-gradient(90deg, transparent 66%, rgba(6, 9, 12, 0.6) 66%),
    linear-gradient(90deg, transparent 33%, rgba(6, 9, 12, 0.3) 33%),
    linear-gradient(135deg, rgba(20, 212, 196, 0.18) 0%, rgba(20, 212, 196, 0.04) 100%),
    var(--surface);
}

.feed-card-media.variant-carousel::after {
  content: "1 · 2 · 3";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text);
  letter-spacing: 0.3em;
  background: rgba(6, 9, 12, 0.75);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.feed-card-media.variant-story {
  background:
    radial-gradient(circle at 30% 30%, rgba(94, 227, 214, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(20, 212, 196, 0.15) 0%, transparent 45%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.feed-card-media.variant-story::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 60%, var(--border) 60%, var(--border) 100%);
  border-radius: 1px;
}

.feed-card-lines {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.feed-card-line {
  height: 7px;
  background: var(--border-light);
  border-radius: 3px;
}

.feed-card-line.short {
  width: 55%;
}

.feed-card-line.mid {
  width: 80%;
}

.feed-card-line.accent {
  background: var(--accent);
  opacity: 0.5;
  width: 30%;
}

.feed-card-stats {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.feed-card-stats span strong {
  color: var(--accent);
  font-family: var(--font-mono);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
  }
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-kicker .dot {
  color: var(--accent);
}

.hero-kicker::after {
  content: "";
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: var(--border-light);
}

.hero-headline {
  font-size: clamp(3.5rem, 11vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin-bottom: 2.5rem;
}

.hero-headline em {
  display: inline-block;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 44ch;
  margin-bottom: 2.5rem;
  line-height: 1.55;
}

.hero-side {
  padding-bottom: 1rem;
}

.hero-side-label {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.hero-side p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-sans);
}

.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-primary .arrow {
  transition: transform 0.25s ease;
  font-family: var(--font-display);
  font-size: 1.1em;
}

.btn-primary:hover .arrow {
  transform: translateX(3px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  border-color: var(--text);
}

/* Section rhythms */
.section {
  padding-block: 6rem;
  position: relative;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-label::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-headline {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin-bottom: 2rem;
}

.section-lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 3rem;
}

/* Services */
.services {
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
}

@media (min-width: 800px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service {
  background: var(--bg);
  padding: 2.5rem 2rem 3rem;
  position: relative;
  transition: background 0.3s ease;
}

.service:hover {
  background: var(--surface);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-num::after {
  content: "";
  display: block;
  flex: 1;
  height: 1px;
  background: var(--border);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.75rem;
  color: var(--accent);
  display: block;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 0.95;
}

.service p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.service-list li {
  padding: 0.4rem 0;
  border-top: 1px dashed var(--border);
}

.service-list li:first-child {
  border-top: none;
}

/* Content showcase grid */
.showcase {
  border-top: 1px solid var(--border);
  padding-block: 6rem;
  position: relative;
  overflow: hidden;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(94, 227, 214, 0.08) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  pointer-events: none;
}

.showcase-inner {
  position: relative;
  z-index: 1;
}

.showcase-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: end;
}

@media (min-width: 800px) {
  .showcase-head {
    grid-template-columns: 1.3fr 1fr;
  }
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .showcase-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tile {
  position: relative;
  background: linear-gradient(145deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: default;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease;
}

.tile:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.tile-square { aspect-ratio: 1 / 1; }
.tile-tall { aspect-ratio: 9 / 16; }

.tile-media {
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.tile-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 9, 12, 0.85) 100%);
  z-index: 2;
}

.tile-v1 .tile-media {
  background:
    radial-gradient(circle at 30% 25%, rgba(94, 227, 214, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 70% 75%, rgba(20, 212, 196, 0.2) 0%, transparent 55%),
    linear-gradient(135deg, #0d1f23 0%, #061218 100%);
}

.tile-v2 .tile-media {
  background:
    linear-gradient(120deg, transparent 40%, rgba(20, 212, 196, 0.25) 40%, rgba(20, 212, 196, 0.25) 60%, transparent 60%),
    linear-gradient(60deg, rgba(20, 212, 196, 0.1) 0%, transparent 50%),
    var(--surface-2);
}

.tile-v3 .tile-media {
  background:
    repeating-linear-gradient(45deg, transparent 0px, transparent 8px, rgba(20, 212, 196, 0.08) 8px, rgba(20, 212, 196, 0.08) 9px),
    linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
}

.tile-v4 .tile-media {
  background:
    radial-gradient(ellipse at center, rgba(94, 227, 214, 0.28) 0%, transparent 60%),
    linear-gradient(180deg, #0a1417 0%, #06090c 100%);
}

.tile-v4 .tile-media::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent-glow);
}

.tile-v5 .tile-media {
  background:
    conic-gradient(from 45deg at 50% 50%, rgba(20, 212, 196, 0.15) 0deg, transparent 60deg, rgba(94, 227, 214, 0.1) 120deg, transparent 180deg, rgba(20, 212, 196, 0.15) 240deg, transparent 300deg, rgba(20, 212, 196, 0.15) 360deg),
    var(--surface-2);
}

.tile-v6 .tile-media {
  background:
    linear-gradient(90deg, var(--surface-2) 0%, var(--surface-2) 33%, transparent 33%, transparent 66%, var(--surface-2) 66%),
    linear-gradient(180deg, rgba(20, 212, 196, 0.15) 0%, transparent 100%),
    var(--bg);
}

.tile-v7 .tile-media {
  background:
    radial-gradient(circle at 20% 80%, rgba(94, 227, 214, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(20, 212, 196, 0.2) 0%, transparent 40%),
    linear-gradient(to bottom, #0c1519 0%, #06090c 100%);
}

.tile-v8 .tile-media {
  background:
    linear-gradient(135deg, rgba(20, 212, 196, 0.35) 0%, rgba(20, 212, 196, 0.05) 50%, transparent 100%),
    repeating-linear-gradient(0deg, transparent 0px, transparent 10px, rgba(255, 255, 255, 0.03) 10px, rgba(255, 255, 255, 0.03) 11px),
    var(--surface);
}

.tile-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  padding: 0.3rem 0.7rem;
  background: rgba(6, 9, 12, 0.75);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tile-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tile-caption-line {
  height: 5px;
  background: rgba(235, 244, 247, 0.25);
  border-radius: 2px;
}

.tile-caption-line.mid { width: 75%; }
.tile-caption-line.short { width: 45%; }
.tile-caption-line.accent { background: var(--accent); opacity: 0.6; width: 30%; }

.tile-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(6, 9, 12, 0.7);
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tile-play::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid var(--accent);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: 2px;
}

/* Marquee strip */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-grain);
  overflow: hidden;
  padding-block: 2rem;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-grain) 0%, transparent 100%);
}

.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-grain) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  width: max-content;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 1.5rem)); }
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}

.marquee-item em {
  font-style: italic;
  color: var(--accent);
}

.marquee-item::after {
  content: "✶";
  color: var(--accent);
  font-size: 0.7em;
  opacity: 0.7;
}

/* Process */
.process {
  border-top: 1px solid var(--border);
  background: var(--bg-grain);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(20, 212, 196, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 212, 196, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 85%);
}

.process > .wrap-narrow {
  position: relative;
  z-index: 1;
}

/* Vertical connector line between process steps */
.process-grid {
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 3.5rem;
  bottom: 3.5rem;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--accent) 15%, var(--accent) 85%, transparent 100%);
  opacity: 0.35;
  pointer-events: none;
}

@media (min-width: 640px) {
  .process-grid::before {
    left: 1.5rem;
  }
}

.process-step {
  position: relative;
}

.process-step::before {
  content: "";
  position: absolute;
  left: calc(1.2rem - 4px);
  top: 2.75rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg-grain), 0 0 16px var(--accent-glow);
  z-index: 2;
}

@media (min-width: 640px) {
  .process-step::before {
    left: calc(1.5rem - 4px);
  }
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 2rem;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding-block: 2.25rem;
  padding-left: 3rem;
  border-top: 1px solid var(--border);
  align-items: start;
}

@media (min-width: 640px) {
  .process-step {
    padding-left: 3.5rem;
    gap: 2.5rem;
  }
}

.process-step:last-child {
  border-bottom: 1px solid var(--border);
}

.process-step-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 0.8;
  color: var(--text-dim);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  min-width: 2.5ch;
  transition: color 0.3s ease;
}

.process-step:hover .process-step-num {
  color: var(--accent);
}

.process-step-body h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.process-step-body p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 54ch;
}

/* Stats bar */
.stats {
  border-top: 1px solid var(--border);
  padding-block: 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 800px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  padding: 0 1rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 0.95;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-num em {
  font-style: italic;
  color: var(--accent);
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.stat-spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  margin-bottom: 0.85rem;
}

.stat-spark span {
  flex: 1;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.35;
  min-height: 3px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.stat:hover .stat-spark span {
  opacity: 0.7;
}

.stat-spark span:nth-child(1) { height: 22%; }
.stat-spark span:nth-child(2) { height: 45%; }
.stat-spark span:nth-child(3) { height: 30%; }
.stat-spark span:nth-child(4) { height: 68%; }
.stat-spark span:nth-child(5) { height: 55%; }
.stat-spark span:nth-child(6) { height: 85%; }
.stat-spark span:nth-child(7) { height: 70%; }
.stat-spark span:nth-child(8) { height: 100%; opacity: 0.9; }

.stat.variant-b .stat-spark span:nth-child(1) { height: 15%; }
.stat.variant-b .stat-spark span:nth-child(2) { height: 32%; }
.stat.variant-b .stat-spark span:nth-child(3) { height: 55%; }
.stat.variant-b .stat-spark span:nth-child(4) { height: 48%; }
.stat.variant-b .stat-spark span:nth-child(5) { height: 72%; }
.stat.variant-b .stat-spark span:nth-child(6) { height: 60%; }
.stat.variant-b .stat-spark span:nth-child(7) { height: 88%; }
.stat.variant-b .stat-spark span:nth-child(8) { height: 95%; opacity: 0.9; }

.stat.variant-c .stat-spark span:nth-child(1) { height: 100%; opacity: 0.9; }
.stat.variant-c .stat-spark span:nth-child(2) { height: 78%; }
.stat.variant-c .stat-spark span:nth-child(3) { height: 65%; }
.stat.variant-c .stat-spark span:nth-child(4) { height: 45%; }
.stat.variant-c .stat-spark span:nth-child(5) { height: 38%; }
.stat.variant-c .stat-spark span:nth-child(6) { height: 25%; }
.stat.variant-c .stat-spark span:nth-child(7) { height: 18%; }
.stat.variant-c .stat-spark span:nth-child(8) { height: 15%; }

.stat.variant-d .stat-spark span:nth-child(1) { height: 50%; }
.stat.variant-d .stat-spark span:nth-child(2) { height: 60%; }
.stat.variant-d .stat-spark span:nth-child(3) { height: 42%; }
.stat.variant-d .stat-spark span:nth-child(4) { height: 75%; }
.stat.variant-d .stat-spark span:nth-child(5) { height: 58%; }
.stat.variant-d .stat-spark span:nth-child(6) { height: 82%; }
.stat.variant-d .stat-spark span:nth-child(7) { height: 68%; }
.stat.variant-d .stat-spark span:nth-child(8) { height: 90%; opacity: 0.9; }

/* Floating ornament shapes */
.ornament {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
}

.ornament svg {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--accent);
}

@keyframes driftA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}

@keyframes driftB {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(14px) rotate(-6deg); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ornament-a {
  top: 20%;
  right: 6%;
  width: 70px;
  height: 70px;
  animation: driftA 11s ease-in-out infinite;
}

.ornament-b {
  bottom: 18%;
  left: 8%;
  width: 48px;
  height: 48px;
  animation: driftB 13s ease-in-out infinite;
}

.ornament-c {
  top: 10%;
  left: 50%;
  width: 56px;
  height: 56px;
  animation: spinSlow 30s linear infinite;
  opacity: 0.35;
}

.ornament-d {
  top: 60%;
  right: 12%;
  width: 40px;
  height: 40px;
  animation: driftA 9s ease-in-out infinite 2s;
}

.ornament-cta {
  bottom: 10%;
  left: 10%;
  width: 60px;
  height: 60px;
  animation: spinSlow 40s linear infinite reverse;
  opacity: 0.4;
}

.ornament-cta-2 {
  top: 15%;
  right: 8%;
  width: 80px;
  height: 80px;
  animation: driftA 10s ease-in-out infinite;
  opacity: 0.5;
}

/* Who it's for */
.who {
  border-top: 1px solid var(--border);
}

.who-quote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin-block: 2rem 3rem;
}

.who-quote em {
  font-style: italic;
  color: var(--accent);
}

.who-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.who-tag {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* CTA */
.cta-section {
  border-top: 1px solid var(--border);
  padding-block: 7rem 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80%;
  height: 80%;
  max-width: 800px;
  max-height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-headline {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 2rem;
  max-width: 18ch;
  margin-inline: auto;
}

.cta-headline em {
  font-style: italic;
  color: var(--accent);
}

.cta-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 42ch;
  margin-inline: auto;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem 2.5rem;
  color: var(--text-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr auto;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-ops {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.footer-ops:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-ops::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Staggered entrance */
@keyframes riseUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.rise {
  opacity: 0;
  animation: riseUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.rise-1 { animation-delay: 0.1s; }
.rise-2 { animation-delay: 0.25s; }
.rise-3 { animation-delay: 0.4s; }
.rise-4 { animation-delay: 0.55s; }
.rise-5 { animation-delay: 0.7s; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Hires area specific */
.hires-page {
  padding-top: 7rem;
  padding-bottom: 6rem;
}

.hires-page .role-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hires-page .role-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hires-page h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 0.92;
  margin-bottom: 1.5rem;
  max-width: 16ch;
}

.hires-page .lede {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 54ch;
  margin-bottom: 3rem;
  line-height: 1.55;
}

.hires-page h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1;
  margin-top: 4rem;
  margin-bottom: 1.25rem;
  max-width: 20ch;
}

.hires-page h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  line-height: 1.3;
}

.hires-page p {
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.65;
}

.hires-page ul {
  list-style: none;
  padding: 0;
  max-width: 62ch;
  margin-bottom: 1.5rem;
}

.hires-page ul li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--text-muted);
  line-height: 1.55;
  border-bottom: 1px dashed var(--border);
}

.hires-page ul li:last-child {
  border-bottom: none;
}

.hires-page ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-style: italic;
}

.hires-page strong {
  color: var(--text);
  font-weight: 600;
}

.hires-page .callout {
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  margin-block: 2rem;
  max-width: 64ch;
}

.hires-page .callout p {
  margin-bottom: 0;
  color: var(--text);
}

.hires-page .callout-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hires-page .role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
  max-width: 64ch;
}

@media (min-width: 700px) {
  .hires-page .role-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hires-page .role-card {
  padding: 1.75rem 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.25s ease;
}

.hires-page .role-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hires-page .role-card-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.hires-page .role-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
  line-height: 1;
}

.hires-page .role-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.55;
}

/* Hires mini-nav (back to team, etc.) */
.hires-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.hires-topbar a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.hires-topbar a:hover {
  color: var(--accent);
}
