:root {
  --ivory: #f7f3eb;
  --ivory-2: #eee7dc;
  --paper: #fffdf9;
  --ink: #1d1e20;
  --muted: #756f6b;
  --soft: #a096a0;
  --gold: #b78649;
  --line: rgba(29, 30, 32, 0.16);
  --shadow: 0 30px 90px rgba(50, 39, 26, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 4vw, 68px);
}
.brand { display: inline-flex; width: clamp(122px, 11vw, 172px); overflow: hidden; }
.brand img,
.modal-logo {
  width: 100%;
  height: auto;
  display: block;
}
.text-link {
  border: 0;
  background: transparent;
  padding: 10px 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  cursor: pointer;
  border-bottom: 1px solid var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg,
      rgba(247,243,235,.96) 0%,
      rgba(247,243,235,.92) 25%,
      rgba(247,243,235,.76) 43%,
      rgba(247,243,235,.34) 61%,
      rgba(247,243,235,.08) 78%,
      rgba(247,243,235,0) 100%),
    url("assets/hero-unseen-piece.jpg") center center / cover no-repeat;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 44%, rgba(255,255,255,.22), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 30%, rgba(56,39,24,.025));
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(54vw, 860px);
  padding: 140px 0 110px clamp(28px, 6vw, 108px);
}

.eyebrow, .modal-kicker {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
}

h1, h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.025em;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(56px, 5.5vw, 92px);
  line-height: .94;
}

.lede {
  max-width: 590px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-button,
.signup-form button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  min-height: 52px;
  padding: 0 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .11em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.primary-button:hover,
.signup-form button:hover {
  background: transparent;
  color: var(--ink);
}

.primary-button:active,
.signup-form button:active {
  transform: translateY(1px);
}

.launch-note {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .17em;
}

.site-footer {
  position: absolute;
  z-index: 10;
  left: clamp(28px, 4vw, 68px);
  bottom: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  color: rgba(29,30,32,.55);
  font-size: 9px;
  letter-spacing: .13em;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 22, 21, .52);
  backdrop-filter: blur(7px);
  cursor: default;
}
.modal-card {
  position: relative;
  z-index: 2;
  width: min(94vw, 510px);
  padding: 48px clamp(28px, 5vw, 56px) 40px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
  transform: translateY(10px);
  transition: transform .25s ease;
}
.modal.is-open .modal-card { transform: translateY(0); }
.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 27px;
  font-weight: 300;
  cursor: pointer;
}
.modal-logo { width: 156px; margin: 0 auto 28px; }
.modal-kicker { margin-bottom: 13px; }
.modal h2 { margin: 0; font-size: 42px; line-height: 1; }
.modal-copy { margin: 18px auto 28px; max-width: 365px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.signup-form { text-align: left; }
.signup-form label { display: block; margin-bottom: 8px; font-size: 12px; }
.signup-form input[type="email"] {
  width: 100%;
  height: 52px;
  border: 1px solid #cfc8bf;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 0 15px;
  outline: none;
  font-size: 15px;
}
.signup-form input[type="email"]:focus { border-color: var(--ink); }
.signup-form button { width: 100%; margin-top: 12px; }
.consent { margin: 16px auto 0; max-width: 390px; color: #777; font-size: 10.5px; line-height: 1.55; }
body.modal-open { overflow: hidden; }

@media (max-width: 860px) {
  .site-header {
    position: fixed;
    background: linear-gradient(to bottom, rgba(247,243,235,.92), rgba(247,243,235,0));
    padding-bottom: 42px;
  }
  .hero {
    min-height: 100svh;
    align-items: flex-end;
    background:
      linear-gradient(180deg,
        rgba(247,243,235,.12) 0%,
        rgba(247,243,235,.18) 28%,
        rgba(247,243,235,.72) 62%,
        rgba(247,243,235,.96) 100%),
      url("assets/hero-unseen-piece.jpg") 62% center / cover no-repeat;
  }
  .hero-copy {
    width: 100%;
    padding: 160px 24px 96px;
  }
  h1 { font-size: clamp(50px, 13vw, 72px); }
  .lede { margin-top: 26px; max-width: 560px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .site-footer {
    left: 24px;
    bottom: 20px;
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .site-header { padding: 20px 20px 36px; }
  .brand { width: 116px; }
  .text-link { font-size: 10px; }
  .hero {
    background:
      linear-gradient(180deg,
        rgba(247,243,235,.06) 0%,
        rgba(247,243,235,.18) 31%,
        rgba(247,243,235,.80) 62%,
        rgba(247,243,235,.98) 100%),
      url("assets/hero-unseen-piece.jpg") 68% center / cover no-repeat;
  }
  .hero-copy { padding: 150px 20px 112px; }
  .eyebrow { margin-bottom: 17px; font-size: 9px; }
  h1 { font-size: clamp(47px, 13.5vw, 61px); line-height: .95; }
  .lede { font-size: 14px; line-height: 1.7; }
  .primary-button { width: 100%; }
  .site-footer {
    left: 20px;
    right: 20px;
    bottom: 18px;
    font-size: 8px;
    gap: 14px;
  }
  .modal { padding: 14px; }
  .modal-card { padding: 42px 22px 30px; }
  .modal h2 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
