:root {
  --ink: #17211d;
  --ink-soft: #24342d;
  --jade: #1d554b;
  --jade-light: #347467;
  --gold: #c99a3d;
  --gold-light: #e4c77d;
  --parchment: #f2ead9;
  --parchment-deep: #ded0b5;
  --stone: #c9bea7;
  --white: #fffdf7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", Arial, sans-serif;
  --shadow: 0 24px 70px rgba(14, 25, 21, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font: 400 1rem/1.7 var(--sans);
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--jade), var(--gold), var(--jade));
  content: "";
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-200%);
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 4px;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand img {
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.brand span {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font: 400 clamp(1rem, 2vw, 1.3rem)/1.1 var(--serif);
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: 0.2rem;
  color: var(--gold-light);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.primary-nav a {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 1px;
  background: var(--gold-light);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(900px, 100svh);
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero__art,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__art {
  background: url("/assets/images/scripture-realized-nephite-christ-hero.jpg")
    57% center / cover no-repeat;
  transform: scale(1.01);
}

.hero__shade {
  background:
    linear-gradient(
      90deg,
      rgba(11, 19, 17, 0.97) 0%,
      rgba(11, 19, 17, 0.82) 31%,
      rgba(11, 19, 17, 0.2) 62%,
      rgba(11, 19, 17, 0.06) 100%
    ),
    linear-gradient(0deg, rgba(10, 18, 15, 0.55) 0%, transparent 42%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(48rem, 100%);
  padding: 10rem clamp(1.5rem, 8vw, 8rem) 7rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.3rem;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.8rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow--dark {
  color: var(--jade);
}

.hero h1 {
  max-width: 10ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 6.8vw, 6.8rem);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero__intro {
  max-width: 38rem;
  margin-bottom: 2.25rem;
  color: rgba(255, 255, 255, 0.77);
  font: 400 clamp(1.05rem, 1.6vw, 1.3rem)/1.7 var(--serif);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

.button--gold {
  background: var(--gold);
  color: #172018;
}

.button--gold:hover,
.button--gold:focus-visible {
  background: var(--gold-light);
}

.text-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.text-link span {
  padding-left: 0.4rem;
  color: var(--gold-light);
}

.hero__marker {
  position: absolute;
  z-index: 3;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: 2rem;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transform: rotate(45deg);
}

.hero__marker span {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
}

.section {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 8vw, 8rem);
}

.section-heading {
  width: min(52rem, 100%);
  margin: 0 auto clamp(3rem, 7vw, 5rem);
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading .eyebrow::after {
  width: 2.8rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-heading h2,
.invitation h2,
.connect h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 5vw, 5rem);
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  max-width: 42rem;
  margin: 0 auto;
  color: #5d655e;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.witnesses {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(242, 234, 217, 0.93), rgba(242, 234, 217, 0.93)),
    repeating-linear-gradient(
      45deg,
      transparent 0 24px,
      rgba(29, 85, 75, 0.05) 24px 25px
    );
}

.witnesses::before,
.witnesses::after {
  position: absolute;
  width: 14rem;
  height: 14rem;
  border: 1px solid rgba(29, 85, 75, 0.14);
  content: "";
  transform: rotate(45deg);
}

.witnesses::before {
  top: -9rem;
  left: -7rem;
}

.witnesses::after {
  right: -7rem;
  bottom: -9rem;
}

.witness-grid {
  position: relative;
  display: grid;
  width: min(76rem, 100%);
  margin: 0 auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.scripture-card {
  position: relative;
  min-height: 31rem;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.scripture-card--bible {
  border-top: 5px solid var(--gold);
}

.scripture-card--mormon {
  border-top: 5px solid var(--jade);
}

.scripture-card::after {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(23, 33, 29, 0.09);
  content: "";
  transform: rotate(45deg);
}

.scripture-card__number {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  color: rgba(23, 33, 29, 0.07);
  font: 400 8rem/1 var(--serif);
}

.scripture-card__label,
.pillar-number {
  color: var(--jade);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scripture-card h3 {
  max-width: 8ch;
  margin: 3.5rem 0 3rem;
  font-size: clamp(2.5rem, 4vw, 4rem);
}

blockquote {
  margin: 0;
}

blockquote p {
  color: #525a54;
  font: italic 400 clamp(1.05rem, 1.8vw, 1.3rem)/1.7 var(--serif);
}

blockquote cite {
  color: var(--gold);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.witness-seal {
  position: relative;
  z-index: 2;
  display: grid;
  width: 5rem;
  height: 5rem;
  margin: 0 -0.75rem;
  place-items: center;
  border: 8px solid var(--parchment);
  background: var(--jade);
  color: var(--gold-light);
  transform: rotate(45deg);
}

.witness-seal span {
  font-size: 1.2rem;
  transform: rotate(-45deg);
}

.approach {
  display: grid;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 8vw, 8rem);
  grid-template-columns: minmax(18rem, 0.8fr) minmax(30rem, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
  background: var(--ink);
  color: var(--white);
}

.approach__intro {
  align-self: center;
}

.approach__intro h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: -0.04em;
}

.approach__intro > p:last-child {
  color: rgba(255, 255, 255, 0.65);
}

.pillars {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pillars article {
  position: relative;
  display: grid;
  padding: 2rem 3rem 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  grid-template-columns: 4rem 1fr;
  column-gap: 1rem;
}

.pillar-icon {
  grid-row: 1 / 4;
  color: var(--gold-light);
  font-size: 2rem;
}

.pillars h3 {
  margin: 0.3rem 0 0.6rem;
  font-size: 2rem;
}

.pillars article > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
}

.origin-story {
  position: relative;
  padding-bottom: clamp(5rem, 10vw, 9rem);
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 253, 247, 0.96), rgba(255, 253, 247, 0.96)),
    repeating-linear-gradient(
      45deg,
      transparent 0 28px,
      rgba(29, 85, 75, 0.045) 28px 29px
    );
}

.origin-story__visual {
  position: relative;
  min-height: 27rem;
  overflow: hidden;
  background: var(--ink);
}

.origin-story__visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(15, 23, 20, 0.55), transparent 42%),
    linear-gradient(90deg, rgba(15, 23, 20, 0.18), transparent 35% 65%, rgba(15, 23, 20, 0.18));
  content: "";
}

.origin-story__visual img {
  width: 100%;
  height: clamp(27rem, 47vw, 48rem);
  object-fit: cover;
  object-position: center;
}

.origin-story__content {
  position: relative;
  z-index: 2;
  width: min(52rem, calc(100% - 3rem));
  margin: calc(clamp(3rem, 7vw, 5rem) * -1) auto 0;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5.5rem);
  border-top: 5px solid var(--gold);
  background: var(--white);
  box-shadow: var(--shadow);
}

.origin-story__content::before {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(29, 85, 75, 0.18);
  content: "";
  transform: rotate(45deg);
}

.origin-story h2 {
  max-width: 11ch;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  font-size: clamp(3rem, 6vw, 5.6rem);
  letter-spacing: -0.04em;
}

.origin-story__content > p {
  margin-bottom: 1.45rem;
  color: #4f5a53;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.85;
}

.origin-story__content > .origin-story__beat {
  margin: 2rem 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.48rem);
  line-height: 1.55;
}

.origin-story__content > .origin-story__turn {
  position: relative;
  margin: clamp(3rem, 7vw, 5rem) 0;
  padding: 2.2rem 0 2.2rem 2rem;
  border-left: 3px solid var(--gold);
  color: var(--jade);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.25;
}

.origin-story__content > p:last-child {
  margin-bottom: 0;
}

.invitation {
  display: grid;
  grid-template-columns: auto 1fr minmax(16rem, 0.55fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  background: var(--parchment-deep);
}

.invitation__symbol {
  display: grid;
  width: 7rem;
  height: 7rem;
  place-items: center;
  border: 1px solid rgba(29, 85, 75, 0.35);
  transform: rotate(45deg);
}

.invitation__symbol span {
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid var(--gold);
}

.invitation h2 {
  margin-bottom: 0;
}

.invitation > p {
  margin-bottom: 0;
  color: #566058;
  font-family: var(--serif);
  font-size: 1.08rem;
}

.connect {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 8vw, 8rem);
  background: var(--jade);
  color: var(--white);
}

.connect__heading {
  width: min(48rem, 100%);
  margin-bottom: 3rem;
}

.connect__heading > p:last-child {
  color: rgba(255, 255, 255, 0.65);
}

.social-links {
  display: grid;
  width: min(76rem, 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  grid-template-columns: 1fr 1fr;
}

.social-links a {
  display: grid;
  min-width: 0;
  padding: 1.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: background 180ms ease;
}

.social-links a:nth-child(even) {
  border-right: 0;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.social-icon {
  width: 2.3rem;
  height: 2.3rem;
  padding: 0.35rem;
  background: var(--white);
  object-fit: contain;
}

.social-qr {
  display: none;
  justify-self: end;
  width: 92.5px;
  height: 92.5px;
  padding: 0;
  background: var(--white);
  object-fit: contain;
}

.social-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow-wrap: anywhere;
}

.social-copy strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
}

.social-platform {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold-light);
  font: 700 0.58rem/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-handle {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.58);
  font: 400 0.72rem/1.4 var(--sans);
  letter-spacing: 0.03em;
}

.social-links b {
  color: var(--gold-light);
  font-weight: 400;
}

@media (min-width: 1200px) {
  .social-links a {
    grid-template-columns: 92.5px minmax(0, 1fr) 92.5px auto;
  }

  .social-icon {
    width: 92.5px;
    height: 92.5px;
    padding: 0;
    background: none;
    object-fit: none;
  }

  .social-qr {
    display: block;
  }
}

.site-footer {
  display: grid;
  padding: 2.5rem clamp(1.5rem, 8vw, 8rem);
  background: #0f1714;
  color: rgba(255, 255, 255, 0.52);
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  font-size: 0.72rem;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1rem;
}

.footer-brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}

