/* Presentation pass — mobile-first fold, gold-on-ink actions, one reading layout.
   Loaded last so it restyles without rewriting the older stylesheets. */

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 10000;
  background: #ffd700;
  color: #1a1030;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ── Hero: wordmark, one promise, the birthday form ───────────── */
.aeth-hero-text { order: 1; }
.aeth-hero-pick { order: 2; }
.aeth-hero-figure { order: 3; }
@media (max-width: 899px) {
  .aeth-hero {
    gap: 22px;
    padding: 18px 18px 28px;
  }
}
@media (min-width: 900px) {
  .aeth-hero { align-items: center; padding-right: 64px; }
  .aeth-hero-text { order: 1; grid-column: 1; grid-row: 1; }
  .aeth-hero-figure { order: 2; grid-column: 2; grid-row: 1; max-width: 440px; width: 100%; }
  .aeth-hero-figure .wheel { width: 112%; height: 112%; left: -6%; top: -6%; }
  .aeth-hero-pick { order: 3; grid-column: 1 / -1; grid-row: 2; }
}

.aeth-wordmark {
  line-height: 1.05;
  font-size: clamp(3.4rem, 14vw, 4.8rem);
}
@media (min-width: 900px) {
  .aeth-wordmark { font-size: clamp(4.4rem, 6vw, 6.25rem); }
}

.aeth-promise {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  line-height: 1.45;
  color: #f4ead6;
  margin: 12px 0 18px;
  max-width: 28ch;
}
@media (max-width: 899px) {
  .aeth-promise { margin-left: auto; margin-right: auto; }
}

#hero-inquiry { margin-top: 8px; text-align: left; }
.hero-inquiry-title {
  font-family: 'Italiana', 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  line-height: 1.15;
  color: #f4ead6;
  margin: 0 0 14px;
  text-align: center;
}
@media (min-width: 900px) {
  .hero-inquiry-title { text-align: left; }
}
#landing-screen #hero-inquiry #landing-form { max-width: 440px; }
@media (max-width: 899px) {
  #landing-screen #hero-inquiry #landing-form { margin-left: auto !important; margin-right: auto !important; }
}
.hero-legal {
  margin: 12px 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: .82rem;
  line-height: 1.4;
  color: rgba(244,234,214,.55);
  text-align: center;
}
#landing-screen #hero-inquiry .focus-section { margin-top: 16px; text-align: center; }
#landing-screen #hero-inquiry .focus-btn { min-height: 44px; }

/* Gold on ink. Never a dimmed sign-gated primary. */
#landing-screen .landing-cta,
#landing-screen #landing-cta-btn,
#landing-screen .fd-cta,
#landing-screen .fd-cta.rose,
#landing-screen .fd-cta.gold,
#landing-screen .fd-cta.violet {
  color: #1a1030 !important;
  background: linear-gradient(180deg, #ffe7a3, #e0b44a) !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 999px !important;
  min-height: 52px;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.25rem !important;
  letter-spacing: .01em !important;
  opacity: 1 !important;
}
#landing-screen .landing-cta:disabled,
#landing-screen #landing-cta-btn:disabled { opacity: 1 !important; cursor: pointer !important; }

.aeth-hero-pick .fd-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(244,234,214,.8);
}
#landing-screen .fd-sign,
#landing-screen .fd-chooser-row button,
#landing-screen .fd-premium-btn,
#landing-screen .fd-more-row button,
#landing-screen #landingLangBar .lang-btn,
#landing-screen .aeth-signin .linkbtn {
  min-height: 44px;
}
#landing-screen .fd-premium-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
}
#landing-screen nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Planet labels stay inside the gold frame. */
.aeth-hero-figure .transit-overlay {
  width: 88%;
  height: 88%;
  left: 6%;
  top: 6%;
  overflow: hidden;
}

