/* Hallmark · macrostructure: Narrative Workflow · tone: crisp conviction, warm human clarity · anchor hue: cobalt · theme: custom · paper: --color-paper · accent: --color-cobalt · type: DM Serif Display + DM Sans · axes: white-paper / literary-display / cobalt-with-ember · contrast: pass (40–41) · nav: N9 · footer: Ft5 · slop: pass (42–45) · honest: pass (46) · chrome: pass (47) · tokens: pass (48) · responsive: pass (49) · icons: pass (30) · mobile: pass (34, 49, 50–57) */
/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V4 */
/* Hallmark · critique note: protect the editorial rail and action hierarchy; do not let the embeds or A.I.R. sequence collapse into a generic card stack. */
@import url("tokens.css");

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

html,
body {
  margin: 0;
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--space-md));
}

body {
  min-width: 20rem;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-navy);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  min-width: 0;
  overflow-wrap: anywhere;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--color-amber);
  color: var(--color-navy);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-navy);
  color: var(--color-paper);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transform: translateY(calc(-100% - var(--space-lg)));
  transition: transform var(--dur-fast) var(--ease-out);
}

.skip-link:focus-visible {
  outline: var(--rule-strong) solid var(--color-amber);
  outline-offset: var(--space-3xs);
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - (var(--space-md) * 2)), var(--measure-wide));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: var(--header-height);
  border-bottom: var(--rule-hairline) solid var(--color-rule);
  background: var(--color-paper-soft);
  backdrop-filter: blur(1rem);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.brand span {
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.text-link {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--color-navy);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: var(--rule-strong);
  background: var(--color-ember);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-medium) var(--ease-out);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.text-link:active {
  color: var(--color-cobalt);
}

.text-link:focus-visible,
.brand:focus-visible,
.button:focus-visible {
  outline: var(--rule-strong) solid var(--color-cobalt);
  outline-offset: var(--space-3xs);
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  border: var(--rule-strong) solid var(--color-cobalt);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-cobalt);
  box-shadow: 0 0.35rem 0 var(--color-navy);
  color: var(--color-paper);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.button:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  box-shadow: 0 0.5rem 0 var(--color-amber);
  transform: translateY(-0.125rem);
}

.button:active {
  box-shadow: 0 0.15rem 0 var(--color-navy);
  transform: translateY(0.125rem);
}

.button[aria-disabled="true"],
.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  pointer-events: none;
}

.button[data-state="loading"] {
  cursor: progress;
  opacity: 0.72;
}

.button.is-error {
  background: var(--color-ember);
  border-color: var(--color-ember);
}

.button.is-success {
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.button--warm {
  border-color: var(--color-ember);
  background: var(--color-amber);
  box-shadow: 0 0.35rem 0 var(--color-navy);
  color: var(--color-navy);
}

.button--warm:hover {
  border-color: var(--color-paper);
  background: var(--color-paper);
  color: var(--color-navy);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  border-bottom: var(--rule-hairline) solid var(--color-rule);
  padding-block-start: var(--space-2xl);
  padding-block-end: var(--space-3xl);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: min(31vw, 29rem);
  height: 100%;
  background: var(--color-soft-blue);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.45fr);
  align-items: center;
  gap: clamp(var(--space-xl), 7vw, var(--space-4xl));
}

