/* Cael blog theme — crimson weight (#E63050), PG-13 adult Beta */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Source+Sans+3:wght@400;500;600&display=swap');

body.theme-cael {
  --cl-bg: #0a0608;
  --cl-bg2: #140a0e;
  --cl-red: #E63050;
  --cl-red2: #ff5a72;
  --cl-red-dim: rgba(230, 48, 80, 0.12);
  --cl-red-border: rgba(230, 48, 80, 0.32);
  --cl-text: #f6e8ec;
  --cl-text-soft: #d4b8c0;
  --cl-muted: #9a7078;
  margin: 0;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: var(--cl-bg);
  color: var(--cl-text);
  line-height: 1.75;
  min-height: 100vh;
}

body.theme-cael::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 60% 0%, rgba(230, 48, 80, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 100%, rgba(120, 20, 40, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #0a0608 0%, #10080c 50%, #140a0e 100%);
}

body.theme-cael a { color: var(--cl-red2); text-decoration: none; }
body.theme-cael a:hover { color: #ff8a9a; text-decoration: underline; }

.cael-shell {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 18px 64px;
}

.cael-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 36px;
  height: min(78vh, 720px);
  min-height: 420px;
  overflow: hidden;
  background: #060304;
}

.cael-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.05) contrast(1.05);
}

.cael-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,6,8,0.2) 0%, rgba(10,6,8,0.4) 42%, rgba(10,6,8,0.94) 88%, var(--cl-bg) 100%),
    linear-gradient(90deg, rgba(10,6,8,0.55) 0%, transparent 48%);
  pointer-events: none;
}

.cael-hero-card {
  position: absolute;
  left: max(18px, calc(50% - 460px));
  bottom: 48px;
  max-width: min(540px, calc(100% - 36px));
  padding: 22px 24px 24px;
  border-radius: 14px;
  border: 1px solid var(--cl-red-border);
  background: rgba(14, 6, 10, 0.62);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: caelFadeUp 0.9s ease both;
}

@keyframes caelFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.cael-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cl-red2);
  font-weight: 700;
  margin-bottom: 10px;
}

.cael-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cl-red);
  box-shadow: 0 0 14px var(--cl-red);
  animation: caelPulse 2.2s ease-in-out infinite;
}

@keyframes caelPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.cael-hero-card h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.85rem, 4.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  color: #ffe8ec;
  margin: 0 0 12px;
  border: none;
  padding: 0;
}

.cael-hero-deck {
  font-size: 1.02rem;
  color: var(--cl-text-soft);
  margin: 0;
  line-height: 1.55;
}

.cael-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.cael-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--cl-red-border);
  color: var(--cl-red2);
  background: rgba(230, 48, 80, 0.1);
}

.cael-badge.warn {
  border-color: rgba(255, 180, 80, 0.4);
  color: #ffc878;
  background: rgba(255, 180, 80, 0.08);
}

.cael-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px;
  animation: caelFadeUp 0.9s ease 0.08s both;
}

.cael-nav-row a {
  font-size: 0.84rem;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--cl-red-border);
  color: var(--cl-text-soft);
  background: rgba(230, 48, 80, 0.05);
}

.cael-nav-row a:hover {
  color: var(--cl-red2);
  background: var(--cl-red-dim);
  text-decoration: none;
}

.cael-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--cl-red-border);
  background: linear-gradient(135deg, rgba(230,48,80,0.1), rgba(80,10,20,0.05));
  animation: caelFadeUp 0.9s ease 0.12s both;
}

.cael-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--cl-red);
  box-shadow: 0 0 18px rgba(230, 48, 80, 0.3);
  flex-shrink: 0;
  background: #1a0a10;
}

.cael-author-avatar video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.cael-author-meta strong {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  color: var(--cl-red2);
  font-weight: 700;
}

.cael-author-meta span {
  display: block;
  font-size: 0.82rem;
  color: var(--cl-muted);
  margin-top: 2px;
}

.cael-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
}

