:root {
  --ink: #080a0b;
  --ink-2: #0d1112;
  --panel: #121719;
  --panel-2: #171d1f;
  --line: #273034;
  --text: #eff3f2;
  --muted: #93a09e;
  --muted-2: #66716f;
  --teal: #20b7a7;
  --teal-dark: #117f75;
  --max: 1280px;
  --pad: clamp(22px, 4vw, 56px);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: var(--teal); color: var(--ink); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  padding: 10px 14px;
  background: var(--teal);
  color: var(--ink);
  z-index: 10000;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.wrap { width: min(var(--max), calc(100% - (var(--pad) * 2))); margin-inline: auto; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--teal);
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--teal); }
.section-title {
  margin: 0;
  max-width: 950px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 820;
}
.section-copy {
  max-width: 780px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
}
.kicker { color: var(--teal); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(8,10,11,.88);
  border-color: rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .14em; }
.brand img { width: 24px; height: 24px; }
.brand-word { font-size: 15px; }
.brand-word em { color: var(--teal); font-style: normal; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  position: relative;
  color: #c9cfcd;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -9px;
  height: 2px;
  background: var(--teal);
  transition: right .2s ease;
}
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.nav-cta { border: 1px solid var(--line); padding: 10px 14px; }
.nav-cta::after { display: none; }
.nav-cta:hover { border-color: var(--teal); color: var(--teal); }
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  width: 18px; height: 2px; background: currentColor; display: block; position: relative;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Hero */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 83% 25%, rgba(32,183,167,.12), transparent 26%),
    linear-gradient(135deg, #0a0d0e 0%, #080a0b 55%, #101718 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 760px; height: 760px;
  right: -260px; top: -210px;
  border: 1px solid rgba(32,183,167,.23);
  border-radius: 50%;
  box-shadow: inset 0 0 0 95px rgba(32,183,167,.025), inset 0 0 0 190px rgba(32,183,167,.025);
}
.hero-inner { position: relative; z-index: 1; padding: 150px 0 48px; }
.hero-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  margin-bottom: 34px;
  color: var(--muted);
  font: 650 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero-title {
  margin: 0;
  font-size: clamp(68px, 15.2vw, 210px);
  line-height: .72;
  font-weight: 900;
  letter-spacing: -.085em;
  text-transform: uppercase;
}
.hero-title .werkx { color: var(--teal); }
.hero-bottom {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: end;
  gap: 60px;
}
.hero-tagline {
  font-size: clamp(25px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 720;
}
.hero-tagline span { color: var(--muted-2); }
.hero-copy { color: var(--muted); max-width: 600px; margin: 0; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--teal);
  color: var(--ink);
  background: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: #2cc9b8; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); background: transparent; }
.hero-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 54px;
}
.hero-index > div { padding: 18px 18px 2px 0; border-right: 1px solid var(--line); }
.hero-index > div:not(:first-child) { padding-left: 18px; }
.hero-index > div:last-child { border-right: 0; }
.hero-index strong { display: block; color: var(--teal); font: 800 11px/1 ui-monospace, monospace; letter-spacing: .14em; }
.hero-index span { display: block; color: var(--muted); margin-top: 8px; font-size: 13px; }

/* Statement */
.statement { padding: 120px 0; border-bottom: 1px solid var(--line); }
.statement-grid { display: grid; grid-template-columns: 280px 1fr; gap: 64px; }
.statement-side { color: var(--muted-2); font: 700 11px/1.6 ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
.statement-main { font-size: clamp(34px, 5vw, 68px); line-height: 1.05; letter-spacing: -.045em; font-weight: 720; }
.statement-main span { color: var(--teal); }

/* Project section */
.projects { padding: 120px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.section-number { color: var(--muted-2); font: 700 11px/1 ui-monospace, monospace; letter-spacing: .16em; }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.project-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  background: var(--panel);
  isolation: isolate;
}
.project-card.large { grid-column: span 7; }
.project-card.small { grid-column: span 5; }
.project-card.half { grid-column: span 6; }
.project-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .82;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), opacity .35s ease;
  z-index: -2;
}
.project-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,10,11,.97) 0%, rgba(8,10,11,.45) 47%, rgba(8,10,11,.08) 100%);
  z-index: -1;
}
.project-card::after {
  content: "";
  position: absolute; inset: 0 auto auto 0;
  width: 0; height: 3px; background: var(--teal);
  transition: width .35s ease;
}
.project-card:hover img { transform: scale(1.025); opacity: 1; }
.project-card:hover::after { width: 100%; }
.card-content { position: absolute; inset: auto 28px 26px; }
.card-meta { color: var(--teal); font: 700 10px/1 ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; }
.card-title { margin: 10px 0 8px; font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -.04em; }
.card-copy { color: #b2bcba; max-width: 590px; margin: 0; font-size: 15px; }
.card-arrow { position: absolute; top: 26px; right: 26px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: var(--text); }
.project-card:hover .card-arrow { border-color: var(--teal); color: var(--teal); }

/* Past current future */
.timeline { padding: 120px 0; background: var(--ink-2); border-block: 1px solid var(--line); }
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border: 1px solid var(--line); }
.timeline-item { min-height: 340px; padding: 32px; border-right: 1px solid var(--line); position: relative; }
.timeline-item:last-child { border-right: 0; }
.timeline-item .num { color: var(--teal); font: 800 11px/1 ui-monospace, monospace; letter-spacing: .15em; }
.timeline-item h3 { margin: 70px 0 14px; font-size: 38px; letter-spacing: -.04em; }
.timeline-item p { color: var(--muted); max-width: 330px; margin: 0; }
.timeline-item .line { position: absolute; left: 32px; right: 32px; bottom: 30px; height: 1px; background: var(--line); }
.timeline-item .line::before { content: ""; display: block; width: 34%; height: 1px; background: var(--teal); }
.timeline-item:nth-child(2) .line::before { width: 66%; }
.timeline-item:nth-child(3) .line::before { width: 100%; }