/* ── Eight faculties: snap carousel with a peek and dots ──────── */
@media (max-width: 699px) {
  .aeth-faculties {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 4px 8px 8px;
    border-top: 0;
    scrollbar-width: none;
  }
  .aeth-faculties::-webkit-scrollbar { display: none; }
  .aeth-fac {
    flex: 0 0 82%;
    scroll-snap-align: start;
    text-align: left;
    min-height: 220px;
  }
  .aeth-fac .fac-act {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: .78rem;
    letter-spacing: .08em;
    padding: 0 2px;
  }
}
.fac-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
@media (max-width: 699px) {
  .fac-dots { display: flex; }
}
.fac-dots button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.fac-dots button::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244,234,214,.35);
}
.fac-dots button.on::after { background: #ffd700; }

/* ── Pricing: short checks, stacked on a phone ────────────────── */
.aeth-pricing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px 28px;
}
.aeth-pricing-head { text-align: center; margin-bottom: 8px; }
.aeth-pricing-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  margin: 8px 0 0;
  color: #f4ead6;
}
.plan-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}
.plan-card {
  background: #14122a;
  border: 1px solid rgba(255,215,0,.28);
  border-radius: 18px;
  padding: 22px 20px 18px;
  position: relative;
  color: #f4ead6;
  text-align: left;
}
.plan-kicker, .plan-price, .plan-offer, .plan-also, .plan-badge { text-align: center; }
.plan-kicker, .plan-price, .plan-offer { display: block; }
.plan-premium, .plan-annual {
  background: linear-gradient(180deg, #1b1642, #141230);
  border-color: #ffd700;
}
.plan-kicker {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ffd700;
}
.plan-free .plan-kicker { color: rgba(244,234,214,.6); }
.plan-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 4px 0;
}
.plan-price span { font-size: 1rem; color: rgba(244,234,214,.6); }
.plan-offer {
  color: rgba(244,234,214,.62);
  font-size: .95rem;
  margin-bottom: 12px;
}
.plan-badge {
  position: absolute;
  top: -11px;
  left: 18px;
  background: #ffd700;
  color: #1a1030;
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.plan-list { display: flex; flex-direction: column; gap: 8px; }
.plan-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  line-height: 1.35;
}
.plan-check span[aria-hidden] { color: #ffd700; font-weight: 700; flex: none; }
.plan-check span:last-child { flex: 1; min-width: 0; }
.plan-also { color: rgba(244,234,214,.55); font-size: .85rem; }
.plan-facts { margin-top: 8px; color: rgba(244,234,214,.72); font-size: .9rem; }
.plan-facts summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.plan-facts li { margin: 4px 0 4px 16px; }
.plan-card .landing-cta { margin-top: 14px !important; }
@media (max-width: 899px) {
  .plan-premium { order: 1; }
  .plan-annual { order: 2; }
  .plan-free { order: 3; }
}
@media (min-width: 900px) {
  .plan-grid { flex-direction: row; align-items: stretch; }
  .plan-card { flex: 1; min-width: 0; order: 0; }
}
.onetime-wrap { margin-top: 22px; }
.onetime-kicker {
  text-align: center;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244,234,214,.55);
  margin-bottom: 10px;
}
.onetime-note {
  text-align: center;
  color: rgba(244,234,214,.5);
  font-size: .82rem;
  margin-top: 10px;
}

/* ── Guest reading: the card first, chrome on request ─────────── */
.tab-content-area {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
#results-screen.guest-fold .sub-nav,
#results-screen.guest-fold #bottomNav,
#results-screen.guest-fold .beta-banner,
#results-screen.guest-fold .reading-focus { display: none !important; }
#results-screen.guest-fold .tab-content-area { padding-bottom: 36px; }

.beta-banner {
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 10px auto 0;
  border-radius: 999px;
  padding: 4px 6px 4px 14px;
  gap: 8px;
  background: rgba(20, 12, 36, .9);
  border: 1px solid rgba(255,215,0,.4);
}
.beta-banner-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 46vw;
  font-size: .78rem;
}
.beta-dismiss, .premium-chip .chip-x {
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: 0;
  color: #f4ead6;
  cursor: pointer;
  font-size: 1.2rem;
}
.premium-chip {
  display: none;
  align-items: center;
  gap: 4px;
  margin: 0 0 10px auto;
  background: rgba(20, 12, 36, .9);
  color: #ffd700;
  border: 1px solid rgba(255,215,0,.5);
  border-radius: 999px;
  padding: 0 4px 0 14px;
  min-height: 44px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  cursor: pointer;
}
#results-screen.guest-fold .premium-chip { display: inline-flex; }
#results-screen.guest-fold .premium-chip[hidden] { display: none; }
.profile-card-col { display: flex; flex-direction: column; align-items: flex-end; }

