/* Medifacture Capital — one-page site.
   Tokens: Brand Kit 2026-10-01, source/brand-tokens.css. */
@font-face {
  font-family: "Noto Serif";
  src: url("/assets/fonts/noto-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("/assets/fonts/noto-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #16325C;
  --gold: #A6894F;
  --ivory: #F4F1E9;
  --slate: #58656E;
  --heading: "Noto Serif", Georgia, serif;
  --body: "Noto Sans", Arial, sans-serif;
  --measure: 44rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.masthead,
main,
.colophon {
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.masthead { padding-block: clamp(1.5rem, 4vw, 2.75rem); }

.brand { display: inline-block; line-height: 0; }
.brand img { width: clamp(11rem, 34vw, 15rem); height: auto; }

main { flex: 1; }

.hero { padding-block: clamp(2.5rem, 10vw, 7rem) clamp(2.5rem, 8vw, 5rem); }

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--slate);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 400;
  font-size: clamp(2.125rem, 6.2vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.lede {
  margin: 1.75rem 0 0;
  max-width: 32rem;
  color: var(--slate);
  font-size: clamp(1.125rem, 2.2vw, 1.3125rem);
  line-height: 1.5;
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:hover { text-decoration-thickness: 2px; }
a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}

.colophon {
  padding-block: 1.5rem 2rem;
  color: var(--slate);
  font-size: 0.875rem;
}
.colophon p { margin: 0; }
