/* ── Self-hosted fonts ────────────────────────────────── */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('/fonts/cormorant-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('/fonts/cormorant-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('/fonts/cormorant-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('/fonts/cormorant-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('/fonts/inter-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('/fonts/inter-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #030303;
  --near-black: #080706;
  --ash: #8d8880;
  --bone: #e8e0d0;
  --gold: #b79a57;
  --serif: "Cormorant Garamond", Garamond, Georgia, "Times New Roman", serif;
  --sans: Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--black);
  color: var(--bone);
  font-family: var(--serif);
  letter-spacing: 0;
  overflow: hidden;
}

button {
  font: inherit;
}

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 45%, rgba(183, 154, 87, 0.035), transparent 28rem),
    var(--black);
}

.screen {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(28px, 7vw, 96px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1600ms ease;
}

.screen.is-active {
  opacity: 1;
  pointer-events: auto;
}

.copy,
.purchase-panel,
.certificate {
  width: min(760px, 100%);
  animation: arrive 1800ms ease both;
}

.copy-entry {
  text-align: center;
}

.kicker,
.fine-print,
.date {
  margin: 0;
  color: var(--ash);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--bone);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin-top: 24px;
  font-size: clamp(72px, 18vw, 190px);
  line-height: 0.82;
}

h2 {
  font-size: clamp(48px, 10vw, 112px);
  line-height: 0.92;
}

.thesis {
  margin: clamp(42px, 8vh, 76px) auto 0;
  max-width: 520px;
  color: var(--bone);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.36;
}

.quiet-button,
.confirm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: clamp(44px, 8vh, 84px);
  padding: 0 2px 8px;
  border: 0;
  border-bottom: 1px solid rgba(183, 154, 87, 0.62);
  background: transparent;
  color: var(--bone);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 600ms ease, border-color 600ms ease;
}

.quiet-button:hover,
.confirm-button:hover,
.quiet-button:focus-visible,
.confirm-button:focus-visible {
  border-color: var(--bone);
  color: #fff8e8;
  outline: 0;
}

.object-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.object-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.88), transparent 48%, rgba(3, 3, 3, 0.9)),
    radial-gradient(circle at 50% 50%, transparent 0, rgba(3, 3, 3, 0.62) 52%, var(--black) 78%);
}

.light-slit {
  position: absolute;
  top: 14vh;
  left: 50%;
  width: 1px;
  height: 72vh;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(183, 154, 87, 0.2) 12%,
    rgba(232, 224, 208, 0.92) 48%,
    rgba(183, 154, 87, 0.26) 86%,
    transparent
  );
  box-shadow:
    0 0 12px rgba(183, 154, 87, 0.22),
    0 0 72px rgba(183, 154, 87, 0.14);
  transform: translateX(-50%) rotate(2deg);
  animation: slit 24s ease-in-out infinite alternate;
}

.object-copy {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: start;
}

.purchase-panel,
.certificate {
  text-align: left;
}

.purchase-panel h2,
.certificate h2 {
  margin-top: 22px;
}

.fine-print {
  max-width: 440px;
  margin-top: 34px;
  text-transform: none;
  letter-spacing: 0;
}

.confirm-button {
  max-width: 100%;
  text-align: left;
}

.screen-silence {
  background: var(--black);
}

.certificate {
  max-width: 680px;
}

.patron-label {
  margin: 18px 0 0;
  color: var(--ash);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.certificate h2 {
  margin-top: 4px;
}

.date {
  margin-top: clamp(24px, 4vh, 52px);
}

.grant {
  margin: clamp(44px, 9vh, 88px) 0 0;
  color: var(--bone);
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.2;
}

.ritual {
  margin: clamp(120px, 22vh, 200px) 0 0;
  color: var(--ash);
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.35;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slit {
  from {
    opacity: 0.52;
    transform: translateX(-50%) rotate(2deg) scaleY(0.94);
  }

  to {
    opacity: 0.88;
    transform: translateX(calc(-50% + 18px)) rotate(-1deg) scaleY(1.02);
  }
}

@media (max-width: 640px) {
  body {
    overflow: auto;
  }

  .screen {
    min-height: 100vh;
    min-height: 100svh;
    padding: 28px;
  }

  .object-copy {
    align-self: center;
  }

  .confirm-button {
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen,
  .copy,
  .purchase-panel,
  .certificate,
  .light-slit {
    animation: none;
    transition: none;
  }
}

