/* Alma Operations: prospect-facing landing page
 * Tokens from brand-pack.json.
 * Warm educator register. Navy authority + soft gold warmth.
 */

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

:root {
  --navy: #1F3A5F;
  --navy-deep: #162A45;
  --gold: #E8B14C;
  --peach: #F2C98A;
  --peach-soft: #F9E5C4;
  --ink: #2B2B2B;
  --body: #3A3A3A;
  --surface: #F7F3EC;
  --surface-warm: #FDF8EF;
  --paper: #FFFFFF;
  --rule: rgba(31, 58, 95, 0.14);
  --rule-strong: rgba(31, 58, 95, 0.35);

  --ff-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', Helvetica, Arial, sans-serif;

  --shadow-subtle: 0 1px 2px rgba(31, 58, 95, 0.06), 0 2px 6px rgba(31, 58, 95, 0.04);
  --shadow-medium: 0 8px 24px rgba(31, 58, 95, 0.10);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --content: 72ch;
  --container: 1120px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 120ms ease, text-decoration-color 120ms ease;
}
a:hover { color: var(--navy-deep); text-decoration-color: var(--navy); }
a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}

p { margin: 0 0 1.1em; }
h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ---------- layout shell ---------- */

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

/* ---------- masthead ---------- */

.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  position: relative;
}

.masthead .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brandmark {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brandmark img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--surface-warm);
  padding: 4px;
  box-shadow: var(--shadow-subtle);
}
.brandmark .wordmark {
  font-family: var(--ff-heading);
  font-weight: 600;
  color: var(--navy);
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brandmark .tagline {
  display: block;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

.masthead-meta {
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--body);
  text-align: right;
  line-height: 1.4;
}
.masthead-meta strong { color: var(--navy); font-weight: 600; }

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--surface) 100%);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: var(--peach-soft);
  opacity: 0.55;
  filter: blur(2px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(31, 58, 95, 0.05);
  pointer-events: none;
}

.hero .shell { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-subtle);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

h1.headline {
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.08;
  font-weight: 500;
  color: var(--navy);
  max-width: 20ch;
  margin-bottom: 24px;
  font-variation-settings: "opsz" 120;
}
h1.headline em {
  font-style: italic;
  font-weight: 500;
  color: var(--navy-deep);
}

.hero-lede {
  font-size: 19px;
  line-height: 1.6;
  max-width: 58ch;
  color: var(--body);
  margin-bottom: 32px;
}

.hero-footnote {
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--body);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px dashed var(--rule);
  max-width: 58ch;
}
.hero-footnote span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-footnote span::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---------- prose sections ---------- */

.section {
  padding: 72px 0;
}
.section + .section { border-top: 1px solid var(--rule); }
.section.warm { background: var(--surface-warm); }
.section.paper { background: var(--paper); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-label {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  padding-top: 4px;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 3px;
}

h2.section-title {
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.18;
  font-weight: 500;
  max-width: 24ch;
  flex: 1 1 auto;
}

.prose {
  max-width: var(--content);
  font-size: 17px;
}
.prose p { margin-bottom: 1.2em; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- frame callout (the 60/30/10 box) ---------- */

.frame {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 32px 34px;
  box-shadow: var(--shadow-subtle);
  margin: 8px 0 0;
  max-width: var(--content);
}
.frame h3 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 14px;
  font-weight: 600;
  font-family: var(--ff-heading);
}
.frame p { margin-bottom: 1em; }
.frame p:last-child { margin-bottom: 0; }

.ratio-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
}
.ratio-row li {
  background: var(--surface-warm);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 16px 14px 14px;
  text-align: center;
}
.ratio-row .num {
  display: block;
  font-family: var(--ff-heading);
  font-size: 30px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96;
}
.ratio-row .num sup {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  vertical-align: top;
  margin-left: 2px;
}
.ratio-row .what {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--body);
  line-height: 1.35;
}

/* ---------- three talk-about cards ---------- */

.talk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}

