/* =========================================================
   An Intentional Age — site styles
   Apollo Horizon palette · Jost / Montserrat / Source Sans 3
   Mobile-first. One file, every page.
   ========================================================= */

:root {
  --navy: #1A2B4C;
  --navy-deep: #0F1B33;
  --navy-soft: #1f3358;
  --beige: #F1E8B6;
  --aqua: #4B9CD3;
  --gold: #D4AF37;
  --orange: #F26430;
  --orange-deep: #c74d1e;

  --font-display: 'Jost', ui-sans-serif, system-ui, sans-serif;
  --font-heading: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Source Sans 3', ui-sans-serif, system-ui, sans-serif;

  /* fluid layout */
  --gutter: clamp(20px, 6vw, 88px);
  --measure: 1180px;
  --section-y: clamp(64px, 9vw, 112px);
  --section-y-sm: clamp(48px, 7vw, 88px);

  /* fluid type */
  --fs-hero: clamp(38px, 7.2vw, 84px);
  --fs-h2: clamp(28px, 3.6vw, 48px);
  --fs-h2-sm: clamp(26px, 3.2vw, 42px);
  --fs-h3: clamp(22px, 2.2vw, 30px);
  --fs-lead: clamp(17px, 1.5vw, 21px);
  --fs-body: clamp(17px, 1.3vw, 19px);
  --fs-body-sm: 16px;
  --fs-label: 11px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.2em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--sm { padding-block: var(--section-y-sm); }
.on-navy { background: var(--navy); color: var(--beige); }
.on-navy-deep { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--beige); }
.on-beige { background: var(--beige); color: var(--navy); }
.section + .section.on-beige { border-top: 0; }

/* ---------- Type pieces ---------- */
.label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.label--aqua { color: var(--aqua); }
.label--gold { color: var(--gold); }
.label--muted { opacity: 0.6; }
.h2 { font-size: var(--fs-h2); line-height: 1.15; max-width: 20ch; }
.h2--sm { font-size: var(--fs-h2-sm); }
.h2 em, .hero-title em { font-style: italic; }
.h2 .alt { display: block; font-style: italic; }
.on-beige .h2 .alt { opacity: 0.8; }
.on-navy .h2 .alt, .on-navy-deep .h2 .alt { color: var(--gold); }
.lead { font-size: var(--fs-lead); line-height: 1.6; max-width: 62ch; }
.on-navy .lead, .on-navy-deep .lead { opacity: 0.88; }
.prose { max-width: 66ch; font-size: var(--fs-body); line-height: 1.75; }
.prose--onnavy { margin-top: 26px; max-width: 58ch; opacity: .82; }
.prose--onnavy p { margin: 0 0 14px; }
.fine { font-size: 14px; font-style: italic; opacity: 0.65; }
.rule { width: 56px; height: 3px; background: var(--gold); margin: 0 0 28px; border: 0; }

.pullquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.45;
  margin: 32px 0 0;
  padding-left: 22px;
  border-left: 3px solid var(--gold);
  max-width: 34ch;
}
.closing-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.4;
  margin: 28px 0 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 16px 26px;
  border-radius: 3px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
  min-height: 48px;
}
.btn--cta {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 2px 8px rgba(242,100,48,.2);
}
.btn--cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(242,100,48,.35); }
.btn--ghost { color: var(--beige); border-color: var(--beige); background: transparent; }
.btn--ghost:hover { background: var(--beige); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 480px) {
  .btn-row .btn { flex: 1 1 100%; }
  .btn { white-space: normal; text-align: center; }
}
.callout__cta { margin: 20px 0 0; }

.textlink {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1.5px solid currentColor;
  transition: color .18s ease;
}
.textlink:hover { color: var(--gold); }
.fine .textlink {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  padding-bottom: 1px;
  border-bottom-width: 1px;
}

