/* Tokens, reset, and base. Load this first. */
:root {
  --ink: #0a0708;
  --ink-2: #140d10;
  --panel: #1a1114;
  --panel-2: #22161b;
  --line: rgba(201, 163, 106, 0.28);
  --gold: #c9a36a;
  --gold-2: #e8d5a3;
  --ivory: #f4e8dc;
  --ivory-dim: #cbbbae;
  --rose: #b85a6a;
  --blush: #e8c4c4;
  --ok: #c9d4b8;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --display: "Playfair Display", Georgia, serif;
  --sans: "Jost", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.6;
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
}

@media (pointer: fine) {
  body {
    cursor: none;
  }

  a,
  button,
  input,
  select,
  textarea,
  summary {
    cursor: none;
  }
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 90;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor.hot {
  width: 42px;
  height: 42px;
  background: rgba(201, 163, 106, 0.12);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
}

section {
  padding: 100px 36px;
  position: relative;
}

.wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.kicker {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

h1 em {
  font-style: italic;
  color: var(--blush);
}

h2 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 18px;
}

h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

p {
  color: var(--ivory-dim);
}

footer {
  padding: 40px 36px 60px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ivory-dim);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
