:root {
  --paper: #FBFCFC;
  --paper-2: #F1F5F6;
  --ink: #0F2233;
  --ink-soft: #52646F;
  --line: #DBE3E6;
  --signal: #0E8F8F;
  --signal-deep: #0A6C6C;
  --warm: #E0703A;
  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --r: 14px;
}

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

html {
  scroll-behavior: smooth
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
.display {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
  letter-spacing: -.02em
}

.mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signal-deep);
  font-weight: 500
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad)
}

/* ---------- NAV ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 252, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line)
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px
}

.brand {
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  gap: 10px
}

.brand .tick {
  width: 9px;
  height: 9px;
  background: var(--warm);
  border-radius: 2px;
  transform: rotate(45deg)
}

.brand .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: .72rem;
  color: var(--signal-deep);
  overflow: hidden;
  flex: none
}

.brand .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center
}

.nav-links a {
  font-size: .92rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color .2s
}

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

.nav-cta {
  border: 1px solid var(--ink);
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--ink) !important;
  transition: all .2s
}

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

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: inherit
}

@media(max-width:760px) {
  .nav-links {
    display: none
  }

  .menu-btn {
    display: block
  }
}

/* ---------- blueprint backdrop ---------- */
.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, #000 0%, transparent 75%);
  opacity: .7
}

/* ---------- HERO ---------- */
header.hero {
  position: relative;
  padding: clamp(60px, 11vw, 134px) 0 clamp(56px, 9vw, 108px);
  overflow: hidden
}

.hero-in {
  position: relative;
  max-width: none
}

.hero-text {
  max-width: 680px
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--signal)
}

h1 {
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 600;
  margin-bottom: 26px
}

h1 .u {
  position: relative;
  white-space: nowrap
}

h1 .u::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .08em;
  height: .12em;
  background: var(--warm);
  opacity: .85;
  border-radius: 2px
}

.lead {
  font-size: clamp(1.1rem, 2.3vw, 1.4rem);
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.5;
  margin-bottom: 40px
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .98rem;
  font-family: "IBM Plex Sans";
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  border: 1px solid transparent
}

.btn-primary {
  background: var(--signal-deep);
  color: #fff;
  box-shadow: 0 6px 22px -10px rgba(14, 143, 143, .7)
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(14, 143, 143, .75)
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #fff
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px)
}

.btn .arr {
  transition: transform .2s
}

.btn:hover .arr {
  transform: translateX(3px)
}

/* method panel (fills hero right side) */
.annot {
  position: absolute;
  right: 0;
  top: 22px;
  width: 252px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 18px;
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(2px)
}

.annot .alabel {
  font-family: "IBM Plex Mono";
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--signal-deep);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px
}

.annot .alabel .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warm)
}

.annot .arow {
  font-family: "IBM Plex Mono";
  font-size: .74rem;
  letter-spacing: .05em;
  color: var(--ink-soft);
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line)
}

.annot .arow b {
  color: var(--warm);
  font-weight: 600
}

@media(max-width:980px) {
  .annot {
    display: none
  }
}

/* ---------- SECTION SCAFFOLD ---------- */
section {
  padding: clamp(64px, 9vw, 118px) 0;
  position: relative
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 46px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px
}

.sec-head .num {
  font-family: "IBM Plex Mono";
  font-size: .8rem;
  color: var(--signal-deep);
  letter-spacing: .1em;
  padding-top: .4em
}

.sec-head h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  font-weight: 600
}

.sec-head .tag {
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 440px;
  margin-left: auto
}

hr.rule {
  border: none;
  border-top: 1px solid var(--line)
}

/* ---------- HOW I WORK ---------- */
.work-intro {
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-family: "Space Grotesk";
  font-weight: 500;
  line-height: 1.32;
  max-width: 760px;
  margin-bottom: 14px;
  letter-spacing: -.015em
}

.work-sub {
  color: var(--ink-soft);
  max-width: 660px;
  margin-bottom: 56px
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden
}

.pillar {
  background: var(--paper);
  padding: 34px 30px;
  transition: background .25s
}

.pillar:hover {
  background: #fff
}

