/* JRB Capital Management — landing page.
   No JavaScript, no third-party requests. Keep it that way: the strict
   Content-Security-Policy in render.yaml depends on both. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-var.woff2') format('woff2');
  font-weight: 100 900;          /* variable axis — one file, every weight */
  font-style: normal;
  font-display: swap;
}

/* Midnight is the brand; no light theme.
   --faint and --rule were lightened from the design's #5f6f81 / #1e2c3c: the
   address measured 3.60:1 against this ground (AA wants 4.5:1 for text that
   small) and the email's underline 1.31:1, which made the page's only link
   read as plain text. Hues are unchanged. */
:root {
  --bg:     #0a1420;
  --ink:    #e9eef4;
  --ink-2:  #b7c4d1;
  --muted:  #77879a;
  --link:   #8b9aac;
  --faint:  #728191;
  --rule:   #3d4a5a;
}

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

body {
  margin: 0;
  padding: 2rem 1.5rem;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  width: 100%;
  max-width: 640px;
  text-align: center;
}

/* --- lockup: mountain mark + wordmark + tagline, one unit --- */

.lockup {
  display: inline-grid;
  justify-items: center;
  gap: clamp(1rem, 3vw, 1.375rem);
}

.mark {
  display: block;
  width: clamp(8.5rem, 26vw, 11.375rem);
  height: auto;
  color: var(--ink);
  margin-bottom: calc(clamp(1rem, 3vw, 1.375rem) * -1 + 0.625rem); /* tighter mark→name gap */
}

.wordmark {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.6vw, 1rem);
  font-weight: 400;
}

.wordmark__initials {
  font-size: clamp(2.75rem, 10vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.wordmark__name {
  font-size: clamp(0.95rem, 3.4vw, 1.25rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  line-height: 1.14;
  color: var(--ink-2);
  text-align: left;
}

.wordmark__name span { display: block; }

.tagline {
  margin: 0;
  font-size: clamp(0.6rem, 1.9vw, 0.6875rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-right: -0.3em;          /* optical centering of tracked text */
  color: var(--muted);
}

/* --- contact --- */

.contact {
  font-style: normal;
  display: grid;
  gap: 0.6875rem;
  margin-top: clamp(3.5rem, 10vw, 6rem);
}

.email {
  justify-self: center;
  color: var(--link);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
  transition: color 120ms ease, border-color 120ms ease;
}

.email:hover { color: var(--ink); border-bottom-color: var(--ink); }

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

.street {
  color: var(--faint);
  font-size: 0.72rem;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
