/* Magnolia Point Strategy — magnoliapoint.ai
   Design system: "West Point Light" — a point of light over a horizon line.
   Flat solids only. No gradients, no textures. Structure from borders and spacing. */

:root {
  /* Color tokens */
  --charcoal: #23272B;
  --charcoal-900: #17191C;
  --fog: #EDEEEC;
  --paper: #FAFAF9;
  --teal: #3E7C7B;
  --teal-deep: #2E605F;
  --teal-bright: #4E9C9A;
  --amber: #E8B04B;
  --border-default: #DBDDD9;
  --text-primary: var(--charcoal);
  --text-secondary: #5A6066;
  --shadow-card: 0 1px 2px rgba(35, 39, 43, 0.06);

  /* Type */
  --font-sans: "Schibsted Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --font-serif: "Source Serif 4", Georgia, serif; /* long-form editorial only */

  /* Layout */
  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.5vw, 36px); }
h3 { font-size: 20px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  display: block;
  margin-bottom: 16px;
}

.lede { font-size: 20px; color: var(--text-secondary); max-width: 640px; }

.prose { max-width: 680px; }
.prose p { margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }

a { color: var(--teal); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--teal-deep); text-decoration: underline; }

/* ---------- Buttons: 1–3 word verbs, sentence case ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--charcoal); color: var(--paper); }
.btn-primary:hover { background: var(--charcoal-900); color: var(--paper); }
.btn-accent { background: var(--teal); color: var(--paper); }
.btn-accent:hover { background: var(--teal-deep); color: var(--paper); }
.btn-secondary { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-secondary:hover { background: var(--fog); color: var(--charcoal); }

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border-default);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.lockup:hover { text-decoration: none; }
.lockup svg { display: block; }
.wordmark { line-height: 1.1; }
.wordmark .name { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--charcoal); display: block; }
.wordmark .firm {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
  display: block;
}
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { color: var(--charcoal); font-weight: 500; font-size: 16px; }
.site-nav a:hover { color: var(--teal); text-decoration: none; }
.site-nav a.active { color: var(--teal); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-fog { background: var(--fog); }
.section-dark { background: var(--charcoal); color: var(--fog); }
.section-dark .eyebrow { color: var(--teal-bright); }
.section-dark a { color: var(--teal-bright); }
.section-dark .lede { color: #B9BEC2; }

.hero { padding: 128px 0; }
.hero h1 { max-width: 720px; margin-bottom: 24px; }

/* Horizon rule — the brand's structural device */
.rule { border: 0; border-top: 1px solid var(--border-default); margin: 0; }
.rule-amber {
  border: 0; border-top: 1px solid var(--border-default);
  position: relative; margin: 0; overflow: visible;
}
.rule-amber::after {
  content: "";
  position: absolute;
  left: 0; top: -3px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber); /* max one amber element per view */
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.card {
  background: var(--paper);
  border: 1px solid var(--border-default);
  border-radius: 4px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-secondary); margin-bottom: 16px; }
.card .card-link { font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--fog); padding: 64px 0 40px; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.site-footer .firm-line { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: #8A9094; }
.site-footer a { color: var(--fog); }
.site-footer a:hover { color: var(--teal-bright); }
.site-footer .fine { border-top: 1px solid #3A3F44; padding-top: 24px; font-size: 14px; color: #8A9094; }

/* ---------- Utility ---------- */
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.arrow { white-space: nowrap; }

@media (max-width: 640px) {
  .site-nav { gap: 20px; }
  .site-nav .btn { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 80px 0; }
}
