@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-400.woff2") format("woff2");
}

:root {
  --bg: #0b0b0a;
  --surface: #141412;
  --line: #2e2d2a;
  --text: #eceae4;
  --muted: #a8a296;
  --accent: #d2b07a;
  --sans: "IBM Plex Sans", "Liberation Sans", "Noto Sans", sans-serif;
  --mono: "IBM Plex Mono", "Liberation Mono", ui-monospace, monospace;
  --wrap: 1120px;
  --header-offset: 7.5rem;
}

@media (max-width: 799px) {
  :root {
    --header-offset: 9.5rem;
  }
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
p,
dd,
a {
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 0;
  z-index: 10;
  transform: translateY(-120%);
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
  text-decoration: none;
  padding: 8px 12px;
}

.skip-link:focus {
  transform: none;
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg);
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 28px;
  min-height: 72px;
  padding-block: 16px;
}

.wordmark {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.nav a {
  font-size: 0.9375rem;
  text-decoration: none;
  padding-block: 12px;
}

.nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.hero {
  padding-top: clamp(4rem, 9vw, 7rem);
}

.hero-layout {
  display: grid;
  gap: 36px;
  align-items: end;
}

.kicker,
.updated {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

.kicker {
  margin-bottom: 20px;
}

h1 {
  max-width: 14em;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.lede {
  max-width: 36rem;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.text-link {
  display: inline-block;
  margin-top: 36px;
  min-height: 44px;
  padding-top: 10px;
  font-size: 0.9375rem;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}

section {
  padding-top: clamp(5rem, 11vw, 8rem);
  scroll-margin-top: var(--header-offset);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.num {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

h2 .num {
  display: block;
  margin-bottom: 12px;
}

.intro {
  max-width: 36rem;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

.service {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.service img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 24px 24px;
}

.service .num {
  margin-bottom: 16px;
}

.service h3 {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.desc {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-list {
  margin-top: 8px;
}

.contact-list div {
  display: grid;
  gap: 8px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd.email {
  font-size: clamp(1.35rem, 3.4vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

dd.email a {
  overflow-wrap: anywhere;
}

.page {
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: 2rem;
}

.page h1 {
  max-width: 16em;
}

.updated {
  margin-top: 20px;
}

.prose {
  max-width: 40rem;
  margin-top: 32px;
}

.prose p + p {
  margin-top: 16px;
}

.prose a {
  overflow-wrap: anywhere;
}

.site-footer {
  margin-top: clamp(5rem, 11vw, 8rem);
  padding-top: 32px;
  padding-bottom: 64px;
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--header-offset);
}

.footer-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-bar nav a {
  padding-block: 8px;
}

@media (min-width: 800px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 96px));
  }

  .footer-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px 32px;
  }
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service:hover {
  border-color: var(--accent);
}

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

@media (prefers-reduced-motion: no-preference) {
  .service {
    transition: border-color 160ms ease;
  }
}
