/* alvinvcheeks.com — brand: teal-ink + clay, Archivo (self-hosted, SIL OFL) */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo-Italic-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --teal-ink: #12343B;
  --teal-ink-deep: #0E2A30;
  --harbor: #3D6E75;
  --clay: #A84A2A;
  --clay-light: #E89A7C;
  --ivory: #F5F1E8;
  --mist: #E7EFEE;
  --ink: #14171C;
  --slate: #5E6266;
  --rule: #C9CFCF;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--clay); text-underline-offset: 3px; }
a:hover { color: var(--teal-ink); }

:focus-visible { outline: 3px solid var(--clay-light); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--clay-light); color: var(--teal-ink); padding: 10px 16px; font-weight: 700; z-index: 10;
}
.skip:focus { left: 16px; top: 16px; }

/* Type */
.display, h1, h2 {
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0;
}
h1 { font-size: clamp(3.5rem, 11vw, 8.5rem); }
h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); color: var(--teal-ink); }
h3 { font-size: 1.25rem; font-weight: 700; margin: 0; line-height: 1.3; }

.eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 16px;
}
.on-dark .eyebrow { color: var(--clay-light); }

.lead { font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.55; max-width: 62ch; }
.muted { color: var(--slate); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  font-family: var(--font); font-size: 1rem; font-weight: 700; letter-spacing: 0.01em;
  text-decoration: none; border-radius: 3px; border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--teal-ink); color: var(--ivory); }
.btn-primary:hover { background: var(--teal-ink-deep); color: var(--ivory); }
.on-dark .btn-primary { background: var(--clay-light); color: var(--teal-ink); }
.on-dark .btn-primary:hover { background: #F0B096; color: var(--teal-ink); }
.btn-outline { border-color: var(--teal-ink); color: var(--teal-ink); background: transparent; }
.btn-outline:hover { background: var(--teal-ink); color: var(--ivory); }
.on-dark .btn-outline { border-color: var(--ivory); color: var(--ivory); }
.on-dark .btn-outline:hover { background: var(--ivory); color: var(--teal-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header { background: var(--teal-ink); color: var(--ivory); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 32px; padding-top: 18px; padding-bottom: 18px;
}
.wordmark {
  font-stretch: 62%; font-weight: 800; font-size: 1.75rem; text-transform: uppercase;
  color: var(--ivory); text-decoration: none; letter-spacing: 0.02em; line-height: 1;
}
.wordmark:hover { color: var(--ivory); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 0.9375rem; font-weight: 600; }
.nav a { color: var(--ivory); text-decoration: none; padding: 6px 0; }
.nav a:hover { color: var(--clay-light); }
.nav .nav-cta { color: var(--clay-light); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.on-dark { background: var(--teal-ink); color: var(--ivory); }
.on-dark h2 { color: var(--ivory); }
.on-mist { background: var(--mist); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Hero */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-sub { font-size: clamp(1.125rem, 2vw, 1.375rem); color: var(--mist); margin: 22px 0 32px; max-width: 34ch; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.hero-photo::before {
  content: ""; position: absolute; left: -16px; top: 24px; width: 6px; height: 120px; background: var(--clay-light);
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { max-width: 240px; order: -1; }
  .hero-photo::before { display: none; }
}

/* Goal band */
.goal { padding: clamp(48px, 7vw, 80px) 0; border-bottom: 1px solid var(--rule); }
.goal .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; }
.goal-statement { flex: 999 1 560px; min-width: 0; }
.goal-statement .display { font-size: clamp(2.25rem, 5.4vw, 4.25rem); color: var(--teal-ink); }

/* About */
.about-title .small { display: block; font-stretch: 100%; font-weight: 500; text-transform: none; font-size: clamp(1.25rem, 2.4vw, 1.75rem); color: var(--slate); letter-spacing: 0; line-height: 1.2; }
.about-title .small:first-child { margin-bottom: 6px; }
.about-title .small:last-child { margin-top: 8px; }
.prose p { margin: 0 0 1.1em; max-width: 64ch; }

/* Ventures */
.ventures-grid {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px;
}
.venture {
  height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px;
  background: #fff; border-top: 3px solid var(--harbor); text-decoration: none; color: var(--ink);
  transition: border-color .15s, transform .15s;
}
a.venture:hover { border-top-color: var(--clay); transform: translateY(-2px); color: var(--ink); }
.venture-name { font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.venture-desc { font-size: 0.9375rem; color: var(--slate); line-height: 1.45; }
.venture-domain { margin-top: auto; padding-top: 10px; font-size: 0.875rem; font-weight: 600; color: var(--clay); }
@media (prefers-reduced-motion: reduce) { a.venture:hover { transform: none; } }

/* Investing */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
@media (max-width: 560px) { .cols { grid-template-columns: 1fr; } }
.card { background: var(--ivory); padding: 24px; }
.card h3 { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 1.625rem; color: var(--teal-ink); margin-bottom: 10px; }
.card ul { margin: 0; padding-left: 1.1em; }
.card li { margin: 0 0 6px; }

/* Insights */
.articles { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.article a { font-stretch: 78%; font-weight: 700; font-size: clamp(1.375rem, 2.6vw, 1.75rem); line-height: 1.2; color: var(--teal-ink); text-decoration-color: var(--clay); }
.article a:hover { color: var(--clay); }
.article .meta { margin-top: 6px; font-size: 0.9375rem; color: var(--slate); }

/* Speak / CTA band */
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta-band p { margin: 10px 0 0; max-width: 52ch; color: var(--mist); }

/* Form */
.form { display: grid; gap: 18px; max-width: 640px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9375rem; font-weight: 700; }
.field .opt { font-weight: 500; color: var(--slate); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #8C9496; border-radius: 3px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-ink); outline: 3px solid var(--clay-light); outline-offset: 1px; }
.form-note { font-size: 0.875rem; color: var(--slate); margin: 0; max-width: 60ch; }
.hidden { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--teal-ink); color: var(--ivory); padding: 56px 0 40px; }
.footer-line { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1; margin: 0 0 28px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 0.9375rem; color: var(--mist); border-top: 1px solid var(--harbor); padding-top: 20px; }
.footer-meta a { color: var(--clay-light); }
.footer-meta a:hover { color: var(--ivory); }

/* Simple pages */
.page-simple { min-height: 70vh; display: flex; align-items: center; }
.page-simple .lead { margin: 20px 0 32px; }