.talk-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 28px 26px 30px;
  position: relative;
  box-shadow: var(--shadow-subtle);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.talk-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}
.talk-card .step {
  font-family: var(--ff-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 6px;
  font-style: italic;
}
.talk-card h3 {
  font-family: var(--ff-heading);
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
  font-weight: 600;
}
.talk-card p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: var(--body);
}

/* ---------- case + paper split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 8px;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 30px 30px 28px;
  box-shadow: var(--shadow-subtle);
}
.panel .tag {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}
.panel h3 {
  font-family: var(--ff-heading);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.panel p {
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.panel p:last-child { margin-bottom: 0; }
.panel .meta {
  font-size: 13px;
  color: var(--body);
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px dashed var(--rule);
}

/* ---------- note card (track record) ---------- */

.note {
  max-width: var(--content);
  padding: 22px 26px;
  border-left: 3px solid var(--peach);
  background: var(--surface-warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 16px;
  color: var(--body);
}

/* ---------- CTA ---------- */

.cta-block {
  background: var(--navy);
  color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}
.cta-block::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(232, 177, 76, 0.18);
  pointer-events: none;
}
.cta-block .cta-copy h2 {
  color: var(--surface);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  margin-bottom: 14px;
  font-weight: 500;
}
.cta-block .cta-copy h2 em {
  font-style: italic;
  color: var(--peach);
}
.cta-block .cta-copy p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(247, 243, 236, 0.85);
  margin-bottom: 0;
}
.cta-block .cta-copy p + p { margin-top: 12px; }

.cta-panel {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 26px 26px 24px;
  position: relative;
  z-index: 1;
}
.cta-panel .host {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 8px;
}
.cta-panel .who {
  font-family: var(--ff-heading);
  font-size: 22px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.2;
}
.cta-panel .role {
  font-family: var(--ff-body);
  font-size: 13.5px;
  color: var(--body);
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 15.5px;
  padding: 15px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--navy-deep);
  transition: background 140ms ease, transform 120ms ease;
  min-height: 48px;
}
.btn:hover { background: var(--navy-deep); transform: translateY(-1px); color: var(--paper); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn svg { flex-shrink: 0; }

.cta-panel .bring {
  margin-top: 14px;
  font-size: 13px;
  color: var(--body);
  line-height: 1.5;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
}
.cta-panel .bring strong { color: var(--navy); font-weight: 600; }

/* ---------- footer ---------- */

footer.page-foot {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 36px 0 48px;
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--body);
}
footer.page-foot .shell {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
footer.page-foot .prepared {
  color: var(--body);
}
footer.page-foot .prepared a {
  color: var(--navy);
  font-weight: 500;
}
footer.page-foot .prepared a:hover { color: var(--navy-deep); }
footer.page-foot .booth {
  color: var(--body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .talk-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .cta-block { grid-template-columns: 1fr; padding: 40px 28px; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 52px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .shell { padding: 0 20px; }
  .masthead .shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .masthead-meta { text-align: left; }
  h1.headline { font-size: 32px; }
  .hero-lede { font-size: 17px; }
  .section-head { flex-direction: column; gap: 10px; }
  .section-title { max-width: none; }
  .ratio-row { grid-template-columns: 1fr; }
  .ratio-row .num { font-size: 26px; }
  .frame { padding: 24px 22px; }
  .panel { padding: 24px 22px; }
  .cta-block { padding: 34px 22px; border-radius: var(--radius-md); }
  .cta-panel { padding: 22px 20px; }
  .talk-card { padding: 24px 22px; }
}

@media (max-width: 380px) {
  .shell { padding: 0 16px; }
  h1.headline { font-size: 28px; line-height: 1.1; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .talk-card:hover { transform: none; }
  .btn:hover { transform: none; }
}

@media print {
  .cta-block { background: var(--paper); color: var(--ink); box-shadow: none; }
  .cta-block .cta-copy h2, .cta-block .cta-copy p { color: var(--ink); }
  a { color: var(--navy); }
}
