/* Cut N Felt: coming soon */
:root {
  --black: #0E0E0E;
  --cream: #F2E6CB;
  --cream-dim: rgba(242, 230, 203, .62);
  --cream-faint: rgba(242, 230, 203, .18);
  --burgundy: #762634;
  --burgundy-bright: #9a3446;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: var(--black);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* Felt: fine noise grain + faint woven cross-hatch, then a warm centre glow and vignette */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
body::before {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px);
  opacity: .07;
  mix-blend-mode: screen;
}
body::after {
  background:
    radial-gradient(ellipse 55% 50% at 50% 45%, rgba(118, 38, 52, .16), transparent 70%),
    radial-gradient(ellipse 90% 85% at 50% 50%, transparent 45%, rgba(0, 0, 0, .75) 100%);
}

/* Thin burgundy rules top and bottom, echoing The Mark poster */
.frame {
  position: absolute;
  inset: clamp(14px, 2.4vw, 30px) var(--gutter);
  pointer-events: none;
  z-index: 1;
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--burgundy) 12%, var(--burgundy) 88%, transparent);
  opacity: .9;
}
.frame::before { top: 0; }
.frame::after { bottom: 0; }

.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.6vh, 32px);
  padding: clamp(40px, 6vh, 64px) var(--gutter) clamp(12px, 2vh, 24px);
  text-align: center;
}

.brand { line-height: 0; }
.wordmark {
  display: block;
  width: 220px;
  height: auto;
}

.emblem-wrap {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.emblem {
  display: block;
  height: clamp(300px, 50vh, 520px);
  width: auto;
  max-width: 78vw;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .6));
}

.signup {
  width: 100%;
  max-width: 460px;
}

.eyebrow {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 16px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--burgundy);
}
.eyebrow::before { background: linear-gradient(90deg, transparent, var(--burgundy)); }
.eyebrow::after { background: linear-gradient(90deg, var(--burgundy), transparent); }
.eyebrow span { padding-left: .32em; } /* balance letter-spacing */

.lede {
  margin: 0 0 18px;
  font-size: 19px;
  font-style: italic;
  color: var(--cream-dim);
  text-wrap: balance;
}

.field {
  display: flex;
  border: 1px solid var(--cream-faint);
  background: rgba(14, 14, 14, .55);
  backdrop-filter: blur(2px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field:focus-within {
  border-color: rgba(242, 230, 203, .5);
  box-shadow: 0 0 0 3px rgba(118, 38, 52, .35);
}

.field input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 18px;
  outline: none;
}
.field input::placeholder { color: rgba(242, 230, 203, .4); }

.field button {
  flex: none;
  padding: 0 22px;
  border: 0;
  border-left: 1px solid var(--burgundy);
  background: var(--burgundy);
  color: var(--cream);
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .25s ease;
}
.field button:hover,
.field button:focus-visible { background: var(--burgundy-bright); outline: none; }
.field button:disabled { opacity: .7; cursor: progress; }

.form.done .field { opacity: .5; }

.status {
  min-height: 1.4em;
  margin: 8px 0 4px;
  line-height: 1.4;
  font-size: 16px;
}
.status.success { color: var(--cream); font-style: italic; }
.status.error { color: #e3a3ad; }

.fine {
  margin: 0;
  font-size: 14px;
  color: rgba(242, 230, 203, .4);
}

.footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  padding: 10px var(--gutter) calc(clamp(30px, 4.4vw, 50px) + env(safe-area-inset-bottom));
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(242, 230, 203, .5);
}
.footer a {
  color: var(--cream-dim);
  text-decoration: none;
  text-transform: none;
  letter-spacing: .08em;
  font-family: var(--serif);
  font-size: 15px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.footer a:hover,
.footer a:focus-visible { color: var(--cream); border-color: var(--burgundy); outline: none; }
.footer .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--burgundy);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Gentle fade-in */
.fade {
  opacity: 0;
  transform: translateY(10px);
  animation: rise 1.4s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fade { animation: none; opacity: 1; transform: none; }
}

/* Short desktop/laptop screens */
@media (max-height: 760px) and (min-width: 601px) {
  .emblem { height: clamp(240px, 44vh, 420px); }
  .wordmark { width: 180px; }
}

/* Mobile */
@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero { padding-top: 44px; gap: 18px; }
  .wordmark { width: 160px; }
  .emblem { height: auto; width: min(60vw, 260px); max-width: none; }
  .eyebrow { font-size: 12px; letter-spacing: .26em; gap: 12px; }
  .lede { font-size: 18px; margin-bottom: 16px; }
  .field { flex-direction: column; }
  .field input { text-align: center; padding: 15px 14px; font-size: 17px; }
  .field button { padding: 15px 18px; border-left: 0; }
  .footer { flex-direction: column; gap: 6px; }
  .footer .dot { display: none; }
}
