:root {
  color-scheme: light;
  --font-body: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --font-display: "Press Start 2P", monospace;
  --page-width: min(1320px, calc(100% - 48px));
  --page-width-tight: min(1180px, calc(100% - 48px));
  --femcel-bg-top: #f4dbe2;
  --femcel-bg-bottom: #ece6dc;
  --femcel-paper: rgba(255, 248, 245, 0.88);
  --femcel-paper-strong: rgba(255, 250, 247, 0.95);
  --femcel-paper-soft: rgba(255, 239, 245, 0.7);
  --femcel-orb: rgba(255, 255, 255, 0.66);
  --femcel-blue-wash: rgba(164, 204, 230, 0.26);
  --femcel-ink: #231a1e;
  --femcel-ink-soft: #56434a;
  --femcel-ink-muted: #7a646d;
  --femcel-placeholder: #6a555d;
  --femcel-line: rgba(97, 67, 77, 0.22);
  --femcel-line-strong: rgba(97, 67, 77, 0.4);
  --femcel-shadow: rgba(82, 44, 58, 0.12);
  --femcel-shadow-strong: rgba(82, 44, 58, 0.22);
  --femcel-accent: #d64a86;
  --femcel-accent-strong: #ab2f62;
  --femcel-accent-soft: rgba(214, 74, 134, 0.12);
  --femcel-offset: rgba(214, 74, 134, 0.14);
  --femcel-focus: #7b5cff;
  --femcel-success: #275d4d;
  --femcel-danger: #93274d;
  --femcel-button-text: #fff8fb;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --femcel-bg-top: #130f16;
  --femcel-bg-bottom: #090b11;
  --femcel-paper: rgba(27, 20, 27, 0.86);
  --femcel-paper-strong: rgba(32, 23, 31, 0.94);
  --femcel-paper-soft: rgba(55, 35, 50, 0.52);
  --femcel-orb: rgba(255, 133, 187, 0.12);
  --femcel-blue-wash: rgba(121, 153, 206, 0.17);
  --femcel-ink: #f7edf2;
  --femcel-ink-soft: #dccad3;
  --femcel-ink-muted: #b697a6;
  --femcel-placeholder: #d9c7d1;
  --femcel-line: rgba(255, 205, 228, 0.16);
  --femcel-line-strong: rgba(255, 205, 228, 0.3);
  --femcel-shadow: rgba(0, 0, 0, 0.26);
  --femcel-shadow-strong: rgba(0, 0, 0, 0.42);
  --femcel-accent: #ff78ac;
  --femcel-accent-strong: #ff9bc0;
  --femcel-accent-soft: rgba(255, 120, 172, 0.12);
  --femcel-offset: rgba(255, 120, 172, 0.18);
  --femcel-focus: #97bcff;
  --femcel-success: #9ce4ca;
  --femcel-danger: #ff9fbe;
  --femcel-button-text: #180f14;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  background: var(--femcel-bg-bottom);
}