.copyright {
  text-align: right;
}

@media (max-width: 900px) {
  .primary-nav {
    display: none;
  }

  .hero__art {
    background-position: 63% center;
  }

  .hero__shade {
    background: linear-gradient(
      90deg,
      rgba(11, 19, 17, 0.94) 0%,
      rgba(11, 19, 17, 0.7) 55%,
      rgba(11, 19, 17, 0.15) 100%
    );
  }

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

  .witness-seal {
    margin: -0.5rem auto;
  }

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

  .invitation {
    grid-template-columns: auto 1fr;
  }

  .invitation > p {
    grid-column: 2;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer > p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 1180px) {
  html:lang(es-419) .primary-nav,
  html:lang(pt-BR) .primary-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 1rem 1.25rem;
  }

  .brand img {
    width: 2.8rem;
    height: 2.8rem;
  }

  .hero {
    min-height: 48rem;
    align-items: end;
  }

  .hero__art {
    background-position: 82% center;
  }

  .hero__shade {
    background:
      linear-gradient(
        0deg,
        rgba(11, 19, 17, 0.98) 10%,
        rgba(11, 19, 17, 0.67) 62%,
        rgba(11, 19, 17, 0.12) 100%
      ),
      linear-gradient(90deg, rgba(11, 19, 17, 0.45), transparent);
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
    padding: 10rem 1.25rem 5rem;
    overflow: hidden;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .hero__intro {
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
  }

  .hero__marker {
    display: none;
  }

  .scripture-card {
    min-height: 0;
  }

  .approach {
    gap: 2rem;
  }

  .pillars article {
    padding-right: 0;
    grid-template-columns: 2.7rem 1fr;
  }

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

  .origin-story__visual {
    min-height: 23rem;
  }

  .origin-story__visual img {
    height: 23rem;
    object-position: 46% center;
  }

  .origin-story__content {
    width: calc(100% - 2rem);
    margin-top: -2.5rem;
    padding: 3rem 1.5rem;
  }

  .origin-story__content::before {
    top: 1.4rem;
    right: 1.4rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .origin-story h2 {
    max-width: 9ch;
    padding-right: 1.5rem;
  }

  .origin-story__content > .origin-story__turn {
    padding-left: 1.25rem;
  }

  .invitation__symbol {
    width: 4rem;
    height: 4rem;
  }

  .invitation > p {
    grid-column: 1;
  }

  .social-links {
    grid-template-columns: 1fr;
  }

  .social-links a,
  .social-links a:nth-child(even) {
    border-right: 0;
  }

  .social-links a {
    grid-template-columns: 2.8rem minmax(0, 1fr) auto;
    gap: 0.85rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .copyright {
    text-align: center;
  }
}

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

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