/* ============================================================
   Make. — Made for more.
   Brand tokens + single-page system
   ============================================================ */

:root {
  --ink: #0B0B0C;
  --paper: #F6F2EC;
  --bone: #FFFFFF;
  --ember: #E25822;
  --muted: #6B6863;

  --rule-paper: rgba(31, 31, 34, 0.16);
  --rule-ink: rgba(255, 255, 255, 0.12);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1240px;
  --prosew: 720px;

  --pad-y: clamp(72px, 11vw, 160px);
  --pad-x: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

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

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--ember); color: var(--bone); }

.ember { color: var(--ember); }
.muted { color: var(--muted); }

/* ---------- Focus & skip link ---------- */

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout primitives ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.wrap--prose { max-width: calc(var(--prosew) + var(--pad-x) * 2); }

.center { text-align: center; }
.center .checklist,
.center .link-arrow { text-align: left; }

.section { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }

.section--paper { background: var(--paper); color: var(--ink); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .muted { color: rgba(246, 242, 236, 0.55); }

.rule {
  border: 0;
  border-top: 1px solid var(--rule-paper);
  margin: clamp(40px, 6vw, 72px) 0;
}
.section--ink .rule { border-top-color: var(--rule-ink); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

/* ---------- Typography ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.section--ink .eyebrow { color: rgba(246, 242, 236, 0.6); }

.h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 120px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 6.2vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.012em;
}

.h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.008em;
}

.lead {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  font-weight: 400;
}

p + p { margin-top: 1.1em; }

.kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
  cursor: pointer;
}

.btn--primary { background: var(--ember); color: var(--bone); }
.btn--primary:hover { background: #c9491a; }
.btn--primary span { transition: transform 0.25s var(--ease); }
.btn--primary:hover span { transform: translateX(3px); }

.btn--nav {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 20px;
  font-size: 15px;
}
.btn--nav:hover { background: var(--ember); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  font-size: 16px;
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  transition: background-size 0.25s var(--ease), color 0.25s var(--ease);
}
.link-arrow:hover { color: var(--ember); background-size: 100% 2px; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.is-solid {
  background: var(--paper);
  border-bottom-color: var(--rule-paper);
}

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.nav__links > a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: inherit;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--ember), var(--ember));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1.5px;
  transition: background-size 0.25s var(--ease);
}
.nav__links > a:not(.btn):hover { background-size: 100% 1.5px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--pad-x) 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule-paper);
}
.nav__panel a {
  font-family: var(--serif);
  font-size: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-paper);
}
.nav__panel a:last-child { border-bottom: 0; color: var(--ember); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  padding-top: 120px;
  padding-bottom: clamp(28px, 5vh, 48px);
  background: var(--paper);
}
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .eyebrow { letter-spacing: 0.22em; }
.hero__lead {
  max-width: 30ch;
  margin-top: clamp(24px, 3vw, 36px);
  color: #2a2925;
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(32px, 4vw, 48px);
  flex-wrap: wrap;
}
.hero__kicker {
  margin-top: clamp(48px, 8vh, 96px);
}

/* ---------- 2. Belief ---------- */

.belief__body { margin-top: 8px; }
.belief__lead {
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 1.1em;
}
.belief__body p {
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  color: #2a2925;
}
.belief__body p + p { margin-top: 1.3em; }
.belief__turn {
  font-family: var(--serif);
  color: var(--ink) !important;
}

/* ---------- 3. What we do ---------- */

.what__body p { font-size: clamp(17px, 1.5vw, 19px); }
.what__body p + p { margin-top: 1.3em; }

.panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.panel p:not(.eyebrow) {
  font-size: 17px;
  color: rgba(246, 242, 236, 0.82);
}

/* ---------- 4. Vision ---------- */

.vision__h2 {
  font-size: clamp(44px, 8vw, 92px);
  line-height: 1.05;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.vision .lead { max-width: 36ch; margin-inline: auto; color: #2a2925; }

/* ---------- 5. Make Construction ---------- */

.two-col--product { align-items: center; }
.construction__body { margin: clamp(24px, 3vw, 36px) 0; }
.construction__body p { color: rgba(246, 242, 236, 0.82); }
.construction__body .lead { color: var(--paper); }
.construction__body p + p { margin-top: 1.2em; }

.product-card {
  background: #161618;
  border: 1px solid var(--rule-ink);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.product-card__bar { display: flex; gap: 7px; }
.product-card__bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.16);
}
.product-card__doc { display: flex; flex-direction: column; gap: 12px; }
.product-card__doc .ln {
  height: 9px;
  border-radius: 4px;
  background: rgba(255,255,255,0.10);
}
.product-card__doc .ln--short { width: 62%; }
.product-card__doc .ln--mark {
  background: linear-gradient(90deg, rgba(226,88,34,0.55), rgba(226,88,34,0.12));
}
.product-card__resolve {
  border-top: 1px solid var(--rule-ink);
  padding-top: 20px;
}
.product-card__resolve .eyebrow { margin-bottom: 10px; }
.product-card__sum {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--paper);
}

/* ---------- 6. Proof ---------- */

.proof__head {
  max-width: 22ch;
  margin: 0 auto clamp(48px, 7vw, 80px);
  color: var(--paper);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-ink);
  padding: clamp(40px, 6vw, 64px) 0;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1;
  color: var(--ember);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: 14px;
  font-size: 15px;
  color: rgba(246, 242, 236, 0.7);
}
.proof__line {
  margin-top: clamp(40px, 6vw, 64px);
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
}
.proof__muted {
  margin-top: 16px;
  font-size: 15px;
  color: rgba(246, 242, 236, 0.5);
}
.proof .link-arrow { margin-top: 24px; }

/* ---------- 7. Problem ---------- */

.problem__lead { max-width: 38ch; margin-top: 28px; color: #2a2925; }
.problem__cards {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(48px, 6vw, 72px);
}
.card {
  background: var(--bone);
  border: 1px solid var(--rule-paper);
  border-radius: 14px;
  padding: clamp(28px, 4vw, 48px);
}
.card .h3 { margin: 14px 0 16px; max-width: 18ch; }
.card p:not(.eyebrow) { color: #45433f; max-width: 60ch; }
.problem__close {
  margin-top: clamp(36px, 5vw, 56px);
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--muted);
  max-width: 56ch;
}

/* ---------- 8. How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--rule-paper);
  padding-top: clamp(40px, 5vw, 56px);
}
.step { position: relative; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px; right: calc(clamp(28px, 4vw, 56px) / -2);
  width: 1px; height: calc(100% + 8px);
  background: var(--rule-paper);
}
.step__num {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ember);
}
.step__label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 14px 0 14px;
}
.step p:last-child { color: #45433f; }
.how__close {
  margin-top: clamp(40px, 5vw, 56px);
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--muted);
}

/* ---------- 9. Who it's for ---------- */

.fit .h2 { max-width: 18ch; margin-inline: auto; }
.checklist {
  list-style: none;
  margin: clamp(40px, 6vw, 64px) 0 clamp(36px, 5vw, 48px);
  max-width: 56ch;
  margin-inline: auto;
}
.checklist li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-top: 1px solid var(--rule-ink);
  font-size: clamp(17px, 1.8vw, 20px);
  color: rgba(246, 242, 236, 0.88);
}
.checklist li:last-child { border-bottom: 1px solid var(--rule-ink); }
.check { color: var(--ember); font-weight: 600; line-height: 1.4; }
.fit .link-arrow { display: inline-flex; }

/* ---------- 10. Values ---------- */

.value-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 80px);
}
.value { border-top: 1px solid var(--rule-paper); padding-top: 28px; }
.value__num { font-family: var(--serif); font-size: 22px; color: var(--ember); }
.value .h3 { margin: 16px 0 16px; }
.value p:last-child { color: #45433f; }

/* ---------- 11. Trust ---------- */

.trust__body { margin-top: 24px; max-width: 34ch; color: #45433f; }
.trust .wrap + .wrap { margin-top: clamp(40px, 5vw, 56px); }
.trust__points { display: flex; flex-direction: column; }
.trust-point {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 0;
  border-top: 1px solid var(--rule-paper);
  font-size: clamp(16px, 1.7vw, 19px);
}
.trust-point:last-child { border-bottom: 1px solid var(--rule-paper); }
.trust-point__icon { color: var(--ember); flex-shrink: 0; }
.trust-point__icon svg { width: 24px; height: 24px; }
.trust__muted { font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); color: var(--muted); }
.trust .link-arrow { margin-top: 18px; }

/* ---------- 12. Where we're headed ---------- */

.next .h2 { max-width: 16ch; margin-inline: auto; }
.next__body { margin: clamp(32px, 4vw, 44px) 0; }
.next__body p { color: rgba(246, 242, 236, 0.82); }
.next__body p + p { margin-top: 1.2em; }
.next__flourish {
  margin: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 40px);
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.25;
}
.next__final {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
}

