@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ============ Tokens ============ */
:root {
  --bg: #f1efe8;
  --bg-2: #e8e5dc;
  --ink: #121211;
  --ink-2: #3d3c38;
  --muted: #6b6963;
  --line: rgba(18, 18, 17, .14);
  --accent: #e2471a;           /* rust orange */
  --accent-ink: #fff8f2;
  --oss-bg: #121211;
  --oss-ink: #efece4;
  --oss-muted: #9a978e;
  --oss-line: rgba(239, 236, 228, .14);

  --f-display: "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
:root[data-theme="dark"] {
  --bg: #0e0e0d;
  --bg-2: #181816;
  --ink: #efece4;
  --ink-2: #c9c6bd;
  --muted: #8f8c84;
  --line: rgba(239, 236, 228, .13);
  --accent: #ff6a3d;
  --accent-ink: #160803;
  --oss-bg: #efece4;
  --oss-ink: #121211;
  --oss-muted: #5f5d57;
  --oss-line: rgba(18, 18, 17, .14);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0e0d;
    --bg-2: #181816;
    --ink: #efece4;
    --ink-2: #c9c6bd;
    --muted: #8f8c84;
    --line: rgba(239, 236, 228, .13);
    --accent: #ff6a3d;
    --accent-ink: #160803;
    --oss-bg: #efece4;
    --oss-ink: #121211;
    --oss-muted: #5f5d57;
    --oss-line: rgba(18, 18, 17, .14);
  }
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--f-display);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--f-mono); font-size: .86em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font: 500 12px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Progress */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 80; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Cursor (fine pointers only, set up in JS): a dot on the pointer, a ring that follows */
.cursor { display: none; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 95; pointer-events: none; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; }
.cursor__dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent);
  transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0); transition: opacity .2s;
}
.cursor__ring {
  --size: 34px;
  width: var(--size); height: var(--size); margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--ink) 45%, transparent);
  transform: translate3d(var(--rx, -100px), var(--ry, -100px), 0) scale(var(--rs, 1));
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .3s, border-color .3s, opacity .3s;
}
.cursor__label { font: 500 13px/1 var(--f-display); letter-spacing: -.01em; color: var(--bg); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-link .cursor__ring { --size: 58px; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.cursor.is-link .cursor__dot { opacity: 0; }
.cursor.is-label .cursor__ring { --size: 84px; background: var(--ink); border-color: var(--ink); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { --rs: .82; }
.cursor.is-out { opacity: 0; }

/* ============ Nav ============ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 70;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  transition: transform .5s var(--ease), background-color .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; }
.nav__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--bg); font: 700 12px/1 var(--f-display); letter-spacing: -.02em;
  transition: transform .6s var(--ease-out), background-color .3s;
}
.nav__brand:hover .nav__mark { transform: rotate(-360deg); background: var(--accent); }
.nav__links { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--bg) 60%, transparent); }
.nav__links a { position: relative; padding: 7px 14px; white-space: nowrap; border-radius: 999px; font-size: 14px; transition: color .25s, background-color .25s; }
.nav__links a:hover, .nav__links a.is-active { background: var(--ink); color: var(--bg); }
.nav__tools { display: flex; gap: 8px; align-items: center; }
.theme, .menu, .lang { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .25s, transform .25s; }
.theme:hover, .menu:hover, .lang:hover { border-color: var(--ink); }
.lang { font: 600 12px/1 var(--f-mono); letter-spacing: .04em; }
.theme__icon { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); border: 1.5px solid var(--ink); transition: transform .6s var(--ease-out); }
:root[data-theme="dark"] .theme__icon { transform: rotate(180deg); }
.menu { display: none; }
.menu__bars, .menu__bars::before { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out); }
.menu__bars { position: relative; transform: translateY(-3px); }
.menu__bars::before { content: ""; position: absolute; top: 6px; }
.menu[aria-expanded="true"] .menu__bars { transform: translateY(0) rotate(45deg); }
.menu[aria-expanded="true"] .menu__bars::before { transform: translateY(-6px) rotate(-90deg); }

.drawer {
  position: fixed; inset: 0; z-index: 65; background: var(--bg);
  display: flex; align-items: flex-end; padding: 96px var(--gutter) 48px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-out);
}
.drawer.is-open { clip-path: inset(0 0 0 0); }
.drawer nav { display: grid; gap: 4px; width: 100%; }
.drawer a { display: flex; align-items: baseline; gap: 14px; font-size: clamp(40px, 12vw, 72px); font-weight: 600; letter-spacing: -.028em; line-height: 1.05; border-bottom: 1px solid var(--line); padding: 8px 0; }
.drawer small { font: 500 12px var(--f-mono); color: var(--muted); }

/* ============ Hero ============ */
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 22%, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 4%, #000 22%, #000 72%, transparent 100%); }
.hero__field.is-on { opacity: 1; }
.hero__grid, .hero .facts { position: relative; z-index: 1; }
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 112px; padding-bottom: clamp(24px, 4vw, 48px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 6vw, 104px); align-items: end; }
.hero__text { display: grid; gap: clamp(20px, 2.4vw, 32px); padding-bottom: 4px; }
.hero__title { display: grid; gap: clamp(18px, 2vw, 28px); font-weight: 600; }
.hero__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: clamp(16px, 1.3vw, 19px); letter-spacing: -.01em; }
.hero__name b { font-weight: 600; }
.hero__name span { display: inline-flex; align-items: center; gap: 14px; color: var(--muted); font-weight: 400; }
.hero__name span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero__claim { display: block; max-width: 15ch; font-size: clamp(42px, 5.6vw, 96px); line-height: 1; letter-spacing: -.028em; text-wrap: balance; }
.hero__claim .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__claim .w > span { display: inline-block; animation: word-up 1s var(--ease-out) calc(var(--i) * 55ms + 250ms) backwards; }
@keyframes word-up { from { transform: translateY(105%); } }
.hero__lede { max-width: 50ch; font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); line-height: 1.55; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* Portrait: unveils once, then drifts a few pixels with the pointer */
.hero__portrait {
  position: relative; margin: 0; justify-self: end; width: min(100%, calc(70svh * .75));
  aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--line);
  animation: unveil 1.4s var(--ease-out) .1s backwards;
}
.hero__portrait img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  transform: scale(1.06) translate(var(--px, 0px), var(--py, 0px)); transition: transform 1.2s var(--ease-out);
  animation: settle 2s var(--ease-out) .1s backwards;
}
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes settle { from { transform: scale(1.25); } }
.hero__clock {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; gap: 8px; align-items: center;
  padding: 7px 12px; border-radius: 999px; background: rgba(10, 10, 10, .55); color: #f4f2ec;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 12px/1 var(--f-mono); letter-spacing: .02em;
}
.hero__clock span { color: #fff; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(28px, 5vw, 64px); border-top: 1px solid var(--line); }
.facts li { padding: 16px 16px 0 0; display: grid; gap: 2px; }
.facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.facts b { font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.03em; }
.facts span { font: 500 11px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* Buttons */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--ink);
  font-weight: 500; font-size: 15px; overflow: hidden; isolation: isolate;
  transform: translate3d(var(--mx), var(--my), 0); transition: transform .5s var(--ease-out), color .35s, border-color .35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--accent);
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover { color: var(--accent-ink); border-color: var(--accent); }
.btn:hover::before { transform: none; }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn span { position: relative; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; user-select: none; }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; flex-shrink: 0; }
.marquee li { font-size: clamp(22px, 3vw, 40px); font-weight: 500; letter-spacing: -.03em; padding: 0 .6em; display: flex; align-items: center; gap: 1.2em; }
.marquee li::after { content: "✳"; color: var(--accent); font-size: .5em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { padding-top: clamp(96px, 14vw, 200px); }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 80px); }
.index { display: flex; align-items: center; gap: 12px; }
.index::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.display { font-size: clamp(40px, 6.6vw, 112px); line-height: .96; letter-spacing: -.025em; font-weight: 600; max-width: 16ch; text-wrap: balance; }
.section__note { color: var(--muted); max-width: 48ch; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.principles li { padding: 24px 24px 32px 0; display: grid; gap: 12px; align-content: start; }
.principles li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.principles h3, .services h3 { font-size: clamp(21px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.principles p, .services p { color: var(--ink-2); font-size: 16px; }
.process { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; counter-reset: s; }
.process li { counter-increment: s; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.process li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 500 11px var(--f-mono); }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(24px, 5vw, 80px); }
.services li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); transition: padding .5s var(--ease-out); }
.services li:hover { padding-left: 12px; }
.services li:hover h3 { color: var(--accent); }
.services h3 { transition: color .3s; }

