/* Homepage */

:root {
  --hp-night: #1a0f2e;
  --hp-night-2: #2a1845;
  --hp-gold: #D4A574;
  --hp-gold-light: #E8C9A1;
  --hp-ink: #2D2A32;
  --hp-muted: #6B6670;
  --hp-line: #E8E4DF;
}

.hp-el-fire  { --hp-el: #E0703A; --hp-el-soft: rgba(224, 112, 58, 0.12); }
.hp-el-earth { --hp-el: #6E9A5B; --hp-el-soft: rgba(110, 154, 91, 0.13); }
.hp-el-air   { --hp-el: #7C8FD6; --hp-el-soft: rgba(124, 143, 214, 0.14); }
.hp-el-water { --hp-el: #3A9AB5; --hp-el-soft: rgba(58, 154, 181, 0.13); }

.hp-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 8% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 18% 72%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 32% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 46% 88%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 70% 52%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 24%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 78%, #fff 50%, transparent 51%);
}

.hp-eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9A6B3C;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
}

.hp-btn:hover { text-decoration: none; transform: translateY(-1px); }

.hp-btn--gold {
  color: var(--hp-night);
  background: var(--hp-gold);
}

.hp-btn--gold:hover {
  color: var(--hp-night);
  background: var(--hp-gold-light);
  box-shadow: 0 10px 26px rgba(212, 165, 116, 0.35);
}

.hp-btn--ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.hp-btn--ghost:hover {
  color: #fff;
  border-color: var(--hp-gold);
  background: rgba(255, 255, 255, 0.05);
}

/* Hero */
.hp-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  color: #fff;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(124, 143, 214, 0.2), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(212, 165, 116, 0.16), transparent 50%),
    linear-gradient(160deg, #2a1845 0%, #1a0f2e 60%, #140b24 100%);
}

.hp-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 56px;
}

.hp-hero .hp-eyebrow { color: var(--hp-gold); }

.hp-hero__title {
  margin: 0 0 18px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 600;
  line-height: 1.02;
  color: #fff;
}

.hp-hero__intro {
  max-width: 540px;
  margin: 0 0 30px;
  font-size: 1.12rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.hp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hp-season {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px 10px 10px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: background 0.15s, border-color 0.15s;
}

.hp-season:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 165, 116, 0.5);
}

.hp-season__glyph {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-family: 'Noto Sans Symbols', 'Segoe UI Symbol', 'Apple Symbols', sans-serif;
  font-variant-emoji: text;
  font-size: 1.3rem;
  color: var(--hp-night);
  background: var(--hp-gold);
  border-radius: 50%;
}

.hp-season strong {
  display: block;
  font-size: 0.95rem;
}

.hp-season small {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Hero art: image in a ring of glyphs */
.hp-hero__art {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.hp-orbit {
  position: absolute;
  inset: 12%;
  overflow: hidden;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(212, 165, 116, 0.5),
    0 0 0 14px rgba(212, 165, 116, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 90px rgba(124, 143, 214, 0.25);
}

.hp-orbit picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hp-orbit img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-hero__art::before {
  content: '';
  position: absolute;
  inset: 2%;
  border: 1px dashed rgba(212, 165, 116, 0.35);
  border-radius: 50%;
}

.hp-orbit__glyph {
  --angle: calc(var(--i) * 30deg - 90deg);
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  font-family: 'Noto Sans Symbols', 'Segoe UI Symbol', 'Apple Symbols', sans-serif;
  font-variant-emoji: text;
  font-size: 1rem;
  color: var(--hp-gold);
  background: var(--hp-night);
  border: 1px solid rgba(212, 165, 116, 0.4);
  border-radius: 50%;
  transform: rotate(var(--angle)) translate(min(48cqw, 220px)) rotate(calc(-1 * var(--angle)));
}

.hp-hero__art { container-type: inline-size; }

.hp-orbit__glyph.is-now {
  color: var(--hp-night);
  background: var(--hp-gold);
  box-shadow: 0 0 18px rgba(212, 165, 116, 0.6);
}

/* Sections */
.hp-section { padding: 80px 0; }

.hp-section__head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.hp-section__head h2 {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--hp-ink);
}

.hp-section__head p:not(.hp-eyebrow) {
  margin: 0;
  font-size: 1.02rem;
  color: var(--hp-muted);
}

.hp-section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
  text-align: left;
}

.hp-link {
  font-weight: 700;
  color: #7A5230;
  text-decoration: none;
  white-space: nowrap;
}

.hp-link:hover { color: var(--hp-night); text-decoration: underline; }

/* Sign picker */
.hp-signs { padding-top: 72px; }

.hp-signs__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-sign {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 8px 18px;
  color: var(--hp-ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 16px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.hp-sign:hover {
  color: var(--hp-ink);
  text-decoration: none;
  transform: translateY(-3px);
  border-color: var(--hp-el);
  box-shadow: 0 12px 28px rgba(26, 15, 46, 0.1);
}

.hp-sign__glyph {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 4px;
  font-family: 'Noto Sans Symbols', 'Segoe UI Symbol', 'Apple Symbols', sans-serif;
  font-variant-emoji: text;
  font-size: 1.6rem;
  color: var(--hp-gold);
  background: linear-gradient(145deg, var(--hp-night-2), var(--hp-night));
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(212, 165, 116, 0.45);
  transition: transform 0.25s;
}

.hp-sign:hover .hp-sign__glyph { transform: rotate(-8deg) scale(1.05); }

.hp-sign__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.1;
}

.hp-sign__dates {
  font-size: 0.76rem;
  color: var(--hp-muted);
}

.hp-sign::after {
  content: '';
  position: absolute;
  left: 30%;
  right: 30%;
  bottom: 0;
  height: 3px;
  background: var(--hp-el);
  border-radius: 3px 3px 0 0;
  opacity: 0.8;
}

.hp-sign.is-now {
  border-color: var(--hp-gold);
  box-shadow: 0 0 0 1px var(--hp-gold), 0 10px 24px rgba(212, 165, 116, 0.25);
}

.hp-sign__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 2px 8px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-night);
  background: var(--hp-gold-light);
  border-radius: 999px;
}

