:root {
  --ink: #16181D;
  --white: #FFFFFF;
  --text-2: #4A4A4A;
  --gray: #676767;
  --on-ink: #E2E2E2;
  --on-ink-2: #BDBDBD;
  --brand: #D4704F;
  --display: 'Outfit', 'Avenir Next', 'Futura', sans-serif;
  --body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --pad-x: clamp(20px, 5vw, 72px);
  --gap-y: clamp(96px, 12vw, 176px);
}

*, *::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(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
strong { font-weight: 600; color: var(--ink); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--pad-x); }

/* Header */
.site-header .wrap {
  padding-block: 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
}
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: clamp(28px, 2.6vw, 36px); width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(18px, 2.5vw, 32px); font-size: 16px; }
@media (max-width: 480px) { .nav { font-size: 15px; } }
.nav a { text-decoration: none; padding: 12px 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav .nav-contact { text-decoration: underline; text-underline-offset: 5px; font-weight: 600; }

/* The split: title in a third, content in two thirds */
.split { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.split-title { flex: 1 1 260px; }
.split-body { flex: 2 1 560px; min-width: 0; }

.h-section {
  margin: 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 4.8vw, 64px); letter-spacing: -0.03em; line-height: 1;
}
.h-item {
  margin: 0;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 3vw, 40px); line-height: 1.1;
}
.num { font-weight: 300; color: var(--brand); margin-right: 14px; }
.big {
  margin: 0;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35;
}
.sub {
  margin: 12px 0 0;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(22px, 2vw, 26px); line-height: 1.3;
}
.detail { margin: 20px 0 0; color: var(--text-2); }

.section { padding-bottom: var(--gap-y); }
.band { padding-block: var(--gap-y); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px;
  background: var(--ink); color: var(--white); border: 2px solid var(--ink);
  text-decoration: none; font-weight: 500;
}
.btn:hover { background: var(--white); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; font-weight: 500; }

/* Hero */
.hero { padding-top: clamp(64px, 10vw, 152px); padding-bottom: clamp(80px, 11vw, 168px); }
.hero h1 {
  margin: 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(52px, 8.4vw, 128px); line-height: 0.95; letter-spacing: -0.035em;
}
.hero h1 .light { display: block; font-weight: 300; color: var(--brand); }
.hero .split { margin-top: clamp(48px, 6vw, 88px); }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.facts { margin: 32px 0 0; color: var(--text-2); }
.facts + .facts { margin-top: 12px; }

/* Stacks */
.stack { display: flex; flex-direction: column; gap: clamp(56px, 6vw, 88px); }
.stack--tight { gap: clamp(40px, 4.5vw, 64px); }
.stack article, .stack li, .stack figure { margin: 0; }

/* Ink band */
.band-ink { background: var(--ink); color: var(--white); }
.band-ink strong { color: var(--white); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps p { margin: 12px 0 0; font-size: 20px; color: var(--on-ink); }
.band-ink .note { margin: clamp(48px, 5vw, 72px) 0 0; color: var(--on-ink-2); }

/* Toolkit */
.toolkit {
  margin: 0;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(22px, 2.1vw, 28px); line-height: 1.5;
}
.creds { margin: 40px 0 0; color: var(--text-2); }

/* Quotes */
.quotes blockquote {
  margin: 0;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(28px, 3vw, 40px); line-height: 1.2; letter-spacing: -0.01em;
}
.quotes figcaption { margin-top: 14px; font-size: 17px; color: var(--gray); }
.quotes .offset { padding-left: clamp(0px, 8vw, 120px); }

/* About */
.about-body { font-size: 20px; }
.about-body p { margin: 0; }
.about-body p + p { margin-top: 20px; }

/* Contact */
.contact { background: var(--brand); color: var(--ink); }
.btn--email { margin-top: 40px; min-height: 56px; padding: 0 30px; font-size: 18px; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-2); }
.site-footer .wrap {
  padding-block: 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 15px;
}
.site-footer img { height: 22px; width: auto; }
.site-footer p { margin: 0; }

/* 404 */
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 32px; padding-block: 96px; }
