@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

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

:root {
  --ink: #111111;
  --black: #050505;
  --paper: #fafaf9;
  --white: #ffffff;
  --muted: #53534e;
  --soft: #e8e8e3;
  --line: #c9c9c3;
  --olive: #b4ca76;
  --olive-hover: #c8da93;
  --olive-dark: #53662c;
  --mono: "IBM Plex Mono", monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--olive-dark); outline-offset: 5px; }
[id] { scroll-margin-top: 26px; }

.wrap {
  width: min(1280px, calc(100% - 2 * clamp(20px, 4vw, 68px)));
  margin-inline: auto;
}

.skip-link { position: fixed; z-index: 10; top: 16px; left: 16px; padding: 12px 16px; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.masthead { border-bottom: 1px solid var(--soft); }
.masthead-inner { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { display: inline-block; justify-self: start; }
.brand img { width: 158px; }
.main-nav { display: flex; gap: clamp(20px, 3.5vw, 48px); }
.main-nav a, .footer a { text-decoration: none; font-size: 15px; font-weight: 600; }
.main-nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.masthead-cta { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: fit-content;
  min-height: 49px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 160ms, color 160ms, border-color 160ms;
}
.button span { font-size: 18px; line-height: 1; }
.button--outline { border-color: var(--ink); font-size: 14px; min-height: 42px; }
.button--outline:hover { background: var(--black); color: var(--white); }
.button--primary { color: var(--black); background: var(--olive); }
.button--primary:hover { background: var(--olive-hover); }
.button--dark { background: var(--black); color: var(--white); }
.button--dark:hover { background: #2d311e; }
.text-link { display: inline-flex; align-items: center; gap: 9px; width: fit-content; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #7a795f; }
.text-link:hover { text-decoration-color: currentColor; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 70px);
  min-height: min(630px, calc(100svh - 115px));
  padding-block: clamp(44px, 5.3vw, 84px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.status-dot { flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--olive-dark); box-shadow: 0 0 0 3px #e7edd9; }
h1, h2, h3 { font-weight: 700; }
.hero h1 {
  margin-top: 21px;
  max-width: 12ch;
  font-size: clamp(45px, 5.4vw, 84px);
  line-height: .99;
  letter-spacing: -.067em;
  text-wrap: balance;
}
.hero h1 mark {
  color: inherit;
  background: linear-gradient(transparent 73%, #d8e5b6 73%, #d8e5b6 91%, transparent 91%);
}
.hero-lead { max-width: 52ch; margin-top: 26px; color: var(--muted); font-size: clamp(17px, 1.55vw, 21px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 25px; margin-top: 31px; }

.showcase {
  min-width: 0;
  align-self: center;
  background: #171913;
  border: 1px solid #262a1e;
  border-radius: 14px;
  overflow: hidden;
  color: var(--paper);
  box-shadow: 0 22px 55px -31px #30352386;
}
.showcase-top, .showcase figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 19px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.showcase-top span:last-child { color: var(--olive-hover); }
.showcase-image { padding-inline: 12px; }
.showcase-image img { width: 100%; border-radius: 5px; }
.showcase figcaption { color: #e4e7da; }

.proof { border-block: 1px solid var(--line); background: #f2f4ea; }
.proof-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: 76px; padding-block: 14px; }
.proof-inner > span { color: var(--muted); font-size: 16px; }
.proof-inner a { color: #35451f; font-weight: 650; text-underline-offset: 4px; }
.proof-inner a span { margin-left: 5px; }

.section { padding-block: clamp(55px, 6.7vw, 104px); }
.section-header { display: grid; grid-template-columns: 1.17fr .83fr; align-items: end; gap: 18px 34px; margin-bottom: clamp(27px, 4vw, 52px); }
.section-header p { align-self: end; max-width: 42ch; color: var(--muted); font-size: 18px; line-height: 1.5; }
h2 { font-size: clamp(34px, 4.35vw, 64px); line-height: 1.02; letter-spacing: -.054em; text-wrap: balance; }
h3 { font-size: clamp(24px, 2.4vw, 37px); line-height: 1.08; letter-spacing: -.038em; text-wrap: pretty; }

.projects { color: var(--paper); background: var(--black); }
.projects .section-header p, .projects article p:not(.eyebrow) { color: #c5c5bd; }
.case-label { color: var(--olive-hover); margin-bottom: 14px; }
.case-feature { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(25px, 4vw, 52px); align-items: center; padding: clamp(23px, 4vw, 53px); border: 1px solid #34362a; border-radius: 13px; background: #121410; }
.case-feature-copy p:not(.eyebrow), .case p:not(.eyebrow) { margin-top: 16px; font-size: 17px; line-height: 1.55; }
.case-feature .text-link, .case .text-link { margin-top: 21px; color: var(--olive-hover); }
.projects a:focus-visible { outline-color: var(--olive-hover); }
.case-feature figure { min-width: 0; }
.case-feature figure img { width: 100%; border-radius: 7px; background: var(--white); }
.case-feature figcaption { color: #b6b7ab; font-size: 13px; margin-top: 10px; }
.case-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 18px; }
.case { display: flex; flex-direction: column; align-items: start; padding: clamp(23px, 3.1vw, 40px); border: 1px solid #34362a; border-radius: 13px; }
.case h3 { max-width: 25ch; font-size: clamp(24px, 2.1vw, 33px); }
.case .text-link { margin-top: auto; padding-top: 21px; }

.expertise-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid var(--line); }
.expertise-card { padding: 27px clamp(15px, 2.75vw, 38px); }
.expertise-card + .expertise-card { border-left: 1px solid var(--line); }
.expertise-card:first-child { padding-left: 0; }
.expertise-card h3 { font-size: clamp(23px, 2vw, 30px); }
.expertise-card p { margin-top: 13px; color: var(--muted); font-size: 17px; line-height: 1.55; }

.faq { padding-top: 0; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px 48px; align-items: start; }
.faq h2 { font-size: clamp(32px, 3.45vw, 50px); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { padding-block: 17px; border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 28px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; color: var(--olive-dark); font-size: 25px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-block: 12px 3px; color: var(--muted); font-size: 17px; line-height: 1.55; }

.closing { background: var(--olive); padding-block: clamp(45px, 5.5vw, 78px); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 50px; }
.closing h2 { max-width: 20ch; }
.closing p { max-width: 52ch; margin-top: 14px; font-size: 18px; line-height: 1.5; }
.closing .button { flex: 0 0 auto; max-width: 100%; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 15px 24px; align-items: center; justify-content: space-between; min-height: 110px; padding-block: 19px; }
.footer p { color: var(--muted); font-size: 15px; }

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero h1 { max-width: 11.5ch; }
  .hero-actions .text-link { font-size: 15px; }
}

@media (max-width: 720px) {
  .masthead-inner { min-height: 67px; grid-template-columns: 1fr auto; gap: 14px; }
  .brand img { width: 119px; }
  .main-nav { display: none; }
  .masthead-cta { font-size: 13px; padding: 9px 11px; gap: 7px; }
  .hero, .section-header, .case-feature, .case-grid, .expertise-grid, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 44px 35px; gap: 31px; }
  .hero h1 { max-width: 13ch; font-size: clamp(42px, 9.4vw, 65px); }
  .hero-lead { margin-top: 19px; }
  .hero-actions { margin-top: 24px; gap: 16px; }
  .proof-inner { flex-wrap: wrap; gap: 8px; padding-block: 16px; }
  .proof-inner > span, .proof-inner a { font-size: 14px; }
  .expertise-card { padding: 22px 0; }
  .expertise-card + .expertise-card { border-left: 0; border-top: 1px solid var(--line); }
  .closing-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { min-height: 86px; }
}

@media (max-width: 370px) {
  .hero h1 { font-size: 36px; }
  .masthead-cta { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
