:root {
  color-scheme: dark;
  --ground: #0a0a0a;
  --surface: #111111;
  --surface-raised: #171717;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f7f7f7;
  --muted: #d0d0d0;
  --quiet: #bcbcbc;
  --content-width: 1200px;
  --page-pad: clamp(24px, 5vw, 72px);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--ground);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ground);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--ground);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.home-page {
  position: relative;
  isolation: isolate;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-180%);
  border-radius: 8px;
  background: #ffffff;
  color: #0a0a0a;
  font-size: 16px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(100%, 1440px);
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
  padding: 16px var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 36px);
}

.primary-nav a,
.footer-nav a,
.mobile-menu nav a {
  text-decoration: none;
}

.primary-nav > a:not(.button) {
  color: var(--muted);
  font-size: 16px;
  font-weight: 550;
}

.primary-nav > a:not(.button):hover,
.footer-nav a:hover,
.mobile-menu nav a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.button-primary {
  border-color: #ffffff;
  background: #ffffff;
  color: #0a0a0a;
}

.button-primary:hover {
  border-color: #dddddd;
  background: #dddddd;
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.mobile-menu {
  display: none;
}

.header-start {
  display: none;
}

main {
  display: block;
}

.hero {
  position: relative;
  display: grid;
  min-height: 690px;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  padding: 94px var(--page-pad) 72px;
  text-align: center;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 4% -10% -4%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 66px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent 0, #000000 17%, #000000 78%, transparent 100%);
  transform: perspective(650px) rotateX(58deg) scale(1.55);
  transform-origin: center bottom;
}

.hero-content {
  width: min(100%, 1000px);
}

.eyebrow {
  margin: 0 0 22px;
  color: #d5d5d5;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  margin: 0 auto;
  color: #ffffff;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-subhead {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-actions,
.close-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.work-strip {
  display: grid;
  gap: 18px;
  justify-items: center;
  margin-top: 72px;
}

.strip-label {
  margin: 0;
  color: var(--quiet);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.strip-names {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  color: #e5e5e5;
  font-size: 17px;
  font-weight: 600;
}

.strip-names span {
  white-space: nowrap;
}

.section {
  position: relative;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 112px var(--page-pad);
}

.section p {
  color: var(--muted);
}

.section h2,
.close-section h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-intro {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: 19px;
  line-height: 1.65;
}

.mission-section,
.faith-section {
  width: 100%;
  max-width: none;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 68px 68px;
}

.mission-section h2 {
  width: min(100%, 1120px);
  margin: 0 auto;
  color: #ffffff;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 580;
  letter-spacing: -0.04em;
  line-height: 1.18;
  text-align: center;
  text-wrap: balance;
}

.review-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(44px, 7vw, 92px);
}

.review-copy {
  position: sticky;
  top: 42px;
}

.review-copy .eyebrow,
.work-section .eyebrow,
.software-section .eyebrow,
.faith-section .eyebrow {
  margin-bottom: 20px;
}

.review-copy .section-intro {
  margin-bottom: 28px;
}

.text-link {
  display: inline-block;
  color: #ffffff;
  font-size: 17px;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link:hover {
  color: #dddddd;
}

.growth-map-line {
  max-width: 470px;
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.55;
}

.growth-map-line a {
  color: #ffffff;
  font-weight: 650;
}

.review-board {
  position: relative;
  min-height: 0;
  padding: 0;
}

.review-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.review-card,
.record-card,
.work-card,
.step-card {
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(28, 28, 28, 0.99), rgba(15, 15, 15, 0.99));
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.46);
}

.review-card {
  min-height: 176px;
  padding: 22px 23px;
  background: linear-gradient(145deg, #1c1c1c, #0f0f0f);
}

.review-card:nth-child(2) {
  transform: translateY(12px);
}

.review-card:nth-child(3) {
  transform: translateY(-7px);
}

.review-card:nth-child(4) {
  transform: translateY(18px);
}

.review-card h3,
.work-card h3,
.step-card h3,
.record-card h3,
.more-projects h3 {
  margin: 0;
  color: #ffffff;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.review-card p,
.record-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.record-card {
  position: relative;
  z-index: 1;
  width: 90%;
  min-height: 250px;
  margin: -72px auto 0;
  padding: 120px 28px 26px;
  background: linear-gradient(145deg, #131313, #0b0b0b);
}

.record-card h3 {
  font-size: 21px;
}

.record-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 17px;
}

.record-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  padding: 6px 10px;
  background: #252525;
  color: #f0f0f0;
  font-size: 15px;
  line-height: 1.35;
}

.record-note {
  margin-top: 16px;
  color: #c7c7c7;
  font-size: 15px;
}

.no-rank {
  margin: 30px 0 0;
  color: #c7c7c7;
  font-size: 16px;
  line-height: 1.55;
}

.work-section {
  padding-top: 98px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.work-card {
  overflow: hidden;
  border-radius: 10px;
  background: #111111;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

.work-card-top {
  display: flex;
  min-height: 188px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  text-align: center;
}

.work-card-top h3 {
  max-width: 14ch;
  font-size: clamp(23px, 2.2vw, 30px);
  text-wrap: balance;
}

.work-card-body {
  padding: 22px 23px 25px;
}

.work-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.more-projects {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.more-projects h3 {
  font-size: 20px;
}

.project-names {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 16px 0 0;
  padding: 0;
  color: #c8c8c8;
  font-size: 16px;
  list-style: none;
}

.project-note {
  margin: 12px 0 0;
  color: var(--quiet);
  font-size: 15px;
}

.work-more-link {
  margin-top: 22px;
}

.software-section {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.software-section .section-intro {
  max-width: 800px;
}

.step-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.step-grid::before {
  position: absolute;
  top: 35px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.step-card {
  position: relative;
  z-index: 1;
  min-height: 180px;
  padding: 20px 19px;
  background: #111111;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.step-card h3 {
  font-size: 20px;
}

.step-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.software-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
}

.software-chips span {
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 8px 12px;
  color: #e2e2e2;
  font-size: 15px;
  line-height: 1.35;
}

.compliance-note {
  max-width: 850px;
  margin: 22px 0 0;
  color: #c7c7c7;
  font-size: 16px;
  line-height: 1.55;
}

.software-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
}

.faith-section {
  text-align: center;
}

.faith-inner {
  width: min(100%, 900px);
  margin: 0 auto;
}

.faith-section h2 {
  font-size: clamp(38px, 5.5vw, 68px);
}

.scripture-quote {
  margin: 35px 0 0;
  color: #eeeeee;
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.65;
  text-wrap: pretty;
}

.scripture-quote cite {
  display: block;
  margin-top: 12px;
  color: #c7c7c7;
  font-size: 16px;
  font-style: normal;
}

.small-caps {
  font-variant-caps: all-small-caps;
}

.faith-body {
  max-width: 760px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.faith-welcome {
  margin: 22px 0 0;
  color: #dddddd;
  font-size: 17px;
}

.faith-display {
  margin: 36px 0 0;
  color: #ffffff;
  font-size: clamp(42px, 6.6vw, 76px);
  font-weight: 630;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.bill-commitment {
  max-width: 740px;
  margin: 22px auto 0;
  color: #d0d0d0;
  font-size: 17px;
  line-height: 1.6;
}

.faith-link {
  margin-top: 22px;
}

.close-section {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 112px var(--page-pad) 122px;
  text-align: center;
}

.close-section h2 {
  font-size: clamp(40px, 6vw, 72px);
}

.close-section > p {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 19px;
}

.site-footer {
  display: flex;
  width: min(100%, 1440px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 28px var(--page-pad) 38px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: #e5e5e5;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
  color: #c8c8c8;
  font-size: 15px;
}

.footer-nav a:focus-visible,
.primary-nav a:focus-visible,
.mobile-menu a:focus-visible {
  border-radius: 3px;
}

@media (max-width: 900px) {
  .site-header {
    gap: 18px;
  }

  .primary-nav {
    gap: 18px;
  }

  .review-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .review-copy {
    position: static;
  }

  .review-board {
    width: min(100%, 760px);
    margin: 0 auto;
  }

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

  .work-card-top {
    min-height: 150px;
  }
}

@media (max-width: 720px) {
  :root {
    --page-pad: 22px;
  }

  .site-header {
    min-height: 72px;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-header > * {
    min-width: 0;
  }

  .brand {
    gap: 9px;
    font-size: 16px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .primary-nav {
    display: none;
  }

  .header-start {
    display: inline-flex;
    min-height: 42px;
    margin-left: auto;
    padding: 8px 14px;
    font-size: 16px;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    display: flex;
    min-height: 42px;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 7px 12px;
    color: var(--text);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    min-width: 250px;
    max-width: calc(100vw - var(--page-pad) - var(--page-pad));
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #151515;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  }

  .mobile-menu nav a {
    padding: 12px 16px;
    color: #eeeeee;
    font-size: 16px;
  }

  .mobile-menu nav a + a {
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: 0;
    align-content: start;
    padding: 86px var(--page-pad) 64px;
  }

  .hero::before {
    inset: 0;
    background-size: 62px 62px;
    mask-image: linear-gradient(to bottom, transparent 0, #000000 14%, #000000 88%, transparent 100%);
    transform: none;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(48px, 12vw, 68px);
    line-height: 1.02;
  }

  .hero-subhead {
    margin-top: 23px;
    font-size: 18px;
    line-height: 1.55;
  }

  .hero-actions,
  .close-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }

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

  .work-strip {
    gap: 14px;
    margin-top: 52px;
  }

  .strip-names {
    gap: 10px 18px;
    font-size: 16px;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section h2,
  .close-section h2 {
    font-size: clamp(35px, 9vw, 48px);
    line-height: 1.12;
  }

  .section-intro {
    margin-top: 18px;
    font-size: 18px;
  }

  .mission-section {
    padding-top: 76px;
    padding-bottom: 76px;
    background-size: 58px 58px;
  }

  .mission-section h2 {
    font-size: clamp(32px, 8vw, 40px);
    line-height: 1.2;
    text-align: left;
  }

  .review-board {
    min-height: 0;
    padding-bottom: 0;
  }

  .review-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .review-card,
  .review-card:nth-child(n) {
    min-height: 0;
    transform: none;
    padding: 19px 20px;
  }

  .review-card,
  .record-card {
    position: relative;
    isolation: isolate;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.78), 0 0 16px rgba(255, 255, 255, 0.06);
  }

  .review-card::after,
  .record-card::after {
    position: absolute;
    z-index: -1;
    inset: 5px -5px -5px 5px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #151515;
    content: "";
    pointer-events: none;
  }

  .review-card:nth-child(odd) {
    transform: translateX(-6px);
  }

  .review-card:nth-child(even) {
    transform: translateX(10px);
  }

  .review-card + .review-card {
    margin-top: 2px;
  }

  .record-card {
    position: relative;
    width: 100%;
    min-height: 0;
    margin: 18px 0 0;
    padding: 22px 20px;
    transform: translateX(6px);
  }

  .record-fields {
    gap: 8px;
  }

  .record-chip {
    padding: 6px 8px;
    font-size: 15px;
  }

  .growth-map-line,
  .no-rank,
  .compliance-note {
    font-size: 16px;
  }

  .work-grid {
    gap: 14px;
    margin-top: 32px;
  }

  .work-card-top {
    min-height: 126px;
  }

  .work-card-top h3 {
    font-size: 26px;
  }

  .work-card-body {
    padding: 18px 19px 21px;
  }

  .project-names {
    gap: 9px 18px;
  }

  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px;
  }

  .step-grid::before {
    display: none;
  }

  .step-card {
    min-height: 170px;
    padding: 17px 16px;
  }

  .step-card h3 {
    font-size: 19px;
  }

  .step-card p {
    font-size: 16px;
  }

  .software-chips {
    gap: 9px;
    margin-top: 23px;
  }

  .software-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .faith-section {
    padding-top: 78px;
    padding-bottom: 82px;
    background-size: 58px 58px;
  }

  .faith-section h2 {
    font-size: clamp(37px, 10vw, 52px);
  }

  .scripture-quote {
    margin-top: 28px;
    font-size: 20px;
  }

  .faith-body {
    margin-top: 25px;
    font-size: 18px;
  }

  .faith-display {
    margin-top: 30px;
    font-size: clamp(44px, 11vw, 58px);
  }

  .bill-commitment {
    font-size: 17px;
  }

  .close-section {
    padding-top: 78px;
    padding-bottom: 84px;
    text-align: left;
  }

  .close-section > p {
    margin: 18px 0 0;
    font-size: 18px;
  }

  .close-actions {
    justify-content: start;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding-top: 24px;
    padding-bottom: 30px;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 12px 18px;
  }
}

@media (max-width: 389px) {
  .site-header {
    gap: 6px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand {
    min-width: 0;
    gap: 6px;
    font-size: 14px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .brand span {
    min-width: 0;
  }

  .header-start {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 15px;
  }

  .mobile-menu summary {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 15px;
  }
}

@media (max-width: 359px) {
  .brand {
    font-size: 15px;
  }

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

  .project-names {
    display: grid;
    gap: 9px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
