:root {
  --ink: #10100d;
  --ink-soft: #3c3a34;
  --paper: #f5f1e8;
  --paper-warm: #fbf8f1;
  --stone: #6f766d;
  --teal: #0e6e70;
  --teal-dark: #0a484d;
  --gold: #c89434;
  --gold-soft: #ead7a6;
  --line: rgba(16, 16, 13, 0.14);
  --shadow: 0 22px 70px rgba(9, 26, 28, 0.22);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)),
    var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fffaf0;
  background: linear-gradient(180deg, rgba(11, 13, 12, 0.72), rgba(11, 13, 12, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 0.98rem;
  letter-spacing: 0;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 250, 240, 0.74);
  font-size: 0.72rem;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 30px);
  font-size: 0.9rem;
  font-weight: 700;
}

nav a {
  color: rgba(255, 250, 240, 0.86);
}

nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #121713;
  color: #fffaf0;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 9, 9, 0.86) 0%, rgba(6, 9, 9, 0.62) 38%, rgba(6, 9, 9, 0.18) 70%),
    linear-gradient(0deg, rgba(6, 9, 9, 0.82) 0%, rgba(6, 9, 9, 0.12) 44%, rgba(6, 9, 9, 0.56) 100%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  max-width: calc(100% - 36px);
  min-width: 0;
  margin: 0 0 clamp(46px, 9vh, 92px) clamp(18px, 7vw, 96px);
  padding-top: 140px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 9vw, 7.4rem);
  line-height: 0.92;
  overflow-wrap: normal;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.35rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.05rem;
}

p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 250, 240, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions,
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 19px;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #16130c;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fffaf0;
  background: rgba(255, 255, 255, 0.08);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 104px) 0;
}

.scripture {
  border-left: 4px solid var(--gold);
  padding-left: clamp(22px, 4vw, 38px);
}

.scripture p {
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.55rem);
  line-height: 1.18;
}

.scripture span {
  color: var(--teal-dark);
  font-weight: 800;
}

.intro-copy h2 {
  margin-bottom: 16px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 9vw, 112px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(32px, 6vw, 82px);
}

.split > div:first-child {
  position: sticky;
  top: 100px;
  align-self: start;
}

.section-kicker {
  color: var(--teal);
}

.services {
  display: grid;
  gap: 16px;
}

.services article,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 16px 48px rgba(38, 46, 38, 0.08);
}

.services article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
  padding: clamp(20px, 4vw, 32px);
}

.services span {
  grid-row: 1 / span 2;
  color: var(--gold);
  font-weight: 900;
}

.services h3,
.services p {
  grid-column: 2;
}

.services h3,
.timeline h3 {
  margin-bottom: 8px;
  color: var(--ink);
}

.services p,
.timeline p,
.mission p,
.contact p {
  margin-bottom: 0;
}

.process-band {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background: #172322;
  color: #fffaf0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.process-band h2,
.process-band h3,
.process-band p {
  color: #fffaf0;
}

.process-band .section-kicker {
  color: var(--gold-soft);
}
.process-band .section-heading .button {
  margin-top: 10px;
}

.story-modal {
  width: min(900px, calc(100% - 36px));
  max-height: min(760px, calc(100svh - 36px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  color: var(--ink);
}

.story-modal::backdrop {
  background: rgba(8, 13, 13, 0.68);
  backdrop-filter: blur(6px);
}

.story-modal-panel {
  position: relative;
  max-height: min(760px, calc(100svh - 36px));
  overflow: auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(16, 16, 13, 0.16);
  border-radius: 8px;
  background: var(--paper-warm);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.story-modal-close-form {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  height: 0;
}

.story-modal-close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.story-modal h2 {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4rem);
}

.story-modal h3 {
  margin: 28px 0 8px;
  color: var(--teal-dark);
  font-size: 1rem;
  text-transform: uppercase;
}

.story-modal-body {
  max-width: 760px;
}

.story-modal-body p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.78;
}

.story-modal-body p:last-child {
  margin-bottom: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline article {
  min-height: 286px;
  padding: 26px;
  border-color: rgba(255, 250, 240, 0.16);
  background: rgba(255, 250, 240, 0.07);
  box-shadow: none;
}

.timeline h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.55rem;
}

.timeline p {
  color: rgba(255, 250, 240, 0.78);
  font-size: 0.95rem;
}

.redeemer {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.redeemer p {
  padding-top: 10px;
  font-size: clamp(1.08rem, 1.7vw, 1.24rem);
}

.mission {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(14, 110, 112, 0.13), rgba(200, 148, 52, 0.18)),
    var(--paper-warm);
}

.mission-card {
  max-width: 940px;
}

.mission h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.75rem);
}

.contact {
  justify-content: space-between;
  gap: 28px;
}

.contact > div {
  max-width: 680px;
}

.contact .button-primary {
  flex: 0 0 auto;
  box-shadow: var(--shadow);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    margin-inline: 18px;
  }

  .intro,
  .split,
  .redeemer {
    grid-template-columns: 1fr;
  }

  .split > div:first-child {
    position: static;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(2.05rem, 9vw, 3.1rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .hero {
    min-height: 86svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(6, 9, 9, 0.9), rgba(6, 9, 9, 0.56)),
      linear-gradient(0deg, rgba(6, 9, 9, 0.84), rgba(6, 9, 9, 0.24));
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .intro {
    padding-top: 42px;
  }

  .services article {
    grid-template-columns: 1fr;
  }

  .services span,
  .services h3,
  .services p {
    grid-column: auto;
    grid-row: auto;
  }

  .services span {
    margin-bottom: 12px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline article {
    min-height: auto;
  }
  .story-modal {
    width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
  }

  .story-modal-panel {
    max-height: calc(100svh - 24px);
    padding: 24px;
  }

  .story-modal-close {
    width: 38px;
    height: 38px;
  }

  .contact .button-primary {
    width: 100%;
  }

  footer {
    display: block;
  }

  footer p + p {
    margin-top: 8px;
  }
}
