@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: optional;
}

:root {
  --ink: #333f48;
  --muted: #5c6c75;
  --orange: #fa4616;
  --orange-dark: #e03d10;
  --paper: #ffffff;
  --mist: #ebeaeb;
  --line: rgba(51, 63, 72, 0.14);
  --max: 1080px;
  --header: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Outfit, "Avenir Next", "Century Gothic", sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

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

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); }

h2 { font-size: clamp(2rem, 4vw, 3.2rem); }

h3 { font-size: 1.35rem; letter-spacing: -0.02em; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: white;
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 5;
}

.skip:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.logo img { height: 46px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.98rem;
}

.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }

.nav-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 0;
  padding: 0.85rem 1.4rem;
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
}

.btn-orange { background: var(--orange); color: white; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-light { background: white; color: var(--orange); }
.btn-light:hover { background: var(--mist); }
.btn-slate { background: var(--ink); color: white; }
.btn-slate:hover { background: #243038; }

.hero {
  min-height: 68vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: white;
  padding: 5.5rem 1.5rem 6rem;
  background:
    linear-gradient(rgba(51, 63, 72, 0.62), rgba(51, 63, 72, 0.72)),
    var(--hero) center / cover no-repeat;
}

.hero .lede, .band .lede, .prose .lede {
  max-width: 40rem;
  margin: 1rem auto 0;
  font-size: 1.2rem;
  line-height: 1.45;
}

.hero .btn { margin-top: 1.6rem; }

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.band { display: flow-root; text-align: center; padding: 4.5rem 1.5rem; }
.band-orange { background: var(--orange); color: white; }
.band-slate { background: var(--ink); color: white; }
.band-mist { background: var(--mist); }
.band-paper { background: var(--paper); }

.narrow { width: min(var(--max), 100%); margin-inline: auto; }

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem 2rem;
  margin-top: 2.4rem;
  text-align: left;
}

.service { padding-top: 1.6rem; }

.service:nth-child(n + 4) {
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  margin-top: 1.4rem;
}

.service h3 { margin: 0.7rem 0 0.35rem; }
.service p { color: rgba(255, 255, 255, 0.92); }

.service svg { width: 34px; height: 34px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.6rem 2.4rem;
  width: min(var(--max), 100%);
  margin: 1.6rem auto 0;
  padding: 0;
  list-style: none;
}

.logo-row img {
  height: 46px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.accordion { width: min(760px, 100%); margin: 2rem auto 0; text-align: left; }

.accordion button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  scroll-margin-top: calc(var(--header) + 12px);
  padding: 1.05rem 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.accordion li:last-child button { border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.accordion { list-style: none; padding: 0; }
.accordion p { padding: 0 0 1.1rem; color: rgba(255, 255, 255, 0.9); }
.accordion button span[aria-hidden] { font-weight: 400; }

.contact-form, .stack {
  width: min(640px, 100%);
  margin: 1.6rem auto 0;
  text-align: left;
}

.contact-form fieldset { border: 0; margin: 0; padding: 0; }
.contact-form legend { font-size: 1.15rem; margin-bottom: 0.4rem; }

.contact-form label, .stack label {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.95rem;
}

.contact-form label span, .stack label span { opacity: 0.8; font-size: 0.85rem; }

.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

input, textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.75rem 0.8rem;
  border: 0;
  border-radius: 0;
  background: white;
  color: var(--ink);
  font: inherit;
}

textarea { resize: vertical; }

.form-status { min-height: 1.4em; margin: 0.8rem 0; }

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.steps, .engage, .team {
  display: grid;
  gap: 1rem;
  width: min(var(--max), 100%);
  margin: 2rem auto 0;
  text-align: left;
}

.steps { grid-template-columns: repeat(4, 1fr); }
.engage { grid-template-columns: 1fr 1fr; }
.team { grid-template-columns: repeat(4, 1fr); }

.step, .engage article, .person, .file-card, .folder-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.1rem 1rem 1.2rem;
}

.band-paper .step, .band-mist .step, .band-paper .engage article, .band-mist .person, .band-paper .person {
  background: white;
  border: 1px solid var(--line);
}

.step span, .file-kicker, .folder-kicker {
  display: block;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.band-slate .step span, .band-orange .step span { color: white; }

.founder {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.6rem;
  width: min(var(--max), 100%);
  margin: 1.4rem auto 0;
  text-align: left;
  align-items: center;
}

.founder img, .person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.person { text-align: left; }
.person h3 { margin-top: 0.8rem; font-size: 1.15rem; }
.person p { color: var(--muted); margin-top: 0.15rem; }
.person a { display: inline-block; margin-top: 0.45rem; color: var(--orange); }

.career { width: min(760px, 100%); margin: 1rem auto 0; text-align: left; padding-left: 1.1rem; }
.career li { margin: 0.25rem 0; }

.prose { width: min(760px, 100%); margin: 0 auto; text-align: left; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose p, .prose li { margin-top: 0.7rem; }
.prose ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }

.library-grid, .folder-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: min(var(--max), 100%);
  margin: 1.4rem auto 0;
}

.file-card, .folder-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  min-height: 150px;
}

