html { color-scheme: dark; }

body {
  background: #090b10;
  color: #f3ecdf;
  font-family: Literata, Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

.brand,
.kicker,
.saying,
.buy,
.signup button,
.section-label,
.top nav,
.site-foot,
.facts,
.ku,
.email-label,
.book h2,
.about h2,
.bonus h2,
.hero h1,
.page-title,
.slot-label,
.mark {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
}

.top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: baseline;
  padding: 1.1rem 5vw;
}

.top a {
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.top a[aria-current="page"] { color: #e2b15a; }

.bar {
  border-bottom: 1px solid rgba(226, 177, 90, 0.35);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 2rem;
  align-items: end;
  min-height: 100svh;
  padding: 6.5rem 5vw 3.2rem;
}

.hero .top {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
}

.hero h1,
.page-title {
  font-weight: 600;
  font-size: clamp(3.5rem, 15vw, 8.4rem);
  line-height: 0.84;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}

.page-title { font-size: clamp(3rem, 8vw, 5.6rem); }

.lede {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  max-width: 38ch;
  margin-top: 0;
}

.go {
  display: inline-block;
  margin: 0.4rem 0 1.4rem;
  color: #e2b15a;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.2rem;
}

.saying {
  color: #e2b15a;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1rem;
}

.hero blockquote { margin: 0.7rem 0 0; }

.hero blockquote p {
  margin: 0;
  color: #c8c0b2;
  font-size: 1.02rem;
  max-width: 54ch;
}

.hero-cover img { width: min(100%, 460px); margin-left: auto; }

.section-label {
  margin: 0;
  padding: 2.2rem 5vw 0;
  color: #e2b15a;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 1.15rem;
}

.book {
  display: grid;
  grid-template-columns: minmax(180px, 340px) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: center;
  padding: 6vh 5vw;
  border-top: 1px solid rgba(226, 177, 90, 0.35);
}

#books .book:nth-of-type(even) figure { order: 2; }

.book h2,
.about h2,
.bonus h2 {
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0.1rem 0 0.45rem;
}

.kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: #e2b15a;
}

.hook { font-size: 1.25rem; }

.facts,
.ku,
.slot-note { color: #c8c0b2; }

.about,
.bonus,
.site-foot {
  padding: 2.8rem 5vw;
  border-top: 1px solid rgba(226, 177, 90, 0.35);
}

.about h3,
.bonus h3 { font-size: 1.15rem; margin: 1.2rem 0 0.3rem; }

.about figure {
  float: left;
  width: min(200px, 42vw);
  margin: 0.25rem 1.4rem 0.8rem 0;
}

.buy {
  color: #e2b15a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.15rem;
}

.buy a:hover,
.buy a:focus-visible { background: #e2b15a; color: #14110c; }

.signup input {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(226, 177, 90, 0.7);
}

.signup button {
  background: transparent;
  color: #e2b15a;
  border: 1px solid #e2b15a;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1.15rem;
}

.signup button:hover,
.signup button:focus-visible { background: #e2b15a; color: #14110c; }

.joined { background: #e2b15a; color: #14110c; }

.site-foot {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sheet,
.dossier { padding: 2.4rem 5vw 3.2rem; }

.dossier .section-label { padding: 1.6rem 0 0.7rem; }

.slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.slots.scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.slots.novel { grid-template-columns: 1fr; }

.frame {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin: 0;
  border: 1px solid rgba(226, 177, 90, 0.45);
  background: #141820;
}

.frame.open { border: 0; background: #090b10; }

.frame img { width: 100%; height: 100%; object-fit: cover; }

.scenes .frame,
.novel .frame { aspect-ratio: 16 / 9; }

.novel .frame { aspect-ratio: 2.4 / 1; }

.frame.locked {
  background:
    radial-gradient(circle at 50% 42%, rgba(226, 177, 90, 0.16), transparent 58%),
    #10141b;
}

.sil {
  width: 70%;
  height: 70%;
  fill: rgba(226, 177, 90, 0.55);
  filter: blur(7px);
}

.lock {
  position: absolute;
  z-index: 1;
  color: #e2b15a;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 1.15rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(226, 177, 90, 0.8);
  background: rgba(9, 11, 16, 0.72);
}

.slot-label {
  margin: 0.55rem 0 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.slot-note { margin: 0.15rem 0 0; font-size: 0.95rem; }

.fine { color: #c8c0b2; font-size: 0.98rem; }

@media (max-width: 800px) {
  .hero .top {
    position: static;
    order: 1;
    padding: 1rem 0 0.8rem;
    background: #090b10;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0 5vw 2rem;
  }

  .hero-cover { order: 2; }
  .hero-copy { order: 3; }
  .hero-cover img { margin: 1rem auto 0; }
  .book { grid-template-columns: 1fr; align-items: start; }
  #books .book:nth-of-type(even) figure { order: 0; }
  .book figure { max-width: 280px; }
  .slots { grid-template-columns: 1fr 1fr; }
  .slots.scenes,
  .slots.novel { grid-template-columns: 1fr; }
}
.joined .download-btn { display: inline-block; margin-top: .5rem; padding: .7rem 1.2rem; background: #14110c; color: #e2b15a; font-weight: 700; text-decoration: none; border-radius: 4px; }
.joined .download-btn:hover, .joined .download-btn:focus { background: #000; color: #f3d08a; }

/* bonus: offer at the top */
.offer {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 1.2rem 2.4rem;
  align-items: center;
  padding: 0.4rem 0 2rem;
  border-bottom: 1px solid rgba(226, 177, 90, 0.35);
}
.offer-cover { margin: 0; transform: rotate(-2deg); }
.offer-cover img {
  display: block;
  width: 100%;
  height: auto;
  outline: 1px solid oklch(1 0 0 / 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(226, 177, 90, 0.35);
}
.offer .page-title { text-wrap: balance; margin: 0.1rem 0 0.5rem; }
.offer .lede { text-wrap: pretty; max-width: 34rem; margin: 0 0 1rem; }
.offer .fine, .offer-repeat .fine { margin: 0.6rem 0 0; }
.offer .signup button, .offer-repeat .signup button { background: #e2b15a; color: #14110c; }
.offer .signup button:hover, .offer .signup button:focus-visible,
.offer-repeat .signup button:hover, .offer-repeat .signup button:focus-visible { background: #f3d08a; }
.signup button:active, .download-btn:active, .sticky-cta:active { transform: scale(0.96); }
.signup button, .download-btn, .sticky-cta { transition-property: background-color, color, transform; transition-duration: 150ms; transition-timing-function: ease-out; }
.offer-repeat { padding: 2.2rem 0 0.4rem; margin-top: 2rem; border-top: 1px solid rgba(226, 177, 90, 0.35); }
.offer-repeat[hidden] { display: none; }

/* locked cards are links to the form */
a.frame.locked { color: inherit; text-decoration: none; cursor: pointer; }
a.frame.locked:hover .lock, a.frame.locked:focus-visible .lock { background: #e2b15a; color: #14110c; }
a.frame.locked:focus-visible { outline: 2px solid #e2b15a; outline-offset: 3px; }

/* mobile sticky bar */
.sticky-cta { display: none; }
@media (max-width: 800px) {
  .offer { grid-template-columns: 34vw minmax(0, 1fr); gap: 1rem; align-items: start; padding-top: 0; }
  .offer-cover { transform: rotate(-2deg) translateY(0.4rem); }
  .offer .page-title { font-size: 1.9rem; line-height: 1.05; }
  .offer .lede { grid-column: 1 / -1; font-size: 1rem; margin: 0; }
  .offer-copy { display: contents; }
  .offer-copy .kicker, .offer-copy .page-title { grid-column: 2; }
  .offer-copy .kicker { grid-row: 1; align-self: end; margin: 0; }
  .offer-cover { grid-row: 1 / span 2; }
  .offer-copy .page-title { grid-row: 2; align-self: start; }
  .offer .signup, .offer .joined, .offer .fine { grid-column: 1 / -1; }
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0.75rem; right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    z-index: 20;
    min-height: 48px;
    padding: 0.75rem 1rem;
    text-align: center;
    background: #e2b15a;
    color: #14110c;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1.15rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  }
  .sticky-cta[hidden] { display: none; }
}