/* ---------- Nav ---------- */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px 6px;
}
.nav__logo img { height: 44px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav__links a { color: var(--beige); text-decoration: none; opacity: 0.78; padding: 8px 0; transition: opacity .18s ease; white-space: nowrap; }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a.nav__newsletter { color: var(--gold); opacity: 1; }
.nav__links a.nav__newsletter:hover { color: var(--beige); }
@media (max-width: 560px) {
  .nav { flex-wrap: wrap; row-gap: 10px; padding-bottom: 4px; }
  .nav__logo img { height: 40px; }
  .nav__links { flex-basis: 100%; font-size: 11px; gap: 16px; justify-content: space-between; }
}
@media (max-width: 360px) {
  .nav__links { font-size: 10px; gap: 10px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  color: var(--beige);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(75,156,211,.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero__body {
  position: relative; z-index: 2;
  padding-block: clamp(48px, 8vw, 96px) clamp(64px, 10vw, 120px);
}
.hero__inner { max-width: 880px; }
.hero__eyebrow { color: var(--aqua); margin-bottom: 24px; max-width: 46ch; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-hero);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--beige);
}
.hero-title .gold { color: var(--gold); font-style: italic; font-weight: 600; }
.hero__lead { margin-top: 28px; max-width: 58ch; }
.hero__tag {
  margin-top: 40px;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--aqua);
}
.hero__sun {
  position: absolute;
  right: -12vw;
  bottom: -16vw;
  width: clamp(380px, 48vw, 720px);
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}
.hero__sun--svg { opacity: 0.5; }
.hero__sun--404 { width: clamp(300px, 34vw, 460px); opacity: 0.7; right: -6vw; bottom: -6vw; }
@media (max-width: 760px) {
  .hero__body { padding-bottom: 150px; }
  .hero__sun {
    width: 260px;
    right: -110px;
    bottom: -150px;
    opacity: 0.28;
  }
}
@media (min-width: 761px) {
  .hero--tall .hero__body { min-height: calc(100vh - 80px); display: flex; flex-direction: column; justify-content: center; }
}

/* ---------- Sun mark (inline svg) ---------- */
.sun {
  position: absolute;
  top: clamp(24px, 4vw, 56px);
  right: var(--gutter);
  width: 40px; height: 40px;
  opacity: 0.5;
  pointer-events: none;
}
.sun--center { left: 50%; right: auto; transform: translateX(-50%); width: 56px; height: 56px; opacity: 0.85; }
.sun svg { width: 100%; height: 100%; display: block; }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 36px; }
.grid-split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.5vw, 44px); }
  .grid-split { grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 88px); }
  .grid-split--even { grid-template-columns: 1fr 1.1fr; align-items: center; }
}

/* ---------- Cards ---------- */
.card { padding-top: 26px; border-top: 2px solid var(--gold); }
.card--aqua { border-top-color: var(--aqua); }
.card--navy { border-top-color: var(--navy); }
.card .label { margin-bottom: 14px; }
.card h3 { font-size: var(--fs-h3); line-height: 1.2; margin-bottom: 14px; }
.card p { font-size: var(--fs-body-sm); line-height: 1.7; margin-bottom: 20px; }
.on-navy .card p, .on-navy-deep .card p { opacity: 0.85; }
.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card__meta .label { margin: 0; }
.card__status { font-size: 12px; font-style: italic; color: var(--gold); letter-spacing: .04em; white-space: nowrap; }
.card__duration { font-size: 14px; font-style: italic; color: var(--aqua); margin: -6px 0 16px; }

a.card { display: block; text-decoration: none; color: inherit; transition: border-color .2s ease; }
a.card:hover { border-top-color: var(--gold); }
a.card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.deliverables { list-style: none; padding: 0; margin: 0; }
.deliverables li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 15px; line-height: 1.6; opacity: .9; }
.deliverables li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 1px; background: var(--gold); }

/* ---------- Founder block ---------- */
.founder { margin-top: 28px; padding-left: 18px; border-left: 2px solid var(--gold); }
.founder__name { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.founder__meta { font-size: 14px; font-style: italic; opacity: 0.7; margin-top: 2px; }

/* ---------- Preview card (Learning) ---------- */
.preview {
  position: relative;
  background: var(--navy);
  color: var(--beige);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 3.4vw, 40px);
  border-radius: 3px;
  box-shadow: 0 12px 40px rgba(26,43,76,.15);
}
.preview .sun { top: -16px; right: 28px; width: 36px; height: 36px; opacity: 1; }
.preview__quote { font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.4; margin: 0 0 16px; }
.preview__src { font-size: 13px; font-style: italic; opacity: .75; }
.preview__src a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Section header row ---------- */
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 40px; }
.divider-top { border-top: 1px solid rgba(26,43,76,.15); padding-top: clamp(40px, 5vw, 64px); }

/* ---------- Callout ---------- */
.callout {
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px);
  background: rgba(241,232,182,.05);
  border-left: 3px solid var(--gold);
  max-width: 760px;
}
.callout p { margin: 0; font-size: 17px; line-height: 1.7; opacity: .92; }

/* ---------- Logos strip ---------- */
.logos { margin-top: clamp(40px, 6vw, 72px); padding-top: 32px; border-top: 1px solid rgba(26,43,76,.15); }
.logos__row { display: flex; flex-wrap: wrap; gap: 14px 40px; font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.7vw, 22px); letter-spacing: .03em; opacity: .85; }
.logos__row .nda { opacity: .6; font-style: italic; }

/* ---------- Centered CTA ---------- */
.cta-center { text-align: center; }
.cta-center .wrap { max-width: 900px; }
.cta-center .h2 { margin-inline: auto; max-width: 34ch; }
.cta-center .h2 .alt { display: block; }
.cta-center .lead { margin: 22px auto 36px; max-width: 52ch; }
.cta-center .fine { margin-top: 24px; margin-bottom: 0; }
.cta-center.has-sun .wrap { padding-top: 48px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--beige); border-top: 1px solid rgba(241,232,182,.1); padding-block: 36px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.footer img { height: 40px; width: auto; }
.footer__meta { font-size: 13px; opacity: .6; }
.footer__links { display: flex; gap: 20px; font-family: var(--font-heading); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.footer__links a { text-decoration: none; opacity: .7; }
.footer__links a:hover { opacity: 1; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .textlink, a.card { transition: none; }
}