/* Work */
.work { border-bottom: 1px solid var(--line); }
.work__row {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 260px); gap: 24px; align-items: start;
  padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--line); isolation: isolate;
}
.work__row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--bg-2);
  clip-path: inset(50% 0 50% 0); transition: clip-path .6s var(--ease-out);
}
.work__row:hover::before { clip-path: inset(0 0 0 0); }
.work__n { padding-top: 6px; }
.work__type { margin-bottom: 6px; }
.work__body h3 { font-size: clamp(26px, 3.4vw, 52px); font-weight: 600; letter-spacing: -.03em; line-height: 1; transition: transform .6s var(--ease-out); }
.work__row:hover h3 { transform: translateX(10px); }
.work__body p:last-child { color: var(--ink-2); max-width: 62ch; margin-top: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; padding-top: 6px; }
.tags li { font: 500 11px/1 var(--f-mono); letter-spacing: .04em; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }

.products { margin-top: clamp(56px, 8vw, 96px); display: grid; gap: 20px; }
.products__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.product { border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 12px; transition: border-color .3s, transform .5s var(--ease-out); }
.product:hover { border-color: var(--ink); transform: translateY(-4px); }
.product h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.028em; }
.product p { color: var(--ink-2); }
.product .tags { justify-content: flex-start; }