/* ---------- 13. Contact ---------- */

.contact__copy .lead { margin-top: 24px; max-width: 30ch; color: #45433f; }
.contact__form-wrap { max-width: 520px; }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.field__opt { color: var(--muted); font-weight: 400; }
.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--bone);
  border: 1px solid var(--rule-paper);
  border-radius: 8px;
  padding: 14px 16px;
  width: 100%;
  resize: vertical;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(226, 88, 34, 0.16);
}
.hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.contact-form .btn { align-self: flex-start; margin-top: 6px; }
.contact-form .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-error {
  font-size: 14px;
  color: var(--ember);
  font-weight: 500;
  margin-top: -6px;
}
.contact-confirm { padding: 20px 0; }
.contact-confirm .h3 { max-width: 22ch; margin-bottom: 20px; }
.contact__fineprint {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 14. Footer ---------- */

.footer { padding: clamp(64px, 9vw, 120px) 0 48px; }
.footer__big {
  font-family: var(--serif);
  font-size: clamp(56px, 11vw, 120px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid var(--rule-ink);
}
.footer__col { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.footer__col a { color: rgba(246, 242, 236, 0.7); transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--paper); }
.footer__col .muted { color: rgba(246, 242, 236, 0.45); }
.footer__kicker {
  margin-top: 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.45);
}

/* ---------- Reveal motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .panels { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step:not(:last-child)::after { display: none; }
  .step { border-top: 1px solid var(--rule-paper); padding-top: 28px; }
  .steps { border-top: 0; padding-top: 0; }
  .value-panels { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero__cta { gap: 18px; }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
