

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,340;0,9..144,440;0,9..144,560;1,9..144,440&family=Inter:wght@400;450;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --bg: #0a0a0b;
  --bg-raised: #0e0e10;
  --bg-card: #111113;
  --line: #232326;
  --line-soft: #1a1a1c;
  --text: #efefec;
  --text-dim: #b7b7b4;
  --muted: #85858a;
  --muted-dim: #5c5c60;
  --white: #ffffff;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  --nav-w: 96px;
  --nav-w-mobile: 0px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

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

a{ color: inherit; }
img{ max-width: 100%; display: block; }
button{ font-family: inherit; }

h1,h2,h3,h4{ font-family: var(--serif); font-weight: 440; letter-spacing: -0.01em; margin: 0; color: var(--text); }

/* ---------- backdrop layers ---------- */
.bg-dots{
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: -6px -6px;
}
.bg-vignette{
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(255,255,255,0.05), transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(255,255,255,0.03), transparent 60%);
}
.bg-grain{
  position: fixed; inset: -10%; z-index: 1; pointer-events: none;
  width: 120%; height: 120%;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
}


.shell{ position: relative; z-index: 2; }
.main{
  margin-left: var(--nav-w);
  min-height: 100vh;
}
@media (max-width: 860px){
  .main{ margin-left: 0; }
}

.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 56px;
}
@media (max-width: 860px){
  .wrap{ padding: 0 24px; }
}


.sidenav{
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--nav-w);
  border-right: 1px solid var(--line-soft);
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 0 22px;
  z-index: 50;
  background: rgba(10,10,11,0.72);
  backdrop-filter: blur(10px);
}
.sidenav .brand{
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  text-decoration: none;
  margin-bottom: 8px;
}
.sidenav .brand img{ width: 50px; height: 50px; filter: brightness(1); }

.sidenav-links{
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 34px;
  list-style: none; margin: 0; padding: 0;
}
.sidenav-links a{
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  text-decoration: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
  padding: 4px 0;
}
.sidenav-links a:hover, .sidenav-links a.active{ color: var(--text); }

.sidenav-bottom{
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.sidenav-dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text);
  animation: pulse-dot 2.6s ease-in-out infinite;
}
@keyframes pulse-dot{
  0%,100%{ opacity: 1; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.18); }
  50%{ opacity: 0.35; box-shadow: 0 0 0 5px rgba(255,255,255,0); }
}
.sidenav-cta{
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-left: 1px solid var(--line-soft);
  padding: 14px 0 2px 0;
  transition: color .25s var(--ease);
}
.sidenav-cta:hover{ color: var(--text); }


