:root {
  --night: #080f12;
  --canopy: #112023;
  --story-rule: #384548;
  --story-gold: #e9bc69;
  --story-text: #e3e3d7;
  --story-muted: #b6c0bd;
}

.story-site { background: var(--night); color: var(--paper); }
.story-site .masthead, .story-site .site-footer { background: var(--night); border-color: var(--story-rule); }
.story-site .brand { background: transparent; }
.story-site .main-nav a { color: var(--story-text); }
.story-site .main-nav a[aria-current], .story-site .main-nav a:hover { color: var(--story-gold); }
.story-site .header-contact { border-color: var(--story-rule); }
.story-site .header-contact:hover { background: var(--story-gold); color: var(--night); }
.story-site :focus-visible { outline-color: var(--story-gold); }
.story-site .footer-meta { color: var(--story-muted); }

.story-button { border-color: var(--story-gold); background: var(--story-gold); color: var(--night); }
.story-button:hover { border-color: var(--paper); background: var(--paper); color: var(--night); }

.chapter-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; }
.chapter-form label { color: var(--story-text); font-size: .92rem; font-weight: 700; }
.chapter-form input[type="email"] { width: 100%; min-height: 3.05rem; padding: .52rem .68rem; border: 1px solid #748581; background: var(--night); color: var(--paper); border-radius: 0; }
.chapter-form input[type="email"]::placeholder { color: #a5b4b1; }
.chapter-form .chapter-updates { display: flex; align-items: flex-start; gap: .55rem; margin-block: .2rem; font-weight: 400; }
.chapter-updates input { flex: none; width: 1.05rem; height: 1.05rem; margin: .2em 0 0; accent-color: var(--story-gold); }
.form-optional { color: var(--story-muted); }
.chapter-form .button { justify-self: start; }
.chapter-form .form-note { margin-top: .1rem; color: var(--story-muted); font-size: .85rem; }
.chapter-form .form-note a:hover { color: var(--paper); }

.story-access { border-block: 1px solid var(--story-rule); background: linear-gradient(120deg, var(--night), var(--canopy)); }
.story-access-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr); align-items: center; gap: clamp(1.5rem, 6vw, 5.5rem); padding-block: clamp(2.5rem, 7vw, 7rem); }
.story-access h1 { max-width: 12ch; font-size: clamp(3.3rem, 7.7vw, 7rem); line-height: .9; text-transform: uppercase; }
.story-access-intro { margin: .9rem 0 1.4rem; color: var(--story-text); font-size: 1.1rem; }
.story-access .chapter-form { max-width: 32rem; }
.signup-art { width: 100%; max-width: 26rem; height: auto; border: 1px solid var(--story-rule); justify-self: end; }
.signup-error { margin-bottom: .85rem; padding: .55rem .7rem; border: 1px solid #fd987f; color: #ffd9d1; }

.access-step {
  padding-block: clamp(2.5rem, 7vw, 6.5rem);
}

.access-step h1 {
  max-width: 15ch;
}

.access-step .story-access-intro {
  max-width: 34rem;
  overflow-wrap: anywhere;
}

.access-step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.25rem;
}

.access-step-actions .text-link:hover {
  color: var(--story-gold);
}

@media (max-width: 43rem) {
  .story-site .main-nav { border-color: var(--story-rule); gap: clamp(.7rem, 4.2vw, 1.55rem); }
  .story-access-inner { grid-template-columns: minmax(0, 1fr); }
  .signup-art { max-width: 16rem; justify-self: start; }
}
