:root {
  --ink: #14171c;
  --surface: #1b2026;
  --surface-2: #232a32;
  --line: #2c3540;
  --paper: #eceff3;
  --paper-dim: #9aa4b0;
  --accent: #e2915f;
  --accent-hover: #edaa7c;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

/* header */

.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(20, 23, 28, 0.9);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.mark {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mark-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mark-text .t8 {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: 20px;
  color: var(--paper);
  letter-spacing: -0.01em;
  line-height: 1;
}

.mark-text .dev {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--paper-dim);
}

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

/* eyebrow / headings */

.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}

h1, h2 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}

/* hero */

.hero {
  padding-top: 96px;
  padding-bottom: 88px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.12;
  max-width: 16ch;
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  font-size: 19px;
  line-height: 1.65;
  color: var(--paper-dim);
  max-width: 62ch;
  margin: 0 0 36px;
}

.lede strong {
  color: var(--paper);
  font-weight: 500;
}

.cta {
  display: inline-block;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 14px;
  color: var(--ink);
  background: var(--accent);
  padding: 13px 24px;
  border-radius: 3px;
  letter-spacing: 0.01em;
}

.cta:hover {
  background: var(--accent-hover);
  color: var(--ink);
}

/* pillars */

.pillars-section {
  padding-top: 8px;
  padding-bottom: 96px;
}

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

.pillar {
  background: var(--surface);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar .icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.pillar h3 {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.pillar p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--paper-dim);
}

/* work / case studies */

.work-section {
  padding-top: 8px;
  padding-bottom: 96px;
  border-top: 1px solid var(--line);
}

.section-head {
  padding-top: 88px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: 32px;
  line-height: 1.2;
  max-width: 22ch;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.case {
  background: var(--surface);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.case-head h3 {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.3;
}

.case-dates {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--paper-dim);
}

.case p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--paper-dim);
  flex-grow: 1;
}

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
}

.tags li {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim, rgba(226, 145, 95, 0.12));
  padding: 5px 9px;
  border-radius: 3px;
}

/* contact */

.contact-section {
  padding-top: 96px;
  padding-bottom: 112px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact-section .eyebrow {
  display: block;
}

.contact-section h2 {
  font-size: 34px;
  margin-bottom: 18px;
}

.contact-section .lede {
  margin-left: auto;
  margin-right: auto;
}

.contact-section .cta {
  font-size: 16px;
  padding: 15px 30px;
}

/* footer */

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--paper-dim);
}

/* responsive */

@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 64px; padding-bottom: 64px; }
  .hero h1 { font-size: 36px; }
  .lede { font-size: 17px; }
  .pillars { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .section-head { padding-top: 64px; }
  .section-head h2 { font-size: 26px; }
  .site-nav { gap: 18px; }
}