.topbar{
  display: none;
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: rgba(10,10,11,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar .brand img{ width: 50px; height: 50px; }
.topbar-toggle{
  width: 34px; height: 34px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
}
.topbar-toggle span{ width: 18px; height: 1px; background: var(--text); display: block; transition: transform .25s var(--ease), opacity .2s; }
.topbar-toggle.open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.topbar-toggle.open span:nth-child(2){ opacity: 0; }
.topbar-toggle.open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

.mobile-menu{
  position: fixed; inset: 0; z-index: 55;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 96px 28px 40px;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mobile-menu.open{ opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a{
  font-family: var(--serif); font-size: 30px; font-weight: 440;
  text-decoration: none; color: var(--text);
  padding: 16px 0; border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .mm-cta{
  margin-top: 24px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border: none; padding-top: 0;
}

@media (max-width: 860px){
  .sidenav{ display: none; }
  .topbar{ display: flex; }
  .main{ padding-top: 66px; }
  .hero{ padding: 48px 0 64px !important; }
  .pd-hero{ padding: 48px 0 56px !important; }
}


.eyebrow{
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
}
.eyebrow::before{
  content: ''; width: 16px; height: 1px; background: var(--muted-dim);
}


.hero{
  padding: 168px 0 96px;
  position: relative;
}
.hero-meta{
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 56px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-meta span.dim{ color: var(--muted-dim); }
.hero-meta .meta-r{ text-align: right; }
@media (max-width: 640px){
  .hero-meta{ flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-meta .meta-r{ text-align: left; }
}

.badge-pill{
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 15px 7px 12px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 34px;
}
.badge-pill .blink{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text);
  animation: blink-soft 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink-soft{
  0%,100%{ opacity: 1; }
  50%{ opacity: 0.22; }
}

.hero h1{
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 1.04;
  max-width: 15ch;
  margin-bottom: 30px;
}
.hero h1 em{ font-style: italic; color: var(--muted); font-weight: 340; }

.hero .sub{
  font-size: 18px; line-height: 1.6; color: var(--text-dim);
  max-width: 46ch;
  margin-bottom: 44px;
}

.hero-ctas{ display: flex; gap: 14px; flex-wrap: wrap; }


.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 3px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary{
  background: var(--text); color: var(--bg);
}
.btn-primary:hover{ background: var(--white); transform: translateY(-1px); }
.btn-secondary{
  background: transparent; color: var(--text); border-color: var(--line);
}
.btn-secondary:hover{ border-color: var(--muted); background: rgba(255,255,255,0.03); }
.btn-ghost{
  background: transparent; color: var(--muted); padding: 10px 0;
}
.btn-ghost:hover{ color: var(--text); }


section{ padding: 110px 0; border-bottom: 1px solid var(--line-soft); position: relative; }
section:last-of-type{ border-bottom: none; }
@media (max-width: 860px){ section{ padding: 76px 0; } }

.section-head{ margin-bottom: 56px; }
.section-head h2{ font-size: clamp(28px, 3.6vw, 42px); max-width: 18ch; line-height: 1.14; }
.section-head p.lede{ color: var(--muted); font-size: 16px; max-width: 52ch; margin-top: 16px; }

.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity: 1; transform: translateY(0); }


.about-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
.about-grid p{ font-size: 17px; line-height: 1.75; color: var(--text-dim); }
.about-grid p + p{ margin-top: 18px; }
@media (max-width: 860px){ .about-grid{ grid-template-columns: 1fr; gap: 20px; } }


.card-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.who-card{ background: var(--bg); padding: 34px 28px; }
.who-card .tag{
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-dim); display: block; margin-bottom: 18px;
}
.who-card h4{ font-size: 19px; font-weight: 500; font-family: var(--sans); margin-bottom: 10px; }
.who-card p{ color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 900px){ .card-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .card-grid{ grid-template-columns: 1fr; } }


.triptych{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.wwd h3{ font-size: 21px; font-weight: 500; font-family: var(--sans); margin-bottom: 12px; }
.wwd .num{ font-family: var(--mono); font-size: 12px; color: var(--muted-dim); display: block; margin-bottom: 22px; }
.wwd p{ color: var(--muted); font-size: 15px; line-height: 1.65; }
@media (max-width: 860px){ .triptych{ grid-template-columns: 1fr; gap: 40px; } }


.steps{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.step{ background: var(--bg); padding: 40px 30px; position: relative; }
.step .num{ font-family: var(--mono); font-size: 13px; color: var(--muted-dim); display: block; margin-bottom: 30px; }
.step h4{ font-size: 18px; font-weight: 500; font-family: var(--sans); margin-bottom: 10px; }
.step p{ color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 900px){ .steps{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .steps{ grid-template-columns: 1fr; } }


.projects{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.project-card{
  background: var(--bg); padding: 44px 40px; display: flex; flex-direction: column;
  transition: background .3s var(--ease);
}
.project-card:hover{ background: var(--bg-raised); }
.project-card .prow{ display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.project-card .kicker{
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dim);
}
.project-card .qnum{ font-family: var(--mono); font-size: 11px; color: var(--muted-dim); }
.project-card h3{ font-size: 30px; margin-bottom: 12px; }
.project-card .tagline{ font-size: 15.5px; color: var(--text-dim); font-weight: 500; font-family: var(--sans); margin-bottom: 12px; }
.project-card .desc{ color: var(--muted); font-size: 14.5px; line-height: 1.65; margin-bottom: 30px; flex-grow: 1; }
.project-card .pfoot{ display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.project-card .pfoot .footnote{ font-size: 12px; color: var(--muted-dim); }
@media (max-width: 860px){ .projects{ grid-template-columns: 1fr; } .project-card{ padding: 36px 26px; } }

/* ---------- founder ---------- */
.founder{ display: grid; grid-template-columns: 100px 1fr; gap: 40px; align-items: flex-start; }
.founder-avatar{
  width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 26px; color: var(--text-dim);
}
.founder blockquote{ margin: 0 0 22px; font-family: var(--serif); font-size: 22px; line-height: 1.55; color: var(--text-dim); font-weight: 400; }
.founder .fname{ font-size: 15px; font-weight: 600; }
.founder .frole{ font-size: 13.5px; color: var(--muted); margin-top: 2px; }
@media (max-width: 700px){ .founder{ grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq-list{ border-top: 1px solid var(--line-soft); }
.faq-item{ border-bottom: 1px solid var(--line-soft); }
.faq-q{
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; color: var(--text); font-size: 17px; font-family: var(--sans); font-weight: 450;
}
.faq-q .plus{ font-family: var(--mono); color: var(--muted); font-size: 18px; transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item.open .plus{ transform: rotate(45deg); }
.faq-a{ max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p{ margin: 0 0 26px; color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 62ch; }

/* ---------- final cta ---------- */
.final-cta{ text-align: center; }
.final-cta h2{ font-size: clamp(30px, 4.4vw, 50px); max-width: 16ch; margin: 0 auto 22px; }
.final-cta p{ color: var(--muted); font-size: 16px; max-width: 46ch; margin: 0 auto 38px; }

/* ---------- footer ---------- */
footer{ padding: 64px 0 40px; }
.footer-top{ display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.footer-brand{ display: flex; align-items: center; gap: 10px; }
.footer-brand img{ width: 50px; height: 50px; }
.footer-brand span{ font-family: var(--serif); font-size: 19px; }
.footer-cols{ display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5{ font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dim); margin: 0 0 16px; font-weight: 500; }
.footer-col a, .footer-col span{ display: block; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 10px; }
.footer-col a:hover{ color: var(--text); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 26px; border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11.5px; color: var(--muted-dim); letter-spacing: 0.02em;
}
@media (max-width: 700px){ .footer-top{ flex-direction: column; gap: 32px; } }

/* ---------- utility ---------- */
.center{ text-align: center; }
.mx-auto{ margin-left: auto; margin-right: auto; }

/* ---------- project detail page ---------- */
.pd-hero{ padding: 168px 0 80px; }
.pd-hero .kicker{ font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.pd-hero h1{ font-size: clamp(38px, 6vw, 64px); max-width: 16ch; line-height: 1.08; margin-bottom: 24px; }
.pd-hero .tagline{ font-size: 19px; color: var(--text-dim); max-width: 44ch; line-height: 1.6; }

.pd-block{ max-width: 62ch; }
.pd-block h2{ font-size: 26px; margin-bottom: 18px; }
.pd-block p{ color: var(--muted); font-size: 16px; line-height: 1.75; }
.pd-block p + p{ margin-top: 14px; }

.pd-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.pd-grid-item{ background: var(--bg); padding: 32px 28px; }
.pd-grid-item .n{ font-family: var(--mono); font-size: 12px; color: var(--muted-dim); display: block; margin-bottom: 18px; }
.pd-grid-item h4{ font-family: var(--sans); font-size: 16.5px; font-weight: 500; margin-bottom: 10px; }
.pd-grid-item p{ font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 860px){ .pd-grid{ grid-template-columns: 1fr; } }

.pd-demo{ text-align: center; padding: 96px 0; }
.pd-demo .eyebrow{ justify-content: center; }
.pd-demo .eyebrow::before{ display: none; }
.pd-demo h2{ font-size: clamp(28px, 4vw, 40px); margin-bottom: 18px; }
.pd-demo p{ color: var(--muted); max-width: 46ch; margin: 0 auto 36px; }
.pd-demo .btn-primary{ padding: 17px 40px; font-size: 15px; }

.pd-back{ display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-decoration: none; margin-bottom: 40px; }
.pd-back:hover{ color: var(--text); }

.pd-other{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.pd-other a{ background: var(--bg); padding: 28px; text-decoration: none; display: block; transition: background .25s var(--ease); }
.pd-other a:hover{ background: var(--bg-raised); }
.pd-other .k{ font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dim); margin-bottom: 10px; display: block; }
.pd-other h5{ font-family: var(--serif); font-size: 21px; color: var(--text); font-weight: 440; margin: 0; }
@media (max-width: 860px){ .pd-other{ grid-template-columns: 1fr; } }
