@font-face {
  font-family: "DM Mono";
  src: url("fonts/dm-mono-300.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("fonts/dm-mono-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("fonts/dm-mono-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #171715;
  --paper: #f7f6f2;
  --paper-deep: #efede7;
  --line: rgba(23,23,21,.11);
  --muted: #76746d;
  --mono: "DM Mono", ui-monospace, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { background: var(--ink); color: var(--paper); }

.boot-screen { position: fixed; inset: 0; z-index: 99; display: grid; place-content: center; gap: 26px; background: var(--ink); color: var(--paper); transition: opacity .55s ease, visibility .55s; }
.boot-screen.done { opacity: 0; visibility: hidden; }
.boot-mark { font-size: 54px; font-weight: 600; text-align: center; letter-spacing: -.08em; }
.boot-line { width: 120px; height: 1px; background: #444; }
.boot-line span { display: block; width: 0; height: 100%; background: var(--paper); animation: load .8s ease forwards; }
@keyframes load { to { width: 100%; } }

.site-header { height: 88px; padding: 0 4.8vw; border-bottom: 1px solid rgba(23,23,21,.13); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; position: relative; z-index: 20; }
.logo { display: inline-flex; align-items: center; gap: 12px; width: max-content; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: -.02em; }
.logo-glyph { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 13px; box-shadow: 0 4px 12px rgba(17,17,15,.13); }
.desktop-nav { display: flex; height: 100%; align-items: center; gap: 38px; font-family: var(--mono); font-size: 10px; font-weight: 500; text-transform: uppercase; }
.desktop-nav a { height: 100%; display: grid; place-items: center; position: relative; color: #66645e; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--ink); }
.desktop-nav a.active::after { content: ""; height: 1px; background: var(--ink); position: absolute; left: 0; right: 0; bottom: -1px; }
.header-status { justify-self: end; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 7px; background: #55a35d; box-shadow: 0 0 0 3px rgba(85,163,93,.12); }
.menu-toggle, .mobile-nav { display: none; }

.hero { width: 100%; max-width: 1800px; min-height: calc(100vh - 88px); margin: 0 auto; padding: clamp(56px, 5vw, 82px) 4.8vw clamp(82px, 7vw, 118px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 5.4vw; align-items: center; }
.hero-copy { align-self: center; transform: translateY(-1.2vw); }
.eyebrow, .section-index { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .15em; }
.eyebrow span { color: var(--muted); margin-left: 18px; }
h1 { font-size: clamp(112px, 12.55vw, 226px); line-height: .77; margin: clamp(42px, 4vw, 62px) 0 clamp(44px, 3.8vw, 60px); font-weight: 600; letter-spacing: -.1em; transform: translateX(-.012em); }
h1 .outline { color: var(--ink); -webkit-text-stroke: 0; }
.hero-subtitle { max-width: 510px; margin: 0; font-size: clamp(20px, 1.65vw, 26px); line-height: 1.44; letter-spacing: -.032em; font-weight: 400; color: #2c2c29; }
.hero-subtitle strong { font-weight: 600; border-bottom: 1px solid rgba(17,17,15,.35); }
.hero-actions { display: flex; gap: 12px; margin-top: 42px; }
.button { display: flex; justify-content: space-between; align-items: center; min-width: 190px; padding: 19px 21px; border: 1px solid rgba(17,17,15,.75); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; transition: transform .25s, box-shadow .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(17,17,15,.09); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-secondary:hover { background: #fff; }
.hero-meta { margin-top: 68px; display: flex; gap: 48px; color: #77756f; font-family: var(--mono); font-size: 8px; font-weight: 500; letter-spacing: .11em; }

.workspace-visual { position: relative; width: min(100%, 620px); margin: 0 1.2vw 0 auto; isolation: isolate; }
.workspace-visual::before { content: ""; position: absolute; z-index: -1; inset: 18px -18px -18px 18px; background: #eeebe4; border: 1px solid rgba(23,23,21,.07); }
.workspace-photo { position: relative; overflow: hidden; aspect-ratio: .84; background: #e9e4dc; box-shadow: 0 34px 72px rgba(54,43,30,.095), 0 8px 22px rgba(54,43,30,.045); }
.workspace-photo::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.26); pointer-events: none; }
.workspace-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 52% 59%; filter: saturate(.78) contrast(.98) brightness(1.01); transform: scale(1.085); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.workspace-visual:hover img { transform: scale(1.1); }
.workspace-visual figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; color: #66645f; font: 8px var(--mono); font-weight: 500; letter-spacing: .13em; }
.workspace-visual figcaption span:last-child { color: #8b8982; }

.ticker { overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 14px 0; font: 9px var(--mono); white-space: nowrap; }
.ticker div { width: max-content; animation: ticker 28s linear infinite; }
.ticker span { margin: 0 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: clamp(140px, 12vw, 220px) 4.8vw; border-bottom: 1px solid var(--line); }
.section-index { margin-bottom: clamp(85px, 8vw, 135px); color: var(--muted); }
.section-index span { color: var(--ink); }
.about { display: grid; grid-template-columns: 27% 1fr; }
.about-content { max-width: 970px; }
.about-lead { max-width: 980px; margin: 0 0 100px; font-size: clamp(48px, 6.5vw, 106px); line-height: 1.01; letter-spacing: -.065em; }
.about-lead em, h2 em { font-family: Georgia, serif; font-weight: 400; }
.about-grid { margin-left: 34%; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; font-size: 14px; line-height: 1.75; color: #464640; }
.about-grid p { margin: 0; }

.focus { display: grid; grid-template-columns: 27% 1fr; background: var(--paper-deep); }
.focus > .section-index { grid-row: span 2; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 75px; }
h2 { font-size: clamp(60px, 7.3vw, 116px); line-height: .91; letter-spacing: -.07em; margin: 0; font-weight: 550; }
.updated { font: 8px var(--mono); color: var(--muted); }
.focus-list article { border-top: 1px solid var(--line); padding: 30px 0; display: grid; grid-template-columns: 60px 1fr auto; gap: 20px; align-items: start; transition: padding .25s; }
.focus-list article:hover { padding-left: 12px; }
.focus-num { font: 9px var(--mono); color: var(--muted); }
.focus-list h3 { margin: 0 0 9px; font-size: 16px; letter-spacing: -.02em; }
.focus-list p { margin: 0; font-size: 12px; color: var(--muted); }
.focus-state { padding: 7px 10px; border: 1px solid var(--line); border-radius: 20px; font: 7px var(--mono); }

.projects-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 80px; }
.projects-head p { max-width: 320px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.project-card { min-width: 0; border: 1px solid rgba(17,17,15,.08); background: #fdfcf9; padding: 22px; box-shadow: 0 18px 50px rgba(39,34,26,.055); }
.project-dark { color: #f5f4ef; background: var(--ink); }
.project-wide { grid-column: 1 / -1; }
.project-top { display: flex; justify-content: space-between; padding-bottom: 18px; font: 8px var(--mono); }
.project-visual { height: 300px; background: #dddcd6; overflow: hidden; position: relative; }
.project-dark .project-visual { background: #1d1d1a; border: 1px solid #333; }
.command-visual { display: grid; align-content: center; padding: 11%; font: 9px var(--mono); }
.command-visual > span:first-child { color: #888; margin-bottom: 12px; }
.command-input { border-bottom: 1px solid #555; padding: 0 0 15px; font-size: clamp(12px, 1.5vw, 18px); }
.command-input i { width: 6px; height: 16px; display: inline-block; margin-left: 5px; background: #eee; vertical-align: middle; animation: blink 1s steps(1) infinite; }
.command-visual div { margin-top: 34px; color: #aaa; }
.command-visual b { color: #fff; margin-right: 12px; }
.orbit-visual { display: grid; place-items: center; }
.orbit-visual span { display: grid; place-items: center; z-index: 2; width: 52px; height: 52px; background: var(--ink); color: #fff; }
.orbit { position: absolute; border: 1px solid #aaa; border-radius: 50%; animation: spin 14s linear infinite; }
.orbit::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); top: 12%; left: 12%; }
.orbit.one { width: 130px; height: 130px; }
.orbit.two { width: 210px; height: 100px; transform: rotate(25deg); animation-direction: reverse; }
.orbit.three { width: 270px; height: 170px; transform: rotate(-25deg); }
@keyframes spin { to { rotate: 360deg; } }
.map-visual { height: 210px; display: flex; justify-content: center; align-items: center; gap: 12px; padding: 20px; font: 8px var(--mono); }
.map-visual span { border: 1px solid #999; background: var(--paper); padding: 18px 20px; }
.map-visual i { width: 7vw; height: 1px; background: #999; }
.project-info { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 24px 0 8px; }
.project-info h3 { margin: 0; font-size: 30px; letter-spacing: -.05em; }
.project-info p { margin: 0; font-size: 11px; line-height: 1.6; color: #85847e; }
.project-info > span { grid-column: 2; font: 7px var(--mono); color: #85847e; }

.lab { background: #191918; color: var(--paper); }
.lab .section-index { color: #888; }
.lab .section-index span { color: var(--paper); }
.lab-layout { display: grid; grid-template-columns: 37% 1fr; gap: 8vw; }
.lab-intro p { max-width: 320px; margin: 38px 0; color: #999; font-size: 13px; line-height: 1.7; }
.text-button { padding: 0 0 8px; background: none; border: 0; border-bottom: 1px solid #555; font: 9px var(--mono); cursor: pointer; }
.text-button span { display: inline-block; margin-left: 30px; transition: rotate .4s; }
.text-button:hover span { rotate: 180deg; }
.lab-stack article { display: grid; grid-template-columns: 75px 1fr auto; gap: 20px; padding: 28px 0; border-top: 1px solid #333; align-items: center; transition: padding .25s, background .25s; }
.lab-stack article:hover { padding-left: 14px; padding-right: 14px; background: #191917; }
.lab-stack > article > span:first-child { font: 8px var(--mono); color: #777; }
.lab-stack h3 { margin: 0 0 7px; font-size: 20px; font-weight: 500; }
.lab-stack p { margin: 0; font-size: 10px; color: #777; }
.lab-arrow { font-size: 17px; }

.contact { min-height: 70vh; display: flex; flex-direction: column; justify-content: space-between; }
.contact-inner p { font-family: Georgia, serif; font-style: italic; font-size: clamp(32px, 5vw, 70px); margin: 0; }
.contact-inner a { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 3px solid var(--ink); font-size: clamp(70px, 14vw, 210px); line-height: 1.1; font-weight: 500; letter-spacing: -.09em; }
.contact-inner a span { font-size: .25em; }
footer { padding: 46px 4.8vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font: 7px var(--mono); color: var(--muted); }
footer > div { justify-self: end; display: flex; gap: 24px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 76px; }
  .hero-copy { transform: none; }
  .workspace-visual { max-width: 700px; margin: 66px auto 0; width: 88%; }
  .about, .focus { grid-template-columns: 1fr; }
  .section-index { margin-bottom: 60px; }
  .focus > .section-index { grid-row: auto; }
  .about-grid { margin-left: 20%; }
  .lab-layout { grid-template-columns: 1fr 1.3fr; }
}

@media (max-width: 720px) {
  .site-header { height: 68px; grid-template-columns: 1fr auto; padding: 0 20px; }
  .desktop-nav, .header-status { display: none; }
  .menu-toggle { display: block; border: 0; background: none; padding: 10px 0 10px 20px; font: 9px var(--mono); text-transform: uppercase; }
  .mobile-nav { position: fixed; inset: 68px 0 auto; z-index: 15; display: grid; background: var(--paper); border-bottom: 1px solid var(--ink); padding: 20px; transform: translateY(-130%); transition: transform .35s ease; }
  .mobile-nav.open { transform: translateY(0); }
  .mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 11px var(--mono); text-transform: uppercase; }
  .hero { padding: 62px 20px 86px; min-height: auto; }
  h1 { font-size: 27vw; margin: 42px 0 40px; }
  .hero-actions { flex-direction: column; }
  .hero-meta { flex-direction: column; gap: 10px; margin-top: 54px; }
  .workspace-visual { width: calc(100% - 14px); margin-top: 62px; margin-right: 14px; }
  .workspace-visual::before { inset: 10px -10px -10px 10px; }
  .workspace-visual figcaption { margin-top: 14px; font-size: 6px; }
  .section { padding: 110px 20px; }
  .about-lead { margin-bottom: 50px; }
  .about-grid { margin: 0; grid-template-columns: 1fr; gap: 20px; }
  .section-heading, .projects-head { align-items: start; flex-direction: column; gap: 30px; }
  .focus-list article { grid-template-columns: 35px 1fr; }
  .focus-state { grid-column: 2; width: max-content; }
  .project-grid { grid-template-columns: 1fr; }
  .project-wide { grid-column: auto; }
  .project-visual { height: 240px; }
  .map-visual { flex-wrap: wrap; align-content: center; }
  .map-visual i { width: 20px; }
  .project-info { grid-template-columns: 1fr; }
  .project-info > span { grid-column: 1; }
  .lab-layout { grid-template-columns: 1fr; gap: 70px; }
  .lab-stack article { grid-template-columns: 55px 1fr auto; }
  .contact { min-height: 55vh; }
  .contact-inner a { font-size: 18vw; }
  footer { grid-template-columns: 1fr auto; gap: 28px; }
  footer > p { display: none; }
  footer > div { flex-direction: column; gap: 8px; text-align: right; }
}

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