/* Systems */
.capabilities { padding: 120px 0; }
.cap-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; margin-top: 56px; }
.cap-list { border-top: 1px solid var(--line); }
.cap-item { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 20px; min-height: 78px; border-bottom: 1px solid var(--line); }
.cap-num { color: var(--teal); font: 700 10px/1 ui-monospace, monospace; letter-spacing: .14em; }
.cap-item strong { font-size: 18px; font-weight: 650; }
.cap-item span:last-child { color: var(--muted-2); font-size: 20px; }
.design-panel { position: sticky; top: 112px; min-height: 470px; border: 1px solid var(--line); background: var(--panel); padding: 30px; overflow: hidden; }
.design-panel::before, .design-panel::after { content: ""; position: absolute; border: 1px solid rgba(32,183,167,.35); border-radius: 50%; }
.design-panel::before { width: 380px; height: 380px; right: -110px; bottom: -100px; }
.design-panel::after { width: 240px; height: 240px; right: -40px; bottom: -30px; }
.design-code { color: var(--muted-2); font: 600 11px/1.9 ui-monospace, monospace; letter-spacing: .09em; text-transform: uppercase; }
.design-title { position: absolute; left: 30px; right: 30px; bottom: 30px; font-size: clamp(40px, 5vw, 68px); line-height: .95; letter-spacing: -.055em; font-weight: 800; }
.design-title span { color: var(--teal); }