.file-card strong, .folder-card strong { font-size: 1.25rem; letter-spacing: -0.02em; }
.file-meta { color: var(--muted); font-size: 0.92rem; }
.file-card .btn, .folder-card .btn { margin-top: auto; align-self: flex-start; }

.room {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 3.2rem 0 1rem;
  text-align: left;
}

.room h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.room .lede { margin-left: 0; }

.engagement { margin-top: 2.4rem; padding-top: 0.2rem; }
.engagement + .engagement { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.engagement h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.engagement .when { margin: 0.45rem 0 0; color: var(--muted); font-size: 0.95rem; }
.engagement .summary { max-width: 40rem; margin: 0.9rem 0 0; }

.doc-table { width: 100%; margin-top: 1.5rem; border-collapse: collapse; }
.doc-table th {
  padding: 0 1rem 0.55rem 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
}
.doc-table td {
  padding: 0.95rem 1rem 0.95rem 0;
  border-top: 1px solid var(--line);
  vertical-align: baseline;
  text-align: left;
}
.doc-table td:last-child, .doc-table th:last-child { padding-right: 0; text-align: right; width: 7rem; }
.doc-table a { color: var(--orange); font-weight: 600; text-decoration: none; }
.doc-table a:hover { text-decoration: underline; }



.site-footer {
  background: var(--ink);
  color: white;
  text-align: center;
  padding: 3rem 1.5rem 2.4rem;
}

.site-footer .logo img { height: 42px; margin: 0 auto 1.2rem; }

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 1.3rem;
  flex-wrap: wrap;
}

.site-footer a { color: white; text-decoration: none; }
.site-footer p { margin-top: 1.2rem; }
.legal-links a { text-decoration: underline; text-underline-offset: 0.2em; }

.gate {
  min-height: 70vh;
  display: grid;
  align-content: center;
  justify-items: start;
  width: min(640px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 4rem 0;
}

.gate h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.gate p { margin-top: 0.8rem; }

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

@media (max-width: 860px) {
  .services, .steps, .team { grid-template-columns: 1fr 1fr; }
  .service:nth-child(n + 4) { border-top: 0; margin-top: 0; }
  .service:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    margin-top: 1.4rem;
  }
  .founder { grid-template-columns: 1fr; }
  .founder img { max-width: 220px; }
}

@media (max-width: 680px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 1.2rem 1rem;
    background: white;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .services, .steps, .engage, .team, .library-grid, .folder-row, .name-row { grid-template-columns: 1fr; }
  .service:nth-child(n + 3) { border-top: 0; margin-top: 0; }
  .service + .service {
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    margin-top: 1.2rem;
  }
  .hero { min-height: 0; padding: 4rem 1.2rem; }
}