.pillar .pn {
  font-family: "IBM Plex Mono";
  font-size: .75rem;
  color: var(--signal-deep);
  letter-spacing: .14em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px
}

.pillar .pn::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--signal)
}

.pillar h3 {
  font-size: 1.32rem;
  font-weight: 600;
  margin-bottom: 12px
}

.pillar p {
  color: var(--ink-soft);
  font-size: .97rem
}

@media(max-width:760px) {
  .pillars {
    grid-template-columns: 1fr
  }
}

/* ---------- SYSTEMS ---------- */
.project {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: clamp(26px, 4vw, 44px);
  margin-bottom: 30px;
  transition: box-shadow .3s, transform .3s
}

.project:hover {
  box-shadow: 0 24px 60px -34px rgba(15, 34, 51, .35);
  transform: translateY(-3px)
}

.p-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px
}

.p-kind {
  font-family: "IBM Plex Mono";
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
  background: var(--signal-deep);
  padding: 5px 10px;
  border-radius: 6px
}

.p-kind.client {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line)
}

.p-context {
  font-family: "IBM Plex Mono";
  font-size: .78rem;
  color: var(--ink-soft);
  letter-spacing: .02em;
  margin: -14px 0 24px;
  display: flex;
  align-items: center;
  gap: 9px
}

.p-context::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--signal)
}

.project h3 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 600
}

.p-hook {
  font-family: "Space Grotesk";
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--ink);
  line-height: 1.4;
  margin: 14px 0 26px;
  max-width: 760px;
  letter-spacing: -.01em
}

.p-block {
  margin-bottom: 22px;
  max-width: 780px
}

.p-label {
  font-family: "IBM Plex Mono";
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal-deep);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 9px
}

.p-label.approach {
  color: var(--warm)
}

.p-label.approach::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--warm);
  border-radius: 2px;
  transform: rotate(45deg)
}

.p-block p {
  color: var(--ink-soft);
  font-size: 1.02rem
}

.p-block.approach {
  background: var(--paper-2);
  border-left: 3px solid var(--warm);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0
}

.p-block.approach p {
  color: var(--ink)
}

details.tech {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px
}

details.tech summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono";
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  user-select: none
}

details.tech summary::-webkit-details-marker {
  display: none
}

details.tech summary .chev {
  display: inline-block;
  transition: transform .25s;
  color: var(--signal-deep)
}

details.tech[open] summary .chev {
  transform: rotate(90deg)
}

details.tech .tech-body {
  color: var(--ink-soft);
  font-size: .95rem;
  margin-top: 16px;
  line-height: 1.7;
  max-width: 820px
}

.more-systems {
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  color: var(--ink-soft);
  font-size: .95rem
}

.more-systems .mono {
  display: block;
  margin-bottom: 6px
}

/* ---------- PROJECT LINKS ---------- */
.p-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 26px
}

.p-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--signal-deep);
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 16px;
  border-radius: 9px;
  transition: border-color .2s, transform .2s
}

.p-link:hover {
  border-color: var(--signal);
  transform: translateY(-1px)
}

.p-link .arr {
  transition: transform .2s
}

.p-link:hover .arr {
  transform: translateX(3px)
}

.p-link.code {
  color: var(--ink)
}

.p-private {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono";
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 9px 4px
}

.p-private .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(14, 143, 143, .16)
}

.sel-card .p-link {
  margin-top: 14px;
  padding: 7px 13px;
  font-size: .86rem
}

/* ---------- SELECTED WORK (tier 2, appears when present) ---------- */
.selected-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 30px
}

@media(max-width:760px) {
  .selected-grid {
    grid-template-columns: 1fr
  }
}

.sel-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 28px;
  transition: box-shadow .3s, transform .3s
}

.sel-card:hover {
  box-shadow: 0 18px 44px -28px rgba(15, 34, 51, .34);
  transform: translateY(-3px)
}

.sel-card .p-kind {
  display: inline-block;
  margin-bottom: 14px
}

.sel-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px
}

.sel-card p {
  color: var(--ink-soft);
  font-size: .97rem
}

.subhead {
  font-family: "IBM Plex Mono";
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 10px 0 22px
}