.cael-tags span {
  font-size: 0.7rem;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1px solid rgba(230, 48, 80, 0.22);
  color: #c08090;
  background: rgba(230, 48, 80, 0.05);
}

.cael-article {
  max-width: 680px;
  margin: 0 auto;
}

.cael-article h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  color: #ffe0e6;
  margin: 1.6em 0 0.7em;
  border: none;
  padding: 0;
  font-weight: 700;
}

.cael-article p {
  font-size: 1.08rem;
  color: var(--cl-text);
  margin: 0 0 1.25em;
}

.cael-article p.lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.18rem, 2.4vw, 1.35rem);
  font-weight: 600;
  line-height: 1.5;
  color: #ffe8ec;
}

.cael-pullquote {
  margin: 2.2em 0;
  padding: 1.1em 1.3em;
  border-left: 3px solid var(--cl-red);
  background: linear-gradient(90deg, rgba(230,48,80,0.12), transparent 85%);
  border-radius: 0 12px 12px 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffd0d8;
  line-height: 1.4;
}

.cael-media-break {
  margin: 2.5em auto;
  max-width: 480px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--cl-red-border);
  box-shadow:
    0 0 0 1px rgba(230, 48, 80, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 36px rgba(180, 30, 50, 0.16);
  background: #16080c;
  position: relative;
}

.cael-media-break video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center top;
}

.cael-media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 12px;
  background: linear-gradient(transparent, rgba(10,6,8,0.92));
  font-size: 0.78rem;
  color: var(--cl-text-soft);
  letter-spacing: 0.04em;
}

.cael-gate {
  margin: 28px 0;
  padding: 18px 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 180, 80, 0.35);
  background: linear-gradient(135deg, rgba(255,160,60,0.1), rgba(230,48,80,0.06));
}

.cael-gate h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  color: #ffc878;
  margin: 0 0 10px;
  border: none;
  padding: 0;
}

.cael-gate ul {
  margin: 0 0 0 18px;
  color: var(--cl-text-soft);
  font-size: 0.92rem;
}

.cael-gate li { margin-bottom: 6px; }

.cael-notice {
  margin: 28px 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(230, 48, 80, 0.22);
  background: rgba(16, 8, 12, 0.7);
  font-size: 0.88rem;
  color: var(--cl-text-soft);
}

.cael-cta-band {
  margin: 36px 0 28px;
  padding: 28px 22px;
  border-radius: 16px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(230,48,80,0.2), transparent 65%),
    linear-gradient(180deg, rgba(120,20,40,0.14), rgba(10,6,8,0.4));
  border: 1px solid var(--cl-red-border);
}

.cael-cta-band h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: #ffe8ec;
  margin: 0 0 8px;
  border: none;
  padding: 0;
}

.cael-cta-band p {
  color: var(--cl-text-soft);
  margin: 0 0 18px;
  font-size: 0.95rem;
}

.cael-cta-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff !important;
  background: linear-gradient(135deg, #ff5a72, #E63050);
  border: none;
  box-shadow: 0 8px 28px rgba(230, 48, 80, 0.4);
  text-decoration: none !important;
}

.cael-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(230, 48, 80, 0.5);
  color: #fff !important;
  text-decoration: none !important;
}

.cael-cta-links {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--cl-muted);
}

body.theme-cael .seo-nav a {
  border-color: var(--cl-red-border);
  color: var(--cl-text-soft);
}

body.theme-cael .seo-nav a:hover {
  border-color: var(--cl-red);
  color: var(--cl-red2);
  background: var(--cl-red-dim);
  text-decoration: none;
}

body.theme-cael .seo-site-map {
  background: rgba(230, 48, 80, 0.04);
  border-color: rgba(230, 48, 80, 0.16);
}

body.theme-cael .seo-site-map h2 { color: var(--cl-red2); }
body.theme-cael .seo-site-map a { color: var(--cl-text-soft); }

@media (prefers-reduced-motion: reduce) {
  .cael-hero-card, .cael-nav-row, .cael-author, .cael-kicker::before { animation: none; }
}