/* ============ Open source (inverted) ============ */
.oss {
  margin-top: clamp(96px, 14vw, 200px); padding: clamp(80px, 11vw, 160px) 0;
  background: var(--oss-bg); color: var(--oss-ink);
  border-radius: clamp(24px, 4vw, 48px);
  --line: var(--oss-line); --muted: var(--oss-muted); --ink: var(--oss-ink); --ink-2: color-mix(in srgb, var(--oss-ink) 78%, transparent); --bg: var(--oss-bg); --bg-2: color-mix(in srgb, var(--oss-ink) 6%, var(--oss-bg));
}
.suite { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.suite__intro { position: sticky; top: 96px; display: grid; gap: 20px; }
.suite__kicker { color: var(--accent); }
.suite__title { font-size: clamp(32px, 3.6vw, 56px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.suite__intro > p { color: var(--ink-2); }
.suite__intro a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.suite__links { display: flex; flex-wrap: wrap; gap: 10px; }
.term { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); font-family: var(--f-mono); min-width: 0; }
.term__prompt { color: var(--accent); }
.term__cmd { flex: 1; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term__cmd span { color: var(--accent); }
.term__copy { font: 500 12px var(--f-mono); padding: 9px 14px; border-radius: 9px; background: var(--ink); color: var(--bg); transition: background-color .25s; flex-shrink: 0; }
.term__copy:hover { background: var(--accent); color: var(--accent-ink); }

.crates { display: grid; gap: 40px; }
.crates__label { margin-bottom: 10px; }
.crate {
  display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; gap: 16px; align-items: baseline;
  padding: 16px 4px; border-top: 1px solid var(--line); position: relative;
  transition: padding .45s var(--ease-out), color .3s;
}
.crates ul li:last-child .crate { border-bottom: 1px solid var(--line); }
.crate b { font: 500 clamp(16px, 1.5vw, 20px)/1.2 var(--f-mono); letter-spacing: -.02em; }
.crate span { color: var(--muted); font-size: 15px; }
.crate i { font: 500 11px var(--f-mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .45s var(--ease-out); }
.crate:hover, .crate:focus-visible { padding-left: 14px; color: var(--accent); }
.crate:hover i, .crate:focus-visible i { opacity: 1; transform: none; color: var(--accent); }
.soon { display: flex; flex-wrap: wrap; gap: 8px; }
.soon li { padding: 8px 14px; border: 1px dashed var(--line); border-radius: 999px; font-size: 14px; color: var(--ink-2); }
.suite__count { color: var(--ink-2); }
.suite__count b { color: var(--ink); font-weight: 600; }
.crates__note { color: var(--muted); font-size: 14px; }
.soon__note { margin-top: 14px; color: var(--muted); font-size: 15px; }
.soon__note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

.oss__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(72px, 10vw, 140px); }
.php .index, .contrib .index { margin-bottom: 16px; }
.go__index { margin-top: clamp(48px, 6vw, 80px); }
.go__note { color: var(--muted); font-size: 15px; margin-bottom: 16px; max-width: 52ch; }
.go__note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.go__repo { margin-top: 24px; }
.php__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.php__item b { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.025em; transition: color .3s; }
.php__item span { grid-column: 1; color: var(--muted); }
.php__item i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: 22px; transition: transform .45s var(--ease-out), color .3s; }
.php__item:hover b, .php__item:hover i { color: var(--accent); }
.php__item:hover i { transform: translate(4px, -4px) rotate(0deg); }
.contrib__list a { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); transition: color .3s; }
.contrib__list b { font-weight: 600; letter-spacing: -.02em; }
.contrib__list span { color: var(--muted); font-size: 15px; }
.contrib__list a:hover b { color: var(--accent); }

/* ============ About ============ */
.about__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(32px, 6vw, 96px); }
.about__text { display: grid; gap: 22px; max-width: 70ch; color: var(--ink-2); font-size: 18px; }
.about__big { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.certs { display: grid; align-content: start; border-top: 1px solid var(--line); }
.certs li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; display: grid; }
.certs span { color: var(--muted); font-weight: 400; font-size: 15px; }