/* ---------- WHO I AM (profile) ---------- */
.about {
  background: var(--paper-2)
}

.about-in {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 54px;
  align-items: center
}

@media(max-width:780px) {
  .about-in {
    grid-template-columns: 1fr;
    gap: 30px
  }
}

.about-photo {
  aspect-ratio: 4/5;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  position: relative
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.about-photo .ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px
}

.about-photo .ph .pin {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--signal-deep)
}

.about-photo .ph small {
  font-family: "IBM Plex Mono";
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft)
}

.about-text .eyebrow {
  margin-bottom: 18px
}

.about-text h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 22px
}

.about-text p {
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 620px
}

.about-focus {
  margin-top: 24px;
  font-family: "IBM Plex Mono";
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 16px;
  border-radius: 10px
}

.about-focus::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--warm);
  transform: rotate(45deg)
}

/* ---------- IMPACT STRIP ---------- */
.impact-wrap {
  margin-bottom: 54px
}

.impact-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px
}

.impact-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--signal)
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden
}

@media(max-width:820px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:560px) {
  .impact-grid {
    grid-template-columns: 1fr
  }
}

.impact-tile {
  background: var(--paper);
  padding: 26px 22px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.2, .7, .2, 1), transform .55s cubic-bezier(.2, .7, .2, 1), background .25s
}

.impact-tile.in {
  opacity: 1;
  transform: none
}

.impact-tile:hover {
  background: #fff;
  transform: translateY(-3px)
}

.impact-stat {
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--signal-deep);
  letter-spacing: -.01em;
  line-height: 1.1;
  display: block
}

.impact-unit {
  font-family: "IBM Plex Mono";
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--warm);
  display: block;
  margin: 5px 0 14px
}

.impact-label {
  color: var(--ink-soft);
  font-size: .85rem;
  line-height: 1.5
}

.impact-tile::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--line);
  margin-bottom: 16px;
  transition: background .25s, width .25s
}

.impact-tile:hover::before {
  background: var(--signal);
  width: 32px
}

.exp {
  background: var(--ink);
  color: #E8EEF1;
  border-radius: 24px;
  padding: clamp(34px, 6vw, 72px);
  position: relative;
  overflow: hidden
}

.exp .grid-bg {
  opacity: .10;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 20% 20%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 90% 90% at 20% 20%, #000, transparent 70%)
}

.exp-in {
  position: relative;
  max-width: 780px
}

.exp .mono {
  color: #5FD6D6
}

.exp h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 600;
  color: #fff;
  margin: 16px 0 28px
}

.exp p {
  color: #B9C7CE;
  margin-bottom: 20px;
  font-size: 1.05rem
}

.exp p .hl {
  color: #fff;
  font-weight: 500
}

.exp .punch {
  font-family: "Space Grotesk";
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.01em
}

.exp .support {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-family: "IBM Plex Mono";
  font-size: .82rem;
  color: #7E919A;
  letter-spacing: .04em;
  line-height: 2
}

/* ---------- CREDENTIALS ---------- */
.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 14px
}

.cred {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  flex: 1 1 200px;
  transition: border-color .2s, transform .2s
}

.cred:hover {
  border-color: var(--signal);
  transform: translateY(-2px)
}

.cred .ct {
  font-weight: 600;
  font-size: .98rem;
  margin-bottom: 3px
}

.cred .cs {
  color: var(--ink-soft);
  font-size: .85rem
}

.cred.pub {
  flex-basis: 100%;
  border-left: 3px solid var(--warm)
}

/* ---------- WRITING ---------- */
.write-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px
}

@media(max-width:820px) {
  .write-grid {
    grid-template-columns: 1fr
  }
}

.article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .3s, transform .3s
}

.article:hover {
  box-shadow: 0 18px 44px -28px rgba(15, 34, 51, .34);
  transform: translateY(-3px)
}

.article .atag {
  font-family: "IBM Plex Mono";
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--signal-deep)
}

.article h3 {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3
}

.article p {
  color: var(--ink-soft);
  font-size: .92rem
}

.article .read {
  margin-top: auto;
  font-size: .88rem;
  font-weight: 600;
  color: var(--signal-deep);
  display: inline-flex;
  gap: 6px;
  align-items: center
}

