/* ============================================================
   Spectrum Insight — shared stylesheet
   Palette is taken from Jill's logo (blue, green, orange, teal). Swap the custom properties
   below once that's settled — nothing else needs to change.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Karla:wght@400;500;600;700&display=swap');

:root {
  --ink: #2b3140;
  --ink-soft: #4b5162;
  --indigo: #0b5ea3;
  --indigo-deep: #0a3f6e;
  --teal: #1290c0;
  --green: #6fa02a;
  --orange: #f66e0f;
  --honey: #f79a1e;
  --honey-deep: #e0850f;
  --paper: #ffffff;
  --mist: #f4f6f7;
  --line: #e1e6e8;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--indigo-deep);
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; max-width: 62ch; color: var(--ink-soft); }

a { color: var(--indigo); }

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

/* ---------- Header / nav ---------- */

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--indigo-deep);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.brand span { color: var(--orange); }
.brand-logo { display: block; }
.brand-logo img { height: 72px; width: auto; display: block; }

nav.links {
  display: flex;
  gap: 30px;
  align-items: center;
}
nav.links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.97rem;
}
nav.links a:hover { color: var(--indigo); }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.97rem;
}
.btn-primary {
  background: var(--honey);
  color: var(--indigo-deep);
}
.btn-primary:hover { background: var(--honey-deep); }
.btn-ghost {
  background: transparent;
  border-color: var(--indigo);
  color: var(--indigo);
}
.btn-ghost:hover { background: var(--indigo); color: var(--paper); }

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero p.lede {
  font-size: 1.15rem;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 16px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.hero-actions .subtle-link { font-size: 0.95rem; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line); }

.motif { width: 100%; height: auto; }
.hero-photo { width: 100%; height: auto; display: block; border-radius: 6px; }

.disclaimer-flag {
  display: inline-flex;
  gap: 8px;
  align-items: flex-start;
  background: var(--mist);
  border-left: 3px solid var(--teal);
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 28px;
  max-width: 52ch;
}

/* ---------- Sections ---------- */

section { padding: 64px 0; }
section.alt { background: var(--mist); }

.section-head { max-width: 60ch; margin-bottom: 36px; }
.section-head.right { margin-left: auto; text-align: right; }

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.pillar h3 { margin-bottom: 0.4em; }
.pillar { border-top: 2px solid var(--teal); padding-top: 18px; }

/* ---------- Process / timeline (genuine sequence) ---------- */

.timeline { position: relative; margin-top: 24px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.tl-step {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}
.tl-step:last-child { margin-bottom: 0; }
.tl-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-step h3 { margin-bottom: 0.3em; }

/* ---------- Journey page layout ---------- */

.journey-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.journey-photo { margin: 0; position: sticky; top: 110px; }
.journey-photo img { width: 100%; height: auto; display: block; border-radius: 6px; }

/* ---------- Cards (used sparingly, distinct from decorative kit) ---------- */

.info-card {
  border: 1px solid var(--line);
  padding: 26px;
}
.info-card h3 { margin-bottom: 0.5em; }
.info-card ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.info-card li { margin-bottom: 0.4em; }

/* ---------- Resource list ---------- */

.resource {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}
.resource:first-child { padding-top: 0; }
.resource h3 { margin-bottom: 0.3em; font-size: 1.05rem; }
.resource p { margin-bottom: 0; }
.resource a.visit { white-space: nowrap; }

/* ---------- Forms ---------- */

form.intake {
  display: grid;
  gap: 20px;
  max-width: 560px;
}
.field { display: grid; gap: 6px; }
.field label { font-size: 0.92rem; font-weight: 600; color: var(--indigo-deep); }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  background: var(--paper);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}
.radio-row { display: flex; gap: 10px 24px; flex-wrap: wrap; }
.radio-row label { font-weight: 400; display: flex; gap: 8px; align-items: center; font-size: 0.97rem; color: var(--ink); }

.form-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: var(--mist);
  padding: 14px 16px;
  border-left: 3px solid var(--honey);
}

/* ---------- Footer ---------- */

footer.site {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  background: var(--indigo-deep);
  color: #cfd9e2;
}
footer.site a { color: #eef3f6; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
}
footer.site h3 { color: #ffffff; font-size: 1.05rem; }
footer.site .brand { color: #ffffff; }
footer.site .brand span { color: #fcae1e; }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; }
.footer-grid nav a { text-decoration: none; font-size: 0.95rem; }
.footer-bottom {
  max-width: var(--max);
  margin: 36px auto 0;
  padding: 20px 28px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: #9fb0bd;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  nav.links { gap: 20px; }
  nav.links a { font-size: 0.92rem; }
  .nav-row .btn { padding: 10px 18px; font-size: 0.92rem; }
}

@media (max-width: 880px) {
  .hero-grid, .two-col, .journey-grid { grid-template-columns: 1fr; }
  .journey-photo { position: static; }
  .three-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  nav.links { display: none; }
  .section-head.right { text-align: left; margin-left: 0; }
  .resource { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