/* ============ Contact ============ */
.contact { padding: clamp(120px, 16vw, 240px) 0 clamp(64px, 8vw, 120px); }
.contact__title { display: grid; margin-top: 24px; font-size: clamp(44px, 8vw, 152px); line-height: .94; letter-spacing: -.028em; font-weight: 600; }
.contact__lede { margin-top: 28px; max-width: 46ch; color: var(--ink-2); font-size: 18px; }
.contact__mail {
  margin-top: clamp(36px, 5vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: clamp(18px, 2.4vw, 28px) 0; border-block: 1px solid var(--line);
  font-size: clamp(22px, 4.2vw, 64px); font-weight: 500; letter-spacing: -.03em; overflow-wrap: anywhere;
}
.contact__mail i { font-style: normal; transition: transform .6s var(--ease-out); flex-shrink: 0; }
.contact__mail span { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease-out), color .3s; }
.contact__mail:hover span { background-size: 100% 2px; }
.contact__mail:hover i { transform: translateX(-10px) rotate(-45deg); color: var(--accent); }
.contact__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.contact__links a { display: inline-block; padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; transition: background-color .3s, color .3s, border-color .3s; }
.contact__links a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.footer { display: flex; justify-content: space-between; gap: 16px; padding-block: 28px 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer__top:hover { color: var(--accent); }

/* ============ Reveal ============ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__name { animation: fadeup .9s var(--ease-out) .15s backwards; }
.js .hero__lede { animation: fadeup 1s var(--ease-out) .75s backwards; }
.js .hero__cta { animation: fadeup 1s var(--ease-out) .85s backwards; }
.js .hero .facts { animation: fadeup 1s var(--ease-out) 1s backwards; }
@keyframes fadeup { from { opacity: 0; transform: translateY(24px); } }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
  .principles li:nth-child(3) { padding-left: 0; border-left: 0; }
  .principles li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services { grid-template-columns: 1fr; }
  .work__row { grid-template-columns: 48px minmax(0, 1fr); }
  .work__row .tags { grid-column: 2; justify-content: flex-start; padding-top: 0; }
  .suite { grid-template-columns: 1fr; }
  .suite__intro { position: static; }
}
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .menu { display: grid; }
}
@media (max-width: 860px) {
  .hero { min-height: 0; padding-top: 88px; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__portrait { order: -1; justify-self: stretch; width: 100%; aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { padding-top: 16px; }
  .oss__cols, .about__grid, .products__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .principles { grid-template-columns: 1fr; }
  .principles li, .principles li + li { padding: 20px 0; border-left: 0; }
  .principles li + li { border-top: 1px solid var(--line); }
  .services li { grid-template-columns: 1fr; gap: 6px; }
  .work__row { grid-template-columns: 1fr; gap: 10px; }
  .work__row .tags { grid-column: 1; }
  .work__n { padding-top: 0; }
  .crate { grid-template-columns: 1fr; gap: 2px; }
  .crate i { display: none; }
  .contrib__list a { grid-template-columns: 1fr; gap: 2px; }
  .btn { height: 48px; padding: 0 20px; }
  .footer { flex-direction: column; }
  .term__cmd { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Product link */
.product__link { justify-self: start; margin-top: 4px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.product__link:hover { color: var(--accent); }

/* Brief form */
.brief-open { margin-top: 28px; }
.brief-modal {
  width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line); border-radius: 24px; background: var(--bg); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
}
.brief-modal::backdrop { background: rgba(8, 8, 7, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.brief-modal[open] { animation: brief-in .45s var(--ease-out); }
.brief-modal[open]::backdrop { animation: brief-fade .3s ease-out; }
@keyframes brief-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes brief-fade { from { opacity: 0; } }
.brief-modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg); font-size: 22px; line-height: 1; display: grid; place-items: center; transition: border-color .25s;
}
.brief-modal__close:hover { border-color: var(--ink); }
.is-modal, .is-modal a, .is-modal button { cursor: auto; }
.is-modal button, .is-modal .brief__types label { cursor: pointer; }
.is-modal .cursor { display: none; }
.is-modal { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .brief-modal[open], .brief-modal[open]::backdrop { animation: none; } }
.brief { display: grid; gap: 24px; }
.brief-modal .brief__title { padding-right: 48px; }
.brief__title { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.028em; line-height: 1.1; }
.brief__hint { color: var(--muted); margin-top: -14px; }
.brief__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief__types { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brief__types legend { font-weight: 500; margin-bottom: 12px; padding: 0; }
.brief__types label { position: relative; cursor: pointer; }
.brief__types input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.brief__types span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; transition: background-color .25s, color .25s, border-color .25s; }
.brief__types label:hover span { border-color: var(--ink); }
.brief__types input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.brief__types input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.brief__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.brief__field { display: grid; gap: 8px; }
.brief__field--wide { grid-column: 1 / -1; }
.brief__field > span { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.brief__field em { font-style: normal; font-weight: 400; color: var(--muted); }
.brief__field input, .brief__field select, .brief__field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .25s;
}
.brief__field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.brief__field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.brief__field input:focus, .brief__field select:focus, .brief__field textarea:focus { outline: none; border-color: var(--ink); }
.brief__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.brief__status { color: var(--ink-2); max-width: 52ch; }
.brief__status.is-error { color: var(--ink); font-weight: 600; }
.brief.is-sent .brief__grid, .brief.is-sent .brief__types, .brief.is-sent .btn { opacity: .45; pointer-events: none; }
@media (max-width: 720px) { .brief__grid { grid-template-columns: 1fr; } }

/* ============ Service page (/laravel-rust/) ============ */
.hero--page { min-height: 0; padding-top: clamp(128px, 15vw, 210px); }
.hero--page .hero__grid { grid-template-columns: minmax(0, 1fr); }
.hero--page .hero__claim { max-width: 19ch; font-size: clamp(38px, 5.2vw, 88px); }
.hero--page .hero__lede { max-width: 60ch; }
.facts a { display: grid; gap: 2px; transition: color .3s; }
.facts a:hover b { color: var(--accent); }
.facts span a { display: inline; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.facts span a:hover { color: var(--accent); }
.proof__note { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 80ch; }
.proof__note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.offers > li { padding: 28px 28px 36px 0; display: grid; gap: 14px; align-content: start; }
.offers > li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.offers > li:nth-child(n+3) { border-top: 1px solid var(--line); }
.offers h3 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.offers p { color: var(--ink-2); }
.offers .mono { margin-top: 8px; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: calc(.775em - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.leads { display: grid; gap: 16px; max-width: 62ch; margin-bottom: clamp(32px, 5vw, 56px); }
.leads p { color: var(--ink-2); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; }
.leads p:first-child { color: var(--ink); }
.leads a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.services .tags { justify-content: flex-start; padding-top: 10px; }
.promise { margin-top: 32px; font-size: 18px; font-weight: 500; color: var(--ink); }

.faq { max-width: 1040px; border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex-shrink: 0; font: 400 30px/1 var(--f-display); color: var(--accent); transition: transform .45s var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover h3 { color: var(--accent); }
.faq__item h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; transition: color .3s; }
.faq__item p { color: var(--ink-2); max-width: 68ch; padding-bottom: 26px; }
.has-cursor summary { cursor: none; }
.is-modal summary { cursor: pointer; }

.footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__links a:hover { color: var(--accent); }

@media (max-width: 1100px) {
  .offers { grid-template-columns: 1fr; }
  .offers > li, .offers > li:nth-child(even) { padding: 24px 0 32px; border-left: 0; }
  .offers > li + li { border-top: 1px solid var(--line); }
}