.audience-line {
  margin-bottom: var(--space-lg);
  color: var(--color-cobalt);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero h1 {
  max-width: 100%;
  margin-bottom: var(--space-lg);
  font-size: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.hero-deck {
  max-width: 41rem;
  margin-bottom: var(--space-lg);
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}

.hero-mark {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(var(--space-md), 4vw, var(--space-xl));
  border-radius: var(--radius-md);
  background: var(--color-navy);
  box-shadow: 1rem 1rem 0 var(--color-amber);
}

.hero-mark::before {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  bottom: var(--space-sm);
  width: var(--rule-strong);
  background: linear-gradient(var(--color-ember), var(--color-amber));
  content: "";
}

.hero-mark img {
  width: 100%;
  border-radius: var(--radius-sm);
}

.hero-mark figcaption {
  margin-top: var(--space-md);
  color: var(--color-paper);
  font-size: var(--text-sm);
  font-weight: 700;
}

.framework {
  padding-block: var(--space-4xl);
  background: var(--color-paper);
}

.framework-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(var(--space-xl), 8vw, var(--space-4xl));
}

.framework-intro {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}

.framework h2,
.video-copy h2,
.section-heading,
.about-heading h2,
.faith-title {
  font-size: var(--text-3xl);
}

.framework-intro p {
  max-width: 30rem;
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.framework-coda {
  padding-left: var(--space-md);
  border-left: var(--rule-strong) solid var(--color-amber);
  color: var(--color-navy) !important;
  font-weight: 700;
}

.steps {
  border-top: var(--rule-strong) solid var(--color-navy);
}

.step {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: var(--space-lg);
  padding-block: var(--space-xl);
  border-bottom: var(--rule-hairline) solid var(--color-rule);
}

.step-number {
  color: var(--color-ember);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1;
}

.step h3 {
  margin-bottom: var(--space-sm);
  font-size: var(--text-2xl);
}

.step p {
  max-width: var(--measure-copy);
  margin-bottom: var(--space-sm);
  color: var(--color-muted);
}

.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-sm);
  margin: var(--space-md) 0 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  padding-bottom: var(--space-3xs);
  border-bottom: var(--rule-strong) solid var(--color-amber);
  color: var(--color-navy);
  font-size: var(--text-sm);
  font-weight: 700;
}

.video-section {
  padding-block: var(--space-4xl);
  background: var(--color-navy);
  color: var(--color-paper);
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.55fr) minmax(0, 1.45fr);
  align-items: end;
  gap: clamp(var(--space-xl), 7vw, var(--space-4xl));
}

.video-copy h2 {
  margin-bottom: var(--space-md);
  color: var(--color-paper);
}

.video-copy p {
  max-width: 26rem;
  color: var(--color-paper);
  font-size: var(--text-lg);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  min-width: 0;
  border: var(--rule-strong) solid var(--color-paper);
  box-shadow: var(--space-md) var(--space-md) 0 var(--color-ember);
  background: var(--color-paper);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.next-step {
  padding-block: var(--space-4xl);
  background: var(--color-soft-warm);
}

.next-step-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(var(--space-xl), 7vw, var(--space-4xl));
}

.next-step-copy {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}

.next-step-copy > p:first-child,
.workbook-copy > p:first-child {
  margin-bottom: var(--space-xs);
  color: var(--color-ember);
  font-size: var(--text-sm);
  font-weight: 700;
}

