/* Made by Matter — one-page marketing site
   Mobile-first. No external fonts or assets: everything ships from this origin. */

:root {
  --paper:      #FBFAF8;
  --paper-alt:  #F3F1EC;
  --ink:        #14161A;
  --ink-soft:   #4A5058;
  --ink-faint:  #7A828C;
  --line:       #E4E0D8;
  --accent:     #C0562A;   /* burnt orange — the one accent */
  --accent-ink: #9C4416;   /* darker variant, AA-safe for text on paper */

  --wrap: 68rem;
  --radius: 14px;

  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #101215;
    --paper-alt:  #161A1F;
    --ink:        #F2F1EE;
    --ink-soft:   #B2B8C0;
    --ink-faint:  #858C95;
    --line:       #262B32;
    --accent:     #E2764A;
    --accent-ink: #EE8A5E;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

p { margin: 0; }

a { color: inherit; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0; }

/* ── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  font-size: 1.02rem;
}

.mark { flex: none; display: block; }
.mark-a { fill: var(--ink); }
.mark-b { fill: var(--accent); }

.nav {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.25rem;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--ink); }

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  padding-block: 4.5rem 3.5rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  margin-bottom: 0.6rem;
}

.tagline {
  font-size: clamp(1.25rem, 4vw, 1.7rem);
  font-weight: 500;
  color: var(--accent-ink);
  letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-ink); }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink-faint); }

@media (prefers-color-scheme: dark) {
  .btn-primary { color: #16110E; }
}

/* ── Sections ───────────────────────────────────────────────────────────── */

.section {
  padding-block: 4rem;
  border-bottom: 1px solid var(--line);
}

.section-alt { background: var(--paper-alt); }

.section-title {
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.section-lede {
  color: var(--ink-soft);
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

/* ── Cards ──────────────────────────────────────────────────────────────── */

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.section-alt .card { background: var(--paper); }

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.card-work { border-top: 3px solid var(--accent); }

.kicker {
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* ── About ──────────────────────────────────────────────────────────────── */

.about p {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.03rem;
}
.about p + p { margin-top: 1.1rem; }

/* ── Contact ────────────────────────────────────────────────────────────── */

.contact-email {
  font-size: clamp(1.3rem, 5vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  overflow-wrap: anywhere;
}

.contact-email a {
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.contact-email a:hover { border-bottom-color: var(--accent); }

.contact-meta {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  grid-template-columns: 1fr;
}

.contact-meta div { min-width: 0; }

.contact-meta dt {
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.3rem;
}

.contact-meta dd {
  margin: 0;
  font-size: 0.97rem;
  color: var(--ink);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  padding-block: 2.5rem;
  background: var(--paper);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
}

.footer-brand {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-legal {
  color: var(--ink-faint);
  font-size: 0.88rem;
  margin-top: 0.2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.footer-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--ink); }

/* ── 404 ────────────────────────────────────────────────────────────────── */

.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 4rem;
}
.notfound h1 { font-size: clamp(2rem, 7vw, 3rem); margin-bottom: 0.75rem; }
.notfound p { color: var(--ink-soft); margin-bottom: 2rem; max-width: 34rem; }

/* ── Breakpoints ────────────────────────────────────────────────────────── */

@media (min-width: 40rem) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-meta { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-block: 6.5rem 5rem; }
  .section { padding-block: 5.5rem; }
  .card { padding: 1.85rem; }
}

@media (min-width: 60rem) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: row; align-items: flex-end; }
}

/* ── Legal pages ──────────────────────────────────────────────────────────
   Long-form prose. Narrower than the marketing wrap because a policy is read
   line by line rather than scanned, and 68rem of running text is tiring. */

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

.legal .wrap {
  max-width: 44rem;
}

.legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.legal .updated {
  color: var(--ink-faint);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
}

.legal h3 {
  font-size: 1.05rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  line-height: 1.7;
}

.legal p + p {
  margin-top: 1rem;
}

.legal ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.5rem;
}

.legal a {
  color: var(--accent-ink);
  text-underline-offset: 3px;
}

.legal strong {
  color: var(--ink);
  font-weight: 600;
}

/* A definition-style block for "what we collect and why". Reads better than
   a table on a phone, which is where most of this will be read. */
.legal .fact {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

.legal .fact dt {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.legal .fact dd {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}
