@font-face {
  font-family: Cormorant;
  src: url("assets/cormorant-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #090b0e;
  --gold: #d4af62;
  --cream: #eee5d4;
  --muted: #b3aea3;
  --px: 0;
  --py: 0;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--ink);
}
body {
  margin: 0;
  color: var(--cream);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
::selection {
  background: var(--gold);
  color: var(--ink);
}
.atmosphere {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--ink);
}
.club-art {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.56;
  transform: scale(1.055) translate(calc(var(--px) * -8px), calc(var(--py) * -5px));
  transition: transform 0.7s ease-out;
}
.atmosphere:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 22%, #090b0e30 62%, #090b0e70),
    linear-gradient(0deg, #090b0efa, transparent 19%, transparent 82%, #090b0edd);
}
.light {
  position: absolute;
  filter: blur(85px);
  opacity: 0.17;
  border-radius: 50%;
  will-change: transform;
}
.light-jade {
  height: 37vw;
  width: 32vw;
  left: -14vw;
  top: 29%;
  background: #24b5a4;
  animation: drift 18s ease-in-out infinite alternate;
}
.light-gold {
  height: 24vw;
  width: 28vw;
  right: -6vw;
  top: 2%;
  background: #d5a250;
  opacity: 0.1;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
.halo {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(69vw, 890px);
  aspect-ratio: 1;
  border: 1px solid #d4af6216;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.halo-two {
  width: min(73vw, 944px);
  border-color: #d4af620c;
}
.halo-one:before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: #e4c98740;
  animation: orbit 35s linear infinite;
}
#dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}
.page-frame {
  position: fixed;
  inset: 22px;
  border: 1px solid #d4af622b;
  pointer-events: none;
  z-index: 3;
}
.page-frame i {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.6;
}
.page-frame i:nth-child(1) {
  left: -1px;
  top: -1px;
  border-width: 1px 0 0 1px;
}
.page-frame i:nth-child(2) {
  right: -1px;
  top: -1px;
  border-width: 1px 1px 0 0;
}
.page-frame i:nth-child(3) {
  left: -1px;
  bottom: -1px;
  border-width: 0 0 1px 1px;
}
.page-frame i:nth-child(4) {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}
.invitation {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 42px 5vw 35px;
  max-width: 2000px;
  margin: auto;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.identity {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  letter-spacing: 0.22em;
}
.identity img {
  object-fit: contain;
  width: 52px;
  height: 52px;
  mix-blend-mode: screen;
}
.identity-sub {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 6px;
}
.edition {
  font-size: 0.75rem;
  letter-spacing: 0.19em;
  color: var(--muted);
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 45px 0 42px;
  text-align: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 19px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.32em;
  margin-bottom: 21px;
}
.eyebrow span {
  height: 1px;
  width: 46px;
  background: linear-gradient(90deg, transparent, #d4af6280);
}
.eyebrow span:last-child {
  transform: rotate(180deg);
}
h1 {
  font-family: Cormorant, Georgia, serif;
  font-weight: 600;
  font-size: clamp(6.8rem, 13.6vw, 13.2rem);
  line-height: 0.74;
  letter-spacing: -0.025em;
  margin: 0 0 34px;
  position: relative;
}
.word {
  display: block;
  background: linear-gradient(
    116deg,
    #b58b46 0%,
    #f0dfb0 30%,
    #e5c37e 45%,
    #b98b43 68%,
    #ecd7a4 86%,
    #c5a363 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 20px #0008);
  transform: translate(calc(var(--px) * 3px), calc(var(--py) * 2px));
}
.word-noir {
  letter-spacing: 0.085em;
  padding-left: 0.085em;
}
.word-point {
  margin-top: 0.09em;
  position: relative;
}
.period {
  color: var(--gold);
  font-size: 0.65em;
  position: absolute;
  bottom: -0.015em;
  right: -0.17em;
}
h1:after {
  content: "";
  position: absolute;
  width: 58px;
  height: 1px;
  background: var(--gold);
  bottom: -25px;
  left: calc(50% - 29px);
  opacity: 0.65;
}
.intro {
  margin-top: 19px;
}
.intro p {
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: #ded7ca;
  margin: 0 0 29px;
}
.join-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
}
.join {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 62px;
  padding: 0 32px;
  border: 1px solid #e3c27e;
  background: linear-gradient(115deg, #b68c43, #e8ce93 48%, #c49c54);
  color: #121410;
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  box-shadow:
    0 0 0 5px #d4af6208,
    0 8px 35px #0006;
  transition:
    box-shadow 0.3s,
    transform 0.3s,
    filter 0.3s;
  overflow: hidden;
}
.join:before {
  content: "";
  position: absolute;
  inset: -100%;
  background: linear-gradient(100deg, transparent 42%, #fff8 49%, transparent 56%);
  transform: translateX(-70%) rotate(8deg);
  animation: glint 8s 2s ease-in-out infinite;
  z-index: -1;
}
.join-icon {
  font-size: 22px;
}
.join-arrow {
  font-size: 23px;
  transition: transform 0.3s;
}
.join:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 6px #d4af6214,
    0 10px 42px #d4af622e;
  filter: brightness(1.1);
}
.join:hover .join-arrow {
  transform: translate(3px, -3px);
}
.join:active {
  transform: translateY(0);
}
.join:focus-visible,
.motion-toggle:focus-visible {
  outline: 2px solid #72dac8;
  outline-offset: 8px;
}
.invitation-note {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.13em;
}
.club-notes {
  display: flex;
  align-items: center;
  gap: 16px;
}
.club-notes b {
  font-weight: 400;
  color: var(--gold);
  font-size: 12px;
}
.domain {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}
.motion-toggle {
  position: absolute;
  right: 5vw;
  bottom: 71px;
  border: 0;
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-height: 44px;
  font-size: 12px;
  padding: 8px 0;
}
.motion-toggle[hidden] {
  display: none;
}
.motion-symbol {
  color: var(--gold);
  font-size: 15px;
}
@keyframes drift {
  to {
    transform: translate(5vw, 8vh) scale(1.2);
  }
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes glint {
  0%,
  65% {
    transform: translateX(-70%) rotate(8deg);
  }
  90%,
  100% {
    transform: translateX(70%) rotate(8deg);
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .eyebrow {
    animation: arrive 1s both;
  }
  .word-noir {
    animation: arrive 1.3s 0.1s both;
  }
  .word-point {
    animation: arrive 1.3s 0.25s both;
  }
  .intro {
    animation: arrive 1s 0.55s both;
  }
  .masthead,
  footer {
    animation: arrive 1.2s 0.15s both;
  }
}
body.motion-paused *,
body.motion-paused *:before,
body.motion-paused *:after {
  animation-play-state: paused !important;
  transition: none !important;
}
.motion-paused .word {
  transform: none;
}
@media (min-width: 1500px) {
  h1 {
    font-size: clamp(13rem, 13vw, 17rem);
  }
}
@media (max-width: 700px) {
  .page-frame {
    inset: 12px;
  }
  .invitation {
    padding: 26px 30px 26px;
    min-height: 100svh;
  }
  .masthead {
    justify-content: center;
  }
  .identity {
    font-size: 12px;
    gap: 8px;
  }
  .identity img {
    width: 42px;
    height: 42px;
  }
  .identity-sub {
    font-size: 0.75rem;
  }
  .edition {
    display: none;
  }
  main {
    padding: 48px 0 64px;
  }
  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    margin-bottom: 27px;
  }
  .eyebrow span {
    width: 25px;
  }
  h1 {
    font-size: clamp(6rem, 22vw, 9rem);
    margin-bottom: 32px;
  }
  .intro p {
    font-size: 16px;
  }
  .join {
    min-height: 60px;
    padding: 0 23px;
    gap: 20px;
    font-size: 0.875rem;
  }
  .invitation-note {
    font-size: 12px;
  }
  .club-art {
    object-position: 50%;
    opacity: 0.34;
  }
  .halo {
    width: 113vw;
  }
  .halo-two {
    width: 124vw;
  }
  .light-jade {
    width: 80vw;
    height: 100vw;
    left: -60vw;
    opacity: 0.2;
  }
  .light-gold {
    width: 80vw;
    height: 80vw;
    right: -65vw;
  }
  footer {
    flex-direction: column;
    gap: 17px;
    font-size: 0.75rem;
  }
  .club-notes {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .domain {
    font-size: 0.75rem;
  }
  .motion-toggle {
    position: static;
    min-height: 38px;
    font-size: 12px;
    margin-top: -7px;
  }
}
@media (max-height: 750px) and (min-width: 701px) {
  .invitation {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  main {
    padding: 24px 0;
  }
  h1 {
    font-size: 8rem;
    margin-bottom: 26px;
  }
  .eyebrow {
    margin-bottom: 17px;
  }
  .intro {
    margin-top: 16px;
  }
  .intro p {
    margin-bottom: 20px;
  }
  .join {
    min-height: 56px;
  }
  .join-wrap {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .club-art,
  .word {
    transform: none !important;
  }
  #dust {
    display: none;
  }
}
@media (max-width: 380px) {
  h1 {
    font-size: 25vw;
  }
  .join {
    gap: 12px;
    padding-inline: 18px;
    letter-spacing: 0.07em;
  }
  .join span:nth-child(2) {
    white-space: nowrap;
  }
  .identity {
    letter-spacing: 0.12em;
  }
  .identity-sub {
    letter-spacing: 0.1em;
  }
}