.next-step-copy h2 {
  margin-bottom: var(--space-xs);
  color: var(--color-cobalt);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.next-step-copy h3,
.workbook-copy h2 {
  margin-bottom: var(--space-lg);
  font-size: var(--text-3xl);
}

.next-step-copy p:last-child,
.workbook-copy p:last-child {
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.calendar-wrap {
  min-width: 0;
  border-top: var(--rule-strong) solid var(--color-cobalt);
  background: var(--color-paper);
  box-shadow: var(--space-sm) var(--space-sm) 0 var(--color-amber);
}

.calendar-wrap iframe {
  width: 100%;
  min-height: 43rem;
  border: 0;
}

.workbook {
  padding-block: var(--space-4xl);
  background: var(--color-soft-blue);
  color: var(--color-navy);
}

.workbook-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(var(--space-xl), 7vw, var(--space-4xl));
}

.workbook-copy > p:first-child,
.workbook-copy h2 {
  color: var(--color-cobalt);
}

.workbook-copy p:last-child {
  color: var(--color-muted);
}

.workbook-form {
  min-width: 0;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  background: var(--color-paper);
  box-shadow: var(--space-sm) var(--space-sm) 0 var(--color-navy);
}

.workbook-form iframe {
  width: 100%;
  min-height: 30rem;
  border: 0;
  border-radius: var(--radius-sm);
}

.about {
  padding-block: var(--space-4xl);
  background: var(--color-paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 0.48fr) minmax(0, 1.52fr);
  gap: clamp(var(--space-xl), 9vw, var(--space-4xl));
}

.about-heading {
  position: relative;
}

.about-heading::after {
  display: block;
  width: 5rem;
  height: var(--rule-strong);
  margin-top: var(--space-lg);
  background: linear-gradient(90deg, var(--color-ember), var(--color-amber));
  content: "";
}

.about-copy {
  max-width: var(--measure-copy);
}

.about-copy p {
  margin-bottom: var(--space-md);
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.about-signoff {
  margin-top: var(--space-xl);
  color: var(--color-cobalt) !important;
  font-family: var(--font-display);
  font-size: var(--text-2xl) !important;
  line-height: 1.1;
}

.about-cta {
  margin-top: var(--space-xl);
}

.faith {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: var(--color-paper);
}

.faith-statement,
.faith-practice {
  padding: clamp(var(--space-xl), 7vw, var(--space-4xl));
}

.faith-statement {
  display: flex;
  min-height: 31rem;
  flex-direction: column;
  justify-content: space-between;
  border-top: var(--rule-strong) solid var(--color-ember);
  background: var(--color-soft-warm);
  color: var(--color-navy);
}

.faith-title {
  max-width: 10ch;
}

.faith-statement p {
  max-width: 24rem;
  font-size: var(--text-lg);
  font-weight: 700;
}

.faith-practice {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-navy);
  color: var(--color-paper);
}

.faith-practice h2 {
  margin-bottom: var(--space-lg);
  color: var(--color-paper);
  font-size: var(--text-3xl);
}

.faith-practice p {
  max-width: 38rem;
  font-size: var(--text-lg);
}

.site-footer {
  padding-block: var(--space-2xl);
  border-top: var(--rule-hairline) solid var(--color-rule);
  background: var(--color-paper);
}

.footer-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-lg);
}

.footer-statement {
  max-width: 18ch;
  margin: 0;
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.05;
}

.footer-meta {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
  text-align: right;
}

@media (max-width: 62rem) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .framework-grid,
  .video-layout,
  .next-step-grid,
  .workbook-grid,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero::before {
    width: 32%;
  }

  .hero-mark {
    width: min(100%, 30rem);
  }

  .framework-intro,
  .next-step-copy {
    position: static;
  }

  .video-copy p,
  .next-step-copy p:last-child,
  .workbook-copy p:last-child {
    max-width: var(--measure-copy);
  }
}

@media (max-width: 48rem) {
  :root {
    --header-height: 4.25rem;
  }

  .shell {
    width: min(calc(100% - (var(--space-sm) * 2)), var(--measure-wide));
  }

  .nav-actions .text-link {
    display: none;
  }

  .hero,
  .framework,
  .video-section,
  .next-step,
  .workbook,
  .about {
    padding-block: var(--space-3xl);
  }

  .hero {
    padding-block-start: var(--space-2xl);
    padding-block-end: var(--space-3xl);
  }

  .hero::before {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 27%;
  }

  .hero-grid {
    gap: var(--space-2xl);
  }

  .step {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: var(--space-sm);
  }

  .video-frame {
    box-shadow: var(--space-xs) var(--space-xs) 0 var(--color-ember);
  }

  .calendar-wrap,
  .workbook-form {
    box-shadow: var(--space-xs) var(--space-xs) 0 var(--color-amber);
  }

  .faith {
    grid-template-columns: minmax(0, 1fr);
  }

  .faith-statement {
    min-height: 24rem;
  }
}

@media (max-width: 30rem) {
  .brand span {
    display: none;
  }

  .nav-actions {
    gap: var(--space-xs);
  }

  .nav-actions .button {
    padding-inline: var(--space-sm);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .step {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-number {
    font-size: var(--text-xl);
  }

  .calendar-wrap iframe {
    min-height: 46rem;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: var(--dur-fast) !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: var(--dur-fast) !important;
  }

  .button:hover,
  .button:active {
    transform: none;
  }
}