.profile-layout {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px 8px;
}
.profile-card { position: relative; text-align: center; width: 100%; }
.portrait-actions {
  position: absolute;
  z-index: 5;
  left: 12px;
  right: 12px;
  top: 168px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.portrait-actions .ccs-btn {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, #ffe7a3, #e0b44a);
  color: #1a1030;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  cursor: pointer;
}
.reading-focus { margin-bottom: 16px; text-align: center; }
.reading-focus-label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(244,234,214,.55);
  margin-bottom: 8px;
}
#results-focus-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.results-focus-btn { min-height: 44px; }

.reading-essay { margin-top: 8px; text-align: left; }
.essay-lede {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
  color: #f4ead6;
  margin: 0 0 18px;
}
.essay-sec { margin: 0 0 16px; }
.essay-sec h3, .essay-long h3 {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ffd700;
  font-weight: 500;
  margin: 0 0 6px;
}
.essay-sec p, .essay-long p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #f4ead6;
  margin: 0;
}
.essay-long { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,215,0,.25); }
.essay-more-btn {
  margin-top: 12px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #ffd700;
  background: transparent;
  color: #ffd700;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  cursor: pointer;
}
.explore-chrome { display: none; }
#results-screen.guest-fold .explore-chrome {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,215,0,.45);
  background: transparent;
  color: #f4ead6;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  cursor: pointer;
}
.profile-essay-col { text-align: center; }
.read-btn { min-height: 44px; }

.nav-btn, .sub-btn { min-height: 44px; }
@media (max-width: 899px) {
  .sub-nav { position: static; }
  .section-switch { display: none; }
}
@media (min-width: 900px) {
  #bottomNav { display: none !important; }
  .sub-nav, .sub-nav.visible {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: sticky;
    top: 0;
  }
  .section-switch { display: flex; gap: 4px; margin-right: 12px; }
  .section-switch-btn {
    min-height: 44px;
    padding: 8px 12px;
    background: none;
    border: 0;
    color: rgba(244,234,214,.6);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    cursor: pointer;
  }
  .section-switch-btn.active { color: #ffd700; }
  .tab-content-area { padding-bottom: 48px; max-width: 1120px; margin: 0 auto; }
  .profile-layout {
    display: grid;
    grid-template-columns: minmax(300px, 440px) minmax(0, 1fr);
    gap: 40px;
    max-width: 1080px;
    align-items: start;
    padding: 28px 28px 12px;
  }
  .profile-essay-col { text-align: left; }
  #results-screen.guest-fold .profile-layout { padding-top: 28px; }
}

/* 9:16 story card, captured off-screen. */
.share-story {
  position: fixed;
  left: -12000px;
  top: 0;
  width: 360px;
  height: 640px;
  background: #0a0a1a;
  color: #f4ead6;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 22px 22px;
  box-sizing: border-box;
  font-family: 'Cormorant Garamond', serif;
}
.share-story .story-frame {
  width: 250px;
  height: 360px;
  border: 1px solid rgba(255,215,0,.7);
  padding: 8px;
  box-sizing: border-box;
  position: relative;
}
.share-story .story-frame::before,
.share-story .story-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid #ffd700;
}
.share-story .story-frame::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.share-story .story-frame::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.share-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.share-story .story-title {
  margin-top: 22px;
  font-family: 'Italiana', 'Cormorant Garamond', serif;
  font-size: 32px;
  line-height: 1.05;
  text-align: center;
  color: #ffd700;
}
.share-story .story-chips {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.share-story .story-chip {
  border: 1px solid rgba(255,215,0,.55);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 14px;
  color: #f4ead6;
}
.share-story .story-brand {
  margin-top: auto;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(244,234,214,.7);
}