.article.soon {
  border-style: dashed;
  background: transparent
}

.article.soon h3 {
  color: var(--ink-soft)
}

/* ---------- TESTIMONIALS (off until real) ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px
}

@media(max-width:760px) {
  .quotes {
    grid-template-columns: 1fr
  }
}

.quote {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 30px
}

.quote blockquote {
  font-family: "Space Grotesk";
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.45;
  letter-spacing: -.01em;
  margin-bottom: 18px
}

.quote .qby {
  font-size: .9rem;
  color: var(--ink-soft)
}

.quote .qby strong {
  color: var(--ink);
  font-weight: 600
}

/* ---------- VENTURES (off until real) ---------- */
.ventures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px
}

@media(max-width:760px) {
  .ventures {
    grid-template-columns: 1fr
  }
}

.venture {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 30px
}

.venture .vrole {
  font-family: "IBM Plex Mono";
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 10px
}

.venture h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px
}

.venture .vtag {
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 8px
}

.venture p {
  color: var(--ink-soft);
  font-size: .95rem
}

/* ---------- CONNECT ---------- */
.connect {
  background: var(--paper-2);
  border-radius: 24px;
  padding: clamp(36px, 6vw, 76px);
  text-align: center
}

.connect h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  margin-bottom: 16px
}

.connect p {
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 1.08rem
}

.connect .cta-row {
  justify-content: center
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
  max-width: 600px;
  margin: 34px auto 0;
  text-align: left
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

@media(max-width:600px) {
  .cf-row {
    grid-template-columns: 1fr;
    gap: 0
  }
}

.cf-field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column
}

.cf-field label {
  font-family: "IBM Plex Mono";
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px
}

.cf-field input,
.cf-field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  width: 100%;
  resize: vertical;
  transition: border-color .2s, box-shadow .2s
}

.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(14, 143, 143, .12)
}

.cf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.cf-turnstile {
  margin: 4px 0 18px
}

.cf-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap
}

.cf-status {
  font-size: .9rem;
  color: var(--ink-soft)
}

.cf-status.ok {
  color: var(--signal-deep);
  font-weight: 500
}

.cf-status.err {
  color: #c0492b
}

.connect-alt {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line)
}

.connect-alt-label {
  font-family: "IBM Plex Mono";
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 16px
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap
}

.social-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: border-color .2s, color .2s, transform .2s
}

.social-ico svg {
  width: 20px;
  height: 20px;
  display: block
}

.social-ico:hover {
  border-color: var(--signal);
  color: var(--signal-deep);
  transform: translateY(-2px)
}

.social-ico.is-disabled {
  opacity: .4;
  pointer-events: none
}

.btn.is-disabled {
  opacity: .45;
  cursor: default;
  pointer-events: none
}

footer {
  padding: 46px 0 56px;
  border-top: 1px solid var(--line);
  margin-top: 90px
}

.foot-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ink-soft);
  font-size: .88rem
}

.foot-in .mono {
  color: var(--ink-soft)
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1)
}

.reveal.in {
  opacity: 1;
  transform: none
}

@media (prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px
}

