@font-face {
  font-family: "Vela Sans";
  src: url("/assets/fonts/velasans-300.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Vela Sans";
  src: url("/assets/fonts/velasans-400.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Vela Sans";
  src: url("/assets/fonts/velasans-500.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Forum";
  src: url("/assets/fonts/forum-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --black: #050504;
  --black-soft: #0b0a08;
  --ivory: #f0ece3;
  --ivory-dim: #bbb6ad;
  --gold: #b2944d;
  --gold-light: #e0c978;
  --line: rgba(224, 201, 120, 0.24);
  --container: 1060px;
  --display: "Forum", Georgia, serif;
  --body: "Vela Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
}

:focus-visible {
  outline: 1px solid var(--gold-light);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 16px;
  left: 16px;
  padding: 10px 16px;
  background: var(--ivory);
  color: var(--black);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  min-height: 78px;
  padding: 0 clamp(28px, 4vw, 68px);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition:
    background-color 240ms ease,
    border-color 240ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(5, 5, 4, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-brand,
.footer-brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 27px;
  letter-spacing: 0.08em;
}

.brand-ring {
  position: relative;
  display: block;
  width: clamp(92px, 12vw, 162px);
  flex: none;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    from -8deg,
    var(--gold-light) 0 21%,
    transparent 21% 29%,
    var(--gold) 29% 49%,
    transparent 49% 57%,
    var(--gold-light) 57% 77%,
    transparent 77% 85%,
    var(--gold) 85% 100%
  );
  -webkit-mask: radial-gradient(circle, transparent 0 42%, #000 43% 50%, transparent 51%);
  mask: radial-gradient(circle, transparent 0 42%, #000 43% 50%, transparent 51%);
}

.brand-ring-small {
  width: 30px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(26px, 3vw, 48px);
  color: rgba(240, 236, 227, 0.78);
  font-size: 12px;
}

.desktop-nav a,
.header-apply {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.header-apply:hover {
  color: var(--gold-light);
}

.header-apply {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  place-items: center;
}

.hero-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("/assets/hero-summit.webp") 50% 50% / auto 135% no-repeat;
  filter: grayscale(0.96) contrast(1.08);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.68)),
    radial-gradient(circle at 50% 44%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.45) 80%);
}

.hero-content {
  display: flex;
  width: min(calc(100% - 40px), 840px);
  align-items: center;
  flex-direction: column;
  padding: 112px 0 98px;
  text-align: center;
}

.hero-wordmark {
  width: min(calc(100vw - 64px), 1120px);
}

.hero-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.hero h1 {
  display: flex;
  margin: 28px 0 0;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: clamp(17px, 1.8vw, 27px);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1 span:not(:last-child)::after {
  margin: 0 0.2em;
  content: " ";
}

.hero-copy {
  max-width: 610px;
  margin: 38px 0 0;
  color: var(--ivory);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
}

.gold-button {
  display: inline-flex;
  min-width: 250px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  padding: 0 34px;
  border-radius: 999px;
  background: linear-gradient(
    100deg,
    #79601f 0%,
    #d8bb61 23%,
    #f0d578 46%,
    #aa8734 72%,
    #7b6020 100%
  );
  color: #151107;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.gold-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.scroll-mark {
  position: absolute;
  bottom: 16px;
  width: 147px;
  height: 147px;
  animation: scroll-mark-float 2.2s ease-in-out infinite;
}

.scroll-mark-ring,
.scroll-mark-arrow {
  position: absolute;
  display: block;
}

.scroll-mark-ring {
  inset: 0;
  width: 100%;
  height: 100%;
}

.scroll-mark-arrow {
  top: 44px;
  left: calc(50% - 5px);
  width: 10px;
  height: 70px;
}

@keyframes scroll-mark-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(9px);
  }
}

.film {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 64px);
}

.film iframe {
  display: block;
  width: 100%;
  border: 0;
  aspect-ratio: 16 / 9;
  background: var(--black-soft);
}

.section {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.about {
  display: grid;
  padding: clamp(90px, 12vw, 170px) 0;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(60px, 10vw, 150px);
}

.section-name {
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(72px, 10vw, 138px);
  text-align: center;
}

.about-copy {
  color: var(--ivory-dim);
  font-size: 16px;
}

.about-copy p {
  margin: 0;
}

.about-copy p + p {
  margin-top: 22px;
}

.about-copy strong {
  color: var(--ivory);
  font-weight: 500;
}

.statement {
  display: flex;
  width: min(calc(100% - 48px), var(--container));
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
  padding: 38px 0 68px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.statement p {
  margin: 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.2;
}

.statement .gold-button {
  min-width: 220px;
  min-height: 48px;
  margin-top: 28px;
  font-size: 14px;
}

.stats {
  display: grid;
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  padding: 54px 0 clamp(90px, 12vw, 160px);
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(26px, 4vw, 58px);
}

.stats div {
  display: flex;
  flex-direction: column;
}

.stats strong {
  font-family: var(--display);
  font-size: clamp(42px, 4.5vw, 66px);
  font-weight: 400;
  line-height: 1;
}

.stats span {
  margin-top: 12px;
  color: var(--ivory-dim);
  font-size: 12px;
  line-height: 1.4;
}

.founder {
  padding-bottom: clamp(110px, 14vw, 190px);
}

.founder h2 {
  margin: 0 0 clamp(45px, 6vw, 80px);
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
}

.founder h2 span {
  color: var(--gold);
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
}

.founder-grid > img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center 12%;
  filter: grayscale(1);
}

.founder-copy h3 {
  margin: 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 400;
}

.founder-social {
  display: flex;
  flex-direction: column;
  margin: 8px 0 0;
  color: var(--ivory-dim);
  font-size: 12px;
}

.founder-copy blockquote {
  margin: 38px 0 24px;
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 39px);
  line-height: 1.22;
}

.founder-copy > p:last-child {
  max-width: 560px;
  color: var(--ivory-dim);
}

.site-footer {
  display: grid;
  width: min(calc(100% - 48px), var(--container));
  min-height: 190px;
  margin: 0 auto;
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  grid-template-columns: 1.4fr repeat(2, auto);
  align-items: start;
  gap: 36px;
  color: var(--ivory-dim);
  font-size: 12px;
}

.site-footer > a:not(.footer-brand):hover {
  color: var(--gold-light);
}

.site-footer p {
  margin: 30px 0 0;
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-apply {
    display: none;
  }

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

  .menu-toggle {
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    place-content: center;
    gap: 7px;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 1px;
    background: var(--ivory);
    transition: transform 220ms ease;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: -1;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--black);
    opacity: 0;
    transition:
      opacity 220ms ease,
      visibility 0s linear 220ms;
  }

  .mobile-menu a {
    padding: 8px 0;
    font-family: var(--display);
    font-size: clamp(34px, 7vw, 58px);
  }

  .mobile-menu a:last-child {
    margin-top: 24px;
    color: var(--gold-light);
  }

  .menu-open .mobile-menu {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }

  .about,
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .section-name {
    text-align: left;
  }

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

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

@media (max-width: 600px) {
  .site-header {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-background {
    background-position: 50% 50%;
    background-size: auto 135%;
  }

  .hero-content {
    justify-content: flex-start;
    min-height: 100svh;
    padding: 44px 0 130px;
  }

  .hero-wordmark {
    width: min(calc(100vw - 40px), 560px);
  }

  .hero h1 {
    flex-direction: column;
    margin-top: 34px;
    font-size: clamp(30px, 8.4vw, 43px);
    line-height: 1.08;
  }

  .hero h1 span:not(:last-child)::after {
    display: none;
  }

  .hero-copy {
    max-width: 470px;
    margin-top: 48px;
    font-size: clamp(18px, 5.1vw, 25px);
    line-height: 1.42;
  }

  .hero .gold-button {
    width: min(100%, 400px);
    min-height: 78px;
    margin-top: 44px;
    font-size: 22px;
  }

  .scroll-mark {
    bottom: -3px;
    width: 103px;
    height: 103px;
  }

  .scroll-mark-arrow {
    top: 31px;
    left: calc(50% - 3.5px);
    width: 7px;
    height: 49px;
  }

  .film {
    padding: 54px 0;
  }

  .section,
  .statement,
  .stats,
  .site-footer {
    width: min(calc(100% - 40px), var(--container));
  }

  .about {
    padding: 90px 0;
    gap: 40px;
  }

  .about-copy {
    font-size: 15px;
  }

  .stats {
    padding-top: 28px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .stats span {
    max-width: 250px;
  }

  .founder h2 {
    text-align: left;
  }

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

  .site-footer p {
    grid-column: 1;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
