*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0808;
  --bg2: #120d0f;
  --text: #f5eef0;
  --muted: #c9a0a8;
  --gold: #201618;
  --gold-dim: #0a0808;
  --border: #120d0f;
  --border-light: #201618;
  --bg-overlay: rgba(10, 8, 8, 0.96);
  --card-w: 280px;
  --handle: 52px;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Josefin Sans', sans-serif;
  overflow-x: hidden;
}

/* grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
  opacity: 0.6;
}

/* thin horizontal rule across top */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-dim) 30%, var(--gold-dim) 70%, transparent 100%);
  opacity: 0.4;
  z-index: 10;
}

/* ─── HERO ─── */
.stage {
  position: relative;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 80px 20px 0;
  text-align: center;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 0.9s cubic-bezier(.22,1,.36,1) 0.2s forwards;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: 18px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 1.1s cubic-bezier(.22,1,.36,1) 0.4s forwards;
}

.hero-name em {
  font-style: italic;
  color: var(--text);
}

.divider-line {
  width: 1px;
  height: 0;
  background: var(--text);
  margin: 28px 0;
  animation: growLine 0.8s cubic-bezier(.22,1,.36,1) 0.85s forwards;
}

.tagline {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(.22,1,.36,1) 1s forwards;
}

.tagline span {
  color: var(--text);
  margin: 0 10px;
}

/* bottom timestamp */
.timestamp {
  position: fixed;
  bottom: 32px;
  right: 40px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.6s ease 1.8s forwards;
}

.cards-wrapper {
  position: relative;
  width: 100%;
  margin: 40px 0 0 0;
  display: flex;
  justify-content: center;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 50;
  padding: 0;
  align-items: center;
}

/* staggered slide-in on load */
.card:nth-child(1) { animation: slideInLeft 0.7s cubic-bezier(.22,1,.36,1) 1.1s forwards; }
.card:nth-child(2) { animation: slideInRight 0.7s cubic-bezier(.22,1,.36,1) 1.3s forwards; }
.card:nth-child(3) { animation: slideInLeft 0.7s cubic-bezier(.22,1,.36,1) 1.5s forwards; }
.card:nth-child(4) { animation: slideInRight 0.7s cubic-bezier(.22,1,.36,1) 1.7s forwards; }

@keyframes slideInLeft {
  from { opacity: 0; transform: translateY(100px); }
  to   { opacity: 1; transform: translateX(-60px); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateY(100px); }
  to   { opacity: 1; transform: translateX(60px); }
}

.card {
  position: relative;
  width: var(--card-w);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
  will-change: box-shadow, background-color;
  opacity: 0;
  z-index: 0;
  text-decoration: none;
}

.card-inner {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: none;
  border-radius: 0 6px 6px 0;
  overflow: hidden;
  display: flex;
}

/* vertical handle strip */
.handle {
  width: var(--handle);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  position: relative;
}

.handle-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 300;
}

/* dot on handle */
.handle::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-dim);
}

/* card body */
.card-body {
  padding: 20px 20px 20px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.card-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-sub {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 10px;
}

.card-arrow {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  transition: color 0.2s, transform 0.2s;
}

.card.coming-soon {
  cursor: default;
}

.card.coming-soon .handle-label,
.card.coming-soon .card-title,
.card.coming-soon .card-label,
.card.coming-soon .card-sub {
  color: var(--muted);
}

.card.coming-soon .card-arrow {
  opacity: 0;
  visibility: hidden;
}

.card.coming-soon .coming-soon-pill {
  display: inline-block;
  margin: 10px 0 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(201, 160, 168, 0.12);
  color: var(--text);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}

.card:hover .card-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes growLine {
  to { height: 48px; }
}

/* ─── ACCESS BADGE ─── */
.badge {
  position: fixed;
  top: 32px;
  right: 40px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: 2px;
  opacity: 0;
  animation: fadeUp 0.6s ease 1.6s forwards;
}

.badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-dim);
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse 2s ease-in-out 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
