/* TarotTheme — home page (index.html): hero, popular readings, how it works,
   card of the day, latest articles. Straight from the design, prefixed tt-. */

/* ── Hero ───────────────────────────────────────────────────────────────── */
.tt-hero { position: relative; color: #fff; background: #291d53 var(--tt-hero) center top / cover no-repeat;
  min-height: clamp(430px, 27vw, 470px); padding-bottom: 60px; clip-path: ellipse(160% 100% at 50% 0); }
.tt-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(26, 20, 70, .55) 0%, rgba(26, 20, 70, .25) 35%, transparent 55%); }
.tt-hero-inner { position: relative; max-width: 1672px; margin: 0 auto; padding: 54px clamp(16px, 15vw, 250px) 0; }
.tt-hero-eyebrow { display: flex; align-items: center; gap: 6px; font-size: 14px; letter-spacing: 5px; text-transform: uppercase; color: #f3eef9; }
.tt-hero-eyebrow .s { color: var(--tt-gold-lt); letter-spacing: 0; font-size: 12px; }
.tt-hero-eyebrow .line { width: 60px; height: 1px; background: linear-gradient(90deg, var(--tt-gold-lt), transparent); margin-left: 2px; }
.tt-hero h1 { font-family: var(--tt-serif); font-weight: 700; font-size: clamp(34px, 3.25vw, 54px); line-height: 1.04; margin: 12px 0 18px; letter-spacing: -.5px; text-shadow: 0 2px 18px rgba(20, 10, 50, .35); }
.tt-hero h1 .tt-gold { color: var(--tt-gold-lt); }
.tt-hero-lead { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.38; max-width: 450px; color: #f6f2fb; }
.tt-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.tt-ctas .tt-btn { padding: 0 36px; }
.tt-badges { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 24px 0 0; padding: 0; list-style: none; }
.tt-badges li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #fff; }
.tt-badges img { height: 34px; width: auto; }
.tt-hero-art-m { display: none; }

/* ── Popular readings ───────────────────────────────────────────────────── */
.tt-readings-sec { position: relative; z-index: 2; padding-top: 18px; }
.tt-readings { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; max-width: 1370px; margin: 22px auto 0; padding: 0 clamp(16px, 3vw, 40px); }

/* ── How it works ───────────────────────────────────────────────────────── */
.tt-how { margin-top: 30px; padding: 30px 0 34px; clip-path: ellipse(80% 100% at 50% 100%); }
.tt-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; max-width: 1400px; margin: 22px auto 0; padding: 0 clamp(16px, 3vw, 40px) 0 clamp(16px, 10vw, 170px); }
.tt-step { display: flex; align-items: center; gap: 18px; }
.tt-num { flex: 0 0 60px; height: 60px; border-radius: 50%; border: 1.5px solid rgba(232, 180, 110, .75); display: grid; place-items: center; font-family: var(--tt-serif); font-size: 28px; }
.tt-step img { flex: 0 0 auto; width: 64px; height: 64px; object-fit: contain; }
.tt-step h3 { font-family: var(--tt-serif); font-weight: 400; font-size: 15.5px; margin-bottom: 6px; }
.tt-step p { font-size: 12.5px; line-height: 1.55; color: #efe6f4; max-width: 240px; }

/* ── Card of the day teaser ─────────────────────────────────────────────── */
.tt-daily-sec { padding: 46px 0 8px; }
.tt-daily-box { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; max-width: 920px; margin: 26px auto 0;
  background: #fff; border: 1px solid var(--tt-line); border-radius: 18px; padding: clamp(20px, 3vw, 34px); box-shadow: 0 6px 26px rgba(80, 50, 120, .07); }
.tt-daily-box h3 { font-family: var(--tt-serif); font-size: 26px; color: var(--tt-navy); margin: 4px 0 8px; }
.tt-daily-box p { font-size: 14.5px; margin-bottom: 14px; }
.tt-daily-box .tt-chips { margin-bottom: 18px; }

/* ── Latest articles ────────────────────────────────────────────────────── */
.tt-latest-sec { padding: 46px 0 0; }
.tt-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.tt-more { text-align: center; margin-top: 30px; }

@media (max-width: 1200px) {
  .tt-readings { grid-template-columns: repeat(3, 1fr); }
  .tt-steps { padding-left: clamp(16px, 3vw, 40px); }
}
@media (max-width: 960px) {
  .tt-hero { background-position: 72% top; }
  .tt-hero::before { background: linear-gradient(90deg, rgba(26, 20, 70, .82) 0%, rgba(26, 20, 70, .55) 55%, rgba(26, 20, 70, .2) 100%); }
  .tt-hero-inner { padding-left: clamp(16px, 5vw, 48px); }
  .tt-steps { grid-template-columns: 1fr; max-width: 560px; gap: 22px; }
  .tt-how { clip-path: ellipse(120% 100% at 50% 100%); }
  .tt-post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tt-hero { clip-path: ellipse(140% 100% at 50% 0); background-image: none; padding-bottom: 0; min-height: 0; }
  .tt-hero::before { display: none; }
  .tt-hero-inner { padding-top: 32px; padding-bottom: 20px; }
  .tt-hero-art-m { display: block; height: 250px; background: var(--tt-hero) 74% center / cover no-repeat;
    -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
  .tt-hero-eyebrow { font-size: 12px; letter-spacing: 3.5px; }
  .tt-ctas .tt-btn { flex: 1 1 100%; }
  .tt-readings { grid-template-columns: 1fr 1fr; }
  .tt-daily-box { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .tt-daily-box .tt-chips { justify-content: center; }
  .tt-post-grid { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .tt-readings { grid-template-columns: 1fr; }
}
