@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #efede7;
  --ink: #141414;
  --muted: #5d5a53;
  --line: rgba(20, 20, 20, 0.16);
  --accent: #ff4d1c;
  --card: #fbfaf6;
  --on-ink-muted: #aaa69c;
  --wrap: 72rem;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 3.5rem;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

.mono {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wrap {
  width: min(100% - 3rem, var(--wrap));
  margin-inline: auto;
}

.period {
  color: var(--accent);
}

/* A 12-column rhythm: a label column on the left, content on the right */

.split {
  display: grid;
  gap: 0.75rem 1.5rem;
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .split > :first-child {
    grid-column: 1 / span 3;
  }

  .split > :last-child {
    grid-column: 4 / span 8;
  }
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.n {
  margin-right: 0.6em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(239, 237, 231, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}

.brand {
  white-space: nowrap;
  font-size: 1.375rem;
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1.75rem;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-header nav a:hover {
  color: var(--ink);
}

.site-header nav a:hover .n {
  color: var(--accent);
}

/* Hero */

.hero {
  padding-block: clamp(4.5rem, 12vw, 9rem) clamp(3rem, 7vw, 5.5rem);
}

h1 {
  max-width: 12ch;
  margin: 0 0 clamp(3rem, 8vw, 6rem);
  font-size: clamp(2.375rem, 6.2vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-row {
  align-items: start;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}

.lede {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-weight: 450;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.label {
  margin: 0;
  color: var(--muted);
}



/* Sections */

.section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.products {
  padding-top: 0;
}

.section-head {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}

.intro {
  margin: 0;
  color: var(--muted);
}

/* Product panels: one light, one dark */

.panels {
  display: grid;
  gap: 1rem;
}

@media (min-width: 56rem) {
  .panels {
    grid-template-columns: 7fr 5fr;
  }
}

.panel {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  min-height: 26rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--ink);
}

.panel--ink {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.panel--accent {
  border-color: var(--accent);
  background: var(--accent);
}

.panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid currentColor;
  border-bottom-color: rgba(20, 20, 20, 0.2);
}

.panel--ink .panel-top {
  border-bottom-color: rgba(239, 237, 231, 0.25);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: transparent;
}

.dot--live {
  background: var(--accent);
}

.panel--accent .dot {
  border-color: var(--ink);
}

h3 {
  margin: 0;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.kind {
  margin: 0.5rem 0 0;
  opacity: 0.7;
  font-size: 1.0625rem;
}

.panel-link {
  display: inline-block;
  margin-top: 1.75rem;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.desc {
  max-width: 30rem;
  margin: 1.5rem 0 0;
}

.features {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}

.features li {
  display: flex;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-top: 1px solid rgba(20, 20, 20, 0.14);
}

.panel--ink .features li {
  border-top-color: rgba(239, 237, 231, 0.18);
}

.features li::before {
  content: "+";
  flex: none;
  width: 0.75rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.panel--accent .features li::before {
  color: var(--ink);
}

.product-media {
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 16 / 10;
}

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

/* Services: a dark band */

.section--ink {
  background: var(--ink);
  color: var(--bg);
}

.section--ink .label,
.section--ink .n {
  color: var(--on-ink-muted);
}

.statement {
  max-width: 46rem;
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.3;
  text-wrap: pretty;
}

.statement-sub {
  max-width: 30rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
}

/* Experiments: a quiet list on the dark band */

.section--ink .statement {
  max-width: 34rem;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

.experiments {
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
}

.experiment {
  position: relative;
  display: grid;
  gap: 1rem 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(239, 237, 231, 0.3);
  border-bottom: 1px solid rgba(239, 237, 231, 0.3);
}

.experiment h3 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.05em;
}

.experiment h3 a {
  text-decoration: none;
}

.experiment h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.experiment:hover h3 a {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.12em;
}

.experiment h3 a:focus-visible {
  outline: none;
}

.experiment:focus-within {
  outline: 2px solid var(--bg);
  outline-offset: 4px;
}

.experiment .desc {
  max-width: 32rem;
  margin: 0.9rem 0 0;
  color: var(--on-ink-muted);
}

.experiment .meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  color: var(--on-ink-muted);
}

.experiment .status {
  color: var(--bg);
}

.experiment .url {
  color: var(--bg);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

@media (min-width: 56rem) {
  .experiment {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .experiment .meta {
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.6rem;
    text-align: right;
  }

  .experiment .status {
    justify-content: flex-end;
  }
}

/* Contact: calm, on paper */

.section--plain {
  border-top: 1px solid var(--ink);
}

address {
  margin: 2.5rem 0 0;
  font-style: normal;
}

.email {
  display: inline-block;
  font-size: clamp(1.5rem, 4.4vw, 2.75rem);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.email:hover {
  text-decoration-color: var(--ink);
}

.small {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Footer: the wordmark */

.site-footer {
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5.5rem) 1.5rem;
  background: var(--ink);
  color: var(--bg);
}

.wordmark {
  margin: 0 0 clamp(2.75rem, 7vw, 5rem);
  font-size: min(calc((100vw - 3rem) / 2.45), 29rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.82;
  padding-bottom: 0.16em; /* room for the descender of the y */
}

.legal {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(239, 237, 231, 0.25);
  color: var(--on-ink-muted);
}

@media (max-width: 34rem) {
  .site-header nav {
    gap: 1.25rem;
  }

  .site-header nav .n {
    display: none;
  }

  .panel {
    min-height: 0;
  }
}

@media (max-width: 22rem) {
  .site-header nav {
    gap: 0.7rem;
  }

  .site-header nav a {
    font-size: 0.625rem;
    letter-spacing: 0;
  }
}

@media print {
  .site-header nav,
  .skip {
    display: none;
  }

  .site-header {
    position: static;
  }
}
