/* ─────────────────────────────────────────────────────────────
   Ocrah LLC — ocrah.com
   Tokens follow the MF document system: paper, ink, hairlines,
   one accent used semantically. No framework, no JS.
   ───────────────────────────────────────────────────────────── */

@font-face { font-family: 'Lato'; src: url('../fonts/lato-v25-latin-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('../fonts/lato-v25-latin-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('../fonts/lato-v25-latin-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('../fonts/lato-v25-latin-900.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Liberation Mono'; src: url('../fonts/liberation-mono-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Liberation Mono'; src: url('../fonts/liberation-mono-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #FFFFFF;
  --ink: #14171B;
  --muted: #6E747C;
  --hair: #D9DCE0;
  --accent: #E4572E;
  --sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Liberation Mono', 'Courier New', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

a { color: inherit; text-decoration-color: var(--hair); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* ── nav ───────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; background: rgba(255,255,255,0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--hair); z-index: 10; }
.navin { display: flex; align-items: center; gap: 32px; height: 62px; }
/* the ensō stands in for the O; "crah" stays live text so the wordmark
   remains selectable and searchable. Metrics are the agreed lockup spec:
   mark at 1.06em, dropped 0.114em for a 2% overshoot below the baseline,
   and pulled in 0.051em so the ink gap matches the gaps inside the word. */
.brand { font-weight: 900; font-size: 20px; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.brandmark { width: 1.06em; height: 1.06em; display: inline-block; vertical-align: -0.114em; fill: currentColor; }
.brand span { margin-left: -0.051em; }
.navlinks { display: flex; gap: 26px; margin-left: auto; }
.navlinks a { text-decoration: none; }
.navlinks a:hover { color: var(--ink); }
.navcta { color: var(--accent); font-weight: 700; text-decoration: none; font-size: 15px; }

/* ── hero ──────────────────────────────────────────────────── */
/* .hero sits on the same element as .wrap and is declared later, so its
   padding shorthand wins. It must therefore restate .wrap's horizontal
   padding or the hero loses its gutters — invisible on desktop, where
   max-width leaves margin, but flush to the screen edge on mobile. */
.hero { padding: 110px 32px 100px; }
.kicker { display: block; margin-bottom: 22px; }
h1 { font-weight: 900; font-size: clamp(46px, 7vw, 84px); line-height: 1.02; letter-spacing: -0.015em; max-width: 960px; }
.hero .sub { color: var(--muted); font-size: 21px; max-width: 680px; margin-top: 26px; }
.cta { display: inline-block; margin-top: 34px; font-weight: 700; font-size: 18px; color: var(--accent); text-decoration: none; }
.cta:hover { text-decoration: underline; text-decoration-color: var(--accent); }

/* ── sections ──────────────────────────────────────────────── */
section { padding: 92px 0; border-top: 1px solid var(--hair); }
.seclabel { display: block; margin-bottom: 34px; }
h2 { font-weight: 900; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.01em; margin-bottom: 18px; }
.lede { font-size: 19px; max-width: 700px; margin-bottom: 52px; }
.lede.muted { color: var(--muted); }

/* ── services ──────────────────────────────────────────────── */
.lead-svc { border-top: 2px solid var(--ink); padding: 30px 0 34px; margin-bottom: 56px; }
.lead-svc .tag { display: block; margin-bottom: 12px; color: var(--accent); }
.lead-svc h3 { font-weight: 900; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.01em; margin-bottom: 12px; }
.lead-svc p { font-size: 18px; max-width: 720px; }
.lead-svc .start { margin-top: 14px; color: var(--muted); }
.behind { display: block; margin-bottom: 4px; }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; }
.svc { padding: 26px 0 28px; border-top: 1px solid var(--hair); }
.svc .tag { display: block; margin-bottom: 8px; }
.svc h3 { font-weight: 700; font-size: 18.5px; margin-bottom: 6px; }
.svc p { font-size: 15.5px; color: var(--muted); max-width: 460px; }

/* ── how we work ───────────────────────────────────────────── */
.step { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 30px 0; }
.step + .step { border-top: 1px solid var(--hair); }
.stepnum { font-weight: 900; font-size: 38px; color: var(--accent); line-height: 1; }
.step h3 { font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.step p { font-size: 16.5px; max-width: 660px; }
.youget { margin-top: 10px; }
.youget .mono { color: var(--accent); }
/* the arrow is set at body size and optically centred, so it doesn't sit
   low on the 12px mono baseline next to the 16px text that follows */
.youget .arrow {
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1;
  color: var(--accent);
  vertical-align: middle;
  margin: 0 0.5em 0 0.55em;
}
.youget .g { color: var(--muted); font-size: 16px; }

/* ── why us ────────────────────────────────────────────────── */
.proof p { font-size: 19px; max-width: 780px; line-height: 1.6; }
.proof p + p { margin-top: 18px; }

/* ── people ────────────────────────────────────────────────── */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 760px; }
.person { display: flex; gap: 20px; align-items: center; }
.person img { width: 92px; height: 92px; object-fit: cover; filter: grayscale(1) contrast(1.05); border-radius: 4px; }
.person h3 { font-weight: 700; font-size: 19px; }
.person .mono { display: block; margin-top: 4px; }
.person a { font-size: 15px; }

/* ── contact ───────────────────────────────────────────────── */
.contact { text-align: center; padding: 110px 0; }
.contact .mono { display: block; margin-bottom: 20px; }
.bigmail { font-weight: 900; font-size: clamp(30px, 5.4vw, 58px); letter-spacing: -0.01em; text-decoration: none; }
.bigmail:hover { color: var(--accent); }
.contact .note { color: var(--muted); margin-top: 16px; }

/* ── footer ────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--ink); padding: 22px 0 30px; }
footer .principles { text-align: center; }
footer .copyright { text-align: center; margin-top: 14px; font-size: 11px; }

/* anchor targets clear the sticky header instead of hiding beneath it */
[id] { scroll-margin-top: 78px; }

/* ── narrow ────────────────────────────────────────────────── */
@media (max-width: 820px) {
  /* the header wraps to two rows so the section links stay reachable —
     on a page this long, scrolling back to the top is the whole nav */
  .navin { flex-wrap: wrap; height: auto; gap: 0; padding-top: 13px; }
  .brand { margin-right: auto; }
  .navcta { font-size: 14px; }
  .navlinks {
    display: flex;
    order: 3;
    width: 100%;
    gap: 0;
    justify-content: space-between;
    margin: 13px -32px 0;
    padding: 10px 32px 9px;
    border-top: 1px solid var(--hair);
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  [id] { scroll-margin-top: 104px; }
  .hero { padding: 72px 32px 64px; }
  section { padding: 64px 0; }
  .services { grid-template-columns: 1fr; }
  .step { grid-template-columns: 72px 1fr; gap: 16px; }
  .people { grid-template-columns: 1fr; gap: 36px; }
  .contact { padding: 80px 0; }
}

/* ── print: it should print like one of the documents ──────── */
@media print {
  .nav { display: none; }
  body { font-size: 11pt; }
  section { padding: 28px 0; break-inside: avoid; }
  .hero { padding: 0 0 28px; }
  a { text-decoration: none; }
}