body {
  background:
    radial-gradient(circle at 14% 14%, var(--femcel-orb), transparent 28%),
    radial-gradient(circle at 82% 10%, var(--femcel-blue-wash), transparent 24%),
    linear-gradient(180deg, var(--femcel-bg-top) 0%, var(--femcel-bg-bottom) 100%);
  color: var(--femcel-ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.58;
  min-height: 100vh;
  overflow-x: hidden;
  transition:
    background 180ms ease,
    color 180ms ease;
}

body,
button,
input {
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

img {
  display: block;
}

.brand-avatar,
.hero-banner,
.secret-art,
.supporter-badge {
  image-rendering: pixelated;
}

.page-noise {
  background-image:
    linear-gradient(rgba(112, 83, 92, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 83, 92, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  position: fixed;
}

.site-header,
main {
  position: relative;
  z-index: 1;
}

.site-header {
  padding: 18px 0 0;
}

.header-shell {
  align-items: center;
  border-bottom: 1px solid var(--femcel-line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 0 18px;
  width: var(--page-width-tight);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 14px;
  min-width: 0;
}

.brand-avatar {
  background: var(--femcel-paper-strong);
  border: 1px solid var(--femcel-line-strong);
  box-shadow: 8px 8px 0 var(--femcel-offset);
  height: 52px;
  width: 52px;
}

.brand-copy {
  display: grid;
  gap: 8px;
}

.brand-kicker,
.eyebrow,
.rail-label,
.form-kicker,
.detail-label,
.stamp,
.micro-label,
.theme-toggle,
.primary-button,
.secret-link,
.header-ledger {
  font-family: var(--font-display);
  text-transform: uppercase;
}

.brand-kicker,
.eyebrow,
.rail-label,
.form-kicker,
.detail-label,
.stamp,
.micro-label {
  color: var(--femcel-accent);
  font-size: 0.45rem;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 0.82rem;
  line-height: 1.55;
}

.header-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.header-ledger {
  color: var(--femcel-ink-muted);
  font-size: 0.42rem;
  letter-spacing: 0.04em;
  line-height: 1.8;
  margin: 0;
}

.header-ledger span {
  color: var(--femcel-ink);
}

.theme-toggle {
  align-items: center;
  background: var(--femcel-paper);
  border: 1px solid var(--femcel-line-strong);
  box-shadow: 8px 8px 0 var(--femcel-offset);
  color: var(--femcel-ink);
  cursor: pointer;
  display: inline-flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 46px;
  min-width: 162px;
  padding: 10px 14px;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease,
    background 140ms ease;
}

.theme-toggle-label {
  opacity: 0.74;
}

.theme-toggle-value {
  background: var(--femcel-accent-soft);
  color: var(--femcel-accent-strong);
  padding: 6px 10px;
}

main {
  display: grid;
  gap: 0;
}

.legal-main {
  padding: 28px 0 56px;
}

.legal-shell,
.footer-shell {
  margin: 0 auto;
  width: var(--page-width-tight);
}

.legal-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent),
    linear-gradient(90deg, var(--femcel-paper-strong), var(--femcel-paper));
  border-top: 1px solid var(--femcel-line-strong);
  border-bottom: 1px solid var(--femcel-line-strong);
  box-shadow: 0 18px 40px var(--femcel-shadow);
  padding: 24px clamp(18px, 2.5vw, 30px) 30px;
}

.legal-shell h1,
.legal-shell h2 {
  margin: 0;
}

.legal-shell h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.legal-shell h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  padding-top: 18px;
}

.legal-shell p,
.legal-list {
  margin: 14px 0 0;
}

.legal-list {
  padding-left: 20px;
}

.site-footer {
  border-top: 1px solid var(--femcel-line);
  padding: 0 0 28px;
  position: relative;
  z-index: 1;
}

.footer-shell {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  justify-content: space-between;
  padding-top: 18px;
}

.footer-copy {
  line-height: 1.55;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.poster-hero {
  min-height: calc(100vh - 96px);
  overflow: clip;
  position: relative;
}

.poster-hero::before {
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), var(--femcel-line) calc(100% - 1px)),
    linear-gradient(180deg, transparent 0, transparent calc(100% - 1px), var(--femcel-line) calc(100% - 1px));
  content: "";
  inset: 18px;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
}

.poster-hero::after {
  background:
    radial-gradient(circle at 70% 24%, var(--femcel-accent-soft), transparent 34%),
    linear-gradient(180deg, var(--femcel-paper) 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.poster-grid {
  display: grid;
  align-items: start;
  column-gap: clamp(34px, 4vw, 64px);
  row-gap: 24px;
  grid-template-columns: minmax(0, 1.24fr) minmax(320px, 400px);
  margin: 0 auto;
  min-height: calc(100vh - 96px);
  padding: clamp(28px, 4vw, 54px) 0 clamp(34px, 5vw, 68px);
  position: relative;
  width: var(--page-width-tight);
  z-index: 1;
}

.hero-copy,
.hero-visual,
.hero-rail {
  align-content: start;
  display: grid;
}

.hero-copy {
  gap: 18px;
  max-width: 640px;
}

.hero-copy h1,
.access-note h2,
.info-shell h2 {
  font-weight: 700;
  margin: 0;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  letter-spacing: 0.02em;
  line-height: 1.22;
  max-width: 9ch;
  overflow-wrap: normal;
  word-break: normal;
}

.access-note h2,
.info-shell h2 {
  font-family: var(--font-body);
  letter-spacing: -0.04em;
}

.hero-lede {
  color: var(--femcel-ink-soft);
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
  margin: 0;
  max-width: 32rem;
}

.hero-rail {
  border-top: 1px solid var(--femcel-line-strong);
  gap: 18px;
  padding-top: 16px;
}

.hero-rail-left {
  align-self: start;
}

.rail-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rail-list li {
  border-top: 1px solid var(--femcel-line);
  color: var(--femcel-ink-soft);
  padding-top: 12px;
}

.rail-list-tight li {
  font-size: 0.95rem;
}

.poster-form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent),
    linear-gradient(90deg, var(--femcel-paper-strong), var(--femcel-paper));
  border-bottom: 1px solid var(--femcel-line-strong);
  border-top: 1px solid var(--femcel-line-strong);
  box-shadow: 0 18px 40px var(--femcel-shadow);
  gap: 14px;
  margin-top: 8px;
  padding: 18px clamp(16px, 2vw, 22px) 20px;
  position: relative;
}

.poster-form::before {
  background: linear-gradient(180deg, var(--femcel-accent), transparent);
  content: "";
  inset: 0 auto 0 0;
  opacity: 0.5;
  position: absolute;
  width: 4px;
}

.form-intro,
.turnstile-wrap,
.field,
.detail-item,
.info-column,
.access-note,
.badge-note {
  display: grid;
}

.form-intro {
  gap: 4px;
}

.form-copy,
.field-help,
.form-status,
.form-aside,
.detail-item p:last-child,
.badge-note-copy,
.access-note p,
.invite-plate figcaption,
.info-column p:last-child {
  color: var(--femcel-ink);
  margin: 0;
}

.field {
  gap: 10px;
}

.field span {
  color: var(--femcel-ink);
  font-family: var(--font-display);
  font-size: 0.42rem;
  letter-spacing: 0.04em;
  line-height: 1.8;
  text-transform: uppercase;
}

.field input {
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid var(--femcel-line-strong);
  box-shadow: 8px 8px 0 var(--femcel-offset);
  color: var(--femcel-ink);
  min-height: 62px;
  padding: 0 18px;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease,
    background 140ms ease;
}

.field input::placeholder {
  color: var(--femcel-placeholder);
}

.field-help {
  font-size: 0.94rem;
  line-height: 1.55;
}

.legal-note,
.footer-copy,
.legal-updated,
.legal-shell p,
.legal-shell li {
  color: var(--femcel-ink);
}

.legal-note {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.legal-note a,
.footer-links a,
.legal-shell a {
  color: var(--femcel-accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.field input[aria-invalid="true"] {
  border-color: rgba(208, 54, 101, 0.78);
}

.honeypot {
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.turnstile-wrap {
  gap: 8px;
}

.turnstile-slot {
  display: grid;
  min-height: 74px;
  width: min(100%, 360px);
}

.turnstile-slot > div {
  max-width: 100%;
}

.form-actions {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.primary-button,
.secret-link {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.44rem;
  justify-content: center;
  letter-spacing: 0.04em;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease,
    background 140ms ease,
    color 140ms ease;
}

.primary-button {
  background: linear-gradient(180deg, var(--femcel-accent), var(--femcel-accent-strong));
  border: 1px solid rgba(89, 22, 48, 0.22);
  box-shadow: 10px 10px 0 rgba(214, 74, 134, 0.22);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  color: var(--femcel-button-text);
  min-height: 58px;
  padding: 0 22px;
  width: min(100%, 280px);
}

.secret-link {
  justify-content: start;
  margin-top: 4px;
  min-height: 44px;
  padding: 0;
}

.secret-link::after {
  color: var(--femcel-accent);
  content: "↗";
  font-size: 1rem;
  margin-left: 10px;
}

.primary-button:hover,
.secret-link:hover,
.theme-toggle:hover,
.invite-plate:hover {
  border-color: var(--femcel-accent);
  box-shadow: 12px 12px 0 var(--femcel-offset);
  transform: translate(-2px, -2px);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.theme-toggle:focus-visible,
.primary-button:focus-visible,
.secret-link:focus-visible,
.field input:focus-visible {
  outline: 3px solid var(--femcel-focus);
  outline-offset: 3px;
}

.form-status {
  font-size: 0.96rem;
  line-height: 1.5;
  min-height: 1.5em;
}

.form-status.is-error {
  color: var(--femcel-danger);
}

.form-status.is-success {
  color: var(--femcel-success);
}

.detail-band {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 6px;
}

.detail-item {
  border-top: 1px solid var(--femcel-line);
  gap: 8px;
  padding-top: 14px;
}

.hero-visual {
  align-content: start;
  gap: 18px;
  grid-column: 2;
  min-height: auto;
  padding-top: 8px;
  width: 100%;
}

.visual-banner-frame {
  background:
    linear-gradient(180deg, transparent 0, transparent calc(100% - 1px), var(--femcel-line) calc(100% - 1px)),
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), var(--femcel-line) calc(100% - 1px));
  padding: 18px 0 18px 18px;
  position: relative;
}

.visual-banner-frame::before {
  border-left: 1px solid var(--femcel-line-strong);
  border-top: 1px solid var(--femcel-line-strong);
  content: "";
  inset: 0 auto auto 0;
  height: 32px;
  position: absolute;
  width: 42px;
}

.hero-banner {
  height: auto;
  max-width: 100%;
  width: 100%;
}

.invite-plate {
  background: var(--femcel-paper-strong);
  border: 1px solid var(--femcel-line-strong);
  box-shadow: 12px 12px 0 var(--femcel-offset);
  display: grid;
  gap: 14px;
  justify-self: start;
  margin-top: 0;
  max-width: 100%;
  padding: 18px;
  transform: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.secret-art {
  height: auto;
  width: 100%;
}

.invite-plate figcaption {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
}

.badge-note {
  background: var(--femcel-paper-strong);
  border: 1px solid var(--femcel-line-strong);
  box-shadow: 12px 12px 0 rgba(92, 60, 72, 0.1);
  gap: 10px;
  max-width: 100%;
  padding: 16px;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
}

.supporter-badge {
  height: auto;
  width: 94px;
}

.access-note {
  gap: 10px;
}

.hero-rail-right {
  grid-column: 2;
  max-width: 100%;
}

.access-note h2 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1;
}

.info-band {
  border-top: 1px solid var(--femcel-line-strong);
  position: relative;
}

.info-band::before {
  background: linear-gradient(90deg, transparent, var(--femcel-accent-soft), transparent);
  content: "";
  height: 1px;
  inset: 0 0 auto;
  position: absolute;
}

.info-shell {
  display: grid;
  gap: 14px;
  margin: 0 auto;
  padding: 24px 0 54px;
  width: var(--page-width-tight);
}

.info-shell h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 0.98;
  max-width: 10ch;
}

.info-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 8px;
}

.info-column {
  border-top: 1px solid var(--femcel-line);
  gap: 8px;
  padding-top: 14px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 560ms ease,
    transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

body.is-ready [data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

body.is-ready .invite-plate {
  animation: none;
}

body.is-ready .badge-note {
  animation: none;
}

@media (max-width: 1180px) {
  .poster-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    width: var(--page-width);
  }

  .hero-rail-left,
  .hero-rail-right {
    grid-column: 1 / -1;
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .hero-rail-left {
    order: 0;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-rail-right {
    order: 3;
  }
}

@media (max-width: 860px) {
  .site-header {
    padding-top: 14px;
  }

  .header-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-tools {
    width: 100%;
  }

  .theme-toggle {
    min-width: 0;
    width: 100%;
  }

  .poster-hero {
    min-height: auto;
  }

  .poster-grid {
    gap: 24px;
    grid-template-columns: 1fr;
    min-height: auto;
    width: min(100%, calc(100% - 28px));
  }

  .hero-copy,
  .hero-visual,
  .hero-rail-left,
  .hero-rail-right {
    grid-column: auto;
    order: initial;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 8vw, 3rem);
    max-width: 100%;
  }

  .hero-rail-left,
  .hero-rail-right,
  .info-grid,
  .detail-band,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .visual-banner-frame {
    padding-left: 0;
  }

  .badge-note {
    margin-top: 18px;
    max-width: none;
    position: relative;
    top: auto;
    transform: none;
  }

  .invite-plate {
    justify-self: start;
    margin-top: 18px;
    max-width: 280px;
    transform: none;
  }

  .turnstile-slot {
    width: 100%;
  }

  .info-shell,
  .header-shell,
  .legal-shell,
  .footer-shell {
    width: min(100%, calc(100% - 28px));
  }

  .footer-shell {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  .poster-hero::before {
    inset: 12px;
  }

  .brand {
    gap: 12px;
  }

  .brand strong {
    font-size: 0.7rem;
  }

  .brand-avatar {
    height: 46px;
    width: 46px;
  }

  .poster-grid {
    padding-top: 20px;
    padding-bottom: 36px;
  }

  .hero-copy h1 {
    font-size: clamp(1.6rem, 10vw, 2.35rem);
  }

  .poster-form {
    padding-left: 14px;
    padding-right: 14px;
  }

  .primary-button,
  .theme-toggle {
    box-shadow: 6px 6px 0 var(--femcel-offset);
  }

  .invite-plate,
  .theme-toggle:hover,
  .primary-button:hover,
  .secret-link:hover {
    transform: none;
  }

  .secret-link::after {
    margin-left: 8px;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