.hp-signs__more {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 32px 0 0;
  color: var(--hp-muted);
}

.hp-signs__more a {
  font-weight: 700;
  color: #7A5230;
  text-decoration: none;
}

.hp-signs__more a:hover { text-decoration: underline; }

/* How it works */
.hp-how {
  background: linear-gradient(180deg, #F4F1EC 0%, #FAFAF8 100%);
}

.hp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.hp-step {
  position: relative;
  padding: 32px 28px 28px;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 18px;
}

.hp-step__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: var(--hp-gold);
  background: linear-gradient(145deg, var(--hp-night-2), var(--hp-night));
  border-radius: 14px;
}

.hp-step__num {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(212, 165, 116, 0.35);
}

.hp-step h3 {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--hp-ink);
}

.hp-step p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--hp-muted);
}

/* Posts */
.hp-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hp-post {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hp-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(26, 15, 46, 0.1);
}

.hp-post__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(145deg, var(--hp-night-2), var(--hp-night));
}

.hp-post__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-post__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 2rem;
  color: var(--hp-gold);
}

.hp-post__body { padding: 20px 22px 24px; }

.hp-post time {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9A6B3C;
}

.hp-post h3 {
  margin: 6px 0 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}

.hp-post h3 a {
  color: var(--hp-ink);
  text-decoration: none;
}

.hp-post h3 a:hover { color: #7A5230; }

.hp-post p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--hp-muted);
}

/* Closing CTA */
.hp-cta { padding: 0 0 88px; }

.hp-cta__box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 56px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(212, 165, 116, 0.22), transparent 55%),
    linear-gradient(145deg, var(--hp-night-2), var(--hp-night));
  border-radius: 24px;
}

.hp-cta__text { position: relative; }

.hp-cta__box h2 {
  margin: 0 0 6px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: #fff;
}

.hp-cta__box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.hp-cta__box .hp-btn { position: relative; flex-shrink: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .hp-signs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hp-hero { padding: 48px 0 64px; }
  .hp-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hp-hero__art { width: min(100%, 360px); }
  .hp-steps,
  .hp-posts__grid { grid-template-columns: 1fr; }
  .hp-cta__box { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}

@media (max-width: 560px) {
  .hp-section { padding: 56px 0; }
  .hp-hero__title { font-size: 2.5rem; }
  .hp-hero__intro { font-size: 1rem; }
  .hp-hero__actions .hp-btn { flex: 1 1 100%; }
  .hp-signs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hp-sign { padding: 16px 4px 14px; }
  .hp-sign__glyph { width: 44px; height: 44px; font-size: 1.3rem; }
  .hp-sign__name { font-size: 1.1rem; }
  .hp-sign__dates { font-size: 0.68rem; }
  .hp-section__head--row { flex-direction: column; align-items: flex-start; }
  .hp-orbit__glyph { width: 28px; height: 28px; margin: -14px 0 0 -14px; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hp-btn, .hp-sign, .hp-sign__glyph, .hp-post { transition: none; }
  .hp-sign:hover, .hp-post:hover, .hp-btn:hover { transform: none; }
}

/* The theme's .container clearfix pseudo-elements would take up grid cells */
.hp-hero__grid::before,
.hp-hero__grid::after { content: none; display: none; }

@media (max-width: 560px) {
  .hp-signs__more { flex-direction: column; align-items: center; }
  .hp-signs__more span { display: none; }
}