/* ---------- WORK CARDS & PAGES ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

@media(max-width:900px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:600px) {
  .work-grid {
    grid-template-columns: 1fr
  }
}

.work-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  color: inherit;
  transition: box-shadow .3s, transform .3s
}

.work-card:hover {
  box-shadow: 0 22px 50px -32px rgba(15, 34, 51, .4);
  transform: translateY(-4px)
}

.wc-media {
  aspect-ratio: 16/10;
  background: var(--paper-2);
  position: relative;
  border-bottom: 1px solid var(--line)
}

.wc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.wc-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 30px 30px
}

.wc-ph-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk";
  font-weight: 700;
  color: var(--signal-deep);
  font-size: 1.05rem
}

.wc-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1
}

.wc-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.wc-body h3 {
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.25
}

.wc-body p {
  color: var(--ink-soft);
  font-size: .92rem;
  flex: 1
}

.wc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line)
}

.wc-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono";
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft)
}

.wc-more {
  font-size: .88rem;
  font-weight: 600;
  color: var(--signal-deep);
  white-space: nowrap
}

.work-card:hover .wc-more {
  color: var(--signal)
}

.work-allbtn {
  margin-top: 34px;
  display: flex;
  justify-content: center
}

.work-index {
  padding: clamp(40px, 7vw, 90px) 0
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono";
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .2s
}

.back-link:hover {
  color: var(--signal-deep)
}

.work-detail {
  padding: clamp(34px, 6vw, 80px) 0 clamp(50px, 8vw, 100px)
}

.wd-head {
  margin: 26px 0 30px;
  max-width: 780px
}

.wd-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  margin: 16px 0 18px;
  line-height: 1.08
}

.wd-hook {
  font-family: "Space Grotesk";
  font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -.01em
}

.wd-media {
  aspect-ratio: 16/8;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  margin-bottom: 38px;
  position: relative
}

.wd-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.wd-body {
  max-width: 820px
}

.wd-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line)
}

/* ---------- DOMAIN CHIPS & ENGAGEMENT CARDS ---------- */
.wc-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px
}

.dchip {
  font-family: "IBM Plex Mono";
  font-size: .6rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--signal-deep);
  background: rgba(14, 143, 143, .08);
  border: 1px solid rgba(14, 143, 143, .22);
  border-radius: 20px;
  padding: 4px 10px;
  line-height: 1
}

.dchip.sec {
  color: var(--ink-soft);
  background: var(--paper-2);
  border-color: var(--line)
}

.p-kind.eng {
  background: rgba(224, 112, 58, .1);
  border-color: rgba(224, 112, 58, .28);
  color: var(--warm)
}

.p-kind.ongoing {
  background: rgba(14, 143, 143, .1);
  border-color: rgba(14, 143, 143, .28);
  color: var(--signal-deep)
}

.wc-media.eng .wc-ph {
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 22px 22px
}

.work-sub {
  margin: 0 0 20px
}

.work-sub .mono {
  font-family: "IBM Plex Mono";
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 12px
}

.work-sub .mono::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--signal);
  display: inline-block
}

.wd-head .wc-domains {
  margin-top: 16px
}

/* ---------- WRITING TEASER & BOOKS ---------- */
.writing-teaser {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
  color: inherit;
  transition: border-color .25s, background .25s, transform .25s
}

.writing-teaser:hover {
  border-color: var(--signal);
  background: #fff;
  transform: translateY(-2px)
}

.wt-label {
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal-deep);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
  background: #fff
}

.wt-text {
  flex: 1;
  min-width: 240px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5
}

.wt-arrow {
  font-weight: 600;
  color: var(--signal-deep);
  white-space: nowrap;
  font-size: .92rem
}

.writing-teaser:hover .wt-arrow {
  color: var(--signal)
}

.books-soon {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 26px;
  color: var(--ink-soft);
  background: var(--paper-2)
}

.books-soon p {
  margin: 0
}

/* ---------- PUBLICATION AUTHORS ---------- */
.authors {
  font-size: .82rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: -2px
}

.authors strong {
  color: var(--ink);
  font-weight: 600
}

.authors .venue {
  font-style: italic
}

/* ---------- APPROACH LEAD (AI-era stakes line) ---------- */
.work-lead {
  font-family: "Space Grotesk";
  font-weight: 500;
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -.01em;
  max-width: 760px;
  margin-bottom: 22px;
  padding-left: 18px;
  border-left: 2px solid var(--signal)
}

/* ---------- FOCUS: why-me line ---------- */
.why-me {
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--paper-2);
  border-left: 2px solid var(--signal);
  border-radius: 0 10px 10px 0;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.55;
  max-width: 600px
}

/* ---------- FOCUS: section framing lines ---------- */
.focus-frame {
  font-family: "Space Grotesk";
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--signal-deep);
  margin: 10px 0 4px;
  max-width: 680px
}

.focus-frame.dark {
  color: #7FD9D0
}

.nav-links a.nav-active {
  color: var(--signal-deep);
  font-weight: 600;
}

.nav-links a.nav-active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--signal);
  border-radius: 1px;
  margin-top: 2px;
}