:root {
  --ink: #07122b;
  --navy: #102047;
  --cream: #f7f1e6;
  --muted: #c9c0b2;
  --gold: #e7c98a;
  --gold-deep: #b8893e;
  --flame: #f07a1a;
  --line: rgba(231, 201, 138, 0.4);
  --gutter: clamp(1.25rem, 4vw, 4.25rem);
  --font: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: #07122b;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: var(--font);
  font-weight: 400;
  background:
    radial-gradient(
      ellipse 55% 42% at 92% 8%,
      rgba(240, 122, 26, 0.22),
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 36% at 8% 92%,
      rgba(16, 48, 110, 0.7),
      transparent 72%
    ),
    radial-gradient(
      ellipse 30% 28% at 62% 70%,
      rgba(184, 137, 62, 0.14),
      transparent 70%
    ),
    linear-gradient(168deg, #101c3c 0%, var(--ink) 46%, #160c12 100%);
  background-color: #07122b;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(247, 241, 230, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 241, 230, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(
    180deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  padding: 0.65rem 0.9rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 560;
}

.skip:focus {
  top: 1rem;
}

.top,
.connect {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  box-sizing: border-box;
  width: 100%;
  margin-inline: 0;
  padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
  background: #101c3c;
}

.top {
  padding-top: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.logo {
  width: min(280px, 62vw);
  height: auto;
}

.top-note {
  position: absolute;
  z-index: 5;
  top: calc(1.35rem + (min(280px, 62vw) * 66 / 357 - 1.2 * 0.78rem) / 2);
  right: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: stretch;
  width: min(1440px, 100%);
  min-height: calc(100vh - 8.5rem);
  margin-inline: auto;
}

.copy {
  padding: clamp(6rem, 5vh, 3.5rem) clamp(1.5rem, 3vw, 2.75rem) 2.75rem
    var(--gutter);
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 560;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 8ch;
  font-size: clamp(5.4rem, 11vw, 9.4rem);
  font-weight: 760;
  line-height: 0.78;
  letter-spacing: -0.055em;
}

h1 em {
  display: block;
  margin-top: 0.06em;
  color: var(--gold);
  font-style: normal;
  font-weight: 760;
}

.lede {
  max-width: 38rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.6;
}

.pastor {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  max-width: 16rem;
  font-size: 1.35rem;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 3px;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  transition:
    background-color 140ms ease,
    color 140ms ease,
    border-color 140ms ease;
}

.btn-gold {
  background: var(--gold);
  color: #1b1206;
}

.btn-gold:hover {
  background: #f4e2b8;
}

.btn-gold:active {
  background: var(--gold-deep);
}

.btn-ghost {
  border-color: rgba(231, 201, 138, 0.55);
  background: transparent;
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(231, 201, 138, 0.1);
}

.btn-ghost:active {
  background: rgba(231, 201, 138, 0.2);
}

.btn:focus-visible,
.connect a:focus-visible,
.conference a:focus-visible,
.skip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.conference {
  max-width: 32rem;
  margin-top: 1.75rem;
  padding: 1rem 0 1rem 1.05rem;
  border-left: 3px solid var(--flame);
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 7px,
      rgba(231, 201, 138, 0.035) 7px,
      rgba(231, 201, 138, 0.035) 8px
    ),
    linear-gradient(90deg, rgba(240, 122, 26, 0.16), rgba(7, 18, 43, 0) 78%);
}

.conference-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 560;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.conference h2 {
  margin: 0.3rem 0 0;
  font-size: 1.65rem;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.conference p:last-of-type {
  margin: 0.4rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.conference a {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--gold);
  font-weight: 560;
  text-underline-offset: 0.18em;
}

.conference a:hover {
  color: var(--cream);
}

.portrait {
  position: absolute;
  z-index: 0;
  top: 0;
  right: calc((100% - 100vw) / 2);
  bottom: 0;
  width: min(46vw, 720px);
  height: auto;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
}

.portrait img {
  display: block;
  width: 118%;
  max-width: none;
  height: 100%;
  margin-left: -6%;
  object-fit: cover;
  object-position: 50% 12%;
  filter: saturate(0.72) contrast(1.05);
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.2) 16%,
      #000 40%,
      #000 68%,
      transparent 90%
    ),
    radial-gradient(
      ellipse 145% 175% at 76% 52%,
      #000 36%,
      rgba(0, 0, 0, 0.55) 70%,
      transparent 100%
    );
  mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.2) 16%,
      #000 40%,
      #000 68%,
      transparent 90%
    ),
    radial-gradient(
      ellipse 145% 175% at 76% 52%,
      #000 36%,
      rgba(0, 0, 0, 0.55) 70%,
      transparent 100%
    );
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.connect {
  padding-top: 1rem;
  padding-bottom: 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0c1228;
}

.connect p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socials a {
  display: inline-flex;
  align-items: center;
  color: var(--cream);
  text-decoration: none;
}

.socials a svg {
  width: 1.2rem;
  height: 1.2rem;
}

.socials a:hover {
  color: var(--gold);
}

.socials .phone {
  margin-left: 0.35rem;
  padding-left: 1.15rem;
  border-left: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 560;
  letter-spacing: 0.01em;
}