/* Content */
.content-band { padding: 0 0 120px; }
.content-box {
  border: 1px solid var(--line);
  background: linear-gradient(120deg, #13191a, #0b0e0f 58%);
  padding: clamp(34px, 6vw, 74px);
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 60px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.content-box::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -90px; border: 40px solid rgba(32,183,167,.08); transform: rotate(45deg); }
.content-box h2 { margin: 0; font-size: clamp(44px, 6vw, 80px); line-height: .95; letter-spacing: -.05em; }
.content-box p { color: var(--muted); max-width: 620px; margin: 22px 0 0; font-size: 18px; }
.social-links { display: grid; gap: 10px; position: relative; z-index: 2; }
.social-link { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 15px 0; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.social-link span:last-child { color: var(--teal); }
.social-link:hover { color: var(--teal); }

/* About */
.about { padding: 120px 0; background: var(--ink-2); border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.about-stat { border-top: 1px solid var(--line); padding: 18px 0 24px; }
.about-stat strong { display: block; font-size: 32px; letter-spacing: -.04em; }
.about-stat span { color: var(--muted); font-size: 13px; }
.about-copy p { color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); margin: 0 0 22px; }
.about-copy .lead { color: var(--text); font-size: clamp(28px, 3vw, 42px); line-height: 1.15; letter-spacing: -.035em; }
.quote { margin-top: 40px; padding-left: 24px; border-left: 2px solid var(--teal); color: #bdc6c4; font-size: 18px; }

/* Contact */
.contact { padding: 120px 0 44px; }
.contact-top { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; }
.contact h2 { margin: 0; font-size: clamp(60px, 10vw, 150px); line-height: .78; letter-spacing: -.07em; }
.contact h2 span { color: var(--teal); }
.contact-meta { text-align: right; }
.contact-meta p { margin: 0 0 18px; color: var(--muted); max-width: 370px; }
.contact-email { font-size: clamp(20px, 2vw, 30px); font-weight: 750; border-bottom: 1px solid var(--teal); padding-bottom: 3px; }
.footer { margin-top: 100px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; color: var(--muted-2); font: 650 10px/1.5 ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }

/* Project detail pages */
.project-hero { min-height: 82svh; display: grid; align-items: end; padding: 160px 0 56px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; background: var(--ink-2); }
.project-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,11,.96), rgba(8,10,11,.68) 50%, rgba(8,10,11,.3)); }
.project-hero .wrap { position: relative; z-index: 2; }
.project-hero h1 { margin: 14px 0 0; max-width: 980px; font-size: clamp(62px, 10vw, 150px); line-height: .82; letter-spacing: -.07em; }
.project-hero p { max-width: 680px; color: #c0c8c6; font-size: 19px; margin: 30px 0 0; }
.project-specs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.project-spec { padding: 28px 0; border-right: 1px solid var(--line); }
.project-spec:not(:first-child) { padding-left: 28px; }
.project-spec:last-child { border-right: 0; }
.project-spec span { color: var(--muted-2); display: block; font: 700 10px/1 ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 10px; }
.project-spec strong { font-size: 17px; }
.project-body { padding: 100px 0 120px; }
.project-body-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.project-body h2 { position: sticky; top: 110px; margin: 0; font-size: clamp(40px, 5vw, 66px); line-height: .96; letter-spacing: -.05em; }
.project-prose p { color: var(--muted); font-size: 19px; margin: 0 0 24px; }
.project-prose h3 { margin: 50px 0 16px; font-size: 29px; letter-spacing: -.03em; }
.project-list { padding: 0; margin: 20px 0 0; list-style: none; border-top: 1px solid var(--line); }
.project-list li { border-bottom: 1px solid var(--line); padding: 14px 0 14px 24px; color: #bbc4c2; position: relative; }
.project-list li::before { content: "+"; position: absolute; left: 0; color: var(--teal); }
.back-link { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 24px; }
.back-link:hover { color: var(--teal); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: 0s !important; }
}

@media (max-width: 980px) {
  .nav { display: none; position: fixed; inset: 78px 0 0; background: rgba(8,10,11,.98); padding: 30px var(--pad); flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav a { font-size: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: inline-flex; }
  .hero-bottom { grid-template-columns: 1fr; gap: 28px; }
  .statement-grid { grid-template-columns: 1fr; gap: 26px; }
  .project-card.large, .project-card.small, .project-card.half { grid-column: span 12; }
  .timeline-grid { grid-template-columns: 1fr; }
  .timeline-item { border-right: 0; border-bottom: 1px solid var(--line); min-height: 280px; }
  .timeline-item:last-child { border-bottom: 0; }
  .cap-grid { grid-template-columns: 1fr; }
  .design-panel { position: relative; top: auto; }
  .content-box { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-top { grid-template-columns: 1fr; }
  .contact-meta { text-align: left; }
  .project-specs { grid-template-columns: repeat(2, 1fr); }
  .project-spec:nth-child(2) { border-right: 0; }
  .project-spec:nth-child(n+3) { border-top: 1px solid var(--line); }
  .project-spec:nth-child(3) { padding-left: 0; }
  .project-body-grid { grid-template-columns: 1fr; gap: 34px; }
  .project-body h2 { position: relative; top: auto; }
}

@media (max-width: 620px) {
  .wrap { width: min(var(--max), calc(100% - 36px)); }
  .header-inner { min-height: 68px; }
  .nav { top: 68px; }
  .hero-inner { padding-top: 126px; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(58px, 20vw, 110px); line-height: .78; }
  .hero-index { grid-template-columns: 1fr; }
  .hero-index > div, .hero-index > div:not(:first-child) { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 0; }
  .hero-index > div:last-child { border-bottom: 0; }
  .statement, .projects, .timeline, .capabilities, .about, .contact { padding-top: 88px; padding-bottom: 88px; }
  .section-head { align-items: start; flex-direction: column; }
  .project-card { min-height: 390px; }
  .card-content { inset: auto 20px 20px; }
  .timeline-item { padding: 26px; }
  .timeline-item h3 { margin-top: 48px; }
  .cap-item { grid-template-columns: 46px 1fr auto; }
  .content-band { padding-bottom: 88px; }
  .footer { flex-direction: column; }
  .project-specs { grid-template-columns: 1fr; }
  .project-spec, .project-spec:not(:first-child), .project-spec:nth-child(3) { padding: 18px 0; border-right: 0; border-top: 1px solid var(--line); }
  .project-spec:first-child { border-top: 0; }
}
