:root {
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --paper: #ffffff;
  --paper-2: #fafaf9;
  --paper-3: #f4f4f3;
  --line: #e7e7e5;
  --line-2: #d8d8d4;
  --muted: #6b6b66;
  --muted-2: #8e8e88;
  --accent: #00a86b;
  --radius: 14px;
  --maxw: 1280px;
}
* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: 'ss01','cv11';
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }

/* ---------- TYPE ---------- */
.display {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}
.display.x1 { font-size: clamp(46px, 7.4vw, 112px); letter-spacing: -0.045em; }
.display.x2 { font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -0.035em; line-height: 1.02; }
.display.x3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.025em; line-height: 1.1; }
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.lede {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 64ch;
  text-wrap: pretty;
}

/* ---------- LAYOUT ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 96px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,0.86); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700; letter-spacing: -0.025em;
  font-size: 18px;
}
.brand-mark {
  height: 32px;
  display: grid; place-items: center;
}
.brand-mark svg,
.brand-mark img { display: block; height: 100%; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  opacity: 0.78; transition: opacity .2s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.nav-cta {
  background: var(--ink); color: var(--paper);
  padding: 9px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  opacity: 1;
  transition: transform .15s ease, background .15s ease;
}
.nav-links a.nav-cta:hover { background: #222; transform: translateY(-1px); opacity: 1; }

/* ---------- HERO ---------- */
.hero { padding: 120px 0 96px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,168,107,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,168,107,0.18); }
  50% { box-shadow: 0 0 0 7px rgba(0,168,107,0.05); }
}
.hero h1 { margin: 0 0 28px; }
.hero-lede { margin-top: 28px; }
.hero h1 em {
  font-style: normal;
  color: var(--muted-2);
  font-weight: 500;
}
.hero-cta-row {
  display: flex; align-items: center; gap: 14px;
  margin-top: 36px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  transition: all .15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #222; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--paper-2); border-color: var(--ink-2); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* hero meta strip */
.hero-meta {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-meta > div {
  padding: 24px 24px;
  border-right: 1px solid var(--line);
}
.hero-meta > div:last-child { border-right: 0; }
.hero-meta .v {
  font-family: 'Inter Tight', sans-serif;
  font-size: 28px; font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}
.hero-meta .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
}

/* ---------- SECTION HEADER ---------- */
.sec-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}
.sec-head .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-top: 8px;
  border-top: 1px solid var(--ink);
  width: 64px;
}
.sec-head .h-body { max-width: 720px; }
.sec-head h2 { margin: 0 0 20px; }
.sec-head .lede { color: var(--muted); }

/* ---------- MANIFESTO ---------- */
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.m-cell {
  background: var(--paper);
  padding: 36px 32px 40px;
  min-height: 220px;
  display: flex; flex-direction: column;
}
.m-cell .ix {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.m-cell h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.15;
}
.m-cell p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- PRODUCTS ---------- */
.products { display: flex; flex-direction: column; gap: 24px; }
.product {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.product:hover {
  border-color: var(--line-2);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,0.18);
}
.product-header {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
}
.product-info { padding: 48px 44px; display: flex; flex-direction: column; gap: 22px; }
.product-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.tag.live { color: var(--accent); border-color: rgba(0,168,107,0.35); background: rgba(0,168,107,0.06); }
.tag.live::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 1px; }
.product-name {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 3.4vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
  display: flex; align-items: baseline; gap: 14px;
}
.product-name .domain {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
  font-family: 'JetBrains Mono', monospace;
}
.product-tagline {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
  max-width: 44ch;
}
.product-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  align-self: flex-start;
  margin-top: auto;
}
.product-link svg { transition: transform .2s ease; }
.product-link:hover svg { transform: translate(2px, -2px); }

.product-visual {
  background: var(--paper-3);
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-left: 1px solid var(--line);
}

