@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #000000;
  --card: #121212;
  --text: #ffffff;
  --muted: #a3a3a3;
  --soft: #d4d4d4;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #1a56e8;
  --accent-hover: #2a66f0;
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
}

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

* {
  margin: 0;
}

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

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid #9db7ff;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 2;
  padding: 0.5rem 0.75rem;
  background: #fff;
  color: #000;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  width: min(100% - 2rem, 32.5rem);
  margin-inline: auto;
  padding-block: 1.15rem 2.75rem;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.identity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
}

.avatar {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border-radius: 999px;
  object-fit: cover;
  object-position: 46% 18%;
  background: #111;
}

.avatar-mark {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

h1 {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.identity-meta {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.icon-nav {
  display: flex;
  gap: 0.45rem;
  flex: none;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
}

.icon-btn:hover {
  border-color: var(--accent);
  background: rgba(26, 86, 232, 0.18);
}

main {
  display: grid;
  gap: 1.15rem;
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
}

.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.card {
  container-type: inline-size;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.15rem;
}

.card h2,
.faith h2,
.kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.card h2 {
  margin-bottom: 1rem;
}

.proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.25rem;
  margin-bottom: 1.15rem;
  padding: 0;
  list-style: none;
}

@container (min-width: 440px) {
  .proof {
    grid-template-columns: 1fr 1fr;
  }
}

.proof-value {
  display: block;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.proof-label {
  display: block;
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.35;
  text-wrap: pretty;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 3.625rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-hover);
}

.arrow {
  display: block;
}

.also {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.1rem;
  margin-top: 0.85rem;
}

.text-link,
.footer-link {
  color: #fff;
  font-size: 0.875rem;
  text-underline-offset: 0.18em;
}

.text-link:hover,
.footer-link:hover {
  color: #b9ccff;
}

.timeline {
  display: grid;
  gap: 1.6rem;
  padding: 0;
  list-style: none;
}

.timeline h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.timeline h3 a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.points {
  padding-left: 1.05rem;
  color: var(--soft);
  font-size: 0.9375rem;
}

.points li + li {
  margin-top: 0.4rem;
}

.faith p {
  margin-top: 0.4rem;
  color: var(--soft);
  font-size: 0.9375rem;
}

.work-card h2 {
  margin: 0.4rem 0 0.45rem;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: none;
}

.work-copy {
  margin-bottom: 1rem;
  color: var(--soft);
  font-size: 0.9375rem;
}

.site-footer {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.footer-link {
  font-size: 0.8125rem;
  text-decoration: none;
}

.miss {
  margin: 0.35rem 0 0.8rem;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero,
.hero-copy,
.hero-actions {
  display: contents;
}

.hero-name {
  display: none;
}

@media (min-width: 768px) {
  .page {
    width: min(100% - 3rem, 60rem);
    padding-top: 2rem;
  }

  .hero {
    display: grid;
    gap: 1.4rem;
    width: min(100%, 40rem);
    margin-inline: auto;
  }

  .tagline {
    font-size: 1.85rem;
  }

  .background.card {
    background: transparent;
    border: 0;
    padding: 0;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
  }

  .timeline > li {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 1.25rem 1.2rem 1.35rem;
  }

  .work-card {
    padding: 1.6rem 1.7rem;
  }
}

@media (min-width: 1024px) {
  .page {
    width: min(100% - 4.5rem, 75rem);
    padding-top: 1.85rem;
    padding-bottom: 4.5rem;
  }

  .bar {
    margin-bottom: 2rem;
  }

  main {
    gap: 4.25rem;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 45%) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4.25rem);
    align-items: center;
    width: 100%;
    margin: 0;
  }

  .hero-photo img {
    border-radius: 1.5rem;
  }

  .hero-copy {
    display: grid;
    align-content: center;
    gap: 1.45rem;
  }

  .hero-name {
    display: block;
    font-size: clamp(3.25rem, 4.6vw, 4.75rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.92;
  }

  .tagline {
    font-size: clamp(2.15rem, 2.7vw, 2.85rem);
    line-height: 1.18;
  }

  .proof-card {
    background: transparent;
    border: 0;
    padding: 0;
  }

  .proof {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 2rem;
    margin-bottom: 0.35rem;
  }

  .proof-value {
    font-size: 1.85rem;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.35rem;
    margin-top: 0.85rem;
  }

  .hero-actions .button {
    width: auto;
    min-width: 16rem;
    min-height: 3.75rem;
    padding-inline: 1.85rem;
  }

  .hero-actions .also {
    margin-top: 0;
    justify-content: flex-start;
  }

  .background.card h2 {
    margin-bottom: 1.15rem;
  }

  .timeline {
    gap: 1.25rem;
  }

  .timeline > li {
    padding: 1.5rem 1.45rem 1.6rem;
  }

  .faith {
    padding-block: 0.25rem;
  }

  .faith p {
    max-width: 46rem;
    color: #f3f3f3;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.55rem, 2.1vw, 2.05rem);
    line-height: 1.28;
  }

  .work-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 2.5rem;
    align-items: center;
    padding: 2.35rem 2.6rem;
  }

  .work-card h2,
  .work-copy {
    grid-column: 1;
  }

  .work-card h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(2.15rem, 3vw, 2.85rem);
  }

  .work-copy {
    margin: 0;
    font-size: 1.0625rem;
  }

  .work-card .button {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: auto;
    min-width: 16rem;
    min-height: 3.75rem;
    padding-inline: 1.85rem;
  }

  .site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.75rem;
  }
}

@media (max-width: 360px) {
  .tagline {
    font-size: 1.3rem;
  }
}

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