@media (max-width: 860px) {
  .top {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .top-note {
    position: relative;
    top: auto;
    right: auto;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 0.9rem var(--gutter);
    background: #07122b;
    text-align: center;
  }

  .stage {
    display: block;
    min-height: calc(100svh - 8.5rem);
    overflow: hidden;
  }

  .copy {
    position: relative;
    z-index: 1;
    padding-right: var(--gutter);
    padding-bottom: 2rem;
  }

  h1 {
    font-size: clamp(3.15rem, 14vw, 4.1rem);
  }

  .lede {
    font-size: 0.95rem;
  }

  .pastor {
    font-size: 1.15rem;
  }

  .conference h2 {
    font-size: 1.4rem;
  }

  .conference p:last-of-type {
    font-size: 0.92rem;
  }

  .portrait {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    min-height: 0;
    z-index: 0;
    pointer-events: none;
  }

  .portrait img {
    width: 155%;
    height: 108%;
    max-width: none;
    margin-left: 0;
    object-position: 100% 6%;
    transform: translateX(18%);
    -webkit-mask-image: linear-gradient(
      180deg,
      transparent 0%,
      #000 16%,
      #000 70%,
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      transparent 0%,
      #000 16%,
      #000 70%,
      transparent 100%
    );
  }

  .portrait::after {
    background:
      linear-gradient(
        90deg,
        rgba(7, 18, 43, 0.88) 0%,
        rgba(7, 18, 43, 0.72) 55%,
        rgba(7, 18, 43, 0.5) 100%
      ),
      linear-gradient(
        180deg,
        rgba(7, 18, 43, 0.45),
        rgba(7, 18, 43, 0.25) 30%,
        rgba(7, 18, 43, 0.78)
      );
  }

  .connect {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }

  .socials .phone {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    flex-basis: 100%;
  }
}

body {
  background-size:
    140% 140%,
    120% 120%,
    110% 110%,
    100% 100%;
  animation: mesh-drift 18s ease-in-out infinite alternate;
}

.embers {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.embers span {
  position: absolute;
  bottom: -8%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #fff4d4,
    var(--flame) 45%,
    transparent 72%
  );
  filter: blur(0.3px);
  animation: ember-rise 7s linear infinite;
}

.embers span:nth-child(1) {
  left: 8%;
  animation-duration: 6.2s;
}
.embers span:nth-child(2) {
  left: 18%;
  animation-duration: 8.4s;
  animation-delay: 1.2s;
  width: 5px;
  height: 5px;
}
.embers span:nth-child(3) {
  left: 31%;
  animation-duration: 5.6s;
  animation-delay: 2.4s;
}
.embers span:nth-child(4) {
  left: 44%;
  animation-duration: 9s;
  animation-delay: 0.4s;
  width: 4px;
  height: 4px;
}
.embers span:nth-child(5) {
  left: 57%;
  animation-duration: 7.1s;
  animation-delay: 3s;
}
.embers span:nth-child(6) {
  left: 66%;
  animation-duration: 6.6s;
  animation-delay: 1.8s;
  width: 9px;
  height: 9px;
}
.embers span:nth-child(7) {
  left: 74%;
  animation-duration: 8s;
  animation-delay: 0.8s;
}
.embers span:nth-child(8) {
  left: 82%;
  animation-duration: 5.2s;
  animation-delay: 2.1s;
  width: 5px;
  height: 5px;
}
.embers span:nth-child(9) {
  left: 90%;
  animation-duration: 7.8s;
  animation-delay: 3.4s;
}
.embers span:nth-child(10) {
  left: 96%;
  animation-duration: 6.4s;
  animation-delay: 1s;
  width: 8px;
  height: 8px;
}

.logo {
  animation: arrive 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.top-note {
  animation: arrive 0.8s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow,
.lede,
.pastor,
.actions,
.conference {
  animation: arrive 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow {
  animation-delay: 0.12s;
}
h1 {
  animation: headline-in 1s 0.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}
h1 em {
  animation: soon-glow 2.8s 1s ease-in-out infinite;
}
.lede {
  animation-delay: 0.28s;
}
.pastor {
  animation-delay: 0.4s;
}
.actions {
  animation-delay: 0.5s;
}
.conference {
  animation-delay: 0.62s;
}
.conference-kicker {
  animation: kicker-pulse 2.2s ease-in-out infinite;
}
.portrait {
  animation: portrait-in 1.15s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.connect {
  animation: arrive 0.8s 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.socials a {
  animation: arrive 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.socials li:nth-child(1) a {
  animation-delay: 0.75s;
}
.socials li:nth-child(2) a {
  animation-delay: 0.84s;
}
.socials li:nth-child(3) a {
  animation-delay: 0.93s;
}
.socials li:nth-child(4) a {
  animation-delay: 1.02s;
}
.socials li:nth-child(5) a {
  animation-delay: 1.1s;
}

@keyframes mesh-drift {
  from {
    background-position:
      0% 0%,
      0% 100%,
      80% 40%,
      0 0;
  }
  to {
    background-position:
      20% 10%,
      10% 70%,
      60% 80%,
      0 0;
  }
}

@keyframes ember-rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  12% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-110vh) scale(0.4);
    opacity: 0;
  }
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes headline-in {
  from {
    opacity: 0;
    transform: translateY(48px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes soon-glow {
  0%,
  100% {
    text-shadow: 0 0 0 transparent;
    filter: brightness(1);
  }
  50% {
    text-shadow: 0 0 28px rgba(240, 122, 26, 0.55);
    filter: brightness(1.12);
  }
}

@keyframes kicker-pulse {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}

@keyframes portrait-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

  .btn,
  body,
  .logo,
  .top-note,
  .eyebrow,
  h1,
  h1 em,
  .lede,
  .pastor,
  .actions,
  .conference,
  .conference-kicker,
  .portrait,
  .connect,
  .socials a,
  .embers span {
    animation: none;
  }
}
