/*
 * /blog/_coming-soon.css
 * Styles for the Coming Soon shell that wraps every individual blog post.
 * All selectors are .cs-* scoped so they don't conflict with the original
 * post styles (which still live in each post's <head> and apply when the
 * gate reveals the draft content).
 */

.cs-shell {
  position: relative;
  min-height: 100vh;
  background: #EDE3D4;
  color: #161210;
  font-family: 'Nunito', sans-serif;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.cs-shell::after {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.18'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
  opacity: 0.55;
}

.cs-shell ::selection { background: #ED2024; color: #F5EDE0; }

.cs-topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(237, 227, 212, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22, 18, 16, 0.14);
}
.cs-topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.cs-brand {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-variation-settings: 'WONK' 1;
  font-size: 1.05rem;
  color: #161210;
  text-decoration: none;
  letter-spacing: -.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.cs-brand .cs-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ED2024;
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(237, 32, 36, .18);
}
.cs-back-link {
  font-family: 'Azeret Mono', monospace;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #161210;
  text-decoration: none;
  opacity: .7;
  transition: opacity .25s, color .25s;
}
.cs-back-link:hover {
  opacity: 1;
  color: #ED2024;
}

.cs-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 100px;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

.cs-eyebrow {
  font-family: 'Azeret Mono', monospace;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: #ED2024;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.cs-eyebrow::before,
.cs-eyebrow::after {
  content: '';
  width: 36px;
  height: 1.5px;
  background: #ED2024;
}
.cs-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ED2024;
  box-shadow: 0 0 0 3px rgba(237, 32, 36, .2);
  animation: cs-pulse 1.8s ease-in-out infinite;
}
@keyframes cs-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}

.cs-title {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-variation-settings: 'WONK' 1, 'opsz' 144;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  color: #161210;
  margin: 0 auto 24px;
  max-width: 22ch;
  letter-spacing: -.025em;
}

.cs-teaser {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: #161210;
  opacity: .78;
  margin: 0 auto 24px;
  max-width: 52ch;
  line-height: 1.5;
}

.cs-body {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: #161210;
  opacity: .76;
  max-width: 50ch;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cs-signup {
  background: #E3D7C3;
  border: 1.5px solid #161210;
  border-radius: 4px;
  padding: 32px 28px;
  max-width: 380px;
  width: 100%;
  transform: rotate(-.3deg);
  box-shadow: 0 14px 38px rgba(22, 18, 16, .16);
}
.cs-signup form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cs-signup input {
  font-family: 'Nunito', sans-serif;
  width: 100%;
  background: #F5EDE0;
  border: 1.5px solid #161210;
  border-radius: 2px;
  padding: 13px 16px;
  color: #161210;
  font-size: .96rem;
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none;
}
.cs-signup input::placeholder {
  color: #8B7D6B;
}
.cs-signup input:focus {
  border-color: #ED2024;
  outline: none;
  box-shadow: 0 0 0 3px rgba(237, 32, 36, .12);
}
.cs-signup button {
  font-family: 'Azeret Mono', monospace;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 14px 32px;
  background: #161210;
  color: #F5EDE0;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: all .25s;
}
.cs-signup button:hover {
  background: #ED2024;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(237, 32, 36, .3);
}
.cs-signup button:disabled {
  opacity: .6;
  cursor: not-allowed;
}
.cs-msg {
  margin-top: 14px;
  font-size: .86rem;
  min-height: 20px;
  font-family: 'Nunito', sans-serif;
}
.cs-msg.ok { color: #2A8A3E; font-weight: 600; }
.cs-msg.err { color: #ED2024; font-weight: 600; }

.cs-archive {
  margin-top: 44px;
  font-family: 'Azeret Mono', monospace;
  font-size: .55rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8B7D6B;
}
.cs-archive a {
  color: #161210;
  text-decoration: underline;
  transition: color .25s;
}
.cs-archive a:hover { color: #ED2024; }

.cs-footer {
  padding: 32px 44px;
  text-align: center;
  border-top: 1px solid rgba(22, 18, 16, 0.14);
  background: #E3D7C3;
  position: relative;
  z-index: 1;
}
.cs-footer a {
  font-family: 'Azeret Mono', monospace;
  font-size: .55rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #161210;
  text-decoration: none;
  opacity: .7;
  transition: color .3s, opacity .3s;
  font-weight: 600;
  margin: 0 8px;
}
.cs-footer a:hover {
  color: #ED2024;
  opacity: 1;
}

@media (max-width: 600px) {
  .cs-topbar-inner { padding: 12px 20px; }
  .cs-main { padding: 40px 20px 80px; }
  .cs-signup { padding: 24px 20px; }
  .cs-footer { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .cs-pulse { animation: none; }
}
