/* Frost River Capital — hand-written, no build step.
   Palette and type scale come from the approved design (frost-river-warm). */

/* ---------- fonts (self-hosted, OFL-licensed, latin subset) ---------- */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/eb-garamond-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/barlow-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
  --bg: #f6f3ed;
  --ink: #1b1f24;        /* headings */
  --text: #22262b;       /* default */
  --body: #2c3138;       /* running text */
  --muted: #5f646b;      /* kickers, captions, footer */
  --label: #6a6459;      /* section labels */
  --frame: #d5cec2;      /* image frames */
  --rule: #ddd6ca;       /* horizontal rules */
  --tick: #c9c2b6;       /* short hairline under the wordmark */
  --link: #3c5a72;
  --link-hover: #24384a;
  --link-underline: #b9c6d1;
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
::selection { background: rgba(60, 90, 114, 0.22); }

/* Centered 620px column, 24px gutters (padding sits outside the measure) */
.col {
  box-sizing: content-box;
  max-width: 620px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- masthead ---------- */
.masthead {
  padding: 72px 0 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.wordmark {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 9vw, 52px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.kicker {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.tick {
  width: 56px;
  height: 1px;
  background: var(--tick);
  margin-top: 10px;
}

/* ---------- blueprint frames (registration-mark corners) ---------- */
.blueprint {
  position: relative;
  border: 1px solid var(--frame);
}
.corner {
  position: absolute;
  width: 11px;
  height: 11px;
  color: rgba(34, 38, 43, 0.55);
}
.corner::before, .corner::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.corner::after  { top: 5px; left: 0; width: 100%; height: 1px; }
.corner.tl { top: -6px; left: -6px; }
.corner.tr { top: -6px; right: -6px; }
.corner.bl { bottom: -6px; left: -6px; }
.corner.br { bottom: -6px; right: -6px; }

.band-frame { margin: 56px 0 0; }
.band {
  width: 100%;
  height: 150px;
  object-fit: cover;
  filter: grayscale(0.35) sepia(0.14) contrast(1.02);
}

/* ---------- sections ---------- */
.section-company { padding: 64px 0 0; }
.section-founder { padding: 56px 0 0; display: flex; flex-direction: column; gap: 32px; }
.section-contact { padding: 56px 0 0; }

.label {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--label);
}
.section-founder .label { margin-bottom: 0; }

.section-company p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--body);
  text-wrap: pretty;
}
.section-company p:last-child { margin-bottom: 0; }

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 56px 0 0;
}
.rule-wide { margin-top: 64px; }

/* ---------- founder ---------- */
.portrait-frame { width: 176px; }
.portrait {
  width: 100%;
  height: auto;
  filter: grayscale(0.35) sepia(0.18) contrast(1.02);
}
.founder-name {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
}
.founder-role {
  margin: 0 0 22px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.bio p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  text-wrap: pretty;
}
.bio p:last-child { margin-bottom: 0; }

/* ---------- contact ---------- */
.contact-email {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.6;
  font-family: var(--serif);
}
.contact-email a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid var(--link-underline);
  padding-bottom: 2px;
}
.contact-email a:hover { color: var(--link-hover); border-bottom-color: var(--link-hover); }
.contact-place { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer {
  margin-top: 72px;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
}
.site-footer p { margin: 0; font-size: 13px; color: var(--muted); }
.footer-links { margin-top: 10px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--link-hover); }

/* ---------- subpages (privacy / terms / 404) ---------- */
.subpage-header { padding: 56px 0 0; text-align: center; }
.subpage-header a {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  text-decoration: none;
}
.subpage-header a:hover { color: var(--link-hover); }
.legal { padding: 56px 0 0; }
.legal h1 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.15;
  color: var(--ink);
}
.legal .updated { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.legal h2 {
  margin: 40px 0 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
}
.legal p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  text-wrap: pretty;
}