/* ---- JoClub visual ---- */
.joclub-vis {
  background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
  color: #fafafa;
  padding: 32px;
  display: flex; flex-direction: column;
  height: 100%;
  min-height: 380px;
}
.joclub-vis .toolbar {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.joclub-vis .toolbar .live-now {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent);
}
.joclub-vis .toolbar .live-now::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,168,107,0.25);
  animation: pulse 1.6s ease-in-out infinite;
}
.floor {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 6px;
  min-height: 240px;
}
.table {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.02);
  position: relative;
  transition: all .25s ease;
}
.table.occupied {
  background: rgba(0,168,107,0.18);
  border-color: rgba(0,168,107,0.55);
  color: #fafafa;
}
.table.reserved {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.35);
  color: #fafafa;
}
.table.bar {
  grid-column: span 2;
  background: rgba(255,255,255,0.05);
  border-style: dashed;
}
.table.dj {
  grid-column: span 3;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
}
.joclub-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.joclub-stats div { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.5); }
.joclub-stats div b { display: block; color: #fafafa; font-size: 18px; font-weight: 500; font-family: 'Inter Tight', sans-serif; letter-spacing: -0.02em; margin-bottom: 2px; }

/* ---- Pigment visual ---- */
.pigment-vis {
  background: #fafaf7;
  padding: 28px;
  height: 100%;
  min-height: 380px;
  display: flex; flex-direction: column;
}
.pig-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7e4dc;
}
.pig-head h4 {
  margin: 0;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.pig-head span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #8a8676;
}
.pig-grid {
  display: grid;
  grid-template-columns: 56px repeat(4, 1fr);
  gap: 4px;
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
}
.pig-grid .col-h, .pig-grid .row-h {
  color: #8a8676;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 4px 6px;
  letter-spacing: 0.04em;
}
.pig-grid .col-h { text-align: center; padding-bottom: 8px; border-bottom: 1px solid #e7e4dc; }
.pig-grid .row-h { text-align: right; align-self: center; }
.pig-cell {
  border-radius: 5px;
  padding: 6px 8px;
  line-height: 1.25;
  font-size: 10.5px;
  min-height: 40px;
  color: #2a2620;
  border: 1px solid transparent;
}
.pig-cell.empty { background: #f0ede4; }
.pig-cell.booked-1 { background: #2a2620; color: #fafaf7; }
.pig-cell.booked-2 { background: #c8a87a; color: #1a1612; }
.pig-cell.booked-3 { background: #ddd5c2; color: #2a2620; }
.pig-cell.booked-4 { background: #4a443a; color: #fafaf7; }
.pig-cell b { display: block; font-weight: 600; font-size: 11.5px; }

/* ---- Tabs ---- */
.product-detail {
  border-top: 1px solid var(--line);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.4,0,.2,1);
}
.product.open .product-detail { max-height: 800px; }
.detail-inner {
  padding: 40px 44px 44px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
}
.detail-tabs { display: flex; flex-direction: column; gap: 4px; }
.detail-tab {
  text-align: left;
  padding: 11px 14px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s ease;
  display: flex; align-items: center; gap: 10px;
}
.detail-tab:hover { background: var(--paper-2); color: var(--ink); }
.detail-tab.active { background: var(--ink); color: var(--paper); }
.detail-tab .ix {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  opacity: 0.7;
}
.detail-pane { display: none; }
.detail-pane.active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.detail-pane h4 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.detail-pane p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 20px;
  max-width: 60ch;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  font-size: 13.5px;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border: 1px solid var(--ink);
  border-radius: 2px;
}

.product-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 44px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  cursor: pointer;
  user-select: none;
}
.product-toggle span {
  font-size: 13px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-toggle .chev {
  transition: transform .35s ease;
}
.product.open .product-toggle .chev { transform: rotate(180deg); }
.product.open .product-toggle span::after { content: ' — close'; }

/* ---------- APPROACH ---------- */
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.approach-item h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em;
  margin: 14px 0 12px;
}
.approach-item p { color: var(--muted); font-size: 15px; margin: 0; }
.approach-item .num-big {
  font-family: 'Inter Tight', sans-serif;
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  display: block;
}

/* ---------- CAREERS ---------- */
.careers-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 56px 56px;
  background: var(--paper-2);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.careers-card h2 { margin: 0 0 16px; }
.careers-card p { color: var(--muted); margin: 0 0 24px; max-width: 50ch; }
.roles-list {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--line-2);
}
.role {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-2);
  transition: padding .2s ease;
  cursor: pointer;
}
.role:hover { padding-left: 12px; padding-right: 0; }
.role .r-title { font-weight: 500; font-size: 15px; }
.role .r-meta { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); }
.role .r-arr { color: var(--muted); transition: transform .2s ease; }
.role:hover .r-arr { transform: translateX(4px); color: var(--ink); }

/* ---------- CTA ---------- */
#contact { border-top: 0; padding: 0; }
.eyebrow-on-dark { color: rgba(255,255,255,0.55); margin-bottom: 24px; }
.cta {
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: 96px 64px;
  margin: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 80% 120%, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(600px 400px at 0% 0%, rgba(255,255,255,0.04), transparent 60%);
  pointer-events: none;
}
.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
}
.cta h2 { margin: 0 0 20px; color: var(--paper); }
.cta .lede { color: rgba(255,255,255,0.65); }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  transition: all .2s ease;
}
.cta-link:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}
.cta-link .ll { display: flex; flex-direction: column; gap: 4px; }
.cta-link .ll b {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600; font-size: 18px;
  letter-spacing: -0.015em;
}
.cta-link .ll span { font-size: 13px; color: rgba(255,255,255,0.55); }

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 48px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.foot-grid h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 18px;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-grid a { font-size: 14px; color: var(--ink-2); }
.foot-grid a:hover { color: var(--muted); }
.foot-about p { color: var(--muted); font-size: 14px; max-width: 38ch; margin: 16px 0 0; line-height: 1.6; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ---------- ANIM ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.2,.6,.2,1), transform .6s cubic-bezier(.2,.6,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 920px) {
  section { padding: 64px 0; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 72px 0 48px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .hero-meta > div:nth-child(2) { border-right: 0; }
  .hero-meta > div:nth-child(1), .hero-meta > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .product-header { grid-template-columns: 1fr; }
  .product-info { padding: 32px 28px; }
  .product-visual { border-left: 0; border-top: 1px solid var(--line); min-height: 320px; }
  .detail-inner { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .feature-list { grid-template-columns: 1fr; }
  .product-toggle { padding: 16px 28px; }
  .approach { grid-template-columns: 1fr; gap: 32px; }
  .careers-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }
  .cta { padding: 56px 28px; margin: 56px 0; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}
