*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #07101c;
  --card: #0d1a2b;
  --cyan: #2ee6e0;
  --cyan-deep: #0aa8a4;
  --pink: #ff3db4;
  --text: #f3f7fb;
  --mute: #9bb0c3;
  --line: rgba(46, 230, 224, 0.18);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Sora", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background:
    radial-gradient(900px 480px at 80% 0%, rgba(255, 61, 180, 0.14), transparent 55%),
    radial-gradient(800px 500px at 10% 20%, rgba(46, 230, 224, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cyan);
}

.nav {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.1rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
}

.logo span {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.05;
}

.logo small {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

#site-menu {
  display: flex;
  gap: 1.6rem;
}

#site-menu a {
  color: var(--mute);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

#site-menu a:hover {
  color: var(--text);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ghost {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 50%;
  text-decoration: none;
}

.buy,
.quiet,
#copy-ca {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
}

.buy {
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan));
  color: #04131a;
}

.quiet {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 14px;
  height: 1.5px;
  background: var(--cyan);
}

.poster {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.4rem auto 0;
}

.poster > img {
  width: 100%;
  aspect-ratio: 2.15 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.poster-copy {
  max-width: 38rem;
  margin: 2.2rem auto 0;
  text-align: center;
}

.chip,
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
}

.eyebrow {
  color: var(--cyan);
}

h1 {
  margin: 0.7rem 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lede,
.sub {
  color: var(--mute);
  font-size: 1.12rem;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.spark,
.story,
.ca,
.buy-sec {
  width: min(1120px, calc(100% - 2rem));
  margin: 6rem auto 0;
}

.spark,
.ca,
.buy-sec {
  text-align: center;
}

.spark h2,
.story h2,
.ca h2,
.buy-sec h2 {
  margin: 0.45rem 0 0.6rem;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  margin-top: 2.2rem;
  text-align: left;
}

.embed {
  min-height: 560px;
  padding: 0.8rem;
  background: #000;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 8px rgba(46, 230, 224, 0.05), 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: auto;
}

.embed .twitter-tweet {
  margin: 0.4rem auto !important;
}

.post {
  background: #0a0a0b;
  border: 1px solid #2a2f35;
  border-radius: 24px;
  overflow: hidden;
}

.post a {
  display: block;
  padding: 1.2rem 1.25rem 1.1rem;
  color: #e7e9ea;
  text-decoration: none;
}

.post header {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.post header img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.post strong {
  display: block;
}

.post header span,
.post time {
  color: #8b9298;
  font-size: 0.88rem;
}

.post p {
  font-size: 1.2rem;
  line-height: 1.45;
}

.post em {
  font-style: normal;
  color: #1d9bf0;
  font-weight: 600;
}

.post blockquote {
  margin: 1rem 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid #2a2f35;
  border-radius: 16px;
  color: #c9ced3;
  font-size: 0.92rem;
}

.post cite {
  display: block;
  font-style: normal;
  color: #8b9298;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.story-lead {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.bio {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.bio p {
  color: #c5d4e0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.bento article {
  padding: 1.6rem 1.5rem 1.7rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.bento .wide {
  grid-row: 1 / span 2;
  padding: 0;
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.bento .wide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento .wide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 16, 28, 0.12), rgba(7, 16, 28, 0.88));
}

.bento .wide-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem 1.5rem 1.7rem;
}

.bento span {
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 0.78rem;
}

.bento h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 0.45rem 0 0.6rem;
}

.bento p {
  color: var(--mute);
}

.ca {
  padding: 3.2rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
}

.seal {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #fff;
}

.ca-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: min(640px, 100%);
  margin: 1.2rem auto 0;
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  background: #061018;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.ca-box code {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: clamp(0.75rem, 1.6vw, 0.95rem);
  color: var(--cyan);
  word-break: break-all;
  text-align: left;
}

.toast {
  min-height: 1.2rem;
  margin-top: 0.7rem;
  color: var(--cyan);
  opacity: 0;
  transition: opacity 0.25s;
}

.toast.show {
  opacity: 1;
}

.hint {
  margin-top: 0.4rem;
  color: var(--mute);
  font-size: 0.9rem;
}

.buy-sec ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 1.8rem 0 0;
  text-align: left;
}

.buy-sec li {
  padding: 1.4rem 1.3rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.buy-sec b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: rgba(46, 230, 224, 0.12);
  color: var(--cyan);
  font-family: var(--mono);
}

.buy-sec h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.buy-sec p {
  color: var(--mute);
}

footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 5rem auto 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

footer img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
}

footer strong {
  display: block;
  font-family: var(--serif);
}

footer span,
footer p {
  color: var(--mute);
  font-size: 0.82rem;
}

footer p {
  margin-left: auto;
  max-width: 28rem;
  text-align: right;
}

@media (max-width: 900px) {
  .spotlight,
  .bento,
  .buy-sec ol,
  footer {
    grid-template-columns: 1fr;
  }

  .bento .wide {
    grid-row: auto;
    min-height: 240px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  footer p {
    margin-left: 0;
    text-align: center;
  }

  .poster > img {
    aspect-ratio: 16 / 9;
    border-radius: 20px;
  }
}

@media (max-width: 720px) {
  #site-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    z-index: 20;
  }

  #site-menu.open {
    display: flex;
  }

  .nav {
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-end .buy {
    display: none;
  }

  .ca-box {
    flex-wrap: wrap;
    border-radius: 18px;
  }

  #copy-ca {
    width: 100%;
  }
}
