@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("assets/fonts/playfair-display-latin.woff2") format("woff2");
}

:root {
  --cream: #f5f0e8;
  --cream-2: #efe8dc;
  --paper: #fbf8f2;
  --ink: #241a16;
  --ink-soft: #3a2f28;
  --muted: #7a6f65;
  --gold: #b08d57;
  --gold-soft: #bfa37e;
  --line: rgba(60, 45, 35, 0.12);
  --shadow-img: 0 40px 80px -36px rgba(58, 42, 30, 0.45), 0 12px 28px -18px rgba(58, 42, 30, 0.28);
  --shadow-soft: 0 24px 60px -34px rgba(58, 42, 30, 0.34);
  --body: "Manrope", "Avenir Next", sans-serif;
  --display: "Playfair Display", Georgia, serif;
  --container: 1120px;
  --frame-radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Faint dot-grid texture across the whole page. */
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(rgba(60, 45, 35, 0.09) 1px, transparent 1.4px);
  background-size: 24px 24px;
  opacity: 0.6;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: 130px;
}

.sr-only,
.waitlist-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 200;
  padding: 11px 16px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Brand lockup */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Headings */

h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
}

h1 {
  margin-top: 22px;
  font-size: clamp(2.9rem, 6vw, 5.4rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.headline-accent {
  color: var(--gold);
  font-style: italic;
}

h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.3rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav > a:not(.nav-cta) {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  transition: color 0.18s ease;
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--ink);
}

.nav-cta {
  padding: 11px 20px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.18s ease, transform 0.18s ease;
}

.nav-cta:hover {
  background: #34261d;
  transform: translateY(-1px);
}

/* Hero */

.hero {
  padding-block: 92px 120px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  text-align: center;
}

.hero .eyebrow {
  display: block;
}

.hero-lede {
  max-width: 620px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 500;
}

/* Waitlist form */

.waitlist-shell {
  max-width: 540px;
  margin: 34px auto 0;
}

.form-row {
  display: flex;
  gap: 10px;
}

.waitlist-email {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 0 20px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #ddd0c0;
  border-radius: 999px;
  outline: none;
  font-size: 1rem;
  font-weight: 550;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-email::placeholder {
  color: #a89a8b;
}

.waitlist-email:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.2);
}

.waitlist-email[aria-invalid="true"] {
  border-color: #a64f57;
  box-shadow: 0 0 0 4px rgba(166, 79, 87, 0.16);
}

.waitlist-button {
  min-width: 168px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease;
}

.waitlist-button:hover {
  background: #34261d;
  transform: translateY(-2px);
}

.waitlist-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button-loader {
  width: 15px;
  height: 15px;
  display: none;
  border: 2px solid rgba(251, 248, 242, 0.42);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.waitlist-form.is-loading .button-loader {
  display: block;
}

.form-status {
  min-height: 1.35em;
  margin-top: 10px;
  color: #9b3f48;
  font-size: 0.84rem;
  font-weight: 650;
  text-align: center;
}

.form-consent {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.form-success {
  min-height: 58px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.form-success > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--paper);
  background: var(--gold);
  border-radius: 50%;
  font-size: 0.9rem;
}

.form-success p {
  font-size: 0.94rem;
  font-weight: 650;
}

.waitlist-shell.is-success .waitlist-form {
  display: none;
}

.waitlist-shell.is-success .form-success {
  display: flex;
  animation: success 0.4s ease both;
}

/* Image showcase frames */

.showcase {
  position: relative;
  margin: 0;
  background: #241a16;
  border-radius: 46px;
  padding: 16px 12px 20px;
  box-shadow: var(--shadow-img), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.showcase img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

/* speaker / camera, seated in the top bezel above the screen */
.showcase::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

/* home indicator, seated in the bottom bezel below the screen */
.showcase::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.hero-showcase {
  width: min(360px, 82vw);
  margin: 60px auto 0;
}

/* Feature rows */

.feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}

.feature-media {
  width: min(340px, 80vw);
  justify-self: center;
}

.feature-reverse .feature-media {
  order: 2;
}

.feature-copy > h2 {
  margin-top: 14px;
}

.feature-copy > p {
  max-width: 46ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.06rem;
}

/* FAQ */

.faq-section {
  border-top: 1px solid var(--line);
}

.faq-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
  gap: clamp(40px, 6vw, 80px);
  max-width: 940px;
}

.faq-heading h2 {
  margin-top: 12px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
  font-family: var(--body);
}

.faq-item button {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 2px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
}

.faq-item button span {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-item button span::before,
.faq-item button span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  content: "";
  background: var(--ink);
  border-radius: 3px;
  transform: translate(-50%, -50%);
}

.faq-item button span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.faq-item button[aria-expanded="true"] span::after {
  transform: translate(-50%, -50%);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.28s ease, visibility 0.28s;
}

.faq-answer > div {
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  padding: 0 40px 22px 2px;
  color: var(--muted);
  font-size: 0.98rem;
}

.faq-answer.is-open {
  grid-template-rows: 1fr;
  visibility: visible;
}

/* Final join CTA */

.join-section {
  border-top: 1px solid var(--line);
  background: var(--cream-2);
}

.join-inner {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.join-mark {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  margin-bottom: 26px;
}

.join-inner h2 {
  margin-top: 12px;
}

.join-lede {
  max-width: 460px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Footer */

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
}

.footer-brand {
  font-size: 1.1rem;
  color: var(--ink);
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
}

.footer-inner > p {
  font-size: 0.8rem;
  text-align: right;
}

/* Motion */

.reveal {
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes success {
  0% { opacity: 0; transform: scale(0.96); }
  100% { opacity: 1; transform: none; }
}

/* Tablet */

@media (max-width: 860px) {
  .section {
    padding-block: 96px;
  }

  .site-nav {
    gap: 20px;
  }

  .site-nav > a:not(.nav-cta):nth-child(1),
  .site-nav > a:not(.nav-cta):nth-child(2) {
    display: none;
  }

  .feature-inner {
    grid-template-columns: 1fr;
    gap: 42px;
    justify-items: center;
    text-align: center;
  }

  .feature-reverse .feature-media {
    order: 0;
  }

  .feature-copy {
    max-width: 560px;
  }

  .feature-copy > p {
    max-width: none;
    margin-inline: auto;
  }

  .faq-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

/* Mobile */

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .section {
    padding-block: 76px;
  }

  .hero {
    padding-block: 56px 84px;
  }

  .site-nav > a:not(.nav-cta):nth-child(3) {
    display: none;
  }

  .form-row {
    flex-direction: column;
  }

  .waitlist-button {
    width: 100%;
  }

  .form-status {
    font-size: 0.9rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .footer-inner > p {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  h1 {
    font-size: 2.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}
